[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: callback params - which is fastest?
- From: Javier Guerra Giraldez <javier@...>
- Date: Thu, 31 Mar 2005 16:19:46 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Asko Kauppi wrote:
> I'd like to hear you "gut feelings" on three different ways to pass
> callback parameters to a Lua handler.
> a) table:
> b) ... (lots of integer values):
> c) string:
what about
d) opaque object + element access function
if the elements are fixed at 8bit, it seems a string would be the
fastest choice; but maybe the hashing would slow it.
- --
Javier
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCTGlysIoGnxsRK/ERAo8aAJ9EGvfw99iqP2FWRfRg0QbPlWJy7gCePzMc
7PKTEMRlx34TqGIL/0CLPPY=
=JpfL
-----END PGP SIGNATURE-----