aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-12-25OpenSUSE gcc fails at '-fno-tree-loop-vectorize'Gravatar Arun Prakash Jana
2017-12-25Prepare for release v1.6Gravatar Arun Prakash Jana
2017-12-25Add OpenSUSE Leap 42.3, reorder matrixGravatar Arun Prakash Jana
2017-12-25Support 'Open with...'Gravatar Arun Prakash Jana
2017-12-25Optimize xmemrchr()Gravatar Arun Prakash Jana
2017-12-25Reduce sprintf() family usageGravatar Arun Prakash Jana
2017-12-24Optimize saving, matching old entryGravatar Arun Prakash Jana
2017-12-24Shorten error messagesGravatar Arun Prakash Jana
2017-12-24Limit filter length to NAME_MAX from LINE_MAXGravatar Arun Prakash Jana
2017-12-24Use const if applicableGravatar Arun Prakash Jana
2017-12-24Update documentationGravatar Arun Prakash Jana
2017-12-24Users understand 'DIR' easier then 'cwd'Gravatar Arun Prakash Jana
2017-12-24Add option -b to open bookmark directlyGravatar Arun Prakash Jana
2017-12-24Order numeric file names (helps with /proc)Gravatar Arun Prakash Jana
2017-12-22Update READMEGravatar Arun Prakash Jana
2017-12-22Replace xstricmp() with strcoll()Gravatar Arun Prakash Jana
2017-12-22Remove redundant variableGravatar Arun Prakash Jana
2017-12-22Consider only symbolic or only nunmeric namesGravatar Arun Prakash Jana
2017-12-21No need to test end of numericGravatar Arun Prakash Jana
2017-12-21Ignore punctuation marks in file name compare. Fix xstrcmp().Gravatar 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-21Update README, performance numbersGravatar Arun Prakash Jana
2017-12-20Add file name len to entry structureGravatar Arun Prakash Jana
2017-12-20Offset can be derivedGravatar Arun Prakash Jana
2017-12-20Retire redundant variableGravatar Arun Prakash Jana
2017-12-20A fancier func to get order of 2Gravatar Arun Prakash Jana
2017-12-19Replace a large buf with global g_bufGravatar Arun Prakash Jana
2017-12-19Fix #50: use -O3, disable -ftree-loop-vectorizeGravatar Arun Prakash Jana
2017-12-19Link to performance factorsGravatar Arun Prakash Jana
2017-12-19Use exact number of bytes for each filename.Gravatar 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-18Fix #64: change printf() to printw()Gravatar Arun Prakash Jana
2017-12-18NAME_MAX does not include NULL charGravatar Arun Prakash Jana
2017-12-17Remove -O2 from debug buildGravatar Arun Prakash Jana
2017-12-17An even faster nnn - no more copying file names!Gravatar 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-16Add Slackware as packagerGravatar Arun Prakash Jana
2017-12-14Fix indentationGravatar Arun Prakash Jana
2017-12-13Use static vars in frequently used APIsGravatar Arun Prakash Jana
2017-12-13Retire redundant tmp varsGravatar Arun Prakash Jana
2017-12-13Process keypress by probable frequencyGravatar Arun Prakash Jana
2017-12-09Update READMEGravatar Arun Prakash Jana
2017-12-04Minor optimization, refactorGravatar Arun Prakash Jana
2017-12-03Fix -Os compilation warningsGravatar Arun Prakash Jana
2017-12-02switch to formulae.brew.sh for Homebrew linkGravatar Arun Prakash Jana
2017-11-30Use the same o/p filename in debug modeGravatar Arun Prakash Jana
2017-11-30Fix #50: revert to -O2 optimizationGravatar Arun Prakash Jana
The while loop in xstrlcpy() breaks when -O3 is used.
2017-11-30Minor changesGravatar Arun Prakash Jana
2017-11-25Add Source Mage packageGravatar Vlad Glagolev
2017-11-25Update package maintainersGravatar Arun Prakash Jana
2017-11-17Change button colorGravatar Arun Prakash Jana
2017-11-06Add Void Linux as a package sourceGravatar Arun Prakash Jana
2017-11-04Update readmeGravatar Arun Prakash Jana