digitalmars.D.learn - I need a nogc version of hashOf(). What are the options?
- Gary Willoughby (6/6) Aug 07 2016 I need a @nogc version of hashOf(). Here's one i'm currently
- Ilya Yaroshenko (2/8) Aug 07 2016 Current DMD master has MurmurHash3 digest.
- ag0aep6g (3/6) Aug 07 2016 That seems to be an oversight.
- ag0aep6g (2/3) Aug 07 2016 Has been merged. Is going to be part of 2.072.
- Gary Willoughby (3/6) Aug 07 2016 Very cool!
I need a nogc version of hashOf(). Here's one i'm currently using but it's not marked as nogc. https://github.com/dlang/druntime/blob/master/src/object.d#L3170 What are the options now? Is there anything D offers that I could use? I need a function that takes a variable of any type and returns a numeric hash.
Aug 07 2016
On Sunday, 7 August 2016 at 16:42:47 UTC, Gary Willoughby wrote:I need a nogc version of hashOf(). Here's one i'm currently using but it's not marked as nogc. https://github.com/dlang/druntime/blob/master/src/object.d#L3170 What are the options now? Is there anything D offers that I could use? I need a function that takes a variable of any type and returns a numeric hash.Current DMD master has MurmurHash3 digest.
Aug 07 2016
On 08/07/2016 06:42 PM, Gary Willoughby wrote:I need a nogc version of hashOf(). Here's one i'm currently using but it's not marked as nogc. https://github.com/dlang/druntime/blob/master/src/object.d#L3170That seems to be an oversight. https://github.com/dlang/druntime/pull/1624
Aug 07 2016
On 08/07/2016 07:10 PM, ag0aep6g wrote:https://github.com/dlang/druntime/pull/1624Has been merged. Is going to be part of 2.072.
Aug 07 2016
On Sunday, 7 August 2016 at 18:37:19 UTC, ag0aep6g wrote:On 08/07/2016 07:10 PM, ag0aep6g wrote:Very cool! MurmurHash3 is a great addition too. Thanks guys.https://github.com/dlang/druntime/pull/1624Has been merged. Is going to be part of 2.072.
Aug 07 2016