static_sname

Macro static_sname 

Source
macro_rules! static_sname {
    ($str:literal) => { ... };
}
Expand description

Creates and gets a reference to a static StringName from a ASCII/Latin-1 c"string".

This is the fastest way to create a StringName repeatedly, with the result being cached and never released, like SNAME in Godot source code. Suitable for scenarios where high performance is required.