top | item 22967550

(no title)

snippy | 5 years ago

I've written an image processing tool in Rust, where running a large image downscaling test with a release build takes 2.0 seconds, and with a debug build it takes 18.7 seconds. So most of the time during development I compiled in release mode, because it was actually faster overall.

For many applications debug builds are fast enough, but their runtime performance is already so slow, that I hope they don't get even slower.

discuss

order

hobofan|5 years ago

It could certainly be a config flag on the profile that can be optionally enabled, and wouldn't need to be enabled by default.