News for hackers. Stuff that matters.
Re:Building a data compression utility in Haskell using Huff... by wyager on Thursday July 04, 2024 @05:14PM (#40878104)
You're doing extremely simple constant arithmetic here. GHC can optimize this type of thing away to nothing as well. Are we talking about contrived examples or real numerical bottlenecks?
Re:Building a data compression utility in Haskell using Huff... by Twisol on Thursday July 04, 2024 @09:24PM (#40879266)
I think it was a joke about compilers removing code by reasoning about undefined behavior.