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

erts: Make bs_get_tail create a heapbin if possible #5164

Merged

Conversation

garazdawi
Copy link
Contributor

When getting the tail of a match context, we create
a heapbin instead of a subbin if the size of the
tail is smaller than the size of a subbin.

This is already done in the JIT.

@garazdawi garazdawi added team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI labels Aug 30, 2021
@garazdawi garazdawi self-assigned this Aug 30, 2021
@garazdawi garazdawi added testing currently being tested, tag is used by OTP internal CI and removed testing currently being tested, tag is used by OTP internal CI labels Aug 30, 2021
When getting the tail of a match context, we create
a heapbin instead of a subbin if the size of the
tail is smaller than the size of a subbin.

This is already done in the JIT.
@garazdawi garazdawi force-pushed the lukas/erts/bs_get_tail-converts-subbins branch from f946965 to 1550451 Compare September 28, 2021 14:55
@garazdawi garazdawi merged commit 9b1f23e into erlang:master Sep 28, 2021
@garazdawi garazdawi deleted the lukas/erts/bs_get_tail-converts-subbins branch September 28, 2021 15:02
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants