diff options
author | Nicolas Roche <roche@adacore.com> | 2018-07-16 14:08:27 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2018-07-16 14:08:27 +0000 |
commit | e05a1ce7113ba87b45bb6c950a8ae0bf56c536e3 (patch) | |
tree | 9e64765503469eb32e3d386b0858566f4c462e69 /gcc/ada/adaint.c | |
parent | 0150d9a1cd06feebd2e8efa56e364c8f377fb633 (diff) | |
download | gcc-e05a1ce7113ba87b45bb6c950a8ae0bf56c536e3.zip gcc-e05a1ce7113ba87b45bb6c950a8ae0bf56c536e3.tar.gz gcc-e05a1ce7113ba87b45bb6c950a8ae0bf56c536e3.tar.bz2 |
[Ada] Adjust growth factor from 1/32 to 1/2 for Unbounded_String
This will reduce significantly the number of allocations done when
doing consecutive append operations.
2018-07-16 Nicolas Roche <roche@adacore.com>
gcc/ada/
* libgnat/a-strunb.adb, libgnat/a-strunb__shared.adb: Adjust growth
factor from 1/32 to 1/2 for Unbounded_String.
From-SVN: r262697
Diffstat (limited to 'gcc/ada/adaint.c')
0 files changed, 0 insertions, 0 deletions