Req #73385 [Opn]: xxhash for hash extension
| From: | yohgaki@php.net | Date: | Thu, 27 Oct 2016 23:15:40 +0000 |
| Subject: | Req #73385 [Opn]: xxhash for hash extension | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-205043@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73385&edit=1
ID: 73385
Updated by: yohgaki@php.net
Reported by: spam2 at rhsoft dot net
Summary: xxhash for hash extension
Status: Open
Type: Feature/Change Request
Package: hash related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Simple hash function addition to hash() function could be simply merged. There are number of useful
hash functions out there. We may not want RFC for each of them. We may have RFC only when there is
objection for adding new one.
I don't have a strong opinion for RFC requirement such changes, though.
Previous Comments:
------------------------------------------------------------------------
[2016-10-26 09:17:20] kalle@php.net
Maybe you could contact the author and ask him to make an RFC and merge with the existing ext/hash
extension, seems like an excellent inclusion for 7.2
------------------------------------------------------------------------
[2016-10-25 09:03:53] spam2 at rhsoft dot net
Description:
------------
https://github.com/stuartherbert/php-xxhash
since we have now hash(ALGO, data) and hash_file(ALGO, data) and hash_algos() it would make more
sense to have it as another algorithm than a out-of-tree module
the main usecase i see here is for etag-headers which needs to be fast and are not very collision
critical in real life
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73385&edit=1