all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Identifying sources of allocations in a toy Mandelbrot package
Date: Wed, 17 Jan 2024 14:58:00 +0200	[thread overview]
Message-ID: <83jzo8azhj.fsf@gnu.org> (raw)
In-Reply-To: <CADQMGAQR3yvaJK5OdzcGkcy1VAjoMoTa3pSZjwYgGSbTzP0o_A@mail.gmail.com> (message from Psionic K on Wed, 17 Jan 2024 21:39:04 +0900)

> 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	other threads:[~2024-01-17 12:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-17 12:39 Identifying sources of allocations in a toy Mandelbrot package Psionic K
2024-01-17 12:58 ` Eli Zaretskii [this message]
2024-01-17 13:25 ` Emanuel Berg
  -- strict thread matches above, loose matches on Subject: below --
2024-01-19  9:19 Psionic K
2024-01-19 15:33 ` Tomas Hlavaty
2024-01-20  3:14   ` Psionic K
2024-01-20  3:37     ` Psionic K
2024-01-20  7:29     ` Eli Zaretskii
2024-01-20  9:09     ` Tomas Hlavaty
2024-01-20 10:03       ` Psionic K
2024-01-20 10:31         ` Eli Zaretskii
2024-01-26 23:36         ` Tomas Hlavaty
2024-01-27  1:07           ` Psionic K
2024-01-19 15:44 ` Eli Zaretskii
2024-01-27  9:25 Psionic K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83jzo8azhj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.