From: Jason Crystal Date: 2008-08-26T03:44:17+09:00 Subject: Which is faster for repetition: Ruby or SQL? Hey all, I was wondering if there was a general consensus for whether it's faster to do repetitive queries solely through Ruby (as on an array), or to make multiple calls to a SQL database of some sort. For example, if I have a dictionary, and I know I need to compare an entire paragraph's worth of words to the dictionary, should I query each word against the database? Or load the entire dictionary into a Ruby object and index against that? Thanks for your thoughts! -Jason -- Posted via http://www.ruby-forum.com/.