emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Optimizing memory footprint of bidi code


From: Andreas Schwab
Subject: Re: Optimizing memory footprint of bidi code
Date: Mon, 07 Jun 2010 17:46:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Tom Tromey <address@hidden> writes:

> In C an enum is always an int.

This is not true.  Only the enum constants are of always of type int.
The underlying type of an enum can be any type that is wide enough to
include all defined values.

> In a struct the compiler will not automatically shrink this to a
> bitfield.

The width is the same as outside of structs.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]