1
1
ncdu/TODO
Yorhel dabe97f9c2 Use hash table when detecting hard links
This should be a *significant* performance increase when scanning a
directory that has many hard links.

I used the khash library written by Attractive Chaos[1]. This library
fits perfectly into ncdu's "use as little memory as possible but still
try to be very fast"-policy. It's API is somewhat quircky in use, but I
guess that is to blame to the lack of generic programming support in C.

Blog: http://attractivechaos.wordpress.com/
Lib: https://github.com/attractivechaos/klib/blob/master/khash.h
2011-10-31 14:47:39 +01:00

32 строки
1.0 KiB
Plaintext

Small list of planned features/changes, in no particular order.
Suggestions are always welcome.
- Add export/import feature for filelists
* Also comparing two filelists
- Improve browser interface
* Option to display number of files
* Mutt-like status bar?
* More information in file info window:
> dev, ino, mode, gid, uid, mtime, atime, number of files
- Add custom key bindings
* Using a config file (/etc/ncdurc, ~/.ncdurc)
* Running external commands on the selected file
- Improved sorting configuration
* Sort by number of files
* Use one key to open up a menu with sort options, instead of having a
special key for each column
- Better handling of hard links
* Have a separate size variable for "shared" data
(displayed in the browser as e.g. "291+3MiB")
* Support directory hard links (on Darwin and Solaris)
(And recognise bind-mounted paths as such on Linux?)
- Better handling of multibyte or multicolumn characters
* strlen() <> number_of_columns() <> number_of_characters()