Kneelawk / fractal-rs

Simple fractal viewer written in Rust
GNU Lesser General Public License v3.0
2 stars 0 forks source link

Improve CPU usage and only use async where necessary #7

Closed Kneelawk closed 2 years ago

Kneelawk commented 2 years ago

This does two things. First, this makes it so that Flow no longer runs Model methods inside a tokio runtime. This is helpful as it reduces the inter-thread communication every frame. Second, this slows the rate at which the GPU Device is polled so at not to waste CPU.