[Webkit-unassigned] [Bug 205449] Allow Vectors as hash keys

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 19 09:17:40 PST 2019


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

--- Comment #5 from Antti Koivisto <koivisto at iki.fi> ---
> I see this now. I’m not a huge fan of this. What if there is a scenario
> where empty vector is a legit key? Maybe just make the empty value Max - 1
> and nullptr

Things are simpler and more understandable if the empty value is a regular valid value. I think for types that have well-defined "empty" it is better to stick with that.

This can be reconsider if a use case where this matters appears.

-- 
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/20191219/3ff1bcae/attachment.htm>


More information about the webkit-unassigned mailing list