Remix.run Logo
Lossless GIF recompression via exhaustive search(blog.arusekk.pl)
28 points by ZacnyLos 3 hours ago | 3 comments
gsquaredxc 35 minutes ago | parent | next [-]

> Here I should note that Python is not the best choice for CPU-bound software. I want to take the opportunity to learn Zig.

For optimizing CPU-bound operations in Python, there’s some low hanging fruit with numba. I would recommend this as a 5-minute solution to you limiting your algorithm because regular Python is too slow. I regularly tell people that if their Python program is slow enough to take several minutes, you could probably learn numba before it finishes.

kernelbugs an hour ago | parent | prev [-]

Cool effort! I appreciated the background into the why, as initially I thought this would have to do with optimizing animated GIFs and didn't realize there was a usecase for single frame GIFs anymore.

chrismorgan an hour ago | parent [-]

> didn't realize there was a usecase for single frame GIFs anymore

If the purpose is supporting NCSA Mosaic… I’m content to say that there isn’t. Definitely not “anymore”.