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 510ad68 commit 91a5146Copy full SHA for 91a5146
codeflash/discovery/functions_to_optimize.py
@@ -476,12 +476,14 @@ def filter_functions(
476
if blocklist_funcs:
477
functions_tmp = []
478
for function in _functions:
479
- if not (
+ if (
480
function.file_path.name in blocklist_funcs
481
and function.qualified_name in blocklist_funcs[function.file_path.name]
482
):
483
+ # This function is in blocklist, we can skip it
484
blocklist_funcs_removed_count += 1
485
continue
486
+ # This function is NOT in blocklist. we can keep it
487
functions_tmp.append(function)
488
_functions = functions_tmp
489
0 commit comments