Skip to content

Replace value classes with opaque types? #448

Closed
@adriaanm

Description

@adriaanm

Maybe the JVM improvements coming next year can save value classes, but otherwise let's go with something that favors guaranteed absence of boxing over convenience.

Implicit classes are the main beneficiary of value classes. Maybe we can just bake in the extends AnyVal performance optimization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions