• 请不要在回答技术问题时复制粘贴 AI 生成的内容
Naruto129
V2EX  ›  程序员

UUID 4 的重复概率是多少?

  •  
  •   Naruto129 · Nov 3, 2021 · 5082 views
    This topic created in 1667 days ago, the information mentioned may be changed or developed.

    如图

    5 replies    2021-11-03 12:22:32 +08:00
    dai201617
        1
    dai201617  
       Nov 3, 2021
    如链接: https://en.wikipedia.org/wiki/Universally_unique_identifier#Collisions

    Thus, the probability to find a duplicate within 103 trillion version-4 UUIDs is one in a billion.
    eason1874
        2
    eason1874  
       Nov 3, 2021   ❤️ 1
    在 103 万亿 个 版本 4 UUID 中找到重复的概率是 十亿分之一

    https://zh.wikipedia.org/wiki/%E9%80%9A%E7%94%A8%E5%94%AF%E4%B8%80%E8%AF%86%E5%88%AB%E7%A0%81
    Naruto129
        3
    Naruto129  
    OP
       Nov 3, 2021
    Naruto129
        4
    Naruto129  
    OP
       Nov 3, 2021
    @eason1874 get it
    julyclyde
        5
    julyclyde  
       Nov 3, 2021
    问法不对
    需要指定总量,然后才能讨论率
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1018 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 22:34 · PVG 06:34 · LAX 15:34 · JFK 18:34
    ♥ Do have faith in what you're doing.