biblepay / biblepay_legacy

BiblePay
MIT License
35 stars 34 forks source link

use unordered_map for better performance #8

Closed piotr-sikora-v closed 6 years ago

piotr-sikora-v commented 6 years ago

I tried it on X5650 genproclimit=20 increase from 6100 hps to 6500hps

biblepay commented 6 years ago

Oh my, OK thanks a lot.

I will open the floodgates very soon. Working on a mining-for-cancer issue now, give me a little bit of time to look at this locally.

piotr-sikora-v commented 6 years ago

for x5650 xeon is about 5 to 10 % I just searched for better functions to scan, and find many performance sttistics that show it unorderer_map is faster than other hash tables. example: http://incise.org/hash-table-benchmarks.html

piotr-sikora-v commented 6 years ago

and this one: http://scottmeyers.blogspot.de/2015/09/should-you-be-using-something-instead.html

biblepay commented 6 years ago

Hmmmm... Not sure if we should induct this, does it appear to be harmless?