-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
A-designAbout RustPython's own implementationAbout RustPython's own implementationRFCRequest for commentsRequest for comments
Description
Summary
Currently we are using a num-bigint, a pure rust implement for BigInt support, but at lease now the implement is bit naive especially do not have small int optimize witch is a big deal.
The fastest BigInt implement I know is gmplib witch part of GNU, there is a high-level wrapper https://docs.rs/rug/latest/rug/ witch looks really nice.
Detailed Explanation
Drawbacks, Rationale, and Alternatives
I am worried about the platform supporting mostly for webassembly, I don't see gmplib has offical support for that. and compiling on Windows seem like depends on MingW.
Otherwise we probably need to have our own implement.
fanninpm and Masorubka1DimitrisJim
Metadata
Metadata
Assignees
Labels
A-designAbout RustPython's own implementationAbout RustPython's own implementationRFCRequest for commentsRequest for comments