[*] ShuffleIterators should use the fast impl of RngArrayU32Range
This commit is contained in:
parent
442a5f31eb
commit
36f0be801c
@ -149,7 +149,7 @@ namespace Aurora::RNG
|
||||
AU_DEBUG_MEMCRUNCH;
|
||||
|
||||
auto uCount = std::distance(begin, end);
|
||||
auto nextIndexArray = this->NextArrayU32Range(uCount, 0, uCount - 1);
|
||||
auto nextIndexArray = this->NextArrayU32RangeFast(uCount, 0, uCount - 1);
|
||||
|
||||
for (AU_ITERATE_N(i, AuUInt(uCount)))
|
||||
{
|
||||
|
@ -177,7 +177,7 @@ namespace Aurora::RNG
|
||||
AU_DEBUG_MEMCRUNCH;
|
||||
|
||||
auto uCount = std::distance(begin, end);
|
||||
auto nextIndexArray = RngArrayU32Range(uCount, 0, uCount - 1);
|
||||
auto nextIndexArray = RngArrayU32RangeFast(uCount, 0, uCount - 1);
|
||||
|
||||
for (AU_ITERATE_N(i, AuUInt(uCount)))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user