-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redundant empty arrays? #34
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now, there are separate length=0 arrays for each numeric type (int8, uint16, int16, etc).
Since all numeric types in CE are considered equivalent, aren't all numeric arrays with 0 elements equivalent, too?
Thus, we could shift all of the fixed-size arrays from len=0...15 to len=1...16, and allow 16-element arrays to be encoded more concisely (1 fewer byte), without taking up any more space on plane 2.
That is, instead of needing [94 00], [94 10], [94 20], etc., we can encode any empty numeric array as [95 00], just as now. The only length-0 typed array we need on plane 2 is UUID.
The text was updated successfully, but these errors were encountered: