From: Eric Hodel Date: 2004-05-24T13:39:22-07:00 Subject: Re: make faster Richards benchmark --Mjqg7Yu+0hL22rav Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable gabriele renzi (surrender_it@rc1.vip.ukl.yahoo.com) wrote: > il 23 May 2004 22:21:12 -0700, dlissett0@yahoo.com (Duncan Lissett) ha > scritto:: >=20 > >I'd appreciate any suggestions on how to make a faster Ruby > >implementation of Richards benchmark. Perhaps there are obvious > >problems that can be corrected? >=20 > then remove the useless (). And the useless 'then's and 'return's The uselessness of these is highly subjective. Parens after method calls and method definitions, 'then', and 'return' are purely cosmetic, and do not change execution speed. --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --Mjqg7Yu+0hL22rav Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQFAsl16MypVHHlsnwQRAsGCAKCotY7MFK7Y4YLS4ye0qqHxW6zImACfTxar wAZdy3U6tcyHW9Pv6nDRs/4= =qIhy -----END PGP SIGNATURE----- --Mjqg7Yu+0hL22rav--