Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gPH45
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
gPH45
9y ago
Interesting micro-optimizations... For example the use of lookup tables and nested switches in uri.rs and method.rs. Is this common practice in Rust? Shouldn't the compiler be smart enough to do that for you? Such code seems quite sens