Re:Userdir URLs like https://example.org/~username/ are dang...
by EamonnMR on Wednesday April 08, 2020 @08:10AM
(#22812188)
But then we would never be able to treat text as a stream. All of your one pass algorithms would become two pass.
[ Parent
| on HN ]
Re:Userdir URLs like https://example.org/~username/ are dang...
by jl258 on Wednesday April 08, 2020 @09:05AM
(#22812548)
I’m curious what you mean by this — why does coding for length prevent streaming? The receiving end can certainly treat the text as a stream still. Do you mean that the sender cannot “stream” if they are generating the contents on the fly? That seems trivial to solve - just break it up into chunks, assuming a little bit of buffering is OK.