about summary refs log tree commit diff
path: root/src/test/bench
AgeCommit message (Collapse)AuthorLines
2013-06-14add IteratorUtil to the preludeDaniel Micay-6/+0
2013-06-13std: remove the invalid NullTerminatedStr instance for &'static str.Huon Wilson-1/+1
A slice of a 'static str is still 'static, but doesn't necessarily have the null terminator.
2013-06-12std: unify the str -> [u8] functions as 3 methods: .as_bytes() and ↵Huon Wilson-8/+7
.as_bytes_with_null[_consume](). The first acts on &str and is not nul-terminated, the last two act on strings that are always null terminated (&'static str, ~str and @str).
2013-06-11option: remove redundant old_iter implsDaniel Micay-2/+2
2013-06-10std: convert str::reserve* to methods, and methodise str::push_*.Huon Wilson-1/+1
2013-06-10std: replace str::find_str* with a methodHuon Wilson-1/+1
2013-06-10std: remove str::{len, slice, is_empty} in favour of methods.Huon Wilson-6/+6
2013-06-10std: replace str::each_split* with an iteratorHuon Wilson-2/+3
2013-06-08remove deprecated vec::{is_empty, len} functionsDaniel Micay-3/+3
2013-06-09std: remove foldr and alli methods in vecHuon Wilson-1/+1
2013-06-09std: remove {all*,any*,count} in favour of iteratorsHuon Wilson-2/+3
2013-06-08std: remove each[i]_mut functions, in favour of iterators.Huon Wilson-6/+9
2013-06-08std: remove vec::each2 and vec::each2_mut in favour of iteratorsHuon Wilson-3/+3
2013-06-04librustc: Disallow multiple patterns from appearing in a "let" declaration.Patrick Walton-6/+15
You can still initialize multiple variables at once with "let (x, y) = (1, 2)".
2013-06-04std::cell: Modernize constructorsPhilipp Brüschweiler-13/+13
Part of #3853
2013-06-01Swap return value of pipes::init Fixes #4501Nick Desaulniers-8/+8
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-13/+13
2013-05-30Remove a bunch of unnecessary allocations and copiesBjörn Steinbrink-18/+18
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-28/+165
2013-05-24Remove the get functionOlivier Saut-7/+7
Rust is now preferring methods over functions and there is no legacy with ARC
2013-05-22test: Update tests to use the new syntax.Patrick Walton-141/+141
2013-05-19auto merge of #6106 : thestinger/rust/iter, r=bstriebors-1/+1
I don't have a strong opinion on the function vs. method, but there's no point in having both. I'd like to make a `repeat` adaptor like Python/Haskell for turning a value into an infinite stream of the value, so this has to at least be renamed.
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-30/+30
2013-05-18replace old_iter::repeat with the Times traitDaniel Micay-1/+1
2013-05-15Rename vec::len(var) to var.len()Youngmin Yoo-6/+6
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-6/+6
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-13test: Fix broken benchmark testPatrick Walton-3/+3
2013-05-10Fix tests with the swap operatorAlex Crichton-2/+2
2013-05-10Stop using the '<->' operatorAlex Crichton-7/+7
2013-05-10test: Use the new `for` protocolAlex Crichton-5/+2
2013-05-08test: Fix modes in the benchmarks.Patrick Walton-17/+12
2013-05-08test: Fix tests and the pipe compilerPatrick Walton-49/+83
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-16/+7
2013-05-02librustc: Update the serializer to work properly with INHTWAMA, removing ↵Patrick Walton-11/+12
mutable fields in the process
2013-04-29test: Fix tests.Patrick Walton-16/+16
2013-04-29test: Remove #[legacy_modes] from the test suite.Patrick Walton-11/+2
2013-04-29librustc: Remove `ptr::addr_of`.Patrick Walton-4/+4
2013-04-28make way for a new iter moduleDaniel Micay-1/+1
2013-04-24Fixed typo... And a billion other things.Marvin Löbel-2/+7
2013-04-24libcore: unify `gen_<type>` methods on `rand::RngUtil` into the generic `gen`.Huon Wilson-17/+14
This moves all the basic random value generation into the Rand instances for each type and then removes the `gen_int`, `gen_char` (etc) methods on RngUtil, leaving only the generic `gen` and the more specialised methods. Also, removes some imports that are redundant due to a `use core::prelude::*` statement.
2013-04-24libcore: remove @Rng from rand, and use traits instead.Huon Wilson-19/+19
Also, rename RandRes -> IsaacRng, and make the constructors static methods.
2013-04-21Changed shootout-fasta-redux to use size_t when calling fwrite, removed XFAILMatthijs Hofstra-6/+4
2013-04-20xfail two benchmarks that are failing on the botsBrian Anderson-0/+4
2013-04-21testsuite: update tests to not use math intrinsics directlyHuon Wilson-7/+3
2013-04-19test: xfail some benchmarks that require external libraries or inputsPatrick Walton-0/+5
2013-04-19librustc: Remove debug code; xfail-pretty reverse-complement.Patrick Walton-0/+2
2013-04-19test: Rewrite mandelbrot benchmark.Patrick Walton-175/+53
2013-04-19test: Implement pidigits and reverse-complementPatrick Walton-0/+328
2013-04-19Move shootout-k-nucleotide to benchPatrick Walton-0/+314
2013-04-19test: Add fannkuch-redux and fasta-redux shootout benchmarksPatrick Walton-81/+299