Closed nineinchnick closed 1 year ago
@nineinchnick Is this at least of equal performance? I had originally / purposefully avoided using reflect
due to performance concerns.
It's done only once when executing the query. I can write a benchmark for copy, we sure would use some.
This should be more correct than relying on a driver to properly handle an empty interface. I checked how the type is used in
go/1.19.1/libexec/src/database/sql/sql_test.go
.