[MLton] MLton rules! (was: filedes = int)
skaller
skaller@users.sourceforge.net
Tue, 19 Jul 2005 01:51:07 +1000
--=-REOD+WRdsAGrgWNzwn85
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Mon, 2005-07-18 at 10:22 -0500, Henry Cejtin wrote:
> Python big ints (longs) are built-in, but slow as a dog. Similarly, OCam=
l's
> are slow. Both Python and OCaml provide access to libgmp precisely becau=
se
> it is so much faster. It really makes a huge difference if you care abou=
t
> the speed of such calculations, especially if the numbers are very large
> (thousands of digits).
Yes, but that is irrelevant, surely: the compiler doesn't need to do
any calculations fast. It is probably using gmp for the same
reason Felix uses the Ocaml big int package .. platform
independent representation of (usually small) integers.
--=20
John Skaller <skaller at users dot sourceforge dot net>
--=-REOD+WRdsAGrgWNzwn85
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQBC28/psRp8/9aGVGsRAtpcAJ4vrbTlfe65dDGRfdI0JIRngn8wMQCfTS5t
agyQTQ222CRQMXSBsmghgNA=
=5m0v
-----END PGP SIGNATURE-----
--=-REOD+WRdsAGrgWNzwn85--