in reply to
Burrows-Wheeler transform
Unless you're trying to golf, you should strive to make it more readable, not shorter.
Comment on
Re: Burrows-Wheeler transform
Replies are listed 'Best First'.
Re^2: Burrows-Wheeler transform
by
shi
(Novice)
on Jul 01, 2008 at 18:18 UTC
You're right, but I was actually making also a try at golf.
--
@_=(115,-17,6);print+map{chr$_[$.=$_-$_]*$_**$.+++$_[$.]*$_**$.+++$_[$.]*$_**$.}$.-$...$#_
[reply]
[d/l]
In Section
Cool Uses for Perl