Edition of Wednesday 2 December 2026

Making Numeric Faster in Postgres

Comments on “Making Numeric Faster in Postgres”

Claim-checked. Scored by all three judges, and its checkable claims were compared with the sources it cites. How far stories are checked

A Postgres developer, Dan Olivo, describes a set of "fast path" optimisations for the numeric type, which is often slow because short on-disk values must be unpacked and palloc'd on every operation.

Read the original at danolivo.substack.com. The judges saw only its text, with the site, the author and link domains removed; they are shown again after ranking.

Why it ranked

No. 23 of 143 with a score of 0.62. The panel rated it highest on technical depth (0.93) and new information (0.90), lowest on audience breadth (0.47). Placed No. 23, No. 61 by score alone: the placement terms moved other stories past it.

AI judgeJudge 2claude-haiku-5-5
Deep, benchmarked engineering write-up on PostgreSQL numeric fast paths; technically substantive and useful to database builders, but narrow in audience and not a landmark.
AI judgeJudge 3gpt-5.6-luna
A deeply technical PostgreSQL optimization write-up with reproducible patch descriptions, benchmarks across workloads and CPUs, and meaningful performance and memory gains. It is highly actionable for database and systems practitioners, though broader tech relevance is limited.

Each judge wrote its line after answering the rubric, with the site and the author still hidden. Every answer behind this is in the table under Score.

Score

0.62total under rubric v2.3

Judges’ mean answer per question, on a scale from 0 to 1. Questions marked minus count against the score.
  • Significance0.55
  • Reader interest0.71
  • Audience breadth0.47
  • Practical relevance0.64
  • Substantiated0.80
  • Technical depth0.93
  • New information0.90
  • Counts against: Promotional0.05
  • Counts against: Overclaim0.20

Each judge’s answer per question (0–1), their mean and spread, and what the question adds to the score (weight × mean).

QuestionJudge 1Judge 2Judge 3MeanSpreadWeightContribution (weight times mean)
SignificanceHow much does this change what people in tech know or can do?0.540.400.720.550.32+0.24+0.133
Reader interestWould a well-informed senior engineer or tech founder want to read this today, and likely pass it on?0.640.600.900.710.30+0.26+0.185
Audience breadthHow many people who build technology does it concern?0.520.300.580.470.28+0.13+0.061
Practical relevanceHow useful is it to someone who builds software or tech products?0.640.450.840.640.39+0.22+0.141
SubstantiatedHow well is it backed? Consider whether it is the primary source, and whether its main claims come with data, code, a demo, a reproducible method or citations.0.730.800.860.800.13+0.05+0.040
Technical depthHow technically substantive is it?0.970.900.930.930.07+0.05+0.047
New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)?0.850.900.960.900.11+0.05+0.045
PromotionalIs it mainly marketing with little substance (a press release, ad or sponsored post with no real information)? A launch post that carries real news is not promotional.0.070.050.030.050.04−0.19−0.010
OverclaimDo the headline or conclusions claim more than the body supports?0.270.200.120.200.15−0.11−0.022
Sum of contributions+0.621
Claim-check penalty0.000
Total, as published0.621

Spread is the highest minus the lowest judge answer. marks a spread above 0.40: the judges disagree, and the story is marked contested.

The badge for this ranking, for the author's page or anyone's: one line of HTML, and it links back here.

Ranked #23 on Rubric, 2 Dec 2026
<a href="https://rubric.hrih.si/editions/2026-12-02/23/"><img src="https://rubric.hrih.si/badge/2026-12-02/23.svg" alt="Ranked #23 on Rubric, 2 Dec 2026" width="238" height="28"></a>

Claim check

Claim check: 5 no source given · 3 couldn’t check. Each claim is compared with the source the article itself cites; a flag is published only when both checkers agree.

  1. No source givenBenchmark result

    On the author's 2019 Intel MacBook Pro, sorting 5 million numeric rows took about 6400 ms on current master and about 4900 ms with the static-buffer patches.

    The article gives no link or citation for it.

    The article says

    “execution time is consistently ~6400 ms on current master and ~4900 ms with the patches — almost a quarter faster”

    The source says

    No source to compare with.

  2. Couldn’t checkFirst, only or fastest

    numeric.c already uses a preallocated buffer in exactly one place, numeric_abbrev_convert(), which builds abbreviated keys for sorting.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “Curiously, numeric.c already uses a preallocated buffer, in exactly one place”

    The source says

    No passage could be compared.

    Source cited by the article: github.com/postgres/postgres/blob/e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8/src/backend/utils/adt/numeric.c

  3. Couldn’t checkQuote

    A source comment in numeric.c says saving two palloc/pfree cycles with persistent buffers has not so far been considered worth the effort.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “two palloc/pfree cycles could be saved with persistent buffers, but this “has not so far been considered to be worth the effort”

    The source says

    No passage could be compared.

    Source cited by the article: github.com/postgres/postgres/blob/e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8/src/backend/utils/adt/numeric.c

  4. No source givenBenchmark result

    With the equality fast path, numeric comparison queries run faster: WHERE a = b with the same scale is 39% faster and k IN (seven constants) is 44% faster.

    The article gives no link or citation for it.

    The article says

    “WHERE a = b, same scale — −39%”

    The source says

    No source to compare with.

  5. No source givenBenchmark result

    The fast arithmetic patches make count(v + q) 45% faster on Intel, 35% on AMD and 30% on Arm.

    The article gives no link or citation for it.

    The article says

    “count(v + q) — −45% / −35% / −30%”

    The source says

    No source to compare with.

  6. No source givenNumber

    With the aggregate patch, sum(v) over 500k groups uses 80 MB instead of 192 MB on master (−58%).

    The article gives no link or citation for it.

    The article says

    “sum(v), 500k groups — 192 MB on master, 80 MB with the patch (−58%”

    The source says

    No source to compare with.

  7. No source givenBenchmark result

    With the whole patchset, the multi-aggregate query over numeric runs in about 2.8 s instead of about 9.4 s, and memory drops from about 1.8 GB to about 480 MiB.

    The article gives no link or citation for it.

    The article says

    “the query runs in ~2.8 s instead of the previous ~9.4 s. And memory consumption has dropped from ~1.8 GB to ~480 MiB”

    The source says

    No source to compare with.

  8. Couldn’t checkNumber

    One PostgreSQL fork has already adopted this patch set in its codebase.

    The source was unreachable, paywalled or too long, or the two checkers disagreed.

    The article says

    “one of the PostgreSQL forks has already adoptedthis patch set in its codebase”

    The source says

    No passage could be compared.

    Source cited by the article: tantorlabs.com

Also covered by

No other coverage was clustered with this story.

Elsewhere

Elsewhere: HN 3 pts, not on front page

Discussion on Hacker News

Recorded for context only, checked 2 Dec 2026, 05:47 UTC. It played no part in the ranking.

Panel for this edition

Four AI agents ranked this edition: three judges scored every story blind to its site and author, and a fourth compared the top stories’ claims with the sources they cite. Summaries are written by AI.

Model versions are pinned for every edition. How ranking works describes rubric v2.3.

Comments

Readers’ comments on this story have a page of their own, ranked by a public rubric rather than by votes.

Comments on “Making Numeric Faster in Postgres”

More on Rubric

From the last 7 editions, chosen by shared topic, score and date.