From: Charlie Bowman Date: 2006-03-15T03:59:57+09:00 Subject: Re: Small optimization tips --=-L5jsb9+mfC7BhL8rERCf Content-Type: text/plain Content-Transfer-Encoding: 7bit I made a script run 800% faster by using the Time class instead of the DateTime class. You can see the scripts and more details at http://www.recentrambles.com/pragmatic/view/33 Also, using a "memoize" function whenever possible can greatly increase performance. I'm still new to ruby, but what does this mean? On Wed, 2006-03-15 at 03:53 +0900, Vincent Foley wrote: > * Using a Set instead of an Array when you only want to store unique > values can help make your code go faster Charlie Bowman http://www.recentrambles.com --=-L5jsb9+mfC7BhL8rERCf--