mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-20 15:22:24 +01:00
- using patch for inlining https://github.com/google/snappy/pull/128 - tests and benchmark are third-party, using additional sources and unittests
14 lines
456 B
Diff
14 lines
456 B
Diff
Patch-Source: https://github.com/google/snappy/pull/128
|
|
|
|
--- a/snappy.cc
|
|
+++ b/snappy.cc
|
|
@@ -1014,7 +1014,7 @@
|
|
}
|
|
|
|
SNAPPY_ATTRIBUTE_ALWAYS_INLINE
|
|
-size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) {
|
|
+inline size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) {
|
|
const uint8_t*& ip = *ip_p;
|
|
// This section is crucial for the throughput of the decompression loop.
|
|
// The latency of an iteration is fundamentally constrained by the
|