
21 Feb
2018
21 Feb
'18
2:43 a.m.
Hi, Am Dienstag, den 20.02.2018, 17:56 -0500 schrieb Gregory Collins:
You mean like this? https://github.com/gregorycollins/hashtables/blob/master/src/Data/HashTable/...
My experience is that this works, except when doing coverage, where the compiler adds instrumentation code that breaks the technique. I #ifdef'd my way around the problem, swapping out a slower impl when I was doing code coverage.
it seems that in this case, https://ghc.haskell.org/trac/ghc/ticket/14826 would very much apply, wouldn’t it? Cheers, Joachim -- Joachim Breitner mail@joachim-breitner.de http://www.joachim-breitner.de/