Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocked enhancement New feature or request
Projects
No open projects
Status: 🆕 Backlog
Development

No branches or pull requests

1 participant