Skip to content

Commit

Permalink
More optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
AryazE committed Aug 26, 2024
1 parent c3a3e88 commit afb9b42
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/dynapyt/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,7 @@ def call_if_exists(self, f, *args):
func = self.analysis_func(analysis, f)
args_for_filter = []
for arg in args[2:]:
if isinstance(arg, list):
try:
hash(tuple(arg))
args_for_filter.append(tuple(arg))
except:
pass
elif isinstance(arg, dict):
if isinstance(arg, list) or isinstance(arg, dict):
pass
else:
try:
Expand Down

0 comments on commit afb9b42

Please sign in to comment.