]> granicus.if.org Git - php/commit
Use handle as hash in SplObjectStorage
authorNikita Popov <nikic@php.net>
Sat, 30 Jan 2016 12:43:56 +0000 (13:43 +0100)
committerNikita Popov <nikic@php.net>
Sat, 30 Jan 2016 13:19:11 +0000 (14:19 +0100)
commit5c327d7f5c040ac3d3655b2adeab2fd6910a784d
tree1d28f1809a1b798ba0a04a4cfb875bb21c6bbc05
parent08e5dc461dec58cf0a155dbc5f4312f3d5521db7
Use handle as hash in SplObjectStorage

For the default implementation, use a more efficient integer-based
hash. The getHash() interface still requires a string.
ext/spl/spl_observer.c