3 ms·
I would call that a region-based memory allocator... Only that it has a single region, ever.
by Findecanor 10mo ago
I would call that a region-based memory allocator... Only that it has a single region, ever.
- antonvs 10mo agoOr it's a generational garbage collector with the generation management and collection functionality omitted.
- eru 10mo agoWell, the garbage is collected when the missile hits the target region.
- amelius 10mo agoThe garbage is spread out over the target region.
- amelius 10mo agoYeah if you have for example a http request, you can just collect garbage you create during that request in a single region, then throw it away when the request has been handled. This is quite standard.