bytes() += bytes() copies both buffers into a new one, causing exponential cost and gradual slow-down. Replacing with StringIO improves that |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| stream.py | ||
| ws_client_test.py | ||
| ws_client.py | ||
bytes() += bytes() copies both buffers into a new one, causing exponential cost and gradual slow-down. Replacing with StringIO improves that |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| stream.py | ||
| ws_client_test.py | ||
| ws_client.py | ||