From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Dmitry Antipov <dmantipov@yandex.ru>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109157: Compact buffers when idle.
Date: Thu, 19 Jul 2012 07:54:13 -0400 [thread overview]
Message-ID: <jwvsjcormxz.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <5007EE20.8010005@yandex.ru> (Dmitry Antipov's message of "Thu, 19 Jul 2012 15:23:12 +0400")
>> As mentioned in my previous email, I think that the `compact' field of
>> struct buffer already provides most of the benefits and we don't need
>> the Elisp/idle part of this patch.
> I hope that someone will find elisp part useful too :-)
I can't think of any case where that would provide any noticeable
benefit (whereas I can think of cases where it just wastes resources).
The GC is run fairly regularly, also typically while idle, and does the
compaction.
So until you can provide some concrete and convincing numbers that show
some benefit, I'd ask you to remove that pat of your patch.
Stefan
next prev parent reply other threads:[~2012-07-19 11:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1SrmrL-0004FM-0l@vcs.savannah.gnu.org>
2012-07-19 10:00 ` [Emacs-diffs] /srv/bzr/emacs/trunk r109157: Compact buffers when idle Stefan Monnier
2012-07-19 11:23 ` Dmitry Antipov
2012-07-19 11:54 ` Stefan Monnier [this message]
2012-07-19 14:34 ` Dmitry Antipov
2012-07-19 22:09 ` 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=jwvsjcormxz.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=dmantipov@yandex.ru \
--cc=emacs-devel@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 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).