Created
March 22, 2017 14:35
-
-
Save shradej1/c10df57bc3e0232b6a21929c2fcfe285 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![feature(test)] | |
extern crate test; | |
#[cfg(test)] | |
mod tests { | |
use test::Bencher; | |
#[bench] | |
fn it_works(b: &mut Bencher) { | |
b.iter(|| { let stack = [[[0.0; 2]; 512]; 512]; }); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment