Trendoday

Billion-query-per-second lookup tables in C++

0 comments · c++, programming

  • Comments7
–Rank now
#8Peak rank
3Days on list
–Score · 7d
Oct 28, 2026First seen

On Lobsters

c++programming
Score
24
Comments
7
Submitted by
signal-11
Tags
c++, programming
Site
lemire.me

Story details from Lobsters ↗ · linked article on lemire.me.

Trending history

Billion-query-per-second lookup tables in C++ was first seen on Lobsters · Hottest on Oct 28, 2026. Since then it has appeared in 58 checks on 3 different days. Its best position was #8 of 25, reached on Oct 28, 16:19 UTC. It dropped off the list after Oct 31, 11:51 UTC. The same link also trended on Hacker News, which raises its cross-platform score.

Rank history

Position on Lobsters · Hottest at every check (lower is better).

#1#9#17#25 Oct 28Oct 29Oct 29Oct 30Oct 31 Oct 28, 09:49 UTC · #23Oct 28, 10:19 UTC · #20Oct 28, 10:49 UTC · #22Oct 28, 11:19 UTC · #23Oct 28, 11:49 UTC · #25Oct 28, 12:19 UTC · #24Oct 28, 12:49 UTC · #25Oct 28, 13:19 UTC · #17Oct 28, 13:49 UTC · #16Oct 28, 14:19 UTC · #14Oct 28, 14:49 UTC · #12Oct 28, 15:19 UTC · #9Oct 28, 15:49 UTC · #9Oct 28, 16:19 UTC · #8Oct 28, 16:49 UTC · #8Oct 28, 17:19 UTC · #9Oct 28, 17:49 UTC · #10Oct 28, 18:19 UTC · #10Oct 28, 18:49 UTC · #10Oct 28, 19:19 UTC · #10Oct 28, 19:49 UTC · #11Oct 28, 20:19 UTC · #11Oct 28, 20:49 UTC · #11Oct 28, 21:19 UTC · #11Oct 28, 21:49 UTC · #11Oct 28, 22:19 UTC · #11Oct 28, 22:49 UTC · #11Oct 28, 23:19 UTC · #10Oct 28, 23:49 UTC · #9Oct 29, 00:19 UTC · #11Oct 29, 00:49 UTC · #11Oct 29, 01:19 UTC · #11Oct 29, 01:49 UTC · #12Oct 29, 02:19 UTC · #12Oct 29, 02:49 UTC · #12Oct 29, 03:19 UTC · #12Oct 29, 03:49 UTC · #12Oct 29, 04:19 UTC · #12Oct 29, 04:49 UTC · #13Oct 29, 05:19 UTC · #15Oct 29, 05:49 UTC · #15Oct 29, 06:19 UTC · #15Oct 29, 06:49 UTC · #16Oct 29, 07:19 UTC · #17Oct 29, 07:49 UTC · #17Oct 29, 08:19 UTC · #17Oct 29, 08:49 UTC · #17Oct 29, 09:19 UTC · #17Oct 29, 09:49 UTC · #19Oct 29, 10:19 UTC · #20Oct 29, 10:49 UTC · #19Oct 29, 11:19 UTC · #20Oct 29, 11:49 UTC · #21Oct 29, 12:19 UTC · #22Oct 29, 12:49 UTC · #23Oct 29, 13:19 UTC · #24Oct 29, 13:49 UTC · #25Oct 31, 11:51 UTC · #20

Last 14 days

Best rank per day (UTC).

Oct 26today

Metric history

Platform metric as reported by Lobsters.

091726 Oct 28Oct 29Oct 29Oct 30Oct 31 Oct 28, 09:49 UTC · 1Oct 28, 10:19 UTC · 2Oct 28, 10:49 UTC · 2Oct 28, 11:19 UTC · 2Oct 28, 11:49 UTC · 2Oct 28, 12:19 UTC · 2Oct 28, 12:49 UTC · 2Oct 28, 13:19 UTC · 4Oct 28, 13:49 UTC · 5Oct 28, 14:19 UTC · 7Oct 28, 14:49 UTC · 9Oct 28, 15:19 UTC · 10Oct 28, 15:49 UTC · 12Oct 28, 16:19 UTC · 13Oct 28, 16:49 UTC · 13Oct 28, 17:19 UTC · 13Oct 28, 17:49 UTC · 13Oct 28, 18:19 UTC · 13Oct 28, 18:49 UTC · 14Oct 28, 19:19 UTC · 15Oct 28, 19:49 UTC · 15Oct 28, 20:19 UTC · 16Oct 28, 20:49 UTC · 16Oct 28, 21:19 UTC · 17Oct 28, 21:49 UTC · 17Oct 28, 22:19 UTC · 18Oct 28, 22:49 UTC · 18Oct 28, 23:19 UTC · 19Oct 28, 23:49 UTC · 21Oct 29, 00:19 UTC · 22Oct 29, 00:49 UTC · 22Oct 29, 01:19 UTC · 22Oct 29, 01:49 UTC · 22Oct 29, 02:19 UTC · 22Oct 29, 02:49 UTC · 22Oct 29, 03:19 UTC · 22Oct 29, 03:49 UTC · 22Oct 29, 04:19 UTC · 23Oct 29, 04:49 UTC · 23Oct 29, 05:19 UTC · 23Oct 29, 05:49 UTC · 23Oct 29, 06:19 UTC · 24Oct 29, 06:49 UTC · 24Oct 29, 07:19 UTC · 24Oct 29, 07:49 UTC · 24Oct 29, 08:19 UTC · 24Oct 29, 08:49 UTC · 24Oct 29, 09:19 UTC · 24Oct 29, 09:49 UTC · 24Oct 29, 10:19 UTC · 24Oct 29, 10:49 UTC · 24Oct 29, 11:19 UTC · 24Oct 29, 11:49 UTC · 24Oct 29, 12:19 UTC · 24Oct 29, 12:49 UTC · 24Oct 29, 13:19 UTC · 24Oct 29, 13:49 UTC · 24Oct 31, 11:51 UTC · 26

Where it trended

ListBestDaysChecksLast seen
Lobsters · Hottest#8358
Hacker News · Front page Billion-query-per-second lookup tables in C++same link

From the discussion

A few top-level comments from Lobsters, shortened. Read the full thread on Lobsters.

For the article's key set {"GET", "POST", "PUT", "DELETE", "PATCH"} you can use the perfect hash function (0x13340001u * (n ^ s[0])) >> 29 into {0, 1, ..., 7}, assuming the length n is provided with s and s[n] is 0 (so that unconditionally indexing s[0] gives a well-defined value). That's 5 cycles of latency on…

> Reading past the end of a buffer is fine as long as you do not cross into another memory page, and pages are at least 4 kilobytes. No, reading past the end of a buffer is UB no matter what.

It's fine at the level of the concrete machine (if you know the architecture and take precautions like avoiding page crossings), not the abstract machine. In practice that means you have to do it with inline (or out-of-line) assembly to avoid UB, which is how you implement a fast strlen. But to your point and what…

Questions

Is Billion-query-per-second lookup tables in C++ trending on Lobsters right now?

Not at the moment. It was last on the list on Oct 31, 11:51 UTC, after 3 days of trending.

What is the highest rank Billion-query-per-second lookup tables in C++ reached?

#8 on Lobsters · Hottest, on Oct 28, 16:19 UTC. Trendoday checks this list every 30 minutes.

How long has Billion-query-per-second lookup tables in C++ been trending?

It was first seen on Oct 28, 2026 and has been on the list on 3 days (58 checks) since.