Skip to content
This repository has been archived by the owner on Apr 18, 2018. It is now read-only.

Slow handling of connection incoming buffer #33

Merged
merged 1 commit into from Feb 15, 2013
Merged

Slow handling of connection incoming buffer #33

merged 1 commit into from Feb 15, 2013

Commits on Feb 14, 2013

  1. Use array.array('c') as a type of incomming buffer

    A connection incoming buffer is extended using += operator. This leads
    to unnecessary memory allocations and significant performance drops when
    transferring big amounts of data (i. e. a few megabytes). Using of the array('c')
    (an array of bytes) data type enables us to handle incoming data efficiently.
    malor committed Feb 14, 2013
    Copy the full SHA
    31188de View commit details
    Browse the repository at this point in the history