And now we introduced 2 new problems:
1. We have 2 ways of doing stuff (boring loop vs map)
2. We have a new hidden way to introduce performance degradation by importing a library that uses map
You might argue that you should know what you're importing, but in practice, it can hurt the overall ecosystem. I'm still supporting the introduction of generics, but the tradeoff should be clear to everyone.
Also I would not be surprised to see JIT-like behavior from go tooling, first party or otherwise, if that sort of approach takes off.