StablePtr / StableName ?

Johannes Waldmann johannes.waldmann at htwk-leipzig.de
Sun Jan 22 16:09:16 UTC 2017


Dear ghc devs,

would the StablePtr performance issue (slow hash table)
https://ghc.haskell.org/trac/ghc/ticket/13165
also affect StableNames?
Cf. https://github.com/ekmett/ersatz/issues/30

Could making 10^5 stable names, and accessing each just once,
take noticeable time? Where would this show up in a profile?

I guess there's no easy way to change the ersatz library
(StableName this is the fundamental mechanism for detecting sharing)
but if these issues are related, then ersatz provides a
performance test case.

Thanks, Johannes.


More information about the ghc-devs mailing list