On Friday, 1 February 2013 at 09:09:10 UTC, bioinfornatics wrote:
As i use a memory mapped file i won't copy my struct for able to
loop as i do not want map the file twice that is rather a big
problem for a big file this a perf issue. memory mapped file is
used to read fastly a file so is a nonse
On Friday, 1 February 2013 at 09:09:10 UTC, bioinfornatics wrote:
As i use a memory mapped file i won't copy my struct for able to
loop as i do not want map the file twice that is rather a big
problem for a big file this a perf issue. memory mapped file is
used to read fastly a file so is a nonse
My code works like you said you can call front multiple time he
will return same thing. I check in front the letter return to
set or not the state and the section number. this maye should
move to popFront.
To explain, i iterate over a fastq file with a memory mapped
file. Then i iterate letter by
Apparently I didn't understand the code. :)
My comments should be generally correct: Calling front()
multiple times should return the same element and it should not
change the state of the range.
Ali
My code works like you said you can call front multiple time he
will return same thing.
Apparently I didn't understand the code. :)
My comments should be generally correct: Calling front()
multiple times should return the same element and it should not
change the state of the range.
Ali
my code works like you said you ca
On 01/31/2013 02:27 PM, bioinfornatics wrote:
> On Thursday, 31 January 2013 at 22:20:25 UTC, Ali Çehreli wrote:
>> This is not related to your actual problem but I have noticed that you
>> have side-effects in your FastqReader.front. I think you will benefit
>> from a design where front simply re
On Thursday, 31 January 2013 at 22:20:25 UTC, Ali Çehreli wrote:
This is not related to your actual problem but I have noticed
that you have side-effects in your FastqReader.front. I think
you will benefit from a design where front simply returns the
front element and all of the side-effects ar
On Thursday, 31 January 2013 at 22:02:15 UTC, Ali Çehreli wrote:
On 01/31/2013 01:42 PM, bioinfornatics wrote:
> On Thursday, 31 January 2013 at 21:31:08 UTC, Ali Çehreli
wrote:
>> On 01/31/2013 08:59 AM, bioinfornatics wrote:
>> > I think when i iterate over a phobos range :
>> > foreach( state
On Thursday, 31 January 2013 at 21:31:08 UTC, Ali Çehreli wrote:
On 01/31/2013 08:59 AM, bioinfornatics wrote:
> I think when i iterate over a phobos range :
> foreach( state, letter; fastq )
> and if fastq instance is called into this loop as done at
line 181 is
> not the same instance
Correct.