cmd/compile: big map literal creation performance #43020
I noticed that creating big maps (>=9 elements) using map literals are slow if values are not constant
works twice as slow then this one
See a post
I asked about this in go developers mailing list and they asked to create a ticket
@josharian mentioned this line in the code cmd/compile/internal/gc/sinit.go:757
What version of Go are you using (
The text was updated successfully, but these errors were encountered:
Yes, this is a current limitation of how maps are sized.
The organization of this code in the compiler makes it kinda tough, but it should be possible.