Re: Style convention question
- From: Havoc Pennington <hp redhat com>
- To: Mark Mielke <mark mark mielke cc>
- Cc: Darin Adler <darin eazel com>, gtk-devel-list gnome org, Owen Taylor <otaylor redhat com>
- Subject: Re: Style convention question
- Date: 09 Mar 2001 14:20:15 -0500
Mark Mielke <mark mark mielke cc> writes:
> There is no need to do the typedef in C++.
>
> It requires additional symbols to be allocated, requires more memory, and
> will slow compiles down.
>
> Perhaps by just a touch -- however, the same compile will be slowed down
> from now until this code becomes obsolete.
>
> 2% faster or less, at the cost of one #ifdef.
>
> Isn't it worth it?
>
My view would be no, because DECLARE_STRUCT() obfuscates code, and
that issue is more important than compile times.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]