RE: [cc65] Optimizing C code

Date view Thread view Subject view

From: Steve Nicklin (steve.nicklin_at_hp.com)
Date: 2003-09-09 10:40:15


Can we see a latest version of it please? I've seen a few emails mentioning
this and that but it would be clearer to see the latest code as actual code
in front of me!

Steve


I realized that the test was actually running for 2 seconds, not 2 minutes.
That was 345 plots per second.  Does that sound better?

I commented out all the code from my plot function and got 3096 per second,
which is just a small timing loop and calling my plot function.  I also made
another optimization of the plot function by precalculating the bytes per
line for the bitmap which bumped up the number to 641 per second.  That also
helps several other functions as well.

Thanks,
Shawn Jefferson


----------------------------------------------------------------------
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-09 10:41:20 CEST