[Top][All Lists]

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

Re: [Nano-devel] [PATCH] Optimize the order of struct members

From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] Optimize the order of struct members
Date: Sat, 25 Aug 2018 10:25:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Op 24-08-18 om 01:08 schreef Brand Huntsman:
> Ordering fields by descending size should be part of the style guide to avoid
> gaps that push the struct to the next bucket size and waste memory.

No.  Fields should be ordered to make some sense.  Some things
belong together; this should trump any considerations of space.


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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