Sorry, a typo in title. It should be "comparison".

On Saturday, June 26, 2021 at 5:50:55 AM UTC-4 tapi...@gmail.com wrote:

>
> The code: 
> https://github.com/golang/go/blob/cca23a73733ff166722c69359f0bb45e12ccaa2b/src/cmd/compile/internal/escape/escape.go#L2012-L2025
>
> xxx > ir.MaxStackVarSize
>
> xxx >= ir.MaxImplicitStackVarSize
>
> This leads to the elements of a slice with size as ir.
> MaxImplicitStackVarSize will be allocated on heap, but an array with size 
> as ir.MaxStackVarSize will be allocated on stack.
>
> Is this intended?
>
>
>
>

-- 
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/d26fec6c-03ba-4ea2-aa03-4e47f0980660n%40googlegroups.com.

Reply via email to