aboutsummaryrefslogtreecommitdiff
path: root/elymas/lib
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2013-10-22 23:39:30 +0200
committerDrahflow <drahflow@gmx.de>2013-10-22 23:39:30 +0200
commit3815a054b5a1871e00337fb29460ae2bfbb6dfc6 (patch)
tree91a525ef81fb826693a3c26cd9ed990bec7bb2a0 /elymas/lib
parent1ed4d0703d433fb44fc9a38dc8a0a190a1aac54b (diff)
Optimization (20% on string scanning workloads)
Diffstat (limited to 'elymas/lib')
-rw-r--r--elymas/lib/sys/opt.ey8
1 files changed, 5 insertions, 3 deletions
diff --git a/elymas/lib/sys/opt.ey b/elymas/lib/sys/opt.ey
index 72f1897..df315f7 100644
--- a/elymas/lib/sys/opt.ey
+++ b/elymas/lib/sys/opt.ey
@@ -265,9 +265,11 @@
i 3 sub logic * ==thirdLast
{ ==e
- 0 e * STATICTYPED streq { 4 e * sys .typed .type 0 eq }' andif
- 0 e * PUSH streq { 1 e * sys .typed .type 0 eq }' andif
- or
+ [
+ 0 e * STATICTYPED streq { 4 e * sys .typed .type 0 eq }' andif
+ 0 e * PUSH streq { 1 e * sys .typed .type 0 eq }' andif
+ 0 e * STRINGSTAR streq
+ ] any
} /holdsInt deffd
action CALL streq