Skip to content

Commit

Permalink
It seems that it is unnecessary to read 4-bit data in 11-hexadecimal …
Browse files Browse the repository at this point in the history
…system, and the time for 4-bit data reading of this algorithm even exceeds 4 times of cyclic reading
  • Loading branch information
MacroModel committed Nov 25, 2024
1 parent fd4dd47 commit 924b0f6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/fast_io_core_impl/integers/sto/sto_contiguous.h
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,10 @@ scan_int_contiguous_none_simd_space_part_define_impl(char_type const *first, cha
first += sizeof(::std::uint_least64_t);
}
}

// It seems that it is unnecessary to read 4-bit data in base11-hexadecimal system,
// and the time for 4-bit data reading of this algorithm even exceeds 4 times of cyclic reading
#if 0
if constexpr (max_size >= sizeof(::std::uint_least32_t))
{
if (static_cast<::std::size_t>(first_phase_last - first) >= sizeof(::std::uint_least32_t))
Expand Down Expand Up @@ -682,6 +686,7 @@ scan_int_contiguous_none_simd_space_part_define_impl(char_type const *first, cha
}
}
}
#endif
}
}
}
Expand Down

0 comments on commit 924b0f6

Please sign in to comment.