Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Possible huge setarrvalue optimization
- X-seq: zsh-workers 40273
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Sebastian Gniazdowski <psprint@xxxxxxxxxxxxxx>
- Subject: Re: Possible huge setarrvalue optimization
- Date: Thu, 5 Jan 2017 15:47:18 +0000
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=wqYL6ZwY7pIqxlz pArXSdIZnxP0=; b=gyL7XKFTs6a7hgfW84s+ay5AfUBZFCLi3VRxAsb98sxUB9h hZDYsp2LnlgZA860+tEiJOHHHJRMlVd1R6IPqZLTtVC1+n36bmJQ//6NjlYZIa68 E8d4PD8oqPy5/quOyeymv6Vp7kO7Mblt+f8pN0OFDLZPI+fBkqzdjM+ZIk2Y=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=wqYL6ZwY7pIqxl zpArXSdIZnxP0=; b=DIhYy5b8X8atts+iS79DuelYHv/dMOwdOIk7vfOoTGtZCM qgn3cSU4MsaQSvJbTZNu/KBx9Hj5hjB335fOAgFbDwduGnsVGdTQl4VNbkhKg46i U+3yiUU99l2JxIkwgKBx6xLIH1kjtRLkdI2YX0kzB9cxW8Zp0SpwIWyymk5EU=
- In-reply-to: <eg2Qn-8P7gkBVQ43PNdGN_5vnm4oKorLtHBRokgzoF5vnVr0Cbb9sSUA7FivOJFZjx8XioCV9sPEqpI2VYIliEuiedHSRfehTSB45R_ugoQ=@protonmail.com>
- 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: <1479449829.1305485.791811385.14DDFE28@webmail.messagingengine.com> <1479461540.1340250.791913609.27FAD722@webmail.messagingengine.com> <1479471620.1371132.792049209.295BE093@webmail.messagingengine.com> <20161120114648.GA6953@fujitsu.shahaf.local2> <CAH+w=7YsEm=3WF_fs5Zyv9n+z7QOtwyOqss6Yv9Vpvtdqz_eiA@mail.gmail.com> <20161224171936.GA19748@fujitsu.shahaf.local2> <kUeSixj7NdCaG0ESIFa-sBceoIHTjFIUTIfI9qy334edbaTqPGRc1401rbMmNOCrB3EL2wcirwNBrICdLYHmNfpwui3tze3Amen6fE_rVc0=@protonmail.com> <20170105041311.GA26507@fujitsu.shahaf.local2> <eg2Qn-8P7gkBVQ43PNdGN_5vnm4oKorLtHBRokgzoF5vnVr0Cbb9sSUA7FivOJFZjx8XioCV9sPEqpI2VYIliEuiedHSRfehTSB45R_ugoQ=@protonmail.com>
Sebastian Gniazdowski wrote on Thu, Jan 05, 2017 at 08:32:25 -0500:
> Unless auto-exported parameters are marked as special (and it's rather
> not the case), the point is that current code will miss environment
> update on parameter update.
Like I said, I added an 'ename == NULL' check when I pushed. The code
in tip of master reads:
if (pre_assignment_length == post_assignment_length
&& v->pm->gsu.a->setfn == arrsetfn
/* ... and isn't something that arrsetfn() treats specially */
&& 0 == (v->pm->node.flags & (PM_SPECIAL|PM_UNIQUE))
&& NULL == v->pm->ename)
Is that still wrong in some way?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author