Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-12-17 | Remove -O2 from debug build | Arun Prakash Jana | |
2017-12-17 | An even faster nnn - no more copying file names! | Arun Prakash Jana | |
nnn has been using `struct entry` to hold both file name as well as file info. The design forces file names to be copied in the following cases: - swaps during file sort (nnn uses quicksort) applied after all the matching files are read (in no particular order; good old readdir()) into memory. - swaps during manual filtering. nnn moves non-matching entries below so they are not encountered twice resulting in fast filtering. There were scopes for _massive_ improvements in this area. So I did what had to be done - decouple the file names from `struct entry` and use a separate struct to hold the names with the indices set when the files are added by opendir(). There was a hidden problem to this approach - nnn uses realloc() to allocate memory for file information and realloc() may move the original pointer in mem when it can't fit the new memory to the earlier pointer. To handle that the new algorithm tracks the change in memory location and re-adjusts the existing dir entry names when that happens; this too, without any copying! Though the results seem pretty clean from a theoretical point of view and early tests, we may uncover some bugs. However, the speed is just mind-blowing! And the binary size remains the same too!!! | |||
2017-12-16 | Add Slackware as packager | Arun Prakash Jana | |
2017-12-14 | Fix indentation | Arun Prakash Jana | |
2017-12-13 | Use static vars in frequently used APIs | Arun Prakash Jana | |
2017-12-13 | Retire redundant tmp vars | Arun Prakash Jana | |
2017-12-13 | Process keypress by probable frequency | Arun Prakash Jana | |
2017-12-09 | Update README | Arun Prakash Jana | |
2017-12-04 | Minor optimization, refactor | Arun Prakash Jana | |
2017-12-03 | Fix -Os compilation warnings | Arun Prakash Jana | |
2017-12-02 | switch to formulae.brew.sh for Homebrew link | Arun Prakash Jana | |
2017-11-30 | Use the same o/p filename in debug mode | Arun Prakash Jana | |
2017-11-30 | Fix #50: revert to -O2 optimization | Arun Prakash Jana | |
The while loop in xstrlcpy() breaks when -O3 is used. | |||
2017-11-30 | Minor changes | Arun Prakash Jana | |
2017-11-25 | Add Source Mage package | Vlad Glagolev | |
2017-11-25 | Update package maintainers | Arun Prakash Jana | |
2017-11-17 | Change button color | Arun Prakash Jana | |
2017-11-06 | Add Void Linux as a package source | Arun Prakash Jana | |
2017-11-04 | Update readme | Arun Prakash Jana | |
2017-10-18 | Add how-to on hot plugged devices | Arun Prakash Jana | |
2017-10-16 | Minor maintenance | Arun Prakash Jana | |
2017-10-10 | Add copier script | Arun Prakash Jana | |
2017-10-09 | Ignore TAB in input prompt | Arun Prakash Jana | |
2017-10-09 | Fix a couple of warnings on BSDs (#54) | Vlad Glagolev | |
2017-10-09 | archive listing is done using atool | Arun Prakash Jana | |
2017-10-08 | Fix segfault when SHLVL env var is not available (#52) | Vlad Glagolev | |
2017-10-08 | Correct name checking for NEW and RENAME (#53) | Vlad Glagolev | |
2017-10-08 | Add ExifTool URL (#51) | Vlad Glagolev | |
2017-10-08 | OpenBSD compatibility support (#48) | Vlad Glagolev | |
* Improve compatibility with OpenBSD * Fix indefinite blocking | |||
2017-10-05 | include sys/types.h for non-glibc linux builds (#46) | maxice8 | |
2017-10-05 | Use sudo to install packagecore | Arun Prakash Jana | |
2017-10-05 | Prepare for release v1.5 | Arun Prakash Jana | |
2017-10-02 | Update help | Arun Prakash Jana | |
2017-10-02 | Fix alignment in examples | Arun Prakash Jana | |
2017-10-01 | Remove redundant conversion | Arun Prakash Jana | |
2017-10-01 | Disable noti subscription for the same dir | Arun Prakash Jana | |
2017-10-01 | Change archive list shortcut to 'F' | Arun Prakash Jana | |
2017-09-30 | Fix #44: document PAGER usage in certain screens | Arun Prakash Jana | |
2017-09-27 | Enable O3 optimization | Arun Prakash Jana | |
2017-09-27 | Revert "Archive handling on OS X using unar+lsar" | Arun Prakash Jana | |
This reverts commit 1e859eb1370bd67cecd06b7bc8c6f885b80554bd. We will use atool on OS X as well, it can be brewed easily. | |||
2017-09-27 | Archive handling on OS X using unar+lsar | Arun Prakash Jana | |
2017-09-27 | Support archive listing and extraction | Arun Prakash Jana | |
2017-09-27 | Show current entry number in du mode | Arun Prakash Jana | |
2017-09-27 | Show current entry number. | Arun Prakash Jana | |
...because you need to know where you are. | |||
2017-09-24 | Fix #42 | Arun Prakash Jana | |
2017-09-23 | Add badge to PPA for Ubuntu variants | Arun Prakash Jana | |
2017-09-23 | nnn is on Ubuntu 17.10 | Arun Prakash Jana | |
2017-09-20 | Add step to set NNN_NOWAIT in Quickstart | Arun Prakash Jana | |
2017-09-19 | Update NNN_NOWAIT changes | Arun Prakash Jana | |
2017-09-19 | Prevent nnn from waiting on open file process (#40) | Paul | |
* Prevent nnn from waiting on open file process * Add env var flag to not wait for child process when opening file * Set nowait flag once to skip bit-or every time we open a file * Add documentation for NNN_NOWAIT |