Hacker News new | ask | show | jobs
by Skinney 3505 days 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?

1 comments

Yeah, that would be an example of where even if that langue feature existed, using it would lead to a worse implementation. :(