[vector] improve assertions of arrays of for the generated tests
Paul Sandoz
paul.sandoz at oracle.com
Thu Mar 1 23:06:01 UTC 2018
Hi
Please see this patch that modifies the assertions used by the generated tests. The prior approach could generate a lot of strings to GC for the assertion messages. There should be an observable speed up in the test execution.
I abstracted out the assertion mechanism so it accepts a function.
http://cr.openjdk.java.net/~psandoz/panama/test-assertions/webrev/ <http://cr.openjdk.java.net/~psandoz/panama/test-assertions/webrev/>
—
Separately we still need to consider using TestNG data providers which should reduce the explicit test of three masks down to one.
Thanks,
Paul.
More information about the panama-dev
mailing list