DefaultBufferPool returns the current default buffer pool. It is a BufferPool created with NewBufferPool that uses a set of default sizes optimized for expected workflows.
()
| 69 | // created with NewBufferPool that uses a set of default sizes optimized for |
| 70 | // expected workflows. |
| 71 | func DefaultBufferPool() BufferPool { |
| 72 | return defaultBufferPool |
| 73 | } |
| 74 | |
| 75 | // NewTieredBufferPool returns a BufferPool implementation that uses multiple |
| 76 | // underlying pools of the given pool sizes. |
no outgoing calls