From: Aaron Patterson Date: 2010-07-18T11:13:28+09:00 Subject: [ruby-core:31335] Re: [rubysoc] Queue C-extension patch to come --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 17, 2010 at 01:00:56PM +0900, Caleb Clausen wrote: > NB: I am Ricardo's mentor for this project. >=20 >=20 > On 7/16/10, Aaron Patterson wrote: > > It looks like this patch is just a port of the ruby code to C, but not > > using a native queue system. >=20 > What native queue system? As far as I know, there aren't any kind of > queue apis available from the OS on either posix or win32 systems. >=20 > > Can you show us benchmarks between this > > version and the pure ruby implementation? >=20 > That's not really needed. It should be obvious that c code is faster > than ruby code. I'm sure the C implementation will be faster. The point is: how much faster? "obviously" has no unit of measurement and doesn't really mean anything to me. I'm happy to see the benchmarks we have now. Being able to measure an improvement helps convince people it's needed. --=20 Aaron Patterson http://tenderlovemaking.com/ --envbJBWh7q8WU6mo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) iQEcBAEBAgAGBQJMQmNCAAoJEJUxcLy0/6/GEF0H/2Uxup6M8ZyZPVJjk2/Z0Ufs 4i7lXibMAQ7ofJW3kSA4sqHNuPdBifV3aYVzPu391otIwR5S2D6GWt7GAZ9rPR4h tUcq7he60iMCoRHs8ItwX3mAanccYSO3o9aWCty2zE4abwjyrp7S2G1iBX/GXdSg xRUoCr9rUeL57F3FgS7DJ/Xb9NvDr++VyulPiAqkFmcscT5OsbNlYFoI9b+qDMA3 zfWQXPpZ744rTs9cd/0rRXqab9kxYP7PmKvCe1QkZShZb3U8NtS4HzUP2hnyhAyz 6NRcHHg2EMGSF56QGGiymOZ9n+ckd/pjmQJzt3j88yic4FvUlzgg41WdQIS77ps= =id3S -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo--