Re:RX – a new random-access JSON alternative
by mpeg on Thursday March 19, 2026 @01:56PM
(#47443288)
I think this makes sense, when you explain it like that, it might be a matter of cleaning up the docs a bit so the "why" of RX is more clear (admittedly, a README is not always the best channel for this!)
Re:RX – a new random-access JSON alternative
by creationix on Thursday March 19, 2026 @03:34PM
(#47444686)
I've rewritten the framing in the README to first explain when you should use RX and when you should not. Most uses of JSON should probably stay JSON.
Let me know what you think
https://github.com/creationix/rx/blob/main/README.md#when-to...
Right and that makes sense. There is more information in here. The entire thing is length prefixed and even indexed for O(1) array lookups and O(log2 N) object lookups.
If you don't care about random access and you don't mind the overhead of decompression, don't use RX.