• Raymond Hettinger's avatar
    SF patch #1020845: Decimal performance enhancements · 636a6b10
    Raymond Hettinger yazdı
    (Contributed by Nick Coghlan.)
    
    Various code cleanups and optimizations (saves about 40% on testsuite
    execution time and on the telco benchmark).
    
    * caches results of various operations on self (esp. checks for being
      a special value).
    
    * _WorkRep now uses ints and longs for intermediate computations.
    636a6b10
decimal.py 103 KB