Skip to content

Files

Latest commit

b39aa77 · Jun 2, 2022

History

History

ObjectPool

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 2, 2022
Jun 2, 2022
Jun 2, 2022
Jun 2, 2022
Jun 2, 2022

ObjectPool - Rent and return some instances

Just imagine a car pool: There is a dealer which bought the car and lent's it to you. After a while you will return this car where you got it from. Much like that works an ObjectPool in C#. You can rent an expensive object from the pool and when you are done with it, you just return it. Sounds beautiful, doesn't it?

Let's explore the advantages and disadvantages of a ObjectPools and how they work.

Found here