wanted: dx (LET ((F (LAMBDA ...))) ...)

Bug #383079 reported by Nikodemus Siivola
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Wishlist
Unassigned

Bug Description

Currently

  (LET ((F (LAMBDA ...)))
    (DECLARE (DYNAMIC-EXTENT F))
    ...)

will not stack allocate the closure, which not only stands in the way of idiomatic and efficient code, but makes it harder to ensure that a source transform/macro-expansion will produce efficient code. If the above worked, non-captured functional arguments could be just bound as above by quantifier/iterator transforms -- if we had ones that cared about DX.

Charles (karlosz)
Changed in sbcl:
status: Confirmed → Fix Committed
Stas Boukarev (stassats)
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.