Re: [PATCH] consolidate all within() implementations

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Zijlstra <a.p.zijlstra@...>
Cc: Andrew Morton <akpm@...>, Harvey Harrison <harvey.harrison@...>, <linux-kernel@...>
Date: Wednesday, May 21, 2008 - 6:33 am

Peter Zijlstra <a.p.zijlstra@chello.nl> wrote on 21.05.2008 12:04:26:
*start,

Definitely another way to put it. In my opinion the intention of the
implementation is more easily understood though when spelling it out
as (a>=b) && (a<c).


For empty ranges (start > end), this produces different (less expected)
results than the previous version.


Regards,
  Peter
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] consolidate all within() implementations, Peter Oberparleiter, (Mon May 19, 4:45 am)
Re: [PATCH] consolidate all within() implementations, Harvey Harrison, (Mon May 19, 4:50 pm)
Re: [PATCH] consolidate all within() implementations, Peter Oberparleiter, (Tue May 20, 4:08 am)
Re: [PATCH] consolidate all within() implementations, Andrew Morton, (Tue May 20, 5:45 am)
Re: [PATCH] consolidate all within() implementations, Peter Oberparleiter, (Tue May 20, 11:42 am)
Re: [PATCH] consolidate all within() implementations, Peter Zijlstra, (Wed May 21, 6:04 am)
Re: [PATCH] consolidate all within() implementations, Peter 1 Oberparleiter, (Wed May 21, 6:33 am)
Re: [PATCH] consolidate all within() implementations, Peter Zijlstra, (Wed May 21, 6:48 am)
Re: [PATCH] consolidate all within() implementations, Peter 1 Oberparleiter, (Wed May 21, 9:50 am)