Data classes optimization
It is possible to treat data classes with only immutable members as structs.
Doing this would increase performance a lot since you don’t need to heap allocate every simple read-only data class.
Also LLVM could optimize way more things so this should seriously be considered.
1 post - 1 participant
Read full topic