Skip to main content

Module comparator

Module comparator 

Source
Expand description

DeviceComparator, implements the Comparator trait.

compare_batch_from_pool always routes to the CPU (Rayon parallel) path. String comparison (Jaro-Winkler) is branch-heavy and dominated by PCIe transfer overhead on GPU, making CPU faster for all observed batch sizes.

Structsยง

DeviceComparator