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

dev: optimize CALLDATALOAD with lookup-table based exponentiation #1004

Open
enitrat opened this issue Oct 1, 2024 · 0 comments
Open

dev: optimize CALLDATALOAD with lookup-table based exponentiation #1004

enitrat opened this issue Oct 1, 2024 · 0 comments
Labels
blocked enhancement New feature or request

Comments

@enitrat
Copy link
Contributor

enitrat commented Oct 1, 2024

// TODO: optimize once we have dw-based exponentiation
for _ in 0..32 - bytes_len {
data_to_load *= 256;
};
self.stack.push(data_to_load)

use a POW_2_256 table to optimize this operation

@enitrat enitrat added the enhancement New feature or request label Oct 1, 2024
@github-project-automation github-project-automation bot moved this to 🆕 Backlog in Kakarot on Starknet Oct 1, 2024
@enitrat enitrat added the blocked label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked enhancement New feature or request
Projects
No open projects
Status: 🆕 Backlog
Development

No branches or pull requests

1 participant