1
1

8 Коммитов

Автор SHA1 Сообщение Дата
Yorhel
9670ca66ed Backport argument parser from ncdu 2.x + add a few inverted arguments
This makes way for backporting the various new configuration options
and config file support from 2.x.
2022-11-05 12:21:30 +01:00
Yorhel
15ebd21195 Some compatibility improvements for older (C89) environments
Whether this actually works on older environments, I don't really know.
2022-02-07 13:28:15 +01:00
Ciprian Tomoiaga
b340c04450 moved natSort files to deps 2021-12-23 09:07:54 +00:00
Christian Göttsche
19cfe9b15c Correct misspellings 2020-05-30 19:26:00 +02:00
Yorhel
2d76190091 deps/khash.h -> khashl.h for slightly reduced memory usage
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/
2020-02-04 19:15:48 +01:00
Yorhel
4021821b91 deps: Update khash to latest upstream version 2013-05-09 15:27:40 +02:00
Yorhel
cfd1b1fea2 deps: Update khash and yopt to their latest upstream versions 2013-04-25 08:17:02 +02:00
Yorhel
09c444753a Move khash & yopt to deps/
Both microlibraries come from another source, and are not maintained as
part of ncdu. This separation of src/ and deps/ makes the relation more
clear.
2013-04-25 08:11:39 +02:00