erlang:phash2(now())

2010-10-02 Thread Lev Walkin
scheme of things this might not be your biggest bottleneck, but why hashing now() when there exsists an idiomatic make_ref() solution? Am I missing something? -- Lev Walkin v...@lionet.info ___ riak-users mailing list riak-users@lists.basho.com h

Re: erlang:phash2(now())

2010-10-07 Thread Lev Walkin
Do you have a robust policy of accepting outside patches? On Oct 7, 2010, at 6:47 PM, David Smith wrote: make_ref is 6 times faster than erlang:phash2(make_ref()) which is 50% faster than erlang:phash2(now()). Of course, in the grand scheme of things this might not be your biggest bottlene