Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Optimizations, extra memory of (r) flag (the padding)



On 9 April 2017 at 09:00:00, Sebastian Gniazdowski (psprint@xxxxxxxxxxx) wrote:
> Nevertheless realloc has been quite verified. I was checking with vmstat that it was  
> operating at as low available memory as 2576 kB. Also, at each iteration number of 

PS. Just thought – this is an advantage of realloc(), that it is possible to append to say 100 MB array with 2576 kB free memory. It is the previous code that would refuse to work in that conditions.

--
Sebastian Gniazdowski
psprint /at/ zdharma.org



Messages sorted by: Reverse Date, Date, Thread, Author