#apache #archlinux #asterisk #centos #debian #gentoo #haskell #kde #kubuntu #lisp #math #mysql #perl #python #ruby-lang #rubyonrails #suse #ubuntu #vim #wikipedia 0 1 2 3 4 5 6 7 8 9 10 
Top Prev 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 Next

#haskell

<dons> um,, looks ok to me: COMPILERS = ghc-old ghc ghci hugs nhc98 yhc hbc
<dons> i.e. jhc got droped , ghc-old and ghc swapped (previously)
<sorear> State-of-the-world is fine, I was complaining about the patch description
<sorear> since inconsistant patches imply confused authors :)
<dons> yeah, i applied a patch, then saw yours. so unexpected merge. doesn't matter now.
<chessguy> @pl \g -> (a g) == 0
<lambdabot> (0 ==) . a
<sorear> now reruning vty bench with -O2 -funbox-strict-fields (no opt: was 1m47)
<sorear> yow!
<sorear> -O2 -funbox-strict-fields --> 0m15
<sorear> -O2 makes vty 7x faster
<dons> good
<sorear> might have to tweak N :)
<edwinb> ETOOEARLY
<sorear> now let's see how much slower it is with -prof -auto-all :)
<sm> evening all!
<sm> Lemmih, Igloo: I got the 6.6-release built as you suggested, profiling works great now
<sorear> dons: 29s with -O2 -funbox-strict-fields -prof -auto-all
<sorear> total alloc: 5 GB
<sorear> you mean from +RTS -p ?
<sm> here's my current haskell issue: I keep running into problems with module organization
<Patty01> Another question: I have to run a program I have with +RTS -H750M -RTS --- is there any way to get the compiler to default to this heap size?
<sorear> pretty much everyone's
<sm> maybe it's forcing me to design more clearly.. though sometimes it just seems like jumping through hoops
<sorear> Patty01: why? -H750M doesn't change anything but performance.
<allbery_b> Patty01: GHCRTS environment variable?
<sm> perhaps I'm too used to the smalltalk model where all classes are global, but..
<Patty01> I'm on windows
<sorear> Patty01: -H sets the *initial* heap size, it expands as needed
<Patty01> sorear - If I allow the heap to grow normally,. the program spends a lot of time in gc
<sorear> Patty01: so you could set -H1M and your program would start slower, but be just as fast afterward
<sorear> ah.
<sorear> as long as you understand what you are doing, I'll tell you how :)
<Patty01> :)
<chessguy> you gotta love how haskell pretty much forces good program design. i just completely changed the representation of a major data structure in my program, and only had to change a few places to do so
<sorear> Patty01: this section of the manual: http://haskell.org/ghc/dist/current/docs/users_guide/runtime-control.html#rts-hooks
<lambdabot> Title: 4.14. Running a compiled program, http://tinyurl.com/2hoaa9
<sm> ok - I have a CookedLedger which must be at the top so it can cache any of the others. Code below it can not use its fast functions, and code above it should use only its functions for good performance. Upper-level code loses the benefit of many lower-level functions and has to reimplement them as fast versions.. any advice for this situation ?
<Patty01> Ah - so there's nothing like a {-# OPTIONS -H750M #-} directive?
<sorear> Patty01: nah, that would be too easy :)
<hpaste> sm pasted "sm's module organization" at http://hpaste.org/571
<allbery_b> section 4.14.6 of the GHC manual
<sorear> allbery_b: .... which I just provided a link to :)
<allbery_b> but, um, looks like there are issues on Windows. figures
<Patty01> haskell on windows == massive pain in bum a lot of the time :(
<allbery_b> windws has environment variables, by the way. you can set them in CMD.EXE with SET, or globally via one of the system control panel panes IIRC
<TSC> 29639 152045 1752753 SvgDtd.hs
<TSC> I used HaXml's dtd-to-haskell converter to convert the SVG 1.0 DTD into a Haskell module
<sorear> hahaha.
<sorear> try ghc -v5, what phase blows up?

Previous Page  Next Page

Search ircarchive.info