On 25 May 2011 20:39, Rafael Avila de Espindola > every loop will have a check to know if it should yield or not. Is this > really worth it?
In tracemonkey every jitted loop has such checkpoint to see if the script was canceled. Initially the worry was that it would very costly and the plan was to implement runtime code-patching to inject the checks only when necessary. But testing revealed that even with very tight loops the performance impact was negligible. _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev