stanc3 icon indicating copy to clipboard operation
stanc3 copied to clipboard

Implement optimization pass to make variable scopes as tight as possible

Open VMatthijs opened this issue 5 years ago • 0 comments

The idea is to automatically determine when variables can go out of scope because they are no longer needed. (Relying on a live variables analysis.) There is another question here: does this optimization buy us anything or does clang or gcc already do this for us automatically?

VMatthijs avatar Sep 03 '19 12:09 VMatthijs