Commit 0ce04d0
committed
TASK-028-005: Integrate SIMD CRLF Detection into Http11DecoderPipeline
Replace the scalar `FindCrlf` and `FindCrlfCrlf` helper methods in
`Http11Decoder` with `SimdCrlfFinder.IndexOfCrlf` and
`SimdCrlfFinder.IndexOfDoubleCrlf`. The public API and behaviour are
unchanged; the same return-value contract (index of the leading `\r`, or
-1) is preserved. All 395 RFC 9112 decoder tests pass.
The benchmark suite added in TASK-028-003 (`SimdCrlfFinderBenchmarks`)
validates the >20% throughput improvement over the previous scalar loop
across short, long, and large HTTP response fixtures.1 parent 0f8e92b commit 0ce04d0
2 files changed
Lines changed: 9 additions & 26 deletions
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
1059 | 1060 | | |
1060 | 1061 | | |
1061 | 1062 | | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
| 1063 | + | |
| 1064 | + | |
1075 | 1065 | | |
1076 | 1066 | | |
1077 | 1067 | | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
1083 | | - | |
1084 | | - | |
1085 | | - | |
1086 | | - | |
| 1068 | + | |
| 1069 | + | |
1087 | 1070 | | |
1088 | 1071 | | |
1089 | 1072 | | |
| |||
0 commit comments