mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-04-04 21:49:37 +00:00
Use xxh3 for generating hash keys instead of md5 as it offers better performance
This commit is contained in:
parent
2f580c92d1
commit
641c8388c1
3 changed files with 5 additions and 5 deletions
|
|
@ -139,7 +139,7 @@ class FileTypeFilterTools
|
|||
{
|
||||
$filter = trim($filter);
|
||||
|
||||
return $this->cache->get('filter_exts_'.md5($filter), function (ItemInterface $item) use ($filter) {
|
||||
return $this->cache->get('filter_exts_'.hash('xxh3', $filter), function (ItemInterface $item) use ($filter) {
|
||||
$elements = explode(',', $filter);
|
||||
$extensions = [];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue