Chris Wellons personal blog
You Can't Always Hash Pointers in C
Occasionally I’ve needed to key a hash table with C pointers. I don’t care about the contents of the object itself — especially if it might change — just its pointer identity. For example, suppose I’m using null-terminated strings as keys and I know these strings will always be interned in a common table. These…
- Points
- 155
- HN comments
- 157
- Submissions
- 2
- Cited by
- 0 commenters
Software EngineeringSystems & Performance2016
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| May 31, 2016 | You Can't Always Hash Pointers in C by ingve | 155 | 96 |
| Sep 19, 2018 | You Can't Always Hash Pointers in C (2016) by ScottWRobinson | 72 | 61 |