RE: moving from ghc-6.2 to 6.4

2005-03-30 Thread Simon Marlow
On 29 March 2005 17:56, Keean Schupke wrote: > Thought I would run some benchmarks with different compiler options, > so I pulled out some code (that compiled fine with 6.2). The code uses > MArrays to calculate a tree difference between two different XML > files. Anyway tying to compile with 6.4

Re: ghc-6.4 on sparc/solaris

2005-03-30 Thread Ulf Norell
Johannes Waldmann wrote: Simon Marlow wrote: There are some outstanding issues on Sparc/Solaris ... Warning: retaining unknown function `getpwuid_r' in output from C compiler Warning: retaining unknown function `getpwnam_r' in output from C compiler Warning: retaining unknown function `getgrgid_r

Size of UArrays

2005-03-30 Thread Andreas Marth
Hallo! I would like to know how big an "UArray (100,100) Double" is (approximately) in Bytes. And how much heap will the program consume for it. (I mean does the garbage collector need this size, or double the size, or what?) Thanks, Andreas _

Re: Size of UArrays

2005-03-30 Thread Tomasz Zielonka
On Wed, Mar 30, 2005 at 06:41:02PM +0200, Andreas Marth wrote: > Hallo! > > I would like to know how big an "UArray (100,100) Double" is (approximately) > in Bytes. I guess you mean: (accumArray const 0.0 ((1, 1), (100, 100)) []) :: UArray (Int, Int) Double It should take about 100 * 100 * 8