summaryrefslogtreecommitdiff
path: root/compiler/backpack/NameShape.hs
diff options
context:
space:
mode:
authorCrazycolorz5 <Crazycolorz5@gmail.com>2019-01-20 19:26:58 -0500
committerBen Gamari <ben@well-typed.com>2019-11-17 07:31:49 -0500
commitb109cb0efdbf62c264a45f0faeb18ff904cc5745 (patch)
tree0431dc52214aa5a179ebb551f4757169f5c409e0 /compiler/backpack/NameShape.hs
parent2f5ed225b78b32c65d023072d78ae5d176e2f04b (diff)
downloadhaskell-wip/D4889.tar.gz
rts: Specialize hashing at call site rather than in struct.wip/D4889
Separate word and string hash tables on the type level, and do not store the hashing function. Thus when a different hash function is desire it is provided upon accessing the table. This is worst case the same as before the change, and in the majority of cases is better. Also mark the functions for aggressive inlining to improve performance. {F1686506} Reviewers: bgamari, erikd, simonmar Subscribers: rwbarton, thomie, carter GHC Trac Issues: #13165 Differential Revision: https://phabricator.haskell.org/D4889
Diffstat (limited to 'compiler/backpack/NameShape.hs')
0 files changed, 0 insertions, 0 deletions