Windows Extensions: remove lru_cache decorators

These don't offer enough upside to be worthwhile compared to the
decorators applied to the `add_process_layer` methods.
This commit is contained in:
David McDonald
2025-04-14 09:20:32 -05:00
parent c48ad901b0
commit 03e750648f
@@ -762,7 +762,6 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject):
self._context, dtb, config_prefix, preferred_name
)
@functools.lru_cache
def get_peb(self) -> interfaces.objects.ObjectInterface:
"""Constructs a PEB object"""
if constants.BANG not in self.vol.type_name:
@@ -788,7 +787,6 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject):
)
return peb
@functools.lru_cache
def get_peb32(self) -> Optional[interfaces.objects.ObjectInterface]:
"""Constructs a PEB32 object"""
if constants.BANG not in self.vol.type_name: