Exchange the explicit mapper classes through lambdas #27
Closed
Description
datus currently implements the Mapper<A,B>
in two distinct classes for the mutable and immutable API. This is unnecessary as the Mapper<A,B>
interface is a functional interface. As the mapper implementation classes are package private this is a non-breaking change that reduces the overall code size of datus while also opening up for future JVM optimizations in regards to lambdas. Some local JMH testing also showed minor performance benefits when using lambdas.
Activity
roookeee commentedon Aug 27, 2019
Implementation is in branch
issue-27
- will probably release 1.3.1 for thisroookeee commentedon Aug 29, 2019
Will merge into develop soon but won't release as of yet (too little has changed to release 1.3.1 or 1.4.0)
ISSUE-27(#27): Exchange the explicit mapper classes through lambdas
roookeee commentedon Sep 3, 2019
Merged into develop