diff trunk/src/dil/lexer/Identifier.d @ 610:f58fd84c0d18

Changed 9 to 11 in hashing function for identifiers.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sun, 06 Jan 2008 21:07:37 +0100
parents c2e35c83c394
children 5e3ef1b2011c
line wrap: on
line diff
--- a/trunk/src/dil/lexer/Identifier.d	Sun Jan 06 21:06:20 2008 +0100
+++ b/trunk/src/dil/lexer/Identifier.d	Sun Jan 06 21:07:37 2008 +0100
@@ -36,7 +36,7 @@
   {
     uint hash;
     foreach(c; str) {
-      hash *= 9;
+      hash *= 11;
       hash += c;
     }
     return hash;