| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@vstinner, @serhiy-storchaka, please review. I removed const's, added assert's, also handling value case now more simple. It seems, difference too small to measure on my system:
Benchmark hidden because not significant (1): int(Decimal(1<<3000)) (*) only-qset_i64 - current version. @serhiy-storchaka, if you prefer runtime checks over asserts - I'll cache layout parameters in the decimal module state (though, seems odd for me). |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM. Thanks.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM. I'm a little bit sad that the change makes the code a little bit slower, but I guess that's the price of abstraction.
Sorry, something went wrong.
|
Merged, thanks. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
For reviewers: in the history included version, where PyLong_Export always set digits.
Benchmark hidden because not significant (1): Decimal(1<<3000)
benchmark code