Skip to content
  • Alec Theriault's avatar
    Explicitly tell 'getNameToInstances' mods to load · 18cb44df
    Alec Theriault authored and Ben Gamari's avatar Ben Gamari committed
    Calculating which modules to load based on the InteractiveContext means
    maintaining a potentially very large GblRdrEnv.
    
    In Haddock's case, it is much cheaper (from a memory perspective) to
    just keep track of which modules interfaces we want loaded then hand
    these off explicitly to 'getNameToInstancesIndex'.
    
    Bumps haddock submodule.
    
    Reviewers: alexbiehl, bgamari
    
    Reviewed By: alexbiehl
    
    Subscribers: rwbarton, thomie, carter
    
    Differential Revision: https://phabricator.haskell.org/D5003
    
    (cherry picked from commit c971e119)
    18cb44df