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
The current implementation uses a stack-allocated buffer + an optionally-
allocated thread local heap buffer for vsnprintf. This likely was made
to avoid heap allocating whenever not necessary (i.e. in the majority
of cases).
However, a subsequent commit introduced a string `bp` that always performs
the copy anyway. At this point the code can be simplified to avoid the
double buffer and simply allocate straight into the string avoiding an
extra copy.
0 commit comments