andikleen / spooky-c

A C version of Bob Jenkins' spooky hash
38 stars 7 forks source link

Updated C port of Bob Jenkins' C++ version (April 2012) #1

Closed agiz closed 12 years ago

agiz commented 12 years ago

This is the port of Bob Jenkins' C++ version dated 10th of April 2012.

Ported testspooky test to C. More verbose coding style, hopefully more consistent ;) Added original files. Fixed / updated spooky-c.h and spooky-c.c.

andikleen commented 12 years ago

Thanks. Does MSC really not understand plain inline but need __forceinline? Or is that because the default inliner is not aggressive enough?

I may need to reindent, one of my goals was eventual linux kernel inclusion and for that i need a kernel like coding style.

agiz commented 12 years ago

Thanks for the merge. As for __forceinline I do not know and have not done any tests in Windows environment.