Hi folks,

suppose I want to filter several disjunct ranges of arguments on a method 
handle. I noticed that filterArguments() no longer tolerates null elements in 
the filter array. This leaves me with two implementation strategies:

1. several chained filterArguments invocations, each specifying a continuous 
range of filters, or
2. replacing null elements in the filter array with appropriate 
MethodHandle.identity() elements.

Which one is the advised approach (meaning, it will end up performing better)?

Thanks,
  Attila.
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to