avoid copying an array when unset a nonexistent key
commit97d18a8d7a989703e67bbb9d3ab358c6da0a8bb6
authorBin Liu <binliu@fb.com>
Mon, 6 Apr 2020 16:17:51 +0000 (6 09:17 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Mon, 6 Apr 2020 16:20:17 +0000 (6 09:20 -0700)
tree9b6c8b6da6dff7f6c52be1643c00c4698aea59e9
parent8534dc7656d24d61331453485982f8a1d263d42e
avoid copying an array when unset a nonexistent key

Reviewed By: billschaller

Differential Revision: D20635467

fbshipit-source-id: fa68141e67a339663bcd45014d71b9052b162243
hphp/runtime/base/hash-table-inl.h
hphp/runtime/base/hash-table.h
hphp/runtime/base/mixed-array.cpp
hphp/runtime/base/mixed-array.h
hphp/runtime/base/set-array.cpp
hphp/runtime/base/set-array.h
hphp/runtime/ext/collections/hash-collection.cpp
hphp/runtime/ext/collections/hash-collection.h