Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-12-25 | OpenSUSE gcc fails at '-fno-tree-loop-vectorize' | Arun Prakash Jana | |
2017-12-25 | Prepare for release v1.6 | Arun Prakash Jana | |
2017-12-25 | Add OpenSUSE Leap 42.3, reorder matrix | Arun Prakash Jana | |
2017-12-25 | Support 'Open with...' | Arun Prakash Jana | |
2017-12-25 | Optimize xmemrchr() | Arun Prakash Jana | |
2017-12-25 | Reduce sprintf() family usage | Arun Prakash Jana | |
2017-12-24 | Optimize saving, matching old entry | Arun Prakash Jana | |
2017-12-24 | Shorten error messages | Arun Prakash Jana | |
2017-12-24 | Limit filter length to NAME_MAX from LINE_MAX | Arun Prakash Jana | |
2017-12-24 | Use const if applicable | Arun Prakash Jana | |
2017-12-24 | Update documentation | Arun Prakash Jana | |
2017-12-24 | Users understand 'DIR' easier then 'cwd' | Arun Prakash Jana | |
2017-12-24 | Add option -b to open bookmark directly | Arun Prakash Jana | |
2017-12-24 | Order numeric file names (helps with /proc) | Arun Prakash Jana | |
2017-12-22 | Update README | Arun Prakash Jana | |
2017-12-22 | Replace xstricmp() with strcoll() | Arun Prakash Jana | |
2017-12-22 | Remove redundant variable | Arun Prakash Jana | |
2017-12-22 | Consider only symbolic or only nunmeric names | Arun Prakash Jana | |
2017-12-21 | No need to test end of numeric | Arun Prakash Jana | |
2017-12-21 | Ignore punctuation marks in file name compare. Fix xstrcmp(). | Arun Prakash Jana | |
1. File name comparison method: - initially ignore white space and punctuation characters - run test for numeric values - if the remaining substrings match in case-insensitive compare, compare case - if they still match, see which one has more prefix symbols - if they still match, run a case-sensitive compare on complete strings 2. Fixed xstrcmp() to return diff instead of 0 and -1. | |||
2017-12-21 | Update README, performance numbers | Arun Prakash Jana | |
2017-12-20 | Add file name len to entry structure | Arun Prakash Jana | |
2017-12-20 | Offset can be derived | Arun Prakash Jana | |
2017-12-20 | Retire redundant variable | Arun Prakash Jana | |
2017-12-20 | A fancier func to get order of 2 | Arun Prakash Jana | |
2017-12-19 | Replace a large buf with global g_buf | Arun Prakash Jana | |
2017-12-19 | Fix #50: use -O3, disable -ftree-loop-vectorize | Arun Prakash Jana | |
2017-12-19 | Link to performance factors | Arun Prakash Jana | |
2017-12-19 | Use exact number of bytes for each filename. | Arun Prakash Jana | |
Results in even less memory usage. The names are appended one after another. The offsets are reset when the location of the memory changes die to realloc(). Other changes: 1. Use a debug mode print to measure time. 2. Remove redundant prefix when printing pointers in debug mode. | |||
2017-12-18 | Fix #64: change printf() to printw() | Arun Prakash Jana | |
2017-12-18 | NAME_MAX does not include NULL char | Arun Prakash Jana | |
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 | |