pub trait LogosStrPushInt {
// Required method
fn push_i64(&mut self, v: i64);
}Expand description
Fast decimal append of an i64 to a String. The write!(s, "{}", i) the
string-builder used to emit routes every integer through the fmt::Display
vtable + formatter machinery; this writes the digits straight into a stack
buffer and push_strs once — ~1.5× faster on integer-heavy string building
(measured: 20.7ms → 13.6ms on a 2M-int build loop), byte-identical output.
Exposed as a method so codegen can emit s.push_i64(x) and get the same
auto-ref/deref behavior as the existing s.push_str(&x) fast path.