2 ms·
If you have data-driven tests that compute UUIDs along the way to their results, plopping in an UUID generator that is a predictable hash algo is a good thing.
by drewcoo 5y ago
If you have data-driven tests that compute UUIDs along the way to their results, plopping in an UUID generator that is a predictable hash algo is a good thing.
This is similar to C rand(), which you wouldn't want to use in production but is useful when generating the same test data for the same seed every time.