typed-racket icon indicating copy to clipboard operation
typed-racket copied to clipboard

add flag to disable static contract optimization

Open bennn opened this issue 4 years ago • 0 comments

Add a switch to turn off contract optimization.

(SCV-CR needs to disable the optimizations to do its analysis, and people like Shriram might want to show the full contracts for teaching)

This switch could piggyback on the PLT_TR_NO_OPTIMIZE / #:no-optimize flag, but then code that needs to disable those expression-level optimizations for safety is going to be slower than it needs to be at boundaries. So, it seems better to make a new switch.

bennn avatar Oct 29 '21 23:10 bennn