Documentation
¶
Overview ¶
Package bufpool keeps the buffers the server fills and empties all day, so each answer borrows one instead of asking for new memory that the garbage collector then has to find and free. On a small machine that work is a real share of what a request costs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Copy copyPool
Copy lends buffers for copying a stream from one place to another. It is an httputil.BufferPool, for the proxy to a module's service.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.