diff options
| author | Guillaume Pinot <texitoi@texitoi.eu> | 2014-05-01 16:02:44 +0200 |
|---|---|---|
| committer | Guillaume Pinot <texitoi@texitoi.eu> | 2014-05-01 20:10:16 +0200 |
| commit | 593f6a42d01070c7217c1241e8783b4e908884bb (patch) | |
| tree | 794b852209b96896f9812f37ad1595c6410bc4c4 /src/rustllvm/RustWrapper.cpp | |
| parent | 239557de6de72748a5c7604081b202d53f7d9ac9 (diff) | |
| download | rust-593f6a42d01070c7217c1241e8783b4e908884bb.tar.gz rust-593f6a42d01070c7217c1241e8783b4e908884bb.zip | |
BigUint always use u64 as the internal machine unsigned integer
This change allow a speedup of ~1.5 on shootout-pidigits on a i32 system. `DoubleBigDigit` is used to abstract the internal unsigned integer used in computation to simplity future architecture specialization. `BigDigit::from_uint` and `BigDigit::to_uint` become `BigDigit::from_doublebigdigit` and `BigDigit::to_doublebigdigit`. [breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
