I noticed that word sized datatypes can be stored directly in the data
field of an iface/eface, but I'm confused on how marking works with these
kinds of inline cases. I checked the mark routines in the runtime/gcmark.go
and couldn't find special casing for interfaces. How does the runtime know
when not to follow an interface's data pointer? Does it just scan that word
conservatively? How does the func's pointer map fit into this?

Kind regards, Kris

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAEF0weje407%2BsKjjcV3bgmRz4QZGZgzs8yJMriGANui%3DznhnYQ%40mail.gmail.com.

Reply via email to