Optimisation Opportunities #138
Replies: 6 comments 2 replies
-
Removed optimizations in ca4073a. |
Beta Was this translation helpful? Give feedback.
-
References may be a thing down the line - could they be replaced with direct usage at thr bytecode level? |
Beta Was this translation helpful? Give feedback.
-
From #133 Duplicate strings in bytecode. |
Beta Was this translation helpful? Give feedback.
-
Done, and controlled via a command line switch to the repl. |
Beta Was this translation helpful? Give feedback.
-
Removing scope-pushes in single-line blocks?
In this case, pushing and popping a scope isn't needed. If something is declared, then you'd still need a scope. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Toy/scripts/example-print.toy
Line 11 in 9f45925
Concat on raw strings is a good candidate.
Snipping out
Toy_AstGroup
when encountered.Compute literal value expressions (like,
3*5
would be15
in the bytecode, etc.).Beta Was this translation helpful? Give feedback.
All reactions