all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: 32405@debbugs.gnu.org
Subject: bug#32405: Turning misc objects into pseudovectors
Date: Wed, 08 Aug 2018 23:58:10 -0400	[thread overview]
Message-ID: <jwva7pw9p07.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: <988905f1-fb41-9559-300d-d015bda4b791@cs.ucla.edu> (Paul Eggert's message of "Wed, 8 Aug 2018 20:07:30 -0700")

> Bug#32405 contains a patch that will get rid of the miscellaneous-object
> category of the Emacs Lisp interpreter, and will change these objects to be
> pseudovectors instead.  The motivation is to simplify the interpreter and
> garbage collector and speed it up slightly, and to simplify potential
> future changes.

I like the idea, but:

AFAIK the main issue with pseudovectors is that their allocation is
slower and suffers more from fragmentation (because we don't use
a size-segregated allocation algorithm (like Linux's SLAB, for example)
for them).

Are you sure the new code is faster overall?

There is also a potential issue in terms of the resulting heap size of
markers (which may bump up from 6 words to 8 words, IIRC, unless your
patch does something to keep it down to 6), tho this is probably of no
real consequence.


        Stefan





  reply	other threads:[~2018-08-09  3:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-09  3:07 Turning misc objects into pseudovectors Paul Eggert
2018-08-09  3:58 ` Stefan Monnier [this message]
2018-08-09 16:31 ` Tom Tromey
2018-08-09 17:22   ` bug#32405: " Paul Eggert
2018-08-09 18:27   ` Eli Zaretskii
2018-08-09 18:27   ` Eli Zaretskii
2018-08-10 13:43     ` Tom Tromey
2018-08-10 13:43     ` Tom Tromey
2018-08-12  1:53       ` Paul Eggert
2018-08-12  1:53       ` Paul Eggert
2018-08-12 18:23         ` Eli Zaretskii
2018-08-12 18:48           ` Paul Eggert
2018-08-14 19:11         ` Paul Eggert
2018-08-09 16:31 ` Tom Tromey
  -- strict thread matches above, loose matches on Subject: below --
2018-08-09  2:58 bug#32405: [PATCH] Turn " Paul Eggert
2018-08-09  5:01 ` bug#32405: Turning " Paul Eggert
2018-08-09  7:16   ` Paul Eggert
2018-08-09 16:24   ` Stefan Monnier

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=jwva7pw9p07.fsf-monnier+gmane.emacs.devel@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=32405@debbugs.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.