json-voorhees icon indicating copy to clipboard operation
json-voorhees copied to clipboard

Investigate alternative to temporary buffers in char_convert

Open tgockel opened this issue 4 years ago • 0 comments

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.

tgockel avatar Feb 27 '20 01:02 tgockel