Re: [cc65] Optimizing C code

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-09-05 11:13:55


On Thu, Sep 04, 2003 at 02:09:50PM -0700, Shawn Jefferson wrote:
> Your way (above) gave me 338 pixels per minute, and leaving it the old way
> gave 345.

This is about 6 pixels per second which is pretty bad. I don't know how much
overhead the call alone (and your test program) has, because this depends
somewhat from where the data comes from. You can try your benchmark again with
all code within the plot function removed. The difference is the almost exact
time needed for the guts of the plot function.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-09-05 11:14:10 CEST