Hacker News new | past | comments | ask | show | jobs | submit login

I use this liberally. Generally, it is a runtime performance issue only on repeated allocations for which you can optimize if needed. Once-only allocations can be ignored when using compiler firewalls.



And the second cache miss: 1 for the cache miss, 1 for the actual object.


Right. Usually the entire application is not performance critical. Only certain sections are. For that part of the application, profile and optimize.




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

Search: