Mail Archives: djgpp-workers/1999/05/31/10:52:19
Eli Zaretskii wrote:
> On Mon, 24 May 1999 salvador AT inti DOT gov DOT ar wrote:
>
> > This was discussed months ago, perhaps even years. The memmove function is
> > unnecesary slow.
> > The code provided here is twice faster in average at least in my system.
>
> I checked it in, thanks.
>
> Btw, a naive testing of the speed against the v2.02 version using
> sizes from 1 to 330 shows only 15% gain (the test program I used is
> attached, and will be part of djtst203.zip). Did I do something
> stupid?
I doubt, just used very small sizes where the setup time (needed to load the
registers and check the direction of the copy) is important.
Just try with a big block and you'll see the difference (I tried with 1 to
128Kb).
SET
--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
set AT ieee DOT org set-soft AT bigfoot DOT com
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013
- Raw text -