optimize it lmao

This commit is contained in:
Nilstrieb 2021-03-05 18:11:15 +01:00
parent f4b33c7c03
commit e8845badf4
2 changed files with 4 additions and 1 deletions

View file

@ -7,3 +7,6 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
[profile.dev]
opt-level = 3

View file

@ -1,7 +1,7 @@
use mandelbrot_set::Config; use mandelbrot_set::Config;
fn main() { fn main() {
let config = Config::new(1, 4, 200, 100.0); let config = Config::new(1, 4, 1000, 100.0);
match mandelbrot_set::run(config) { match mandelbrot_set::run(config) {
Ok(s) => println!("{}", s), Ok(s) => println!("{}", s),