Re:SQLite in Go, with and Without Cgo
by eatonphil on Friday May 13, 2022 @08:53AM
(#31366940)
Good point, thanks for checking out the code! I replaced db.Query with a db.Exec for the SELECT count (just to avoid the row iteration/deserialization) and I'm seeing closer performance.
I'll post an update and credit you.