Better HN
topnewbestaskshowjobs
Log inSign up

gPH45

2 karma · joined Aug 1, 2017 (9y ago) · 1 submissions

Submissions

comment 9y ago · link · parent

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 sensitive to typos.