• 0 Posts
  • 6 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle

  • _Vi@lemmyrs.orgtoLemmyRS: Meta@lemmyrs.orgUpdate from the admin
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    a) significant down time b) potential loss/corruption of the existing database

    Maybe the benefit of a timely update would outweigh cost of prolonged (e.g. a day) downtime and a database reset, as the instance if currently barely active and amount of accumulated content is currently small.

    Obviously, it does not mean further updates should be disruptive.



  • I asked in the Rust Discord channels and it seems like my approach is fine. Even the mutable version is okay and doesn’t need to be unsafe if it returns the reference with self’s lifetime.

    Then maybe publish it as a mini-crate (e.g. any-slice), ideally with a link to the discussion that proves that it is sound.