Jorropo a720b30cbc http2: allocate buffer pools using pointers to arrays
This remove the allocation for the slice header in sync.Pool.New and putDataBufferChunk.
It also divide the number of allocations kept alive by the pool.

Change-Id: Icf493ebc568ae80a4e73e9768a6f1c7fce8e1365
Reviewed-on: https://go-review.googlesource.com/c/net/+/539915
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: qiulaidongfeng <2645477756@qq.com>
Reviewed-by: qiulaidongfeng <2645477756@qq.com>
2023-11-07 21:56:53 +00:00
2023-10-11 21:58:12 +00:00
2023-10-11 21:58:12 +00:00
2023-10-11 21:58:12 +00:00
2023-10-11 21:58:12 +00:00
2023-10-11 21:58:12 +00:00
2023-10-11 21:58:12 +00:00
2023-10-11 21:58:12 +00:00
2023-10-11 21:58:12 +00:00
2023-10-11 21:58:12 +00:00
2023-02-07 17:08:46 +00:00
2023-10-11 21:58:12 +00:00
2023-02-08 14:49:55 +00:00
2023-10-11 21:58:12 +00:00
2023-02-07 17:08:46 +00:00
2015-03-18 17:04:12 +00:00
2023-10-11 21:58:12 +00:00
2023-10-11 21:58:12 +00:00
2012-03-17 15:20:00 +11:00
2020-12-07 22:46:15 +00:00

Go Networking

Go Reference

This repository holds supplementary Go networking libraries.

Download/Install

The easiest way to install is to run go get -u golang.org/x/net. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with "x/net:" in the subject line, so it is easy to find.

Description
[mirror] Go supplementary network libraries
Readme BSD-3-Clause 13 MiB
Languages
Go 99.9%