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

it's not polling, its reevaluating code when codemirror triggers an event for text changing (which uses the dom underneath).

the problem is from calling setInterval every time the code is evaluated, leading to way too many function calls/second



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

Search: