4 ms·
Sqinn author here. Nothing against CGO, but I develop/deploy on Win/Linux, and cross-compiling CGO is very painful. Regarding performance: To my own surprise, S
by cvilsmeier 3y ago
Sqinn author here. Nothing against CGO, but I develop/deploy on Win/Linux, and cross-compiling CGO is very painful. Regarding performance: To my own surprise, Sqinn out-performs mattn (and others) for normal workloads, see https://github.com/cvilsmeier/sqinn-go-bench https://github.com/cvilsmeier/sqinn-go-bench
- eatonphil 3y agoI think it's a somewhat unfair (though who cares if it's unfair) comparison because you aren't using the database/sql interface and mattn does. If you drop that interface, you get much better performance. See: https://github.com/eatonphil/gosqlite https://github.com/eatonphil/gosqlite for example. Edit: Nevermind, you did include crawshaw (which doesn't use database/sql) in your benchmark!