On Mon, Dec 19, 2016 at 5:06 PM Tom Payne <twpa...@gmail.com> wrote:

> Note that consistent encoding of the same value is *not* specified in the
list of goals in https://blog.golang.org/gobs-of-data (in fact it is not
mentioned at all). However, it could be considered a desirable feature :)

Map keys are comparable but not necessarily ordered, so I think it's a
non-starter. If you need a reproducible map gob and the map has ordered
keys, you can always use the GobEncoder interface implementation for that.

-- 

-j

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to