all messages for Emacs-related lists mirrored at yhetil.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 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.