3 ms·
It should be mentioned here that if map had the same implementation for both Array and List, map for arrays would probably be 10-20x slower than what it is toda
by Skinney 10y ago
It should be mentioned here that if map had the same implementation for both Array and List, map for arrays would probably be 10-20x slower than what it is today.
In that case, is it really boilerplate?
- rtfeldman 10y agoYeah, that would be an example of where even if that langue feature existed, using it would lead to a worse implementation. :(