[Webkit-unassigned] [Bug 175891] New: [ESNext] Async iteration - Implement Async Generator - optimization

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 23 10:43:06 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=175891

            Bug ID: 175891
           Summary: [ESNext] Async iteration - Implement Async Generator -
                    optimization
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gskachkov at gmail.com

Suggestion from Yusuke Suzuki:
1. merging async generator queue to async generator itself
generator. at first / generator. at last is enough. by doing so, we can remove one unnecessary object alloc.
2. merging request with queue item
queueItem.value is also object. I think we can merge this two things. request should have next, and it should be queue item.
3. consider the case we call bunch of next() for async generator.
we should clear the queue once the generator is completed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170823/6e4fc43a/attachment.html>


More information about the webkit-unassigned mailing list