lib/file: Remove _buffer.add in stream.read_all
[nit.git] / lib / standard / file.nit
index e5fc85b..aba34e8 100644 (file)
@@ -156,7 +156,7 @@ class FileReader
        init open(path: String)
        do
                self.path = path
-               prepare_buffer(10)
+               prepare_buffer(100)
                _file = new NativeFile.io_open_read(path.to_cstring)
                if _file.address_is_null then
                        last_error = new IOError("Cannot open `{path}`: {sys.errno.strerror}")