summaryrefslogtreecommitdiff
path: root/rules/haddock.mk
diff options
context:
space:
mode:
authorDouglas Wilson <douglas.wilson@gmail.com>2017-06-08 15:02:01 -0400
committerBen Gamari <ben@smart-cactus.org>2017-06-08 15:35:58 -0400
commit56ef54444b89b2332abe68ee62d88792f785f5a7 (patch)
treed1bc9363c403a16d0532379fdbf0b8695ee800e2 /rules/haddock.mk
parent3ee3822ce588565e912ab6211e9d2cd545fc6ba6 (diff)
downloadhaskell-56ef54444b89b2332abe68ee62d88792f785f5a7.tar.gz
Add tcRnGetNameToInstancesIndex
This function in tcRnDriver, retrieves an index by name of all Class and Family instances in the current environment. This is to be used by haddock which currently looks up instances for each name, which looks at every instance for every lookup. Using this function instead of tcRnGetInfo, the haddock.base performance test improves by 10% Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: alexbiehl, rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3624
Diffstat (limited to 'rules/haddock.mk')
0 files changed, 0 insertions, 0 deletions