mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 14:14:57 +00:00
Use headings instead of bold text in index.md #238
This commit is contained in:
1 parent
b6beffec2e
commit
3d642cdad7
66 files changed
+373
-233
No files matched your search
@@ -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.
|
||||
|
||||

|
||||
|
||||
**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)
|
||||
Reference in new issue
Block a user