diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-09-20 00:03:02 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-09-20 00:03:02 -0700 |
commit | 131c1a159c672ee651fa14efe41ee6ea6fd7ebf8 (patch) | |
tree | 001a18c632c791b2babfaff32fb463534a9ebd35 /tests/data/utftest_utf32_be_clean.xml | |
parent | 234c2f3657ec50671299a359877b058d55aa1d1d (diff) |
Implement integer to string conversion manually
This reduces the amount of non-standard C++ functionality pugixml may be using
by avoiding sprintf with %lld; additionally this implementation is significantly
faster (4-5x) than sprintf, mostly due to avoiding format string parsing and
stream setup that commonly happens in CRT implementations.
This comes at the expense of requiring long long division/remainder operations
if PUGIXML_USE_LONG_LONG is defined which will surely bite me one day.
Diffstat (limited to 'tests/data/utftest_utf32_be_clean.xml')
0 files changed, 0 insertions, 0 deletions