json-voorhees
json-voorhees copied to clipboard
Investigate alternative to temporary buffers in char_convert
In detail/char_convert.cpp
, the functions convert_to_wide
and convert_to_narrow
use temporary buffers (backed by alloca
when available). This might be better replaced by a two-pass system instead of an allocation.