[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev coding style, ifdefs
From: |
Leonid Pauzner |
Subject: |
Re: lynx-dev coding style, ifdefs |
Date: |
Sat, 16 Oct 1999 22:09:28 +0400 (MSD) |
16-Oct-99 12:40 Vlad Harchev wrote:
>> foo(2);
>> };
> Nice thing! I forgot about this. But from performance reasons, your variant
> is slightly worse (since compilers optimize in basic blocks, if NO_BAR is
> defined, extra basic block will be created, that will increase code size,
> execution time). Of course, gcc is smart to optimize accross basic blocks, but
> anyway it gives worse code even on gcc I believe.
Inadequate thing: you save few [nano]seconds of compilation time
but spend hours in reading/writing to/from lynx-dev
and assume everyone want follow that way.
Proper comments in the code takes few minutes from the author
of the contribution when the patch is ready.
A good style of programming bring comments
even *before* the actual writing of the code -
that is your saving of time, not only ours as you think.
> inet-access - I can't imagine such people. As for the last sentence - this is
> an unreachable target. I'm not so altruistic to spent a lot of time
> on cleanup and documentation.
- Re: lynx-dev "sticky" things, (continued)
- lynx-dev coding style, ifdefs, Klaus Weide, 1999/10/16
- Re: lynx-dev coding style, ifdefs, Vlad Harchev, 1999/10/16
- Re: lynx-dev coding style, ifdefs, Klaus Weide, 1999/10/16
- Re: lynx-dev coding style, ifdefs, Vlad Harchev, 1999/10/16
- lynx-dev SGML.c changes (was coding style, ifdefs), Klaus Weide, 1999/10/17
- Re: lynx-dev SGML.c changes (was coding style, ifdefs), Vlad Harchev, 1999/10/17
- Re: lynx-dev coding style, ifdefs,
Leonid Pauzner <=
- Re: lynx-dev coding style, ifdefs, Vlad Harchev, 1999/10/17
- Re: lynx-dev coding style, ifdefs, Mike Castle, 1999/10/16
- Re: lynx-dev megapatch to dev.10 - and a rant, Leonid Pauzner, 1999/10/15
Re: lynx-dev megapatch to dev.10 available, Leonid Pauzner, 1999/10/16
- lynx-dev outgoing_mail_charset (was: megapatch), Klaus Weide, 1999/10/17
- Re: lynx-dev outgoing_mail_charset (was: megapatch), Leonid Pauzner, 1999/10/17
- Re: lynx-dev outgoing_mail_charset (was: megapatch), Klaus Weide, 1999/10/17
- Re: lynx-dev outgoing_mail_charset (was: megapatch), Vlad Harchev, 1999/10/18
- Re: lynx-dev outgoing_mail_charset (was: megapatch), Klaus Weide, 1999/10/18
- Re: lynx-dev outgoing_mail_charset (was: megapatch), Vlad Harchev, 1999/10/18