Janino Compiler Needs Optimizing
--------------------------------
Key: JANINO-121
URL:
http://jira.codehaus.org/browse/JANINO-121 Project: Janino
Issue Type: Improvement
Reporter: Matt Fowles
Assignee: Arno Unkrig
Attachments: janino-optimize.patch
This includes a bunch of optimzations. None of these optimizations were made blindly, they were all directly indicated by profiling.
- Descriptor should use a map to cache common conversions
- CodeContext should avoid allocating unneeded objects
- CodeContext should double code size when growing it
- Methods should be cached by name
- switch finding LocalVariables to push the information down the tree eagerly instead of searching up it lazily
- add the ability for SimpleCompiler to cook ASTs directly
- UnitCompiler should push a local variable map through the tree
- add more tests
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email