Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Optimizations, extra memory of (r) flag (the padding)
- X-seq: zsh-workers 40942
- From: Sebastian Gniazdowski <psprint@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Optimizations, extra memory of (r) flag (the padding)
- Date: Sun, 9 Apr 2017 09:16:26 +0200
- In-reply-to: <etPan.58e9d581.643c9869.15fbc@MacMini.local>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <etPan.58e9d581.643c9869.15fbc@MacMini.local>
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