Commit Graph

8 Commits

Author SHA1 Message Date
Trevor Clinkenbeard d7f1bdc66f Prefer makeReference for polymorphic references 2026-05-09 13:13:05 -07:00
Pierce Lopez 49bd7f489c
64-bit DeterministicRandom() seed and getRandomSeed() (#13136)
DeterministicRandom() can use a boost::random::mt19937_64
to take a 64-bit seed and return 64-bit random values,
and this simplifies things because fdb always wants 64 bits.
Performance should be slightly better because the 32-bit
mt19937 was always called twice to get 64 bits.
2026-05-07 19:28:19 -04:00
Trevor Clinkenbeard 4501e821b7
Merge pull request #13157 from tclinkenbeard-oai/dev/tclinkenbeard/structured-bindings-readability
Expand use of structured bindings in for loops
2026-05-07 12:55:52 -07:00
Rahul Kodali 4665c6e0f5
fix: use thread-local mt19937_64 for automatic idempotency ID (#13135)
* fix: use thread-local mt19937_64 for automatic idempotency ID

* feat: add platform::getRandomBytes and use it for idempotency IDs

* fix: pr fixes + getentropy support

* fix: pr review changes
2026-05-07 12:39:50 -07:00
Trevor Clinkenbeard 408e4bdde0 Prefer range-for loops without index use 2026-05-05 16:34:27 -07:00
Trevor Clinkenbeard 4cd5c58d63 Use structured bindings in pair loops 2026-05-05 16:30:09 -07:00
Trevor Clinkenbeard e38baf18ea Fix more clang-tidy warnings 2026-04-15 14:23:33 +00:00
Trevor Clinkenbeard 2e1fd90dba Convert MultiVersionTransaction.actor.cpp to standard coroutines 2026-04-03 07:46:47 +00:00