You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Antoine Pitrou / @pitrou:
Ok. The term "read ahead" is a bit misleading, because it implies that I/O is hidden in the background, which is not how a buffering layer works (the buffer is filled up synchronously when empty, it's not fed by a separate thread).
Can we-reuse io.BufferedReader for this or is the intention to have a similar primitive written in C++? Also, does it return a InputStream or a full-blown RandomAccessFile (the latter is quite a bit more difficult to get right and optimize).
Wes McKinney / @wesm: @kszucs would you be interested in working on this? My thinking is to add a buffer_size argument to both pyarrow.input_stream and output_stream. After a raw reader or writer is created, if this argument it set, it will be wrapped in either a BufferedInputStream or BufferedOutputStream as appropriate
Wes McKinney / @wesm:
If someone else could pick this up I would be appreciative. If I finish the other work assigned to me this week and this is not done, I will pick it up
Reporter: Wes McKinney / @wesm
Assignee: Krisztian Szucs / @kszucs
PRs and other links:
Note: This issue was originally created as ARROW-3126. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: