From a28dff0e4183d42926d20c6d4a73649227d467e8 Mon Sep 17 00:00:00 2001 From: Damian Gryski Date: Mon, 9 Apr 2018 09:44:17 -0700 Subject: [PATCH] note about avoiding database/sql; still need specifics though --- performance.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/performance.md b/performance.md index d7edce9..897c173 100644 --- a/performance.md +++ b/performance.md @@ -901,7 +901,8 @@ Popular replacements for standard library packages: * protobuf -> * all formats have trade-offs: choose one that matches what you need encoded space, decoding speed, language/tooling compatibility, ... -* database/sql -> jackx/pgx, ... +* database/sql -> has tradeoffs that affect performance + * look for drivers that don't use it: jackx/pgx, crawshaw sqlite, ... * gccgo (benchmark!), gollvm (WIP) * container/list: use a slice instead (almost always)