From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: boost tarball
Date: Tue, 27 May 2008 14:06:11 -0400 [thread overview]
Message-ID: <jwvskw3k4r8.fsf-monnier+emacs@gnu.org> (raw)
Those people who tried to debug the boost-tarball problem recently
(or those people who tried to open large tarballs in Emacs) know that
Emacs is unusable on such large tarballs.
Well... was.
I've just installed a patch to tar-mode.el which makes it use the new
buffer-swap-text primitive. So now the tar data is kept in an auxiliary
buffer rather than being mixed with the summary buffer. This way we
don't need to mess with set-buffer-multibyte any more and the result is
that opening the 160MB boost.tar file now takes up just below 7s
(including starting Emacs) with a warm cache. As opposed to more than
3 minutes before (most of it spent in set-buffer-multibyte after the
tar ball has already been loaded and parsed).
This is a significant change, so it's likely I've introduced bugs along
the way.
Stefan
reply other threads:[~2008-05-27 18:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=jwvskw3k4r8.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--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 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.