I'd like to make aeson hlint clean. aeson contains a lot of performance optimizations which made me wonder; Which linting refactorings should you think twice about when it comes to performance?

The best way to find an answer to this for aeson is of course to run the benchmarks, but are there any rules-of-thumb that you take into account when linting?

Here's the default hlint output for the current aeson master: https://gist.github.com/bergmark/5dd63c24fe6bdcf67eae0e88495a24e7

Cheers,
Adam