Genevieve Warren 08e84a2fdc Fix inheritdoc tag (#55293) 1 year ago
..
perf 53124ab8cb Reimplement the default object pool for improved performance (#45251) 3 years ago
src 08e84a2fdc Fix inheritdoc tag (#55293) 1 year ago
test fe9fc29e65 Introduce the IResettable type. (#46426) 3 years ago
Readme.md c37ee916d1 Changed docs.microsoft.com links to learn.microsoft.com Issue: #44175 (#46206) 3 years ago
build.cmd 0801cea403 Favor project-specific build scripts over top-level script (#29918) 5 years ago
build.sh 0801cea403 Favor project-specific build scripts over top-level script (#29918) 5 years ago

Readme.md

Object Pool

This directory contains sources for Microsoft.Extensions.ObjectPool. This package provides types that enable object reuse. You can find additional information in the ASP.NET Core Documentation.

Description

This project contains abstractions and default implementations for pooling objects. Commonly used types include:

ObjectPool<T> - This represents a pool of objects. This is used to get and return pooled objects. IPooledObjectPolicy<T> - This policy defines how pooled objects are created and returned. ObjectPoolProvider - This represents a provider of ObjectPool<T>. This is used to create object pools based on an IPooledObjectPolicy<T>.

For a full list of the types defined in this project, see the namespace documentation.

Development Setup

Build

To build this specific project from source, follow the instructions on building the project.

Test

To run the tests for this project, run the tests on the command line in this directory.

More Information

For more information, see the ASP.NET Core README.