mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-12 14:20:04 +00:00
identical to VG_(newXA) but allows passing in a size hint. In the case where the likely final size of the XArray is known at creation time, this allows avoiding the repeated (implicit) resizing and copying of the array as elements are added, which can save a vast amount of dynamic memory allocation turnover. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11568
7.6 KiB
7.6 KiB