On 3 Dec 2003 20:00:37 -0000, Mtv Europe wrote:
> A new golf "Entropy compress" is at http://terje2.perlgolf.org/

I'm obviously too stupid to understand the rules:

> If it is not the first occurrence, the word is not copied to the
> compressed file. Instead, its position in the list is copied into the
> compressed file and the word is moved to the front of the list.

Which word is moved? Does this mean that the word in the list is moved *from
its original position*, or that the word is *added again* to the beginning
of the list? I can't get the expected results using either method (though
some of the numbers are correct), so either I've coded it wrong (entirely
possible), or I've missed another possible interpretation (equally likely).

-- 
        Peter Haworth   [EMAIL PROTECTED]
"You, not being an idiot, fail to think like an idiot could. This is a
 major cause of confusion in the world. Try to think like an idiot more."
                -- John Redford

Reply via email to