• flere-imsaho
    link
    English
    11
    edit-2
    6 months ago

    they also stored this thing as a fucking string. looking up strings is costly.

    • @froztbyte
      link
      English
      136 months ago

      naw bro we’ve got indexes bro it’ll be fine bro

      • @froztbyte
        link
        English
        106 months ago

        can’t wait for the Clever Idea to offload costly string indices to an external source composed of redis box and some shitfuck app doing tf-idf after a Extensive Research into how to make string lookups be faster

    • This sounds like a case of premature optimization to me. We have plenty of databases using strings as Ids and they’re all more than fast enough for any of our purposes. And that’s with considerable volume going through.

      I’ve never seen bad performance from string ids be an issue.

      • @sinedpick
        link
        English
        146 months ago

        so we’re calling “not doing pointless unnecessary work” premature optimization now? cool cool

      • @ebu
        link
        English
        116 months ago

        “what are you talking about? a hammer removes bolts just fine. i personally don’t have an issue with the tiny bit of extra elbow grease to wedge the claw around the bolt-head and twist; if anything, it’s saving me effort from having to use a wrench.”

      • @V0ldek
        link
        English
        76 months ago

        I’ve never seen bad performance from string ids be an issue.

        You haven’t seen shit then, simple as that.

      • flere-imsaho
        link
        English
        76 months ago

        why is it always programming dot dev?