jpml icon indicating copy to clipboard operation
jpml copied to clipboard

Use Invoke API instead of Reflection API

Open JarvisCraft opened this issue 6 years ago • 3 comments

Use API provided by java.lang.invoke instead of access via reflection in order to improve efficency. As an example you can look on this library of mine (also, feel free to use it if you need to). Using this seems to be a needed optimizations as some methods use access to classes' methods and fields per each call (e.g. DeconstructPattern).

JarvisCraft avatar Jul 25 '19 17:07 JarvisCraft

Improved performance for StaticPattern.

klappdev avatar Aug 19 '19 19:08 klappdev

Improved performance for PositionPattern.

klappdev avatar Aug 29 '19 05:08 klappdev

Improved performance for PropertyPattern.

klappdev avatar Aug 31 '19 05:08 klappdev