-
Notifications
You must be signed in to change notification settings - Fork 23
Consider using only 1 bit per argument in the Argument Encoding Bitmap #330
Copy link
Copy link
Open
Labels
minor-tweaksSmall changes that might be considered before finalizing 1.1 spec, time permitting.Small changes that might be considered before finalizing 1.1 spec, time permitting.specification 1.1Ion 1.1 specification workIon 1.1 specification work
Description
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 |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
minor-tweaksSmall changes that might be considered before finalizing 1.1 spec, time permitting.Small changes that might be considered before finalizing 1.1 spec, time permitting.specification 1.1Ion 1.1 specification workIon 1.1 specification work