about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Pinot <texitoi@texitoi.eu>2014-05-01 16:02:44 +0200
committerGuillaume Pinot <texitoi@texitoi.eu>2014-05-01 20:10:16 +0200
commit593f6a42d01070c7217c1241e8783b4e908884bb (patch)
tree794b852209b96896f9812f37ad1595c6410bc4c4 /src/rustllvm/RustWrapper.cpp
parent239557de6de72748a5c7604081b202d53f7d9ac9 (diff)
downloadrust-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