Skip to content

Commit 4793b4d

Browse files
authored
Merge pull request #210 from anthony-zy/rv_findmatchlenght
Use high-performance FindMatchLength to Optimize Snappy compression s…
2 parents 6af9287 + 1d88de7 commit 4793b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snappy-internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ char* CompressFragment(const char* input,
174174
// Separate implementation for 64-bit, little-endian cpus.
175175
#if !SNAPPY_IS_BIG_ENDIAN && \
176176
(defined(__x86_64__) || defined(_M_X64) || defined(ARCH_PPC) || \
177-
defined(ARCH_ARM))
177+
defined(ARCH_ARM) || defined(__riscv))
178178
static inline std::pair<size_t, bool> FindMatchLength(const char* s1,
179179
const char* s2,
180180
const char* s2_limit,

0 commit comments

Comments
 (0)