Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: V8 Iterators

$
0
0
Thank you so much. Works like a charm. And seems to improve performance over the Action approach I presented above. (Did not measure performance, though.)

Remaining question: Do I have to ((IDisposable)action).Dispose (); the action object (i.e. the ScriptItem) at the end of forEach?

The ClearScript code seems to do that sometimes with objects returned from Evaluate, and it is not entirely clear to me when that is necessary.

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>