Unaligned access trade-offs for SFrame FRE layout
Sterling Augustine
saugustine@google.com
Fri Sep 12 20:17:32 GMT 2025
Agreed with the others that optimizing for size is preferred, but that it
would be very nice to know just how much performance we are talking about.
I wonder if a partial solution would be enough to alleviate the concerns.
Some of the unaligned accesses can be fixed without a change to the
specification at all. An implementation could align just the first
sframe_row_entry for every function. That first entry is accessed every
time a function is unwound, so this idea reduces the number of unaligned
accesses by about one per frame.
Not sure what the size penalty would be, but probably quite a bit less than
22%.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20250912/fc2a074b/attachment.htm>
More information about the Binutils
mailing list