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

> Malloc has the exact same structure: it's hella fast until you run out of RAM and it returns an allocation failure.

Doesn't that depend on the allocator though? Some malloc()s will perform some cleanup depending on their internal structure, which is not deterministic



Sure. But in general both malloc and cons are pretty zippy most of the time.




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

Search: