Closed jhermsmeier closed 7 years ago
This is a major refactoring & optimization of the blockmapped ReadStream to iron out some performance issues and bugs in behavior.
ReadStream
Changes:
debug
.blockInRange
.closed
.destroyed
.highWaterMark
autoClose
._readBlock()
highWaterMark
open()
close()
destroy()
fs.ReadStream
start
end
.options
.verify
Change-Type: major
This is a major refactoring & optimization of the blockmapped
ReadStream
to iron out some performance issues and bugs in behavior.Changes:
debug
module.blockInRange
property.closed
&.destroyed
properties.highWaterMark
getter/setterautoClose
option._readBlock()
to read up tohighWaterMark
chunks within a range to increase throughput, and decrease CPU load and read callsopen()
,close()
anddestroy()
to implement the same behavior asfs.ReadStream
start
&end
options will now cause only partially covered regions to NOT be read.options
, add.verify
insteadChange-Type: major