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

I don't get it why you need direct DOM access. Just wrap it in JS calls. It's not like current websites are super fast and creating a wrapper will slow it down unnecessarily.
 help



The article cites the research that JS wrapping of DOM calls slows things down by 50%.

Just to be clear: It slows down the overhead of a function call by 50%. It doesn't slow down the function implementation which takes a very large percentage of the time.


Can I just say fuck JavaScript so we can stop mentioning this time and time again ?



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

Search: