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

Use VT proto for serialization #366

Merged
merged 2 commits into from
Jul 22, 2023
Merged

Use VT proto for serialization #366

merged 2 commits into from
Jul 22, 2023

Conversation

merlimat
Copy link
Collaborator

Using https://github.com/planetscale/vtprotobuf for adding extra methods to the generated Protobuf code.

The extra marshallVT/unmarshallVT methods are generated as "rolled-out" code instead of using reflection so they're using much less CPU and memory allocations.

It's also capable of generating hooks for getting objects from pool.

@merlimat merlimat merged commit 8cccb57 into streamnative:main Jul 22, 2023
@merlimat merlimat deleted the vt branch July 22, 2023 09:43
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