From: nobu.nokada@... Date: 2003-04-03T14:05:27+09:00 Subject: Re: Newbie question:read file speed Hi, At Thu, 3 Apr 2003 07:35:25 +0900, Brian Candler wrote: > $ wc /usr/share/dict/words > 235881 235881 2493066 /usr/share/dict/words I suspect it is related to GC, note that Java is also slower than Python in [ruby-talk:68500], and Greg uses more huge data as test input. Both of Ruby and Java uses mark&sweep whereas Python does reference count, and the latter might have advantage in this case, many small objects are created and disposed soon. -- Nobu Nakada