Skip to content
This repository was archived by the owner on Nov 29, 2020. It is now read-only.
This repository was archived by the owner on Nov 29, 2020. It is now read-only.

Lazy val optimization for pure code #24

Open
@sir-wabbit

Description

@sir-wabbit

We could replace all lazy vals with the cheapest version of https://github.com/runarorama/latr (@Lazify) by default. If the code is pure, re-evaluating a thunk twice is not a problem and the probability of that happening is minuscule anyway.

See https://docs.scala-lang.org/sips/improved-lazy-val-initialization.html for more background

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions