---
title: "Entity Pools - s&box library"
description: "A pooling mechanism for entities with an API like C# ArrayPool<T>. Useful for situations where you are creating and deleting many entities with a limited lifespan."
canonical: "https://sbox.watch/libraries/gooman/entity_pools/"
generated_at: "2026-07-22T23:18:23.253Z"
---

# Entity Pools

A pooling mechanism for entities with an API like C\# ArrayPool<T>. Useful for situations where you are creating and deleting many entities with a limited lifespan.

- Type: library
- Ident: gooman.entity_pools
- Creator: Goomans Projects
- Canonical: https://sbox.watch/libraries/gooman/entity_pools/
- Markdown: https://sbox.watch/libraries/gooman/entity_pools.md
- sbox.game: https://sbox.game/gooman/entity_pools/
- Generated: 2026-07-22T23:18:23.253Z

## Stats

- 24h momentum: +0
- Terry score: 43%
- Favorites: 3
- Upvotes: 2
- Downvotes: 0
- Updated: May 24, 2023
- Created: May 24, 2023
- Size: 20.1 KB
- Files: 2
- Tags: library, entity, optimization, pooling

## Description

About Entity Pools

\#\# Features
\* Generics support. Any type implementing IEntity (any Entity) and contains a parameterless constructor will suffice.
\* Limited capacity pools. This helps you maintain sensible entity counts and prevent excessive creations.
\* Overridable entity rent/return logic. Simply add the IPooledEntity interface to your entity.
\* Timed asynchronous returning of entities. Useful for fire and forget renting.
\* Networkable (All required functionality is implemented but is currently unusable due to S&box issues.)

\#\# License
Distributed under the MIT License. See the license for more information.



## More by Goomans Projects

| Package | Ident | Players | Favorites | Upvotes | Score | Markdown |
| --- | --- | --- | --- | --- | --- | --- |
| Coroutines | gooman.coroutines | 0 | 4 | 5 | 65% | https://sbox.watch/libraries/gooman/coroutines.md |
| Performance Tracing | gooman.perf_tracing | 0 | 1 | 0 | -- | https://sbox.watch/libraries/gooman/perf_tracing.md |
