Re: Cityhash in D?

2017-03-26 Thread Ethan Watson via Digitalmars-d

On Wednesday, 15 March 2017 at 13:26:45 UTC, Ethan Watson wrote:

Does anyone know of a D implementation of Google's Cityhash?


https://github.com/Remedy-Entertainment/cityhash-d

64-bit functions only for now. I'll add the 32-bit functions at 
some point, likely when I need them.




Re: Cityhash in D?

2017-03-15 Thread Stefan Koch via Digitalmars-d

On Wednesday, 15 March 2017 at 14:58:02 UTC, Ethan Watson wrote:
On Wednesday, 15 March 2017 at 13:37:41 UTC, Andrea Fontana 
wrote:

It seems pretty easy to use with dstep, isn't it?


I need to use it at compile time. Linking as a C lib is 
subsequently out of the question.


For now, yes :)

I have a feeling you will enjoy my talk.



Re: Cityhash in D?

2017-03-15 Thread Ethan Watson via Digitalmars-d

On Wednesday, 15 March 2017 at 13:37:41 UTC, Andrea Fontana wrote:

It seems pretty easy to use with dstep, isn't it?


I need to use it at compile time. Linking as a C lib is 
subsequently out of the question.


Re: Cityhash in D?

2017-03-15 Thread Andrea Fontana via Digitalmars-d

On Wednesday, 15 March 2017 at 13:26:45 UTC, Ethan Watson wrote:

https://github.com/google/cityhash

Does anyone know of a D implementation of Google's Cityhash? My 
google-fu has failed me and I've been unable to find one.


It seems pretty easy to use with dstep, isn't it?


Cityhash in D?

2017-03-15 Thread Ethan Watson via Digitalmars-d

https://github.com/google/cityhash

Does anyone know of a D implementation of Google's Cityhash? My 
google-fu has failed me and I've been unable to find one.