dylanhart / ulid-rs

This is a Rust implementation of the ulid project
https://crates.io/crates/ulid
MIT License
385 stars 37 forks source link

[Question] performance comparison with rulid.rs #35

Closed ngortheone closed 2 years ago

ngortheone commented 3 years ago

Were there any performance comparisons between this crate and https://github.com/mmacedoeu/rulid.rs?

If no will you be interested in some?

dylanhart commented 3 years ago

The other feature-complete implementation of ulid that I know about is rusty_ulid. rulid.rs looks to be more a transcription of the original JavaScript implementation into Rust.

If you want to do this research I'd think that testing rusty_ulid would be best. That being said, I don't expect there to be major performance difference between the two libraries. This library is extremely similar to rusty_ulid and vice-versa.

dylanhart commented 3 years ago

I found the following which may be interesting to you: https://github.com/j5ik2o/ulid-generator-rs#benchmarks