Skip to content
Opensource internals
  • Posts

Posts

All posts published on this site.

Everything published here, newest first.

What's New in Python 3.15: Lazy Imports, frozendict, Tachyon, and More

Oct 15, 2026 7 min read Jay Hubbert

Python 3.15 makes startup cheaper, UTF-8 the default, and ships a sampling profiler you can attach to a running process.

PythonCpythonPython 3.15

Read more →

PostgreSQL's time and timetz Implementation in C

Oct 12, 2026 8 min read Jay Hubbert

time is 8 bytes of microseconds since midnight, timetz adds a 4-byte zone offset, and the 16-byte C struct only ever copies its first 12 bytes into a tuple.

PostgresInternalsTimeTimetz

Read more →

tmux Parses Escape Sequences Fast: Four Boring Optimisations That Matter

Oct 11, 2026 11 min read Jay Hubbert

tmux’s parser has no clever trick in it. It’s a state machine with a transition cache, a bsearch(), a trie, and a width cache — four small optimisations, each of which swaps an…

TmuxPerformanceInternalsInput

Read more →

PostgreSQL Speeds Up Hash Joins: Specialising the Expression Interpreter

Oct 11, 2026 31 min read Jay Hubbert

PostgreSQL pattern-matches a hash join’s compiled expression steps and swaps the general-purpose interpreter for a specialised C function, which is worth up to 20% on probe-heavy …

PostgresPerformanceExecutorInternals

Read more →

PostgreSQL's numeric Implementation in C: Exact Decimals, Two Different Formats

Oct 8, 2026 11 min read Jay Hubbert

numeric stores exact decimals as base-10000 digits with an explicit weight — and an in-memory form that reserves a spare leading digit so a carry never forces a realloc.

PostgresInternalsNumericDecimal

Read more →

← Newer Page 80 of 90 Older →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·