jsonpak icon indicating copy to clipboard operation
jsonpak copied to clipboard

Evolving the best ideas from the project...

Open planetis-m opened this issue 1 year ago • 0 comments

This prototype has proven that an alternative implementation of JSON data structure is possible that offers a low memory footprint and follows standards, however in order to be scalable it needs to be immutable.

Because an addition in the sequence of nodes can trigger a reallocation. Immutability can allow multiple cursors that share the underlying storage safely. So traversal, the main bottleneck so far, can be made fast.

So a new derivative implementation could be made that is:

  • easy to work with
  • fast access
  • fast traversal

But will loose:

  • Json patch support (immutable)

while still require far less memory than the 'established' way of representing JSON structure in memory.

planetis-m avatar Feb 21 '25 13:02 planetis-m