Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment orderDon't do this. Use a real hash function that guarantees a highly random distribution, make your hash tables power-of-two sized, and map from hash value to table index using (hash & (size-1)). The fibonacci constant thing will help clean up the distribution of a bad hash function, but it does nothing for collision resistance if the underlying hash function is weak. -Austin, author of Murmurhash and SMHasher
I first learned this trick for generating hues for colors when you don't know how many you'll need. I think LibreOffice might do this. It always picks blue and orange for the first 2 series in a chart. But you can keep picking and it always has more colors that are just slightly different than all the previous ones.
Why the golden ratio? Because the continued fraction of the golden ratio is all 1's [0]. So it is uniquely hard to approximate with a rational number. The golden ratio is the bound on Hurwitz's theorem [1]. And avoiding a rational number is what you want for good hashing, because multiplying with a rational number doesn't mix your digits well. [0] https://codegolf.stackexchange.com/questions/48589/generate-... [1] https://en.m.wikipedia.org/wiki/Hurwitz%27s_theorem_(number_...
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 3
- Total points
- 761
- Total comments
- 167
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2018-06-16 | Fibonacci Hashing: The Optimization That the World ForgotFirst breakout · Best thread | ingve | 405 | 75 |
| 2020-02-28 | Fibonacci Hashing: Better Alternative to Integer Modulo | mfbx9da4 | 2 | 0 |
| 2020-12-20 | Fibonacci Hashing: The Optimization That the World Forgot | cjfd | 1 | 0 |
| 2021-11-14 | Fibonacci Hashing: The Optimization That the World Forgot | glapa-grossklag | 4 | 0 |
| 2023-04-28 | Fibonacci Hashing: An Optimization the World Forgot (Better Than Integer Modulo)Hall induction | djoldman | 204 | 63 |
| 2024-11-04 | Fibonacci hashing: the optimization that the world forgot (or: a better alternat (2018) | fanf2 | 2 | 0 |
| 2025-04-14 | Fibonacci Hashing: The Optimization That the World ForgotLatest 20+ point return | juancampa | 143 | 29 |
