There is no optimized implementation for int8-sized things -- just use an array.
Damian
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can always write your own hash table, or convert your uint16 key to a uint32 for lookup purposes. (I've done the same thing with floats to speed up a float64-keyed hash table.)
Damian
--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/1iSmPQ6vrl0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.