External Publication
Visit Post

Help with optimization/profiling

Haskell Community [Unofficial] April 25, 2026
Source
I’d start looking at Core. Clearly the generateImage and encodePallettedPng functions are inlined. Perhaps they do more work than necessary. I’d also check if the allocations make sense to you. Perhaps some intermediate structures are allocated which can be eliminated.

Discussion in the ATmosphere

Loading comments...