Skip to content

Meter computation in new stdlib functions #2879

@turbolent

Description

@turbolent

Issue to be solved

Some of the new stdlib functions perform non-constant operations, which require computation metering:

Suggested Solution

Implementations should call ReportComputation, potentially with a new (?) common.ComputationKind.

Metering might also require "inlining" existing calls to the Go stdlib, so that each iteration of an operation can be metered up-front.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions