From: greg Date: 2006-11-15T13:19:52+09:00 Subject: Re: first ruby program, how do I make it faster? each will normally profile high because it will be called in multiple places and it will execute a block of code. You need to figure out which actual chunk of code, or as may be the case, which each block is actually profiling the highest. One tip- it seems that you are checking to see if a string is capatalized after already using downcase!