You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(moving this a new thread so we can tag it roadmap-v1, c.f. #34)
Just discussed this with David, false positives for closure creation seem to come up commonly, e.g. for closures like |x| x + 1 which are quite common.
An extremely useful optimization we should do here is:
if the closure contains no effects inside it -- so absolutely no effects are possible when called -- skip adding the ClosureCreation effect.
The text was updated successfully, but these errors were encountered:
cdstanford
changed the title
Closure + Function pointer examples
An important losure + Function pointer optimization
Aug 30, 2023
cdstanford
changed the title
An important losure + Function pointer optimization
A useful closure + Function pointer optimization
Aug 30, 2023
(moving this a new thread so we can tag it
roadmap-v1
, c.f. #34)Just discussed this with David, false positives for closure creation seem to come up commonly, e.g. for closures like
|x| x + 1
which are quite common.An extremely useful optimization we should do here is:
ClosureCreation
effect.The text was updated successfully, but these errors were encountered: