Message 117785 - Python tracker (original) (raw)

Should be min(n, 1024) instead of max(...)

Well, no, because we want to buffer a non-trivial amount of bytes for the next accesses. So, if n < 1024, buffer at least 1024 bytes.