This is a ~5% speedup, we no longer have to allocate the priority queues and
other collections for each reduction step where we use them.
It's also IMO easier to understand the structure of a class with methods vs a
function with nested lambdas.
Paths
| Differential D128301
[pseudo] Turn glrReduce into a class, reuse storage across calls. ClosedPublic Authored by sammccall on Jun 21 2022, 1:19 PM.
Details Summary This is a ~5% speedup, we no longer have to allocate the priority queues and It's also IMO easier to understand the structure of a class with methods vs a
Diff Detail
Event TimelineThis revision was not accepted when it landed; it landed in state Needs Review.Jun 23 2022, 10:28 AM This revision was landed with ongoing or failed builds. Closed by commit rG3e610f2cdc1e: [pseudo] Turn glrReduce into a class, reuse storage across calls. (authored by sammccall). · Explain Why This revision was automatically updated to reflect the committed changes.
Diff 439458 clang-tools-extra/pseudo/lib/GLR.cpp
|