in reply to How to store large strings?

Lemme' guess...

Computer 1 is a TRS-80; computer 2 may have a Z80 CPU and run CP/M....

Congratulations on porting Perl to either... :-)

Seriously, a quick check of questions posted here suggests that others working with "large DNA sequences" are working with strings f a a a r longer than those you cite. Unless you're working on a shared system with incredibly; no, make that "unbelieveably" tight user-space limits, there's something missing in the picture you've presented so far.

Replies are listed 'Best First'.
Re^2: How to store large strings?
by CountZero (Bishop) on Jun 10, 2012 at 07:20 UTC
    Computer 1 is a TRS-80; computer 2 may have a Z80 CPU and run CP/M
    Fond memories! A TRS-80 was my first computer, but unless my memory has failed me utterly, it already had a Z80 CPU (and with the "expansion interface" a whopping 48K of RAM).

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics