Skip to content
Commit Detail

Commit cc4c191

Author
Kenton Varda <kenton@cloudflare.com> 2024-11-14 09:57:02 -0600
Parents
92bf3b0
Tree
4617e2a
Fix SQL statement caching of computed query strings.

I'd forgotten to internalize the string, but the hash map was comparing strings by identity, so computed strings would always miss cache. (Worse, their hash codes were computed by content, so they would cause excessive hash collisions.)

Files changed

5 files changed~5 modified