Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Custom allocators are extremely common in C and C++ code, and often improve performance over general purpose allocators (though they can also make things worse if you're not careful).

The C++ STL has custom allocators (though the initial design was sort of botched; there is a new polymorphic allocator mechanism that aims to fix it IIRC)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: