On Sun, 3 Feb 2008 06:04:39 -0800 (PST), SzH wrote:
>I would like to read in large integer matrices from text files, as
>quickly as possible.
...
>It is more likely
>that there are some relevant settings for iostreams (with a
>significant impact on performance) that I am not aware of.
>Any suggestions for making this program perform well portably would me
>most welcome!
Avoid iostreams. They are slow 'by design'. Just try to figure out how
often reallocation and copying occur in your code.
--
Roland Pibinger
"The best software is simple, elegant, and full of drama" - Grady Booch