You are right to be "bugged" (see your last para). Fortunately,
ghc 2.09 (i.e. our current working copy) gives identical runtimes for
all three.
(Might be true of 2.08; I haven't tried.)
Simon
I'm benchmarking MVar's and other shared memory abstractions, e.g. by
accessing a variable a
We don't have direct access to any HPs here at Glasgow right now,
but I recall running into this way back with 2.02.
Hrm. 2.02 built fine for me, though. In fact, 2.07 actually _built_:
and then crashed, as per Sven's experiences. I'll look into your
suggestion, tomorrow... when I'm sober.
There's a small bug in distrib/Makefile-bin.in:
mkdependHS wants to know SED and RAWCPP, but the relevant lines are not
prepended by "configure ; make install". This happens (resp. does *not*
happen :-) at the config-pkgs target.
--
Sven PanneTel.:
This is not really a bug ... but.
I'm benchmarking MVar's and other shared memory abstractions, e.g. by
accessing a variable a number of times:
main :: IO ()
main = do {
v - newMVar 0;
access v 1000
} where access v 0 = print "done"
-- 1) access v n = do {swapMVar v n;
Sven Panne [EMAIL PROTECTED] writes:
There's a small bug in distrib/Makefile-bin.in:
mkdependHS wants to know SED and RAWCPP, but the relevant lines are not
prepended by "configure ; make install". This happens (resp. does *not*
happen :-) at the config-pkgs target.
Right. You need to
Hi Fuad,
making a parallel version on ghc-2.08 breaks under irix6.2 with the
Yes, there are several #ifndef __PARALLEL_HASKELL__ lines missing in the
libraries of ghc-2.08. In general, all references to ForeignObjs have to be
ifdefed out in a parallel aka GUM (_mp) setup, but they can be left
Sven Panne [EMAIL PROTECTED] writes:
* lit-deatify forgets to allocate a buffer for a file name, so
building the documentation failed from time to time. This is
a bug from the "how-did-this-ever-work?"-category. You need
flex to rebuild lit-deatify.c from lit-deatify (or
Joining these modules into *one*
module Main (main) where ...
and compiling with -O gives 6.1 sec.
This is the *only* situation, I found -O working.
Thus, if we set then `Main (main,test) where'
- just for curiosity - we return to 70 sec.
GHC 2.08