diff options
| author | sergey <sngasuan@gmail.com> | 2019-05-02 18:07:34 +0300 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2019-11-08 18:29:48 +0000 |
| commit | 3e5c04313c28e463fa866c2ef669ed66628faf9b (patch) | |
| tree | af24d986c88a3c82938ba66c1fb1d0e854d0ebc2 /src/encoding/binary/binary_test.go | |
| parent | 4692343cf401a5bbcc290d48fead12157754b8e5 (diff) | |
| download | go-3e5c04313c28e463fa866c2ef669ed66628faf9b.tar.xz | |
net/url: reduce allocs on resolvePath func
pregrow result array to avoid small allocation.
Change-Id: Ife5f815efa4c163ecdbb3a4c16bfb60a484dfa11
Reviewed-on: https://go-review.googlesource.com/c/go/+/174706
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/encoding/binary/binary_test.go')
0 files changed, 0 insertions, 0 deletions
