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

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

@enitrat

Description

@enitrat

// 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions