Re: [fpc-pascal] [CPU war] Speed question for strings
> Which is faster, reading a file Character by Character, by Memory Block, or by > StringList.text? For the first test (char by char), have a look at settextbuf procedure. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepasca
Re: [fpc-pascal] [CPU war] Speed question for strings
Which is faster, reading a file Character by Character, by Memory Block, or by StringList.text? Welcome to the CPU war for StrLoadFile.. Please wait... test 1 execution time: 9356007 <-- char by char test 2 execution time: 259683 <-- block