GNU bug report logs - #13439
24.4.50; improvement of describe-variable/pp

Previous Next

Package: emacs;

Reported by: shigeru.fukaya <at> gmail.com

Date: Mon, 14 Jan 2013 21:01:01 UTC

Severity: minor

Tags: fixed, patch

Merged with 21717, 25122

Found in versions 24.4.50, 24.5

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: shigeru.fukaya <at> gmail.com
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4.50; improvement of describe-variable/pp
Date: Tue, 15 Jan 2013 05:51:52 +0900
Hi,

`describe-variable' is very slow for large objects.
It is mainly because `pp' used in it is slow on that case
(comments say `take an age').

When `pp' is to a buffer, in other words, output stream is a buffer,
current code is as follows:

1) Output the object to a temporary buffer.
2) Convert the buffer contents to a string.
3) Insert the string to an output buffer.

If the insertion is directry from the temporary buffer without
conversion, things go better dramatically.

Regards,
Shigeru




This bug report was last modified 8 years and 27 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.