Commit 3e5c0431 authored by sergey's avatar sergey Committed by Brad Fitzpatrick
Browse files

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: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 4692343c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment