about summary refs log tree commit diff
path: root/src/test/bench/shootout-reverse-complement.rs
AgeCommit message (Collapse)AuthorLines
2014-10-02Revert "Put slicing syntax behind a feature gate."Aaron Turon-2/+0
This reverts commit 95cfc35607ccf5f02f02de56a35a9ef50fa23a82.
2014-10-02Put slicing syntax behind a feature gate.Nick Cameron-0/+2
[breaking-change] If you are using slicing syntax you will need to add #![feature(slicing_syntax)] to your crate.
2014-10-02Use slice syntax instead of slice_to, etc.Nick Cameron-1/+1
2014-09-16Fallout from renamingAaron Turon-5/+5
2014-09-07Relicense shootout-reverse-complement.rs to the shootout license.Guillaume Pinot-8/+38
Everyone agreed. Fix #17065
2014-05-13Touch up and rebase previous commitsAlex Crichton-1/+1
* Added `// no-pretty-expanded` to pretty-print a test, but not run it through the `expanded` variant. * Removed #[deriving] and other expanded attributes after they are expanded * Removed hacks around &str and &&str and friends (from both the parser and the pretty printer). * Un-ignored a bunch of tests
2014-04-06De-~[] Reader and WriterSteven Fackler-2/+2
There's a little more allocation here and there now since from_utf8_owned can't be used with Vec.
2014-04-02Fix fallout of requiring uint indicesAlex Crichton-5/+5
2014-03-11fix a bug in shootout-reverse-complement, official tests should pass with itGuillaume Pinot-1/+3
In the "reverse-complement" loop, if there is an odd number of element, we forget to complement the element in the middle. For example, if the input is "ggg", the result before the fix is "CgC" instead of "CCC". This is because of this bug that the official shootout says that the rust version is in "Bad Output". This commit should fix this error.
2014-02-11Change `xfail` directives in compiletests to `ignore`, closes #11363Florian Hahn-2/+2
2014-02-03Fixing remaining warnings and errors throughoutAlex Crichton-1/+2
2014-01-17xfail shootout-reverse-complement on androidBrian Anderson-0/+2
2013-12-04Revert "libstd: Change `Path::new` to `Path::init`."Kevin Ballard-1/+1
This reverts commit c54427ddfbbab41a39d14f2b1dc4f080cbc2d41b. Leave the #[ignores] in that were added to rustpkg tests. Conflicts: src/librustc/driver/driver.rs src/librustc/metadata/creader.rs
2013-12-04rewrite of shootout-reverse-complement.rsGuillaume Pinot-142/+70
This version is inspired by the best version in C by Mr Ledrug, but without the parallelisation.
2013-11-11Remove #[fixed_stack_segment] and #[rust_stack]Alex Crichton-1/+0
These two attributes are no longer useful now that Rust has decided to leave segmented stacks behind. It is assumed that the rust task's stack is always large enough to make an FFI call (due to the stack being very large). There's always the case of stack overflow, however, to consider. This does not change the behavior of stack overflow in Rust. This is still normally triggered by the __morestack function and aborts the whole process. C stack overflow will continue to corrupt the stack, however (as it did before this commit as well). The future improvement of a guard page at the end of every rust stack is still unimplemented and is intended to be the mechanism through which we attempt to detect C stack overflow. Closes #8822 Closes #10155
2013-10-01Migrate users of 'loop' to 'continue'Alex Crichton-1/+1
Closes #9467
2013-08-30Revert "src/test/bench: restructure"Corey Richardson-0/+152
This reverts commit 14cdc26e8a7794e437946f46df5769362b42acdf.
2013-08-28src/test/bench: restructureCorey Richardson-152/+0
2013-07-20Fix warnings in src/test/bench tests. Nobody will ever care.Ben Blum-1/+0
2013-06-28Convert vec::{reserve, reserve_at_least, capacity} to methods.Huon Wilson-4/+3
2013-05-22test: Update tests to use the new syntax.Patrick Walton-6/+6
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-1/+0
2013-04-19test: xfail some benchmarks that require external libraries or inputsPatrick Walton-0/+1
2013-04-19librustc: Remove debug code; xfail-pretty reverse-complement.Patrick Walton-0/+2
2013-04-19test: Implement pidigits and reverse-complementPatrick Walton-0/+152