in reply to Re: Creating very long strings from text files (DNA sequences)
in thread Creating very long strings from text files (DNA sequences)

I tried the suggestions of Anonymous Monk and etcshadow. Unfortunately...

Sorry about the typo, etcshadow!

I glanced through the perl58delta, but did not see any architectural changes to memory allocation. Could there be something else causing the slowdown?

At this point, I've become interested in this issue above and beyond just solving my particular sequence-reading problem. Is this a bug or a feature of perl 5.8...?

  • Comment on Re^2: Creating very long strings from text files (DNA sequences)

Replies are listed 'Best First'.
Re^3: Creating very long strings from text files (DNA sequences)
by etcshadow (Priest) on Jun 26, 2004 at 19:42 UTC
    set $/ to "\n": 4 minutes
    Was that a typo? Did you mean: set $/ to "\n>" (with a greater-than sign). Because if you did it with just $/ set to "\n", then you haven't actually changed the important thing.

    Of course, if that's just a typo, then i could see that my "solution" (which I didn't have any data to benchmark with... or a perl 5.8 install to benchmark against) doesn't help significantly... and that's entirely possible, but I'm curious, none-the-less.

    ------------ :Wq Not an editor command: Wq