async-iterable.ts 
<https://github.com/js-benchmark-all/micro/blob/3389ef752795a625ed1d6319b483378562db0d10/src/coroutine/async-iterable.ts>
Basically I want this:  *async function* createAsyncGen(list: 
Promise<any>[]) { yield* list; } *
But it is 1.4x slower than implementing the iterator protocol manually, 
which needs way more code

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/v8-dev/34dcd231-06d5-4a49-b4ad-4aed09290b14n%40googlegroups.com.

Reply via email to