Skip to content

Commit

Permalink
feat: statically disable deleted symbol optimisations because of perf…
Browse files Browse the repository at this point in the history
…ormance penalty
  • Loading branch information
Taepper committed Feb 8, 2024
1 parent d779d94 commit 4e522f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/silo/storage/sequence_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ void silo::SequenceStorePartition<Symbol>::optimizeBitmaps() {
tbb::parallel_for(tbb::blocked_range<uint32_t>(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);
}
Expand Down

0 comments on commit 4e522f4

Please sign in to comment.