GNU bug report logs -
#32728
Emacs slow when reading process output
Previous Next
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> >> (Note: Don't visit the " *zeroes*" buffer after this, because that will
>> >> hang Emacs totally. I guess the long-line display problem hasn't been
>> >> fixed after all?)
>> >
>> > It's unrelated. Did you try to insert that into a unibyte buffer
>> > instead?
>>
>> Nope. Does Emacs need to do a lot of recomputing when going to
>> multibyte buffers?
>
> Of course: we try to display the multibyte text as characters, search
> for fonts, invoke bidi reordering, etc.
I tried:
(benchmark-run
1
(call-process "dd" nil (with-current-buffer
(get-buffer-create " *zeroes*")
(set-buffer-multibyte nil)
(current-buffer))
nil "if=/dev/zero" "bs=4096" "count=250000"))
and then jumped to the buffer, and Emacs hung anyway. (That is, I
killed Emacs after a minute, so I don't know whether it would have
recovered after a while...)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 300 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.