Macro deno_core::ascii_str

source ·
macro_rules! ascii_str {
    ($str:expr) => { ... };
}
Expand description

Include a fast string in the binary from a string literal. This string is asserted at compile-time to be 7-bit ASCII for optimal v8 performance.

This macro creates a FastStaticString that may be converted to a FastString via Into::into.