dtolnay/watt
View on GitHubHand off code to a preinstalled optimized runtime if available
Open
#2 opened on Oct 14, 2019
help wanted
Repository metrics
- Stars
- (1,501 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
From some rough tests, Watt macro expansion when compiling the runtime in release mode is about 15x faster than when the runtime is compiled in debug mode.
Maybe we can set it up such that users can run something like cargo install watt-runtime and then our debug-mode runtime can detect whether that optimized runtime is installed; if it is, then handing off the program to it.