in reply to Re^3: Memory usage while tallying instances of lines in a .txt file
in thread Memory usage while tallying instances of lines in a .txt file
It assumes no count will be greater than 256. If that's too small, change the three 8s to 16s
Actually, the 8s give a max count of 255 (0b00000000 .. 0b11111111, where 0b11111111 == 255)
16s will give you counts up to 65535 (0b1111111111111111).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Memory usage while tallying instances of lines in a .txt file
by BrowserUk (Patriarch) on Dec 08, 2016 at 00:57 UTC |