diff options
author | Yorhel <git@yorhel.nl> | 2021-04-29 12:48:45 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2021-04-29 12:48:52 +0200 |
commit | 0783d357937e5e705321c0f92f6c4043f317b909 (patch) | |
tree | 93d2da37d87d4011928488a601bbcaa55a265973 /.gitignore | |
parent | 9337cdc99e8c205e6e75de25de29a5be53ea858c (diff) |
WIP: Experimenting with a rewrite to Zig & a new data model
The new data model is supposed to solve a few problems with ncdu 1.x's
'struct dir':
- Reduce memory overhead,
- Fix extremely slow counting of hard links in some scenarios
(issue #121)
- Add support for counting 'shared' data with other directories
(issue #36)
Quick memory usage comparison of my root directory with ~3.5 million
files (normal / extended mode):
ncdu 1.15.1: 379M / 451M
new (unaligned): 145M / 178M
new (aligned): 155M / 200M
There's still a /lot/ of to-do's left before this is usable, however,
and there's a bunch of issues I haven't really decided on yet, such as
which TUI library to use.
Backporting this data model to the C version of ncdu is also possible,
but somewhat painful. Let's first see how far I get with Zig.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 19 |
1 files changed, 1 insertions, 18 deletions
@@ -1,21 +1,4 @@ -Makefile -Makefile.in -aclocal.m4 -autom4te.cache/ -compile -config.h -config.h.in -config.log -config.status -configure -depcomp -install-sh -missing -.deps/ -.dirstamp -*.o -stamp-h1 -ncdu +zig-cache/ ncdu.1 *~ *.swp |