Comment on Lemmy.zip & Piefed.zip Server Update November 2026
0_o7@lemmy.dbzer0.com 3 days ago
The fix (anticlimactically small, as the best ones are): instead of cramming featured into the bundled comparison and letting Postgres faceplant, we just say up front, “we’re past the pinned posts now, so filter featured = false,” and then only bundle-compare the columns that actually matter (score, time, ID). Same posts. Same order. Postgres now estimates correctly, picks a sane plan, and the results:
~25 milliseconds. Down from up to 100,000.
That’s roughly a 4,000× speedup
This looks like something tbat should be considered by the upstream. Are you panning to create a pull request?
Demigodrick@lemmy.zip 2 days ago
It’s not an issue in 1.0 because they’ve changed how it works, I’m not sure if they’re planning on another 0.19 release or not, or how many people are actually impacted by this to make it worthwhile implementing elsewhere? @nutomic@lemmy.ml