about summary refs log tree commit diff
path: root/src/test/bench
AgeCommit message (Collapse)AuthorLines
2013-02-22test: De-mut the test suite. rs=demutingPatrick Walton-47/+60
2013-02-22auto merge of #5081 : brson/rust/pipes, r=pcwaltonbors-33/+30
r?
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-33/+30
2013-02-21Remove the last bits of structural records from tests/rustc/rusti/rustpkg.Luqman Aden-2/+0
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-6/+6
2013-02-19auto merge of #5006 : tedhorst/rust/linear_mand, r=brsonbors-40/+44
2013-02-19test: fix seeded_rng usesGraydon Hoare-8/+8
2013-02-19update copyright datesTed Horst-1/+1
2013-02-19move shootout-mandelbrot to LinearMap, add depth argumentTed Horst-39/+43
2013-02-18Add benchmarks to measure differences in bit vectorsAlex Crichton-0/+180
2013-02-17Modernize bitv mut fields and explicit selfAlex Crichton-2/+2
2013-02-16modernize std::dequeDaniel Micay-6/+5
* use a proper exported data type with private fields * implement core::container::Container * use the current constructor convention * use explicit self * get rid of DVec and the mutable fields Closes #2343
2013-02-15auto merge of #4969 : nickdesaulniers/rust/issue3869, r=brsonbors-4/+4
Issue #3869 review? @nikomatsakis Convert all uses of vec::slice to vec::view Issue #3869 Rename const_view to const_slice Renamed mut_view to mut_slice Fix windows build error. `buf` is borrowed by the call to `as_mut_buf()` and so we must invoke `slice()` outside of that call.
2013-02-15tests/tutorials: Get rid of `move`.Luqman Aden-100/+98
2013-02-14Convert all uses of vec::slice to vec::view Issue #3869Nick Desaulniers-4/+4
Rename const_view to const_slice Renamed mut_view to mut_slice
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-4/+4
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-10/+10
2013-02-13RIMOV core::vecBen Striegel-7/+7
Also remove as many uses as possible of vec::cast_to_mut and cast_from_mut
2013-02-08oldmap: get rid of legacy _ref suffixesDaniel Micay-2/+2
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-23/+30
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-05oldmap: use &K instead of K in find and getPatrick Walton-5/+5
This reverts commit a4250a96fdf61142a9c8dbb6d37ae8435c99e396. This is not the cause of the nonexhaustive-match failure.
2013-02-05Revert "oldmap: use &K instead of K in find and get"Graydon Hoare-5/+5
This reverts commit 8e643525d4e5bca993dada43615916c382a0645b.
2013-02-04auto merge of pull req #4777 from thestinger/rust, r=graydonbors-5/+5
2013-02-04Merge remote-tracking branch 'bstrie/rimov' into incomingBrian Anderson-12/+12
Conflicts: src/libsyntax/parse/parser.rs src/test/bench/graph500-bfs.rs src/test/bench/sudoku.rs src/test/run-pass/borrowck-mut-vec-as-imm-slice.rs src/test/run-pass/empty-mutable-vec.rs src/test/run-pass/foreach-nested.rs src/test/run-pass/swap-2.rs
2013-02-03oldmap: use &K instead of K in find and getDaniel Micay-5/+5
2013-02-03Merge remote-tracking branch 'thestinger/old_map' into incomingBrian Anderson-62/+61
Conflicts: src/test/bench/core-map.rs
2013-02-03Fixed `fmt!`, tests, doc-tests.Marvin Löbel-16/+16
2013-02-03oldmap: &K instead of K for the remove parameterDaniel Micay-3/+3
2013-02-03oldmap: remove legacy each methodDaniel Micay-3/+2
2013-02-03oldmap: implement core::container::ContainerDaniel Micay-1/+1
2013-02-03oldmap: get rid of the legacy contains_key methodDaniel Micay-1/+1
2013-02-03rename map -> oldmap and mark it as deprecatedDaniel Micay-54/+54
LinearMap is quite a bit faster, and is fully owned/sendable without requiring copies. The older std::map also doesn't use explicit self and relies on mutable fields.
2013-02-01Remove fail keyword from lexer & parser and clean up remaining calls toNick Desaulniers-1/+1
fail Fix merge conflicts - Issue 4524
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-1/+1
2013-01-31modernize smallintmapDaniel Micay-9/+8
* switch to explicit self * get rid of the @ box * replace DVec with ~[] (to get rid of the mutable field) * implement the new container::Map trait
2013-01-31move smallintmap to oldsmallintmapDaniel Micay-4/+4
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-8/+8
2013-01-31Finalize moves-based-on-type implementation.Niko Matsakis-1/+2
Changes: - Refactor move mode computation - Removes move mode arguments, unary move, capture clauses (though they still parse for backwards compatibility) - Simplify how moves are handled in trans - Fix a number of illegal copies that cropped up - Workaround for bug involving def-ids in params (see details below) Future work (I'll open bugs for these...): - Improve error messages for moves that are due to bindings - Add support for moving owned content like a.b.c to borrow check, test in trans (but I think it'll "just work") - Proper fix for def-ids in params Def ids in params: Move captures into a map instead of recomputing. This is a workaround for a larger bug having to do with the def-ids associated with ty_params, which are not always properly preserved when inlining. I am not sure of my preferred fix for the larger bug yet. This current fix removes the only code in trans that I know of which relies on ty_param def-ids, but feels fragile.
2013-01-30test: De-export sudoku. rs=burningtreePatrick Walton-6/+4
2013-01-31Fix bench/sudoku, broken by deëxportingBen Striegel-6/+4
2013-01-30Repair RIMOV damage to benchmarksBen Striegel-7/+7
2013-01-30RIMOV, round 10Ben Striegel-1/+1
find ./ -type f -name "*.rs" -exec sed -i "s/~\[mut /~\[/g" {} \;
2013-01-30RIMOV, round 5Ben Striegel-3/+3
find ./ -type f -name "*.rs" -exec sed -i "s/\&\[mut /\&mut \[/g" {} \;
2013-01-30RIMOV, round 3Ben Striegel-1/+1
find ./ -type f -name "*.rs" -exec sed -i "s/let \(.*\)\[mut[ ]\?/let mut \1\[/g" {} \;
2013-01-30test: De-export aux, bench, compile-fail, and run-fail. rs=deexportingPatrick Walton-2/+1
2013-01-30Remove oldcomm from the test suiteBrian Anderson-565/+67
2013-01-29librustc: Disallow trait bounds in types, enumerations, and structure ↵Patrick Walton-6/+6
definitions. r=tjc
2013-01-28testsuite: De-record most bench testsTim Chevalier-62/+78
2013-01-28testsuite: Allow structural records in two tests that use pipesTim Chevalier-0/+6
2013-01-23Merge pull request #4594 from thestinger/mapTim Chevalier-34/+176
more work on the map trait and TreeMap/LinearMap