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

Memoize precomputed objects for multiple subsequent uses #8

Merged
merged 6 commits into from
Oct 6, 2023
Merged

Memoize precomputed objects for multiple subsequent uses #8

merged 6 commits into from
Oct 6, 2023

Conversation

lavafroth
Copy link
Contributor

@lavafroth lavafroth commented Sep 6, 2023

Changes

  • The hashes and digests are calculated only once for use in subsequent statements.
  • The nullish or operator is used when a decryption function returns None to lazily evaluate the next decryption alternative.

@lavafroth lavafroth changed the title Memoize calculated hashes for multiple subsequent uses Memoize precomputed objects for multiple subsequent uses Sep 6, 2023
@zblurx
Copy link
Owner

zblurx commented Sep 30, 2023

Hey, nice PR. Can you update python dependency to 3.8 in pyproject.toml since you set some := operator ?

@lavafroth
Copy link
Contributor Author

Should be ready for the merge now!

@zblurx
Copy link
Owner

zblurx commented Oct 2, 2023

Finally I have a problem with python3.8 for now : NetExec use dploot for the --dpapi functionnality, but the project is supposed to work on python 3.7. So either way we wait for NetExec to upgrade a bit, or we change the := operator.

@lavafroth
Copy link
Contributor Author

lavafroth commented Oct 6, 2023 via email

@zblurx
Copy link
Owner

zblurx commented Oct 6, 2023

Great thank you !!

@zblurx zblurx merged commit 85dae31 into zblurx:main Oct 6, 2023
@lavafroth lavafroth deleted the memoize branch December 10, 2023 05:19
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.

2 participants