Re: [Python-Dev] PEP 550 v4: Decimal examples and performance

2017-08-27 Thread Stefan Krah
On Sat, Aug 26, 2017 at 12:21:44PM -0400, Yury Selivanov wrote: > On Sat, Aug 26, 2017 at 7:45 AM, Stefan Krah wrote: > >> This generic caching approach is similar to what the current C > >> implementation of ``decimal`` does to cache the the current decimal > >> context, and has similar performan

Re: [Python-Dev] PEP 550 v4: Decimal examples and performance (was: Re: PEP 550 v4)

2017-08-26 Thread Yury Selivanov
On Sat, Aug 26, 2017 at 7:45 AM, Stefan Krah wrote: > > Hi, > > thanks, on the whole this is *much* easier to understand. Thanks! > I'll add some comments on the decimal examples. The thing is, decimal > is already quite tricky and people do read PEPs long after they have > been accepted, so the

[Python-Dev] PEP 550 v4: Decimal examples and performance (was: Re: PEP 550 v4)

2017-08-26 Thread Stefan Krah
Hi, thanks, on the whole this is *much* easier to understand. I'll add some comments on the decimal examples. The thing is, decimal is already quite tricky and people do read PEPs long after they have been accepted, so they should probably reflect best practices. On Fri, Aug 25, 2017 at 06:32: