Here's a list of optimization to-dos I have been gathering while
auditing the compiler.
Optimizations to make:
- Literal array construction to repeatedly call "filler" methods rather
than populating array inline (for >= 6 elements)
- Expand valueXdepthY versions of scope methods
- only set file into TC once?
- eliminate useless dups+pop for lines not consumed by an implicit return
- optimize method arg assignment for heap-scoped methods by calling out
to utility methods
- optimize scope "depth digging" with a few specific-valued utility methods
- improve sharing, caching logic of dregexp by stuffing logic into
generated methods...with a set pre-existing in superclass?
- improve caching of symbols by avoiding constructing caching methods
for first N symbols in a script
For my own reference, and for posterity. If someone wants to file bugs
for these so they get done, or try to hack them yourself, go for it.
- Charlie
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email