Hi,
On Wed, Nov 04, 2015 at 07:46:00AM -0500, Ashod Nakashian wrote:
FWIW, I'd make most classes (esp. heavily used but not heavily
instantiated) to be human-intuitive first, while, for those that can
benefit, order members by size (largest first) and bitfields for flags.
In any case, optimizations like these should be documented, otherwise it's
not obvious what's intentional and what's accidental.
Yes, this! On the human-intuitive part: If the history of this codebase is
teaching us anything, its that microoptimizations dont age too well and tend to
create cumulating stumbling blocks for high-level algorithmic improvements.
Best,
Bjoern
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.