{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":158300124,"defaultBranch":"master","name":"sequential-uuids","ownerLogin":"tvondra","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2018-11-19T22:49:05.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/539575?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1642625794.3745549","currentOid":""},"activityList":{"items":[{"before":"be9e7d40022b83176e85e4f334ff34ea3ad05ad2","after":"c52ea2330d619b31a2566ac04a7f385e5598fda7","ref":"refs/heads/master","pushedAt":"2023-10-10T12:19:14.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"tvondra","name":"Tomas Vondra","path":"/tvondra","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/539575?s=80&v=4"},"commit":{"message":"Rework prefix calculation and copying\n\nThe code attempted to copy prefixes or arbitrary length (number of bits\nused to encode the block number), but combining that with the random\npart in a way that would sort correctly seems harder than expected.\n\nIt might be possible to fix that, but it seems easier to ensure the\nprefix is always a multiple of whole bytes. As this adjustment happens\nautomatically, the actual number of blocks may be much higher than what\nthe user requested. To deal with that, we recalculate the block size\n(values to consider as one block), to keep the same number of values\nbefore the UUID wraps.\n\nFor example if the user specifies block_size=1000 and block_count=1000,\nwe adjust block_count=65536 (so prefix is 2B) and then adjust the block\nsize to 16. This means the generated UUID values will wrap after about\n1M values in both cases, but there will be more (smaller) blocks.","shortMessageHtmlLink":"Rework prefix calculation and copying"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADk5bzHgA","startCursor":null,"endCursor":null}},"title":"Activity ยท tvondra/sequential-uuids"}