• Ephera@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    4 months ago

    Immediately used the LazyLock + static to build a quasi-constant which does an expensive check only once at program start, and only when it’s actually used. Pretty cool.