Skip to content

1.2.0

Compare
Choose a tag to compare
@tonsky tonsky released this 21 Jun 11:22
· 218 commits to master since this release

New serialization: datascript.core/serializable & datascript.core/from-serializable. Prepares database for fast to/from JSON serialization.

In some benchmarks, CLJS version of datascript.serialize + JSON.stringify/.parse lead to 10x faster snapshot reads, 3x faster snapshot writes, at roughly the same snapshot size (maybe 10% smaller). All numbres compared https://github.com/tonsky/datascript-transit.

image