Skip to content

Conversation

@Baunsgaard
Copy link
Contributor

No description provided.

This commit adds a CharArray primitive to the FrameBlock columns.
The char array is used in cases where there is a column in frame blocks
with a single character in each cell.
This overall reduce the allocation cost of each value from a full
Object + pointer + Array pointer, to a simple char.

Some design decisions include that if a int column is changed into
a char column the bit encoding is prioritized rather than similar character.
For instance the value 0 of an int is ' ' char that is the first char,
and it is bitwise the same value (just with less bits.).
If a string is converted then "0" becomes the char value 42.
@Baunsgaard Baunsgaard deleted the charArray branch January 24, 2023 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant