Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.5.15
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Patch Submitted:Yes
-
Number of attachments :
Description
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
v. good.
v. good.
v. good.
v. good.
v. good.
v. good.
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.
- add more tests
Modified "testByteArrayLiteral()" due to
Please avoid the declaration of unnecessary exceptions! Please try to obey the "Java Coding Conventions" regarding spaces before and after operators.JANINO-117.