RepoJournal
Elixir & Phoenix Elixir & Phoenix
156 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-10-25
stories 4

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

StringIO counts characters faster, replace_leading gets simpler

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

Two internal optimizations landed in elixir-lang/elixir, both preserving return values: StringIO's character counting now scans in wider chunks, and String.replace_leading/3 drops its prefix bookkeeping.

Scan StringIO character counts in seven-code-point chunks elixir-lang/elixir

by preciz

Barna Kovacs' patch scans StringIO character counts in seven-byte ASCII chunks via a 56-bit mask, falling back to a seven-code-point UTF-8 step when the remaining count is at least 7, so mixed inputs advance past non-ASCII bytes and resume ASCII chunking before the remainder finishes in split_at_utf8/2. The pull request characterizes the result as "Faster or same speed" relative to the 32c1def4...

Simplify String.replace_leading/3 prefix matching elixir-lang/elixir

by claytongentry

Clayton Gentry's change matches the pinned binary directly, removing the prefix and suffix size bookkeeping, and returns the original string immediately when no prefix matches instead of going through the replacement duplication call. Shape and return values of replace_leading/3 are unchanged.

Scan StringIO character counts in seven-code-point chunks (#16019) elixir-lang/elixir

by Barna Kovacs

The commit behind the StringIO chunking work, authored by preciz and attributed as "Scan StringIO character counts in seven-code-point chunks", is the merge point for that optimization.

Simplify String.replace_leading/3 prefix matching (#16018) elixir-lang/elixir

by Clayton Gentry

The commit for the replace_leading/3 simplification, credited to Clayton Gentry, closes out that refactor as described in the pull request.

Quick answers

What shipped in Elixir & Phoenix on October 25, 2026?
Two internal optimizations landed in elixir-lang/elixir, both preserving return values: StringIO's character counting now scans in wider chunks, and String.replace_leading/3 drops its prefix bookkeeping. In total, 2 commits and 2 pull requests landed.
Who contributed to Elixir & Phoenix on October 25, 2026?
2 developers shipped this update, including preciz and claytongentry.
What were the notable Elixir & Phoenix updates?
Scan StringIO character counts in seven-code-point chunks, Simplify String.replace_leading/3 prefix matching, and Scan StringIO character counts in seven-code-point chunks (#16019).