refactor: Move verified_final from Memo into QueryRevisions#769
refactor: Move verified_final from Memo into QueryRevisions#769Veykril merged 2 commits intosalsa-rs:masterfrom
verified_final from Memo into QueryRevisions#769Conversation
✅ Deploy Preview for salsa-rs canceled.
|
CodSpeed Performance ReportMerging #769 will improve performances by 3.35%Comparing Summary
Benchmarks breakdown
|
carljm
left a comment
There was a problem hiding this comment.
Nice perf improvement! I considered trying this but thought it better to keep QueryRevisions immutable; but now that I look at this PR, I don't really see any strong reason for that.
Why does it save memory? Is it just a matter of the padding/alignment?
e6e8529 to
de8cb1d
Compare
Yes |
de8cb1d to
5452c6b
Compare
|
Rebased and now the numbers are randomly red in Thus I'd personally say we should discard the regression here, I don't see it as meaningful. (and we do have to keep an eye out for memory right now, as r-a has had some bad regressions after all) |
129391b to
22c0903
Compare
This saves an entire usize per function `Memo`
22c0903 to
021d93e
Compare
This saves an entire usize per function
Memo