[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Scrolling huge buffers and cc-mode
From: |
Dmitry Antipov |
Subject: |
Scrolling huge buffers and cc-mode |
Date: |
Tue, 18 Dec 2012 13:56:13 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Attached is a C++ source file to reproduce the painfully slow scrolling
under cc-mode. Test is simple: just visit it and press <page-down>, or <next>,
or whatever else bind to scroll-up-command, until buffer end is reached.
The file is ~900K; when scrolling reaches 50%, everything is stopped, may
be up to a few minutes (!), there is no response to any keyboard input
including C-g, and CPU consumption is ~80-90%. After that, scrolling is
resumed, but it's still _very_ slow. This looks like a C++ issue only
since xdisp.c of nearly the same size may be scrolled much faster.
Dmitry
test.cc.xz
Description: application/xz
- Scrolling huge buffers and cc-mode,
Dmitry Antipov <=
- Re: Scrolling huge buffers and cc-mode, Eli Zaretskii, 2012/12/18
- Re: Scrolling huge buffers and cc-mode, Stefan Monnier, 2012/12/18
- Re: Scrolling huge buffers and cc-mode, Alan Mackenzie, 2012/12/20
- Re: Scrolling huge buffers and cc-mode, Dmitry Antipov, 2012/12/21
- Re: Scrolling huge buffers and cc-mode, Alan Mackenzie, 2012/12/21
- Re: Scrolling huge buffers and cc-mode, Chong Yidong, 2012/12/21