Article View: comp.sys.mac
Article #30297Re: Re: LightspeedC 3.0 Review (long)
From: Edward C Horvath
Date: Mon, 18 Jul 1988 21:11
Date: Mon, 18 Jul 1988 21:11
16 lines
1137 bytes
1137 bytes
> ...but between the inline generation
> of the normal arithmetic opcodes and the high-performance library ("Math881")
> that I wrote ( :-] ) you'll find that your code is plenty fast.
That's it, Rich, I'm calling you out: has it ever occurred to you that pushing
arguments onto the stack, doing a jsr, transferring arguments to the FP regs,
doing an F-trap, pulling the result back from the FP regs, doing an rts, and
popping the arguments off the stack is a bit more costly than JUST DOING THE
F-TRAP?
Plenty fast? Perhaps. Fast enough? As fast as it COULD be? Not even close.
Try running some benchmarks. Shall we race my inline code against your
libraries for, say, a month's salary?
=Ned Horvath=
"Dare to risk confusion by the facts."
Technical Details
Message-ID:
<455@poseidon.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!ihnp4!poseidon!echReferences:
<4971@husc6.harvard.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!ihnp4!poseidon!ech From: ech@poseidon.UUCP (Edward C Horvath) Newsgroups: comp.sys.mac,comp.sys.mac.programmer Subject: Re: Re: LightspeedC 3.0 Review (long) Message-ID: <455@poseidon.UUCP> Date: 18 Jul 88 21:11:59 GMT References: <4971@husc6.harvard.edu> Organization: AT&T Information Systems, Lincroft, NJ Lines: 16