sschiau / Particle

64 bit ID Generator
MIT License
133 stars 28 forks source link

Id Length #1

Closed oasiz closed 10 years ago

oasiz commented 10 years ago

Hi,

The Twitter/Snowflake IDs are all exactly 20 digits in length but with Particle they vary.

Is there a reason for this and/or any way to have them work in the same way?

Thanks

sschiau commented 10 years ago

All generated IDs are 64bit. Can you show me how you implemented Particle in you project and the end result so I can check if something is wrong?

sschiau commented 9 years ago

@oasiz the last revision fixes that problem https://github.com/sschiau/Particle/tree/ff9ab56e92931194c00433f63699cfc094025006