Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] ztrsub() execution time / 2
- X-seq: zsh-workers 43703
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: [PATCH] ztrsub() execution time / 2
- Date: Wed, 17 Oct 2018 21:02:18 +0200
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=elSHvEYZOuR6hTQqE7jOPdp6dD3KFu51XpyMgbRVfUM=; b=Sa1tVovuCXvAUV66bTYKsltG0BtCWrqsTDLPsLl9jH5lt/yA8667R23elCisojculH VfDHph/yL/a/YN+cvhz90sWKyRvSEGWSXQvTR4w24maRJhhRmJ6TQHAzqSKgnfjrwjmv Unxa8ZTNSDLAxbGqgwYe1tW6fRU42pnDqDmBH7nm83Fwrs1irCiq2UWWdTjR2Y+bK2ef B1g41hEdcbz1JAX9IwXbFaJFbMpbJeCmR+A37QKK4Pd0Y2spIq/x0E/5dugwuYLGmMsB 0hOu8tvaUMSxDPcwquBZf9/nuqcmy/mRNuGO9AFAyycVsaYeejM9SYhmQia0ecdD232C vSSw==
- In-reply-to: <20181017142503.ueqgcyljm3aalitf@tarpaulin.shahaf.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVCMrcNChf2macaVBohMVRq=BcJy6QjHM4w22i9tJX1pXw@mail.gmail.com> <20181017142503.ueqgcyljm3aalitf@tarpaulin.shahaf.local2>
On Wed, 17 Oct 2018 at 16:25, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> As far as I can tell, this patch is the sort of transformation that an
> optimizing compiler should do by itself. In fact, I'm having a hard time
> seeing how the sequence of "BRANCH IF EQUAL" / "BRANCH IF NOT EQUAL" /
> "INCREMENT" assembly instructions would be altered by the patch.
>
> If your profiling was performed on zsh compiled with -O3, I would suggest that
> you file a bug against your compiler's optimizer.
Why not "do it right, then do it yourself"? Why ignore -O0 zsh users?
Should I subscribe to compilers mailing lists and investigate this
well defined 1-line change, i.e. possible to grasp by logic?
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author