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

objc_msgSend does allocate memory - for the IMP caches, and the class initialization costs (and calling +initialize) the first time you message a class.


Sure. It allocates zero heap memory per call, amortized.




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

Search: