Implement Slice-by-16 fast CRC algorithm #17

Closed
opened 2021-04-16 15:32:53 +00:00 by 101arrowz · 0 comments
101arrowz commented 2021-04-16 15:32:53 +00:00 (Migrated from github.com)

Slice-by-16 is a much faster version of the standard CRC32 algorithm. I've implemented this myself, but getting it into js-crc32 would help a lot of people enjoy the performance uplift. The throughput increases from around 250 MB/s to 1.2 GB/s on my computer.

[Slice-by-16](https://create.stephan-brumme.com/crc32/#slicing-by-16-overview) is a much faster version of the standard CRC32 algorithm. I've [implemented this myself](https://gist.github.com/101arrowz/e58695f7ccfdf74f60ba22018093edea), but getting it into `js-crc32` would help a lot of people enjoy the performance uplift. The throughput increases from around 250 MB/s to 1.2 GB/s on my computer.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/js-crc32#17
No description provided.