Use built-in sub_with_borrow to improve the performance of subtraction
for UInt<>.
Microbenchmark: https://quick-bench.com/q/UEg6Z6VK4PP2yLBtTi9C0cL9xpY
Differential D138506
[libc][math] Improve the performance of subtraction for UInt<>. ClosedPublic Authored by lntue on Nov 22 2022, 8:38 AM.
Details Summary Use built-in sub_with_borrow to improve the performance of subtraction Microbenchmark: https://quick-bench.com/q/UEg6Z6VK4PP2yLBtTi9C0cL9xpY
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 22 2022, 8:38 AM This revision is now accepted and ready to land.Nov 29 2022, 11:19 PM Closed by commit rG926dd32aab1d: [libc][math] Improve the performance of subtraction for UInt<>. (authored by lntue). · Explain WhyNov 30 2022, 7:51 AM This revision was automatically updated to reflect the committed changes.
Diff 478957 libc/src/__support/UInt.h
|