From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9625 invoked by alias); 9 Apr 2017 07:16:30 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 40942 Received: (qmail 20558 invoked from network); 9 Apr 2017 07:16:29 -0000 X-Qmail-Scanner-Diagnostics: from aok120.rev.netart.pl by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(85.128.245.120):SA:0(0.0/5.0):. Processed in 0.661012 secs); 09 Apr 2017 07:16:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: psprint@zdharma.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at zdharma.org does not designate permitted sender hosts) X-Virus-Scanned: by amavisd-new using ClamAV (8) Date: Sun, 9 Apr 2017 09:16:26 +0200 From: Sebastian Gniazdowski To: zsh-workers@zsh.org Message-ID: In-Reply-To: References: Subject: Re: Optimizations, extra memory of (r) flag (the padding) X-Mailer: Airmail (231) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9 April 2017 at 09:00:00, Sebastian Gniazdowski (psprint=40zdharma.org= ) wrote: > Nevertheless realloc has been quite verified. I was checking with vmsta= t that it was =20 > operating at as low available memory as 2576 kB. Also, at each iteratio= n number of=C2=A0 PS. Just thought =E2=80=93 this is an advantage of realloc(), that it is = possible to append to say 100 MB array with 2576 kB free memory. It is th= e previous code that would refuse to work in that conditions. -- Sebastian Gniazdowski psprint /at/ zdharma.org