From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14651 invoked by alias); 12 Oct 2015 15:13:21 -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: 36845 Received: (qmail 16629 invoked from network); 12 Oct 2015 15:13:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=v5muHuwBQYpzvQwJIdC484kkVZvjzPhTGfCxp3gQH1Y=; b=OQpaVjr8sdASvpt+s/7Jze9S+x0Z6BUk/RqXyCRswIgt1IR/PlSUtfb+HyDjwel019 jCyg6TF97LzX4YOcX870fmd755EfJdecxk4wlIh8XD1dn37QILbJArqt6wMZV7UCr7fG zzkmSmsmVw9e3MMnVPVUAeBMNhECxSjFTaWDHXpadTiq1fV4TmIMOapu8NYi8xyubnG7 FfAxodfv0Ddlbw47KP6MEZlajDpcR/0P0SKHlBVjlglYI6SqbW9K3GTGwl9hGSxSmbpl 6YT1kHYgTnDCwDr2WqCOZH1TqAV+pO2EzOXtKIppPM7xH6M43oO6AezP7iakbhe4MpUD r/vg== X-Gm-Message-State: ALoCoQkk3kxP+3ltcuTFHsVSu/KFEx+iNgMtBNIJlIeKzKy+T1TpSdyWGoOyR//Mr9hgojSBvG99 X-Received: by 10.60.131.198 with SMTP id oo6mr15881626oeb.40.1444662798464; Mon, 12 Oct 2015 08:13:18 -0700 (PDT) From: Bart Schaefer Message-Id: <151012081315.ZM15169@torch.brasslantern.com> Date: Mon, 12 Oct 2015 08:13:15 -0700 In-Reply-To: Comments: In reply to Sebastian Gniazdowski "Re: Slowdown around 5.0.5-dev-0" (Oct 12, 2:05pm) References: <151010105849.ZM10144@torch.brasslantern.com> <151010170623.ZM16166@torch.brasslantern.com> <151010232045.ZM12931@torch.brasslantern.com> <151011091757.ZM27755@torch.brasslantern.com> <151011103121.ZM8814@torch.brasslantern.com> <151011142204.ZM9103@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Slowdown around 5.0.5-dev-0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 12, 2:05pm, Sebastian Gniazdowski wrote: } } Can something be done inside the script to make memory more prepared } for heavy computation? Doubtful. The heap is a layer on top of malloc, so although it might be possible to get system memory from malloc into the heap list, that won't remove any of the heap implementation overhead, nor will it keep zsh from copying the data around internally every time you use ${list} in the script later.