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

Correct me if I'm wrong, but if you work with DOM, modify/read properties, they lead to DOM trashing and re-rendering. If you do this 100 times per event handler, it will become slow.

If you do all that work in a worker and then only update the real DOM once, it will be much faster.

Render/paint is the slowest part in a JS application.



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

Search: