Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 11, 2024. It is now read-only.
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Test where the tipping point is #738

Open
Assignees
Labels
refactorImproves the code quality trackerIssues generated from source comments

Description

On 2020年09月24日 @recmo wrote in f724670 "Optimize small exponents":

Test where the tipping point is

 (_, 0) => "0x01".to_owned(),
 (a, 1) => a.soldity_encode(memory_layout),
 (a, e) if *e <= 4 => {
 format!("exp{}({})", e, a.soldity_encode(memory_layout))
 }
 // TODO: Test where the tipping point is
 (a, e) if *e < 16 => {
 format!(
 "small_expmod({}, {})",
 a.soldity_encode(memory_layout),
 e.to_string()

From crypto/stark/src/solidity_verifier.rs:171

Metadata

Metadata

Assignees

Labels

refactorImproves the code quality trackerIssues generated from source comments

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /