News for hackers. Stuff that matters.
Re:A tiny static full-text search engine using Rust and WebA... by nine_k on Wednesday June 10, 2020 @12:44AM (#23474008)
JSON may be a very bandwidth-inefficient format. A format that can be parsed from a stream could save RAM and bandwidth, especially on mobile which is most constrained.
Re:A tiny static full-text search engine using Rust and WebA... by mirekrusin on Wednesday June 10, 2020 @02:18AM (#23474475)
However it compresses very well on the wire. One of the simplest "streamed-json" solutions is to have one json per line of input and parse that incrementally.