cpp-driver icon indicating copy to clipboard operation
cpp-driver copied to clipboard

Reduce address comparisons for network topology replica calculation

Open mpenick opened this issue 3 years ago • 0 comments
trafficstars

This uses a DenseHashSet to keep prevent duplicate replicas instead of doing a linear scan through the existing replicas. I'm seeing around a 4.5x speed up for larger replication factors (rf = 54).

mpenick avatar Aug 15 '22 19:08 mpenick