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

[mono][interp] Allocate basic block link array in exponential fashion #98701

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

BrzVlad
Copy link
Member

@BrzVlad BrzVlad commented Feb 20, 2024

Allocating new array to mempool with each added link can be very wasteful in rare scenarios (for example switch with many cases) where a bblock is branched from numerous other bblocks.

#93192

@ghost
Copy link

ghost commented Feb 20, 2024

Tagging subscribers to this area: @BrzVlad, @kotlarmilos
See info in area-owners.md if you want to be subscribed.

Issue Details

Allocating new array to mempool with each added link can be very wasteful in rare scenarios (for example switch with many cases) where a bblock is branched from numerous other bblocks.

#93192

Author: BrzVlad
Assignees: BrzVlad
Labels:

area-Codegen-Interpreter-mono

Milestone: -

Allocating new array to mempool with each added link can be very wasteful in rare scenarios where a bblock is branched from numerous other bblocks.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants