Show / Hide Table of Contents

Namespace SadRogue.Primitives.Pooling

Classes

ListPool<T>

A basic implementation of IListPool<T> which uses a simple List of lists to store the pool.

NoPoolingListPool<T>

A pseudo-implementation of the IListPool interface which doesn't actually do any pooling; eg. its functions simply return a new list or discard the one they receive. Useful for specifying "don't pool" to a function or algorithm which takes a list pool.

Interfaces

IListPool<T>

A basic interface for classes which act as a pool of List<T> structures. It provides functions to rent lists from the pool, return them, and limit the number of lists kept in the pool.

In This Article
Back to top Generated by DocFX