Skip to content

Consider using only 1 bit per argument in the Argument Encoding Bitmap #330

@popematt

Description

@popematt

We could potentially make most macro invocations even smaller in binary Ion by using only one bit per argument in the Argument Encoding Bitmap (AEB), but the tradeoff is that a void argument for a * parameter would likely be larger, and it could introduce more complexity into (and slow down) the binary reader and writer.
The interpretation of the AEB could be something like the following:

Cardinality 0 1
! n/a n/a
? void single expression
+ expression group single expression
* expression group single expression

Metadata

Metadata

Assignees

No one assigned

    Labels

    minor-tweaksSmall changes that might be considered before finalizing 1.1 spec, time permitting.specification 1.1Ion 1.1 specification work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions