Benoit Chesneau b3b98b1322 perf(asgi): optimize HTTP parser for improved performance
- Read chunk size lines and trailers in 64-byte blocks instead of 1 byte
  at a time, pushing back excess data to the unreader buffer
- Reuse BytesIO buffers with truncate/seek instead of creating new
  objects to reduce GC pressure in AsyncUnreader
- Use bytearray.find() directly instead of converting to bytes first
  in header parsing loop
- Use index-based iteration for header parsing instead of list.pop(0)
  which is O(n) per pop vs O(1) for index access

Add tests for the optimized parsing code paths.
2026-02-18 10:00:46 +01:00
..
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 18:47:17 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 18:47:17 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-02-02 23:36:30 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 18:47:17 +01:00
2026-01-23 01:20:03 +01:00
2026-01-23 01:20:03 +01:00