On Friday, 8 March 2013 at 15:31:46 UTC, Chris Cain wrote:
On Friday, 8 March 2013 at 15:25:02 UTC, bioinfornatics wrote:
why when reading a huge file more i advance into the file more that take time to get a line ?

----
    StopWatch   sw;
    while( !fastq1.empty ){
        sw.start();
        auto        q1          = fastq1.next();
        sw.stop();
        writeln( sw.peek().msecs() );
    }
----

That's because you never reset the StopWatch.

oh ok, i was though sw.start() init at 0. We will said that is friday ... thanks ^^

Reply via email to