Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mjp41
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2 ms
·
1.
▲
by
mjp41
3y ago
> I can imagine one use-case for this: a task that is scheduled from and executed by a work-stealing thread-pool can allocate memory in one thread but by design there's no guarantee that the memory will be necessarily freed from tha
2.
▲
by
mjp41
3y ago
Hi, I am one of the authors of snmalloc. There is a pool of allocators. When a thread exits it returns it to the pool. When a thread is created it first checks the pool for an allocator and uses that in preference to creating a new one.
3.
▲
by
mjp41
4y ago
libpas is now in mimalloc-bench ( https://github.com/daanx/mimalloc-bench ). Thanks to Julien Voisin ( https://dustri.org ), which makes about 20 allocators that can be compared on a collection of workloads.