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

Another dependency here but I use APR pools. You can keep your allocations to a defined scope then which makes free'ing easy and you can also have some guarantees inside the pool that it will have some bytes to give you. Less error checking and expensive malloc'ing required inside critical sections then.


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

Search: