1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-23 14:54:12 +02:00
This commit is contained in:
Justin Lin
2021-05-02 18:33:33 +08:00
parent 665b90ee3c
commit 58eaccf998

View File

@@ -7,5 +7,5 @@ function _str_hash(value) =
)
sum([
for(i = [0:leng - 1])
ord(s[i]) * pow(31, leng - 1 - i)
ord(s[i]) * 31 ^ (leng - 1 - i)
]);