[Webkit-unassigned] [Bug 207497] PersistentCoders should use modern decoding syntax
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 10 17:42:08 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=207497
--- Comment #6 from Alex Christensen <achristensen at apple.com> ---
We are moving from this model:
1. Instantiating a default-constructed value
2. Decode members into the value
3. Return the value by reference
To this model:
1. Decode all members
2. Construct an object with all members
This avoids partially initialized objects and it allows non-default-constructible objects, so we can use UniqueRef and Ref in serialized types. It's a slow move, but we'll get there any year now.
--
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/20200211/9c0a33c2/attachment.htm>
More information about the webkit-unassigned
mailing list