wanted: dx allocation for functional arguments

Bug #383078 reported by Nikodemus Siivola
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Wishlist
Douglas Katzman

Bug Description

Essentially all (or maybe _all_) Common Lisp functions taking functional arguments can be transformed as follows:

(mapcar (lambda (...) ...) ...)

=>

(flet ((#:lambda (...) ...))
  (declare (dynamic-extent #'#:lambda))
  (mapcar #'#:lambda ...))

which should be a nice overall win, since those lambdas are almost always closures. Need to take care not to inhibit open coding of the whole thing, though.

Revision history for this message
Douglas Katzman (dougk) wrote :
Changed in sbcl:
assignee: nobody → Douglas Katzman (dougk)
status: Confirmed → 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.