Skip to content

Pass row, col as Nat index not Text #4

@timohanke

Description

@timohanke

It would be better if here

bench.runner(func(row, col) {}

row and col could be integer indices rather than Text. Because in most benchmarks the function will convert the Text back to index. The instructions required for that conversion are counted. This extra overhead distorts benchmarks that have low instruction count.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions