12 Nov
2004
12 Nov
'04
6:01 a.m.
On Wed, 2004-11-10 at 01:41, Peter Moulder wrote:
- Minor efficiency gain through using memcmp instead of strcmp
(though a reviewer may prefer to keep strcmp for simpler-looking code).
Yes. Unless you have a compelling reason (i.e. order-of-magnitude performance improvements as demonstrated by profiling), please don't.
n.b. I'm also decidedly uncomfortable with macros, especially those that reference local variables. Makes later refactoring painful.
-mental