не очень то и ускорит
Я уже говорил, что скорость мапы зависит от того какой тип Вы используете.
Именно поэтому желательно сочитать и слайсы и мапы.
Use int as keys instead of strings in Map
For every lookup and update, hash needs to be computed for a string key which is not O(1) w.r.t. string length.
Hence, it’s better to use a int as key. If you really need strings, use a simpler hash algorithm (e.g. fnv64a) which may lead to more hash collisions but provide better performance for general cases.