Summary: | quanta: switching to a tab with a long perl script takes 2 seconds | ||
---|---|---|---|
Product: | [Unmaintained] quanta | Reporter: | Ben Burton <bab> |
Component: | general | Assignee: | András Manţia <amantia> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | r |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Ben Burton
2004-06-27 03:03:57 UTC
The delay is caused by reparsing the document. Caching the parser result is not a real solution, so currently I'm clueless about how to do this properly. Anyway if the structure tree is not visible, the switching should be much faster. *** Bug 86675 has been marked as a duplicate of this bug. *** I'm the submitter of #86675, I've tried it without the structure tree and it didn't get any faster. BTW, why isn't caching the parser result a solution? No, as it would use just too much memory. I don't know if it will help but I noticed that the delay is getting much larger at a specific filesize, it seems like up to a certain size the parser can process the file at once while it somehow becomes *very* slow on bigger files - possibly this is a bug in the parser? Anyway, KDevelop doesn't suffer from this problem. Perl is currently not supported, but I've added a DTEP called "Empty" that can be used for files that are not supported. Set the DTEP for the perl document to this one and from now on switching to it should be much faster. Will be available in 3.4. |