std::format
than sstreamstd::ostringstream
fell behing sprintf
Vec<u8>
&str
can point to part of a String
std::string
is like Vec<u8>
String
std::stringstream
vs snprintf
unique_ptr
is unfortunately also not entirely zero-costBox
is, though!std::unique_ptr
is the move constructor which runs codeOption<&i32>
is a zero-cost abstraction over C++'s int32_t *
struct OurBool:
var value: __mlir_type.i1
fn __init__(inout self):
self.value = __mlir_op.`index.bool.constant`[
value : __mlir_attr.`false`,
]()
tid
?tid = 0
since there is no sequence guarantee herescripts/check_config_variables.py
which checks if config variables defined in src/game/variables.h
and src/engine/shared/config_variables.h
are unused.
Remove unnecessary usage of the preprocessor that was causing false positives for the check.
Remove unused config variables:
dbg_focus
gfx_tune_overlay
sv_external_port
dbg_pref
dbg_stress_network
sv_score_folder
sv_rank_cheats