Skip to content

How do scalar objects behave in benchmark? #24

@HallofFamer

Description

@HallofFamer

Did anyone try that with userland implementation of scalar objects? I am trying to create a scalar classes extension in C with Boolean, Int, Float, Null and String, I suppose it will be even faster than userland implementation. I wonder if the speed of using scalar objects such as 2->abs(), and "my string"->toUpper() will be on par with just calling native function abs(2) and strtoupper("my string"). Or at least, it will not be magnitudes slower like if I wrap primitives in classes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions