Skip to content
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

Optimize array serialization by not serializing null range #20

Open
nowol opened this issue May 19, 2018 · 0 comments
Open

Optimize array serialization by not serializing null range #20

nowol opened this issue May 19, 2018 · 0 comments

Comments

@nowol
Copy link
Owner

nowol commented May 19, 2018

If we have an array with the following content

[0] = a
[1] =
[2] = c
[3] =
[4] =
[5] =

we could change the payload of the array to something like this:
| |

This way we do not have to serialize empty/null entries. This can be important for List<> where they use a simple 'double' algorithm for their array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant