From: Frank Mitchell Date: 2003-09-22T13:28:48+09:00 Subject: Re: Performance: Ruby vs Java (I just can't let this go ...) Frank Mitchell wrote: > (The Lua number shows what a small and ultra-optimized > interpreter could do.) Immediately after posting, I realized the Lua instruction for i = a,b do ... end is specifically for iterating over numbers from a to b. Ruby and Python only iterate over sequences of object instances (including integers), created lazily. That may explain part of the 3-5x speed difference. -- Frank Mitchell (frankm each bayarea period net) Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html