Open dvyukov opened 10 years ago
This may not be necessary depending on what we do or don't do for issue #8898.
Status changed to Accepted.
I agree that this is related to issue #8898, and 8898 will somewhat alleviate benefit from this optimization. But this is still somewhat orthogonal thing, as in this case we don't even allocate nor generate garbage.
Comments about this bug are in https://go-review.googlesource.com/#/c/8356/
Here is implementation of the optimization: https://go-review.googlesource.com/5032