Fix 25.2.0 changelog: correct ASGI parser optimization description

Remove inaccurate BytesIO claims - the callback parser uses bytearray directly.
This commit is contained in:
Benoit Chesneau 2026-03-25 09:42:07 +01:00
parent dcaf2e14a5
commit 18f5d0ea95

View File

@ -27,8 +27,7 @@
### Performance
- **ASGI HTTP Parser Optimizations**: Improve ASGI worker HTTP parsing performance
- Read chunks in 64-byte blocks instead of 1 byte at a time for chunk size lines and trailers
- Reuse BytesIO buffers with truncate/seek instead of creating new objects (reduces GC pressure)
- Callback-based parsing with direct `bytearray` buffer operations
- Use `bytearray.find()` directly instead of converting to bytes first
- Use index-based iteration for header parsing instead of `list.pop(0)` (O(1) vs O(n))