purebred-mua / hs-notmuch

Modern Haskell binding to the Notmuch mail indexer
11 stars 2 forks source link

iteration optimisations #21

Closed frasertweedale closed 6 years ago

frasertweedale commented 6 years ago

This PR contains a series of commits that optimise iteration. In particular

frasertweedale commented 6 years ago

@romanofski yo, just a heads up to keep you in the loop on hs-notmuch. Feel free to eyeball this change and ask about stuff if you have questions. I have some other optimisations in the pipeline too. The main thing I need is just for you to make sure I don't break purebred or regress on performance in some use case I haven't tested.

romanofski commented 6 years ago

I gave it a go today and couldn't find any problems with it. Great explanation btw on the commit message. Like it 👍