Generic map
vearutop opened this issue · comments
Viacheslav Poturaev commented
Now that type parameters are coming to Go, it might be an optimization opportunity to reduce usages of interface{}
with generics.
Andrei Pechkurov commented
Indeed it would be a good enhancement. #29 might be needed to get rid of interface{}
for keys, but otherwise, the migration should be straightforward. If there is any demand for generics support, I'm going to implement it. Contributions are also welcome.