Message from discussion
Grid Folding (#63)
Path: g2news1.google.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail
From: "asplake" <m...@asplake.co.uk>
Newsgroups: comp.lang.ruby
Subject: Re: Grid Folding (#63)
Date: 22 Jan 2006 08:06:02 -0800
Organization: http://groups.google.com
Lines: 5
Message-ID: <1137945962.362876.271510@g47g2000cwa.googlegroups.com>
References: <20060120135658.XYEY8484.centrmmtao02.cox.net@localhost.localdomain>
<381ad2d20601200816h41429dd7t80c4aace23bdb169@mail.gmail.com>
<8700d3d60601211147t139a68ebv65c1fcf93be7c699@mail.gmail.com>
<1137873033.046262.256300@g49g2000cwa.googlegroups.com>
<nrmaa3-ck2.ln1@morus.walter.news.arcor.de>
<1137943343.626652.112980@g47g2000cwa.googlegroups.com>
<1137943718.329870.134880@g47g2000cwa.googlegroups.com>
NNTP-Posting-Host: 86.133.83.130
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1137945967 13594 127.0.0.1 (22 Jan 2006 16:06:07 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 22 Jan 2006 16:06:07 +0000 (UTC)
In-Reply-To: <1137943718.329870.134880@g47g2000cwa.googlegroups.com>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: g47g2000cwa.googlegroups.com; posting-host=86.133.83.130;
posting-account=vHuIkg0AAAAzOSTlG49zz5LhnVd1bzSe
Not 100% surprised, and it's longer than others too. For the large
(e.g. 1024x1024) runs it's now about twice as fast, just by
preallocating the results array and using 'for' instead of 'each'
loops. Oh well. Still the slowest. Perhaps mine uses less memory ;-)