Got a 10x speedup in aurora-rust today by accident.
3ms → 323µs
Turns out .chars().nth(n) in Rust is O(n), not O(1). Was calling it every single token.
Switched to Vec<char> upfront. That's it.
#Rust
Optional param (age?: number) !== param that can be undefined (age: number | undefined).
I pick the second—clearer intent, fewer footguns, better APIs.
TypeScript rewards explicitness.
#TypeScript#CleanCode#DevTips#Programming
Claude Sonnet 4.5 in GitHub Copilot isn’t slower — it just feels dumber near the end of the month 😑 Same prompts, worse reasoning, more nonsense outputs 🧠 Anyone else seeing this?🤔
#Claude#Copilot#AI#DevTools#Programming