aboutsummaryrefslogtreecommitdiff
path: root/elymas/lib/sys/opt.ey
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2013-12-29 16:43:40 +0100
committerDrahflow <drahflow@gmx.de>2013-12-29 16:43:40 +0100
commit665ecd4b714771b2e69384991a1043bcfcde3f72 (patch)
tree6e81d329d222e50f56d62bacbb61cf14ee55394d /elymas/lib/sys/opt.ey
parentd245b90de88b762f65a5007c1776206dc7cd72dc (diff)
Memory footprint reduced to ~10%
Diffstat (limited to 'elymas/lib/sys/opt.ey')
-rw-r--r--elymas/lib/sys/opt.ey20
1 files changed, 10 insertions, 10 deletions
diff --git a/elymas/lib/sys/opt.ey b/elymas/lib/sys/opt.ey
index 8f54e1e..9da4424 100644
--- a/elymas/lib/sys/opt.ey
+++ b/elymas/lib/sys/opt.ey
@@ -139,6 +139,16 @@
t { f } { 0 } ? *
} /andif deffd
+ { ==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
+ 0 e * STRINGSTAR streq
+ ] any
+ } /holdsInt deffd
+
+ { -1010 lt -012 ? } /max deffd
+
{ ==o ==executingScope
0 ==containsScopeModifications # TODO: replace <, > by macros ( {, scope } * respectively) then remove this
@@ -264,14 +274,6 @@
i 2 sub logic * ==secondLast
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
- 0 e * STRINGSTAR streq
- ] any
- } /holdsInt deffd
-
action CALL streq
{ 1 entry * "*" | ::rawCodeAddress eq }' andif
{ 0 last * PUSH streq }' andif
@@ -507,8 +509,6 @@
{ action CALL streq { 1 entry * "-" | ::rawCodeAddress eq }' andif { 0 last * PUSH streq }' andif }' {
1 last * ::rawObject ==constant
- { -1010 lt -012 ? } /max deffd
-
0 ==largestNumber
0 ==starUsed