Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Poor performance on Connection.recv() with large values of bufsiz. #577
Discovered while investigating requests/requests#3729.
When allocating a buffer using CFFI's
We don't need a zeroed buffer for this:
Instead, a coping method might be to silently clamp the maximum value of
I should note, however, that this coping method still imposes a substantial cost when downloading data that is not incurred by the standard library's