Announcing Rust 1.80.0 - eviltoast
  • Ephera@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    3 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.