The downside is that the eval markly reduces the efficiency.
So, just do one eval() . . .
:-)sub ATOa { my $code = '(' . join( ',', map { "\\substr(\$_[0], $_)" } 0 .. length( +$_[0] ) ) . ')'; return eval $code; }
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Re: suffix arrays
by sauoq
in thread suffix arrays
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |