unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* boost tarball
@ 2008-05-27 18:06 Stefan Monnier
  0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2008-05-27 18:06 UTC (permalink / raw)
  To: emacs-devel


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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-27 18:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-27 18:06 boost tarball Stefan Monnier

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).