You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let tbl = vld1q_u8_x4(ESCAPE.as_ptr());// first 64 B of the escape table
19
23
let slash = vdupq_n_u8(b'\\');
20
24
letmut i = 0;
21
-
letmut placeholder:[u8;16] = core::mem::zeroed();
25
+
// Re-usable scratch – *uninitialised*, so no memset in the loop.
26
+
// Using MaybeUninit instead of mem::zeroed() prevents the compiler from inserting an implicit memset (observable with -Cllvm-args=-print-after=expand-memcmp).
27
+
// This is a proven micro-optimisation in Rust's standard library I/O stack.
0 commit comments