projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use Bob Jenkins lookup3 hash instead of FNV.
[pspp-builds.git]
/
src
/
data
/
variable.c
diff --git
a/src/data/variable.c
b/src/data/variable.c
index 00c3f07f05fad273d79935a895242fb62799d0f6..505ae79da395cac5f00de6e57bbcfa91b8fec80e 100644
(file)
--- a/
src/data/variable.c
+++ b/
src/data/variable.c
@@
-323,7
+323,7
@@
hash_var_by_name (const void *v_, const void *aux UNUSED)
{
const struct variable *v = v_;
{
const struct variable *v = v_;
- return h
sh_hash_case_string (v->name
);
+ return h
ash_case_string (v->name, 0
);
}
/* A hsh_compare_func that orders pointers to variables A and B
}
/* A hsh_compare_func that orders pointers to variables A and B
@@
-359,7
+359,7
@@
hash_var_ptr_by_name (const void *v_, const void *aux UNUSED)
{
struct variable *const *v = v_;
{
struct variable *const *v = v_;
- return h
sh_hash_case_string (var_get_name (*v)
);
+ return h
ash_case_string (var_get_name (*v), 0
);
}
\f
/* Returns the type of variable V. */
}
\f
/* Returns the type of variable V. */