help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Identifying sources of allocations in a toy Mandelbrot package


From: Eli Zaretskii
Subject: Re: Identifying sources of allocations in a toy Mandelbrot package
Date: Wed, 17 Jan 2024 14:58:00 +0200

> From: Psionic K <psionik@positron.solutions>
> Date: Wed, 17 Jan 2024 21:39:04 +0900
> 
> I want to also remark that `gc-cons-percentage' does not seem to be a
> percentage but a factor.

Yes.  As its doc string says:

  Portion of the heap used for allocation.

"Portion", not "percent".  (The name of the variable is perhaps
unfortunate, but that ship sailed so long ago that we don't even know
where it is by now, probably beyond the termination shock.

>                            (cl-psetq
>                             zr (+ (* zr zr) (- (* zi zi)) cx)
>                             zi (+ (* (* zr zi) 2) cy))))))

cl-psetq conses.



reply via email to

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