3 ms·
`years::4`? I don't know. What not `4::years`? Also, symbols converted to integers means the receiving end has to already know exactly what they are.
by transfire 5y ago
`years::4`? I don't know. What not `4::years`?
Also, symbols converted to integers means the receiving end has to already know exactly what they are.
- sokoloff 5y agoThere is provision for encoding a local symbol table: https://amzn.github.io/ion-docs/docs/symbols.html#processing-of-symbol-tables https://amzn.github.io/ion-docs/docs/symbols.html#processing...
- re 5y agoPutting annotations before values is likely to be more useful for streaming parsers than putting them after. Imagine the case where the annotation represents a class that you want to deserialize a large object into.