Added "Selection speed" chapter

pvx- 2021-07-17 22:54:45 +02:00
parent b29cb9be9e
commit 10023ac1f7
1 changed files with 6 additions and 0 deletions

@ -40,6 +40,12 @@
- use lazy/background/threaded load
- du, sort and _type-to-nav_ program options require a `stat()` on all entries for correctness
#### Selection speed
Supporting multi-directory selection is technically challenging; `nnn` uses many optimalizations to make it unnoticeable in most cases, but selecting all (also over a filter) or inverting selection while already having lots of files selected may take some time.
When tested on [Motorola Photon Q](https://www.gsmarena.com/motorola_photon_q_4g_lte_xt897-4885.php) (ARM CPU with 13.54 bogomips) and a directory with 10000 files even the most complicated cases we came up with finished within 10 seconds. If the pre-existing selection was small or continuos, both select all (full as well as on filter) and invert were instantaneous.
## Comparison
#### GNU libc + ncursesw vanilla