mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-26 19:35:12 +00:00
The flat_mutation_reader files were conflated and contained multiple readers, which were not strictly necessary. Splitting optimizes both iterative compilation times, as touching rarely used readers doesn't recompile large chunks of codebase. Total compilation times are also improved, as the size of flat_mutation_reader.hh and flat_mutation_reader_v2.hh have been reduced and those files are included by many file in the codebase. With changes real 29m14.051s user 168m39.071s sys 5m13.443s Without changes real 30m36.203s user 175m43.354s sys 5m26.376s Closes #10194
27 lines
512 B
C++
27 lines
512 B
C++
/*
|
|
* Copyright (C) 2022-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
#pragma once
|
|
#include <seastar/util/bool_class.hh>
|
|
|
|
using namespace seastar;
|
|
|
|
class mutation_source;
|
|
class position_in_partition;
|
|
class flat_mutation_reader_v2;
|
|
|
|
namespace streamed_mutation {
|
|
class forwarding_tag;
|
|
using forwarding = bool_class<forwarding_tag>;
|
|
}
|
|
|
|
namespace mutation_reader {
|
|
class partition_range_forwarding_tag;
|
|
using forwarding = bool_class<partition_range_forwarding_tag>;
|
|
}
|