Ticket #283 (new defect)
mcedit consumes a lot of time to open a large file
Reported by: | Ivan A. Kosarev | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Future Releases |
Component: | mcedit | Version: | 4.6.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
There is a noticeable pause between pressing the F4 key and entering the editor if the subject file contains a large number of lines. Should you deal with such files from time to time, this becomes a really annoying thing to wait for entering the editor.
It is certainly not due to overall system performance as ordinary copy commands as well as other editors (like gedit) handle such files instantly.
Change History
comment:6 Changed 11 years ago by andrew_b
- Branch state set to no branch
mcedit loads entire whole into own buffer. This is by design. After loading, line breaks are counted. This counting is a main cause of pause after F4 press. Some speedup of file loading was performed in [9ea1ed08c654fe85e467d45b2c6e44a518174f45].