Ticket #283 (new defect)

Opened 10 years ago

Last modified 5 years ago

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:1 Changed 49 years ago by angel_il

  • Blocking 1743 removed

comment:1 Changed 10 years ago by angel_il

  • Priority changed from major to minor

comment:2 Changed 10 years ago by winnie

  • Milestone changed from 4.6.2.1 to 4.6.3

comment:3 Changed 10 years ago by slavazanko

  • Milestone changed from 4.6.3 to 4.7

comment:4 Changed 10 years ago by angel_il

  • Milestone changed from 4.7 to future releases

comment:5 Changed 9 years ago by ossi

  • Blocking 1743 added

comment:6 Changed 5 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].

Note: See TracTickets for help on using tickets.