Hi all,

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

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,

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.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
groupgolang-nuts @
postedJan 28, '13 at 5:05a
activeJan 28, '13 at 10:47a

2 users in discussion

Donovan Hide: 2 posts Craig Mason-Jones: 1 post



site design / logo © 2021 Grokbase