On Thu, Sep 22, 2005 at 05:59:17PM -0400, Eric M. Ludlam wrote:
>
> As I'm sure you can imagine, the larger a file, the longer it takes
> to parse. Python is interesting because it doesn't have convenient
> scoping characters that Emacs likes as C does, such as { and }. That
> makes it take a little longer to go through the lexical step.
Right, I understand it's a different kind of parsing.
> Edits should be fast though, as only a small section of the file
> would be parsed. If you have over 1000 lines of one thing, that could
> explain a bit.
Edits are fine on these large files.
> The interrupt time is taken up by the idle timer, Idle parsing
> should be an interruptible process, such that when you press a key,
> parsing stops on the incremental parser. I don't think a full parse
> doesn't have check points in it. (I don't remember.)
>
> You can change `semantic-idle-scheduler-idle-time' to something
> larger, which will remove the annoying typing interrupts. If you
> don't use or like the summary or completions mode, you could turn the
> idle scheduler off completely via the startup configuration. The idle
> scheduler is considered part of the 'minimum' feature set for smooth
> operations, but could be turned off if needed. That time would then
> be spent when using senator, ECB, or other functions.
I don't think I'm running into the idle scheduler, unless that's the one
that happens whenever you save a file. My issue is that when you save a
large file, you're locked out of using emacs entirely until the parsing
is finished, which takes a while. Frequently I will save a file and
switch to another buffer to make corresponding edits in a different
file, but this disrupts my work.
Thanks,
-kpd
|