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

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

Here's your friend: https://github.com/jarun/nnn#quickstart

Check point 5.

0

I've been using youtube-dl for awhile, maybe this could be integrated somehow. (created a script folder) I've heard of people extending mutt and newsboat in ways and nnn looks like it could too.

Wrong nnn but useful. This guy is hated on 4chan /g/ but I don't know why.

1

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

I just wanted to say thank you for writing nnn. 😊

0

Glad to know you like it!