2 ms·
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 setInt
by enjalot 14y ago
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