Changes to WTDawson.PersistentID

I am adding a new ID system to WTDawson.PersistentID, which is overkill for the vast majority of applications but is useful for applications that require large-scale IDs (Generating billions or trillions of IDs). I asked ChatGPT to suggest a name for my algorithm and it ended up coming up with “William’s Deterministic ID Algorithm”.

This update will be coming to version 2 of WTDawson.PersistentID. It’s has pretty much the exact same usage but looks very different internally and is very CPU-heavy.

You should be able to set it up similar to the first version (IDBuilder) shown in this post. However, instead of using IDBuilder, use DeterministicIDBuilder.

What I plan on doing with it next

I’d like to in the future port this to other languages and frameworks to make it easier to use. I was planning on porting it to: C/C++, JS/TS, possibly Rust and a few others.

I also plan on making a 2nd version of the algorithm that can generate bytes as well as a string.

Loading


Discover more from WTDawson

Subscribe to get the latest posts sent to your email.

Leave a Reply