| 622 | # TODO: select_on_size_only may need to get re-evaluated, as it is likely that swapping the value |
| 623 | # of select_on_size_only for key and value gives better results |
| 624 | class AlgorithmDeviceScanByKey(Algorithm): |
| 625 | algorithm_name = "device_scan_by_key" |
| 626 | cpp_configuration_template_name = "scanbykey_config_template" |
| 627 | config_selection_params = [ |
| 628 | SelectionType(name="key_type", is_optional=False, select_on_size_only=False), |
| 629 | SelectionType(name="value_type", is_optional=False, select_on_size_only=True), |
| 630 | ] |
| 631 | |
| 632 | def __init__(self, fallback_entries): |
| 633 | Algorithm.__init__(self, fallback_entries) |
| 634 | |
| 635 | |
| 636 | class AlgorithmDeviceBinarySearch(Algorithm): |
no test coverage detected