Re: storing highly shared data structures

2006-01-09 Thread Simon Marlow
Christian Maeder wrote: Simon Marlow wrote: Right - Ptr isn't the right thing here, because GC will move objects around. That's why we have StablePtr and StableName. may it be that makeStableName is expensive? (or it is my additional Map?) My old version is faster, because the version

Re: problem with ghcprof on windows

2006-01-09 Thread Simon Marlow
Conal Elliott wrote: When run ghcprof under Windows XP I get this message in uDraw: Error: Cannot start application C:/TEMP/ghcprof30164.sh. That file does exist as a shell script: bash-3.00$ ls -l C:/TEMP/ghcprof30164.sh -rwxr-xr-x 1 Conal None 109 Jan 7 12:12 C:/TEMP/ghcprof30164.sh

Re: Failed to load interface for ...

2006-01-09 Thread Simon Marlow
Defaulting to --make would make sense, as would a complete re-design of the command-line syntax, but for the same reasons I don't think it's a good idea. I don't want to break a lot of build systems for purely aesthetical reasons. Cheers, Simon Seth Kurtzberg wrote: How about

Re: darcs switchover

2006-01-09 Thread Malcolm Wallace
Sven Panne [EMAIL PROTECTED] writes: I've been looking at the cvs configuration file CVSROOT/modules. I /think/ the procedure is something like changing this: nhc98src-d nhc98 nhc98 nhc98libraries -d nhc98/src/libraries fptools/libraries nhc98 -a

Re[2]: Failed to load interface for ...

2006-01-09 Thread Bulat Ziganshin
Hello Simon, Monday, January 09, 2006, 1:45:45 PM, you wrote: so i propose just to add words about --make to the error message SM Defaulting to --make would make sense, as would a complete re-design of SM the command-line syntax, but for the same reasons I don't think it's a SM good idea. I

Re[2]: storing highly shared data structures

2006-01-09 Thread Bulat Ziganshin
Hello Christian, Friday, January 06, 2006, 9:43:39 PM, you wrote: CM My old version is faster, because the version with makeStableName does CM very much GC. CMMUT time 27.28s ( 28.91s elapsed) CMGCtime 133.98s (140.08s elapsed) try to add infamous +RTS -A10m switch ;) it's

Re: storing highly shared data structures

2006-01-09 Thread Christian Maeder
Bulat Ziganshin wrote: CM My old version is faster, because the version with makeStableName does CM very much GC. CMMUT time 27.28s ( 28.91s elapsed) CMGCtime 133.98s (140.08s elapsed) try to add infamous +RTS -A10m switch ;) You saved my day, thank you Bulat! Without

Re: storing highly shared data structures

2006-01-09 Thread Christian Maeder
Bulat Ziganshin wrote: try to add infamous +RTS -A10m switch ;) Maybe -H300m is more famous? MUT time 24.92s ( 29.79s elapsed) GCtime6.32s ( 7.67s elapsed) EXIT time0.00s ( 0.00s elapsed) Total time 31.24s ( 37.46s elapsed) Christian