▲ | nly 2 days ago | ||||||||||||||||
Efficient memory allocation is part of a well written designed API. Languages like C++ give you a tonne of options here, from passing in scratch buffers to libraries, passing in reusable containers, move semantics, to type erased primitives like std::memory_resource and std::shared_ptr | |||||||||||||||||
▲ | tialaramex 2 days ago | parent [-] | ||||||||||||||||
Perhaps rather than "a tonne of options" people might like to have fewer that are actually good ? | |||||||||||||||||
|