Re:Rust: Dropping heavy things in another thread can make yo...
by bauerd on Saturday May 30, 2020 @02:53PM
(#23363605)
Think with LD_PRELOAD it is always possible to override the allocator?
[ Parent
| on HN ]
Re:Rust: Dropping heavy things in another thread can make yo...
by jfkebwjsbx on Sunday May 31, 2020 @12:57AM
(#23367307)
That wouldn’t help. The point is to use local allocators which have extra information about the data structures and usage of the memory.
This is routinely done in medium to large C++ programs for different reasons (performance, debuggability...).
Re:Rust: Dropping heavy things in another thread can make yo...
by dan-robertson on Saturday May 30, 2020 @06:52PM
(#23365551)
Only if it is dynamically linked