"Martin C. Martin" <mmartin@...> writes:
> Hi all,
>
> In our memory profiling, I noticed nconc consing, and traced it down to
> its use of &rest. Would declaring the &rest parameter to be
> dynamic-extent make it stack allocated? Is there any reason not to do
> that? What about a compiler macro for the common case of two args?
Declaring it dynamic-extent should work, and would be completely
ok. We already do it for many standard functions with %rest lists
(eg. arithmetic operators).
--
Juho Snellman
|