[Webkit-unassigned] [Bug 172458] for-in bytecode generation is probably exponential

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 22 11:46:41 PDT 2017


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

--- Comment #1 from Saam Barati <sbarati at apple.com> ---
Yup. We emit 1072675 instruction words for this function:
```
function foo(o) {
    for (let i in o) {
        for (let i in o) {
            for (let i in o) {
                for (let i in o) {
                    for (let i in o) {
                        for (let i in o) {
                            for (let i in o) {
                                for (let i in o) {
                                    for (let i in o) {
                                        2+2;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

}
```

-- 
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/20170522/f38a842c/attachment.html>


More information about the webkit-unassigned mailing list