zsh-workers
 help / color / mirror / code / Atom feed
From: Sebastian Gniazdowski <psprint@zdharma.org>
To: zsh-workers@zsh.org
Subject: Re: Optimizations, extra memory of (r) flag (the padding)
Date: Sun, 9 Apr 2017 09:16:26 +0200	[thread overview]
Message-ID: <etPan.58e9dfca.2ae8944a.15fbc@MacMini.local> (raw)
In-Reply-To: <etPan.58e9d581.643c9869.15fbc@MacMini.local>

On 9 April 2017 at 09:00:00, Sebastian Gniazdowski (psprint@zdharma.org) 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


  reply	other threads:[~2017-04-09  7:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-09  6:32 Sebastian Gniazdowski
2017-04-09  7:16 ` Sebastian Gniazdowski [this message]
2017-04-09 18:33 ` Daniel Shahaf
2017-04-10  4:31 ` Sebastian Gniazdowski
2017-04-10 21:33   ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=etPan.58e9dfca.2ae8944a.15fbc@MacMini.local \
    --to=psprint@zdharma.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).