about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-10-13 23:27:46 +0000
committerbors <bors@rust-lang.org>2014-10-13 23:27:46 +0000
commit1c3ddd297128a96f72be09bddf138e4e603a7aa1 (patch)
tree8ad80b85668ed8a8ef656d41b2350f95c49189b6 /src/rustllvm/RustWrapper.cpp
parent36d0346dff9eae54e81f3a5a8417bc1b9c897e78 (diff)
parent7cf1f55426570582224e0568c838a29c5f7db5ea (diff)
downloadrust-1c3ddd297128a96f72be09bddf138e4e603a7aa1.tar.gz
rust-1c3ddd297128a96f72be09bddf138e4e603a7aa1.zip
auto merge of #17888 : gmfawcett/rust/patch-1, r=alexcrichton
The Sieve algorithm only requires checking all elements up to and including the square root of the maximum prime you're looking for. After that, the remaining elements are guaranteed to be prime.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions