emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Short functions


From: Stefan Monnier
Subject: Re: Short functions
Date: Mon, 06 Jan 2025 12:25:27 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

>> more efficient, we'd want to avoid both heap allocation and recursion,
>> but sadly from ELisp the only way to allocate non-heap memory is via
>> recursion.
> Hopefully, generational GC will make heap allocation much less burdensome
> and the need for stack allocation (and escape analysis) less pressing.

+1 (and concurrent GC would also do the trick since we can generally
assume that there are free cycles available on another core)

Still, I keep hoping for a clever way to allow explicit avoidance of
heap allocation for those cases where the coder can be bothered to
make extra efforts for that.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]