nnn/src
Arun Prakash Jana 284a3c4866
Multi-threaded FTS-based disk usage calculation
Implements pthreads based du using FTS. Currently 4 threads are used.
NFTW is dropped as there is no way to pass any custom values to fn().

FTS does not require any per entry function callback.
The performance numbers are best with FTS:

./nnn-fts -T d /  5.29s user 0.94s system 116% cpu 5.335 total
1/21 du:102.402G free:8.476G files:397644 101132550144B

./nnn-ftw -T d /  5.52s user 0.94s system 116% cpu 5.534 total
1/21 du:102.400G free:8.474G files:397653 101133148160B

./nnn-4.0 -T d /  0.20s user 2.27s system 24% cpu 10.241 total
1/21 du:102.400G free:8.475G files:397654 101133299712B
2021-05-26 22:28:38 +05:30
..
.clang-tidy Use existing buffer to (un)select file names 2021-05-11 03:07:55 +05:30
dbg.h Change debug macro DBGMODE to DEBUG 2021-05-14 00:20:59 +05:30
icons-in-terminal.h Add nerdfont defs file and normalize vars (#722) 2020-09-14 22:09:52 +05:30
icons-nerdfont.h Add chess/haskell icons to .iconlookup 2021-05-13 01:20:27 +02:00
icons.h Add chess/haskell icons to .iconlookup 2021-05-13 01:20:27 +02:00
nnn.c Multi-threaded FTS-based disk usage calculation 2021-05-26 22:28:38 +05:30
nnn.h Fix #998: remove ^Space keybind 2021-05-12 10:07:29 +05:30
qsort.h Add support for Alexey Tourbin's QSORT code (#708) 2020-08-21 08:15:45 +05:30