|
let uuid = redis::Script::new(UUID_SCRIPT) |
It would be a small performance boost for struct init, when you do not need to communicate with redis to get a unique ID. UUID should have in practice no collisions, but you never know.
User could decide with feature-flags.