length of module name affecting performance??
Simon Marlow
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:
>
>> dons:
>>> Running time as a function of module name length,
>>>
>>> http://galois.com/~dons/images/results.png
>>>
>>> 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
>> have,
>>
>> http://hackage.haskell.org/trac/ghc/newticket?type=bug
>>
>> E.g. the graph, the code, the asm diff.
>>
>> Cheers,
>> Don
>
> 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.
Cheers,
Simon
More information about the Glasgow-haskell-users
mailing list