Re: High run time variance

2010-08-05 Thread Andy Wingo
Hi, On Thu 05 Aug 2010 15:42, Luca Saiu writes: > ;;; Why does this GCs after creating b? Try running this with > GC_PRINT_STATS=1, > ;;; or with GC_DONT_GC=1 if you want to see the memory use rise. > > (define size 10) > (define times 100) > > (define b (make-bitvector size)) > > (do ((t

Re: High run time variance

2010-08-05 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello. Andy Wingo wrote: > On Mon 29 Mar 2010 18:09, Luca Saiu writes: > >> To sum up, within each run the computation time of (fibo n) is the same, >> but the time varies widely from one run to another. This anomaly seems >> to have become much mor

Re: High run time variance

2010-08-05 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andy Wingo wrote: > The toplevel references to bitvector-set! don't get cached, so the > bitvector-set! gets looked up every time, and there is some unfortunate > allocation in scm_from_locale_symboln. If you put it in a function, > the variable gets c

Re: High run time variance

2010-08-05 Thread Andy Wingo
On Thu 05 Aug 2010 18:21, Luca Saiu writes: > Andy Wingo wrote: >> The toplevel references to bitvector-set! don't get cached, so the >> bitvector-set! gets looked up every time, and there is some unfortunate >> allocation in scm_from_locale_symboln. If you put it in a function, >> the variable g

[bug #30660] scm_from_locale_stringn allocates memory

2010-08-05 Thread Andy Wingo
URL: Summary: scm_from_locale_stringn allocates memory Project: Guile Submitted by: wingo Submitted on: Thu Aug 5 14:59:48 2010 Category: None Severity: 3 - Normal