Skip to content

Avoid using the size/1 BIF (backport #14060) #14065

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

Merged
merged 1 commit into from
Jun 11, 2025

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jun 11, 2025

Avoid using the size/1 BIF for performance critical code because according to
https://whatsapp.github.io/erlang-language-platform/docs/erlang-error-index/w/W0050/

The BIF is not optimized by the JIT


This is an automatic backport of pull request #14060 done by Mergify.

Avoid using the size/1 BIF for performance critical code because
according to
https://whatsapp.github.io/erlang-language-platform/docs/erlang-error-index/w/W0050/
"The BIF is not optimized by the JIT".

(cherry picked from commit 1850ff1)
@mergify mergify bot assigned ansd Jun 11, 2025
@michaelklishin michaelklishin added this to the 4.1.2 milestone Jun 11, 2025
@michaelklishin michaelklishin merged commit c74ae70 into v4.1.x Jun 11, 2025
545 of 547 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.1.x/pr-14060 branch June 11, 2025 12:56
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.

2 participants