[Haskell-cafe] SpecConstr message while compiling

2011-10-23 Thread Daniel Díaz Casanueva
Hi, cafe! I wrote a program and had the following message while compiling (with -O2): SpecConstr Function `addOc{v s6RL} [lid]' has four call patterns, but the limit is 3 Use -fspec-constr-count=n to set the bound Use -dppr-debug to see specialisations What it means? Is it bad?

Re: [Haskell-cafe] SpecConstr message while compiling

2011-10-23 Thread Daniel Fischer
On Sunday 23 October 2011, 19:33:55, Daniel Díaz Casanueva wrote: > Hi, cafe! > > I wrote a program and had the following message while compiling (with > -O2): > > SpecConstr > Function `addOc{v s6RL} [lid]' > has four call patterns, but the limit is 3 > Use -fspec-constr-count=n to

Re: [Haskell-cafe] SpecConstr message while compiling

2011-10-23 Thread Daniel Díaz Casanueva
Thank you, good response! Anyway, I'm not specially aware about the speed in that section of the program. The really big work is done in other places. Also, addOc runs in lists of 300~400 as maximum (but only in special inputs, average is under 200), so the time difference can't be improved notori