From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-03-14 19:05:06
On Fri, Mar 14, 2003 at 09:27:25AM -0800, Shawn Jefferson wrote: > I think banking is going to be the best way to do it on the Atari... if that would work! Here's another suggestion, nothing spectacular, but it can improve the situation a bit: Playing with the sources I found out that adding a __fastcall__ to the declaration of show_statustext() in www.c will save almost 50 bytes. Of course, the savings depend on how many times the function is called, but with just one call, it comes out even. So I would suggest adding a __fastcall__ to at least all of the CTK functions. This can be wrapped in a macro, so it's compatible with other compilers: #if defined(__CC65__) # define ctk_decl __fastcall__ #else # define ctk_decl #endif I would say that between 500 and 1000 bytes could be saved by making "fastcall" the standard calling convention - not really much, but also nothing to sniff at. 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.
This archive was generated by hypermail 2.1.3 : 2003-03-14 19:05:23 CET