vaultaire icon indicating copy to clipboard operation
vaultaire copied to clipboard

Origins should be restricted to eight bytes

Open olorin opened this issue 9 years ago • 1 comments

  • Variable-length fields cause all sorts of problems in practice (most immediately, I can't implement fixed-width telemetry messages).
  • This doesn't limit practical applications; if you need more than 2**64 data origins in the next hundred years you're doing something very wrong.
  • Six bytes is the convention, but there's no point wasting the last two bytes of the word.

This is a breaking change, so I suggest it be slipped into v3. For now, I propose a documentation change indicating a limit-by-convention, and that origins in telemetry messages be truncated to eight bytes.

olorin avatar Nov 01 '14 01:11 olorin

+1

istathar avatar Nov 02 '14 02:11 istathar