RFR: 8259074: regex benchmarks and tests

Alan Malloy amalloy at openjdk.java.net
Sat Jan 30 22:05:42 UTC 2021

On Tue, 5 Jan 2021 03:15:56 GMT, Martin Buchholz <martin at openjdk.org> wrote:

> 8259074: regex benchmarks and tests

test/jdk/java/util/regex/TestCases.txt line 1248:

> 1246: false 1
> 1247: 
> 1248: // Unary power of two (8), reluctant quantifier

I think the comment here is meant as "Giving a power of 2 as input to the primarily tester", but coming right after a unary primality tester commented with "Unary prime", it sounds like you are labeling this as a power-of-2 detector.


PR: https://git.openjdk.java.net/jdk/pull/1940

More information about the core-libs-dev mailing list