fix isal crc64 bug (#1052)

* use isal for crc check

* add NULL check in crc isal

* update isal crc code to latest pull request
This commit is contained in:
XiTang
2022-11-23 15:37:11 +08:00
committed by GitHub
parent 6301693f38
commit 204a76baf6
2 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@ TEST(TestCrc64, test_speed)
crc64_sse42(0, tmp_str, i);
}
end = get_current_time_us();
cout << " ob_crc64(sse42), execut_count = "<< COUNT << ", cost_us = " << end - start << " len = " << i << endl;
cout << " ob_crc64(sse42), execut_count = "<< COUNT << ", cost_us = " << end - start << " len = " << i << endl;
start = get_current_time_us();
for (int64_t j = 0; j < COUNT; ++j) {