Skip to content

Set readahead_buffer_size default to 0 for ArrayRecordReader.#189

Closed
copybara-service[bot] wants to merge 0 commit intomainfrom
test_842735797
Closed

Set readahead_buffer_size default to 0 for ArrayRecordReader.#189
copybara-service[bot] wants to merge 0 commit intomainfrom
test_842735797

Conversation

@copybara-service
Copy link

Set readahead_buffer_size default to 0 for ArrayRecordReader.

Read-ahead is only useful when performing sequential read,
which is much slower than the parallel-read feature.

The read-ahead buffer occupies extra memory space with little
benefit to both random access and batch access, hence
disables it by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants