Day 1/30 — SearchValues (.NET & C#)
Spotted a hot path in a code review yesterday doing repeated char lookups against standard array allocations on every request.
• Memory Profile: Creating new char arrays inside loops causes unnecessary Gen0 GC pressure.
• Instruction Set: SearchValues caches vectorized tables at startup for SIMD register execution.
• Span Boundary: Operating directly on stack-allocated spans avoids managed heap overhead.
Watch out: Always cache the instance statically; recreating it defeats the vectorization gains.
What high-frequency parser are you profiling this week?

