1
1
// Licensed under the MIT License <http://opensource.org/licenses/MIT>.
2
2
// SPDX-License-Identifier: MIT
3
3
// RapidFuzz v1.0.2
4
- // Generated: 2024-12-25 11:29:11.666527
4
+ // Generated: 2024-12-25 11:44:52.213162
5
5
// ----------------------------------------------------------
6
6
// This file is an amalgamation of multiple different files.
7
7
// You probably shouldn't edit it directly.
@@ -5074,7 +5074,7 @@ struct MultiLCSseq : public detail::MultiSimilarityBase<MultiLCSseq<MaxLen>, siz
5074
5074
friend detail::MultiSimilarityBase<MultiLCSseq<MaxLen>, size_t , 0 , std::numeric_limits<int64_t >::max()>;
5075
5075
friend detail::MultiNormalizedMetricBase<MultiLCSseq<MaxLen>, size_t >;
5076
5076
5077
- constexpr static size_t get_vec_size ()
5077
+ RAPIDFUZZ_CONSTEXPR_CXX14 static size_t get_vec_size ()
5078
5078
{
5079
5079
# ifdef RAPIDFUZZ_AVX2
5080
5080
using namespace detail ::simd_avx2;
@@ -5093,7 +5093,7 @@ struct MultiLCSseq : public detail::MultiSimilarityBase<MultiLCSseq<MaxLen>, siz
5093
5093
static_assert (MaxLen <= 64 , " expected MaxLen <= 64" );
5094
5094
}
5095
5095
5096
- constexpr static size_t find_block_count (size_t count)
5096
+ static size_t find_block_count (size_t count)
5097
5097
{
5098
5098
size_t vec_size = get_vec_size ();
5099
5099
size_t simd_vec_count = detail::ceil_div (count, vec_size);
@@ -5559,7 +5559,12 @@ static inline size_t count_common_chars(const FlaggedCharsMultiword& flagged)
5559
5559
}
5560
5560
5561
5561
template <typename PM_Vec, typename InputIt1, typename InputIt2>
5562
- static inline FlaggedCharsWord flag_similar_characters_word (const PM_Vec& PM, const Range<InputIt1>&,
5562
+ static inline FlaggedCharsWord flag_similar_characters_word (const PM_Vec& PM,
5563
+ #ifdef NDEBUG
5564
+ const Range<InputIt1>&,
5565
+ #else
5566
+ const Range<InputIt1>& P,
5567
+ #endif
5563
5568
const Range<InputIt2>& T, size_t Bound)
5564
5569
{
5565
5570
assert (P.size () <= 64 );
@@ -6415,7 +6420,7 @@ struct MultiJaro : public detail::MultiSimilarityBase<MultiJaro<MaxLen>, double,
6415
6420
# endif
6416
6421
}
6417
6422
6418
- constexpr static size_t find_block_count (size_t count)
6423
+ static size_t find_block_count (size_t count)
6419
6424
{
6420
6425
size_t vec_size = get_vec_size ();
6421
6426
size_t simd_vec_count = detail::ceil_div (count, vec_size);
@@ -8396,7 +8401,7 @@ struct MultiLevenshtein : public detail::MultiDistanceBase<MultiLevenshtein<MaxL
8396
8401
std::numeric_limits<int64_t >::max()>;
8397
8402
friend detail::MultiNormalizedMetricBase<MultiLevenshtein<MaxLen>, size_t >;
8398
8403
8399
- constexpr static size_t get_vec_size ()
8404
+ RAPIDFUZZ_CONSTEXPR_CXX14 static size_t get_vec_size ()
8400
8405
{
8401
8406
# ifdef RAPIDFUZZ_AVX2
8402
8407
using namespace detail ::simd_avx2;
@@ -8415,7 +8420,7 @@ struct MultiLevenshtein : public detail::MultiDistanceBase<MultiLevenshtein<MaxL
8415
8420
static_assert (MaxLen <= 64 , " expected MaxLen <= 64" );
8416
8421
}
8417
8422
8418
- constexpr static size_t find_block_count (size_t count)
8423
+ static size_t find_block_count (size_t count)
8419
8424
{
8420
8425
size_t vec_size = get_vec_size ();
8421
8426
size_t simd_vec_count = detail::ceil_div (count, vec_size);
@@ -8967,7 +8972,7 @@ struct MultiOSA
8967
8972
friend detail::MultiDistanceBase<MultiOSA<MaxLen>, size_t , 0 , std::numeric_limits<int64_t >::max()>;
8968
8973
friend detail::MultiNormalizedMetricBase<MultiOSA<MaxLen>, size_t >;
8969
8974
8970
- constexpr static size_t get_vec_size ()
8975
+ RAPIDFUZZ_CONSTEXPR_CXX14 static size_t get_vec_size ()
8971
8976
{
8972
8977
# ifdef RAPIDFUZZ_AVX2
8973
8978
using namespace detail ::simd_avx2;
@@ -8986,7 +8991,7 @@ struct MultiOSA
8986
8991
static_assert (MaxLen <= 64 , " expected MaxLen <= 64" );
8987
8992
}
8988
8993
8989
- constexpr static size_t find_block_count (size_t count)
8994
+ static size_t find_block_count (size_t count)
8990
8995
{
8991
8996
size_t vec_size = get_vec_size ();
8992
8997
size_t simd_vec_count = detail::ceil_div (count, vec_size);
0 commit comments