Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Word Loop (#149)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Eric I.  
View profile  
 More options Dec 9 2007, 8:28 pm
Newsgroups: comp.lang.ruby
From: "Eric I." <rubytrain...@gmail.com>
Date: Sun, 9 Dec 2007 17:28:44 -0800 (PST)
Local: Sun, Dec 9 2007 8:28 pm
Subject: Re: Word Loop (#149)
On Dec 9, 4:19 pm, Siep Korteling <s.kortel...@gmail.com> wrote:

> I tried Eric's code with the dutch artificial word
> "hottentottententententoonstelling". It did not like that.

Yeah, that would be problematic.  If L is the number of characters,
then the search space is 2 ** (L - 2) [see reason below].  So with a
33-character word, 2 ** 31 is 2.1 billion.  That might take a while in
Ruby 1.8.6.  But in 1.9 ....  ;)

Eric

P.S. The second character always follows the first character to the
right.  Each subsequent character could continue in the same direction
as the previous direction or make a right turn.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.