The goal is to develop a heuristic when to trigger clean-up of the local pool. For developing this heuristic, I'll use a unit-test - represent "allocations" by dummy buffer pointers - use a queue and a stack to push those "allocations" around - the "global pool" is just a queue with such dummy pointers - next step is to define some λ-primitives - finally, a λ-DSL to allow to perform "N operations of kind X" |
||
|---|---|---|
| .. | ||
| cache | ||
| gear | ||
| io | ||
| mem | ||
| out | ||
| storage | ||
| toolkit | ||
| DIR_INFO | ||