Commit ef962fa
committed
Improve evolution performance for double-hadronic grids
Instead of using a cartesian product of two PIDs which is subsequently
filtered use two iterators of PIDs first filtered and subsequently
zipped. This is a change of O(n^2) to O(n) which makes a big difference
if n is large enough. This is the case for dijet grids, for example.1 parent 8dc1eb4 commit ef962fa
1 file changed
+14
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
957 | 957 | | |
958 | 958 | | |
959 | 959 | | |
960 | | - | |
961 | | - | |
962 | | - | |
963 | | - | |
| 960 | + | |
| 961 | + | |
964 | 962 | | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
965 | 968 | | |
966 | 969 | | |
967 | 970 | | |
| |||
1069 | 1072 | | |
1070 | 1073 | | |
1071 | 1074 | | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
| 1075 | + | |
| 1076 | + | |
1076 | 1077 | | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
1077 | 1083 | | |
1078 | 1084 | | |
1079 | 1085 | | |
| |||
0 commit comments