From 4e522f41fbc5bccb14a505f38af83c96e17634fc Mon Sep 17 00:00:00 2001 From: Alexander Taepper Date: Thu, 8 Feb 2024 08:10:37 +0100 Subject: [PATCH] feat: statically disable deleted symbol optimisations because of performance penalty --- src/silo/storage/sequence_store.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/silo/storage/sequence_store.cpp b/src/silo/storage/sequence_store.cpp index 097e853d0..14d7179f1 100644 --- a/src/silo/storage/sequence_store.cpp +++ b/src/silo/storage/sequence_store.cpp @@ -197,7 +197,7 @@ void silo::SequenceStorePartition::optimizeBitmaps() { tbb::parallel_for(tbb::blocked_range(0, positions.size()), [&](const auto& local) { auto& local_index_changes = index_changes_to_reference.local(); for (auto position = local.begin(); position != local.end(); ++position) { - auto symbol_changed = positions[position].deleteMostNumerousBitmap(sequence_count); + auto symbol_changed = positions[position].flipMostNumerousBitmap(sequence_count); if (symbol_changed.has_value()) { local_index_changes.emplace_back(position, *symbol_changed); }