From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#917: Too heavy consing in MULE file saving? Date: Mon, 08 Sep 2008 05:22:27 -0400 Message-ID: References: Reply-To: rms@gnu.org, 917@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1220867273 5412 80.91.229.12 (8 Sep 2008 09:47:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2008 09:47:53 +0000 (UTC) Cc: 917@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org, bug-gnu-emacs@gnu.org, bug-submit-list@donarmstrong.com To: Eli Zaretskii , 917@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 08 11:48:47 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KcdMU-000692-Uh for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Sep 2008 11:48:47 +0200 Original-Received: from localhost ([127.0.0.1]:54235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcdLU-0003Lv-Pg for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Sep 2008 05:47:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcdLO-0003IG-1e for bug-gnu-emacs@gnu.org; Mon, 08 Sep 2008 05:47:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcdLL-0003EK-NB for bug-gnu-emacs@gnu.org; Mon, 08 Sep 2008 05:47:36 -0400 Original-Received: from [199.232.76.173] (port=52379 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcdLL-0003Dq-7M for bug-gnu-emacs@gnu.org; Mon, 08 Sep 2008 05:47:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37602) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KcdLK-0006GM-OA for bug-gnu-emacs@gnu.org; Mon, 08 Sep 2008 05:47:35 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m889lWQ1017900; Mon, 8 Sep 2008 02:47:32 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m889U3HD011453; Mon, 8 Sep 2008 02:30:03 -0700 X-Loop: don@donarmstrong.com Resent-From: "Richard M. Stallman" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 08 Sep 2008 09:30:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 917 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12208658579573 (code B ref -1); Mon, 08 Sep 2008 09:30:02 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 8 Sep 2008 09:24:17 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m889OE6b009563 for ; Mon, 8 Sep 2008 02:24:15 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kccyj-0007Yj-GW for bug-gnu-emacs@gnu.org; Mon, 08 Sep 2008 05:24:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kccyi-0007YG-In for bug-gnu-emacs@gnu.org; Mon, 08 Sep 2008 05:24:12 -0400 Original-Received: from [199.232.76.173] (port=45088 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kccyi-0007YB-BV for bug-gnu-emacs@gnu.org; Mon, 08 Sep 2008 05:24:12 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:34136) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kccyi-0002V5-BG for bug-gnu-emacs@gnu.org; Mon, 08 Sep 2008 05:24:12 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Kccx1-0004JF-Ge; Mon, 08 Sep 2008 05:22:27 -0400 In-reply-to: (message from Eli Zaretskii on Sun, 07 Sep 2008 22:01:14 +0300) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Mon, 08 Sep 2008 05:47:36 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20339 gmane.emacs.pretest.bugs:23013 Archived-At: 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. It seems to be a recent change, so I think it is worth investigating whether something just increased the amount of consing done by encoding. It would be worth optimizing this.