nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Pack funcstruct


From: Benno Schulenberg
Subject: Re: [PATCH] Pack funcstruct
Date: Mon, 28 Sep 2020 12:04:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Op 28-09-2020 om 02:44 schreef Hussam al-Homsi:
> By reordering a member to save 8 bytes.
> You can verify by checking `sizeof (funcstruct)` before and after the change.

Interesting.  I would have declined, as I would have preferred to keep
the order that add_to_funcs() uses.  But... I have accepted because it
made me notice that the 'toggle' element is unused.  I have removed it
in a subsequent commit, saving another 8 bytes.

Thanks for the patch.

Benno

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]