dtolnay/watt

Hand off code to a preinstalled optimized runtime if available

Aberta

#2 aberto em 14 de out. de 2019

 (33 comentários) (2 reações) (0 responsável)Rust (31 forks)github user discovery
help wanted

Métricas do repositório

Stars
 (1.522 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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.

Guia do colaborador