DescriptionMake non-copying version of BytesBuidler and make file-reads faster.
The non-copying version is internally, as this is always the behaviour
we want, when receiving data from the system.
File-reads are also further improved, by only reading data in chunks, if
initial length is 0. This is a special case where the file can be a
character device. Overall improvement is around a factor of 6.
BUG=
R=sgjesse@google.com
Committed: https://code.google.com/p/dart/source/detail?r=34589
Patch Set 1 #Patch Set 2 : Fix readAsBytes to not complete in a long future chain. #
Total comments: 8
Patch Set 3 : #
Messages
Total messages: 6 (0 generated)
|