Cleaned up UIDGenerator docs a bit.
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 4 Dec 2012 19:15:25 +0000 (11:15 -0800)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 4 Dec 2012 20:35:09 +0000 (20:35 +0000)
Change-Id: I32ca575ca4d7b446b4a27b91d1e8aaa7173c575b

includes/UIDGenerator.php

index a0e508c..05bb489 100644 (file)
@@ -218,9 +218,7 @@ class UIDGenerator {
         * Get a statistically unique 128-bit unsigned integer ID string.
         * The bits of the UID are prefixed with the time (down to the microsecond).
         *
-        * Unlike timestampedUID64(), these IDs are suitable as UUIDs, without any enforced
-        * uniqueness checks in the storage medium, such as a DB. Thus, this can be used to
-        * make unique values of DB table column where the DBMS does not enforce uniqueness.
+        * These IDs are suitable as globally unique IDs, without any enforced uniqueness.
         * New rows almost always have higher UIDs, which makes B-TREE updates on INSERT fast.
         * They can also be stored reasonably as a "DECIMAL(39) UNSIGNED" in MySQL.
         *