I'm trying to a map indexed by a bitset, or more generally, if you will, a
map indexed by an array / a slice.
The problem is that I don't necessarily want to define my array length
up-front: my index keys could be of any length, or a variable length read
from an input file.
I can't work out how to accomplish this in go, because I can't compare
slices.
Of course I can encode everything to a string, then work with those, but
it's messy. I'd much rather find a way to manage it using bitsets as the
map keys.
All the best,
Craig
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group, send email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.