[vector] #20: Optimization strategy unclear (-Odph / -O2)
vector
vector at projects.haskell.org
Mon May 17 23:39:22 EDT 2010
#20: Optimization strategy unclear (-Odph / -O2)
----------------------------------------+-----------------------------------
Reporter: choener | Owner:
Type: defect | Status: new
Priority: minor | Milestone: 0.7
Version: 0.6 | Resolution:
Keywords: documentation, optimization |
----------------------------------------+-----------------------------------
Comment (by rl):
In general, I'd recommend -Odph for GHC 6.12 and -O2 -fno-method-sharing
for 6.13. Unfortunately, concatMap is rather badly implemented in the
0.6.0 branch of vector which might cause this effect. The current version
in darcs seems to perform about the same with -O2 and -Odph.
Unfortunately, GHC 6.12 is still a bit shaky when it comes to the kind of
optimisations that vector needs so it might well be the case that -Odph is
worse than -O2 in some cases. I would be very interested in other
examples!
--
Ticket URL: <http://trac.haskell.org/vector/ticket/20#comment:1>
vector <http://trac.haskell.org/vector>
Package vector
More information about the vector
mailing list