Re: I need the fastest routine
- From: Clément Doss <cdoss@xxxxxxxxxx>
- Date: Fri, 04 Jul 2008 21:49:19 -0300
Q Correll wrote:
Clément,Hi Q,
Uhhh,... what's wrong with using the Min/Max value functions:
aMax := MaxIntValue(const Data: array of Integer): Integer;
aMin := MinIntValue(const Data: array of Integer): Integer;
They are not fast enough :(
And I have to scan the same array twice one to get the max and another to get the min.
In fact, scanning the array and returning both value seemed always faster than dealing with each one separated. At least in my home made benchmark. :)
.
- Follow-Ups:
- Re: I need the fastest routine
- From: Q Correll
- Re: I need the fastest routine
- References:
- I need the fastest routine
- From: Clément Doss
- Re: I need the fastest routine
- From: Q Correll
- I need the fastest routine
- Prev by Date: Re: I need the fastest routine
- Next by Date: Re: I need the fastest routine
- Previous by thread: Re: I need the fastest routine
- Next by thread: Re: I need the fastest routine
- Index(es):