mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-26 19:35:12 +00:00
file_data_source_impl always calls file::size(), which can be slow. This slows down applications that create many short-lived input streams on the same file (for random-access processing of a subset of the data). Fix by not calling size(), and letting the file code handle short reads itself.
4.9 KiB
4.9 KiB