3 — Lazy Initialization
Purpose
[stub: lazy-initialization]
Metadata
| Author | Amit Singh |
| Scope | low-level-design |
Local graph
Related notes
1 — Memory Optimization
Examines how object layout, field ordering, and reference graphs drive per-instance memory footprint and garbage collector pressure.
2 — Object Pooling
Reuses a fixed set of expensive-to-construct objects instead of allocating and discarding them, trading extra bookkeeping for reduced allocation churn.
4 — Caching Strategies
Compares eviction policies, invalidation triggers, and cache placement so repeated lookups can be served without recomputation or a round trip.
5 — Efficient Collections
Matches collection data structures to their access patterns so lookup, insertion, and iteration costs stay aligned with the workload's actual shape.