D14353: Improve alignment of types

Frederik Gladhorn noreply at phabricator.kde.org
Fri Jul 27 15:20:21 BST 2018


gladhorn added a comment.


  In D14353#299282 <https://phabricator.kde.org/D14353#299282>, @zzag wrote:
  
  > I suggest to describe in the summary why data members are ordered from largest to smallest.
  
  
  OK, this should be the default for everyone. To have structures packed tight. Then the compiler can decide on alignment/padding (potentially depending on optimization space vs speed)... Is there any other order for members that makes sense?

REPOSITORY
  R110 KScreen Library

REVISION DETAIL
  https://phabricator.kde.org/D14353

To: gladhorn, #plasma, romangg
Cc: zzag, romangg, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180727/9fc92791/attachment.html>


More information about the Plasma-devel mailing list