Skip to content

Conversation

Absolucy
Copy link
Contributor

I changed the hand-rolled crc32 impl to just use crc32fast instead - outputs are identical. Just to make sure, I ran cargo test, and the output tests/resources/save_test.dmi is identical to that of the current master branch.

Profiling showed that CRC32 calcs were a noteworthy bottleneck (albeit certainly not the worst), so I thought it wouldn't hurt to switch it out for an optimized implementation.

image

Also, this should avoid any extra overhead from iterators.

In addition, I updated all the dependencies.

@ZeWaka ZeWaka merged commit 04dc647 into spacestation13:master Apr 4, 2025
3 checks passed
@Absolucy Absolucy deleted the use-crc32-fast branch April 4, 2025 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants