[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VIRT_ADDR_VARIES
From: |
Eli Zaretskii |
Subject: |
Re: VIRT_ADDR_VARIES |
Date: |
Thu, 10 Nov 2011 20:06:27 +0200 |
> Date: Thu, 10 Nov 2011 08:50:39 -0800
> From: Paul Eggert <address@hidden>
> CC: address@hidden
>
> On 11/10/11 08:43, Eli Zaretskii wrote:
> > But why would someone do such a thing?
>
> Performance.
>
> Comparing against my_edata takes just one instruction.
> Comparing against both the start and the end of 'pure'
> takes two comparisons and some glue instructions and
> typically includes a conditional branch.
I'm surprised. Saving a few instructions in something that is never
called inside any time-critical code would be more than just premature
optimization in my book.
- Re: VIRT_ADDR_VARIES, (continued)
- Re: VIRT_ADDR_VARIES, Paul Eggert, 2011/11/09
- Re: VIRT_ADDR_VARIES, Andreas Schwab, 2011/11/09
- Re: VIRT_ADDR_VARIES, Paul Eggert, 2011/11/10
- Re: VIRT_ADDR_VARIES, Andreas Schwab, 2011/11/10
- Re: VIRT_ADDR_VARIES, Paul Eggert, 2011/11/10
- Re: VIRT_ADDR_VARIES, Eli Zaretskii, 2011/11/10
- Re: VIRT_ADDR_VARIES, Andreas Schwab, 2011/11/10
- Re: VIRT_ADDR_VARIES, Paul Eggert, 2011/11/10
- Re: VIRT_ADDR_VARIES, Eli Zaretskii, 2011/11/10
- Re: VIRT_ADDR_VARIES, Paul Eggert, 2011/11/10
- Re: VIRT_ADDR_VARIES,
Eli Zaretskii <=
- Re: VIRT_ADDR_VARIES, Paul Eggert, 2011/11/13
- Re: VIRT_ADDR_VARIES, Stephen J. Turnbull, 2011/11/09
- Re: VIRT_ADDR_VARIES, Paul Eggert, 2011/11/10
- Re: VIRT_ADDR_VARIES, Andreas Schwab, 2011/11/10
- Re: VIRT_ADDR_VARIES, Paul Eggert, 2011/11/10