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

Ancient or not, I don't think it really matters for allocation performance: malloc in both msvcrt.dll and ucrtbase.dll after some indirection ends up calling RtlAllocateHeap in ntdll.dll


It does, because modern allocators do a lot of house keeping on top of the system heaps, e.g. to quickly reuse identically-sized memory chunks that were just freed.




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

Search: