all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Psionic K <psionik@positron.solutions>
To: Tomas Hlavaty <tom@logand.com>
Cc: Psionic K <psionik@positron.solutions>,
	help-gnu-emacs@gnu.org, incal@dataswamp.org,
	Eli Zaretskii <eliz@gnu.org>
Subject: Re: Identifying sources of allocations in a toy Mandelbrot package
Date: Sat, 20 Jan 2024 19:03:55 +0900	[thread overview]
Message-ID: <CADQMGASHij=pfXv9P97-GymjArDktTrO7vt14JMGPFVkHq0cnQ@mail.gmail.com> (raw)
In-Reply-To: <877ck4wev2.fsf@neko.mail-host-address-is-not-set>

> maybe floating point numbers in emacs are not immediate.

This is my hunch.  There isn't a good second guess at this point.

> try your code on sbcl

I think that's where we're going.

I was mainly hoping to start identifying forms that can do okay even
in spite of the Elisp runtime, especially for these kind of iteration
problems that could - but should not - generate lots of garbage.  The
first rows go by in the blink of an eye because of the cache locality.
Elisp is almost something.  The memory pathologies are likely
affecting every other perceived lack of responsiveness.

A relatively recent transducer library captured my curiosity.  I want
to give it a work out alongside dash for a comparison:
 https://gist.github.com/NicolasPetton/0a46d907febeef3da9e2

Writing dynamic modules to break out of Elisp is one of my next steps.
Calling out only via process pipes is rather limited.

I haven't worked with SLIME or CIDER etc yet.  Definitely need to try them out.

Thanks for helping me calibrate my expectations.



  reply	other threads:[~2024-01-20 10:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-19  9:19 Identifying sources of allocations in a toy Mandelbrot package 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 [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2024-01-27  9:25 Psionic K
2024-01-17 12:39 Psionic K
2024-01-17 12:58 ` Eli Zaretskii
2024-01-17 13:25 ` Emanuel Berg

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='CADQMGASHij=pfXv9P97-GymjArDktTrO7vt14JMGPFVkHq0cnQ@mail.gmail.com' \
    --to=psionik@positron.solutions \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=incal@dataswamp.org \
    --cc=tom@logand.com \
    /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.