Use SipHash-2-4 for:
- CCoinsViewCache hashmap (instead of a custom Lookup3/XOR scheme)
- CTxMempool::mapTx txid index (converting from an ordered map)
- Address relay peer selection (instead of SHA256)
Computing a hash for a txid using this takes around 52 CPU cycles in benchmarks (the Lookup3/XOR based mechanism used for CCoinsViewCache took 31 cycles). I think that’s negligible still, while using a much more standard construct designed for such purposes.