aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2019-06-22 23:13:08 +0200
committerDrahflow <drahflow@gmx.de>2019-06-22 23:13:08 +0200
commit4e347decf5d59178ff8207333021e9da377ad44d (patch)
treeb56c1138bc3ec6c4a8d828952271caf27bba4612
parent548963638d2c61292135fba16682d445412a3b00 (diff)
Faster
-rw-r--r--examples/working-compiler/grep-fast.test10
1 files changed, 4 insertions, 6 deletions
diff --git a/examples/working-compiler/grep-fast.test b/examples/working-compiler/grep-fast.test
index ba70b96..c3068f5 100644
--- a/examples/working-compiler/grep-fast.test
+++ b/examples/working-compiler/grep-fast.test
@@ -1,17 +1,15 @@
-{ =*?p { [ -01 { _ p { } { -- } ? * } each ] } } /engrep deffd
+"{ =*p { [ -01 { _ p not \"--\" | rep }\" each ] }' } * *" ==grepCode
-{
- engrep
-* } /grep deffd
+{ grepCode includeLine /including dump } /fastGrep defq
[ 1 2 3 4 5 6 7 8 9 10 ] ==data
1000000 {
- data { 5 eq } grep --
+ data { 5 eq } fastGrep --
} rep
5 ==i
1000000 {
- data { i eq }" grep --
+ data { i eq }" fastGrep --
} rep