Skip to content
This repository was archived by the owner on Oct 28, 2022. It is now read-only.
This repository was archived by the owner on Oct 28, 2022. It is now read-only.

Optimize gas charges #55

@vaivaswatha

Description

@vaivaswatha

With #39 , we'll have gas_charge AST nodes, explicitly charging gas. Each such charge leads to a computation (comparison, conditional branch and a subtraction) at the LLVM-IR level (#54). However, these charges can potentially be combined into a single computation. For example, expressions leading to a straight line sequence (until a branch) with all static charges can be combined into one static charge.

Such opportunities to combine gas charges must be explored and optimized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    gasoptimizationcode optimization - run time improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions