jqwik-team / jqwik

Property-Based Testing on the JUnit Platform
http://jqwik.net
Eclipse Public License 2.0
578 stars 64 forks source link

Optimize .flatMap(... -> Stream.of(..)) with .map(...) in ShrinkableChainShrinker #432

Closed vlsi closed 1 year ago

vlsi commented 1 year ago

This is a small optimization that mainly makes code easier to follow, however, it does improve perf from 28 to 26 sec


I hereby agree to the terms of the jqwik Contributor Agreement.

vlsi commented 1 year ago

I believe CI failure has nothing to do with the change.