in scanriecoin.c:209 repleace
#define MR_TESTS 12
with
#define MR_TESTS 1
and run with --max-prime=10000
speedup is about 200%
but it maybe finds more composite numbers
do you know what effect this has or are you just playing with the source?
Gatra, please can you explain what this does?
MR_TESTS is the number of miller rabin test performed to check if a number is prime,
as more tests you use the more you can be sure the number is prime.
This is important for the wallet, but not for the miner!
(if a composite is submited the network rejects is)
futur optimation coul be an implementation of the fermat test form primecoin,
which also could speed up mining a bit.
Also the miner is not optimized for cache performance!