[
https://issues.apache.org/jira/browse/DISPATCH-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874284#comment-16874284
]
ASF GitHub Bot commented on DISPATCH-1375:
------------------------------------------
astitcher commented on issue #528: DISPATCH-1375 qdr_general_work_t could be
shrinked to increase cache localty
URL: https://github.com/apache/qpid-dispatch/pull/528#issuecomment-506405116
Having said that it would be trivial (if irritating) to just add in a struct
name. In fact looking at the code I'd say this might be better so that you can
clearly see which type of the union you are using.
Having said that as a non-standard extension many C99 compilers support
anonymous structs anyway (I'm pretty sure that gcc and clang do using
-std=gnu99)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> qdr_general_work_t could be shrinked to increase cache localty
> --------------------------------------------------------------
>
> Key: DISPATCH-1375
> URL: https://issues.apache.org/jira/browse/DISPATCH-1375
> Project: Qpid Dispatch
> Issue Type: Improvement
> Affects Versions: 1.8.0
> Reporter: Francesco Nigro
> Priority: Minor
>
> qdr_general_work_t fields are not used altogether and could be packed into
> different groups to reduce size: on an 64 bit machine I'm getting 112 -> 80
> bytes size
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]