Looking for areas of optimization in nnn
1 03 Mar 2019 08:17 by u/arunj
Hi v/programming,
Author of file manager nnn (https://github.com/jarun/nnn) here. Over years nnn has been optimized to perform on the desktop as well as on devices like the Pi or the Termux environment for Android. You can find a list of things those drive the performance here: https://github.com/jarun/nnn/wiki/performance-factors
I would like to learn if there are some more things we can optimize, e.g., around the algorithms. This submission is my attempt to crowdsource.
Any suggestion is highly appreciated. PRs are most welcome! Many thanks in advance!
6 comments
0 u/justlogin 04 Mar 2019 01:36
This is much nicer than my crude directory listing scripts! The only things missing is me not knowing all the commands yet or how to script it... >=)
1 u/arunj [OP] 04 Mar 2019 03:22
Here's your friend: https://github.com/jarun/nnn#quickstart
Check point 5.
0 u/justlogin 04 Mar 2019 06:43
I've been using
youtube-dlfor awhile, maybe this could be integrated somehow. (created a script folder) I've heard of people extendingmuttandnewsboatin ways andnnnlooks like it could too.Wrong nnn but useful. This guy is hated on 4chan /g/ but I don't know why.
1 u/arunj [OP] 04 Mar 2019 13:58
You can run mps-youtube from the prompt. No additional integration would be needed.
However, did you ever come across this - https://github.com/jarun/googler/wiki/Stream-YouTube-videos-on-desktop
0 u/libman 16 Mar 2019 20:25
I just wanted to say thank you for writing
nnn. 😊0 u/arunj [OP] 18 Mar 2019 22:24
Glad to know you like it!