--SkvwRMAIpAhPCcCJ
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Gregory Brown:

> Just for specific details:

> sandal:~ $ ruby19 -v
> ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9.4.0]
> sandal:~ $ uname -a
> Darwin anatta.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:0=
0 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
> sandal:~ $ time ruby19 -rprime -e "Prime.take_while { |e| e < 2_000_000 }=
=2Einject { |s,r| s + r }"

> real	0m2.956s
> user	0m2.883s
> sys	0m0.028s

FWIW, it does indeed looks like a Windows binary issue:

shot@devielle:~$ grep 'model name' /proc/cpuinfo=20
model name  : Intel(R) Core(TM)2 Duo CPU     U9400  @ 1.40GHz
model name  : Intel(R) Core(TM)2 Duo CPU     U9400  @ 1.40GHz
shot@devielle:~$ uname -a
Linux devielle 2.6.30-020630-generic #020630 SMP Wed Jun 10 09:04:38 UTC 20=
09 x86_64 GNU/Linux
shot@devielle:~$ time ruby -vrprime -e 'Prime.take_while { |e| e < 2_000_00=
0 }.inject(:+)'
ruby 1.9.1p129 (2009-05-12 revision 23412) [x86_64-linux]

real  0m3.107s
user  0m3.092s
sys 0m0.012s

=E2=80=94 Shot
--=20
I consider chromatic to be Larry Wall=E2=80=99s Thomas
Huxley.    [Jarkko Hietaniemi, hates-software]

--SkvwRMAIpAhPCcCJ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpV12QACgkQi/mCfdEo8UreFgCfQglZ6vrk2wQ2JR7sLlppxh7E
g/MAoKTqNXpvIlmTmt1droAkKezp651T
=faN6
-----END PGP SIGNATURE-----

--SkvwRMAIpAhPCcCJ--

Gregory Brown:

> Just for specific details:

> sandal:~ $ ruby19 -v
> ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9.4.0]
> sandal:~ $ uname -a
> Darwin anatta.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
> sandal:~ $ time ruby19 -rprime -e "Prime.take_while { |e| e < 2_000_000 }.inject { |s,r| s + r }"

> real	0m2.956s
> user	0m2.883s
> sys	0m0.028s

FWIW, it does indeed looks like a Windows binary issue:

shot@devielle:~$ grep 'model name' /proc/cpuinfo 
model name  : Intel(R) Core(TM)2 Duo CPU     U9400  @ 1.40GHz
model name  : Intel(R) Core(TM)2 Duo CPU     U9400  @ 1.40GHz
shot@devielle:~$ uname -a
Linux devielle 2.6.30-020630-generic #020630 SMP Wed Jun 10 09:04:38 UTC 2009 x86_64 GNU/Linux
shot@devielle:~$ time ruby -vrprime -e 'Prime.take_while { |e| e < 2_000_000 }.inject(:+)'
ruby 1.9.1p129 (2009-05-12 revision 23412) [x86_64-linux]

real  0m3.107s
user  0m3.092s
sys 0m0.012s

 Shot
-- 
I consider chromatic to be Larry Walls Thomas
Huxley.    [Jarkko Hietaniemi, hates-software]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpV12QACgkQi/mCfdEo8UreFgCfQglZ6vrk2wQ2JR7sLlppxh7E
g/MAoKTqNXpvIlmTmt1droAkKezp651T
=faN6
-----END PGP SIGNATURE-----