optimisation
authorJoey Hess <joeyh@joeyh.name>
Wed, 10 Feb 2021 20:38:33 +0000 (16:38 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 10 Feb 2021 20:39:41 +0000 (16:39 -0400)
commitdc9376feebc3108634244ff458ae4cf64e4ffe4b
tree241b8fc581db8579977b2da10dcb0a10755ee101
parentf44d4704c638e2fdb48dd0667809b16fac377b5b
optimisation

IORef rather than MVar sped up benchmark mentioned in last commit to
13.0s.

This makes me wonder if changing the interface to not need the IORef
either would improve speed further.
Backend/Hash.hs