--4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue Aug 26 03:44:17 2008, Jason Crystal wrote: > 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. Almost certainly Ruby, but be careful about RAM usage if you load the whole thing into an array. You might want to run some benchmarks[1] on both methods. [1] http://www.ruby-doc.org/stdlib/libdoc/benchmark/rdoc/ -- Fred O. Phillips http://fophillips.org BBC7 7572 755F 83E0 3209 504A E4F7 874F 1545 9D41 --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkizAFgACgkQ5PeHTxVFnUGqXACgsEhgyr7arUrfEny//kZXCxla 0GsAn0rAB8hMRJKk1ce+TL4xDF19fSAN h -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY--