bug#13188: Whats' the proper senario of par-map? (Was Re: bug#13188: par-map causes VM stack overflow)

2013-03-28 Thread Ludovic Courtès
Mark H Weaver skribis: > Nala Ginrut writes: > >> But I'm still puzzled with the performance of par-map: >> cut--- >> scheme@(guile-user)> ,time (define a (map (lambda (x) (expt x 5)) (iota >> 1))) >> ;; 0.008019s real time, 0.007979s run time. 0.00s

bug#13188: Whats' the proper senario of par-map? (Was Re: bug#13188: par-map causes VM stack overflow)

2013-03-28 Thread Mark H Weaver
Hi Ludovic, l...@gnu.org (Ludovic Courtès) writes: > Mark H Weaver skribis: > >> It only makes sense to use 'par-map' when the procedure is fairly >> expensive to compute. > > Indeed. > >> There is inevitably a lot of overhead in creating and joining the >> threads. > > We use a thread pool, so

bug#13188: Whats' the proper senario of par-map? (Was Re: bug#13188: par-map causes VM stack overflow)

2013-03-28 Thread Ludovic Courtès
Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Mark H Weaver skribis: >> >>> It only makes sense to use 'par-map' when the procedure is fairly >>> expensive to compute. >> >> Indeed. >> >>> There is inevitably a lot of overhead in creating and joining the >>> threads. >> >>

bug#14080: Guile bug building from source with pkg-config

2013-03-28 Thread Mark Sutton
Hi, I can ./configure make make install guile-2.0.7 from source, however, when I then try in build guile-clutter or guile-ncurses from source I get errors in both. After googling I found that I should have ./configure PKG_CONFIG=true. When I try this, it configures okay, however, I get the f

bug#13188: Whats' the proper senario of par-map? (Was Re: bug#13188: par-map causes VM stack overflow)

2013-03-28 Thread Nala Ginrut
On Thu, 2013-03-28 at 01:05 -0400, Mark H Weaver wrote: > Nala Ginrut writes: > > > But I'm still puzzled with the performance of par-map: > > cut--- > > scheme@(guile-user)> ,time (define a (map (lambda (x) (expt x 5)) (iota > > 1))) > > ;; 0.008019s real