[BusyBox] Today's ash improvements
David Edwards
david at alhsystems.com
Fri Aug 3 11:46:06 UTC 2001
On Fri, Aug 03, 2001 at 09:54:07AM -0700, Aaron Lehmann wrote:
> This patch contains three distinct size optimizations:
>
> 1) is_digit() uses only one comparison now. ((c)>='0' && (c)<='9') was
> replaced with ((unsigned)(c) - '0' <= 9). Neat trick, eh?
What about when c has an ascii value less than 0x30, like SPACE,!,",#,etc ?
It seems that those characters will be classified as digits.
--
David Edwards
ALH Systems, Inc.
More information about the busybox
mailing list