mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-03 03:01:31 +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
|
### Performance
|
||||||
|
|
||||||
- **ASGI HTTP Parser Optimizations**: Improve ASGI worker HTTP parsing 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
|
- Callback-based parsing with direct `bytearray` buffer operations
|
||||||
- Reuse BytesIO buffers with truncate/seek instead of creating new objects (reduces GC pressure)
|
|
||||||
- Use `bytearray.find()` directly instead of converting to bytes first
|
- 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))
|
- 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