Check out Dart's iterators

Brendan Eich brendan at mozilla.com
Mon Feb 11 13:26:57 PST 2013


Oliver Hunt wrote:
> Saving the cost of "generator overhead" by making all iteration 
> technically slower by depending on exceptions (correct semantics mean 
> even optimising out the throw is tricky for default iteration generators).

What is slower?

/be


More information about the es-discuss mailing list