Re: I need the fastest routine
- From: "Hubert Seidel" <nospam@xxxxxxxxxxxxxxxx>
- Date: Mon, 14 Jul 2008 22:52:13 +0200
Hello Clément,
"Clément Doss" <cdoss@xxxxxxxxxx> schrieb im Newsbeitrag
news:487b94ee@xxxxxxxxxxxxxxxxxxxxxxxxx
The original code I <VBG>optimized</VBG>:aMaxArray : Array
procedure MinMaxArrayOrig( aArray : Array of Double; out aMinArray,
of double );
var
i : integer;
begin
aMinArray[1]:=aArray[0];
aMaxArray[1]:=aArray[0];
i:=1;
while (i<=high(aArray)) do begin
aMaxArray[ ord( aArray[i] > aMaxArray[1] ) ] := aArray[i];
aMinArray[ ord( aArray[i] < aMinArray[1] ) ] := aArray[i];
inc(i)
end;
end;
I see Double instead of Integer!
What is the history?
mfg.
Herby
--
http://www.hubert-seidel.de
.
- Follow-Ups:
- Re: I need the fastest routine
- From: Clément Doss
- Re: I need the fastest routine
- References:
- I need the fastest routine
- From: Clément Doss
- Re: I need the fastest routine
- From: Nenad Trkulja
- Re: I need the fastest routine
- From: Rudy Velthuis [TeamB]
- Re: I need the fastest routine
- From: Dan Downs
- Re: I need the fastest routine
- From: Rudy Velthuis [TeamB]
- Re: I need the fastest routine
- From: Stig Johansen
- Re: I need the fastest routine
- From: Rudy Velthuis [TeamB]
- Re: I need the fastest routine
- From: Rudy Velthuis [TeamB]
- Re: I need the fastest routine
- From: Hubert Seidel
- Re: I need the fastest routine
- From: Rudy Velthuis [TeamB]
- Re: I need the fastest routine
- From: Q Correll
- Re: I need the fastest routine
- From: Hubert Seidel
- Re: I need the fastest routine
- From: Clément Doss
- Re: I need the fastest routine
- From: Q Correll
- Re: I need the fastest routine
- From: Clément Doss
- Re: I need the fastest routine
- From: Q Correll
- Re: I need the fastest routine
- From: Stig Johansen
- Re: I need the fastest routine
- From: Clément Doss
- 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):
Relevant Pages
|