length of module name affecting performance??
marlowsd at gmail.com
Tue Dec 16 04:55:04 EST 2008
Daniel Gorín wrote:
> On Dec 15, 2008, at 10:43 PM, Don Stewart wrote:
>>> Running time as a function of module name length,
>>> 10 is the magic threshold, where indirections start creeping in.
>>> Codegen cost heuristic fail?
>> Given this, could you open a bug ticket for it, with all the info we
>> E.g. the graph, the code, the asm diff.
> done! http://hackage.haskell.org/trac/ghc/ticket/2884
I followed up on the ticket. Basically the problem is to do with inlining
of record selectors: when the module name is too long, none of the record
selectors get inlined.
More information about the Glasgow-haskell-users