aboutsummaryrefslogtreecommitdiff
path: root/examples/working-compiler/grep-fast.test
diff options
context:
space:
mode:
Diffstat (limited to 'examples/working-compiler/grep-fast.test')
-rw-r--r--examples/working-compiler/grep-fast.test17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/working-compiler/grep-fast.test b/examples/working-compiler/grep-fast.test
new file mode 100644
index 0000000..ba70b96
--- /dev/null
+++ b/examples/working-compiler/grep-fast.test
@@ -0,0 +1,17 @@
+{ =*?p { [ -01 { _ p { } { -- } ? * } each ] } } /engrep deffd
+
+{
+ engrep
+* } /grep deffd
+
+[ 1 2 3 4 5 6 7 8 9 10 ] ==data
+
+1000000 {
+ data { 5 eq } grep --
+} rep
+
+5 ==i
+
+1000000 {
+ data { i eq }" grep --
+} rep