On Tue, Dec 12, 2017 at 3:39 PM T L <tapir....@gmail.com> wrote:

> Does it still valid for the latest gc?
> In other words, does gc 1.9 still check the segment [len(s), cap[s]) of a
slice s to find active pointers?

It's not an option, the garbage collector must always scan the whole
backing array.



-- 

-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