wanted: dx allocation for functional arguments
Bug #383078 reported by
Nikodemus Siivola
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.
To post a comment you must log in.
https:/ /sourceforge. net/p/sbcl/ sbcl/ci/ f823c9e406fe760 364dddf635f1068 3d4d0304eb