RepoJournal
Elixir & Phoenix Elixir & Phoenix
138 wires and counting

$ follow Elixir & Phoenix

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

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-09-27
stories 4

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

Inspect.Algebra stops allocating on every break

By RepoJournal · Filed · About Elixir & Phoenix · Composed from the cited sources · methodology

1 person shipped this

Two changes from dkuku remove per-step heap allocation from Elixir's Inspect.Algebra formatter, trading runtime binary construction for register-passed values and compile-time literals.

Dk inspect algebra unboxed worklist elixir-lang/elixir

by dkuku

Inspect.Algebra.fits? and format now carry the current worklist entry in registers rather than re-boxing it onto the {indent, mode, doc} entry list at every step. Unwrapping doc_nest, doc_color, doc_force, and doc_fits allocates nothing, doc_cons allocates only the entry for y, and the k > w and b? guard stays centralized in fits?/4.

Cache common indentation in Inspect.Algebra elixir-lang/elixir

by dkuku

indent(i) previously built two intermediate binaries per break, a :binary.copy and an @newline concatenation, dropping immediate garbage on the process heap. Precalculating collapsed newlines for 0..2 and inlining @newline into the binary builder removes that allocation; widths up to 64 became compile-time literals because :binary.copy/2 pays O(N) allocation and copying cost.

Cache common indentation in Inspect.Algebra (#15947) elixir-lang/elixir

by Daniel Kukula

The merged commit lands the indentation caching: newlines are inlined at break call sites and function heads are generated for common indentation widths, so the common path returns literals instead of calling into :binary.copy/2.

Quick answers

What shipped in Elixir & Phoenix on September 27, 2026?
Two changes from dkuku remove per-step heap allocation from Elixir's Inspect.Algebra formatter, trading runtime binary construction for register-passed values and compile-time literals. In total, 2 commits and 2 pull requests landed.
Who contributed to Elixir & Phoenix on September 27, 2026?
1 developer shipped this update, including dkuku.
What were the notable Elixir & Phoenix updates?
Dk inspect algebra unboxed worklist, Cache common indentation in Inspect.Algebra, and Cache common indentation in Inspect.Algebra (#15947).