Re:Friendship ended with the garbage collector
by quietbritishjim on Friday August 27, 2021 @08:08AM
(#28326763)
That's definitely very interesting. I do wonder if malloc and free would take longer if there would multiple threads in the program, which is more relevant to this discussion; surely exp would not, assuming sufficient free cores. Even more interesting would be if you malloced in one thread and freed in another, given that allocators usually make use of thread-local pools.
[ Parent
| on HN ]
There are no comments on this comment yet.