From 4ab4d58b723b119bbd49f0dcfdfaa860fc225a51 Mon Sep 17 00:00:00 2001 From: Carl Philipp Klemm <philipp@uvos.xyz> Date: Tue, 25 Jul 2023 13:04:51 +0200 Subject: [PATCH] Masviely improve windows performance by avoiding second parameter pass and associated allocations system malloc is massively slower on windows than on linux --- model.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/model.cpp b/model.cpp index 24c1b23..52dbb22 100644 --- a/model.cpp +++ b/model.cpp @@ -366,8 +366,6 @@ void Model::resolveSteps(int64_t index) return; } - assert(static_cast<size_t>(index) < getRequiredStepsForSweeps()); - std::vector<Range*> flatRanges; for(Componant* componant : componants) -- GitLab