We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a14531 commit 88fc475Copy full SHA for 88fc475
benchmarks/bench_kll.py
@@ -118,7 +118,11 @@ def main() -> None:
118
fallback_names = []
119
if not cls_name.endswith("Sketch"):
120
fallback_names.append(f"{cls_name}Sketch")
121
- fallback_names.append("KLLSketch")
+ else:
122
+ base = cls_name[: -len("Sketch")]
123
+ if base:
124
+ fallback_names.append(base)
125
+ fallback_names.extend(["KLLSketch", "KLL"])
126
for candidate in fallback_names:
127
if hasattr(module, candidate):
128
cls_name = candidate
0 commit comments