From: Tuwewe Date: 2006-01-25T00:50:30+09:00 Subject: Re: Looking for information on string processing performance Thank you, Robert. That's great advice! I will keep them in mind while learning Ruby. If files become ridiculously large, there is always c/c++ there. But I really want to do as much work in Ruby as possible. I tried in place replacement and the use of << in stead of +, and my little test scripts run much faster (300% better). Could you elaborate on "when processing large files process them streaming mode"? Do you mean using iterator such as IO.foreach("testfile") { |line| ........ } in stead of the way like arr = IO.readlines("testfile") ? Or is there another library I should look into? Thanks again for your help.