Skip to content

Commit

Permalink
Removed generator caching
Browse files Browse the repository at this point in the history
  • Loading branch information
OlafHaalstra committed Jul 5, 2024
1 parent 895cd38 commit 321a8ff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dissect/ntfs/secure.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def __init__(self, record: MftRecord = None, sds: BinaryIO = None):
self.sds.size = self.sds.seek(0, io.SEEK_END)

self.lookup = lru_cache(4096)(self.lookup)
self._iter_entries = lru_cache(4096)(self._iter_entries)

def _iter_entries(self, offset: int = 0) -> Iterator[c_ntfs._SECURITY_DESCRIPTOR_HEADER]:
"""Iterate over all SDS entries, optionally starting from a specific offset.
Expand Down

0 comments on commit 321a8ff

Please sign in to comment.