- Apr 29, 2021
-
-
Yorhel authored
-
Yorhel authored
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.
-
- Mar 04, 2021
-
-
Yorhel authored
Fixes #171
-
- Jul 12, 2020
-
-
Christian Göttsche authored
Use 'max(10, column_size / 7)' instead of a fixed size of 10
-
- Jun 10, 2020
-
- Jun 07, 2020
-
-
Yorhel authored
What a mess. https://code.blicky.net/yorhel/ncdu/issues/153#issuecomment-764
-
- Jun 05, 2020
-
-
Christian Göttsche authored
Avoid undeclared identifiers when compiling with older kernel headers.
-
- May 30, 2020
-
-
Christian Göttsche authored
-
Yorhel authored
-
- May 15, 2020
- May 13, 2020
-
-
Saagar Jha authored
-
- May 07, 2020
-
-
Saagar Jha authored
-
- May 06, 2020
-
-
Yorhel authored
Silly one-character typo that causes directory apparent sizes to be very off in some scenarios. Reported & patched by Andrew Neitsch.
-
- Apr 21, 2020
-
-
Yorhel authored
Fixes #150
-
- Apr 08, 2020
-
-
Yorhel authored
-
Christian Göttsche authored
(cherry picked from commit a076ac714aa6fb24e0e9eb227372df84a4b6000b)
-
Christian Göttsche authored
-
Christian Göttsche authored
(cherry picked from commit ef7b4e5c28739c26b3a120296f9dc2ddaf2d4375)
-
Christian Göttsche authored
(cherry picked from commit 9f28920a64c155957b83324cd3a3cf0fda6020c9)
-
Christian Göttsche authored
(cherry picked from commit ad5b7fce74a3b7b0ed726620c81ea552c643cdad)
-
Christian Göttsche authored
(cherry picked from commit 2faefc3b2432409f3ccca0b6ab53a228d5b9b00d)
-
Christian Göttsche authored
(cherry picked from commit 32b77d0064d3e5f52e9204ddeffc29bb21a67753)
-
Christian Göttsche authored
(cherry picked from commit ce7036d249b6f05633c343ab95d88552aab85402)
-
Christian Göttsche authored
(cherry picked from commit 9801f46ece0ca2525f02d71464efc42296dddcb5)
-
Christian Göttsche authored
(cherry picked from commit e4e8ebd9e0037812436a1588809deb23e0f3751a)
-
Christian Göttsche authored
* Use AS_HELP_STRING instead of deprecated AC_HELP_STRING * Use AC_OUTPUT without arguments * Enclose AC_INIT argument in brackets * Add automake option std-options (cherry picked from commit 53a33e1db2c9a58b867f7db26c5f476c3ee4b00b)
-
Christian Göttsche authored
(cherry picked from commit fd75bd0c22a0ab6935ac5332999ebe77c6d8a1c8)
-
- Apr 07, 2020
-
-
Christian Göttsche authored
-
- Apr 01, 2020
-
-
Yorhel authored
Fixes #141
-
- Feb 10, 2020
-
- Feb 06, 2020
-
-
Yorhel authored
-
- Feb 04, 2020
-
-
Yorhel authored
Reduces memory by a tiny bit. Arguably we never needed tombstones because entries are never removed, so there shouldn't be any performance hit there. We don't even need a 'used' flag either, considering that can be represented by a NULL value, but I'm not really up for implementing/modifying my own hash table. ref: https://attractivechaos.wordpress.com/2019/12/28/deletion-from-hash-tables-without-tombstones/
-
- Jan 25, 2020
-
-
Yorhel authored
They were defined (rather than just declared) in .h files, when they really should be defined in at most a single .c file. Fixes #140.
-
- Dec 15, 2019
-
-
Yorhel authored
-
- Nov 14, 2019
-
-
Yorhel authored
I assumed that ./configure would fail if it can't find a suitable compiler for the given --host, but it just falls back to the host gcc. Fixes #138
-
- Aug 17, 2019
-
-
Yorhel authored
Fixes #135
-
- Aug 05, 2019
-