ruff/crates/ruff_python_literal
konstin 6bd83d36ee Replace num_bigint with malachite
[malachite](https://www.malachite.rs/) is an arbitrary precision crate that unlike num_bigint implement as small integer optimization. This avoids allocating a `Vec` for every single number parse and instead only allocates for rare unusually large numbers.

This is also a correctness improvement since we'd previously just ignore the higher parts of unreasonably large numbers.

The disadvantage is that malachite is slow to compile.
2023-09-19 12:02:32 +02:00
..
src Replace num_bigint with malachite 2023-09-19 12:02:32 +02:00
Cargo.toml Remove unused runtime string formatting logic (#6624) 2023-08-16 17:38:33 +00:00