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

Fix atom_to_binary to use pre-allocated binary (Reopened) #8631

Merged
merged 3 commits into from
Jul 16, 2024

Commits on Jul 12, 2024

  1. Configuration menu
    Copy the full SHA
    c35ac05 View commit details
    Browse the repository at this point in the history
  2. erts: Introduce global literals

    `erl_global_literals` has been redesigned to be more dynamic, allowing any global literal to be created, rather than a small set of literals. Lambdas for exports will now use this interface. The next commit will change atoms to also do that.
    lucioleKi committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    e927b0b View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. erts: Optimize atom_to_binary/1

    When an atom is created, we now create a binary literal of it, so that atom_to_binary returns the pre-allocated binary literal instead of a newly converted one.
    lucioleKi committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    d1fca18 View commit details
    Browse the repository at this point in the history