in reply to Re: finding open reading frames
in thread finding open reading frames

Clever, but it's still a nested-loop solution. You just hid one of the loops in a function call. An efficient solution could be constructed along these lines, but as it is, it also chokes on
$sequence = 'ATG' x 1e6;