On 09/28/2018 03:24 PM, Robert Engels wrote:
> If you have a object reference then the object is going to tracked by the GC 
> anyway, no matter where it is referenced from, so you are not saving 
> anything, as that reference still must be somewhere...

... yes.
I haven't really done measurements to test whether the reference not
being in the map it self will speed up anything, but now I'm going in a
different direction.

/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