[futurebasic] Re: [FB] Speed of basic Math routines

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 2001 : Group Archive : Group : All Groups

From: Robert Purves <robert.purves@...>
Date: Fri, 7 Dec 2001 14:39:26 +1300
>some recent speed tests on the following Math routines (in loops and repeated
>several times)...

< snip >

>Furthermore, the (RUNTIME "_Abs")-assembler routine of Chris & Andy & Robert
>P. in the "Subs Compiler.Incl" is outstanding. (A nearly 4 times speed gain
>is extraordinary.)
>
>Because of the latter:
>Could we please see such ingenious implementations for other basic Math
>routines? ;-)

Runtime "_Abs" is for integer absolute value. Your tests are in floating point arithmetic, and call runtime "_Abs_float". Both routines were fruits of my former obsession with speed, by way of Assembler.

I assume you have investigated "Low-overhead FNs" on the Release 5 CD?

Robert P.