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

I instrumented the code and using conditionals resulted in 2x the generation time per loop. These loops are executed only once so the VM doesn't have a chance to optimise them.



I've done similar in the past and can concur that it does have large performance benefits, at least in Chrome where I tested it.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: