[
http://jira.codehaus.org/browse/JANINO-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138966#action_138966 ]
Arno Unkrig commented on JANINO-121:
------------------------------------
* Descriptor should use a map to cache common conversions
v. good.
* CodeContext should avoid allocating unneeded objects
* CodeContext should double code size when growing it
v. good.
* Methods should be cached by name
v. good.
* switch finding LocalVariables to push the information down the tree eagerly instead of searching up it lazily
v. good.
* add the ability for SimpleCompiler to cook ASTs directly
v. good.
* UnitCompiler should push a local variable map through the tree
v. good.
* add more tests
Modified "testByteArrayLiteral()" due to JANINO-117.
Please avoid the declaration of unnecessary exceptions!
Please try to obey the "Java Coding Conventions" regarding spaces before and after operators.
> 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