Bexanderthebex
|
d01de7232b
|
enhancement: Avoid calling reflect.New() when passing in slice of values to Scan() (#5388)
* fix: reduce allocations when slice of values
* chore[test]: Add benchmark for scan
* chore[test]: add bench for scan slice
* chore[test]: add bench for slice pointer and improve tests
* chore[test]: make sure database is empty when doing slice tests
* fix[test]: correct sql delete statement
* enhancement: skip new if rows affected = 0
|
2022-06-01 11:50:57 +08:00 |
|