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

From what I've experienced and read about, it seems the best approach is not to create/destroy objects at run time since it can be an expensive operation and cause frame rate issues. It's better to hide them and build as many as you can when the app is started up.


Yes, object pools are a good solution for elements like bullets in bullet hell games and similar applications.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: