aio-libs / aio-libs/aiohttp

Replace deque in StreamReader with bytearray

Aperta
#2,971 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
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.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.