Skip to content

Conversation

tlanyan
Copy link

@tlanyan tlanyan commented Aug 17, 2025

  1. 支持不同的时间精度,默认是1毫秒,与原版兼容;
  2. WorkIdBitLength支持为0,适用于单机版的小项目;
  3. 支持多个generator instance,服务于不同的场景

更多说明可参考: 一个改进的Java短ID生成库

1. use precision, default is 1 ms
2. support multiple instances
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant