unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Changes to th new GC percentage feature
Date: Fri, 29 Jul 2005 14:51:05 -0400	[thread overview]
Message-ID: <jwvek9hzbwm.fsf-monnier+emacs@gnu.org> (raw)

Regardnig the change below:

    2005-07-23  Richard M. Stallman  <rms@gnu.org>

	* insdel.c (syms_of_insdel): staticpro combine_after_change_buffer.

	* bytecode.c (MAYBE_GC): Test gc_cons_threshold and
	gc_relative_threshold, one by one.

	* keyboard.c (read_char): Test gc_cons_threshold.
	(syms_of_keyboard): staticpro Qecho_area_clear_hook.

	* eval.c (Feval, Ffuncall): Test gc_cons_threshold and
	gc_relative_threshold, one by one.

	* alloc.c (gc_cons_threshold): Not static.
	(gc_cons_combined_threshold): Var deleted.
	(gc_relative_threshold): New variable.
	(Fgarbage_collect, init_alloc_once): Compute gc_relative_threshold
	instead of gc_cons_combined_threshold.

	* lisp.h (gc_cons_threshold, gc_relative_threshold): Declare.
	(gc_cons_combined_threshold): Declaration deleted.

what exactly is it trying to do?  The only changes I can notice are:
- the bytecode interpreter and the eval and funcall functions now check two
  values rather than one, thus being slower.
- read_char tests gc_cons_threshold.

I'm obviously missing something.  Any hint?


        Stefan

             reply	other threads:[~2005-07-29 18:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-29 18:51 Stefan Monnier [this message]
2005-07-30  3:34 ` Changes to th new GC percentage feature Richard M. Stallman
2005-07-31 15:28   ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvek9hzbwm.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).