v1.7.0 Query builder now uses a scanner
Pre-release
Pre-release
This release comes with some substantial performance improvements to PGSQL dialect queries with lots of parameters.
Instead of re-scanning the string (strings.Replace) for each parameter, it now does a sequential single scan, providing a 900% speed improvement for lots (order of 1K) of parameters.
Thanks to @benjic for the idea and implementation.