Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Ben Gamari's avatar
    6948e24d
    rts: Lazily decode IPE tables · 6948e24d
    Ben Gamari authored
    Previously we would eagerly allocate `InfoTableEnt`s for each
    info table registered in the info table provenance map. However, this
    costs considerable memory and initialization time. Instead we now
    lazily decode these tables. This allows us to use one-third the memory
    *and* opens the door to taking advantage of sharing opportunities within
    a module.
    
    This required considerable reworking since lookupIPE now must be passed
    its result buffer.
    6948e24d
    History
    rts: Lazily decode IPE tables
    Ben Gamari authored
    Previously we would eagerly allocate `InfoTableEnt`s for each
    info table registered in the info table provenance map. However, this
    costs considerable memory and initialization time. Instead we now
    lazily decode these tables. This allows us to use one-third the memory
    *and* opens the door to taking advantage of sharing opportunities within
    a module.
    
    This required considerable reworking since lookupIPE now must be passed
    its result buffer.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.