diff options
| author | Chai T. Rex <ChaiTRex@users.noreply.github.com> | 2024-08-26 01:36:25 -0400 |
|---|---|---|
| committer | Chai T. Rex <ChaiTRex@users.noreply.github.com> | 2024-08-28 23:07:04 -0400 |
| commit | 7af8e218da9d7d0b4b1c244ecd192bac8c847b1b (patch) | |
| tree | f6da3ced5854042fdfdef229e20530e9f86ee41c /compiler/rustc_interface/src | |
| parent | 0cac9152116b5b4e4c5f84a05e0ceb20dc325a0c (diff) | |
| download | rust-7af8e218da9d7d0b4b1c244ecd192bac8c847b1b.tar.gz rust-7af8e218da9d7d0b4b1c244ecd192bac8c847b1b.zip | |
Speed up `checked_isqrt` and `isqrt` methods
* Use a lookup table for 8-bit integers and the Karatsuba square root algorithm for larger integers. * Include optimization hints that give the compiler the exact numeric range of results.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
