MurmurHash3 for PWN.
#4

Main problem will be the long int (64 bits) pawn cant calculate with long values natively. Didnt take a close look at the code, but maybe you can simulate the long ints by connecting 2 pawn cells, but youll need to simulate any kind of used calculations too, which is extremely annoying.
It might be possible to convert it for pawn, but it will be way easier to use it in a plugin, you could basically just take the existing code and register it as a native in any existing plugin.

Converting variabes "downwards" isnt a big problem btw. Just use normal cells, and if it really depends on being just 1/2 bytes long, you could do this:
cell & 0x0000FFFF (2 byte/16 bit value)
cell & 0x000000FF (1 byte/8 bit value)
Reply


Messages In This Thread
MurmurHash3 for PWN. - by CaHbKo - 15.07.2012, 15:32
Re: MurmurHash3 for PWN. - by admantis - 15.07.2012, 17:59
Re: MurmurHash3 for PWN. - by CaHbKo - 15.07.2012, 19:54
Re: MurmurHash3 for PWN. - by Mauzen - 15.07.2012, 20:21
Re: MurmurHash3 for PWN. - by CaHbKo - 15.07.2012, 20:35
Re: MurmurHash3 for PWN. - by CaHbKo - 16.07.2012, 10:31

Forum Jump:


Users browsing this thread: 1 Guest(s)