ncdu 2.0-beta3

This commit is contained in:
Yorhel 2021-11-09 09:14:25 +01:00
parent 38b35f30b4
commit 2893dc72b9
27 changed files with 138 additions and 29 deletions

View file

@ -160,6 +160,11 @@ useful, but maybe I'll reconsider that for a future release. A directory that
can't be analyzed at all because you've ran out of memory isn't very useful,
either.
**Update**: Version 2.0-beta2 implements a *much* more memory-efficient hard
link counting algorithm that, combined with the other efficiency gains, should
ensure that ncdu 2.0 never uses more memory than 1.x. The memory usage of the
"many hard links" directory above has been reduced to 106M in that version.
Another difference that is worth mentioning: when refreshing a directory from
within the browser, ncdu 1.x will allocate a fresh structure for the new tree
and then, after the scan is complete, free the old structure. This may cause