Scalar Replacement of Aggregates: How "Copy to Locals" Unlocks the Compiler
Scalar Replacement of Aggregates: How "Copy to Locals" Unlocks the Compiler Some performance fixes look almost suspiciously small in the diff. You change a couple of lines, the code still says the same thing to a human reader, and a hot loop suddenly has far less memory traffic. TigerBeetle's PR #3201 is one of those fixes. It changed the AEGIS-128L state update in src/stdx/aegis.zig from "operate through a pointer to state.blocks " to "copy the eight lanes into a local array, update the local array, then w
评论
?
参与讨论