Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix file reading memoization #8

Merged
merged 3 commits into from
Oct 31, 2023

Conversation

noahbaculi
Copy link
Owner

@noahbaculi noahbaculi commented Oct 31, 2023

Fix File Reading Memoization

Description

The read_file function is memoized to increase the performance of repeated searches. This can cause the cached file contents to be out of date if the file has changed since the last read.

Tasks

  • Compare

    => Minimal performance impact

  • Remove memoization

  • Release v2.3.1

@noahbaculi noahbaculi self-assigned this Oct 31, 2023
@noahbaculi noahbaculi changed the title Fix persistent memoized file reading Fix file reading memoization Oct 31, 2023
@noahbaculi noahbaculi merged commit 8875334 into main Oct 31, 2023
7 checks passed
@noahbaculi noahbaculi deleted the fix_persistent_memoized_file_reading branch October 31, 2023 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant