Re: __attribute__((packed)) for enum
Stephan Bergmann <[email protected]> Tue, 17 May 2011 21:11:18 +0200
| Newsgroups | gmane.comp.openoffice.devel.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, May 17, 2011 at 8:44 PM, tora - Takamichi Akiyama < [email protected]> wrote: > Any thoughts? > Binary UNO requires that its enums are of specific size, but that should be taken care of by the dummy max-value element in each enum. Likewise for enums in the C/C++ URE ABI. Whether smaller enums have positive or negative runtime impact is hard to tell up front, I would say---and hard to measure, I would guess, as I assume the impact is negligible overall. Similarly, I would assume the space savings to be negligible, too. -Stephan -- ----------------------------------------------------------------- To unsubscribe send email to [email protected] For additional commands send email to [email protected] with Subject: help