gperf
nnn
gperf | nnn | |
---|---|---|
7 | 200 | |
2 | 18,203 | |
- | - | |
4.7 | 8.1 | |
about 2 months ago | 3 days ago | |
C++ | C | |
GNU General Public License v3.0 only | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gperf
-
What is an example of non-linear static data structure and what is an accurate breakdown of ds types?
Can create a ton of theoretical examples, but even in practice we use such data structures. An example that first came to mind is gperf which generates static hash table data structure for predefined set of strings (So you cannot add or remove any elements).
-
Hashtables
gperf is a generator for perfect hash functions. Its documentation has a bibliography that might contain helpful links.
- Quickly checking that a string belongs to a small set
-
Generating the code for an efficient conditional tree to select from a list of strings
I think gperf is what you need. Alternatively cmph.
-
How to emulate map literals in C?
Adding to this, there are tools such as gperf which are specifically designed for this. Apparently gperf works well for smaller number of keys but not for really high n (> 100,000 ish) and mph apparently works better for larger n.
- On implementing Bloom Filters in C
nnn
-
Directory navigation on Helix
If you want a file full browser experience choose nnn: https://github.com/jarun/nnn . If you have a desktop file for Helix you can use the Gnome Files program to make all your programming language files open in Helix.
-
Help compiling a package with a compiler flag from an official Debian source
The other option is to just download the static version https://github.com/jarun/nnn/releases/download/v4.9/nnn-nerd-static-4.9.x86_64.tar.gz and overwrite the Debian executable at /usr/bin/nnn, but this seems a bit hacky, agreed?
- Antonmedv/walk: Terminal file manager
- Ytree; a Unix Filemanager
-
How do I change default image and video interpreter program through environment variables for nnn file manager ? (Asking herre bc r/linuxquestions doesnt allow posts)
You can get the 'default' nuke plugin script from https://github.com/jarun/nnn/blob/master/plugins/nuke and customize it if you need to. You define files by extension or mime type and set default and fallback apps to be opened with.
-
What are the best open source tools to easily navigate directories from the command line?
I like nnn ( n3 ).
-
Can't figure out how to change icon theme in nnn
The icon-theme seems to be driven by your terminal font as detailed in `src/icons-in-terminal.h & icons.h, and the choice of "terminal-icon vs nerd-fonts vs emoji" appear to be hard-wired at compile-time rather than at run-time.
-
What's a really niche tool you use that you can't live without?
nnn
- [Command Line] Quel gestionnaire de fichiers préférez-vous dans la CLI?
-
nnn file manager with icons
git clone https://github.com/jarun/nnn cd nnn make O_NERD=1
What are some alternatives?
parallel-hashmap - A family of header-only, very fast and memory-friendly hashmap and btree containers.
ranger - A VIM-inspired filemanager for the console
meow_hash - Official version of the Meow hash, an extremely fast level 1 hash
lf - Terminal file manager
mph - (Fork) Minimal Perfect Hash
vifm - Vifm is a file manager with curses interface, which provides Vim-like environment for managing objects within file systems, extended with some useful ideas from mutt.
robin-hood-hashing - Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20
xplr - A hackable, minimal, fast TUI file explorer
encoding - Go package containing implementations of efficient encoding, decoding, and validation APIs.
fff - 📁 A simple file manager written in bash.
sourcery - 🧙 A simple but very fast recursive source code spell checker made in C
mc - Midnight Commander's repository