• jaybone@lemmy.world
      cake
      link
      fedilink
      arrow-up
      3
      ·
      1 month ago

      You bitwise OR into the higher end bits the user id, in which you have already encoded the user’s gender. (For which you have a util method to extract. )