[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: argmatch: accept perfect matches in documented arglists
From: |
Bruno Haible |
Subject: |
Re: argmatch: accept perfect matches in documented arglists |
Date: |
Wed, 22 May 2019 10:59:26 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-145-generic; KDE/5.18.0; x86_64; ; ) |
Hi Akim,
> 1. use macros to generate structs and functions that depend on the type
> passed as a parameter
>
> 2. play repeated #define TYPE foo + #include "generate-the-code.h" to do the
> same thing but without all the slashes
>
> 3. try to have single implementation which plays with sizeof, offsetof, etc.
I see 3. as a micro-optimization that destroys maintainability. So, if you
want to apply it, do it only as the last step of the development (like
manual translation to assembly language would be).
Bruno
- Re: argmatch: accept perfect matches in documented arglists, (continued)
- Re: argmatch: accept perfect matches in documented arglists, Akim Demaille, 2019/05/19
- Re: argmatch: accept perfect matches in documented arglists, Bruno Haible, 2019/05/19
- Re: argmatch: accept perfect matches in documented arglists, Akim Demaille, 2019/05/19
- Re: argmatch: accept perfect matches in documented arglists, Akim Demaille, 2019/05/19
- Re: argmatch: accept perfect matches in documented arglists, Bruno Haible, 2019/05/19
- Re: argmatch: accept perfect matches in documented arglists, Paul Eggert, 2019/05/19
- Re: argmatch: accept perfect matches in documented arglists, Akim Demaille, 2019/05/19
- Re: argmatch: accept perfect matches in documented arglists, Akim Demaille, 2019/05/21
- Re: argmatch: accept perfect matches in documented arglists, Paul Eggert, 2019/05/21
- Re: argmatch: accept perfect matches in documented arglists, Akim Demaille, 2019/05/22
- Re: argmatch: accept perfect matches in documented arglists,
Bruno Haible <=
- Re: argmatch: accept perfect matches in documented arglists, Akim Demaille, 2019/05/25