On Mon, Dec 10, 2001 at 02:32:18PM -0000, [EMAIL PROTECTED]
wrote:
> My particular favourite is how "sorted" the code is
>
> $code="for(0..9)print";
> @chars = map {ord($_)} split //, $code;
> for ($x=0; $x+1 < @chars;$x++) {
> $score++ if ($chars[$x]<$chars[$x+1]);
> }
> print $score
>
> I can hear my big sister saying "now thats just silly!" :-)
The scary thing is, if you change the sort from character-wise
to line-wise, I already have a script to optimize a program for it:
http://babyl.dyndns.org/yaph/obfuscomatic/obfusc5
And silly me that thought this script would never be
used for anything... <g>
Joy,
Yanick
--
"Have we forgotten how to walk towards each other?"
- Bodhisattvacaryatara, Project Pitchfork