unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13439: 24.4.50; improvement of describe-variable/pp
@ 2013-01-14 20:51 shigeru.fukaya
  0 siblings, 0 replies; only message in thread
From: shigeru.fukaya @ 2013-01-14 20:51 UTC (permalink / raw)
  To: 13439

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





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

only message in thread, other threads:[~2013-01-14 20:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-14 20:51 bug#13439: 24.4.50; improvement of describe-variable/pp shigeru.fukaya

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