Use headings instead of bold text in index.md #238

This commit is contained in:
Jeroen Meulemeester
2016-01-03 21:14:30 +01:00
parent b6beffec2e
commit 3d642cdad7
66 changed files with 373 additions and 233 deletions

View File

@ -10,14 +10,16 @@ tags:
- Performance
---
**Intent:** When objects are expensive to create and they are needed only for
## Intent
When objects are expensive to create and they are needed only for
short periods of time it is advantageous to utilize the Object Pool pattern.
The Object Pool provides a cache for instantiated objects tracking which ones
are in use and which are available.
![alt text](./etc/object-pool.png "Object Pool")
**Applicability:** Use the Object Pool pattern when
## Applicability
Use the Object Pool pattern when
* the objects are expensive to create (allocation cost)
* you need a large number of short-lived objects (memory fragmentation)