Age | Commit message (Collapse) | Author |
|
|
|
Memory optimization
|
|
|
|
Use CrtAllocator for stack.
ShrinkToFit stack after parsing.
|
|
|
|
|
|
Lazy allocation. (so Document not for parsing don't need to allocate
stack).
Remove redundant stackCapacity member variable.
|
|
Use a tighter bound.
|
|
|
|
By adding an optional CRTP template parameter, the BaseReaderHandler
can call the "overridden" `Default()` function from the `Derived`
class.
See https://en.wikipedia.org/wiki/Curiously_recurring_template_pattern
|
|
|
|
|
|
|
|
|
|
|
|
It is simple and pure C++. And it is found in performance test that it
is even faster than the original version, due to distribution of n. But
the performance gain is not obvious in RapidJSON.
|
|
|
|
|
|
Modified from Milo's Grisu2 implementation. 99.9% cases return shortest
decimal format.
|
|
Accurate rounding in normal numerical ranges, also reduce lookup table
size.
|
|
|
|
Fix #94
|
|
Fix #91
|
|
|
|
|
|
complexity information.
|
|
Remove for object members, some cleanups for values
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Erase(ConstValueIterator,ConstValueIterator)"
This reverts commit 9ab2621e855a9abb8377520b42d6dfddcd49a8e1.
|
|
As std::vector::erase() overloads added in C++11
|
|
|
|
|
|
Overflow should check sign of exponent.
|
|
|
|
Issue75stopwhendone
|
|
Add MemoryBuffer and MemoryStream
|
|
|
|
|
|
|
|
|
|
Issue31optimizeitoa
|
|
|
|
Performance boost a lot!
|