Vim is optimized for text files, which are usually not that big.
Besides Reading Vim does other things, such as splitting the text into
lines, checking encoding, etc. And the text has to be copied into data
blocks. The actual read might not be the most important thing, it
requires profiling and perhaps trying out some changes to see what the
effect of a bigger buffer really is.
One thing that has been on the todo list for a very long time is to
avoid the extra copy, but reversing the way text is stored in data
blocks. But that is complicated...
--
hundred-and-one symptoms of being an internet addict:
102. When filling out your driver's license application, you give
your IP address.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///