catching up (trying to) wiht CSpot

This commit is contained in:
Philippe G
2022-01-06 18:46:57 -08:00
parent 491d0d260d
commit 9af4cd5b23
57 changed files with 2165 additions and 343 deletions

View File

@@ -83,8 +83,6 @@ namespace bell
{
std::string basenameStr(filename.substr(filename.rfind("/") + 1));
unsigned long hash = 5381;
int c;
for (char const &c : basenameStr)
{
hash = ((hash << 5) + hash) + c; /* hash * 33 + c */