Join GitHub today
cmd/compile: evaluate map initializers incrementally #26552
The generated assembly does essentially:
It would be better to evaluate the function
It should be safe to do so, as when we're constructing
See #26546 for an instance where this matters.
We do need to respect order of evaluation, so there are tricky cases like:
Spec says the eval order must be