You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mateusz834
added
FixPending
Issues that have a fix which has not yet been reviewed or submitted.
and removed
NeedsFix
The path to resolution is known, but the work has not been done.
labels
Apr 12, 2024
Currently, Read is implemented as
io.ReadFull(Reader, b)
which escape analysis can't track, so b escapes to the heap.This is somewhat annoying, since it causes allocations in paths that could otherwise have none.
It should be possible to rewrite the package so that it doesn't escape on major platforms.
The text was updated successfully, but these errors were encountered: