[Webkit-unassigned] [Bug 158542] New: Greatly simplify CrossThreadTask.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 8 14:20:23 PDT 2016


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

            Bug ID: 158542
           Summary: Greatly simplify CrossThreadTask.h
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: beidson at apple.com

Greatly simplify CrossThreadTask.h

The current implementation predates variadic templates in C++11.

Now with C++14 we can get rid of most of this nonsense.

There is an additional move constructor call per argument object, which is disappointing.

Maybe there's a way to get rid of that and I can't see that way.

But compared to two extra copies (which is what we needed up through this morning before I landed http://trac.webkit.org/changeset/201809) we're still way better off.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160608/baf0bae6/attachment-0001.html>


More information about the webkit-unassigned mailing list