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

Change design principle for caching objects #10

Merged
merged 5 commits into from
Nov 19, 2023
Merged

Conversation

patacca
Copy link
Collaborator

@patacca patacca commented Nov 17, 2023

Now the principle is to cache every object below basic block (instructions, operands and expressions) while not caching basic blocks at function level.
In order to load in memory all the basic blocks of a function, the context manager can be used (with statement) or the functions FunctionBinExport.preload() and FunctionBinExport.unload()

This PR is based on top of #9

@patacca patacca requested a review from RobinDavid November 17, 2023 14:09
@RobinDavid RobinDavid merged commit 08a9201 into main Nov 19, 2023
@patacca patacca deleted the design_caching branch November 19, 2023 15:00
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