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

Allow automatic choice of split factor #82

Open
hanno-becker opened this issue Aug 2, 2024 · 1 comment
Open

Allow automatic choice of split factor #82

hanno-becker opened this issue Aug 2, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@hanno-becker
Copy link
Collaborator

Context: When optimizing large code using the split heuristic, a rough rule of thumb is to pick the split factor so that each window has a size somewhere between 50-200 instructions. It is curently up to the user to make this calculation and configure SLOTHY appropriately.

Task: Allow the configuration of a 'split heuristic threshold', which is a codesize above which split heuristic should be applied automatically, picking the split factor so that the window size is as specified by the threshold. For example, is split_heuristic_threshold=150 and one is optimizing code of length 400, it should automatically pick split_factor=2.66.

@hanno-becker hanno-becker added the enhancement New feature or request label Aug 2, 2024
@hanno-becker
Copy link
Collaborator Author

cc @aqjune

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant