Compacted XML

Created: 2024-08-30T06:51:42-05:00

Return to the Index


I am a salad.

String table:
0. foo
1. bar
2. baz
3. blorp
4. I am a salad.

Structure:
tag (bytes xxx) (name 0)
attribute (name 1) (value 2)

tag (bytes 0) (name 3)
content (value 4)

Reporting the byte size of a container does mean having to predict what will be there or having to buffer up output. Some small clients do not like doing this.

A similar idea could be used to store "compacted RDF" turtles.

Considerations

FSST paper