RepoJournal
Elixir & Phoenix

Elixir & Phoenix

Elixir, Phoenix, LiveView, and Ecto - the BEAM web stack

Keep up with Elixir & Phoenix in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Elixir & Phoenix Full archive →

The Wire · Showcase

ELIXIR CORE CUTS MAP LOOKUP WASTE

By RepoJournal · Filed · About Elixir & Phoenix

1 person shipped this

Two pull requests into Elixir's type system are eliminating needless rebuilds that could slow pattern matching in core compiler workflows.

PR #15786, merged into elixir-lang/elixir, makes negated map lookups skip rebuilding the remaining map Binary Decision Diagram when only the selected domain is needed [1]. The same author, Barna Kovacs, also landed PR #15785, which avoids rebuilding and hashing the canonical non-empty list top leaf when the tail is term() [2]. Both changes target the type system's hot paths, where construction of immediately discarded state was pure overhead. "Use the existing domain lookup helper directly so negated map lookups do not construct state that is immediately discarded," the PR description notes [1]. Expect modest but real wins in compilation times for type-heavy codebases. The commits are already in main, so pull them into any forks or nightly builds you track for Elixir core development [1][2].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Avoid rebuilding map domains during lookup ↗ elixir-lang/elixir
  2. [2] Reuse the top non-empty list descriptor ↗ elixir-lang/elixir

Quick answers

What shipped in Elixir & Phoenix on August 24, 2026?
Two pull requests into Elixir's type system are eliminating needless rebuilds that could slow pattern matching in core compiler workflows. In total, 2 commits and 2 pull requests landed.
Who contributed to Elixir & Phoenix on August 24, 2026?
1 developer shipped this update, including preciz.
What were the notable Elixir & Phoenix updates?
Avoid rebuilding map domains during lookup and Reuse the top non-empty list descriptor.

More from Elixir & Phoenix

Daily updates, in your inbox

Follow Elixir & Phoenix

Keep up with Elixir & Phoenix in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?