Merge branch 'perf/msgpack-scalar-runs' into perf/ubjson-typed-arrays

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann committed 2026-10-31 20:20:38 +01:00
commit af60d07e89
2 files changed
+8

No files matched your search

@@ -1720,6 +1720,8 @@ class binary_reader
const auto* const data = reinterpret_cast<const unsigned char*>(ia.bulk_data());
const unsigned char head = data[0];
std::size_t size = 0;
// false positive: every case assigns accepted before it is read
// @infer-ignore DEAD_STORE
bool accepted = true;
switch (head)
{
@@ -2655,6 +2657,8 @@ class binary_reader
const auto* const data = reinterpret_cast<const unsigned char*>(ia.bulk_data());
const unsigned char head = data[0];
std::size_t size = 0;
// false positive: every case assigns accepted before it is read
// @infer-ignore DEAD_STORE
bool accepted = true;
switch (head)
{
+4
View File
@@ -19497,6 +19497,8 @@ class binary_reader
const auto* const data = reinterpret_cast<const unsigned char*>(ia.bulk_data());
const unsigned char head = data[0];
std::size_t size = 0;
// false positive: every case assigns accepted before it is read
// @infer-ignore DEAD_STORE
bool accepted = true;
switch (head)
{
@@ -20432,6 +20434,8 @@ class binary_reader
const auto* const data = reinterpret_cast<const unsigned char*>(ia.bulk_data());
const unsigned char head = data[0];
std::size_t size = 0;
// false positive: every case assigns accepted before it is read
// @infer-ignore DEAD_STORE
bool accepted = true;
switch (head)
{