]> Cypherpunks repositories - gostls13.git/commit
strconv: use generics to reduce redundant helper functions
authorapocelipes <seve3r@outlook.com>
Tue, 12 Mar 2024 10:18:00 +0000 (10:18 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 12 Mar 2024 16:49:33 +0000 (16:49 +0000)
commitf83102cf7183c0aae2ffd91f80acd3f7b11fed02
tree3644804da4b84a65475c6832c294d9ce2bb6f9bb
parent2ab9218c86ed625362df5060f64fcd59398a76f3
strconv: use generics to reduce redundant helper functions

Benchstat shows there are no noticeable performance changes here.

Change-Id: If2250334fe6664986f044cbaabfa1bfc84f871f7
GitHub-Last-Rev: d41a498d54483759b9c85c3d8efa848c0cc1bbd9
GitHub-Pull-Request: golang/go#66266
Reviewed-on: https://go-review.googlesource.com/c/go/+/570935
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
src/strconv/quote.go