Hi Paul, On Sat, 2021-12-04 at 21:38 -0600, Paul Bjorkstrand wrote: > I added in using MethodHandles in the tests, just to show the > difference. > When Sling stops supporting Java 8, we can move to MethodHandle which > has > significantly better performance characteristics. Unfortunately, we > can't > make that move until we are on at least Java 9, so that we can use > MethodHandles.privateLookupIn(..) [2].
Thanks for the comprehensive tests. Would it be possible to try MethodHandles and fall back to reflection is they're not available? Thanks, Robert
