]> mj.ucw.cz Git - libucw.git/blobdiff - lib/hashfunc.c
Cleaned up the fastbuf interfaces.
[libucw.git] / lib / hashfunc.c
index ad6a6bdf9d0637acbfc76770308581e2f4a37ea0..f51c84e8ec42b67f190a0a95c630e1ad7cfbdf4b 100644 (file)
@@ -1,6 +1,6 @@
 /*
- *     Hyper-super-meta-alt-control-shift extra fast str_len() and hash_*()
- *     routines
+ *     UCW Library -- Hyper-super-meta-alt-control-shift extra fast
+ *     str_len() and hash_*() routines
  *
  *     It is always at least as fast as the classical strlen() routine and for
  *     strings longer than 100 characters, it is substantially faster.
@@ -45,7 +45,7 @@ str_len_uns(uns x)
        uns a, i;
        byte *bytes;
        a = ~x & (x - sub) & and;
-       /* 
+       /*
         * x_2 = x - 0x01010101;
         * x_3 = ~x & x_2;
         * a = x_3 & 0x80808080;