[ug] Avoid reallocating buffer too often
[ug] Avoid reallocating buffer too often
The changes introduced in 755d86be introduced reallocations (shrinking) of the buffer after every read. This reverts this behaviour to only change the internal bufferSize_ variable and free once all items are read.
See discussion in !472 (comment 82470)
Edited by Timo Koch