reactorlabs / rir

GNU General Public License v2.0
62 stars 18 forks source link

ForceDom and ScopeResolution are really slow #1264

Open skrynski opened 6 months ago

skrynski commented 6 months ago

The abstract interpretation steps are to blame for 99.99% of the time spent on these analyses. Also, revisit DeadStoreRemoval.

As an easy example, please look into /rir/tests/matrix_regression.r . It takes about 2 minutes to run, which breaks down into:

File runs in less than a second on vanilla R.