mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-01 18:21:30 +08:00
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:
parent
dcaf2e14a5
commit
18f5d0ea95
@ -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))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user