Better HN
topnewbestaskshowjobs
Log inSign up

propa

1 karma · joined Apr 6, 2018 (8y ago) · 3 submissions

Submissions

comment 8y ago · link · parent

Earlier in the thread you suggested that it's hard to justify ncdu using 60MB while it takes only 3.5MB to store 400K * 8 bytes numbers. The number you came up with is just silly and overlooks actual complexity of the problem.

Given that you are making an implicit judgement about the other program, don't be sloppy with your estimates.

comment 8y ago · link · parent

Your calculation (`400K * 8 bytes = ~3 MB`) is way off. What would be the point of storing only the size? You need to map it back to the file.

60MB gives you about 150 bytes for file path or file name and its size, which sounds plausible.

comment 8y ago · link · parent

Not a scotch, but if you like those three then give Connemara a try, especially the "original" version.