Re: [cc65] strcmp to empty string

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2010-01-08 19:02:54
On Fri, Jan 08, 2010 at 10:31:47AM +0100, Per Olofsson wrote:
> strcmp is larger (20 bytes vs 15) and quite a bit slower (roughly 2x).

The difference is bigger for other scenarios. For example, if the string is a
local "const char*", the difference is 10 bytes instead of just 5.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Jan 8 19:03:00 2010

This archive was generated by hypermail 2.1.8 : 2010-01-08 19:03:02 CET