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

feat(decoder): move cache to heap #357

Merged
merged 1 commit into from Jul 11, 2023

Conversation

mohanson
Copy link
Collaborator

@mohanson mohanson commented Jul 11, 2023

Use Vector so that the instruction cache is on the heap. Otherwise, if there is a vm call chain, it will quickly consume Rust's 2M stack space.

@mohanson mohanson requested a review from xxuejie July 11, 2023 08:30
@mohanson mohanson merged commit 2ab3482 into nervosnetwork:develop Jul 11, 2023
11 checks passed
@mohanson mohanson deleted the move_cache_to_heap branch July 11, 2023 08:36
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.

None yet

3 participants