Skip to content

Commit

Permalink
reduce the aggressivetivityness on parallelizing etar generation
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Dec 26, 2024
1 parent 85c2b07 commit 012ebbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Etterna/Models/Misc/TimingData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,7 @@ TimingData::BuildAndGetEtar(int lastrow)
std::iota(ElapsedTimesAtAllRows.begin(), ElapsedTimesAtAllRows.end(), 0);

// just dont parallelize at all if it probably wont help anyways
if (lastrow < 128) {
if (lastrow < 100000) {
for (auto r = 0; r <= lastrow; ++r) {
ElapsedTimesAtAllRows[r] =
GetElapsedTimeFromBeatNoOffset(NoteRowToBeat(r));
Expand Down

0 comments on commit 012ebbf

Please sign in to comment.