dtolnay/watt

Hand off code to a preinstalled optimized runtime if available

Ouverte

#2 ouverte le 14 oct. 2019

 (33 commentaires) (2 réactions) (0 personne assignée)Rust (31 forks)github user discovery
help wanted

Métriques du dépôt

Stars
 (1 522 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur