From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org, 917@emacsbugs.donarmstrong.com
Cc: emacs-pretest-bug@gnu.org
Subject: bug#917: Too heavy consing in MULE file saving?
Date: Sun, 07 Sep 2008 22:01:14 +0300 [thread overview]
Message-ID: <u4p4req6d.fsf@gnu.org> (raw)
In-Reply-To: <E1KcOEy-00060n-EG@fencepost.gnu.org>
> From: "Richard M. Stallman" <rms@gnu.org>
> Date: Sun, 07 Sep 2008 13:40:00 -0400
> Cc:
>
> My Rmail file is around 10 meg, and has 471 messages.
> But I don't see why that should matter for C-x C-s.
>
> Just to explore, I visited another 10meg file in Fundamental mode
> and got the same behavior. I went to the end and type 1 DEL C-x C-s.
> It gc's each time.
>
> Then I tried visiting it with find-file-literally.
> That way, I could type 1 DEL C-x C-s and it would save without gc.
>
> So I think something concerned with Mule is doing too much consing.
I'm not surprised: saving a file visited non-literally causes its
contents to be encoded, which generally means we wipe out the text and
replace it with its encoded representation. That this conses _a_lot_,
especially for large files, does not come as a surprise to me.
Perhaps I'm missing something, though.
next prev parent reply other threads:[~2008-09-07 19:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-07 17:40 bug#917: Too heavy consing in MULE file saving? Richard M. Stallman
2008-09-07 19:01 ` Eli Zaretskii [this message]
2008-09-08 9:22 ` Richard M. Stallman
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=u4p4req6d.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=917@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@gnu.org \
--cc=rms@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.