Commit 5a35bd9
committed
csgrep: chain filters based on the predicate keys
... sorted alphabetically
It would make more sense if the predicates that are cheap to evaluate
(or the predicates that drop more data) were chained first. On the
other hand, when processing big data sets, the biggest bottleneck is
usually the JSON reader/writer anyway.
PR: #511 parent 981e8f0 commit 5a35bd9
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
495 | | - | |
496 | | - | |
497 | | - | |
| 495 | + | |
| 496 | + | |
498 | 497 | | |
499 | 498 | | |
500 | 499 | | |
501 | | - | |
| 500 | + | |
| 501 | + | |
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
| |||
0 commit comments