Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fmt: all [*]Print[**] functions should not make heap allocations #63456

Closed
zigo101 opened this issue Oct 9, 2023 · 2 comments
Closed

fmt: all [*]Print[**] functions should not make heap allocations #63456

zigo101 opened this issue Oct 9, 2023 · 2 comments

Comments

@zigo101
Copy link

zigo101 commented Oct 9, 2023

Go toolchain 1.21 has made reflect.ValueOf not allocate if possible,
so now there should be no obstacles which force the print functions allocate.

(I remembered there is an issue for this, but I couldn't find it now.)

@mateusz834
Copy link
Member

#62653 #8618

@mvdan
Copy link
Member

mvdan commented Oct 9, 2023

Closing as a duplicate of that first issue.

@mvdan mvdan closed this as not planned Won't fix, can't repro, duplicate, stale Oct 9, 2023
@golang golang locked and limited conversation to collaborators Oct 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants