Build it with optimization flags.
cargo run --release
More Related Contents:
- Traits and Rust
- Why do try!() and ? not compile when used in a function that doesn’t return Option or Result?
- Why does linking lifetimes matter only with mutable references?
- Why is adding a lifetime to a trait with the plus operator (Iterator + ‘a) needed?
- Should trait bounds be duplicated in struct and impl?
- How do I collect into an array?
- Cannot borrow as mutable more than once at a time in one code – but can in another very similar
- Is it considered a bad practice to implement Deref for newtypes?
- Implementing a trait for multiple types at once
- How do I get an owned value out of a `Box`?
- How do I borrow a RefCell, find a key, and return a reference to the result? [duplicate]
- How can I store a Chars iterator in the same struct as the String it is iterating on?
- Converting from Option to Option
- How to disable unused code warnings in Rust?
- Is there a way other than traits to add methods to a type I don’t own?
- How do you use parent module imports in Rust?
- Why is the `Sized` bound necessary in this trait?
- Is it possible to return either a borrowed or owned type in Rust?
- How do I overcome match arms with incompatible types for structs implementing same trait?
- Example of how to use Conditional Compilation Macros in Rust
- How can I call a raw address from Rust?
- Is there a way to perform an index access to an instance of a struct?
- How to take ownership of T from Arc?
- Is there any trait that specifies numeric functionality?
- Why would I use divergent functions?
- How to generate statically linked executables?
- Why can I iterate over a slice twice, but not a vector?
- When is it necessary to circumvent Rust’s borrow checker?
- Why do I get “does not live long enough” in a return value?
- Is there a way to get the field names of a struct in a macro?