lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Taj Khattra <taj.khattra <at> gmail.com> writes:

> 
> > Do you know a simple, free C implementation of this fingerprint method?
> > If so, then it should be simple to adapt it to work with Lua types.
> 
> mark mitchell posted the following C translation of the modula-3 fingerprint
> algorithm to the gcc mailing list many moons ago.  license is bsd-like.
> 
>     http://gcc.gnu.org/ml/gcc/1999-11n/msg00592.html
>     http://www.codesourcery.com/public/cxx-abi/fingerprint.h
>     http://www.codesourcery.com/public/cxx-abi/fingerprint.c

That's excellent!  If/when I give some time to this problem, I'd love to try
both (real __hash support and fingerprinting using this code) and benchmark the
difference.

Thanks for the pointer.

Josh