Author Dima.Tisnek
Recipients Dima.Tisnek
Date 2018-12-28.02:47:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Just recently, i found rolling my own simple hash for strings.
(task was to distribute tests across executors, stably across invocations, no external input, no security)

In the old days I'd just `hash(some_variable)` but of course now I cannot. `hashlib.sha*` seemed too complex and I ended up with something like `sum(map(ord, str(some_variable)))`.

How much easier this would be is `siphash` implementation that cpython uses internally was available to me!
Date User Action Args
2018-12-28 02:47:08Dima.Tisneksetrecipients: + Dima.Tisnek
2018-12-28 02:47:05Dima.Tisneksetmessageid: <>
2018-12-28 02:47:05Dima.Tisneklinkissue35600 messages
2018-12-28 02:47:05Dima.Tisnekcreate