[BusyBox] Re: [BusyBox-cvs] busybox/editors sed.c,1.167,1.168

Bastian Blank waldi at debian.org
Sun May 16 11:40:48 UTC 2004


On Sun, May 16, 2004 at 10:38:27AM +1000, Glenn McGrath wrote:
> I think the type used should try to minimise the number of casts done,
> other than that it should use the minimum integer suitable for the task.

Read access of char variables is done as a 32 bit read and a "and" with
a mask on allmost any arch. Archs with supports 8bit reads like i386
gives you longer opcodes and horrible long execution times compared to
32 bit access.

> Where does this "bool" come from, isnt that only a c++ thing ?

It is C99. (stdbool.h)

Bastian

-- 
The sooner our happiness together begins, the longer it will last.
		-- Miramanee, "The Paradise Syndrome", stardate 4842.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.busybox.net/pipermail/busybox/attachments/20040516/81006495/attachment-0002.pgp 


More information about the busybox mailing list