mirror of
https://github.com/Noratrieb/mandelbrot-rust.git
synced 2026-01-16 08:15:03 +01:00
optimize it lmao
This commit is contained in:
parent
f4b33c7c03
commit
e8845badf4
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue