From 4e347decf5d59178ff8207333021e9da377ad44d Mon Sep 17 00:00:00 2001 From: Drahflow Date: Sat, 22 Jun 2019 23:13:08 +0200 Subject: Faster --- examples/working-compiler/grep-fast.test | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'examples') 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 -- cgit v1.2.3