Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I once experimented with a design that ended up with 30,000 files in a single directory. (It was a dumb experiment.)

I discovered that the ls I as using used a polynomial-time algorithm for sorting the output. Like, it would lock up the machine for ten minutes... Told ls not to sort, and boom... fast.

This was almost 20 years ago. And I don't recall if it was GNU ls or FreeBSD.

There may be some performance improvement opportunities out there for exa.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: