[Merged by Bors] - perf(Translate): use cache in guessReorder#41516
[Merged by Bors] - perf(Translate): use cache in guessReorder#41516JovanGerb wants to merge 1 commit into
guessReorder#41516Conversation
PR summary 97dd87c9f5Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
!radar |
|
Benchmark results for 97dd87c against 463839d are in. There are significant results. @JovanGerb
Large changes (1✅)
Small changes (1✅, 3🟥)
|
|
Thanks! |
This PR fixes a performance issue in `to_additive`/`to_dual`. The `guessReorder` function did not use a cache, meaning that it would visit the same expressions multiple times unnecessarily.
|
Pull request successfully merged into master. Build succeeded: |
guessReorderguessReorder
plp127
left a comment
There was a problem hiding this comment.
Whoops, looks like I forgot to hit "submit comments" on github! Well I guess it's a little late now since the PR's merged already, I'll still post this here.
This PR fixes a performance issue in
to_additive/to_dual. TheguessReorderfunction did not use a cache, meaning that it would visit the same expressions multiple times unnecessarily.