This website requires JavaScript.
Explore
Help
Sign In
jarun
/
nnn
Watch
1
Star
1
Fork
0
You've already forked nnn
mirror of
https://github.com/jarun/nnn.git
synced
2024-09-11 13:06:14 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
0f62c6258a
nnn
/
.gitignore
6 lines
57 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add .gitignore to ignore compilation products
2017-04-02 00:42:49 +03:00
*.o
MacOSX legacy (#1138) * Branched v4.2 Added workaround for Mac OS X < 10.12.0 (Only tested on 10.11.6, lower versions may need more workaround) * Added *.dSYM to .gitignore * Added comments for the macosx detection in Makefile * Fixed indentation, formatting and missing newline at eof * Moved includes inside include guard Co-authored-by: elder-n00b <elder-n00b@yandex.com>
2021-08-22 09:39:30 +03:00
*.dSYM
Add .gitignore to ignore compilation products
2017-04-02 00:42:49 +03:00
nnn
Fix typo
2022-07-29 19:48:34 +03:00
src/icons-generated*.h
Revise and optimize icons handling This pretty much reworks the entire icon system. Some notable changes: * The extensions are put into a statically generated hash-table instead of a sorted array. We use Robin-Hood insertion to reduce the max probe length. Currently we need to probe only 2 slots for `O_EMOJI` and only 3 for `O_NERD`/`O_ICONS`. * I've opted not to use a perfect-hash since the perfect hashes generated by [`gperf`](https://www.gnu.org/software/gperf) used some huge lookup table. The hash function also wasn't as minimal as I'd like. * Colors are now using X-Macros. This should speed up startup since we don't have to search `icons_ext` linearly to find unique colors. * The hash-table generator outputs a more space optimized `struct icon_pair` using a char array instead of char pointer. This brings down the binary size from `145KiB` when using `O_NERD` down to `137KiB`. * Some unnecessary duplication and indirection has been reduced by using the `ICON_STR()` macro.
2022-07-20 12:57:05 +03:00
src/icons-hash-gen
Reference in New Issue
Copy Permalink