2 ms·
A good "keyword" to search is "non-consing code", from lisp lore meaning it doesn't construct (allocate) new space. As sibling comment says, it often involved
by p_l 8y ago
A good "keyword" to search is "non-consing code", from lisp lore meaning it doesn't construct (allocate) new space.
As sibling comment says, it often involved object caches and static allocations.
Interestingly enough, similar rules are necessary with malloc()/free where dynamic allocation is often forbidden for latency critical code (or safety critical one)