Skip to content

Commit 4e6d727

Browse files
authored
Cache all_methods API results to optimize the performance of the Shuriken-based library (#741)
1 parent 6cc5bae commit 4e6d727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quark/core/shurikenapkinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def custom_methods(self) -> Set[MethodObject]:
9292
method for method in self.all_methods if not method.cache.external
9393
}
9494

95-
@property
95+
@functools.cached_property
9696
def all_methods(self) -> Set[MethodObject]:
9797
"""
9898
Inherited from baseapkinfo.py.

0 commit comments

Comments
 (0)