Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Should lists in SIER be byte-length prefixed or item-length prefixed? #15

Answered by frm
shelbyd asked this question in Q&A
Discussion options

You must be logged in to vote

I spent some time thinking about this, particularly what we discussed about:

This would add extra byte overhead and parse time

How significant would this be? One thing that comes to mind is to ship with this extra overhead and later optimise to one of those. I'm just trying to avoid any premature optimisation until we understand what is the most common use case.

If you feel confident enough that byte-length suits our needs, I'm behind it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shelbyd
Comment options

Answer selected by shelbyd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants