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 memory allocation on deserialization #593

Open
BowTiedWoo opened this issue Jan 3, 2025 · 0 comments
Open

Optimize memory allocation on deserialization #593

BowTiedWoo opened this issue Jan 3, 2025 · 0 comments

Comments

@BowTiedWoo
Copy link
Collaborator

BowTiedWoo commented Jan 3, 2025

The deserialization needs its own way of counting the maximum memory we need to allocate, since we might reuse some bytes from the serialized value (e.g: a serialized buffer doesn't need any allocated space for its deserialized value, we just reuse the bytes).

@github-project-automation github-project-automation bot moved this to Status: 🆕 New in Stacks Core Eng Jan 3, 2025
@BowTiedWoo BowTiedWoo changed the title Wrong memory allocation on create_call_stack_local Wrong memory allocation on deserialization Jan 7, 2025
@BowTiedWoo BowTiedWoo changed the title Wrong memory allocation on deserialization Optimize memory allocation on deserialization Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Status: 🆕 New
Development

No branches or pull requests

1 participant