On Mon, 2021-02-08 at 19:09 -0800, messi...@gmail.com wrote:
> Hi,
> 
> I'm reading the go compiler source code and found the following code
> style in several places:
> 
> 
> 
> Is there some special reasons to group n,m,p to a local struct? 
> 
> Why don't we just init n the following way:

Maybe because the Node, Name and Param will all be allocated in a
single contiguous allocation in the form that exists in the current
tree.



BTW Please don't post images for source code.


-- 
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/1c0b756066218868c4d4d095d21166be3ad9b604.camel%40kortschak.io.

Reply via email to