You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
just an idea to improve compress ratio. Consider this example:
{
"@context": {
"type": "@type"
}
}
{
"@context": "...",
"type": ["type-id1"]
}
the compressed output by this library is:
[{ 0: https...context.jsonld, 101: [type-id1] }]
101 says it's an array, and there is no need to use CBOR array marker array(1). It could be compressed as [{ 0: https...context.jsonld, 101: type-id1 }] saving one byte.
The text was updated successfully, but these errors were encountered:
Hi,
just an idea to improve compress ratio. Consider this example:
the compressed output by this library is:
101
says it's an array, and there is no need to use CBOR array markerarray(1)
. It could be compressed as[{ 0: https...context.jsonld, 101: type-id1 }]
saving one byte.The text was updated successfully, but these errors were encountered: