jsonxx icon indicating copy to clipboard operation
jsonxx copied to clipboard

std::string_view for parsing?

Open MrSapps opened this issue 9 years ago • 0 comments

I think it might be worth using std::string_view as a view into one large std::string that contains the whole document when parsing. This way there will only be 1 memory allocation.

Only trouble is that string_view is still experimental so would probably have to wait for it to appear in the next standard.

MrSapps avatar Dec 30 '15 18:12 MrSapps