• flere-imsaho
    link
    English
    11
    edit-2
    15 days ago

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

    • @froztbyte
      link
      English
      1315 days ago

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

      • @froztbyte
        link
        English
        1015 days 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
        1415 days ago

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

      • @ebu
        link
        English
        1115 days 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
        714 days 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
        715 days ago

        why is it always programming dot dev?