This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
nnn
Watch
1
Star
0
Fork
You've already forked nnn
0
mirror of
https://github.com/jarun/nnn.git
synced
2024-11-24 03:41:27 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
06d8da9052
nnn
/
.gitignore
6 lines
57 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add .gitignore to ignore compilation products
2017-04-01 21:42:49 +00: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 06:39:30 +00:00
*.dSYM
Add .gitignore to ignore compilation products
2017-04-01 21:42:49 +00:00
nnn
Fix typo
2022-07-29 16:48:34 +00: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 09:57:05 +00:00
src/icons-hash-gen
Reference in a new issue
Copy permalink