That's unexpected to me at least. We'll investigate. But probably not
until after Easter.
If you can send a program (smaller the better) that demonstrates this
performance difference, we'd make much faster progress.
Simon
| -Original Message-
| From: [EMAIL PROTECTED]
[mailto:glasgow-h
Hi,
by trying to understand how "writeIORef" works, I looked at
data STRef s a = STRef (MutVar# s a)
what is MutVar# ? (especially zhe "#" ) ? I've readed tha writeIORef (and readIoRef etc) is used to write directly to memory places fo implementing variables, as in example in HOpenGL used. Is
Hans Nikolaus Beck wrote:
[...] I've readed tha writeIORef (and readIoRef etc) is used to write directly
to memory places fo implementing variables, as in example in HOpenGL used. Is
this also Haskell standard ?
Huh? I'm not sure what you mean exactly, but with the help of unsafePerformIO
and a pra
Sven Panne wrote:
Huh? I'm not sure what you mean exactly, but with the help of unsafePerformIO
and a pragma for clever compilers you can simulate something like a global
variable in Haskell. Here an excerpt from the GLUT menu handling module:
{-# NOINLINE theMenuTable #-}
theMenuTable :: I