mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 08:10:17 +01:00
dispatcher: use nm_str_hash() for hash table in dispatcher
nm_str_hash() uses siphash24. We want to use that everywhere. The only concern would be that it is slower. But if that's the concern, then we would have many more performance critical places to care about first.
This commit is contained in:
parent
a34b1f793e
commit
380ecbc234
1 changed files with 1 additions and 1 deletions
|
|
@ -598,7 +598,7 @@ find_scripts (Request *request)
|
|||
else
|
||||
subdir = NULL;
|
||||
|
||||
scripts = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
|
||||
scripts = g_hash_table_new_full (nm_str_hash, g_str_equal, g_free, g_free);
|
||||
|
||||
_find_scripts (request, scripts, NMLIBDIR, subdir);
|
||||
_find_scripts (request, scripts, NMCONFDIR, subdir);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue