seanmonstar/httparse
View on GitHub ↗ ★ 718 Rust
A push parser for the HTTP 1.x protocol in Rust.
3 mentions on Hacker News by 2 people: 0 stories, 3 comments · first 2024-01-26 · latest 2024-01-26
20082026
-
…compiler has an opportunity to constant-fold in some cases. I raised a PR to fix the benchmarks: https://github.com/seanmonstar/httparse/pull/151
comment by andrewaylett · 2024-01-26 · in Unsafe at Any Speed: Tradeoffs and Values in the Rust Ecosystem -
You mean like this one? https://github.com/seanmonstar/httparse/pull/86/files#diff-4...
comment by andrewaylett · 2024-01-26 · in Unsafe at Any Speed: Tradeoffs and Values in the Rust Ecosystem -
…“unsafe,” so people will write better code. But it really looks like httparse missed the memo. https://github.com/seanmonstar/httparse/blob/v1.8.0/src/iter... iter::Bytes looks like an awkward wrapper around slices with all the safety…
comment by amluto · 2024-01-26 · in Unsafe at Any Speed: Tradeoffs and Values in the Rust Ecosystem