about dictionary, gc shape, stencil?

271 views
Skip to first unread message

xie cui

unread,
Jan 14, 2022, 11:14:33 AM1/14/22
to golang-dev

xie cui

unread,
Jan 14, 2022, 11:21:02 AM1/14/22
to golang-dev
as far as i know,  in master branch gc shape is used by default, and stenciling is used if unified is enable?  i guess we use gc shape in 1.18 and change to stenciling in 1.19 by using unified, or maybe we will implement gc shape in  unified before 1.19 release? 

Ian Lance Taylor

unread,
Jan 14, 2022, 1:22:20 PM1/14/22
to xie cui, golang-dev
On Fri, Jan 14, 2022 at 8:21 AM xie cui <cuiw...@gmail.com> wrote:
>
> as far as i know, in master branch gc shape is used by default, and stenciling is used if unified is enable? i guess we use gc shape in 1.18 and change to stenciling in 1.19 by using unified, or maybe we will implement gc shape in unified before 1.19 release?

Yes, 1.18 uses gcshape. For 1.19, if we switch to the unified IR, the
current plan is that we will implement some form of gcshape in that
code.

Ian

> On Saturday, January 15, 2022 at 12:14:33 AM UTC+8 xie cui wrote:
>>
>> https://github.com/golang/proposal/blob/master/design/generics-implementation-dictionaries.md
>>
>> https://github.com/golang/proposal/blob/master/design/generics-implementation-gcshape.md
>>
>> https://github.com/golang/proposal/blob/master/design/generics-implementation-stenciling.md
>>
>> which proposal will implement(enable default) in 1.18, 1.19, and finally which proposal will be accept?
>
> --
> You received this message because you are subscribed to the Google Groups "golang-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/golang-dev/6fb79791-6961-42db-94f8-d741c1eed85en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages