1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/doc/xml
David Steele d29aa61286 Allocate extra space for concatenations in the String object.
The string object was reallocating memory with every concatenation which is not very efficient.  This is especially true for JSON rendering which does a lot of concatenations.

Instead allocate a pool of extra memory on the first concatenation (50% of size) to be used for future concatenations and reallocate when needed.

Also add a 1GB size limit to ensure that there are no overflows.
2019-01-27 11:50:09 +02:00
..
dtd Allow if condition in documentation lists and list items. 2019-01-24 16:45:28 +02:00
coding.xml Add coding standards for String constants. 2018-12-04 11:46:25 -05:00
documentation.xml Add documentation for building the documentation. 2018-12-12 13:52:23 -05:00
index.xml Update introduction to be pithy. 2018-09-19 18:26:12 -04:00
reference.xml Clarify that encryption is always performed client-side. 2019-01-04 12:25:58 +02:00
release.xml Allocate extra space for concatenations in the String object. 2019-01-27 11:50:09 +02:00
test.xml Add admonitions to documentation renderers. 2018-12-30 16:40:20 +02:00
user-guide.xml Clarify that encryption is always performed client-side. 2019-01-04 12:25:58 +02:00