Skip to content

Commit 731bdbe

Browse files
committed
Update - Reduced read buffer to 64k.
1 parent 8be9469 commit 731bdbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/ikelaiah/src/weatherstation.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ procedure TWeatherStation.ReadMeasurements;
322322
// Open the file for reading
323323
fileStream := TFileStream.Create(self.fname, fmOpenRead);
324324
try
325-
streamReader := TStreamReader.Create(fileStream, 65536 * 32, False);
325+
streamReader := TStreamReader.Create(fileStream, 65536, False);
326326
try
327327
// Read and parse chunks of data until EOF -------------------------------
328328
while not streamReader.EOF do

0 commit comments

Comments
 (0)