On 09/28/2018 09:13 AM, Henrik Johansson wrote:
> This sounds much like the trickery people have used both successfully
> but also disastrously using weak references in Java.
> Is that where you got the idea from?

No.
I think I mentioned in my first post where I got the idea from.
I haven't programmed Java the last 20 years.

Anyway... Thinking about it, I might be able to achieve the same by just
maintaining a []Object and having the map hold integer indexes instead.

/Peter

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