Message 169022 - Python tracker (original) (raw)
After playing with the patch on Linux it seems that Linux much prefers the realloc() scheme to the list-of-chunks scheme.
What about the method call overhead in RawIO.readall(), and the different progression of buffer sizes? (the realloc scheme uses larger and larger read() sizes, while RawIO.readall() uses a constant read() size).
By the way, not every non-Windows OS is Linux, so the patch is wrong.