[
http://jira.codehaus.org/browse/JANINO-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138967#action_138967 ]
Matt Fowles commented on JANINO-121:
------------------------------------
sorry about that. I try to copy the surrounding style whenever I can, but sometime I forget.
> Some performance optimizations
> ------------------------------
>
> Key: JANINO-121
> URL:
http://jira.codehaus.org/browse/JANINO-121> Project: Janino
> Issue Type: Improvement
> Reporter: Matt Fowles
> Assignee: Arno Unkrig
> Fix For: 2.5.15
>
> 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