| Bill Allombert on Mon, 05 Jun 2023 23:40:19 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: parsum and nbthreads |
On Mon, Jun 05, 2023 at 10:27:42PM +0200, Loïc Grenié wrote: > Le lun. 5 juin 2023 à 17:54, Bill Allombert < > Bill.Allombert@math.u-bordeaux.fr> a écrit : > > > On Mon, Jun 05, 2023 at 03:47:11PM +0200, Loďc Grenié wrote: > > > I've pushed a "loic-parsum" to pari git. It does not change the > > number > > > of > > > threads (I still think it's not optimal right now), however it > > addresses > > > most > > > of the problems I've illustrated before, should not hurt performance, > > as > > > far > > > as I can tell, and passes the tests involving parsum (export, parallel, > > > programming). > > > > > > The drawback is that it exports one more function (+1 line in > > paripriv, > > > and > > > +7 non-empty lines in src/functions/programming/parsum) and substitutes > > > two functions by a longer one (+14 non-empty lines in > > > src/language/eval.c). > > > > > > Could you consider it for inclusion, eventually modified? > > > > Sure. Do you have some tests where it makes a difference ? > > > > Sure. Applied, thanks! Cheers, Bill