[self-interest] embedding based prototype languages

Steve Dekorte steve at dekorte.com
Thu Nov 7 08:55:30 UTC 2002


On Thursday, November 7, 2002, at 12:16 AM, James McCartney wrote:
> On Wednesday, November 6, 2002, at 10:24  PM, Steve Dekorte wrote:
>> But I'd certainly like to move to another technique if it's better.
>> I'll run a memory&speed comparison if you send me a piece of your
>> sample code(just the hash code) and post the results.
>
> The Lua hash table lookup scheme looks pretty good. It is separate
> chaining fit into an open addressing. I would keep my load factor lower
> than they do though, to keep the chains shorter. I'd be curious how
> fast your scheme compares to how Lua does it.

Me too. Unfortunately Lua's hash code is all mixed up with it's VM.
It would involve effort to pull it out.

Cheers,
Steve
OSX freeware and shareware: http://www.dekorte.com/downloads.html




More information about the Self-interest mailing list