Replace deque in StreamReader with bytearray
Aperta
enhancement
- Lingua principale
- Python
- Stelle
- 16.5k
- Fork
- 2.4k
- Merge medio
- 17h 22m
- PR unite (30g)
- 212
Descrizione
`bytearray` is highly optimized for appending to the right and removing from the left.
On resizing it keeps up to 50% free space at the begin of buffer before performing a memory reallocation.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.