On Jan 18, 2010, at 4:48 PM, Kam Kasravi wrote:

In order to satisfy something like
(import B).foo()
the browser would need to import B prior to reaching this statement
or suspend execution at the '.' so the resources could be fetched.
I believe we're talking about the former - getting all resources early.

That's right -- no races, execution still seems single-threaded. Wherefore the special form, although if this line is in a seldom- executed branch you still have the hit of loading B up front.

/be

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to