Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chethan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
chethan
18y ago
The trie doesn't require a limited set of words. Counts can easily be used or not. If you were to write the entire path to disk, you'd be optimizing the time complexity while probably hammering the filesystem (and greatly increasing the (ex
2.
▲
by
chethan
18y ago
I wasn't sure whether he meant words as in the data size unit or words as in English words. However, since we are assuming it's ASCII, 1 char = 1 byte. Reverse the order of the bytes in each word. Reverse the order of bytes in the file. [ed