17 ms·
You can put each query and the result of preparing that query into an LRU cache (or even just a static pointer in C if your application only ever deals with a s
by kccqzy 7y ago
You can put each query and the result of preparing that query into an LRU cache (or even just a static pointer in C if your application only ever deals with a single connection). Then you can reuse these without preparing them over and over.