summaryrefslogtreecommitdiff
path: root/tests/test_unicode.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-09-20 00:03:02 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-09-20 00:03:02 -0700
commit131c1a159c672ee651fa14efe41ee6ea6fd7ebf8 (patch)
tree001a18c632c791b2babfaff32fb463534a9ebd35 /tests/test_unicode.cpp
parent234c2f3657ec50671299a359877b058d55aa1d1d (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/test_unicode.cpp')
0 files changed, 0 insertions, 0 deletions