rust/src/libcore
bors 868b7c153c auto merge of #6073 : huonw/rust/core-rust-isaac, r=pcwalton
This replaces the wrapper around the runtime RNG with a pure Rust implementation of the same algorithm. This is much faster (up to 5x), and is hopefully safer.

There is still (a little) room for optimisation: testing by summing 100,000,000 random `u32`s indicates this is about ~~40-50%~~ 10% slower than the pure C implementation (running as standalone executable, not in the runtime).

(Only 6d50d55 is part of this PR, the first two are from #6058, but are required for the rt rng to be correct to compare against in the tests.)
2013-04-29 18:24:37 -07:00
..
num auto merge of #6110 : bjz/rust/numeric-traits, r=pcwalton 2013-04-29 13:39:37 -07:00
rt test: Fix tests. 2013-04-29 14:30:56 -07:00
str Fixed typo... And a billion other things. 2013-04-24 22:28:02 +02:00
task librustc: Rename reinterpret_cast to transmute_copy and remove the intrinsic 2013-04-29 14:30:53 -07:00
unstable librustc: Rename reinterpret_cast to transmute_copy and remove the intrinsic 2013-04-29 14:30:53 -07:00
at_vec.rs librustc: Rename reinterpret_cast to transmute_copy and remove the intrinsic 2013-04-29 14:30:53 -07:00
bool.rs bool: implement Ord and TotalOrd 2013-04-11 19:01:03 -04:00
cast.rs test: Fix tests. 2013-04-29 14:30:56 -07:00
cell.rs auto merge of #5966 : alexcrichton/rust/issue-3083, r=graydon 2013-04-22 15:36:51 -07:00
char.rs implement Ord, TotalEq and TotalOrd for char 2013-04-25 15:43:16 -04:00
cleanup.rs Removing unused imports 2013-03-28 23:56:46 -04:00
clone.rs clone: managed boxes need to clone by shallow copy 2013-04-08 16:19:12 -04:00
cmp.rs implement Ord, TotalEq and TotalOrd for char 2013-04-25 15:43:16 -04:00
comm.rs test: Fix more tests. 2013-04-29 14:30:57 -07:00
condition.rs core: changes in response to #5656 2013-04-10 17:32:03 -07:00
container.rs core: changes in response to #5656 2013-04-10 17:32:03 -07:00
core.rc auto merge of #6110 : bjz/rust/numeric-traits, r=pcwalton 2013-04-29 13:39:37 -07:00
either.rs librustc: Remove fail_unless! 2013-03-29 16:39:08 -07:00
flate.rs librustc: Remove ptr::addr_of. 2013-04-29 14:30:53 -07:00
from_str.rs libcore: Remove pure from libcore. rs=depure 2013-03-22 10:29:17 -07:00
gc.rs librustc: Remove ptr::addr_of. 2013-04-29 14:30:53 -07:00
hash.rs libcore,std,syntax,rustc: move tests into mod tests, make them private (no pub mod or pub fn). 2013-04-16 09:57:47 +10:00
hashmap.rs make way for a new iter module 2013-04-28 22:31:39 -04:00
io.rs core: io: the read_until function checks bytes not chars, so type should reflect that. 2013-04-18 23:36:38 +10:00
iter.rs make way for a new iter module 2013-04-28 22:31:39 -04:00
iterator.rs add a Counter iterator 2013-04-24 19:57:02 -04:00
kinds.rs Register snapshots 2012-12-17 16:44:27 -08:00
libc.rs Fix issue #5976 - HANDLE leaks and undefined/bad behavour 2013-04-23 21:23:15 +01:00
logging.rs Remove unused imports throughout 2013-03-26 19:20:02 -04:00
managed.rs librustc: Remove ptr::addr_of. 2013-04-29 14:30:53 -07:00
nil.rs add a TotalEq trait 2013-03-27 17:29:10 -04:00
old_iter.rs make way for a new iter module 2013-04-28 22:31:39 -04:00
ops.rs Use #[cfg(not(stage0))] to exclude items from stage0 2013-04-25 08:20:00 +10:00
option.rs test: Fix tests. 2013-04-29 14:30:56 -07:00
os.rs core: Move mkdir_recursive from rustpkg into core::os 2013-04-26 15:51:22 -07:00
owned.rs libcore: Remove pure from libcore. rs=depure 2013-03-22 10:29:17 -07:00
path.rs librustc: Forbid type implementations on typedefs. 2013-04-29 14:30:57 -07:00
pipes.rs test: Fix more tests. 2013-04-29 14:30:57 -07:00
prelude.rs auto merge of #6110 : bjz/rust/numeric-traits, r=pcwalton 2013-04-29 13:39:37 -07:00
ptr.rs librustc: Rename reinterpret_cast to transmute_copy and remove the intrinsic 2013-04-29 14:30:53 -07:00
rand.rs auto merge of #6073 : huonw/rust/core-rust-isaac, r=pcwalton 2013-04-29 18:24:37 -07:00
reflect.rs Export adt::trans_get_discr abstractly to the type visitor. 2013-04-08 01:03:42 -07:00
repr.rs core: remove unused 'mut' variables 2013-04-20 21:02:38 -04:00
result.rs Rename vec::mod2 to vec::mod_zip 2013-04-25 01:38:44 -04:00
run.rs Refactor core::run to remove the ProgRepr struct, which was 2013-04-24 21:06:26 +01:00
stackwalk.rs librustc: Make &fn by-copy by default and remove the mode from frame_address. 2013-04-29 14:30:55 -07:00
str.rs librustc: Remove ptr::addr_of. 2013-04-29 14:30:53 -07:00
sys.rs test: Fix tests. 2013-04-29 14:30:56 -07:00
to_bytes.rs librustc: Modify all code to use new lifetime binder syntax 2013-03-26 21:30:17 -07:00
to_str.rs Added Ascii type 2013-04-20 22:51:55 +02:00
trie.rs core: changes in response to #5656 2013-04-10 17:32:03 -07:00
tuple.rs Rename vec::mod2 to vec::mod_zip 2013-04-25 01:38:44 -04:00
unicode.rs core: replace unicode match exprs with bsearch in const arrays, minor perf win. 2013-04-18 14:39:40 -07:00
unstable.rs Removing more unnecessary unsafe blocks throughout 2013-04-23 19:59:13 -04:00
util.rs librustc: Remove fail_unless! 2013-03-29 16:39:08 -07:00
vec.rs librustc: Remove ptr::addr_of. 2013-04-29 14:30:53 -07:00