sse4_crc32
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "sse4_crc32", | ||
"description": "A CRC32 generator using Intel's Streaming SIMD Extensions 4.2", | ||
"description": "Hardware-accelerated CRC32 based on Intel Streaming SIMD Extensions 4.2", | ||
"keywords": [ | ||
@@ -14,3 +14,3 @@ "crc", | ||
], | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"author": "Anand Suresh <anandsuresh@gmail.com> (https://github.com/anandsuresh)", | ||
@@ -17,0 +17,0 @@ "licenses": [ |
@@ -34,6 +34,6 @@ # SSE4-CRC32 | ||
my_inputs.forEach(function (string) { | ||
SSE4CRC32.update(string); | ||
crc = SSE4CRC32.update(string); | ||
}); | ||
crc = SSE4CRC32.crc(); | ||
crc = SSE4CRC32.crc(); // The .crc() method can also be used to get the final CRC | ||
@@ -40,0 +40,0 @@ Also see the example code in the [examples](https://github.com/anandsuresh/sse4_crc32/tree/master/examples) |
@@ -27,2 +27,3 @@ var sse4_crc32 = require("bindings")("sse4_crc32"); | ||
this.crc32 = sse4_crc32.calculate(input, this.crc32); | ||
return this.crc32; | ||
}; | ||
@@ -29,0 +30,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16356
14
171