in reply to Re: Benchmarks aren't everything
in thread Benchmarks aren't everything
I don't have a Java compiler handy. But, for instance, this was not handled in Perl 5.005_03, and as of the last time that I checked, was not handled in Ruby, pcre (which is widely used in other applications), or pp-ccre.
If someone wishes to run a test Java program to see whether it has this optimization, I'd be interested to know the result.