Closed gmarmstrong closed 1 year ago
Not necessarily crucial improvements, just exploring the code.
const
.map(...).toMap()
.associate(...)
associate
associateWith
Pair
All test pass both before and after.
Not necessarily crucial improvements, just exploring the code.
const
where possible, improves performance and Java interoperability.map(...).toMap()
with.associate(...)
, may improve performance by shortening call chainassociate
withassociateWith
, may improve performance by avoidingPair
usageAll test pass both before and after.