I don't really understand what are you doing.
You serialize with gob.Encode, but does NOT deserialize, just use the encoded 
bytes as the backing memory of an unitialized map. This won't work.

Either deserialize with gob.Decode, or use your own custom data structure, 
which can be backed by memory mapped disk - for example a B+-tree.

-- 
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