Hacker News new | ask | show | jobs
by thrtythreeforty 948 days ago
Google's embedded library Pigweed [1] industrializes exactly this approach and has some unholy macro nonsense to make the string hashing work in pure C as well.

[1]: https://pigweed.dev/pw_log_tokenized/