summary refs log tree commit diff
path: root/src/test/bench
AgeCommit message (Collapse)AuthorLines
2013-06-30Remove vec::{map, mapi, zip_map} and the methods, except for .map, since thisHuon Wilson-15/+14
is very common, and the replacement (.iter().transform().collect()) is very ugly.
2013-06-30Convert vec::{rposition, rposition_elem, position_elem, contains} to methods.Huon Wilson-1/+1
2013-06-28auto merge of #7466 : thestinger/rust/passes, r=cmrbors-4/+4
2013-06-28copy the optimization passes from clangDaniel Micay-4/+4
2013-06-28Fix threadringCorey Richardson-1/+3
2013-06-28librustc: Remove the broken overloaded assign-ops from the language.Patrick Walton-8/+9
They evaluated the receiver twice. They should be added back with `AddAssign`, `SubAssign`, etc., traits.
2013-06-28librustc: Disallow "mut" from distributing over bindings.Patrick Walton-1/+4
This is the backwards-incompatible part of per-binding-site "mut".
2013-06-28librustc: Change "Owned" to "Send" everywherePatrick Walton-3/+3
2013-06-28Convert vec::{reserve, reserve_at_least, capacity} to methods.Huon Wilson-4/+3
2013-06-27Convert vec::[mut_]slice to methods, remove vec::const_slice.Huon Wilson-13/+10
2013-06-26auto merge of #7111 : brson/rust/stack, r=brsonbors-9/+9
... through yields This avoids the following pathological scenario that makes threadring OOM: 1) task calls C using fast_ffi, borrowing a big stack from the scheduler. 2) task returns from C and places the big stack on the task-local stack segment list 3) task calls further Rust functions that require growing the stack, and for this reuses the big stack 4) task yields, failing to return the big stack to the scheduler. 5) repeat 500+ times and OOM (reopening after incoming fallout. *do not r+*. broken)
2013-06-26rt: Release big stacks immediately after use to avoid holding on to them ↵Brian Anderson-9/+9
through yields This avoids the following pathological scenario that makes threadring OOM: 1) task calls C using fast_ffi, borrowing a big stack from the scheduler. 2) task returns from C and places the big stack on the task-local stack segment list 3) task calls further Rust functions that require growing the stack, and for this reuses the big stack 4) task yields, failing to return the big stack to the scheduler. 5) repeat 500+ times and OOM Conflicts: src/rt/rust_task.cpp
2013-06-25auto merge of #7269 : luqmana/rust/drop, r=thestingerbors-1/+1
Finally rename finalize to drop. Closes #4332.
2013-06-25Change finalize -> drop.Luqman Aden-1/+1
2013-06-25remove `each` from vec, HashMap and HashSetDaniel Micay-7/+7
2013-06-23Updated shootout-fasta.rs copyright years, removed stuff that caused lint to ↵Matthijs Hofstra-18/+12
complain.
2013-06-23Fixed shootout-fasta.rs outputMatthijs Hofstra-10/+14
2013-06-23Added missing copyright notice to shootout-spectralnorm.Matthijs Hofstra-0/+10
2013-06-23Changed shootout-chameneos-redux output to conform to the 'official' output ↵Matthijs Hofstra-1/+1
format.
2013-06-23Updated copyright year on shootout-binarytrees.rsMatthijs Hofstra-21/+17
2013-06-23Fixed os:: and int:: not being in scope, changed io::println to printlnMatthijs Hofstra-4/+6
2013-06-23vec: remove BaseIter implementationDaniel Micay-11/+11
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-21vec: rm old_iter implementations, except BaseIterDaniel Micay-9/+9
The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`.
2013-06-21vec: remove eachiDaniel Micay-7/+7
replaced by the `enumerate` method from std::iterator
2013-06-18test: xfail bench/task-perf-one-million. OOM on 32-bit linux w/o optsBrian Anderson-0/+2
2013-06-16Add copies to type params with Copy boundNiko Matsakis-17/+9
2013-06-16fix benchmark and the tutorialsDaniel Micay-1/+2
2013-06-14rm MutableIterDaniel Micay-3/+3
replaced with mutable implementations of Iterator
2013-06-14rm ExtendedMutableIterDaniel Micay-1/+0
replaced with `xs.mut_iter().enumerate()`
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