Why Nostr? What is Njump?
2024-02-09 15:04:59

:ihavenomouth: on Nostr: I moved 1 (one) integer division out of a hot loop, and the entire thing now runs ...

I moved 1 (one) integer division out of a hot loop, and the entire thing now runs 8-10% faster. I can't move the second division, but I can replace both with bit shifts. The downside is that I won't be able to support 4:3:x or 3:x:y chroma subsampling (implicitly allowed by the specification) which is not actually a downside because fuck you if you use it
Author Public Key
npub1srhg4hk63ew68kepu0znazgf9tdl089dkur5artp440htxqrc8zsqz8g90