Permalink
Browse files

Update description (closes #1).

  • Loading branch information...
1 parent 1d0ed6f commit 3cf80e6b81cb3b7b99725c2fa4b81c30da30fe85 @whitequark committed Dec 28, 2012
Showing with 7 additions and 5 deletions.
  1. +7 −5 murmurhash3.js
View
@@ -3,13 +3,15 @@
* by Peter Zotov (based on Java port by Yonik Seeley) and is placed into the public domain.
* The author hereby disclaims copyright to this source code.
*
- * This produces exactly the same hash values as the final C++
- * version of MurmurHash3 and is thus suitable for producing the same hash values across
- * platforms.
+ * This produces exactly the same hash values as the final C++ version of MurmurHash3 and
+ * is thus suitable for producing the same hash values across platforms.
*
* There are two versions of this hash implementation. First interprets the string as a
- * sequence of bytes, thereby ignoring most significant byte of each codepoint. The
- * second is
+ * sequence of bytes, ignoring most significant byte of each codepoint. The second one
+ * interprets the string as a UTF-16 codepoint sequence, and appends each 16-bit codepoint
+ * to the hash independently. The latter mode was not written to be compatible with
+ * any other implementation, but it should offer better performance for JavaScript-only
+ * applications.
*
* See http://github.com/whitequark/murmurhash3-js for future updates to this file.
*/

0 comments on commit 3cf80e6

Please sign in to comment.