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

> More efficient memory use, no need to keep track of allocated objects

RC uses a traditional malloc/free-style heap, which requires bookkeeping for allocations. It also allocates an _additional_ word to track the reference count, which leads to poor cache behaviour (even in single-threaded programs, but especially in multi-threaded programs). Bumping/copying nursery incurs no bookkeeping overhead.



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

Search: