perf fix alpine x86
This commit is contained in:
+2
-1
@@ -59,8 +59,9 @@ static bool is_word_byte(unsigned char c) {
|
||||
return (c >= '0' && c <= '9') || (c >= 'a' && c <= 'z') ||
|
||||
(c >= 'A' && c <= 'Z') || c == '_';
|
||||
}
|
||||
template<class R>
|
||||
static void wrap_pairs(std::string &dst, std::string_view src, std::string_view open,
|
||||
std::string_view close, std::span<const int> codes,
|
||||
std::string_view close, const R& codes,
|
||||
bool boundary = false) {
|
||||
size_t olen = open.size(), clen = close.size();
|
||||
size_t p = 0;
|
||||
|
||||
Reference in New Issue
Block a user