From: "Brian Schröder" Date: 2004-12-10T00:52:39+09:00 Subject: Re: [SUMMARY] Crosswords (#10) On Fri, 10 Dec 2004 00:47:09 +0900 James Edward Gray II wrote: > On Dec 9, 2004, at 8:55 AM, Brian Schr�der wrote: > > > Hello James, > > > > Nice summary, thanks you again. Did you benchmark the solutions, I > > would be > > interested in how fast/slow some approaches where. Especially those > > that rely > > heavily on string manipulation, vs. those that build up the layout in a > > streaming fashion. > > I didn't benchmark this time no. Everything I ran was "faster than I > blink" zippy. ;) > Well, you're right. I can't imagine anybody wants to solve a crossword of the size whose layout would take noteworthy time to calculate. I only got the feeling that all this transpose, gsub, etc... stuff should take a lot of time. On the other hand ruby performance is nearly always different from what I expect. Regards, Brian -- Brian Schr�der http://ruby.brian-schroeder.de/