Ferdinand Schenck
MModular
•Created by Ferdinand Schenck on 10/5/2024 in #community-showcase
Faster CRC32 calculations in Mojo
As part of writing Mimage, an image parsing library for Mojo, I looked into speeding up the CRC32 calculations that are performed when decoding PNG files: https://fnands.com/blog/2024/mojo-crc-calc/
I managed to speed up the calculations by approximately 40 times versus my initial naive implementation.
These changes have now been added to Mimage.
2 replies