GNU nano - Bugs: bug #48389, typing a key during loading slows...
You are not allowed to post comments on this tracker with your current authentication level.
bug #48389: typing a key during loading slows things down terribly
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sun 03 Jul 2016 03:45:40 PM UTC | ||
Severity: | 2 - Minor | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Thu 14 Jul 2016 12:51:17 PM UTC, comment #2: |
Benno Schulenberg <bens> |
Mon 04 Jul 2016 10:11:29 AM UTC, comment #1: Well, things only get slow when using a syntax that doesn't really apply to the file. When doing 'for x in $(seq 9); do cat src/*.c >>200thousand.c; done', and then running 'src/nano +199999 200thousand.c' and typing a key during startup (say ^N), things respond normally, there is no slowness at all. Also not when typing Enter (see bug #48386). This is because this is a real C file, with a normal distribution of multiline comments, so resets of the multiline data don't go very far, and reevalution also has to look at just a few handfuls of lines.
|
Benno Schulenberg <bens> |
Sun 03 Jul 2016 03:45:40 PM UTC, original submission:
To reproduce, run 'for x in $(seq 66); do cat NEWS >>hundredthousand.c; done'. Then run 'src/nano +99999 hundredthousand.c', and see how between the message "Read 100518 lines" and actually displaying the file there is just a brief moment. Exit from nano and run the same command again, but now hit a key (say "H") shortly after hitting Enter. See how after "Read 100518 lines" there is a pause of five, six seconds before the file is actually displayed.
|
Benno Schulenberg <bens> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-07-30 | bens | Open/Closed | Open | Closed | |
2016-07-14 | bens | Status | In Progress | Fixed | |
2016-07-13 | bens | Status | None | In Progress | |
2016-07-04 | bens | Severity | 3 - Normal | 2 - Minor | |
Assigned to | None | bens |
Powered by Savane 3.13-758e.
Corresponding source code
The abortion mechanism was removed from git, afb6a5b.