w3c / json-ld-cbor

JSON-LD 1.1 in CBOR Note
https://w3c.github.io/json-ld-cbor/
Other
7 stars 6 forks source link

Context and property optimization/compression #6

Open msporny opened 4 years ago

msporny commented 4 years ago

I've run a few test on this locally over the years, resulting in some pretty great outcomes. I'll start with a few statements and work from there:

What this means is that we can:

If we do all of those things, in certain cases, we get:

In short, we could achieve compression rates up to 75% for small documents.