• Philipp A. Hartmann's avatar
    GenericValue: improve copying performance · 2aab7920
    Philipp A. Hartmann authored
    The GenericValue "copy" constructor (with Allocator) uses a temporary
    GenericDocument object to perform the deep copying with the provided
    allocator.  This leads to the temporary allocation of the `Stack`
    memory, even in case of shallow values (numbers, etc.).
    
    This patch improves the performance of this operation by only resorting
    the the SAX Handler implementation in case of Array or Object values.
    2aab7920
Name
Last commit
Last update
bin Loading commit data...
build Loading commit data...
doc Loading commit data...
example Loading commit data...
include/rapidjson Loading commit data...
test Loading commit data...
thirdparty Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
license.txt Loading commit data...
readme.md Loading commit data...