Post #4331982
2026-08-01 07:47 UTC
why debug a bunch of bitfiddly C code when you can just waste 5kb of code space?
Replies (4)
-
@darkling@mstdn.social 2026-08-01 10:02
@foone@digipres.club Bonus outcome: when you find that you've run out of space and decide you have to write the code anyway, you've got the a nice complete test suite all ready.
-
@wyatt@soc.megatokyo.moe 2026-08-01 07:52
@foone@digipres.club always makes me think of the hq2x/hq3x/hq4x filters http://web.archive.org/web/20070125113756/http://www.hiend3d.com/hq3x.html they do a very similar idea
-
@sif@cathode.church 2026-08-01 09:51
@foone@digipres.club tbh you already did the harder thing by writing bitfiddly code in Python to begin with heh
-
@xevra@social.radimant.org 2026-08-01 09:40
@foone@digipres.club Amen, sister. I started updating my C extensions with the limited api for compatibility with free threaded builds of Python this week, and it made me seriously question some of my choices.