in reply to Re: Bioinformatic task
in thread Bioinformatic task

Thanks for replying. I actually wrongly used the word 'big'. I must read the whole file into memory, where one structure would be for the headers and another one for the sequences. My computer definitely has enough RAM for that.

Replies are listed 'Best First'.
Re^3: Bioinformatic task
by GrandFather (Saint) on Nov 07, 2010 at 23:41 UTC

    I strongly second what aquarium implies in Re: Bioinformatic task - using a single structure containing records with two parts is much better than trying to keep two parallel arrays in sync.

    However, it's probably worth your while to tell us more about the problem you are trying to solve. I suspect there are other areas where you could use a little help with this problem!

    True laziness is hard work