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
..
2020-07-28 14:46:48 +08:00
2022-03-01 16:59:50 +08:00
2022-03-17 11:22:25 +08:00
2021-10-26 22:40:14 +08:00
2022-04-13 15:47:04 +08:00
2022-03-24 09:31:58 +08:00
2020-02-23 09:38:51 +08:00
2022-01-30 22:46:41 +08:00
2022-03-24 09:31:58 +08:00

Test Guide

cd tests
# prepare test databases
docker-compose up

# run all tests
./tests_all.sh