RE: Beginners profiling question

2000-12-11 Thread Simon Marlow
Your picture shows that sat uses 12% of the time, and main uses 99% which is fine because it inherites all time usage. But main really only calls sat, like so: main = do ~[rnastr] - getArgs print (sat (str2inp rnastr (0::Int))) str2inp is just a small data

RE: Beginners profiling question

2000-12-11 Thread Dirk Evers
On 11-Dec-00 Simon Marlow wrote: So I have tried profiling the first time... using ghc-4.08.1 with options -prof -auto-all runtime option -px ghcprof and daVinci work like a charm what I see is main uses 99.90 % time and space sat for practical purposes is the only

Transitive inlining

2000-12-11 Thread Manuel M. T. Chakravarty
In the context of the array library, we stumbled over another problem. Does GHC transitive inlining across modules? Let's say, we have the following scenario: module B (foo) where {-# INLINE foo #-} foo .. = ...bar... {-# INLINE bar #-} bar .. = ... module L (baz) where

Re: Transitive inlining

2000-12-11 Thread Marcin 'Qrczak' Kowalczyk
Tue, 12 Dec 2000 00:41:01 +1100, Manuel M. T. Chakravarty [EMAIL PROTECTED] pisze: PS: I had problems building GHCi and it seems as if my message to [EMAIL PROTECTED] doesn't get through somehow... Subject: "mail boot" problem ? I have got it. -- __(" Marcin Kowalczyk * [EMAIL