LLVMFuzzerTestOneInput:
   12|  13.5k|{
   13|  13.5k|        std::string input(reinterpret_cast<const char*>(data), size);
   14|  13.5k|        std::istringstream is(input);
   15|  13.5k|        try {
   16|  13.5k|                json j2 = decode_cbor<json>(is);
   17|  13.5k|        }
   18|  13.5k|        catch(const jsoncons::ser_error&) {}
   19|  13.5k|        catch(jsoncons::json_runtime_error<std::runtime_error> e2) {}
   20|       |
   21|  13.5k|        return 0;
   22|  13.5k|}

_ZNK8jsoncons16allocator_holderINSt3__19allocatorIcEEE13get_allocatorEv:
   30|  4.98M|    {
   31|  4.98M|        return alloc_;
   32|  4.98M|    }
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2ERKS3_:
   25|  8.09k|        : alloc_(alloc)
   26|  8.09k|        {}
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2Ev:
   20|  4.92M|    allocator_holder() = default;

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2774|   128M|        {
 2775|   128M|             destroy();
 2776|   128M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  898|   128M|        {
  899|   128M|            switch (storage_kind())
  900|   128M|            {
  901|   437k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (901:17): [True: 437k, False: 128M]
  ------------------
  902|   437k|                {
  903|   437k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (903:25): [True: 437k, False: 0]
  ------------------
  904|   437k|                    {
  905|   437k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  906|   437k|                    }
  907|   437k|                    break;
  908|      0|                }
  909|  1.96M|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (909:17): [True: 1.96M, False: 126M]
  ------------------
  910|  1.96M|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (910:25): [True: 1.96M, False: 0]
  ------------------
  911|  1.96M|                    {
  912|  1.96M|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  913|  1.96M|                    }
  914|  1.96M|                    break;
  915|  3.60M|                case json_storage_kind::array:
  ------------------
  |  Branch (915:17): [True: 3.60M, False: 125M]
  ------------------
  916|  3.60M|                {
  917|  3.60M|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (917:25): [True: 3.60M, False: 0]
  ------------------
  918|  3.60M|                    {
  919|  3.60M|                        auto& stor = cast<array_storage>();
  920|  3.60M|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  921|  3.60M|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, nonstd::to_plain_pointer(stor.ptr_));
  922|  3.60M|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  923|  3.60M|                    }
  924|  3.60M|                    break;
  925|      0|                }
  926|  1.32M|                case json_storage_kind::object:
  ------------------
  |  Branch (926:17): [True: 1.32M, False: 127M]
  ------------------
  927|  1.32M|                {
  928|  1.32M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (928:25): [True: 1.32M, False: 0]
  ------------------
  929|  1.32M|                    {
  930|  1.32M|                        auto& stor = cast<object_storage>();
  931|  1.32M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  932|  1.32M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, nonstd::to_plain_pointer(stor.ptr_));
  933|  1.32M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  934|  1.32M|                    }
  935|  1.32M|                    break;
  936|      0|                }
  937|   121M|                default:
  ------------------
  |  Branch (937:17): [True: 121M, False: 7.33M]
  ------------------
  938|   121M|                    break;
  939|   128M|            }
  940|   128M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1462|   389M|        {
 1463|       |            // It is legal to access 'common_.storage_kind_' even though 
 1464|       |            // common_ is not the active member of the union because 'storage_kind_' 
 1465|       |            // is a part of the common initial sequence of all union members
 1466|       |            // as defined in 11.4-25 of the Standard.
 1467|   389M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1468|   389M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1004|  3.10M|        {
 1005|  3.10M|            return cast(identity<T>());
 1006|  3.10M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1095|  3.10M|        {
 1096|  3.10M|            return long_str_;
 1097|  3.10M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1004|  17.9M|        {
 1005|  17.9M|            return cast(identity<T>());
 1006|  17.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1105|  17.9M|        {
 1106|  17.9M|            return byte_str_;
 1107|  17.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1004|  54.9M|        {
 1005|  54.9M|            return cast(identity<T>());
 1006|  54.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1125|  54.9M|        {
 1126|  54.9M|            return array_;
 1127|  54.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2307|  94.5M|        {
 2308|  94.5M|            uninitialized_move(std::move(other));
 2309|  94.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1302|  94.5M|        {
 1303|  94.5M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1303:17): [True: 76.1M, False: 18.3M]
  ------------------
 1304|  76.1M|            {
 1305|  76.1M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1306|  76.1M|            }
 1307|  18.3M|            else
 1308|  18.3M|            {
 1309|  18.3M|                switch (other.storage_kind())
 1310|  18.3M|                {
 1311|   810k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1311:21): [True: 810k, False: 17.5M]
  ------------------
 1312|   810k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1313|   810k|                        other.construct<null_storage>();
 1314|   810k|                        break;
 1315|  4.86M|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1315:21): [True: 4.86M, False: 13.4M]
  ------------------
 1316|  4.86M|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1317|  4.86M|                        other.construct<null_storage>();
 1318|  4.86M|                        break;
 1319|  10.0M|                    case json_storage_kind::array:
  ------------------
  |  Branch (1319:21): [True: 10.0M, False: 8.29M]
  ------------------
 1320|  10.0M|                        construct<array_storage>(other.cast<array_storage>());
 1321|  10.0M|                        other.construct<null_storage>();
 1322|  10.0M|                        break;
 1323|  2.61M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1323:21): [True: 2.61M, False: 15.7M]
  ------------------
 1324|  2.61M|                        construct<object_storage>(other.cast<object_storage>());
 1325|  2.61M|                        other.construct<null_storage>();
 1326|  2.61M|                        break;
 1327|      0|                    default:
  ------------------
  |  Branch (1327:21): [True: 0, False: 18.3M]
  ------------------
 1328|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1329|      0|                        break;
 1330|  18.3M|                }
 1331|  18.3M|            }
 1332|  94.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  995|   894k|        {
  996|   894k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   894k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  626|   977k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  627|   977k|            {
  628|   977k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  995|  18.3M|        {
  996|  18.3M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  18.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1004|  29.4M|        {
 1005|  29.4M|            return cast(identity<T>());
 1006|  29.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1015|  29.4M|        {
 1016|  29.4M|            return null_;
 1017|  29.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  450|  18.4M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  451|  18.4M|            {
  452|  18.4M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  995|  6.02M|        {
  996|  6.02M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  6.02M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  675|  7.17M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  676|  7.17M|            {
  677|  7.17M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  995|  13.8M|        {
  996|  13.8M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  13.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  727|  17.6M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  728|  17.6M|            {
  729|  17.6M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  995|  3.31M|        {
  996|  3.31M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  3.31M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  777|  4.00M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  778|  4.00M|            {
  779|  4.00M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4759|  1.55M|        {
 4760|  1.55M|            switch (storage_kind())
 4761|  1.55M|            {
 4762|  1.55M|                case json_storage_kind::array:
  ------------------
  |  Branch (4762:17): [True: 1.55M, False: 0]
  ------------------
 4763|  1.55M|                    return array_range_type(cast<array_storage>().value().begin(),
 4764|  1.55M|                        cast<array_storage>().value().end());
 4765|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4765:17): [True: 0, False: 1.55M]
  ------------------
 4766|      0|                    return cast<json_ref_storage>().value().array_range();
 4767|      0|                default:
  ------------------
  |  Branch (4767:17): [True: 0, False: 1.55M]
  ------------------
 4768|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4769|  1.55M|            }
 4770|  1.55M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  16.4M|            {
  751|  16.4M|                return *ptr_;
  752|  16.4M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|  1.55M|            : first_(first), last_(last)
  349|  1.55M|        {
  350|  1.55M|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|  1.55M|        {
  354|  1.55M|            return first_;
  355|  1.55M|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|  1.55M|        {
  358|  1.55M|            return last_;
  359|  1.55M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3425|  1.54M|        {
 3426|  1.54M|            switch (storage_kind())
 3427|  1.54M|            {
 3428|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 1.54M]
  ------------------
 3429|      0|                    return cast<byte_string_storage>().length() == 0;
 3430|      0|                    break;
 3431|      0|                case json_storage_kind::short_str:
  ------------------
  |  Branch (3431:17): [True: 0, False: 1.54M]
  ------------------
 3432|      0|                    return cast<short_string_storage>().length() == 0;
 3433|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3433:17): [True: 0, False: 1.54M]
  ------------------
 3434|      0|                    return cast<long_string_storage>().length() == 0;
 3435|  1.52M|                case json_storage_kind::array:
  ------------------
  |  Branch (3435:17): [True: 1.52M, False: 18.7k]
  ------------------
 3436|  1.52M|                    return cast<array_storage>().value().empty();
 3437|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3437:17): [True: 0, False: 1.54M]
  ------------------
 3438|      0|                    return true;
 3439|  18.7k|                case json_storage_kind::object:
  ------------------
  |  Branch (3439:17): [True: 18.7k, False: 1.52M]
  ------------------
 3440|  18.7k|                    return cast<object_storage>().value().empty();
 3441|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3441:17): [True: 0, False: 1.54M]
  ------------------
 3442|      0|                    return cast<const_json_ref_storage>().value().empty();
 3443|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3443:17): [True: 0, False: 1.54M]
  ------------------
 3444|      0|                    return cast<json_ref_storage>().value().empty();
 3445|      0|                default:
  ------------------
  |  Branch (3445:17): [True: 0, False: 1.54M]
  ------------------
 3446|      0|                    return false;
 3447|  1.54M|            }
 3448|  1.54M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1010|  1.52M|        {
 1011|  1.52M|            return cast(identity<T>());
 1012|  1.52M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  1.52M|        {
 1131|  1.52M|            return array_;
 1132|  1.52M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  1.52M|            {
  756|  1.52M|                return *ptr_;
  757|  1.52M|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1010|  18.7k|        {
 1011|  18.7k|            return cast(identity<T>());
 1012|  18.7k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|  18.7k|        {
 1121|  18.7k|            return object_;
 1122|  18.7k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  801|  18.7k|            {
  802|  18.7k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   54|  18.7k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 18.7k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  803|  18.7k|                return *ptr_;
  804|  18.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4156|  1.56M|        {
 4157|  1.56M|            switch (storage_kind())
 4158|  1.56M|            {
 4159|  1.55M|                case json_storage_kind::array:
  ------------------
  |  Branch (4159:17): [True: 1.55M, False: 15.5k]
  ------------------
 4160|  1.55M|                    cast<array_storage>().value().clear();
 4161|  1.55M|                    break;
 4162|  15.5k|                case json_storage_kind::object:
  ------------------
  |  Branch (4162:17): [True: 15.5k, False: 1.55M]
  ------------------
 4163|  15.5k|                    cast<object_storage>().value().clear();
 4164|  15.5k|                    break;
 4165|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4165:17): [True: 0, False: 1.56M]
  ------------------
 4166|      0|                    cast<json_ref_storage>().value().clear();
 4167|      0|                    break;
 4168|      0|                default:
  ------------------
  |  Branch (4168:17): [True: 0, False: 1.56M]
  ------------------
 4169|      0|                    break;
 4170|  1.56M|            }
 4171|  1.56M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  795|  62.2k|            {
  796|  62.2k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   54|  62.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 62.2k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  797|  62.2k|                return *ptr_;
  798|  62.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4725|  15.5k|        {
 4726|  15.5k|            switch (storage_kind())
 4727|  15.5k|            {
 4728|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4728:17): [True: 0, False: 15.5k]
  ------------------
 4729|      0|                    return object_range_type(object_iterator(), object_iterator());
 4730|  15.5k|                case json_storage_kind::object:
  ------------------
  |  Branch (4730:17): [True: 15.5k, False: 0]
  ------------------
 4731|  15.5k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4732|  15.5k|                                                  object_iterator(cast<object_storage>().value().end()));
 4733|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4733:17): [True: 0, False: 15.5k]
  ------------------
 4734|      0|                    return cast<json_ref_storage>().value().object_range();
 4735|      0|                default:
  ------------------
  |  Branch (4735:17): [True: 0, False: 15.5k]
  ------------------
 4736|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4737|  15.5k|            }
 4738|  15.5k|        }
_ZN8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEEC2ERKSI_SP_:
  348|  15.5k|            : first_(first), last_(last)
  349|  15.5k|        {
  350|  15.5k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|  31.0k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|  31.0k|            {
  120|  31.0k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  353|  15.5k|        {
  354|  15.5k|            return first_;
  355|  15.5k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  357|  15.5k|        {
  358|  15.5k|            return last_;
  359|  15.5k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|  39.0k|            {
  219|  39.0k|                return !(*this == rhs);
  220|  39.0k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|  39.0k|            {
  210|  39.0k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   78|  78.1k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 39.0k, False: 0]
  |  |  |  Branch (78:48): [True: 39.0k, False: 0]
  |  |  |  Branch (78:48): [True: 39.0k, False: 0]
  |  |  ------------------
  ------------------
  211|  39.0k|                {
  212|  39.0k|                    return current_ == rhs.current_;
  213|  39.0k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|  39.0k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  23.5k|            {
  141|  23.5k|                return *current_;
  142|  23.5k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  23.5k|            {
  151|  23.5k|                ++current_;
  152|  23.5k|                return *this;
  153|  23.5k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1004|  10.6M|        {
 1005|  10.6M|            return cast(identity<T>());
 1006|  10.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1115|  10.6M|        {
 1116|  10.6M|            return object_;
 1117|  10.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2275|  13.5k|        {
 2276|  13.5k|            construct<empty_object_storage>(semantic_tag::none);
 2277|  13.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  995|  13.5k|        {
  996|  13.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  13.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1004|  19.3k|        {
 1005|  19.3k|            return cast(identity<T>());
 1006|  19.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1025|  19.3k|        {
 1026|  19.3k|            return empty_object_;
 1027|  19.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  462|  13.5k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|  13.5k|            {
  464|  13.5k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3484|  1.61M|        {
 3485|  1.61M|            if (n > 0)
  ------------------
  |  Branch (3485:17): [True: 1.61M, False: 0]
  ------------------
 3486|  1.61M|            {
 3487|  1.61M|                switch (storage_kind())
 3488|  1.61M|                {
 3489|  1.61M|                    case json_storage_kind::array:
  ------------------
  |  Branch (3489:21): [True: 1.61M, False: 0]
  ------------------
 3490|  1.61M|                        cast<array_storage>().value().reserve(n);
 3491|  1.61M|                        break;
 3492|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3492:21): [True: 0, False: 1.61M]
  ------------------
 3493|      0|                        create_object_implicitly();
 3494|      0|                        cast<object_storage>().value().reserve(n);
 3495|      0|                        break;
 3496|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3496:21): [True: 0, False: 1.61M]
  ------------------
 3497|      0|                        cast<object_storage>().value().reserve(n);
 3498|      0|                        break;
 3499|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3499:21): [True: 0, False: 1.61M]
  ------------------
 3500|      0|                        cast<json_ref_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    default:
  ------------------
  |  Branch (3502:21): [True: 0, False: 1.61M]
  ------------------
 3503|      0|                        break;
 3504|  1.61M|                }
 3505|  1.61M|            }
 3506|  1.61M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2320|  1.32M|        {
 2321|  1.32M|            auto ptr = create_object(alloc);
 2322|  1.32M|            construct<object_storage>(ptr, tag);
 2323|  1.32M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  976|  1.32M|        {
  977|  1.32M|            using stor_allocator_type = typename object_storage::allocator_type;
  978|  1.32M|            stor_allocator_type stor_alloc(alloc);
  979|  1.32M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  980|  1.32M|            JSONCONS_TRY
  ------------------
  |  |   37|  1.32M|    #define JSONCONS_TRY try
  ------------------
  981|  1.32M|            {
  982|  1.32M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, nonstd::to_plain_pointer(ptr), 
  983|  1.32M|                    std::forward<Args>(args)...);
  984|  1.32M|            }
  985|  1.32M|            JSONCONS_CATCH(...)
  986|  1.32M|            {
  987|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  988|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  989|      0|            }
  990|  1.32M|            return ptr;
  991|  1.32M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  1.32M|        {
  996|  1.32M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.32M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  772|  1.32M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  773|  1.32M|            {
  774|  1.32M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4701|  10.2M|        {
 4702|  10.2M|            switch (storage_kind())
 4703|  10.2M|            {
 4704|  10.2M|                case json_storage_kind::array:
  ------------------
  |  Branch (4704:17): [True: 10.2M, False: 0]
  ------------------
 4705|  10.2M|                    cast<array_storage>().value().push_back(std::move(val));
 4706|  10.2M|                    break;
 4707|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4707:17): [True: 0, False: 10.2M]
  ------------------
 4708|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4709|      0|                    break;
 4710|      0|                default:
  ------------------
  |  Branch (4710:17): [True: 0, False: 10.2M]
  ------------------
 4711|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Attempting to insert into a value that is not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4712|  10.2M|            }
 4713|  10.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1453|  47.8M|        {
 1454|  47.8M|            if (this != &other)
  ------------------
  |  Branch (1454:17): [True: 47.8M, False: 0]
  ------------------
 1455|  47.8M|            {
 1456|  47.8M|                move_assignment(std::move(other));
 1457|  47.8M|            }
 1458|  47.8M|            return *this;
 1459|  47.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1415|  47.8M|        {
 1416|  47.8M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1416:17): [True: 47.8M, False: 0]
  |  Branch (1416:55): [True: 42.1M, False: 5.73M]
  ------------------
 1417|  42.1M|            {
 1418|  42.1M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1419|  42.1M|            }
 1420|  5.73M|            else
 1421|  5.73M|            {
 1422|  5.73M|                swap(other);
 1423|  5.73M|            }
 1424|  47.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1934|  5.73M|        {
 1935|  5.73M|            if (this == &other)
  ------------------
  |  Branch (1935:17): [True: 0, False: 5.73M]
  ------------------
 1936|      0|            {
 1937|      0|                return;
 1938|      0|            }
 1939|  5.73M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1939:17): [True: 5.73M, False: 0]
  |  Branch (1939:55): [True: 0, False: 5.73M]
  ------------------
 1940|      0|            {
 1941|      0|                basic_json temp;               
 1942|      0|                std::memcpy(static_cast<void*>(&temp), static_cast<void*>(&other), sizeof(basic_json));
 1943|      0|                std::memcpy(static_cast<void*>(&other), static_cast<void*>(this), sizeof(basic_json));
 1944|      0|                std::memcpy(static_cast<void*>(this), static_cast<void*>(&temp), sizeof(basic_json));
 1945|      0|            }
 1946|  5.73M|            else
 1947|  5.73M|            {
 1948|  5.73M|                switch (storage_kind())
 1949|  5.73M|                {
 1950|  5.52M|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 5.52M, False: 208k]
  ------------------
 1951|  2.92k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 2.92k, False: 5.72M]
  ------------------
 1952|  6.97k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 6.97k, False: 5.72M]
  ------------------
 1953|  32.8k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 32.8k, False: 5.69M]
  ------------------
 1954|   137k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 137k, False: 5.59M]
  ------------------
 1955|  3.31k|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 3.31k, False: 5.72M]
  ------------------
 1956|  4.43k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 4.43k, False: 5.72M]
  ------------------
 1957|  20.0k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 20.0k, False: 5.71M]
  ------------------
 1958|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 5.73M]
  ------------------
 1959|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 0, False: 5.73M]
  ------------------
 1960|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 0, False: 5.73M]
  ------------------
 1961|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 5.73M]
  ------------------
 1962|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 5.73M]
  ------------------
 1963|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 5.73M]
  ------------------
 1964|      0|                    default:
  ------------------
  |  Branch (1964:21): [True: 0, False: 5.73M]
  ------------------
 1965|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1966|      0|                        break;
 1967|  5.73M|                }
 1968|  5.73M|            }
 1969|  5.73M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1170|  5.52M|        {
 1171|  5.52M|            switch (other.storage_kind())
 1172|  5.52M|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 5.52M]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 5.52M]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 5.52M]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 5.52M]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 5.52M]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 5.52M]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 5.52M]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 5.52M]
  ------------------
 1181|  63.8k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 63.8k, False: 5.46M]
  ------------------
 1182|  1.10M|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 1.10M, False: 4.42M]
  ------------------
 1183|  3.71M|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 3.71M, False: 1.81M]
  ------------------
 1184|   647k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 647k, False: 4.87M]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 5.52M]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 5.52M]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 5.52M]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  5.52M|            }
 1191|  5.52M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  995|  5.52M|        {
  996|  5.52M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  5.52M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  995|  2.92k|        {
  996|  2.92k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.92k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1004|  1.21M|        {
 1005|  1.21M|            return cast(identity<T>());
 1006|  1.21M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1035|  1.21M|        {
 1036|  1.21M|            return boolean_;
 1037|  1.21M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  995|  6.97k|        {
  996|  6.97k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  6.97k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1004|  5.47M|        {
 1005|  5.47M|            return cast(identity<T>());
 1006|  5.47M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1045|  5.47M|        {
 1046|  5.47M|            return int64_;
 1047|  5.47M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  995|  32.8k|        {
  996|  32.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  32.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1004|  18.1M|        {
 1005|  18.1M|            return cast(identity<T>());
 1006|  18.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1055|  18.1M|        {
 1056|  18.1M|            return uint64_;
 1057|  18.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  995|   137k|        {
  996|   137k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   137k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12half_storageEEERT_v:
 1004|  18.3k|        {
 1005|  18.3k|            return cast(identity<T>());
 1006|  18.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12half_storageEEE:
 1065|  18.3k|        {
 1066|  18.3k|            return half_float_;
 1067|  18.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12half_storageEJRS7_EEEvDpOT0_:
  995|  3.31k|        {
  996|  3.31k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  3.31k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1004|   418k|        {
 1005|   418k|            return cast(identity<T>());
 1006|   418k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1075|   418k|        {
 1076|   418k|            return float64_;
 1077|   418k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  995|  4.43k|        {
  996|  4.43k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.43k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1004|  1.99M|        {
 1005|  1.99M|            return cast(identity<T>());
 1006|  1.99M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1085|  1.99M|        {
 1086|  1.99M|            return short_str_;
 1087|  1.99M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  585|  20.0k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  586|  20.0k|            {
  587|  20.0k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  588|  20.0k|                data_[short_str_length_] = 0;
  589|  20.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  995|  20.0k|        {
  996|  20.0k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  20.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1156|  63.8k|        {
 1157|  63.8k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  63.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  63.8k|        {
 1163|  63.8k|            TypeR temp{other.cast<TypeR>()};
 1164|  63.8k|            other.construct<TypeL>(cast<TypeL>());
 1165|  63.8k|            construct<TypeR>(temp);
 1166|  63.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  1.10M|        {
 1157|  1.10M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.10M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.10M|        {
 1163|  1.10M|            TypeR temp{other.cast<TypeR>()};
 1164|  1.10M|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.10M|            construct<TypeR>(temp);
 1166|  1.10M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1156|  3.71M|        {
 1157|  3.71M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  3.71M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  3.71M|        {
 1163|  3.71M|            TypeR temp{other.cast<TypeR>()};
 1164|  3.71M|            other.construct<TypeL>(cast<TypeL>());
 1165|  3.71M|            construct<TypeR>(temp);
 1166|  3.71M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1156|   647k|        {
 1157|   647k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   647k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   647k|        {
 1163|   647k|            TypeR temp{other.cast<TypeR>()};
 1164|   647k|            other.construct<TypeL>(cast<TypeL>());
 1165|   647k|            construct<TypeR>(temp);
 1166|   647k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1170|  2.92k|        {
 1171|  2.92k|            switch (other.storage_kind())
 1172|  2.92k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.92k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.92k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.92k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.92k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.92k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.92k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.92k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.92k]
  ------------------
 1181|  1.11k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 1.11k, False: 1.81k]
  ------------------
 1182|     13|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 13, False: 2.91k]
  ------------------
 1183|    595|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 595, False: 2.33k]
  ------------------
 1184|  1.20k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 1.20k, False: 1.71k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 2.92k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.92k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.92k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.92k|            }
 1191|  2.92k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1156|  1.11k|        {
 1157|  1.11k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.11k|        {
 1163|  1.11k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.11k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.11k|            construct<TypeR>(temp);
 1166|  1.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvRS5_:
 1156|     13|        {
 1157|     13|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|     13|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|     13|        {
 1163|     13|            TypeR temp{other.cast<TypeR>()};
 1164|     13|            other.construct<TypeL>(cast<TypeL>());
 1165|     13|            construct<TypeR>(temp);
 1166|     13|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1156|    595|        {
 1157|    595|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    595|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    595|        {
 1163|    595|            TypeR temp{other.cast<TypeR>()};
 1164|    595|            other.construct<TypeL>(cast<TypeL>());
 1165|    595|            construct<TypeR>(temp);
 1166|    595|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1156|  1.20k|        {
 1157|  1.20k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.20k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.20k|        {
 1163|  1.20k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.20k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.20k|            construct<TypeR>(temp);
 1166|  1.20k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1170|  6.97k|        {
 1171|  6.97k|            switch (other.storage_kind())
 1172|  6.97k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 6.97k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 6.97k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 6.97k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 6.97k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 6.97k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 6.97k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 6.97k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 6.97k]
  ------------------
 1181|    300|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 300, False: 6.67k]
  ------------------
 1182|  3.07k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 3.07k, False: 3.89k]
  ------------------
 1183|  2.46k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 2.46k, False: 4.50k]
  ------------------
 1184|  1.12k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 1.12k, False: 5.84k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 6.97k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 6.97k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 6.97k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  6.97k|            }
 1191|  6.97k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1156|    300|        {
 1157|    300|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    300|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    300|        {
 1163|    300|            TypeR temp{other.cast<TypeR>()};
 1164|    300|            other.construct<TypeL>(cast<TypeL>());
 1165|    300|            construct<TypeR>(temp);
 1166|    300|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  3.07k|        {
 1157|  3.07k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  3.07k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  3.07k|        {
 1163|  3.07k|            TypeR temp{other.cast<TypeR>()};
 1164|  3.07k|            other.construct<TypeL>(cast<TypeL>());
 1165|  3.07k|            construct<TypeR>(temp);
 1166|  3.07k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1156|  2.46k|        {
 1157|  2.46k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.46k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.46k|        {
 1163|  2.46k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.46k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.46k|            construct<TypeR>(temp);
 1166|  2.46k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1156|  1.12k|        {
 1157|  1.12k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.12k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.12k|        {
 1163|  1.12k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.12k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.12k|            construct<TypeR>(temp);
 1166|  1.12k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1170|  32.8k|        {
 1171|  32.8k|            switch (other.storage_kind())
 1172|  32.8k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 32.8k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 32.8k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 32.8k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 32.8k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 32.8k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 32.8k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 32.8k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 32.8k]
  ------------------
 1181|  3.35k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 3.35k, False: 29.4k]
  ------------------
 1182|  7.72k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 7.72k, False: 25.0k]
  ------------------
 1183|  12.1k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 12.1k, False: 20.6k]
  ------------------
 1184|  9.54k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 9.54k, False: 23.2k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 32.8k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 32.8k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 32.8k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  32.8k|            }
 1191|  32.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  3.35k|        {
 1157|  3.35k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  3.35k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  3.35k|        {
 1163|  3.35k|            TypeR temp{other.cast<TypeR>()};
 1164|  3.35k|            other.construct<TypeL>(cast<TypeL>());
 1165|  3.35k|            construct<TypeR>(temp);
 1166|  3.35k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  7.72k|        {
 1157|  7.72k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  7.72k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  7.72k|        {
 1163|  7.72k|            TypeR temp{other.cast<TypeR>()};
 1164|  7.72k|            other.construct<TypeL>(cast<TypeL>());
 1165|  7.72k|            construct<TypeR>(temp);
 1166|  7.72k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1156|  12.1k|        {
 1157|  12.1k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  12.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  12.1k|        {
 1163|  12.1k|            TypeR temp{other.cast<TypeR>()};
 1164|  12.1k|            other.construct<TypeL>(cast<TypeL>());
 1165|  12.1k|            construct<TypeR>(temp);
 1166|  12.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1156|  9.54k|        {
 1157|  9.54k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  9.54k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  9.54k|        {
 1163|  9.54k|            TypeR temp{other.cast<TypeR>()};
 1164|  9.54k|            other.construct<TypeL>(cast<TypeL>());
 1165|  9.54k|            construct<TypeR>(temp);
 1166|  9.54k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1170|   137k|        {
 1171|   137k|            switch (other.storage_kind())
 1172|   137k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 137k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 137k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 137k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 137k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 137k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 137k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 137k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 137k]
  ------------------
 1181|  10.6k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 10.6k, False: 127k]
  ------------------
 1182|  34.5k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 34.5k, False: 103k]
  ------------------
 1183|  61.4k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 61.4k, False: 76.3k]
  ------------------
 1184|  31.1k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 31.1k, False: 106k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 137k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 137k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 137k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|   137k|            }
 1191|   137k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  10.6k|        {
 1157|  10.6k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  10.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  10.6k|        {
 1163|  10.6k|            TypeR temp{other.cast<TypeR>()};
 1164|  10.6k|            other.construct<TypeL>(cast<TypeL>());
 1165|  10.6k|            construct<TypeR>(temp);
 1166|  10.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  34.5k|        {
 1157|  34.5k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  34.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  34.5k|        {
 1163|  34.5k|            TypeR temp{other.cast<TypeR>()};
 1164|  34.5k|            other.construct<TypeL>(cast<TypeL>());
 1165|  34.5k|            construct<TypeR>(temp);
 1166|  34.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1156|  61.4k|        {
 1157|  61.4k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  61.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  61.4k|        {
 1163|  61.4k|            TypeR temp{other.cast<TypeR>()};
 1164|  61.4k|            other.construct<TypeL>(cast<TypeL>());
 1165|  61.4k|            construct<TypeR>(temp);
 1166|  61.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1156|  31.1k|        {
 1157|  31.1k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  31.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  31.1k|        {
 1163|  31.1k|            TypeR temp{other.cast<TypeR>()};
 1164|  31.1k|            other.construct<TypeL>(cast<TypeL>());
 1165|  31.1k|            construct<TypeR>(temp);
 1166|  31.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12half_storageEEEvRS5_:
 1170|  3.31k|        {
 1171|  3.31k|            switch (other.storage_kind())
 1172|  3.31k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 3.31k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 3.31k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 3.31k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 3.31k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 3.31k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 3.31k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 3.31k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 3.31k]
  ------------------
 1181|  1.59k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 1.59k, False: 1.72k]
  ------------------
 1182|    944|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 944, False: 2.36k]
  ------------------
 1183|    369|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 369, False: 2.94k]
  ------------------
 1184|    410|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 410, False: 2.90k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 3.31k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 3.31k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 3.31k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  3.31k|            }
 1191|  3.31k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_19long_string_storageEEEvRS5_:
 1156|  1.59k|        {
 1157|  1.59k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.59k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.59k|        {
 1163|  1.59k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.59k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.59k|            construct<TypeR>(temp);
 1166|  1.59k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    944|        {
 1157|    944|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    944|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    944|        {
 1163|    944|            TypeR temp{other.cast<TypeR>()};
 1164|    944|            other.construct<TypeL>(cast<TypeL>());
 1165|    944|            construct<TypeR>(temp);
 1166|    944|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_13array_storageEEEvRS5_:
 1156|    369|        {
 1157|    369|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    369|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    369|        {
 1163|    369|            TypeR temp{other.cast<TypeR>()};
 1164|    369|            other.construct<TypeL>(cast<TypeL>());
 1165|    369|            construct<TypeR>(temp);
 1166|    369|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_14object_storageEEEvRS5_:
 1156|    410|        {
 1157|    410|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    410|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    410|        {
 1163|    410|            TypeR temp{other.cast<TypeR>()};
 1164|    410|            other.construct<TypeL>(cast<TypeL>());
 1165|    410|            construct<TypeR>(temp);
 1166|    410|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1170|  4.43k|        {
 1171|  4.43k|            switch (other.storage_kind())
 1172|  4.43k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 4.43k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 4.43k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 4.43k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 4.43k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 4.43k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 4.43k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 4.43k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 4.43k]
  ------------------
 1181|    377|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 377, False: 4.05k]
  ------------------
 1182|    410|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 410, False: 4.02k]
  ------------------
 1183|  2.60k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 2.60k, False: 1.82k]
  ------------------
 1184|  1.04k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 1.04k, False: 3.39k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 4.43k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 4.43k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 4.43k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  4.43k|            }
 1191|  4.43k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1156|    377|        {
 1157|    377|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    377|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    377|        {
 1163|    377|            TypeR temp{other.cast<TypeR>()};
 1164|    377|            other.construct<TypeL>(cast<TypeL>());
 1165|    377|            construct<TypeR>(temp);
 1166|    377|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    410|        {
 1157|    410|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    410|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    410|        {
 1163|    410|            TypeR temp{other.cast<TypeR>()};
 1164|    410|            other.construct<TypeL>(cast<TypeL>());
 1165|    410|            construct<TypeR>(temp);
 1166|    410|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1156|  2.60k|        {
 1157|  2.60k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.60k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.60k|        {
 1163|  2.60k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.60k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.60k|            construct<TypeR>(temp);
 1166|  2.60k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1156|  1.04k|        {
 1157|  1.04k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.04k|        {
 1163|  1.04k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.04k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.04k|            construct<TypeR>(temp);
 1166|  1.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1170|  20.0k|        {
 1171|  20.0k|            switch (other.storage_kind())
 1172|  20.0k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 20.0k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 20.0k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 20.0k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 20.0k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 20.0k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 20.0k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 20.0k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 20.0k]
  ------------------
 1181|  2.57k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 2.57k, False: 17.4k]
  ------------------
 1182|  9.20k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 9.20k, False: 10.8k]
  ------------------
 1183|  4.36k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 4.36k, False: 15.6k]
  ------------------
 1184|  3.87k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 3.87k, False: 16.1k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 20.0k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 20.0k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 20.0k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  20.0k|            }
 1191|  20.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1156|  2.57k|        {
 1157|  2.57k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.57k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.57k|        {
 1163|  2.57k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.57k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.57k|            construct<TypeR>(temp);
 1166|  2.57k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  9.20k|        {
 1157|  9.20k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  9.20k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  9.20k|        {
 1163|  9.20k|            TypeR temp{other.cast<TypeR>()};
 1164|  9.20k|            other.construct<TypeL>(cast<TypeL>());
 1165|  9.20k|            construct<TypeR>(temp);
 1166|  9.20k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1156|  4.36k|        {
 1157|  4.36k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  4.36k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  4.36k|        {
 1163|  4.36k|            TypeR temp{other.cast<TypeR>()};
 1164|  4.36k|            other.construct<TypeL>(cast<TypeL>());
 1165|  4.36k|            construct<TypeR>(temp);
 1166|  4.36k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1156|  3.87k|        {
 1157|  3.87k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  3.87k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  3.87k|        {
 1163|  3.87k|            TypeR temp{other.cast<TypeR>()};
 1164|  3.87k|            other.construct<TypeL>(cast<TypeL>());
 1165|  3.87k|            construct<TypeR>(temp);
 1166|  3.87k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr6nonstd19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2614|  17.8M|        {
 2615|  17.8M|            construct<uint64_storage>(val, tag);
 2616|  17.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  995|  17.8M|        {
  996|  17.8M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  17.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  17.8M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  17.8M|                  val_(val)
  518|  17.8M|            {
  519|  17.8M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr6nonstd17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2645|  5.40M|        {
 2646|  5.40M|            construct<int64_storage>(val, tag);
 2647|  5.40M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  995|  5.40M|        {
  996|  5.40M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  5.40M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  496|  5.40M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  497|  5.40M|                  val_(val)
  498|  5.40M|            {
  499|  5.40M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2602|   409k|        {
 2603|   409k|            construct<double_storage>(val, tag);
 2604|   409k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  995|   409k|        {
  996|   409k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   409k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  555|   409k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  556|   409k|                  val_(val)
  557|   409k|            {
  558|   409k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2401|  3.60M|        {
 2402|  3.60M|            auto ptr = create_array(Allocator());
 2403|  3.60M|            construct<array_storage>(ptr, tag);
 2404|  3.60M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  957|  3.60M|        {
  958|  3.60M|            using stor_allocator_type = typename array_storage::allocator_type;
  959|  3.60M|            stor_allocator_type stor_alloc(alloc);
  960|  3.60M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  961|  3.60M|            JSONCONS_TRY
  ------------------
  |  |   37|  3.60M|    #define JSONCONS_TRY try
  ------------------
  962|  3.60M|            {
  963|  3.60M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, nonstd::to_plain_pointer(ptr), 
  964|  3.60M|                    std::forward<Args>(args)...);
  965|  3.60M|            }
  966|  3.60M|            JSONCONS_CATCH(...)
  967|  3.60M|            {
  968|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  969|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  970|      0|            }
  971|  3.60M|            return ptr;
  972|  3.60M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  3.60M|        {
  996|  3.60M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  3.60M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  722|  3.60M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  723|  3.60M|            {
  724|  3.60M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2691|  91.2k|        {
 2692|  91.2k|            construct<null_storage>(tag);
 2693|  91.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  995|  91.2k|        {
  996|  91.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  91.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2701|  1.19M|        {
 2702|  1.19M|            construct<bool_storage>(val,tag);
 2703|  1.19M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  995|  1.19M|        {
  996|  1.19M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.19M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|  1.19M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|  1.19M|                  val_(val)
  477|  1.19M|            {
  478|  1.19M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2549|  2.39M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2550|  2.39M|        {
 2551|  2.39M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2579|  2.39M|        {
 2580|  2.39M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2580:17): [True: 1.95M, False: 437k]
  ------------------
 2581|  1.95M|            {
 2582|  1.95M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2583|  1.95M|            }
 2584|   437k|            else
 2585|   437k|            {
 2586|   437k|                auto ptr = create_long_string(alloc, s, length);
 2587|   437k|                construct<long_string_storage>(ptr, tag);
 2588|   437k|            }
 2589|  2.39M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  995|  1.95M|        {
  996|  1.95M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.95M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  1.95M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  1.95M|            {
  579|  1.95M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   54|  1.95M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 1.95M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  580|  1.95M|                std::memcpy(data_,p,length*sizeof(char_type));
  581|  1.95M|                data_[length] = 0;
  582|  1.95M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  943|   437k|        {
  944|   437k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  945|   437k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  946|   437k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|   437k|        {
  996|   437k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   437k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  621|   437k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  622|   437k|            {
  623|   437k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2711|  1.44k|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2712|  1.44k|        {
 2713|  1.44k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr6nonstd18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2719|  1.94M|        {
 2720|  1.94M|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2721|       |            
 2722|  1.94M|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2723|  1.94M|            construct<byte_string_storage>(ptr, tag);
 2724|  1.94M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  950|  1.96M|        {
  951|  1.96M|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  952|  1.96M|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  953|  1.96M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|  1.94M|        {
  996|  1.94M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.94M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  670|  1.96M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  671|  1.96M|            {
  672|  1.96M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr6nonstd18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2731|     11|        {
 2732|     11|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2733|       |
 2734|     11|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0);
 2735|     11|            construct<byte_string_storage>(ptr, tag);
 2736|     11|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr6nonstd18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2742|  24.9k|        {
 2743|  24.9k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2744|       |
 2745|  24.9k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2746|  24.9k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2747|  24.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  995|  24.9k|        {
  996|  24.9k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  24.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mRKS4_NS2_9enable_ifIXsr6nonstd18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2754|      2|        {
 2755|      2|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2756|       |
 2757|      2|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), raw_tag);
 2758|      2|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2759|      2|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_10half_arg_tEtNS_12semantic_tagE:
 2592|  11.6k|        {
 2593|  11.6k|            construct<half_storage>(val, tag);
 2594|  11.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12half_storageEJRtRNS_12semantic_tagEEEEvDpOT0_:
  995|  11.6k|        {
  996|  11.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  11.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12half_storageC2EtNS_12semantic_tagE:
  535|  11.6k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::half_float)), short_str_length_(0), tag_(tag),
  536|  11.6k|                  val_(val)
  537|  11.6k|            {
  538|  11.6k|            }

_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEET_PT0_:
  248|   437k|    {
  249|   437k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  250|   437k|        return std::launder(reinterpret_cast<T>(u));
  251|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  252|       |        return __builtin_launder(reinterpret_cast<T>(u));
  253|       |    #else
  254|       |        return reinterpret_cast<T>(u);
  255|       |    #endif
  256|   437k|    }
_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEET_PT0_:
  248|  1.96M|    {
  249|  1.96M|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  250|  1.96M|        return std::launder(reinterpret_cast<T>(u));
  251|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  252|       |        return __builtin_launder(reinterpret_cast<T>(u));
  253|       |    #else
  254|       |        return reinterpret_cast<T>(u);
  255|       |    #endif
  256|  1.96M|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  248|   437k|    {
  249|   437k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  250|   437k|        return std::launder(reinterpret_cast<T>(u));
  251|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  252|       |        return __builtin_launder(reinterpret_cast<T>(u));
  253|       |    #else
  254|       |        return reinterpret_cast<T>(u);
  255|       |    #endif
  256|   437k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  248|  1.96M|    {
  249|  1.96M|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  250|  1.96M|        return std::launder(reinterpret_cast<T>(u));
  251|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  252|       |        return __builtin_launder(reinterpret_cast<T>(u));
  253|       |    #else
  254|       |        return reinterpret_cast<T>(u);
  255|       |    #endif
  256|  1.96M|    }

_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  855|  13.5k|            : destination_(std::addressof(visitor)), 
  856|  13.5k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  857|  13.5k|        {
  858|  13.5k|            level_stack_.emplace_back(json_target_kind::destination,json_structure_kind::root); // root
  859|  13.5k|        }
_ZN8jsoncons21basic_generic_visitorIcEC2Ev:
   52|  13.5k|    basic_generic_visitor() = default;
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  294|  10.3M|    {
  295|  10.3M|        visit_begin_array(length, tag, context, ec);
  296|  10.3M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  10.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  297|  10.3M|    }
_ZN8jsoncons21basic_generic_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  363|  39.5M|    {
  364|  39.5M|        visit_uint64(value, tag, context, ec);
  365|  39.5M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  39.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  39.5M|    }
_ZN8jsoncons21basic_generic_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  300|  9.61M|    {
  301|  9.61M|        visit_end_array(context, ec);
  302|  9.61M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  9.61M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  9.61M|    }
_ZN8jsoncons21basic_generic_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  372|  12.0M|    {
  373|  12.0M|        visit_int64(value, tag, context, ec);
  374|  12.0M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  12.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  375|  12.0M|    }
_ZN8jsoncons21basic_generic_visitorIcE10half_valueEtNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  381|  28.6k|    {
  382|  28.6k|        visit_half(value, tag, context, ec);
  383|  28.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  28.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  384|  28.6k|    }
_ZN8jsoncons21basic_generic_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  390|  1.92M|    {
  391|  1.92M|        visit_double(value, tag, context, ec);
  392|  1.92M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.92M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  393|  1.92M|    }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structureC2ENS4_16json_target_kindENS4_19json_structure_kindE:
  798|  12.5M|                : target_kind_(state), structure_kind_(type), even_odd_(type == json_structure_kind::object ? 0 : 1)
  ------------------
  |  Branch (798:73): [True: 2.12M, False: 10.4M]
  ------------------
  799|  12.5M|            {
  800|  12.5M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1008|  10.3M|        {
 1009|  10.3M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1009:17): [True: 1.27M, False: 9.12M]
  ------------------
 1010|  1.27M|            {
 1011|  1.27M|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1011:21): [True: 99.8k, False: 1.17M]
  |  Branch (1011:86): [True: 93.7k, False: 6.08k]
  ------------------
 1012|  93.7k|                {
 1013|  93.7k|                    key_buffer_.push_back(',');
 1014|  93.7k|                }
 1015|  1.27M|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1016|  1.27M|                key_buffer_.push_back('[');
 1017|  1.27M|            }
 1018|  9.12M|            else
 1019|  9.12M|            {
 1020|  9.12M|                switch (level_stack_.back().target_kind())
 1021|  9.12M|                {
 1022|  5.52M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1022:21): [True: 5.52M, False: 3.59M]
  ------------------
 1023|  5.52M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1023:29): [True: 5.42M, False: 95.3k]
  |  Branch (1023:65): [True: 656k, False: 4.77M]
  ------------------
 1024|   656k|                        {
 1025|   656k|                            key_buffer_.push_back(',');
 1026|   656k|                        }
 1027|  5.52M|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1028|  5.52M|                        key_buffer_.push_back('[');
 1029|  5.52M|                        break;
 1030|  3.59M|                    default:
  ------------------
  |  Branch (1030:21): [True: 3.59M, False: 5.52M]
  ------------------
 1031|  3.59M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1032|  3.59M|                        destination_->begin_array(length, tag, context, ec);
 1033|  3.59M|                        break;
 1034|  9.12M|                }
 1035|  9.12M|            }
 1036|  10.3M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  10.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1037|  10.3M|        }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure6is_keyEv:
  815|   227M|            {
  816|   227M|                return even_odd_ == 0;
  817|   227M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure11target_kindEv:
  825|   144M|            {
  826|   144M|                return target_kind_;
  827|   144M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure5countEv:
  830|  25.7M|            {
  831|  25.7M|                return count_;
  832|  25.7M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure9is_objectEv:
  820|   104M|            {
  821|   104M|                return structure_kind_ == json_structure_kind::object;
  822|   104M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1040|  9.61M|        {
 1041|  9.61M|            switch (level_stack_.back().target_kind())
 1042|  9.61M|            {
 1043|  6.77M|                case json_target_kind::buffer:
  ------------------
  |  Branch (1043:17): [True: 6.77M, False: 2.84M]
  ------------------
 1044|  6.77M|                    key_buffer_.push_back(']');
 1045|  6.77M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   54|  6.77M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 6.77M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1046|  6.77M|                    level_stack_.pop_back();
 1047|  6.77M|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (1047:25): [True: 1.17M, False: 5.59M]
  ------------------
 1048|  1.17M|                    {
 1049|  1.17M|                        destination_->key(key_buffer_, context, ec);
 1050|  1.17M|                        key_buffer_.clear();
 1051|  1.17M|                    }
 1052|  5.59M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1052:30): [True: 97.9k, False: 5.49M]
  ------------------
 1053|  97.9k|                    {
 1054|  97.9k|                        key_buffer_.push_back(':');
 1055|  97.9k|                    }
 1056|  6.77M|                    level_stack_.back().advance();
 1057|  6.77M|                    break;
 1058|  2.84M|                default:
  ------------------
  |  Branch (1058:17): [True: 2.84M, False: 6.77M]
  ------------------
 1059|  2.84M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   54|  2.84M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 2.84M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1060|  2.84M|                    level_stack_.pop_back();
 1061|  2.84M|                    level_stack_.back().advance();
 1062|  2.84M|                    destination_->end_array(context, ec);
 1063|  2.84M|                    break;
 1064|  9.61M|            }
 1065|  9.61M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  9.61M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1066|  9.61M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure7advanceEv:
  803|  78.5M|            {
  804|  78.5M|                if (!is_key())
  ------------------
  |  Branch (804:21): [True: 59.2M, False: 19.3M]
  ------------------
  805|  59.2M|                {
  806|  59.2M|                    ++count_;
  807|  59.2M|                }
  808|  78.5M|                if (is_object())
  ------------------
  |  Branch (808:21): [True: 38.6M, False: 39.8M]
  ------------------
  809|  38.6M|                {
  810|  38.6M|                    even_odd_ = !even_odd_;
  811|  38.6M|                }
  812|  78.5M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1233|  39.5M|        {
 1234|  39.5M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1234:17): [True: 9.90M, False: 29.5M]
  |  Branch (1234:49): [True: 11.7M, False: 17.8M]
  ------------------
 1235|  21.6M|            {
 1236|  21.6M|                key_.clear();
 1237|  21.6M|                jsoncons::from_integer(value,key_);
 1238|  21.6M|            }
 1239|       |
 1240|  39.5M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1240:17): [True: 9.90M, False: 29.5M]
  ------------------
 1241|  9.90M|            {
 1242|  9.90M|                switch (level_stack_.back().target_kind())
 1243|  9.90M|                {
 1244|   663k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1244:21): [True: 663k, False: 9.24M]
  ------------------
 1245|   663k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1245:29): [True: 653k, False: 9.18k]
  ------------------
 1246|   653k|                        {
 1247|   653k|                            key_buffer_.push_back(',');
 1248|   653k|                        }
 1249|   663k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1250|   663k|                        key_buffer_.push_back(':');
 1251|   663k|                        break;
 1252|  9.24M|                    default:
  ------------------
  |  Branch (1252:21): [True: 9.24M, False: 663k]
  ------------------
 1253|  9.24M|                        destination_->key(key_, context, ec);
 1254|  9.24M|                        break;
 1255|  9.90M|                }
 1256|  9.90M|            }
 1257|  29.5M|            else
 1258|  29.5M|            {
 1259|  29.5M|                switch (level_stack_.back().target_kind())
 1260|  29.5M|                {
 1261|  11.7M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1261:21): [True: 11.7M, False: 17.8M]
  ------------------
 1262|  11.7M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1262:29): [True: 11.0M, False: 663k]
  |  Branch (1262:65): [True: 10.6M, False: 368k]
  ------------------
 1263|  10.6M|                        {
 1264|  10.6M|                            key_buffer_.push_back(',');
 1265|  10.6M|                        }
 1266|  11.7M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1267|  11.7M|                        break;
 1268|  17.8M|                    default:
  ------------------
  |  Branch (1268:21): [True: 17.8M, False: 11.7M]
  ------------------
 1269|  17.8M|                        destination_->uint64_value(value, tag, context, ec);
 1270|  17.8M|                        break;
 1271|  29.5M|                }
 1272|  29.5M|            }
 1273|       |
 1274|  39.5M|            level_stack_.back().advance();
 1275|  39.5M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  39.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1276|  39.5M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1279|  12.0M|        {
 1280|  12.0M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1280:17): [True: 3.95M, False: 8.13M]
  |  Branch (1280:49): [True: 2.72M, False: 5.40M]
  ------------------
 1281|  6.68M|            {
 1282|  6.68M|                key_.clear();
 1283|  6.68M|                jsoncons::from_integer(value,key_);
 1284|  6.68M|            }
 1285|       |
 1286|  12.0M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1286:17): [True: 3.95M, False: 8.13M]
  ------------------
 1287|  3.95M|            {
 1288|  3.95M|                switch (level_stack_.back().target_kind())
 1289|  3.95M|                {
 1290|   895k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1290:21): [True: 895k, False: 3.06M]
  ------------------
 1291|   895k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1291:29): [True: 891k, False: 3.76k]
  ------------------
 1292|   891k|                        {
 1293|   891k|                            key_buffer_.push_back(',');
 1294|   891k|                        }
 1295|   895k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1296|   895k|                        key_buffer_.push_back(':');
 1297|   895k|                        break;
 1298|  3.06M|                    default:
  ------------------
  |  Branch (1298:21): [True: 3.06M, False: 895k]
  ------------------
 1299|  3.06M|                        destination_->key(key_, context, ec);
 1300|  3.06M|                        break;
 1301|  3.95M|                }
 1302|  3.95M|            }
 1303|  8.13M|            else
 1304|  8.13M|            {
 1305|  8.13M|                switch (level_stack_.back().target_kind())
 1306|  8.13M|                {
 1307|  2.72M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1307:21): [True: 2.72M, False: 5.40M]
  ------------------
 1308|  2.72M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1308:29): [True: 1.82M, False: 905k]
  |  Branch (1308:65): [True: 1.76M, False: 61.1k]
  ------------------
 1309|  1.76M|                        {
 1310|  1.76M|                            key_buffer_.push_back(',');
 1311|  1.76M|                        }
 1312|  2.72M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1313|  2.72M|                        break;
 1314|  5.40M|                    default:
  ------------------
  |  Branch (1314:21): [True: 5.40M, False: 2.72M]
  ------------------
 1315|  5.40M|                        destination_->int64_value(value, tag, context, ec);
 1316|  5.40M|                        break;
 1317|  8.13M|                }
 1318|  8.13M|            }
 1319|       |
 1320|  12.0M|            level_stack_.back().advance();
 1321|  12.0M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  12.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1322|  12.0M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1374|  1.92M|        {
 1375|  1.92M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1375:17): [True: 57.0k, False: 1.86M]
  |  Branch (1375:49): [True: 1.45M, False: 409k]
  ------------------
 1376|  1.51M|            {
 1377|  1.51M|                key_.clear();
 1378|  1.51M|                string_sink<string_type> sink(key_);
 1379|  1.51M|                jsoncons::write_double f{float_chars_format::general,0};
 1380|  1.51M|                f(value, sink);
 1381|  1.51M|            }
 1382|       |
 1383|  1.92M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1383:17): [True: 57.0k, False: 1.86M]
  ------------------
 1384|  57.0k|            {
 1385|  57.0k|                switch (level_stack_.back().target_kind())
 1386|  57.0k|                {
 1387|  4.99k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1387:21): [True: 4.99k, False: 52.0k]
  ------------------
 1388|  4.99k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1388:29): [True: 3.01k, False: 1.97k]
  ------------------
 1389|  3.01k|                        {
 1390|  3.01k|                            key_buffer_.push_back(',');
 1391|  3.01k|                        }
 1392|  4.99k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1393|  4.99k|                        key_buffer_.push_back(':');
 1394|  4.99k|                        break;
 1395|  52.0k|                    default:
  ------------------
  |  Branch (1395:21): [True: 52.0k, False: 4.99k]
  ------------------
 1396|  52.0k|                        destination_->key(key_, context, ec);
 1397|  52.0k|                        break;
 1398|  57.0k|                }
 1399|  57.0k|            }
 1400|  1.86M|            else
 1401|  1.86M|            {
 1402|  1.86M|                switch (level_stack_.back().target_kind())
 1403|  1.86M|                {
 1404|  1.45M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1404:21): [True: 1.45M, False: 409k]
  ------------------
 1405|  1.45M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1405:29): [True: 1.45M, False: 3.42k]
  |  Branch (1405:65): [True: 1.43M, False: 21.0k]
  ------------------
 1406|  1.43M|                        {
 1407|  1.43M|                            key_buffer_.push_back(',');
 1408|  1.43M|                        }
 1409|  1.45M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1410|  1.45M|                        break;
 1411|   409k|                    default:
  ------------------
  |  Branch (1411:21): [True: 409k, False: 1.45M]
  ------------------
 1412|   409k|                        destination_->double_value(value, tag, context, ec);
 1413|   409k|                        break;
 1414|  1.86M|                }
 1415|  1.86M|            }
 1416|       |
 1417|  1.92M|            level_stack_.back().advance();
 1418|  1.92M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.92M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1419|  1.92M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  881|  3.56k|        {
  882|  3.56k|            destination_->flush();
  883|  3.56k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  886|  25.4k|        {
  887|  25.4k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (887:17): [True: 9.65k, False: 15.8k]
  ------------------
  888|  9.65k|            {
  889|  9.65k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (889:21): [True: 7.93k, False: 1.71k]
  |  Branch (889:86): [True: 2.82k, False: 5.10k]
  ------------------
  890|  2.82k|                {
  891|  2.82k|                    key_buffer_.push_back(',');
  892|  2.82k|                }
  893|  9.65k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  894|  9.65k|                key_buffer_.push_back('{');
  895|  9.65k|            }
  896|  15.8k|            else
  897|  15.8k|            {
  898|  15.8k|                switch (level_stack_.back().target_kind())
  899|  15.8k|                {
  900|  7.62k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (900:21): [True: 7.62k, False: 8.18k]
  ------------------
  901|  7.62k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  902|  7.62k|                        key_buffer_.push_back('{');
  903|  7.62k|                        break;
  904|  8.18k|                    default:
  ------------------
  |  Branch (904:21): [True: 8.18k, False: 7.62k]
  ------------------
  905|  8.18k|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  906|  8.18k|                        destination_->begin_object(tag, context, ec);
  907|  8.18k|                        break;
  908|  15.8k|                }
  909|  15.8k|            }
  910|  25.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  25.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  911|  25.4k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  914|  2.10M|        {
  915|  2.10M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (915:17): [True: 499k, False: 1.60M]
  ------------------
  916|   499k|            {
  917|   499k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (917:21): [True: 139k, False: 359k]
  |  Branch (917:86): [True: 114k, False: 25.2k]
  ------------------
  918|   114k|                {
  919|   114k|                    key_buffer_.push_back(',');
  920|   114k|                }
  921|   499k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  922|   499k|                key_buffer_.push_back('{');
  923|   499k|            }
  924|  1.60M|            else
  925|  1.60M|            {
  926|  1.60M|                switch (level_stack_.back().target_kind())
  927|  1.60M|                {
  928|   292k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (928:21): [True: 292k, False: 1.31M]
  ------------------
  929|   292k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (929:29): [True: 173k, False: 119k]
  |  Branch (929:65): [True: 38.7k, False: 134k]
  ------------------
  930|  38.7k|                        {
  931|  38.7k|                            key_buffer_.push_back(',');
  932|  38.7k|                        }
  933|   292k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  934|   292k|                        key_buffer_.push_back('{');
  935|   292k|                        break;
  936|  1.31M|                    default:
  ------------------
  |  Branch (936:21): [True: 1.31M, False: 292k]
  ------------------
  937|  1.31M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  938|  1.31M|                        destination_->begin_object(length, tag, context, ec);
  939|  1.31M|                        break;
  940|  1.60M|                }
  941|  1.60M|            }
  942|  2.10M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.10M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  943|  2.10M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  946|  2.07M|        {
  947|  2.07M|            switch (level_stack_.back().target_kind())
  948|  2.07M|            {
  949|   763k|                case json_target_kind::buffer:
  ------------------
  |  Branch (949:17): [True: 763k, False: 1.31M]
  ------------------
  950|   763k|                    key_buffer_.push_back('}');
  951|   763k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   54|   763k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 763k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  952|   763k|                    level_stack_.pop_back();
  953|       |                    
  954|   763k|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (954:25): [True: 359k, False: 403k]
  ------------------
  955|   359k|                    {
  956|   359k|                        destination_->key(key_buffer_,context, ec);
  957|   359k|                        key_buffer_.clear();
  958|   359k|                    }
  959|   403k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (959:30): [True: 120k, False: 283k]
  ------------------
  960|   120k|                    {
  961|   120k|                        key_buffer_.push_back(':');
  962|   120k|                    }
  963|   763k|                    level_stack_.back().advance();
  964|   763k|                    break;
  965|  1.31M|                default:
  ------------------
  |  Branch (965:17): [True: 1.31M, False: 763k]
  ------------------
  966|  1.31M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   54|  1.31M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 1.31M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  967|  1.31M|                    level_stack_.pop_back();
  968|  1.31M|                    level_stack_.back().advance();
  969|  1.31M|                    destination_->end_object(context, ec);
  970|  1.31M|                    break;
  971|  2.07M|            }
  972|  2.07M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.07M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  973|  2.07M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  976|  28.3k|        {
  977|  28.3k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (977:17): [True: 4.84k, False: 23.5k]
  ------------------
  978|  4.84k|            {
  979|  4.84k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (979:21): [True: 4.07k, False: 771]
  |  Branch (979:86): [True: 2.69k, False: 1.37k]
  ------------------
  980|  2.69k|                {
  981|  2.69k|                    key_buffer_.push_back(',');
  982|  2.69k|                }
  983|  4.84k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
  984|  4.84k|                key_buffer_.push_back('[');
  985|  4.84k|            }
  986|  23.5k|            else
  987|  23.5k|            {
  988|  23.5k|                switch (level_stack_.back().target_kind())
  989|  23.5k|                {
  990|  16.0k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (990:21): [True: 16.0k, False: 7.52k]
  ------------------
  991|  16.0k|                        if (level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (991:29): [True: 1.38k, False: 14.6k]
  |  Branch (991:64): [True: 764, False: 617]
  ------------------
  992|    764|                        {
  993|    764|                            key_buffer_.push_back(',');
  994|    764|                        }
  995|  16.0k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
  996|  16.0k|                        key_buffer_.push_back('[');
  997|  16.0k|                        break;
  998|  7.52k|                    default:
  ------------------
  |  Branch (998:21): [True: 7.52k, False: 16.0k]
  ------------------
  999|  7.52k|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1000|  7.52k|                        destination_->begin_array(tag, context, ec);
 1001|  7.52k|                        break;
 1002|  23.5k|                }
 1003|  23.5k|            }
 1004|  28.3k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  28.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1005|  28.3k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1475|   189k|        {
 1476|   189k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1476:17): [True: 84.5k, False: 105k]
  |  Branch (1476:49): [True: 14.0k, False: 91.2k]
  ------------------
 1477|  98.6k|            {
 1478|  98.6k|                key_.clear(); 
 1479|  98.6k|                key_.insert(key_.begin(), json_literals<char_type>::null_literal.begin(), json_literals<char_type>::null_literal.end());
 1480|  98.6k|            }
 1481|       |
 1482|   189k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1482:17): [True: 84.5k, False: 105k]
  ------------------
 1483|  84.5k|            {
 1484|  84.5k|                switch (level_stack_.back().target_kind())
 1485|  84.5k|                {
 1486|  5.83k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1486:21): [True: 5.83k, False: 78.6k]
  ------------------
 1487|  5.83k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1487:29): [True: 5.18k, False: 657]
  ------------------
 1488|  5.18k|                        {
 1489|  5.18k|                            key_buffer_.push_back(',');
 1490|  5.18k|                        }
 1491|  5.83k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1492|  5.83k|                        key_buffer_.push_back(':');
 1493|  5.83k|                        break;
 1494|  78.6k|                    default:
  ------------------
  |  Branch (1494:21): [True: 78.6k, False: 5.83k]
  ------------------
 1495|  78.6k|                        destination_->key(key_, context, ec);
 1496|  78.6k|                        break;
 1497|  84.5k|                }
 1498|  84.5k|            }
 1499|   105k|            else
 1500|   105k|            {
 1501|   105k|                switch (level_stack_.back().target_kind())
 1502|   105k|                {
 1503|  14.0k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1503:21): [True: 14.0k, False: 91.2k]
  ------------------
 1504|  14.0k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1504:29): [True: 8.41k, False: 5.68k]
  |  Branch (1504:65): [True: 7.65k, False: 765]
  ------------------
 1505|  7.65k|                        {
 1506|  7.65k|                            key_buffer_.push_back(',');
 1507|  7.65k|                        }
 1508|  14.0k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1509|  14.0k|                        break;
 1510|  91.2k|                    default:
  ------------------
  |  Branch (1510:21): [True: 91.2k, False: 14.0k]
  ------------------
 1511|  91.2k|                        destination_->null_value(tag, context, ec);
 1512|  91.2k|                        break;
 1513|   105k|                }
 1514|   105k|            }
 1515|       |
 1516|   189k|            level_stack_.back().advance();
 1517|   189k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   189k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1518|   189k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1422|  3.00M|        {
 1423|  3.00M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1423:17): [True: 954k, False: 2.04M]
  |  Branch (1423:49): [True: 848k, False: 1.19M]
  ------------------
 1424|  1.80M|            {
 1425|  1.80M|                key_.clear(); 
 1426|  1.80M|                if (value)
  ------------------
  |  Branch (1426:21): [True: 48.9k, False: 1.75M]
  ------------------
 1427|  48.9k|                {
 1428|  48.9k|                    key_.insert(key_.begin(), json_literals<char_type>::true_literal.begin(), json_literals<char_type>::true_literal.end());
 1429|  48.9k|                }
 1430|  1.75M|                else
 1431|  1.75M|                {
 1432|  1.75M|                    key_.insert(key_.begin(), json_literals<char_type>::false_literal.begin(), json_literals<char_type>::false_literal.end());
 1433|  1.75M|                }
 1434|  1.80M|            }
 1435|       |
 1436|  3.00M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1436:17): [True: 954k, False: 2.04M]
  ------------------
 1437|   954k|            {
 1438|   954k|                switch (level_stack_.back().target_kind())
 1439|   954k|                {
 1440|   355k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1440:21): [True: 355k, False: 599k]
  ------------------
 1441|   355k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1441:29): [True: 354k, False: 1.11k]
  ------------------
 1442|   354k|                        {
 1443|   354k|                            key_buffer_.push_back(',');
 1444|   354k|                        }
 1445|   355k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1446|   355k|                        key_buffer_.push_back(':');
 1447|   355k|                        break;
 1448|   599k|                    default:
  ------------------
  |  Branch (1448:21): [True: 599k, False: 355k]
  ------------------
 1449|   599k|                        destination_->key(key_, context, ec);
 1450|   599k|                        break;
 1451|   954k|                }
 1452|   954k|            }
 1453|  2.04M|            else
 1454|  2.04M|            {
 1455|  2.04M|                switch (level_stack_.back().target_kind())
 1456|  2.04M|                {
 1457|   848k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1457:21): [True: 848k, False: 1.19M]
  ------------------
 1458|   848k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1458:29): [True: 494k, False: 354k]
  |  Branch (1458:65): [True: 493k, False: 853]
  ------------------
 1459|   493k|                        {
 1460|   493k|                            key_buffer_.push_back(',');
 1461|   493k|                        }
 1462|   848k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1463|   848k|                        break;
 1464|  1.19M|                    default:
  ------------------
  |  Branch (1464:21): [True: 1.19M, False: 848k]
  ------------------
 1465|  1.19M|                        destination_->bool_value(value, tag, context, ec);
 1466|  1.19M|                        break;
 1467|  2.04M|                }
 1468|  2.04M|            }
 1469|       |
 1470|  3.00M|            level_stack_.back().advance();
 1471|  3.00M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.00M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1472|  3.00M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1072|  3.77M|        {
 1073|  3.77M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1073:17): [True: 650k, False: 3.11M]
  ------------------
 1074|   650k|            {
 1075|   650k|                switch (level_stack_.back().target_kind())
 1076|   650k|                {
 1077|   147k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1077:21): [True: 147k, False: 502k]
  ------------------
 1078|   147k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1078:29): [True: 144k, False: 3.63k]
  ------------------
 1079|   144k|                        {
 1080|   144k|                            key_buffer_.push_back(',');
 1081|   144k|                        }
 1082|   147k|                        key_buffer_.push_back('\"');
 1083|   147k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1084|   147k|                        key_buffer_.push_back('\"');
 1085|   147k|                        key_buffer_.push_back(':');
 1086|   147k|                        break;
 1087|   502k|                    default:
  ------------------
  |  Branch (1087:21): [True: 502k, False: 147k]
  ------------------
 1088|   502k|                        destination_->key(value, context, ec);
 1089|   502k|                        break;
 1090|   650k|                }
 1091|   650k|            }
 1092|  3.11M|            else
 1093|  3.11M|            {
 1094|  3.11M|                switch (level_stack_.back().target_kind())
 1095|  3.11M|                {
 1096|   727k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1096:21): [True: 727k, False: 2.39M]
  ------------------
 1097|   727k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1097:29): [True: 585k, False: 141k]
  |  Branch (1097:65): [True: 562k, False: 23.1k]
  ------------------
 1098|   562k|                        {
 1099|   562k|                            key_buffer_.push_back(',');
 1100|   562k|                        }
 1101|   727k|                        key_buffer_.push_back('\"');
 1102|   727k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1103|   727k|                        key_buffer_.push_back('\"');
 1104|   727k|                        break;
 1105|  2.39M|                    default:
  ------------------
  |  Branch (1105:21): [True: 2.39M, False: 727k]
  ------------------
 1106|  2.39M|                        destination_->string_value(value, tag, context, ec);
 1107|  2.39M|                        break;
 1108|  3.11M|                }
 1109|  3.11M|            }
 1110|       |
 1111|  3.77M|            level_stack_.back().advance();
 1112|  3.77M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.77M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1113|  3.77M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1119|  6.30M|        {
 1120|  6.30M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1120:17): [True: 1.95M, False: 4.35M]
  |  Branch (1120:49): [True: 2.40M, False: 1.94M]
  ------------------
 1121|  4.35M|            {
 1122|  4.35M|                key_.clear();
 1123|  4.35M|                switch (tag)
 1124|  4.35M|                {
 1125|    976|                    case semantic_tag::base64:
  ------------------
  |  Branch (1125:21): [True: 976, False: 4.35M]
  ------------------
 1126|    976|                        bytes_to_base64(value.begin(), value.end(), key_);
 1127|    976|                        break;
 1128|    623|                    case semantic_tag::base16:
  ------------------
  |  Branch (1128:21): [True: 623, False: 4.35M]
  ------------------
 1129|    623|                        bytes_to_base16(value.begin(), value.end(),key_);
 1130|    623|                        break;
 1131|  4.35M|                    default:
  ------------------
  |  Branch (1131:21): [True: 4.35M, False: 1.59k]
  ------------------
 1132|  4.35M|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1133|  4.35M|                        break;
 1134|  4.35M|                }
 1135|  4.35M|            }
 1136|       |
 1137|  6.30M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1137:17): [True: 1.95M, False: 4.35M]
  ------------------
 1138|  1.95M|            {
 1139|  1.95M|                switch (level_stack_.back().target_kind())
 1140|  1.95M|                {
 1141|   849k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1141:21): [True: 849k, False: 1.10M]
  ------------------
 1142|   849k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1142:29): [True: 843k, False: 6.81k]
  ------------------
 1143|   843k|                        {
 1144|   843k|                            key_buffer_.push_back(',');
 1145|   843k|                        }
 1146|   849k|                        key_buffer_.push_back('\"');
 1147|   849k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1148|   849k|                        key_buffer_.push_back('\"');
 1149|   849k|                        key_buffer_.push_back(':');
 1150|   849k|                        break;
 1151|  1.10M|                    default:
  ------------------
  |  Branch (1151:21): [True: 1.10M, False: 849k]
  ------------------
 1152|  1.10M|                        destination_->key(key_, context, ec);
 1153|  1.10M|                        break;
 1154|  1.95M|                }
 1155|  1.95M|            }
 1156|  4.35M|            else
 1157|  4.35M|            {
 1158|  4.35M|                switch (level_stack_.back().target_kind())
 1159|  4.35M|                {
 1160|  2.40M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1160:21): [True: 2.40M, False: 1.94M]
  ------------------
 1161|  2.40M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1161:29): [True: 1.55M, False: 846k]
  |  Branch (1161:65): [True: 1.54M, False: 16.5k]
  ------------------
 1162|  1.54M|                        {
 1163|  1.54M|                            key_buffer_.push_back(',');
 1164|  1.54M|                        }
 1165|  2.40M|                        key_buffer_.push_back('\"');
 1166|  2.40M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1167|  2.40M|                        key_buffer_.push_back('\"');
 1168|  2.40M|                        break;
 1169|  1.94M|                    default:
  ------------------
  |  Branch (1169:21): [True: 1.94M, False: 2.40M]
  ------------------
 1170|  1.94M|                        destination_->byte_string_value(value, tag, context, ec);
 1171|  1.94M|                        break;
 1172|  4.35M|                }
 1173|  4.35M|            }
 1174|       |
 1175|  6.30M|            level_stack_.back().advance();
 1176|  6.30M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  6.30M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1177|  6.30M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1183|  50.1k|        {
 1184|  50.1k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1184:17): [True: 11.0k, False: 39.0k]
  |  Branch (1184:49): [True: 14.1k, False: 24.9k]
  ------------------
 1185|  25.1k|            {
 1186|  25.1k|                key_.clear();
 1187|  25.1k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1188|  25.1k|            }
 1189|       |
 1190|  50.1k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1190:17): [True: 11.0k, False: 39.0k]
  ------------------
 1191|  11.0k|            {
 1192|  11.0k|                switch (level_stack_.back().target_kind())
 1193|  11.0k|                {
 1194|  5.46k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1194:21): [True: 5.46k, False: 5.63k]
  ------------------
 1195|  5.46k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1195:29): [True: 5.02k, False: 434]
  ------------------
 1196|  5.02k|                        {
 1197|  5.02k|                            key_buffer_.push_back(',');
 1198|  5.02k|                        }
 1199|  5.46k|                        key_buffer_.push_back('\"');
 1200|  5.46k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1201|  5.46k|                        key_buffer_.push_back('\"');
 1202|  5.46k|                        key_buffer_.push_back(':');
 1203|  5.46k|                        break;
 1204|  5.63k|                    default:
  ------------------
  |  Branch (1204:21): [True: 5.63k, False: 5.46k]
  ------------------
 1205|  5.63k|                        destination_->key(key_, context, ec);
 1206|  5.63k|                        break;
 1207|  11.0k|                }
 1208|  11.0k|            }
 1209|  39.0k|            else
 1210|  39.0k|            {
 1211|  39.0k|                switch (level_stack_.back().target_kind())
 1212|  39.0k|                {
 1213|  14.1k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1213:21): [True: 14.1k, False: 24.9k]
  ------------------
 1214|  14.1k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1214:29): [True: 9.42k, False: 4.68k]
  |  Branch (1214:65): [True: 7.40k, False: 2.01k]
  ------------------
 1215|  7.40k|                        {
 1216|  7.40k|                            key_buffer_.push_back(',');
 1217|  7.40k|                        }
 1218|  14.1k|                        key_buffer_.push_back('\"');
 1219|  14.1k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1220|  14.1k|                        key_buffer_.push_back('\"');
 1221|  14.1k|                        break;
 1222|  24.9k|                    default:
  ------------------
  |  Branch (1222:21): [True: 24.9k, False: 14.1k]
  ------------------
 1223|  24.9k|                        destination_->byte_string_value(value, raw_tag, context, ec);
 1224|  24.9k|                        break;
 1225|  39.0k|                }
 1226|  39.0k|            }
 1227|       |
 1228|  50.1k|            level_stack_.back().advance();
 1229|  50.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  50.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1230|  50.1k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_halfEtNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1325|  28.6k|        {
 1326|  28.6k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1326:17): [True: 11.1k, False: 17.5k]
  |  Branch (1326:49): [True: 5.87k, False: 11.6k]
  ------------------
 1327|  16.9k|            {
 1328|  16.9k|                key_.clear();
 1329|  16.9k|                jsoncons::string_sink<string_type> sink(key_);
 1330|  16.9k|                jsoncons::write_double f{float_chars_format::general,0};
 1331|  16.9k|                double x = binary::decode_half(value);
 1332|  16.9k|                f(x, sink);
 1333|  16.9k|            }
 1334|       |
 1335|  28.6k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1335:17): [True: 11.1k, False: 17.5k]
  ------------------
 1336|  11.1k|            {
 1337|  11.1k|                switch (level_stack_.back().target_kind())
 1338|  11.1k|                {
 1339|  3.49k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1339:21): [True: 3.49k, False: 7.61k]
  ------------------
 1340|  3.49k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1340:29): [True: 2.13k, False: 1.35k]
  ------------------
 1341|  2.13k|                        {
 1342|  2.13k|                            key_buffer_.push_back(',');
 1343|  2.13k|                        }
 1344|  3.49k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1345|  3.49k|                        key_buffer_.push_back(':');
 1346|  3.49k|                        break;
 1347|  7.61k|                    default:
  ------------------
  |  Branch (1347:21): [True: 7.61k, False: 3.49k]
  ------------------
 1348|  7.61k|                        destination_->key(key_, context, ec);
 1349|  7.61k|                        break;
 1350|  11.1k|                }
 1351|  11.1k|            }
 1352|  17.5k|            else
 1353|  17.5k|            {
 1354|  17.5k|                switch (level_stack_.back().target_kind())
 1355|  17.5k|                {
 1356|  5.87k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1356:21): [True: 5.87k, False: 11.6k]
  ------------------
 1357|  5.87k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1357:29): [True: 3.65k, False: 2.21k]
  |  Branch (1357:65): [True: 2.72k, False: 935]
  ------------------
 1358|  2.72k|                        {
 1359|  2.72k|                            key_buffer_.push_back(',');
 1360|  2.72k|                        }
 1361|  5.87k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1362|  5.87k|                        break;
 1363|  11.6k|                    default:
  ------------------
  |  Branch (1363:21): [True: 11.6k, False: 5.87k]
  ------------------
 1364|  11.6k|                        destination_->half_value(value, tag, context, ec);
 1365|  11.6k|                        break;
 1366|  17.5k|                }
 1367|  17.5k|            }
 1368|       |
 1369|  28.6k|            level_stack_.back().advance();
 1370|  28.6k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  28.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1371|  28.6k|        }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr6nonstd18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  343|  6.30M|    {
  344|  6.30M|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  345|  6.30M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  6.30M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  346|  6.30M|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr6nonstd18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  354|  50.1k|    {
  355|  50.1k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  356|  50.1k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  50.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  357|  50.1k|    }
_ZN8jsoncons21basic_generic_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  323|  3.00M|    {
  324|  3.00M|        visit_bool(value, tag, context, ec);
  325|  3.00M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.00M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  3.00M|    }
_ZN8jsoncons21basic_generic_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  314|   189k|    {
  315|   189k|        visit_null(tag, context, ec);
  316|   189k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   189k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  317|   189k|    }
_ZN8jsoncons21basic_generic_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  332|  3.77M|    {
  333|  3.77M|        visit_string(value, tag, context, ec);
  334|  3.77M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.77M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  335|  3.77M|    }
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  288|  28.3k|    {
  289|  28.3k|        visit_begin_array(tag, context, ec);
  290|  28.3k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  28.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  291|  28.3k|    }
_ZN8jsoncons21basic_generic_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  267|  25.4k|    {
  268|  25.4k|        visit_begin_object(tag, context, ec);
  269|  25.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  25.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  270|  25.4k|    }
_ZN8jsoncons21basic_generic_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  276|  2.10M|    {
  277|  2.10M|        visit_begin_object(length, tag, context, ec);
  278|  2.10M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.10M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  279|  2.10M|    }
_ZN8jsoncons21basic_generic_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  282|  2.07M|    {
  283|  2.07M|        visit_end_object(context, ec);
  284|  2.07M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.07M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  285|  2.07M|    }
_ZN8jsoncons21basic_generic_visitorIcE5flushEv:
   57|  3.56k|    {
   58|  3.56k|        visit_flush();
   59|  3.56k|    }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  3.61M|        {
  106|  3.61M|            flatten_and_destroy();
  107|  3.61M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  3.61M|        {
  249|  13.3M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 9.72M, False: 3.61M]
  ------------------
  250|  9.72M|            {
  251|  9.72M|                value_type current = std::move(data_.back());
  252|  9.72M|                data_.pop_back();
  253|  9.72M|                switch (current.storage_kind())
  254|  9.72M|                {
  255|  1.55M|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 1.55M, False: 8.16M]
  ------------------
  256|  1.55M|                    {
  257|  1.55M|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 2.01M, False: 1.55M]
  ------------------
  258|  2.01M|                        {
  259|  2.01M|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 1.51M, False: 492k]
  |  Branch (259:85): [True: 8.20k, False: 484k]
  ------------------
  260|  1.52M|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 1.51M, False: 9.15k]
  ------------------
  261|  1.51M|                            {
  262|  1.51M|                                data_.push_back(std::move(item));
  263|  1.51M|                            }
  264|  2.01M|                        }
  265|  1.55M|                        current.clear();                           
  266|  1.55M|                        break;
  267|      0|                    }
  268|  15.5k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 15.5k, False: 9.70M]
  ------------------
  269|  15.5k|                    {
  270|  15.5k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 23.5k, False: 15.5k]
  ------------------
  271|  23.5k|                        {
  272|  23.5k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 3.03k, False: 20.5k]
  |  Branch (272:91): [True: 7.27k, False: 13.2k]
  ------------------
  273|  10.3k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 5.17k, False: 5.12k]
  ------------------
  274|  5.17k|                            {
  275|  5.17k|                                data_.push_back(std::move(kv.value()));
  276|  5.17k|                            }
  277|  23.5k|                        }
  278|  15.5k|                        current.clear();                           
  279|  15.5k|                        break;
  280|      0|                    }
  281|  8.15M|                    default:
  ------------------
  |  Branch (281:21): [True: 8.15M, False: 1.56M]
  ------------------
  282|  8.15M|                        break;
  283|  9.72M|                }
  284|  9.72M|            }
  285|  3.61M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|  1.55M|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|  1.55M|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  1.52M|        {
  126|  1.52M|            return data_.empty();
  127|  1.52M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|  1.55M|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  8.09k|            : allocator_holder<allocator_type>(alloc), 
   50|  8.09k|              data_(value_allocator_type(alloc))
   51|  8.09k|        {
   52|  8.09k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  2.82k|        {
  218|  2.82k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  2.82k|            return data_.back();
  220|  2.82k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  1.61M|        void reserve(std::size_t n) {data_.reserve(n);}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE9push_backIS6_S5_EENS3_9enable_ifIXsr3std16allocator_traitsIT0_E15is_always_equalE5valueEvE4typeEOT_:
  178|  10.2M|        {
  179|  10.2M|            data_.emplace_back(std::forward<T>(value));
  180|  10.2M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  3.60M|        json_array() = default;

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  13.5k|        : alloc_(alloc),
   75|  13.5k|          result_(),
   76|  13.5k|          name_(alloc),
   77|  13.5k|          item_stack_(alloc),
   78|  13.5k|          structure_stack_(temp_alloc)
   79|  13.5k|    {
   80|       |        //item_stack_.reserve(1000);
   81|       |        //structure_stack_.reserve(100);
   82|  13.5k|        structure_stack_.emplace_back(json_structure_kind::root_kind, 0);
   83|  13.5k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14json_structureC2ENS7_19json_structure_kindEm:
   51|  4.93M|            : structure_kind(type), structure_index(offset)
   52|  4.93M|        {
   53|  4.93M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  186|  2.84M|    {
  187|  2.84M|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   54|  2.84M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 2.84M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  188|  2.84M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::array_kind);
  ------------------
  |  |   54|  2.84M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 2.84M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  189|  2.84M|        const size_t structure_index = structure_stack_.back().structure_index;
  190|  2.84M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   54|  2.84M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 2.84M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  191|       |
  192|  2.84M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  193|  2.84M|        auto& arr = item_stack_[structure_index].value;
  194|  2.84M|        const size_t size = item_stack_.size() - (structure_index + 1);
  195|       |
  196|  2.84M|        if (size > 0)
  ------------------
  |  Branch (196:13): [True: 1.61M, False: 1.22M]
  ------------------
  197|  1.61M|        {
  198|  1.61M|            arr.reserve(size);
  199|  1.61M|            auto first = item_stack_.begin() + (structure_index+1);
  200|  1.61M|            auto last = first + size;
  201|  11.8M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (201:35): [True: 10.2M, False: 1.61M]
  ------------------
  202|  10.2M|            {
  203|  10.2M|                arr.push_back(std::move((*it).value));
  204|  10.2M|            }
  205|  1.61M|            item_stack_.erase(first, item_stack_.end());
  206|  1.61M|        }
  207|       |
  208|  2.84M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (208:13): [True: 595, False: 2.84M]
  ------------------
  209|    595|        {
  210|    595|            result_ = std::move(item_stack_.front().value);
  211|    595|            item_stack_.pop_back();
  212|    595|            is_valid_ = true;
  213|    595|        }
  214|       |
  215|  2.84M|        structure_stack_.pop_back();
  216|  2.84M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.84M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  2.84M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  311|  17.8M|    {
  312|  17.8M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (312:17): [True: 17.8M, False: 0]
  ------------------
  313|  17.8M|        {
  314|  9.24M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (314:13): [True: 9.24M, False: 8.62M]
  ------------------
  315|  9.24M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  316|  9.24M|                break;
  317|  8.62M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (317:13): [True: 8.62M, False: 9.24M]
  ------------------
  318|  8.62M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  319|  8.62M|                break;
  320|     89|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (320:13): [True: 89, False: 17.8M]
  ------------------
  321|     89|                result_ = Json(value,tag);
  322|     89|                is_valid_ = true;
  323|     89|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|     89|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  324|  17.8M|        }
  325|  17.8M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  17.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  17.8M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  290|  5.40M|    {
  291|  5.40M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (291:17): [True: 5.40M, False: 0]
  ------------------
  292|  5.40M|        {
  293|  3.06M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (293:13): [True: 3.06M, False: 2.34M]
  ------------------
  294|  3.06M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  295|  3.06M|                break;
  296|  2.34M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (296:13): [True: 2.34M, False: 3.06M]
  ------------------
  297|  2.34M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  298|  2.34M|                break;
  299|    154|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (299:13): [True: 154, False: 5.40M]
  ------------------
  300|    154|                result_ = Json(value,tag);
  301|    154|                is_valid_ = true;
  302|    154|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|    154|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  5.40M|        }
  304|  5.40M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  5.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  305|  5.40M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  353|   409k|    {
  354|   409k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (354:17): [True: 409k, False: 0]
  ------------------
  355|   409k|        {
  356|  50.8k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (356:13): [True: 50.8k, False: 358k]
  ------------------
  357|  50.8k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  358|  50.8k|                break;
  359|   358k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (359:13): [True: 358k, False: 50.8k]
  ------------------
  360|   358k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  361|   358k|                break;
  362|     74|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (362:13): [True: 74, False: 409k]
  ------------------
  363|     74|                result_ = Json(value, tag);
  364|     74|                is_valid_ = true;
  365|     74|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|     74|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|   409k|        }
  367|   409k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   409k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|   409k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|  3.56k|    {
  123|  3.56k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  1.32M|    {
  127|  1.32M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (127:13): [True: 369k, False: 951k]
  ------------------
  128|   369k|        {
  129|   369k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  130|   369k|            item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  131|   369k|        }
  132|   951k|        else
  133|   951k|        {
  134|   951k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  135|   951k|            item_stack_.emplace_back(key_type(alloc_), 0, json_object_arg, tag);
  136|   951k|        }
  137|  1.32M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.32M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  138|  1.32M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  141|  1.31M|    {
  142|  1.31M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   54|  1.31M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 1.31M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  143|  1.31M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::object_kind);
  ------------------
  |  |   54|  1.31M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 1.31M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  144|  1.31M|        const size_t structure_index = structure_stack_.back().structure_index;
  145|  1.31M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   54|  1.31M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 1.31M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  146|       |
  147|  1.31M|        const size_t size = item_stack_.size() - (structure_index + 1);
  148|  1.31M|        auto first = item_stack_.begin() + (structure_index+1);
  149|  1.31M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  150|  1.31M|        auto& obj = item_stack_[structure_index].value;
  151|       |
  152|  1.31M|        if (size > 0)
  ------------------
  |  Branch (152:13): [True: 15.6k, False: 1.29M]
  ------------------
  153|  15.6k|        {
  154|  15.6k|            obj.template cast<typename Json::object_storage>().value().uninitialized_init(
  155|  15.6k|                &item_stack_[structure_index+1], size);
  156|  15.6k|            item_stack_.erase(first, item_stack_.end());
  157|  15.6k|        }
  158|       |
  159|  1.31M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (159:13): [True: 1.20k, False: 1.30M]
  ------------------
  160|  1.20k|        {
  161|  1.20k|            result_ = std::move(item_stack_.front().value);
  162|  1.20k|            item_stack_.pop_back();
  163|  1.20k|            is_valid_ = true;
  164|  1.20k|        }
  165|       |
  166|  1.31M|        structure_stack_.pop_back();
  167|  1.31M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.31M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  168|  1.31M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  171|  3.60M|    {
  172|  3.60M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (172:13): [True: 1.17M, False: 2.42M]
  ------------------
  173|  1.17M|        {
  174|  1.17M|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  175|  1.17M|            item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  176|  1.17M|        }
  177|  2.42M|        else
  178|  2.42M|        {
  179|  2.42M|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  180|  2.42M|            item_stack_.emplace_back(key_type(alloc_), 0, json_array_arg, tag);
  181|  2.42M|        }
  182|  3.60M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.60M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  183|  3.60M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  220|  16.1M|    {
  221|  16.1M|        name_ = key_type(name.data(),name.length(),alloc_);
  222|  16.1M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  16.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  223|  16.1M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  389|  91.2k|    {
  390|  91.2k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (390:17): [True: 91.2k, False: 0]
  ------------------
  391|  91.2k|        {
  392|  78.2k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (392:13): [True: 78.2k, False: 12.9k]
  ------------------
  393|  78.2k|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  394|  78.2k|                break;
  395|  12.9k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (395:13): [True: 12.9k, False: 78.2k]
  ------------------
  396|  12.9k|                item_stack_.emplace_back(key_type(alloc_), 0, null_type(), tag);
  397|  12.9k|                break;
  398|      4|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (398:13): [True: 4, False: 91.2k]
  ------------------
  399|      4|                result_ = Json(null_type(), tag);
  400|      4|                is_valid_ = true;
  401|      4|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      4|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  402|  91.2k|        }
  403|  91.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  91.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  404|  91.2k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  371|  1.19M|    {
  372|  1.19M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (372:17): [True: 1.19M, False: 0]
  ------------------
  373|  1.19M|        {
  374|   598k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (374:13): [True: 598k, False: 600k]
  ------------------
  375|   598k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  376|   598k|                break;
  377|   600k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (377:13): [True: 600k, False: 598k]
  ------------------
  378|   600k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  379|   600k|                break;
  380|      3|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (380:13): [True: 3, False: 1.19M]
  ------------------
  381|      3|                result_ = Json(value, tag);
  382|      3|                is_valid_ = true;
  383|      3|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      3|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  384|  1.19M|        }
  385|  1.19M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.19M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  1.19M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  226|  2.39M|    {
  227|  2.39M|        auto& structure = structure_stack_.back();
  228|  2.39M|        switch (structure.structure_kind)
  ------------------
  |  Branch (228:17): [True: 2.39M, False: 0]
  ------------------
  229|  2.39M|        {
  230|   500k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (230:13): [True: 500k, False: 1.89M]
  ------------------
  231|   500k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  232|   500k|                break;
  233|  1.88M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (233:13): [True: 1.88M, False: 502k]
  ------------------
  234|  1.88M|                item_stack_.emplace_back(key_type(alloc_), 0, sv, tag);
  235|  1.88M|                break;
  236|  1.44k|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (236:13): [True: 1.44k, False: 2.39M]
  ------------------
  237|  1.44k|                result_ = Json(sv, tag, alloc_);
  238|  1.44k|                is_valid_ = true;
  239|  1.44k|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.44k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  240|  2.39M|        }
  241|  2.39M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.39M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  242|  2.39M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  248|  1.94M|    {
  249|  1.94M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (249:17): [True: 1.94M, False: 0]
  ------------------
  250|  1.94M|        {
  251|  1.10M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (251:13): [True: 1.10M, False: 843k]
  ------------------
  252|  1.10M|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, tag);
  253|  1.10M|                break;
  254|   843k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (254:13): [True: 843k, False: 1.10M]
  ------------------
  255|   843k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, tag);
  256|   843k|                break;
  257|     11|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (257:13): [True: 11, False: 1.94M]
  ------------------
  258|     11|                result_ = Json(byte_string_arg, b, tag, alloc_);
  259|     11|                is_valid_ = true;
  260|     11|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|     11|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  261|  1.94M|        }
  262|  1.94M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.94M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  263|  1.94M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  269|  24.9k|    {
  270|  24.9k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (270:17): [True: 24.9k, False: 0]
  ------------------
  271|  24.9k|        {
  272|  5.90k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (272:13): [True: 5.90k, False: 19.0k]
  ------------------
  273|  5.90k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, raw_tag);
  274|  5.90k|                break;
  275|  19.0k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (275:13): [True: 19.0k, False: 5.91k]
  ------------------
  276|  19.0k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, raw_tag);
  277|  19.0k|                break;
  278|      2|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (278:13): [True: 2, False: 24.9k]
  ------------------
  279|      2|                result_ = Json(byte_string_arg, b, raw_tag, alloc_);
  280|      2|                is_valid_ = true;
  281|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  282|  24.9k|        }
  283|  24.9k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  24.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|  24.9k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_halfEtNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  332|  11.6k|    {
  333|  11.6k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (333:17): [True: 11.6k, False: 0]
  ------------------
  334|  11.6k|        {
  335|  4.91k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (335:13): [True: 4.91k, False: 6.78k]
  ------------------
  336|  4.91k|                item_stack_.emplace_back(std::move(name_), index_++, half_arg, value, tag);
  337|  4.91k|                break;
  338|  6.77k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (338:13): [True: 6.77k, False: 4.91k]
  ------------------
  339|  6.77k|                item_stack_.emplace_back(key_type(alloc_), 0, half_arg, value, tag);
  340|  6.77k|                break;
  341|      2|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (341:13): [True: 2, False: 11.6k]
  ------------------
  342|      2|                result_ = Json(half_arg, value, tag);
  343|      2|                is_valid_ = true;
  344|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  345|  11.6k|        }
  346|  11.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  11.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  347|  11.6k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|  3.56k|    {
  109|  3.56k|        return is_valid_;
  110|  3.56k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|  3.56k|    {
  114|  3.56k|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   54|  3.56k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 3.56k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  115|  3.56k|        is_valid_ = false;
  116|  3.56k|        return std::move(result_);
  117|  3.56k|    }

_ZN8jsoncons14json_exceptionD2Ev:
   27|  9.94k|        virtual ~json_exception() = default;
_ZN8jsoncons9ser_errorC1ENSt3__110error_codeEmm:
  194|  9.94k|            : ec_(ec), line_(line), column_(column)
  195|  9.94k|        {
  196|  9.94k|            err_ = to_what_arg(ec, "", line, column); 
  197|  9.94k|        }
_ZN8jsoncons9ser_error11to_what_argENSt3__110error_codeEPKcmm:
  233|  9.94k|        {
  234|  9.94k|            std::string what_arg(s);
  235|  9.94k|            if (!what_arg.empty())
  ------------------
  |  Branch (235:17): [True: 0, False: 9.94k]
  ------------------
  236|      0|            {
  237|      0|                what_arg.append(": ");
  238|      0|            }
  239|  9.94k|            what_arg.append(ec.message());
  240|  9.94k|            if (line != 0 && column != 0)
  ------------------
  |  Branch (240:17): [True: 0, False: 9.94k]
  |  Branch (240:30): [True: 0, False: 0]
  ------------------
  241|      0|            {
  242|      0|                what_arg.append(" at line ");
  243|      0|                what_arg.append(std::to_string(line));
  244|      0|                what_arg.append(" and column ");
  245|      0|                what_arg.append(std::to_string(column));
  246|      0|            }
  247|  9.94k|            else if (column != 0)
  ------------------
  |  Branch (247:22): [True: 9.94k, False: 5]
  ------------------
  248|  9.94k|            {
  249|  9.94k|                what_arg.append(" at position ");
  250|  9.94k|                what_arg.append(std::to_string(column));
  251|  9.94k|            }
  252|  9.94k|            return what_arg; 
  253|  9.94k|        }

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  13.5k|{
 1065|  13.5k|    return json_visitor_adaptor<From, To>(to);
 1066|  13.5k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  13.5k|        : supertype(visitor)
  984|  13.5k|    {
  985|  13.5k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  13.5k|        : destination1_(std::addressof(visitor))
  722|  13.5k|    {
  723|  13.5k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  777|  3.59M|    {
  778|  3.59M|        destination1_->begin_array(length, tag, context, ec);
  779|  3.59M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.59M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|  3.59M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  2.84M|    {
  784|  2.84M|        destination1_->end_array(context, ec);
  785|  2.84M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.84M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  2.84M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  17.8M|    {
  826|  17.8M|        destination1_->uint64_value(value, tag, context, ec);
  827|  17.8M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  17.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  17.8M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  5.40M|    {
  820|  5.40M|        destination1_->int64_value(value, tag, context, ec);
  821|  5.40M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  5.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  5.40M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|   409k|    {
  814|   409k|        destination1_->double_value(value, tag, context, ec);
  815|   409k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   409k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|   409k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|  3.56k|    {
  739|  3.56k|        destination1_->flush();
  740|  3.56k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  745|  8.18k|    {
  746|  8.18k|        destination1_->begin_object(tag, context, ec);
  747|  8.18k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  8.18k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  748|  8.18k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|  1.31M|    {
  755|  1.31M|        destination1_->begin_object(length, tag, context, ec);
  756|  1.31M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.31M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  1.31M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  1.31M|    {
  761|  1.31M|        destination1_->end_object(context, ec);
  762|  1.31M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.31M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  1.31M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  768|  7.52k|    {
  769|  7.52k|        destination1_->begin_array(tag, context, ec);
  770|  7.52k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  7.52k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  771|  7.52k|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE9visit_keyERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEERKNS_11ser_contextERNS6_10error_codeE:
  995|  16.1M|    {
  996|  16.1M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  16.1M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  18.5M|    {
  733|  18.5M|        return *destination1_;
  734|  18.5M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  91.2k|    {
  838|  91.2k|        destination1_->null_value(tag, context, ec);
  839|  91.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  91.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  91.2k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  1.19M|    {
  832|  1.19M|        destination1_->bool_value(value, tag, context, ec);
  833|  1.19M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.19M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  1.19M|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE12visit_stringERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
 1003|  2.39M|    {
 1004|  2.39M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  2.39M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  792|  1.94M|    {
  793|  1.94M|        destination1_->byte_string_value(b, tag, context, ec);
  794|  1.94M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.94M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  795|  1.94M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS6_10error_codeE:
  801|  24.9k|    {
  802|  24.9k|        destination1_->byte_string_value(b, raw_tag, context, ec);
  803|  24.9k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  24.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|  24.9k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_halfEtNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  807|  11.6k|    {
  808|  11.6k|        destination1_->half_value(value, tag, context, ec);
  809|  11.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  11.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  810|  11.6k|    }

_ZN8jsoncons18is_trivial_storageENS_17json_storage_kindE:
  222|   201M|    {
  223|   201M|        static constexpr uint8_t mask{ uint8_t(json_storage_kind::long_str) & uint8_t(json_storage_kind::byte_str) 
  224|   201M|            & uint8_t(json_storage_kind::array) & uint8_t(json_storage_kind::object) };
  225|   201M|        return (uint8_t(storage_kind) & mask) != mask;
  226|   201M|    }

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  40.5k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  54.0k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|  3.59M|        {
  561|  3.59M|            visit_begin_array(tag, context, ec);
  562|  3.59M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.59M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  3.59M|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  1.31M|        {
  545|  1.31M|            visit_begin_object(tag, context, ec);
  546|  1.31M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.31M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  1.31M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  7.19M|        {
  346|  7.19M|            visit_begin_array(length, tag, context, ec);
  347|  7.19M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  7.19M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  7.19M|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  35.7M|        {
  415|  35.7M|            visit_uint64(value, tag, context, ec);
  416|  35.7M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  35.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  35.7M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  5.68M|        {
  352|  5.68M|            visit_end_array(context, ec);
  353|  5.68M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  5.68M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  5.68M|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  10.8M|        {
  424|  10.8M|            visit_int64(value, tag, context, ec);
  425|  10.8M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  10.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  10.8M|        }
_ZN8jsoncons18basic_json_visitorIcE10half_valueEtNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  432|  23.3k|        {
  433|  23.3k|            visit_half(value, tag, context, ec);
  434|  23.3k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  23.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  435|  23.3k|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|   818k|        {
  442|   818k|            visit_double(value, tag, context, ec);
  443|   818k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   818k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|   818k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|  7.13k|        {
  109|  7.13k|            visit_flush();
  110|  7.13k|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  318|  16.3k|        {
  319|  16.3k|            visit_begin_object(tag, context, ec);
  320|  16.3k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  16.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  321|  16.3k|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  2.62M|        {
  328|  2.62M|            visit_begin_object(length, tag, context, ec);
  329|  2.62M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.62M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  2.62M|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  2.62M|        {
  334|  2.62M|            visit_end_object(context, ec);
  335|  2.62M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.62M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  2.62M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  339|  15.0k|        {
  340|  15.0k|            visit_begin_array(tag, context, ec);
  341|  15.0k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  15.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  342|  15.0k|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  32.3M|        {
  358|  32.3M|            visit_key(name, context, ec);
  359|  32.3M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  32.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  32.3M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|   182k|        {
  366|   182k|            visit_null(tag, context, ec);
  367|   182k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   182k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|   182k|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  2.39M|        {
  375|  2.39M|            visit_bool(value, tag, context, ec);
  376|  2.39M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.39M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  2.39M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  4.78M|        {
  384|  4.78M|            visit_string(value, tag, context, ec);
  385|  4.78M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.78M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  4.78M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr6nonstd18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  394|  3.88M|        {
  395|  3.88M|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  396|  3.88M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.88M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  397|  3.88M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr6nonstd18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|  49.9k|        {
  406|  49.9k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|  49.9k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  49.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|  49.9k|        }
_ZN8jsoncons26basic_default_json_visitorIcEC2Ev:
  811|  13.5k|        basic_default_json_visitor() = default;

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|   101k|    {
  121|   101k|        return value_;
  122|   101k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  47.8M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  17.8M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  17.8M|    {
   45|  17.8M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  68.6M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  5.40M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  5.40M|    {
   45|  5.40M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   409k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   409k|    {
   45|   409k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.32M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.32M|    {
   45|  1.32M|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|  55.7k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|  55.7k|    {
   88|  55.7k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  3.60M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.60M|    {
   45|  3.60M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  91.2k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  91.2k|    {
   45|  91.2k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.19M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.19M|    {
   45|  1.19M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  2.39M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.39M|    {
   45|  2.39M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.94M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.94M|    {
   45|  1.94M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  24.9k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  24.9k|    {
   45|  24.9k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_10half_arg_tERtRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  11.6k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  11.6k|    {
   45|  11.6k|    }

_ZN8jsoncons6binary11decode_halfEt:
  537|  1.05M|    {
  538|       |    #if defined(__F16C__) && !defined(APPLE_MISSING_INTRINSICS)
  539|       |        return _cvtsh_ss(half);
  540|       |    #else
  541|  1.05M|        int64_t exp = (half >> 10) & 0x1f;
  542|  1.05M|        int64_t mant = half & 0x3ff;
  543|  1.05M|        double val;
  544|  1.05M|        if (exp == 0) 
  ------------------
  |  Branch (544:13): [True: 172k, False: 879k]
  ------------------
  545|   172k|        {
  546|   172k|            val = ldexp(static_cast<double>(mant), -24);
  547|   172k|        }
  548|   879k|        else if (exp != 31) 
  ------------------
  |  Branch (548:18): [True: 541k, False: 337k]
  ------------------
  549|   541k|        {
  550|   541k|            val = ldexp(static_cast<double>(mant) + 1024.0, static_cast<int>(exp - 25));
  551|   541k|        } 
  552|   337k|        else
  553|   337k|        {
  554|   337k|            val = mant == 0 ? std::numeric_limits<double>::infinity() : std::nan("");
  ------------------
  |  Branch (554:19): [True: 23.9k, False: 313k]
  ------------------
  555|   337k|        }
  556|  1.05M|        return half & 0x8000 ? -val : val;
  ------------------
  |  Branch (556:16): [True: 694k, False: 357k]
  ------------------
  557|  1.05M|    #endif
  558|  1.05M|    }

_ZN8jsoncons6nonstd8expectedImNSt3__14errcEEC2ImEENS2_9enable_ifIXsr3std24is_default_constructibleIT_EE5valueEiE4typeE:
   41|      7|        : expected(T{})
   42|      7|    {
   43|      7|    }
_ZN8jsoncons6nonstd8expectedImNSt3__14errcEEC2EOm:
   52|  29.3k|        : has_value_(true)
   53|  29.3k|    {
   54|  29.3k|        construct(std::move(value));
   55|  29.3k|    }
_ZN8jsoncons6nonstd8expectedImNSt3__14errcEE9constructEOm:
  274|  29.3k|    {
  275|  29.3k|        ::new (&value_) T(std::move(value));
  276|  29.3k|        has_value_ = true;
  277|  29.3k|    }
_ZN8jsoncons6nonstd8expectedImNSt3__14errcEEC2IJS3_EEENS0_10unexpect_tEDpOT_:
   66|     10|        : has_value_(false)
   67|     10|    {
   68|     10|        ::new (&error_) E(std::forward<Args>(args)...);
   69|     10|    }
_ZNK8jsoncons6nonstd8expectedImNSt3__14errcEEcvbEv:
  146|  29.3k|    {
  147|  29.3k|        return has_value_;
  148|  29.3k|    }
_ZNR8jsoncons6nonstd8expectedImNSt3__14errcEEdeEv:
  231|  58.6k|    {
  232|  58.6k|        return this->value_;
  233|  58.6k|    }
_ZN8jsoncons6nonstd8expectedImNSt3__14errcEED2Ev:
  100|  29.3k|    {
  101|  29.3k|        destroy();
  102|  29.3k|    }
_ZN8jsoncons6nonstd8expectedImNSt3__14errcEE7destroyEv:
  280|  29.3k|    {
  281|  29.3k|        if (has_value_) 
  ------------------
  |  Branch (281:13): [True: 29.3k, False: 10]
  ------------------
  282|  29.3k|        {
  283|  29.3k|            value_.~T();
  284|  29.3k|            has_value_ = false;
  285|  29.3k|        }
  286|     10|        else
  287|     10|        {
  288|     10|            error_.~E();
  289|     10|        }
  290|  29.3k|    }
_ZN8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2IJRNS4_10error_codeEmmEEENS0_10unexpect_tEDpOT_:
   66|  9.94k|        : has_value_(false)
   67|  9.94k|    {
   68|  9.94k|        ::new (&error_) E(std::forward<Args>(args)...);
   69|  9.94k|    }
_ZN8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2EOS7_:
   52|  3.56k|        : has_value_(true)
   53|  3.56k|    {
   54|  3.56k|        construct(std::move(value));
   55|  3.56k|    }
_ZN8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE9constructEOS7_:
  274|  3.56k|    {
  275|  3.56k|        ::new (&value_) T(std::move(value));
  276|  3.56k|        has_value_ = true;
  277|  3.56k|    }
_ZNK8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEcvbEv:
  146|  13.5k|    {
  147|  13.5k|        return has_value_;
  148|  13.5k|    }
_ZNR8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE5errorEv:
  192|  29.8k|    {
  193|  29.8k|        assert(!has_value_);
  ------------------
  |  Branch (193:9): [True: 29.8k, False: 0]
  ------------------
  194|  29.8k|        return this->error_;
  195|  29.8k|    }
_ZNR8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEdeEv:
  231|  3.56k|    {
  232|  3.56k|        return this->value_;
  233|  3.56k|    }
_ZN8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEED2Ev:
  100|  13.5k|    {
  101|  13.5k|        destroy();
  102|  13.5k|    }
_ZN8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE7destroyEv:
  280|  13.5k|    {
  281|  13.5k|        if (has_value_) 
  ------------------
  |  Branch (281:13): [True: 3.56k, False: 9.94k]
  ------------------
  282|  3.56k|        {
  283|  3.56k|            value_.~T();
  284|  3.56k|            has_value_ = false;
  285|  3.56k|        }
  286|  9.94k|        else
  287|  9.94k|        {
  288|  9.94k|            error_.~E();
  289|  9.94k|        }
  290|  13.5k|    }

_ZN8jsoncons6nonstd16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|   437k|    {       
  242|   437k|        return (ptr);
  243|   437k|    }  
_ZN8jsoncons6nonstd16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|  1.96M|    {       
  242|  1.96M|        return (ptr);
  243|  1.96M|    }  
_ZN8jsoncons6nonstd16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  7.20M|    {       
  242|  7.20M|        return (ptr);
  243|  7.20M|    }  
_ZN8jsoncons6nonstd16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  2.64M|    {       
  242|  2.64M|        return (ptr);
  243|  2.64M|    }  
_ZN8jsoncons6nonstd16to_plain_pointerIcEEPT_S3_:
  241|  2.40M|    {       
  242|  2.40M|        return (ptr);
  243|  2.40M|    }  
_ZN8jsoncons6nonstd16to_plain_pointerImEEPT_S3_:
  241|  1.29M|    {       
  242|  1.29M|        return (ptr);
  243|  1.29M|    }  

_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|  7.11M|            : data_(data), size_(size)
   62|  7.11M|        {
   63|  7.11M|        }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4dataEv:
  111|  10.4M|        {
  112|  10.4M|            return data_;
  113|  10.4M|        }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4sizeEv:
  116|  21.3M|        {
  117|  21.3M|            return size_;
  118|  21.3M|        }
_ZNK8jsoncons6nonstd4spanIKtLm18446744073709551615EE4sizeEv:
  116|  5.51M|        {
  117|  5.51M|            return size_;
  118|  5.51M|        }
_ZNK8jsoncons6nonstd4spanIKjLm18446744073709551615EE4sizeEv:
  116|   452k|        {
  117|   452k|            return size_;
  118|   452k|        }
_ZNK8jsoncons6nonstd4spanIKmLm18446744073709551615EE4sizeEv:
  116|  1.94M|        {
  117|  1.94M|            return size_;
  118|  1.94M|        }
_ZNK8jsoncons6nonstd4spanIKaLm18446744073709551615EE4sizeEv:
  116|   192k|        {
  117|   192k|            return size_;
  118|   192k|        }
_ZNK8jsoncons6nonstd4spanIKsLm18446744073709551615EE4sizeEv:
  116|   443k|        {
  117|   443k|            return size_;
  118|   443k|        }
_ZNK8jsoncons6nonstd4spanIKiLm18446744073709551615EE4sizeEv:
  116|  64.3k|        {
  117|  64.3k|            return size_;
  118|  64.3k|        }
_ZNK8jsoncons6nonstd4spanIKlLm18446744073709551615EE4sizeEv:
  116|   213k|        {
  117|   213k|            return size_;
  118|   213k|        }
_ZNK8jsoncons6nonstd4spanIKfLm18446744073709551615EE4sizeEv:
  116|   760k|        {
  117|   760k|            return size_;
  118|   760k|        }
_ZNK8jsoncons6nonstd4spanIKdLm18446744073709551615EE4sizeEv:
  116|  55.4k|        {
  117|  55.4k|            return size_;
  118|  55.4k|        }
_ZNK8jsoncons6nonstd4spanIhLm18446744073709551615EE4dataEv:
  111|   465k|        {
  112|   465k|            return data_;
  113|   465k|        }
_ZNK8jsoncons6nonstd4spanIhLm18446744073709551615EE4sizeEv:
  116|   465k|        {
  117|   465k|            return size_;
  118|   465k|        }
_ZN8jsoncons6nonstd4spanIhLm18446744073709551615EEC2INSt3__16vectorIhNS4_9allocatorIhEEEEEERT_PNS4_9enable_ifIXaaaaaantsr7is_spanIS9_EE5valuentsr6nonstd12is_std_arrayIS9_EE5valuesr6nonstd21is_compatible_elementIS9_hEE5valuesr6nonstd17has_data_and_sizeIS9_EE5valueEvE4typeE:
   68|   465k|            : data_(c.data()), size_(c.size())
   69|   465k|        {
   70|   465k|        }
_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2IhLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  6.18k|            : data_(s.data()), size_(s.size())
  103|  6.18k|        {
  104|  6.18k|        }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EEixEm:
  126|  2.43M|         {
  127|  2.43M|             return data_[index];
  128|  2.43M|         }
_ZN8jsoncons6nonstd4spanItLm18446744073709551615EEC2EPtm:
   61|  37.0k|            : data_(data), size_(size)
   62|  37.0k|        {
   63|  37.0k|        }
_ZNK8jsoncons6nonstd4spanItLm18446744073709551615EE4sizeEv:
  116|  1.17M|        {
  117|  1.17M|            return size_;
  118|  1.17M|        }
_ZNK8jsoncons6nonstd4spanItLm18446744073709551615EEixEm:
  126|  2.24M|         {
  127|  2.24M|             return data_[index];
  128|  2.24M|         }
_ZN8jsoncons6nonstd4spanIKtLm18446744073709551615EEC2ItLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  18.4k|            : data_(s.data()), size_(s.size())
  103|  18.4k|        {
  104|  18.4k|        }
_ZNK8jsoncons6nonstd4spanItLm18446744073709551615EE4dataEv:
  111|  18.4k|        {
  112|  18.4k|            return data_;
  113|  18.4k|        }
_ZNK8jsoncons6nonstd4spanIKtLm18446744073709551615EEixEm:
  126|  5.47M|         {
  127|  5.47M|             return data_[index];
  128|  5.47M|         }
_ZN8jsoncons6nonstd4spanIjLm18446744073709551615EEC2EPjm:
   61|  37.0k|            : data_(data), size_(size)
   62|  37.0k|        {
   63|  37.0k|        }
_ZNK8jsoncons6nonstd4spanIjLm18446744073709551615EE4sizeEv:
  116|   233k|        {
  117|   233k|            return size_;
  118|   233k|        }
_ZNK8jsoncons6nonstd4spanIjLm18446744073709551615EEixEm:
  126|   358k|         {
  127|   358k|             return data_[index];
  128|   358k|         }
_ZN8jsoncons6nonstd4spanIKjLm18446744073709551615EEC2IjLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  18.4k|            : data_(s.data()), size_(s.size())
  103|  18.4k|        {
  104|  18.4k|        }
_ZNK8jsoncons6nonstd4spanIjLm18446744073709551615EE4dataEv:
  111|  18.4k|        {
  112|  18.4k|            return data_;
  113|  18.4k|        }
_ZNK8jsoncons6nonstd4spanIKjLm18446744073709551615EEixEm:
  126|   400k|         {
  127|   400k|             return data_[index];
  128|   400k|         }
_ZN8jsoncons6nonstd4spanImLm18446744073709551615EEC2EPmm:
   61|  20.5k|            : data_(data), size_(size)
   62|  20.5k|        {
   63|  20.5k|        }
_ZNK8jsoncons6nonstd4spanImLm18446744073709551615EE4sizeEv:
  116|  93.7k|        {
  117|  93.7k|            return size_;
  118|  93.7k|        }
_ZNK8jsoncons6nonstd4spanImLm18446744073709551615EEixEm:
  126|   138k|         {
  127|   138k|             return data_[index];
  128|   138k|         }
_ZN8jsoncons6nonstd4spanIKmLm18446744073709551615EEC2ImLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  10.2k|            : data_(s.data()), size_(s.size())
  103|  10.2k|        {
  104|  10.2k|        }
_ZNK8jsoncons6nonstd4spanImLm18446744073709551615EE4dataEv:
  111|  10.2k|        {
  112|  10.2k|            return data_;
  113|  10.2k|        }
_ZNK8jsoncons6nonstd4spanIKmLm18446744073709551615EEixEm:
  126|  5.38M|         {
  127|  5.38M|             return data_[index];
  128|  5.38M|         }
_ZN8jsoncons6nonstd4spanIaLm18446744073709551615EEC2EPam:
   61|  30.5k|            : data_(data), size_(size)
   62|  30.5k|        {
   63|  30.5k|        }
_ZNK8jsoncons6nonstd4spanIaLm18446744073709551615EE4sizeEv:
  116|  31.4k|        {
  117|  31.4k|            return size_;
  118|  31.4k|        }
_ZN8jsoncons6nonstd4spanIKaLm18446744073709551615EEC2IaLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  15.2k|            : data_(s.data()), size_(s.size())
  103|  15.2k|        {
  104|  15.2k|        }
_ZNK8jsoncons6nonstd4spanIaLm18446744073709551615EE4dataEv:
  111|  15.2k|        {
  112|  15.2k|            return data_;
  113|  15.2k|        }
_ZNK8jsoncons6nonstd4spanIKaLm18446744073709551615EEixEm:
  126|   151k|         {
  127|   151k|             return data_[index];
  128|   151k|         }
_ZN8jsoncons6nonstd4spanIsLm18446744073709551615EEC2EPsm:
   61|   195k|            : data_(data), size_(size)
   62|   195k|        {
   63|   195k|        }
_ZNK8jsoncons6nonstd4spanIsLm18446744073709551615EE4sizeEv:
  116|   447k|        {
  117|   447k|            return size_;
  118|   447k|        }
_ZNK8jsoncons6nonstd4spanIsLm18446744073709551615EEixEm:
  126|   308k|         {
  127|   308k|             return data_[index];
  128|   308k|         }
_ZN8jsoncons6nonstd4spanIKsLm18446744073709551615EEC2IsLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  97.7k|            : data_(s.data()), size_(s.size())
  103|  97.7k|        {
  104|  97.7k|        }
_ZNK8jsoncons6nonstd4spanIsLm18446744073709551615EE4dataEv:
  111|  97.7k|        {
  112|  97.7k|            return data_;
  113|  97.7k|        }
_ZNK8jsoncons6nonstd4spanIKsLm18446744073709551615EEixEm:
  126|   155k|         {
  127|   155k|             return data_[index];
  128|   155k|         }
_ZN8jsoncons6nonstd4spanIiLm18446744073709551615EEC2EPim:
   61|  28.9k|            : data_(data), size_(size)
   62|  28.9k|        {
   63|  28.9k|        }
_ZNK8jsoncons6nonstd4spanIiLm18446744073709551615EE4sizeEv:
  116|  64.2k|        {
  117|  64.2k|            return size_;
  118|  64.2k|        }
_ZNK8jsoncons6nonstd4spanIiLm18446744073709551615EEixEm:
  126|  42.1k|         {
  127|  42.1k|             return data_[index];
  128|  42.1k|         }
_ZN8jsoncons6nonstd4spanIKiLm18446744073709551615EEC2IiLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  14.4k|            : data_(s.data()), size_(s.size())
  103|  14.4k|        {
  104|  14.4k|        }
_ZNK8jsoncons6nonstd4spanIiLm18446744073709551615EE4dataEv:
  111|  14.4k|        {
  112|  14.4k|            return data_;
  113|  14.4k|        }
_ZNK8jsoncons6nonstd4spanIKiLm18446744073709551615EEixEm:
  126|  26.1k|         {
  127|  26.1k|             return data_[index];
  128|  26.1k|         }
_ZN8jsoncons6nonstd4spanIlLm18446744073709551615EEC2EPlm:
   61|  61.6k|            : data_(data), size_(size)
   62|  61.6k|        {
   63|  61.6k|        }
_ZNK8jsoncons6nonstd4spanIlLm18446744073709551615EE4sizeEv:
  116|  92.3k|        {
  117|  92.3k|            return size_;
  118|  92.3k|        }
_ZNK8jsoncons6nonstd4spanIlLm18446744073709551615EEixEm:
  126|  46.4k|         {
  127|  46.4k|             return data_[index];
  128|  46.4k|         }
_ZN8jsoncons6nonstd4spanIKlLm18446744073709551615EEC2IlLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  30.8k|            : data_(s.data()), size_(s.size())
  103|  30.8k|        {
  104|  30.8k|        }
_ZNK8jsoncons6nonstd4spanIlLm18446744073709551615EE4dataEv:
  111|  30.8k|        {
  112|  30.8k|            return data_;
  113|  30.8k|        }
_ZNK8jsoncons6nonstd4spanIKlLm18446744073709551615EEixEm:
  126|   132k|         {
  127|   132k|             return data_[index];
  128|   132k|         }
_ZN8jsoncons6nonstd4spanIfLm18446744073709551615EEC2EPfm:
   61|  30.7k|            : data_(data), size_(size)
   62|  30.7k|        {
   63|  30.7k|        }
_ZNK8jsoncons6nonstd4spanIfLm18446744073709551615EE4sizeEv:
  116|   345k|        {
  117|   345k|            return size_;
  118|   345k|        }
_ZNK8jsoncons6nonstd4spanIfLm18446744073709551615EEixEm:
  126|   616k|         {
  127|   616k|             return data_[index];
  128|   616k|         }
_ZN8jsoncons6nonstd4spanIKfLm18446744073709551615EEC2IfLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  15.3k|            : data_(s.data()), size_(s.size())
  103|  15.3k|        {
  104|  15.3k|        }
_ZNK8jsoncons6nonstd4spanIfLm18446744073709551615EE4dataEv:
  111|  15.3k|        {
  112|  15.3k|            return data_;
  113|  15.3k|        }
_ZNK8jsoncons6nonstd4spanIKfLm18446744073709551615EEixEm:
  126|   724k|         {
  127|   724k|             return data_[index];
  128|   724k|         }
_ZN8jsoncons6nonstd4spanIdLm18446744073709551615EEC2EPdm:
   61|  10.8k|            : data_(data), size_(size)
   62|  10.8k|        {
   63|  10.8k|        }
_ZNK8jsoncons6nonstd4spanIdLm18446744073709551615EE4sizeEv:
  116|  45.6k|        {
  117|  45.6k|            return size_;
  118|  45.6k|        }
_ZNK8jsoncons6nonstd4spanIdLm18446744073709551615EEixEm:
  126|  61.7k|         {
  127|  61.7k|             return data_[index];
  128|  61.7k|         }
_ZN8jsoncons6nonstd4spanIKdLm18446744073709551615EEC2IdLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  5.40k|            : data_(s.data()), size_(s.size())
  103|  5.40k|        {
  104|  5.40k|        }
_ZNK8jsoncons6nonstd4spanIdLm18446744073709551615EE4dataEv:
  111|  5.40k|        {
  112|  5.40k|            return data_;
  113|  5.40k|        }
_ZNK8jsoncons6nonstd4spanIKdLm18446744073709551615EEixEm:
  126|  43.6k|         {
  127|  43.6k|             return data_[index];
  128|  43.6k|         }
_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2Ev:
   58|  3.31M|        {
   59|  3.31M|        }
_ZNK8jsoncons6nonstd4spanIKmLm18446744073709551615EE5emptyEv:
  121|  29.3k|        { 
  122|  29.3k|            return size_ == 0; 
  123|  29.3k|        }
_ZN8jsoncons6nonstd4spanIKmLm18446744073709551615EEC2INSt3__16vectorImNS5_9allocatorImEEEEEERT_PNS5_9enable_ifIXaaaaaantsr7is_spanISA_EE5valuentsr6nonstd12is_std_arrayISA_EE5valuesr6nonstd21is_compatible_elementISA_S2_EE5valuesr6nonstd17has_data_and_sizeISA_EE5valueEvE4typeE:
   68|  29.3k|            : data_(c.data()), size_(c.size())
   69|  29.3k|        {
   70|  29.3k|        }

_ZN8jsoncons6nonstd4u128C2Em:
   29|  1.76G|    constexpr u128(uint64_t lo) : hi(0), lo(lo) {}
_ZNK8jsoncons6nonstd4u128mlERKS1_:
  103|   879M|    u128 operator*(const u128& rhs) const {
  104|       |        // Split components into 32-bit chunks to avoid 64-bit overflow during multiplication
  105|   879M|        uint64_t a3 = hi >> 32;
  106|   879M|        uint64_t a2 = hi & 0xFFFFFFFFFFFFFFULL; // lower 32 bits of hi
  107|   879M|        uint64_t a1 = lo >> 32;
  108|   879M|        uint64_t a0 = lo & 0xFFFFFFFFULL;
  109|       |
  110|   879M|        uint64_t b3 = rhs.hi >> 32;
  111|   879M|        uint64_t b2 = rhs.hi & 0xFFFFFFFFFFFFFFULL;
  112|   879M|        uint64_t b1 = rhs.lo >> 32;
  113|   879M|        uint64_t b0 = rhs.lo & 0xFFFFFFFFULL;
  114|       |
  115|       |        // Long multiplication matrix
  116|       |        // We only care about terms that fit in the final 128 bits.
  117|       |        // Chunks exceeding indices that add up to 3 (e.g., a2*b2, a3*b1) drop out of range.
  118|       |
  119|   879M|        uint64_t c0 = a0 * b0;
  120|   879M|        uint64_t c1 = a0 * b1 + a1 * b0;
  121|   879M|        uint64_t c2 = a0 * b2 + a1 * b1 + a2 * b0;
  122|   879M|        uint64_t c3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0;
  123|       |
  124|       |        // Carry propagation
  125|   879M|        c1 += (c0 >> 32);
  126|   879M|        c2 += (c1 >> 32);
  127|   879M|        c3 += (c2 >> 32);
  128|       |
  129|       |        // Reconstruct hi and lo 64-bit values
  130|   879M|        uint64_t new_low = (c0 & 0xFFFFFFFFULL) | (c1 << 32);
  131|   879M|        uint64_t new_high = (c2 & 0xFFFFFFFFULL) | (c3 << 32);
  132|       |
  133|   879M|        return {new_high, new_low};
  134|   879M|    }
_ZN8jsoncons6nonstd4u128C2Emm:
   30|  2.63G|    constexpr u128(uint64_t hi, uint64_t lo) : hi(hi), lo(lo) {}
_ZNK8jsoncons6nonstd4u128plERKS1_:
   41|   879M|    u128 operator+(const u128& rhs) const {
   42|   879M|        uint64_t new_low = lo + rhs.lo;
   43|       |        // Carry occurs if the result wrapped around and is less than one of the inputs
   44|   879M|        uint64_t carry = (new_low < lo) ? 1 : 0;
  ------------------
  |  Branch (44:26): [True: 0, False: 879M]
  ------------------
   45|   879M|        uint64_t new_high = hi + rhs.hi + carry;
   46|   879M|        return {new_high, new_low};
   47|   879M|    }
_ZNK8jsoncons6nonstd4u128cvmEv:
  146|   880M|    explicit operator uint64_t() const {
  147|   880M|        return lo;
  148|   880M|    }
_ZNK8jsoncons6nonstd4u128rsEj:
   87|   879M|    u128 operator>>(unsigned int shift) const {
   88|   879M|        if (shift == 0) return *this;
  ------------------
  |  Branch (88:13): [True: 0, False: 879M]
  ------------------
   89|   879M|        if (shift >= 128) return {0, 0};
  ------------------
  |  Branch (89:13): [True: 0, False: 879M]
  ------------------
   90|       |
   91|   879M|        if (shift >= 64) {
  ------------------
  |  Branch (91:13): [True: 879M, False: 0]
  ------------------
   92|   879M|            return {0, hi >> (shift - 64)};
   93|   879M|        }
   94|      0|        else {
   95|      0|            return {
   96|      0|                hi >> shift,
   97|      0|                (lo >> shift) | (hi << (64 - shift))
   98|      0|            };
   99|      0|        }
  100|   879M|    }
_ZNK8jsoncons6nonstd4u128cvbEv:
   32|  2.69M|    explicit operator bool() const {
   33|  2.69M|        return hi != 0 || lo != 0;
  ------------------
  |  Branch (33:16): [True: 0, False: 2.69M]
  |  Branch (33:27): [True: 297k, False: 2.40M]
  ------------------
   34|  2.69M|    }

_ZN8jsoncons11ser_contextD2Ev:
   21|  13.5k|    virtual ~ser_context() = default;
_ZN8jsoncons10read_errorC2ENSt3__110error_codeEmm:
   68|  9.94k|        : ec_{ec}, line_{line}, column_{column}
   69|  9.94k|    {
   70|  9.94k|    }
_ZNK8jsoncons10read_error4codeEv:
   86|  9.94k|    {
   87|  9.94k|        return ec_;
   88|  9.94k|    }
_ZNK8jsoncons10read_error4lineEv:
   94|  9.94k|    {
   95|  9.94k|        return line_;
   96|  9.94k|    }
_ZNK8jsoncons10read_error6columnEv:
   98|  9.94k|    {
   99|  9.94k|        return column_;
  100|  9.94k|    }

_ZN8jsoncons11string_sinkINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEC2ERS7_:
  256|  1.53M|            : buf_ptr(std::addressof(buf))
  257|  1.53M|        {
  258|  1.53M|        }
_ZN8jsoncons11string_sinkINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE9push_backEc:
  287|  27.0M|        {
  288|  27.0M|            buf_ptr->push_back(ch);
  289|  27.0M|        }

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  18.7k|        {
  159|  18.7k|            return data_.empty();
  160|  18.7k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  15.5k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  15.5k|        {
  169|  15.5k|            return data_.begin();
  170|  15.5k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  15.5k|        {
  174|  15.5k|            return data_.end();
  175|  15.5k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  1.32M|        {
  154|  1.32M|            flatten_and_destroy();
  155|  1.32M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|  1.32M|        {
  725|  1.32M|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 8.09k, False: 1.31M]
  ------------------
  726|  8.09k|            {
  727|  8.09k|                json_array<Json> temp(get_allocator());
  728|       |
  729|  8.09k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 32.1k, False: 8.09k]
  ------------------
  730|  32.1k|                {
  731|  32.1k|                    switch (kv.value().storage_kind())
  732|  32.1k|                    {
  733|  4.11k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 4.11k, False: 28.0k]
  ------------------
  734|  7.36k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 3.25k, False: 28.9k]
  ------------------
  735|  7.36k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 2.82k, False: 4.54k]
  ------------------
  736|  2.82k|                            {
  737|  2.82k|                                temp.emplace_back(std::move(kv.value()));
  738|  2.82k|                            }
  739|  7.36k|                            break;
  740|  24.8k|                        default:
  ------------------
  |  Branch (740:25): [True: 24.8k, False: 7.36k]
  ------------------
  741|  24.8k|                            break;
  742|  32.1k|                    }
  743|  32.1k|                }
  744|  8.09k|            }
  745|  1.32M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  1.32M|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  15.6k|        {
  278|  15.6k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 15.6k, False: 0]
  ------------------
  279|  15.6k|            {
  280|  15.6k|                data_.reserve(count);
  281|       |
  282|  15.6k|                std::sort(items, items+count, compare);
  283|  15.6k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  9.33M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 9.31M, False: 15.6k]
  ------------------
  286|  9.31M|                {
  287|  9.31M|                    auto& item = items[i];
  288|  9.31M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 40.0k, False: 9.27M]
  ------------------
  289|  40.0k|                    {
  290|  40.0k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|  40.0k|                    }
  292|  9.31M|                }
  293|  15.6k|            }
  294|  15.6k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|   210M|        {
  269|   210M|            int comp = item1.name.compare(item2.name); 
  270|   210M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 1.74M, False: 209M]
  ------------------
  271|   209M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 208M, False: 1.24M]
  ------------------
  272|       |
  273|  1.24M|            return false;
  274|   209M|        }

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  176|  13.5k|        : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  177|  13.5k|          chunk_size_(default_max_chunk_size)
  178|  13.5k|    {
  179|  13.5k|        chunk_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, chunk_size_);
  180|  13.5k|        data_end_ = chunk_;
  181|  13.5k|    }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   57|  13.5k|      : std::basic_istream<CharT>(&nb_)
   58|  13.5k|    {
   59|  13.5k|    }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   43|  13.5k|        null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  193|  13.5k|    {
  194|  13.5k|        if (chunk_)
  ------------------
  |  Branch (194:13): [True: 13.5k, False: 0]
  ------------------
  195|  13.5k|        {
  196|  13.5k|            std::allocator_traits<char_allocator_type>::deallocate(alloc_, chunk_, chunk_size_);
  197|  13.5k|        }
  198|  13.5k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|  9.94k|    {
  282|  9.94k|        return position_;
  283|  9.94k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  377|  4.27M|    {
  378|  4.27M|        std::size_t len = 0;
  379|  4.27M|        if (remaining_ > 0)
  ------------------
  |  Branch (379:13): [True: 4.27M, False: 658]
  ------------------
  380|  4.27M|        {
  381|  4.27M|            len = (std::min)(remaining_, length);
  382|  4.27M|            std::memcpy(p, data_end_, len*sizeof(value_type));
  383|  4.27M|            data_end_ += len;
  384|  4.27M|            remaining_ -= len;
  385|  4.27M|            position_ += len;
  386|  4.27M|        }
  387|  4.27M|        if (length - len == 0)
  ------------------
  |  Branch (387:13): [True: 4.26M, False: 3.98k]
  ------------------
  388|  4.26M|        {
  389|  4.26M|            return len;
  390|  4.26M|        }
  391|  3.98k|        else if (length - len < chunk_size_)
  ------------------
  |  Branch (391:18): [True: 3.98k, False: 0]
  ------------------
  392|  3.98k|        {
  393|  3.98k|            data_end_ = chunk_;
  394|  3.98k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  395|  3.98k|            if (remaining_ > 0)
  ------------------
  |  Branch (395:17): [True: 2.76k, False: 1.21k]
  ------------------
  396|  2.76k|            {
  397|  2.76k|                std::size_t len2 = (std::min)(remaining_, length-len);
  398|  2.76k|                std::memcpy(p+len, data_end_, len2*sizeof(value_type));
  399|  2.76k|                data_end_ += len2;
  400|  2.76k|                remaining_ -= len2;
  401|  2.76k|                position_ += len2;
  402|  2.76k|                len += len2;
  403|  2.76k|            }
  404|  3.98k|            return len;
  405|  3.98k|        }
  406|      0|        else
  407|      0|        {
  408|      0|            if (stream_ptr_->eof())
  ------------------
  |  Branch (408:17): [True: 0, False: 0]
  ------------------
  409|      0|            {
  410|      0|                remaining_ = 0;
  411|      0|                return 0;
  412|      0|            }
  413|      0|            JSONCONS_TRY
  ------------------
  |  |   37|      0|    #define JSONCONS_TRY try
  ------------------
  414|      0|            {
  415|      0|                std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(p+len), length-len);
  416|      0|                std::size_t len2 = static_cast<std::size_t>(count);
  417|      0|                if (len2 < length-len)
  ------------------
  |  Branch (417:21): [True: 0, False: 0]
  ------------------
  418|      0|                {
  419|      0|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  420|      0|                }
  421|      0|                len += len2;
  422|      0|                position_ += len2;
  423|      0|                return len;
  424|      0|            }
  425|      0|            JSONCONS_CATCH(const std::exception&)     
  426|      0|            {
  427|      0|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  428|      0|                return 0;
  429|      0|            }
  430|      0|        }
  431|  4.27M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  442|  28.1k|    {
  443|  28.1k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (443:13): [True: 6.79k, False: 21.3k]
  ------------------
  444|  6.79k|        {
  445|  6.79k|            return 0;
  446|  6.79k|        }
  447|       |
  448|  21.3k|        JSONCONS_TRY
  ------------------
  |  |   37|  21.3k|    #define JSONCONS_TRY try
  ------------------
  449|  21.3k|        {
  450|  21.3k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  451|  21.3k|            std::size_t length = static_cast<std::size_t>(count);
  452|       |
  453|  21.3k|            if (length < chunk_size)
  ------------------
  |  Branch (453:17): [True: 13.4k, False: 7.93k]
  ------------------
  454|  13.4k|            {
  455|  13.4k|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  456|  13.4k|            }
  457|  21.3k|            return length;
  458|  21.3k|        }
  459|  21.3k|        JSONCONS_CATCH(const std::exception&)     
  460|  21.3k|        {
  461|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  462|      0|            return 0;
  463|      0|        }
  464|  21.3k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr6nonstd7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSD_m:
  746|  2.66M|    {
  747|  2.66M|        std::size_t unread = length;
  748|       |
  749|  3.93M|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 1.27M, False: 2.66M]
  |  Branch (749:30): [True: 1.27M, False: 888]
  ------------------
  750|  1.27M|        {
  751|  1.27M|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 297, False: 1.26M]
  |  Branch (751:44): [True: 176, False: 121]
  ------------------
  752|    176|            {
  753|    176|                std::size_t n = source.chunk_size();
  754|    176|                std::size_t offset = buffer.size();
  755|    176|                buffer.resize(offset+n);
  756|    176|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|    176|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|    176|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 29, False: 147]
  |  |  ------------------
  ------------------
  758|     29|                {
  759|     29|                    buffer.resize(offset+actual);
  760|     29|                }
  761|    176|                unread -= actual;
  762|    176|            }
  763|  1.26M|            else
  764|  1.26M|            {
  765|  1.26M|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|  1.26M|                std::size_t offset = buffer.size();
  767|  1.26M|                buffer.resize(offset+n);
  768|  1.26M|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|  1.26M|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|  1.26M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 484, False: 1.26M]
  |  |  ------------------
  ------------------
  770|    484|                {
  771|    484|                    buffer.resize(offset + actual);
  772|    484|                }
  773|  1.26M|                unread -= actual;
  774|  1.26M|            }
  775|  1.27M|        }
  776|  2.66M|        return length - unread;
  777|  2.66M|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  1.45M|    {
  272|  1.45M|        return remaining_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 1.81k, False: 1.45M]
  |  Branch (272:35): [True: 1.38k, False: 424]
  ------------------
  273|  1.45M|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9remainingEv:
  346|  1.45M|    {
  347|  1.45M|        return remaining_;
  348|  1.45M|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|  1.45M|    {
  262|  1.45M|        return chunk_size_;
  263|  1.45M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11read_bufferEPhm:
  435|    264|    {
  436|    264|        auto len = fill_buffer(chunk, chunk_size);
  437|    264|        position_ += len;
  438|    264|        return len;
  439|    264|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_6vectorIhS3_EEEENS_6nonstd4spanIKhLm18446744073709551615EEEmOT_:
  352|  6.41M|    {
  353|  6.41M|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   79|  6.41M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2.73M, False: 3.68M]
  |  |  ------------------
  ------------------
  354|  2.73M|        {
  355|  2.73M|            return span<const value_type>{};
  356|  2.73M|        }
  357|  3.68M|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 495, False: 3.68M]
  |  Branch (357:32): [True: 331, False: 164]
  ------------------
  358|    331|        {
  359|    331|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|    331|            data_end_ = chunk_;
  361|    331|        }
  362|  3.68M|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 1.52k, False: 3.67M]
  ------------------
  363|  1.52k|        {
  364|  1.52k|            buffer.clear();
  365|  1.52k|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|  1.52k|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|  1.52k|        }
  368|       |
  369|  3.67M|        const value_type* data = data_end_;
  370|  3.67M|        data_end_ += length;
  371|  3.67M|        remaining_ -= length;
  372|  3.67M|        position_ += length;
  373|  3.67M|        return span<const value_type>(data, length);
  374|  3.68M|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_12basic_stringIcNS2_11char_traitsIcEENS3_IcEEEEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr6nonstd7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSG_m:
  746|   181k|    {
  747|   181k|        std::size_t unread = length;
  748|       |
  749|   363k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 182k, False: 181k]
  |  Branch (749:30): [True: 181k, False: 501]
  ------------------
  750|   181k|        {
  751|   181k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 127, False: 181k]
  |  Branch (751:44): [True: 88, False: 39]
  ------------------
  752|     88|            {
  753|     88|                std::size_t n = source.chunk_size();
  754|     88|                std::size_t offset = buffer.size();
  755|     88|                buffer.resize(offset+n);
  756|     88|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|     88|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|     88|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 12, False: 76]
  |  |  ------------------
  ------------------
  758|     12|                {
  759|     12|                    buffer.resize(offset+actual);
  760|     12|                }
  761|     88|                unread -= actual;
  762|     88|            }
  763|   181k|            else
  764|   181k|            {
  765|   181k|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|   181k|                std::size_t offset = buffer.size();
  767|   181k|                buffer.resize(offset+n);
  768|   181k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|   181k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|   181k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 257, False: 181k]
  |  |  ------------------
  ------------------
  770|    257|                {
  771|    257|                    buffer.resize(offset + actual);
  772|    257|                }
  773|   181k|                unread -= actual;
  774|   181k|            }
  775|   181k|        }
  776|   181k|        return length - unread;
  777|   181k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_12basic_stringIcNS1_11char_traitsIcEENS2_IcEEEEEENS_6nonstd4spanIKhLm18446744073709551615EEEmOT_:
  352|  2.03M|    {
  353|  2.03M|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   79|  2.03M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 580k, False: 1.45M]
  |  |  ------------------
  ------------------
  354|   580k|        {
  355|   580k|            return span<const value_type>{};
  356|   580k|        }
  357|  1.45M|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 306, False: 1.45M]
  |  Branch (357:32): [True: 166, False: 140]
  ------------------
  358|    166|        {
  359|    166|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|    166|            data_end_ = chunk_;
  361|    166|        }
  362|  1.45M|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 791, False: 1.45M]
  ------------------
  363|    791|        {
  364|    791|            buffer.clear();
  365|    791|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    791|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    791|        }
  368|       |
  369|  1.45M|        const value_type* data = data_end_;
  370|  1.45M|        data_end_ += length;
  371|  1.45M|        remaining_ -= length;
  372|  1.45M|        position_ += length;
  373|  1.45M|        return span<const value_type>(data, length);
  374|  1.45M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4peekEv:
  312|   185M|    {
  313|   185M|        if (remaining_ == 0)
  ------------------
  |  Branch (313:13): [True: 23.3k, False: 185M]
  ------------------
  314|  23.3k|        {
  315|  23.3k|            data_end_ = chunk_;
  316|  23.3k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  317|  23.3k|        }
  318|   185M|        if (remaining_ > 0)
  ------------------
  |  Branch (318:13): [True: 185M, False: 5.46k]
  ------------------
  319|   185M|        {
  320|   185M|            value_type c = *data_end_;
  321|   185M|            return char_result<value_type>{c, false};
  322|   185M|        }
  323|  5.46k|        else
  324|  5.46k|        {
  325|  5.46k|            return char_result<value_type>{0, true};
  326|  5.46k|        }
  327|   185M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE6ignoreEm:
  286|  76.8M|    {
  287|  76.8M|        std::size_t len = 0;
  288|  76.8M|        if (remaining_ > 0)
  ------------------
  |  Branch (288:13): [True: 76.8M, False: 0]
  ------------------
  289|  76.8M|        {
  290|  76.8M|            len = (std::min)(remaining_, length);
  291|  76.8M|            position_ += len;
  292|  76.8M|            data_end_ += len;
  293|  76.8M|            remaining_ -= len;
  294|  76.8M|        }
  295|  76.8M|        while (len < length)
  ------------------
  |  Branch (295:16): [True: 0, False: 76.8M]
  ------------------
  296|      0|        {
  297|      0|            data_end_ = chunk_;
  298|      0|            remaining_ = fill_buffer(chunk_, chunk_size_);
  299|      0|            if (remaining_ == 0)
  ------------------
  |  Branch (299:17): [True: 0, False: 0]
  ------------------
  300|      0|            {
  301|      0|                break;
  302|      0|            }
  303|      0|            std::size_t len2 = (std::min)(remaining_, length-len);
  304|      0|            position_ += len2;
  305|      0|            data_end_ += len2;
  306|      0|            remaining_ -= len2;
  307|      0|            len += len2;
  308|      0|        }
  309|  76.8M|    }

_ZN8jsoncons16typed_array_castIKhEENS_6nonstd4spanIT_Lm18446744073709551615EEENS3_IhLm18446744073709551615EEE:
  141|  6.37k|{
  142|  6.37k|    return jsoncons::span<const uint8_t>{reinterpret_cast<const uint8_t*>(bytes.data()), bytes.size()};
  143|  6.37k|}
_ZN8jsoncons16typed_array_castIhEENS_6nonstd4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   81|  6.18k|{
   82|  6.18k|    return bytes;
   83|  6.18k|}
_ZN8jsoncons16typed_array_castItEENS_6nonstd4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   87|  37.0k|{
   88|  37.0k|    return jsoncons::span<uint16_t>{reinterpret_cast<uint16_t*>(bytes.data()), bytes.size()/sizeof(uint16_t)};
   89|  37.0k|}
_ZN8jsoncons16typed_array_castIjEENS_6nonstd4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   93|  37.0k|{
   94|  37.0k|    return jsoncons::span<uint32_t>{reinterpret_cast<uint32_t*>(bytes.data()), bytes.size()/sizeof(uint32_t)};
   95|  37.0k|}
_ZN8jsoncons16typed_array_castImEENS_6nonstd4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   99|  20.5k|{
  100|  20.5k|    return jsoncons::span<uint64_t>{reinterpret_cast<uint64_t*>(bytes.data()), bytes.size()/sizeof(uint64_t)};
  101|  20.5k|}
_ZN8jsoncons16typed_array_castIaEENS_6nonstd4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  105|  30.5k|{
  106|  30.5k|    return jsoncons::span<int8_t>{reinterpret_cast<int8_t*>(bytes.data()), bytes.size()};
  107|  30.5k|}
_ZN8jsoncons16typed_array_castIsEENS_6nonstd4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  111|   195k|{
  112|   195k|    return jsoncons::span<int16_t>{reinterpret_cast<int16_t*>(bytes.data()), bytes.size()/sizeof(int16_t)};
  113|   195k|}
_ZN8jsoncons16typed_array_castIiEENS_6nonstd4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  117|  28.9k|{
  118|  28.9k|    return jsoncons::span<int32_t>{reinterpret_cast<int32_t*>(bytes.data()), bytes.size()/sizeof(int32_t)};
  119|  28.9k|}
_ZN8jsoncons16typed_array_castIlEENS_6nonstd4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  123|  61.6k|{
  124|  61.6k|    return jsoncons::span<int64_t>{reinterpret_cast<int64_t*>(bytes.data()), bytes.size()/sizeof(int64_t)};
  125|  61.6k|}
_ZN8jsoncons16typed_array_castIfEENS_6nonstd4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  129|  30.7k|{
  130|  30.7k|    return jsoncons::span<float>{reinterpret_cast<float*>(bytes.data()), bytes.size()/sizeof(float)};
  131|  30.7k|}
_ZN8jsoncons16typed_array_castIdEENS_6nonstd4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  135|  10.8k|{
  136|  10.8k|    return jsoncons::span<double>{reinterpret_cast<double*>(bytes.data()), bytes.size()/sizeof(double)};
  137|  10.8k|}
_ZN8jsoncons22calculate_mdarray_sizeENS_6nonstd4spanIKmLm18446744073709551615EEE:
  247|  29.3k|{
  248|  29.3k|    using result_type = jsoncons::expected<std::size_t,std::errc>;
  249|       |
  250|  29.3k|    if (extents.empty())
  ------------------
  |  Branch (250:9): [True: 7, False: 29.3k]
  ------------------
  251|      7|    {
  252|      7|        return result_type(0);
  253|      7|    }
  254|  29.3k|    std::size_t n = extents[0];
  255|  1.75M|    for (std::size_t i = 1; i < extents.size(); ++i)
  ------------------
  |  Branch (255:29): [True: 1.73M, False: 29.3k]
  ------------------
  256|  1.73M|    {
  257|  1.73M|        if (extents[i] == 0 || JSONCONS_UNLIKELY(n > (std::numeric_limits<std::size_t>::max)()/extents[i]))
  ------------------
  |  |   79|  1.73M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 5, False: 1.73M]
  |  |  ------------------
  ------------------
  |  Branch (257:13): [True: 5, False: 1.73M]
  ------------------
  258|     10|        {
  259|     10|            return result_type(jsoncons::unexpect, std::errc::value_too_large);
  260|     10|        }
  261|  1.73M|        n *= extents[i];
  262|  1.73M|    }
  263|  29.3k|    return n;
  264|  29.3k|}

_ZN8jsoncons12basic_bigdecINSt3__19allocatorImEEEC2EONS_12basic_bigintIS3_EEl:
   42|  1.30M|        : unscaled_{unscaled}, scale_{scale}
   43|  1.30M|    {
   44|  1.30M|    }
_ZN8jsoncons16append_to_bufferINSt3__19allocatorImEEcNS2_IcEEEEvRKNS_12basic_bigdecIT_EERNS1_12basic_stringIT0_NS1_11char_traitsISB_EET1_EE:
  398|  1.30M|{
  399|  1.30M|    if (value.scale() == 0)
  ------------------
  |  Branch (399:9): [True: 10.2k, False: 1.29M]
  ------------------
  400|  10.2k|    {
  401|  10.2k|        append_to_buffer(value.unscaled(), buf);
  402|  10.2k|        return;
  403|  10.2k|    }
  404|  1.29M|    if (value.unscaled().is_negative())
  ------------------
  |  Branch (404:9): [True: 25.5k, False: 1.26M]
  ------------------
  405|  25.5k|    {
  406|  25.5k|        buf.push_back('-');
  407|  25.5k|    }
  408|  1.29M|    std::basic_string<CharT> coeff;
  409|  1.29M|    append_to_buffer(value.unscaled().is_negative() ? -value.unscaled() : value.unscaled(), coeff);
  ------------------
  |  Branch (409:22): [True: 25.5k, False: 1.26M]
  ------------------
  410|  1.29M|    std::size_t coeffLen = coeff.size();
  411|  1.29M|    if ((value.scale() >= 0) && (value.scale() <= static_cast<int64_t>(coeffLen) + 5)) 
  ------------------
  |  Branch (411:9): [True: 120k, False: 1.17M]
  |  Branch (411:33): [True: 118k, False: 2.76k]
  ------------------
  412|   118k|    { 
  413|   118k|        int64_t pad = value.scale() - coeffLen;         // padding zeros
  414|   118k|        if (pad >= 0) {                                 // 0.xxx form
  ------------------
  |  Branch (414:13): [True: 104k, False: 14.1k]
  ------------------
  415|   104k|            buf.push_back('0');
  416|   104k|            buf.push_back('.');
  417|   514k|            for (; pad>0; pad--) {
  ------------------
  |  Branch (417:20): [True: 410k, False: 104k]
  ------------------
  418|   410k|                buf.push_back('0');
  419|   410k|            }
  420|   104k|            buf.append(coeff.data(), coeffLen);
  421|   104k|        } 
  422|  14.1k|        else 
  423|  14.1k|        {
  424|  14.1k|            buf.append(coeff.data(), -pad);
  425|  14.1k|            buf.push_back('.');
  426|  14.1k|            buf.append(coeff.data() -pad, value.scale());
  427|  14.1k|        }
  428|   118k|    }
  429|  1.17M|    else
  430|  1.17M|    {
  431|  1.17M|        buf.push_back(coeff[0]);   // first character
  432|  1.17M|        if (coeffLen > 1) 
  ------------------
  |  Branch (432:13): [True: 6.80k, False: 1.16M]
  ------------------
  433|  6.80k|        {
  434|  6.80k|            buf.push_back('.');
  435|  6.80k|            buf.append(coeff.data() + 1, coeffLen - 1);
  436|  6.80k|        }
  437|  1.17M|        int64_t digits = static_cast<int64_t>(coeffLen) - 1;
  438|  1.17M|        if (value.scale() != digits) 
  ------------------
  |  Branch (438:13): [True: 1.17M, False: 0]
  ------------------
  439|  1.17M|        {             
  440|  1.17M|            buf.push_back('e');
  441|  1.17M|            if (value.scale() < digits)
  ------------------
  |  Branch (441:17): [True: 1.17M, False: 2.76k]
  ------------------
  442|  1.17M|            {
  443|  1.17M|                from_integer(static_cast<uint64_t>(digits) - static_cast<uint64_t>(value.scale()), buf);
  444|  1.17M|            }
  445|  2.76k|            else
  446|  2.76k|            {
  447|  2.76k|                from_integer(digits - value.scale(), buf);
  448|  2.76k|            }
  449|  1.17M|        }
  450|  1.17M|    }
  451|  1.29M|}
_ZNK8jsoncons12basic_bigdecINSt3__19allocatorImEEE5scaleEv:
   78|  6.37M|    {
   79|  6.37M|        return scale_;
   80|  6.37M|    }
_ZNK8jsoncons12basic_bigdecINSt3__19allocatorImEEE8unscaledEv:
   73|  3.88M|    {
   74|  3.88M|        return unscaled_;
   75|  3.88M|    }

_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE13from_bytes_beEiPKhm:
  824|   397k|    {
  825|   397k|        static const double radix_log2 = std::log2(next_power_of_two(256));
  826|       |        // Estimate how big the result will be, so we can pre-allocate it.
  827|   397k|        double bits = radix_log2 * n;
  828|   397k|        double big_digits = std::ceil(bits / 64.0);
  829|       |        //std::cout << "ESTIMATED: " << big_digits << "\n";
  830|       |
  831|   397k|        basic_bigint<Allocator> v = 0;
  832|   397k|        v.reserve(static_cast<size_type>(big_digits));
  833|       |
  834|  3.52M|        for (size_type i = 0; i < n; i++)
  ------------------
  |  Branch (834:31): [True: 3.12M, False: 397k]
  ------------------
  835|  3.12M|        {
  836|  3.12M|            v *= 256;
  837|  3.12M|            v += (word_type)(bytes[i]);
  838|  3.12M|        }
  839|       |        //std::cout << "ACTUAL: " << v.size() << "\n";
  840|       |
  841|   397k|        if (signum < 0)
  ------------------
  |  Branch (841:13): [True: 0, False: 397k]
  ------------------
  842|      0|        {
  843|      0|            v.set_negative(true);
  844|      0|        }
  845|       |
  846|   397k|        return v;
  847|   397k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE17next_power_of_twoEm:
 2043|      1|    static word_type next_power_of_two(word_type n) {
 2044|      1|        n = n - 1;
 2045|      1|        n |= n >> 1u;
 2046|      1|        n |= n >> 2u;
 2047|      1|        n |= n >> 4u;
 2048|      1|        n |= n >> 8u;
 2049|      1|        n |= n >> 16u;
 2050|      1|        n |= n >> 32u;
 2051|      1|        return n + 1;
 2052|      1|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE7reserveEm:
  855|   397k|    {
  856|   397k|        storage_.reserve(n);
  857|   397k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  455|  10.1M|    {
  456|  10.1M|       if (capacity() < n)
  ------------------
  |  Branch (456:12): [True: 383k, False: 9.74M]
  ------------------
  457|   383k|       {
  458|   383k|           if (!is_allocated())
  ------------------
  |  Branch (458:16): [True: 383k, False: 0]
  ------------------
  459|   383k|           {
  460|   383k|               size_type size = inlined_.size_;
  461|   383k|               size_type is_neg = inlined_.is_negative_;
  462|   383k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  463|       |
  464|   383k|               ::new (&allocated_) allocated_storage();
  465|   383k|               allocated_.reserve(n, get_allocator());
  466|   383k|               allocated_.size_ = size;
  467|   383k|               allocated_.is_negative_ = is_neg;
  468|   383k|               if (n >= 1)
  ------------------
  |  Branch (468:20): [True: 383k, False: 0]
  ------------------
  469|   383k|               {
  470|   383k|                   allocated_.data_[0] = values[0];
  471|   383k|               }
  472|   383k|               if (n >= 2)
  ------------------
  |  Branch (472:20): [True: 383k, False: 0]
  ------------------
  473|   383k|               {
  474|   383k|                   allocated_.data_[1] = values[1];
  475|   383k|               }
  476|   383k|           }
  477|      0|           else
  478|      0|           {
  479|      0|               allocated_.reserve(n, get_allocator());
  480|      0|           }
  481|   383k|       }
  482|  10.1M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  508|  10.1M|    {
  509|  10.1M|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (509:16): [True: 2.58M, False: 7.55M]
  ------------------
  510|  10.1M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  503|  48.6M|    {
  504|  48.6M|        return common_.is_allocated_;
  505|  48.6M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  206|   383k|            : is_allocated_(true),
  207|   383k|            is_negative_(false)
  208|   383k|        {
  209|   383k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  258|   383k|        {
  259|   383k|            JSONCONS_ASSERT(n < max_size);
  ------------------
  |  |   54|   383k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 383k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  260|   383k|            size_type capacity_new = round_up(n);
  261|       |
  262|   383k|            real_allocator_type alloc(a);
  263|   383k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  264|   383k|            if (size_ > 0)
  ------------------
  |  Branch (264:17): [True: 0, False: 383k]
  ------------------
  265|      0|            {
  266|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  267|      0|            }
  268|   383k|            if (data_ != nullptr)
  ------------------
  |  Branch (268:17): [True: 0, False: 383k]
  ------------------
  269|      0|            {
  270|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  271|      0|            }
  272|   383k|            capacity_ = capacity_new;
  273|   383k|            data_ = data_new;
  274|   383k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  278|   383k|        {
  279|   383k|            size_type remainder = i % mem_unit;
  280|   383k|            size_type off = mem_unit - remainder;
  281|   383k|            bool testoff = i < max_size - off;
  282|   383k|            JSONCONS_ASSERT(testoff);
  ------------------
  |  |   54|   383k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 383k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  283|       |
  284|   383k|            return i + off;
  285|   383k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  485|  16.8M|    {
  486|  16.8M|        return static_cast<const word_allocator_type&>(*this);
  487|  16.8M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLIiEENS1_9enable_ifIXsr6nonstd17is_signed_integerIT_EE5valueERS4_E4typeES7_:
 1020|  3.12M|    {
 1021|  3.12M|        *this *= word_type(y < 0 ? -y : y);
  ------------------
  |  Branch (1021:28): [True: 0, False: 3.12M]
  ------------------
 1022|  3.12M|        if ( y < 0 )
  ------------------
  |  Branch (1022:14): [True: 0, False: 3.12M]
  ------------------
 1023|      0|            set_negative(!is_negative());
 1024|  3.12M|        return *this;
 1025|  3.12M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLImEENS1_9enable_ifIXsr6nonstd19is_unsigned_integerIT_EE5valueERS4_E4typeES7_:
 1030|  3.12M|    {
 1031|  3.12M|        auto words = get_words();
 1032|  3.12M|        size_type len = words.size();
 1033|  3.12M|        if (len == 0 || m == 0)
  ------------------
  |  Branch (1033:13): [True: 427k, False: 2.69M]
  |  Branch (1033:25): [True: 0, False: 2.69M]
  ------------------
 1034|   427k|        {
 1035|   427k|            resize(0);
 1036|   427k|            return *this;
 1037|   427k|        }
 1038|       |
 1039|  2.69M|        dword_type carry = 0;
 1040|  2.69M|        size_t i = 0;
 1041|   882M|        for (; i < len; ++i) {
  ------------------
  |  Branch (1041:16): [True: 879M, False: 2.69M]
  ------------------
 1042|   879M|            dword_type x = dword_type(words[i]) * m + carry;
 1043|   879M|            words[i] = static_cast<word_type>(x);
 1044|   879M|            carry = x >> 64;
 1045|   879M|        }
 1046|       |
 1047|  2.69M|        if (carry)
  ------------------
  |  Branch (1047:13): [True: 297k, False: 2.40M]
  ------------------
 1048|   297k|        {
 1049|   297k|            resize(len+1);
 1050|   297k|            words = get_words();
 1051|   297k|            words[i] = static_cast<word_type>(carry);
 1052|   297k|        }
 1053|       |
 1054|       |        /*
 1055|       |        word_type dig = words[0];
 1056|       |        word_type carry = 0;
 1057|       |
 1058|       |        resize(words.size() + 1);
 1059|       |        words = get_words();
 1060|       |
 1061|       |        size_type i = 0;
 1062|       |        for (; i < len; i++ )
 1063|       |        {
 1064|       |            word_type hi;
 1065|       |            word_type lo;
 1066|       |            DDproduct( dig, y, hi, lo );
 1067|       |            words[i] = lo + carry;
 1068|       |            dig = words[i+1];
 1069|       |            carry = hi + (words[i] < lo);
 1070|       |        }
 1071|       |        words[i] = carry;
 1072|       |        reduce(); 
 1073|       |        */ 
 1074|  2.69M|        return *this;
 1075|  3.12M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE9get_wordsEv:
  697|  21.2M|    {
  698|  21.2M|        return storage_.get_words();
  699|  21.2M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE9get_wordsEv:
  523|  30.7M|    {
  524|  30.7M|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (524:16): [True: 10.3M, False: 20.4M]
  ------------------
  525|  10.3M|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  526|  30.7M|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  527|  30.7M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   67|  30.7M|            : data_(data), size_(size)
   68|  30.7M|        {
   69|  30.7M|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   87|  29.0M|        {
   88|  29.0M|            return size_;
   89|  29.0M|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  850|  4.74M|    {
  851|  4.74M|        storage_.resize(new_length);
  852|  4.74M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  537|  9.73M|    {
  538|  9.73M|        size_type old_length = common_.size_;
  539|  9.73M|        reserve(new_length);
  540|  9.73M|        common_.size_ = new_length;
  541|       |
  542|  9.73M|        if (old_length < new_length)
  ------------------
  |  Branch (542:13): [True: 6.97M, False: 2.75M]
  ------------------
  543|  6.97M|        {
  544|  6.97M|            if (is_allocated())
  ------------------
  |  Branch (544:17): [True: 2.20M, False: 4.77M]
  ------------------
  545|  2.20M|            {
  546|  2.20M|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  547|  2.20M|            }
  548|  4.77M|            else
  549|  4.77M|            {
  550|  4.77M|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   54|  4.77M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 4.77M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  551|  12.7M|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (551:48): [True: 7.93M, False: 4.77M]
  ------------------
  552|  7.93M|                {
  553|  7.93M|                    inlined_.values_[i] = 0;
  554|  7.93M|                }
  555|  4.77M|            }
  556|  6.97M|        }
  557|  9.73M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   72|  2.46G|        {
   73|  2.46G|            return data_[i];
   74|  2.46G|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  707|  19.6M|    {
  708|  19.6M|        return storage_.is_negative();
  709|  19.6M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  513|  19.6M|    {
  514|  19.6M|        return common_.is_negative_;
  515|  19.6M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLImEENS1_9enable_ifIXaasr6nonstd19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  921|  3.12M|    {
  922|  3.12M|        if ( is_negative())
  ------------------
  |  Branch (922:14): [True: 0, False: 3.12M]
  ------------------
  923|      0|            return *this -= -basic_bigint<Allocator>(y);
  924|       |
  925|  3.12M|        word_type d;
  926|  3.12M|        word_type carry = 0;
  927|       |
  928|  3.12M|        auto words = get_words();
  929|  3.12M|        resize(words.size() + 1);
  930|       |
  931|  3.12M|        words = get_words();
  932|  3.12M|        const size_type this_size = words.size();
  933|  3.12M|        size_type y_size = 1;
  934|       |
  935|  3.12M|        d = words[0] + carry;
  936|  3.12M|        carry = d < carry;
  937|  3.12M|        words[0] = d + y;
  938|  3.12M|        if (words[0] < d)
  ------------------
  |  Branch (938:13): [True: 0, False: 3.12M]
  ------------------
  939|      0|            carry = 1;
  940|       |
  941|  3.12M|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (941:36): [True: 2.69M, False: 427k]
  |  Branch (941:53): [True: 0, False: 2.69M]
  ------------------
  942|      0|        {
  943|      0|            d = words[i] + carry;
  944|      0|            carry = d < carry;
  945|      0|            words[i] = d;
  946|      0|        }
  947|  3.12M|        reduce();
  948|  3.12M|        return *this;
  949|  3.12M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ImEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  672|  4.49M|        : storage_(n, alloc)
  673|  4.49M|    {
  674|  4.49M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ImEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  363|  4.49M|        : word_allocator_type(alloc)
  364|  4.49M|    {
  365|  4.49M|        ::new (&inlined_) inlined_storage(n);
  366|  4.49M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ImEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  141|  4.49M|            : is_allocated_(false),
  142|  4.49M|            is_negative_(false),
  143|  4.49M|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (143:19): [True: 1.67M, False: 2.82M]
  ------------------
  144|  4.49M|        {
  145|  4.49M|            values_[0] = n;
  146|  4.49M|            values_[1] = 0;
  147|  4.49M|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  867|   186k|    {
  868|   186k|        basic_bigint<Allocator> v(*this);
  869|   186k|        v.set_negative(!v.is_negative());
  870|   186k|        return v;
  871|   186k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  650|  7.14M|        : storage_(other.storage_)
  651|  7.14M|    {
  652|  7.14M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  302|  7.14M|        : word_allocator_type(other.get_allocator())
  303|  7.14M|    {
  304|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  305|       |# pragma GCC diagnostic push
  306|       |# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
  307|       |#endif
  308|  7.14M|        if (!other.is_allocated())
  ------------------
  |  Branch (308:13): [True: 6.61M, False: 535k]
  ------------------
  309|  6.61M|        {
  310|  6.61M|            ::new (&inlined_) inlined_storage(other.inlined_);
  311|  6.61M|        }
  312|   535k|        else
  313|   535k|        {
  314|   535k|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  315|   535k|        }
  316|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  317|       |# pragma GCC diagnostic pop
  318|       |#endif
  319|  7.14M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  181|  10.3M|            : is_allocated_(false),
  182|  10.3M|            is_negative_(stor.is_negative_),
  183|  10.3M|            size_(stor.size_)
  184|  10.3M|        {
  185|  10.3M|            values_[0] = stor.values_[0];
  186|  10.3M|            values_[1] = stor.values_[1];
  187|  10.3M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  212|  1.29M|            : is_allocated_(true),
  213|  1.29M|              is_negative_(stor.is_negative_),
  214|  1.29M|              size_(stor.size_),
  215|  1.29M|              capacity_(stor.capacity_)
  216|  1.29M|        {
  217|  1.29M|            real_allocator_type alloc(a);
  218|       |
  219|  1.29M|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  220|  1.29M|            JSONCONS_TRY
  ------------------
  |  |   37|  1.29M|    #define JSONCONS_TRY try
  ------------------
  221|  1.29M|            {
  222|  1.29M|                std::allocator_traits<real_allocator_type>::construct(alloc, nonstd::to_plain_pointer(data_));
  223|  1.29M|            }
  224|  1.29M|            JSONCONS_CATCH(...)
  225|  1.29M|            {
  226|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  227|      0|                data_ = nullptr;
  228|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  229|      0|            }
  230|  1.29M|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   54|  1.29M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 1.29M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  231|  1.29M|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  232|  1.29M|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  986|   161k|    {
  987|   161k|        auto y_words = y.get_words();
  988|       |
  989|   161k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (989:14): [True: 161k, False: 0]
  ------------------
  990|   161k|            return *this += -y;
  991|      0|        if ( (!is_negative() && y > *this) || (is_negative() && y < *this) )
  ------------------
  |  Branch (991:15): [True: 0, False: 0]
  |  Branch (991:33): [True: 0, False: 0]
  |  Branch (991:48): [True: 0, False: 0]
  |  Branch (991:65): [True: 0, False: 0]
  ------------------
  992|      0|            return *this = -(y - *this);
  993|      0|        word_type borrow = 0;
  994|      0|        word_type d;
  995|      0|        auto words = get_words();
  996|      0|        const size_type this_size = words.size();
  997|      0|        const size_type y_size = y_words.size();
  998|       |
  999|      0|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (999:31): [True: 0, False: 0]
  ------------------
 1000|      0|        {
 1001|      0|            d = words[i] - borrow;
 1002|      0|            borrow = d > words[i];
 1003|      0|            words[i] = d - y_words[i];
 1004|      0|            if ( words[i] > d )
  ------------------
  |  Branch (1004:18): [True: 0, False: 0]
  ------------------
 1005|      0|                borrow = 1;
 1006|      0|        }
 1007|      0|        for (size_type i = y_size; i < this_size && borrow != 0; i++ )
  ------------------
  |  Branch (1007:36): [True: 0, False: 0]
  |  Branch (1007:53): [True: 0, False: 0]
  ------------------
 1008|      0|        {
 1009|      0|            d = words[i] - borrow;
 1010|      0|            borrow = d > words[i];
 1011|      0|            words[i] = d;
 1012|      0|        }
 1013|      0|        reduce();
 1014|      0|        return *this;
 1015|      0|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9get_wordsEv:
  702|  5.86M|    {
  703|  5.86M|        return storage_.get_words();
  704|  5.86M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE9get_wordsEv:
  530|  10.8M|    {
  531|  10.8M|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (531:16): [True: 1.73M, False: 9.12M]
  ------------------
  532|  1.73M|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  533|  10.8M|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  534|  10.8M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   67|  10.8M|            : data_(data), size_(size)
   68|  10.8M|        {
   69|  10.8M|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLERKS4_:
  952|   161k|    {
  953|   161k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (953:14): [True: 0, False: 161k]
  ------------------
  954|      0|            return *this -= -y;
  955|       |
  956|   161k|        auto y_words = y.get_words();
  957|       |        
  958|   161k|        word_type d;
  959|   161k|        word_type carry = 0;
  960|       |
  961|   161k|        auto words = get_words();
  962|   161k|        resize( (std::max)(y_words.size(), words.size()) + 1 );
  963|   161k|        words = get_words();
  964|       |
  965|   161k|        const size_t this_size = words.size();
  966|   161k|        const size_t y_size = y_words.size();
  967|   560k|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (967:31): [True: 398k, False: 161k]
  ------------------
  968|   398k|        {
  969|   398k|            d = words[i] + carry;
  970|   398k|            carry = d < carry;
  971|   398k|            words[i] = d + y_words[i];
  972|   398k|            if (words[i] < d)
  ------------------
  |  Branch (972:17): [True: 499, False: 398k]
  ------------------
  973|    499|                carry = 1;
  974|   398k|        }
  975|   161k|        for (size_type i = y_size; i < this_size && carry != 0; i++ )
  ------------------
  |  Branch (975:36): [True: 161k, False: 360]
  |  Branch (975:53): [True: 360, False: 160k]
  ------------------
  976|    360|        {
  977|    360|            d = words[i] + carry;
  978|    360|            carry = d < carry;
  979|    360|            words[i] = d;
  980|    360|        }
  981|   161k|        reduce();
  982|   161k|        return *this;
  983|   161k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1702|  1.92M|    {
 1703|  1.92M|        auto words = get_words();
 1704|  1.92M|        auto y_words = y.get_words();
 1705|       |
 1706|  1.92M|        const size_type y_size = y_words.size();
 1707|  1.92M|        if ( words.size() == 0 && y_size == 0 )
  ------------------
  |  Branch (1707:14): [True: 0, False: 1.92M]
  |  Branch (1707:35): [True: 0, False: 0]
  ------------------
 1708|      0|            return 0;
 1709|  1.92M|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1709:14): [True: 0, False: 1.92M]
  ------------------
 1710|      0|            return y.is_negative() - is_negative();
 1711|  1.92M|        int code = 0;
 1712|  1.92M|        if ( words.size() < y_size)
  ------------------
  |  Branch (1712:14): [True: 0, False: 1.92M]
  ------------------
 1713|      0|            code = -1;
 1714|  1.92M|        else if ( words.size() > y_size)
  ------------------
  |  Branch (1714:19): [True: 307k, False: 1.61M]
  ------------------
 1715|   307k|            code = +1;
 1716|  1.61M|        else
 1717|  1.61M|        {
 1718|  1.61M|            for (size_type i = words.size(); i-- > 0; )
  ------------------
  |  Branch (1718:46): [True: 1.61M, False: 239]
  ------------------
 1719|  1.61M|            {
 1720|  1.61M|                if (words[i] > y_words[i])
  ------------------
  |  Branch (1720:21): [True: 5.38k, False: 1.60M]
  ------------------
 1721|  5.38k|                {
 1722|  5.38k|                    code = 1;
 1723|  5.38k|                    break;
 1724|  5.38k|                }
 1725|  1.60M|                else if (words[i] < y_words[i])
  ------------------
  |  Branch (1725:26): [True: 1.60M, False: 239]
  ------------------
 1726|  1.60M|                {
 1727|  1.60M|                    code = -1;
 1728|  1.60M|                    break;
 1729|  1.60M|                }
 1730|  1.61M|            }
 1731|  1.61M|        }
 1732|  1.92M|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1732:16): [True: 0, False: 1.92M]
  ------------------
 1733|  1.92M|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1537|  1.92M|    {
 1538|  1.92M|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1538:15): [True: 1.60M, False: 313k]
  ------------------
 1539|  1.92M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   87|  24.3M|        {
   88|  24.3M|            return size_;
   89|  24.3M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   72|  6.84M|        {
   73|  6.84M|            return data_[i];
   74|  6.84M|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 2039|  4.51M|    {
 2040|  4.51M|        storage_.reduce();
 2041|  4.51M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  432|  4.51M|    {
  433|  4.51M|        if (common_.size_ > 0)
  ------------------
  |  Branch (433:13): [True: 4.51M, False: 0]
  ------------------
  434|  4.51M|        {
  435|  4.51M|            auto words = get_words();
  436|  4.51M|            word_type* p = words.end() - 1;
  437|  4.51M|            word_type* first = words.begin();
  438|   121M|            while ( p >= first )
  ------------------
  |  Branch (438:21): [True: 121M, False: 45.6k]
  ------------------
  439|   121M|            {
  440|   121M|                if ( *p )
  ------------------
  |  Branch (440:22): [True: 4.47M, False: 116M]
  ------------------
  441|  4.47M|                {
  442|  4.47M|                    break;
  443|  4.47M|                }
  444|   116M|                --common_.size_;
  445|   116M|                --p;
  446|   116M|            }
  447|  4.51M|        }
  448|  4.51M|        if (common_.size_ == 0)
  ------------------
  |  Branch (448:13): [True: 45.6k, False: 4.47M]
  ------------------
  449|  45.6k|        {
  450|  45.6k|            common_.is_negative_ = false;
  451|  45.6k|        }
  452|  4.51M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
   96|  4.51M|        {
   97|  4.51M|            return data_ + size_;
   98|  4.51M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
   91|  4.51M|        {
   92|  4.51M|            return data_;
   93|  4.51M|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  728|  7.87M|    {
  729|  7.87M|        storage_.set_negative(value);
  730|  7.87M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  518|  7.87M|    {
  519|  7.87M|        common_.is_negative_ = value;
  520|  7.87M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16append_to_bufferIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1414|  81.9k|    {
 1415|  81.9k|        if (is_zero())
  ------------------
  |  Branch (1415:13): [True: 4.60k, False: 77.3k]
  ------------------
 1416|  4.60k|        {
 1417|  4.60k|            buf.push_back('0');
 1418|  4.60k|            return;
 1419|  4.60k|        }
 1420|  77.3k|        if (is_negative())
  ------------------
  |  Branch (1420:13): [True: 12.9k, False: 64.3k]
  ------------------
 1421|  12.9k|        {
 1422|  12.9k|            buf.push_back('-');
 1423|  12.9k|        }
 1424|  77.3k|        std::size_t pos = buf.size();
 1425|  77.3k|        basic_bigint<Allocator> v(*this);
 1426|  77.3k|        auto v_words = v.get_words();
 1427|       |
 1428|  77.3k|        size_type len = (v_words.size() * word_bits / 3) + 2;
 1429|  77.3k|        buf.reserve(len);
 1430|       |
 1431|  77.3k|        if ( v_words.size() == 0 )
  ------------------
  |  Branch (1431:14): [True: 0, False: 77.3k]
  ------------------
 1432|      0|        {
 1433|      0|            buf.push_back('0');
 1434|      0|        }
 1435|  77.3k|        else
 1436|  77.3k|        {
 1437|  77.3k|            word_type r;
 1438|  77.3k|            basic_bigint<Allocator> R(get_allocator());
 1439|  77.3k|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1440|       |
 1441|  77.3k|            do
 1442|   132k|            {
 1443|   132k|                v.divide( LP10, v, R, true );
 1444|   132k|                v_words = v.get_words();
 1445|       |
 1446|   132k|                auto R_words = R.get_words();
 1447|   132k|                r = (R_words.size() ? R_words[0] : 0);
  ------------------
  |  Branch (1447:22): [True: 132k, False: 447]
  ------------------
 1448|  1.47M|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1448:38): [True: 1.41M, False: 55.5k]
  ------------------
 1449|  1.41M|                {
 1450|  1.41M|                    buf.push_back(char(r % 10u + '0'));
 1451|  1.41M|                    r /= 10u;
 1452|  1.41M|                    if ( r + v_words.size() == 0 )
  ------------------
  |  Branch (1452:26): [True: 77.3k, False: 1.34M]
  ------------------
 1453|  77.3k|                        break;
 1454|  1.41M|                }
 1455|   132k|            } 
 1456|   132k|            while ( v_words.size() > 0);
  ------------------
  |  Branch (1456:21): [True: 55.5k, False: 77.3k]
  ------------------
 1457|       |
 1458|  77.3k|            std::reverse(buf.begin()+pos,buf.end());
 1459|  77.3k|        }
 1460|  77.3k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7is_zeroEv:
 2160|  1.38M|    bool is_zero() const {
 2161|  1.38M|        return get_words().size() == 0;
 2162|  1.38M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  692|  7.08M|    {
  693|  7.08M|        return storage_.get_allocator();
  694|  7.08M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  623|  1.31M|        : storage_(alloc)
  624|  1.31M|    {
  625|  1.31M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  296|  2.91M|        : word_allocator_type(alloc)
  297|  2.91M|    {
  298|  2.91M|        ::new (&inlined_) inlined_storage();
  299|  2.91M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  116|  2.91M|            : is_allocated_(false),
  117|  2.91M|            is_negative_(false),
  118|  2.91M|            size_(0),
  119|  2.91M|            values_{0, 0}
  120|  2.91M|        {
  121|  2.91M|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1796|  1.92M|    {
 1797|  1.92M|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1798|  1.92M|        auto denom_words = denom.get_words();
 1799|       |
 1800|  1.92M|        if (denom_words.size() == 0)
  ------------------
  |  Branch (1800:13): [True: 0, False: 1.92M]
  ------------------
 1801|      0|        {
 1802|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1803|      0|        }
 1804|  1.92M|        bool quot_neg = is_negative() ^ denom.is_negative();
 1805|  1.92M|        bool rem_neg = is_negative();
 1806|  1.92M|        basic_bigint<Allocator> num(*this, get_allocator());
 1807|  1.92M|        num.set_negative(false);
 1808|  1.92M|        denom.set_negative(false);
 1809|  1.92M|        if ( num < denom )
  ------------------
  |  Branch (1809:14): [True: 1.60M, False: 313k]
  ------------------
 1810|  1.60M|        {
 1811|  1.60M|            quot = word_type(0);
 1812|  1.60M|            quot.set_negative(quot_neg);
 1813|  1.60M|            rem = num;
 1814|  1.60M|            rem.set_negative(rem_neg);
 1815|  1.60M|            return;
 1816|  1.60M|        }
 1817|       |
 1818|   313k|        auto num_words = num.get_words();
 1819|   313k|        auto quot_words = quot.get_words();
 1820|   313k|        auto words = get_words();
 1821|       |
 1822|   313k|        if ( denom_words.size() == 1 && num_words.size() == 1 )
  ------------------
  |  Branch (1822:14): [True: 313k, False: 0]
  |  Branch (1822:41): [True: 5.62k, False: 307k]
  ------------------
 1823|  5.62k|        {
 1824|  5.62k|            quot = word_type( num_words[0]/denom_words[0] );
 1825|  5.62k|            rem = word_type( num_words[0]%denom_words[0] );
 1826|  5.62k|            quot.set_negative(quot_neg);
 1827|  5.62k|            rem.set_negative(rem_neg);
 1828|  5.62k|            return;
 1829|  5.62k|        }
 1830|   307k|        if (denom_words.size() == 1 && (denom_words[0] & l_mask) == 0 )
  ------------------
  |  Branch (1830:13): [True: 307k, False: 0]
  |  Branch (1830:40): [True: 0, False: 307k]
  ------------------
 1831|      0|        {
 1832|       |            // Denominator fits into a half word
 1833|      0|            word_type divisor = denom_words[0], dHi = 0, q1, r, q2, dividend;
 1834|      0|            quot.resize(words.size());
 1835|      0|            quot_words = quot.get_words();
 1836|      0|            for (size_type i=words.size(); i-- > 0; )
  ------------------
  |  Branch (1836:44): [True: 0, False: 0]
  ------------------
 1837|      0|            {
 1838|      0|                dividend = (dHi << word_half_bits) | (words[i] >> word_half_bits);
 1839|      0|                q1 = dividend/divisor;
 1840|      0|                r = dividend % divisor;
 1841|      0|                dividend = (r << word_half_bits) | (words[i] & r_mask);
 1842|      0|                q2 = dividend/divisor;
 1843|      0|                dHi = dividend % divisor;
 1844|      0|                quot_words[i] = (q1 << word_half_bits) | q2;
 1845|      0|            }
 1846|      0|            quot.reduce();
 1847|      0|            rem = dHi;
 1848|      0|            quot.set_negative(quot_neg);
 1849|      0|            rem.set_negative(rem_neg);
 1850|      0|            return;
 1851|      0|        }
 1852|   307k|        basic_bigint<Allocator> num0(num, get_allocator());
 1853|   307k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1854|   307k|        int x = 0;
 1855|   307k|        bool second_done = normalize(denom, num, x);
 1856|   307k|        denom_words = denom.get_words();
 1857|   307k|        num_words = num.get_words();
 1858|       |
 1859|   307k|        size_type l = denom_words.size() - 1;
 1860|   307k|        size_type n = num_words.size() - 1;
 1861|   307k|        quot.resize(n - l);
 1862|   307k|        quot_words = quot.get_words();
 1863|   113M|        for (size_type i = quot_words.size(); i-- > 0; )
  ------------------
  |  Branch (1863:47): [True: 113M, False: 307k]
  ------------------
 1864|   113M|        {
 1865|   113M|            quot_words[i] = 0;
 1866|   113M|        }
 1867|   307k|        rem = num;
 1868|   307k|        auto rem_words = rem.get_words();
 1869|   307k|        if ( rem_words[n] >= denom_words[l] )
  ------------------
  |  Branch (1869:14): [True: 9.17k, False: 298k]
  ------------------
 1870|  9.17k|        {
 1871|  9.17k|            rem.resize(rem_words.size() + 1);
 1872|  9.17k|            rem_words = rem.get_words();
 1873|  9.17k|            n++;
 1874|  9.17k|            quot.resize(quot_words.size() + 1);
 1875|  9.17k|            quot_words = quot.get_words();
 1876|  9.17k|        }
 1877|   307k|        word_type d = denom_words[l];
 1878|       |
 1879|   113M|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1879:32): [True: 113M, False: 307k]
  ------------------
 1880|   113M|        {
 1881|   113M|            word_type q = DDquotient(rem_words[k], rem_words[k-1], d);
 1882|   113M|            subtractmul( rem_words.data() + (k - l - 1), denom_words.data(), l + 1, q );
 1883|   113M|            quot_words[k - l - 1] = q;
 1884|   113M|        }
 1885|   307k|        quot.reduce();
 1886|   307k|        quot.set_negative(quot_neg);
 1887|   307k|        if (remDesired)
  ------------------
  |  Branch (1887:13): [True: 307k, False: 0]
  ------------------
 1888|   307k|        {
 1889|   307k|            unnormalize(rem, x, second_done);
 1890|   307k|            rem.set_negative(rem_neg);
 1891|   307k|        }
 1892|   307k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  655|  4.45M|        : storage_(other.storage_, alloc)
  656|  4.45M|    {
  657|  4.45M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  322|  4.45M|        : word_allocator_type(alloc)
  323|  4.45M|    {
  324|  4.45M|        if (!other.is_allocated())
  ------------------
  |  Branch (324:13): [True: 3.69M, False: 761k]
  ------------------
  325|  3.69M|        {
  326|  3.69M|            ::new (&inlined_) inlined_storage(other.inlined_);
  327|  3.69M|        }
  328|   761k|        else
  329|   761k|        {
  330|   761k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  331|   761k|        }
  332|  4.45M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 1994|   307k|    {
 1995|   307k|        auto denom_words = denom.get_words();
 1996|   307k|        if (denom_words.size() == 0)
  ------------------
  |  Branch (1996:13): [True: 0, False: 307k]
  ------------------
 1997|      0|        {
 1998|      0|            return false;
 1999|      0|        }
 2000|   307k|        size_type r = denom_words.size() - 1;
 2001|   307k|        word_type y = denom_words[r];
 2002|       |
 2003|   307k|        x = 0;
 2004|   909k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (2004:17): [True: 601k, False: 307k]
  ------------------
 2005|   601k|        {
 2006|   601k|            y <<= 1;
 2007|   601k|            x++;
 2008|   601k|        }
 2009|   307k|        denom <<= x;
 2010|   307k|        num <<= x;
 2011|       |
 2012|   307k|        denom_words = denom.get_words();
 2013|   307k|        if ( r > 0 && denom_words[r] < denom_words[r-1] )
  ------------------
  |  Branch (2013:14): [True: 0, False: 307k]
  |  Branch (2013:23): [True: 0, False: 0]
  ------------------
 2014|      0|        {
 2015|      0|            denom *= max_word;
 2016|      0|            num *= max_word;
 2017|      0|            return true;
 2018|      0|        }
 2019|   307k|        return false;
 2020|   307k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1172|   615k|    {
 1173|   615k|        auto words = get_words();
 1174|   615k|        size_type q = k / word_bits;
 1175|   615k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1175:14): [True: 0, False: 615k]
  ------------------
 1176|      0|        {
 1177|      0|            resize(words.size() + q);
 1178|      0|            words = get_words();
 1179|      0|            for (size_type i = words.size(); i-- > 0; )
  ------------------
  |  Branch (1179:46): [True: 0, False: 0]
  ------------------
 1180|      0|                words[i] = ( i < q ? 0 : words[i - q]);
  ------------------
  |  Branch (1180:30): [True: 0, False: 0]
  ------------------
 1181|      0|            k %= word_bits;
 1182|      0|        }
 1183|   615k|        if ( k )  // 0 < k < word_bits:
  ------------------
  |  Branch (1183:14): [True: 400k, False: 214k]
  ------------------
 1184|   400k|        {
 1185|   400k|            size_type k1 = word_bits - k;
 1186|   400k|            word_type mask = (word_type(1) << k) - word_type(1);
 1187|   400k|            resize( words.size() + 1 );
 1188|   400k|            words = get_words();
 1189|  40.3M|            for (size_type i = words.size(); i-- > 0; )
  ------------------
  |  Branch (1189:46): [True: 39.9M, False: 400k]
  ------------------
 1190|  39.9M|            {
 1191|  39.9M|                words[i] <<= k;
 1192|  39.9M|                if ( i > 0 )
  ------------------
  |  Branch (1192:22): [True: 39.5M, False: 400k]
  ------------------
 1193|  39.5M|                    words[i] |= (words[i-1] >> k1) & mask;
 1194|  39.9M|            }
 1195|   400k|        }
 1196|   615k|        reduce();
 1197|   615k|        return *this;
 1198|   615k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1921|   113M|    {
 1922|   113M|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1923|   113M|                   dHi = d >> word_half_bits, dLo = d & r_mask;
 1924|   113M|        qHi = A/(dHi + 1);
 1925|       |        // This initial guess of qHi may be too small.
 1926|   113M|        middle = qHi * dLo;
 1927|   113M|        left = qHi * dHi;
 1928|   113M|        x = B - (middle << word_half_bits);
 1929|   113M|        A -= (middle >> word_half_bits) + left + (x > B);
 1930|   113M|        B = x;
 1931|   113M|        dLo1 = dLo << word_half_bits;
 1932|       |        // Increase qHi if necessary:
 1933|   172M|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1933:17): [True: 58.8M, False: 114M]
  |  Branch (1933:29): [True: 697k, False: 113M]
  |  Branch (1933:41): [True: 697k, False: 4]
  ------------------
 1934|  59.4M|        {
 1935|  59.4M|            x = B - dLo1;
 1936|  59.4M|            A -= dHi + (x > B);
 1937|  59.4M|            B = x;
 1938|  59.4M|            qHi++;
 1939|  59.4M|        }
 1940|   113M|        qLo = ((A << word_half_bits) | (B >> word_half_bits))/(dHi + 1);
 1941|       |        // This initial guess of qLo may be too small.
 1942|   113M|        right = qLo * dLo;
 1943|   113M|        middle = qLo * dHi;
 1944|   113M|        x = B - right;
 1945|   113M|        A -= (x > B);
 1946|   113M|        B = x;
 1947|   113M|        x = B - (middle << word_half_bits);
 1948|   113M|            A -= (middle >> word_half_bits) + (x > B);
 1949|   113M|        B = x;
 1950|       |        // Increase qLo if necessary:
 1951|   172M|        while ( A || B >= d )
  ------------------
  |  Branch (1951:17): [True: 1.02M, False: 171M]
  |  Branch (1951:22): [True: 58.5M, False: 113M]
  ------------------
 1952|  59.5M|        {
 1953|  59.5M|            x = B - d;
 1954|  59.5M|            A -= (x > B);
 1955|  59.5M|            B = x;
 1956|  59.5M|            qLo++;
 1957|  59.5M|        }
 1958|   113M|        return (qHi << word_half_bits) + qLo;
 1959|   113M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1963|   113M|    {
 1964|   113M|        word_type hi, lo, d, carry = 0;
 1965|   113M|        size_type i;
 1966|   226M|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1966:22): [True: 113M, False: 113M]
  ------------------
 1967|   113M|        {
 1968|   113M|            DDproduct( b[i], q, hi, lo );
 1969|   113M|            d = a[i];
 1970|   113M|            a[i] -= lo;
 1971|   113M|            if ( a[i] > d )
  ------------------
  |  Branch (1971:18): [True: 20.1M, False: 93.2M]
  ------------------
 1972|  20.1M|                carry++;
 1973|   113M|            d = a[i + 1];
 1974|   113M|            a[i + 1] -= hi + carry;
 1975|   113M|            carry = a[i + 1] > d;
 1976|   113M|        }
 1977|   113M|        if ( carry ) // q was too large
  ------------------
  |  Branch (1977:14): [True: 0, False: 113M]
  ------------------
 1978|      0|        {
 1979|      0|            q--;
 1980|      0|            carry = 0;
 1981|      0|            for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1981:26): [True: 0, False: 0]
  ------------------
 1982|      0|            {
 1983|      0|                d = a[i] + carry;
 1984|      0|                carry = d < carry;
 1985|      0|                a[i] = d + b[i];
 1986|      0|                if ( a[i] < d )
  ------------------
  |  Branch (1986:22): [True: 0, False: 0]
  ------------------
 1987|      0|                    carry = 1;
 1988|      0|            }
 1989|      0|            a[n] = 0;
 1990|      0|        }
 1991|   113M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1903|   113M|    {
 1904|   113M|        word_type hiA = A >> word_half_bits, loA = A & r_mask,
 1905|   113M|                   hiB = B >> word_half_bits, loB = B & r_mask;
 1906|       |
 1907|   113M|        lo = loA * loB;
 1908|   113M|        hi = hiA * hiB;
 1909|   113M|        word_type mid1 = loA * hiB;
 1910|   113M|        word_type mid2 = hiA * loB;
 1911|   113M|        word_type old = lo;
 1912|   113M|        lo += mid1 << word_half_bits;
 1913|   113M|            hi += (lo < old) + (mid1 >> word_half_bits);
 1914|   113M|        old = lo;
 1915|   113M|        lo += mid2 << word_half_bits;
 1916|   113M|            hi += (lo < old) + (mid2 >> word_half_bits);
 1917|   113M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   82|   230M|        {
   83|   230M|            return data_;
   84|   230M|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 2023|   307k|    {
 2024|   307k|        if (secondDone)
  ------------------
  |  Branch (2024:13): [True: 0, False: 307k]
  ------------------
 2025|      0|        {
 2026|      0|            rem /= max_word;
 2027|      0|        }
 2028|   307k|        if ( x > 0 )
  ------------------
  |  Branch (2028:14): [True: 200k, False: 107k]
  ------------------
 2029|   200k|        {
 2030|   200k|            rem >>= x;
 2031|   200k|        }
 2032|   107k|        else
 2033|   107k|        {
 2034|   107k|            rem.reduce();
 2035|   107k|        }
 2036|   307k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2Ev:
  620|  1.59M|    basic_bigint() = default;
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEErSEm:
 1201|   200k|    {
 1202|   200k|        auto words = get_words();
 1203|   200k|        size_type q = k / word_bits;
 1204|   200k|        if ( q >= words.size())
  ------------------
  |  Branch (1204:14): [True: 0, False: 200k]
  ------------------
 1205|      0|        {
 1206|      0|            resize( 0 );
 1207|      0|            return *this;
 1208|      0|        }
 1209|   200k|        if (q > 0)
  ------------------
  |  Branch (1209:13): [True: 0, False: 200k]
  ------------------
 1210|      0|        {
 1211|      0|            memmove( words.data(), words.data()+q, size_type((words.size() - q)*sizeof(word_type)) );
 1212|      0|            resize( size_type(words.size() - q) );
 1213|      0|            k %= word_bits;
 1214|      0|            if ( k == 0 )
  ------------------
  |  Branch (1214:18): [True: 0, False: 0]
  ------------------
 1215|      0|            {
 1216|      0|                reduce();
 1217|      0|                return *this;
 1218|      0|            }
 1219|      0|        }
 1220|       |
 1221|   200k|        words = get_words();
 1222|   200k|        size_type n = size_type(words.size() - 1);
 1223|   200k|        ssize_type k1 = word_bits - k;
 1224|   200k|        word_type mask = (word_type(1) << k) - 1;
 1225|  39.5M|        for (size_type i = 0; i <= n; i++)
  ------------------
  |  Branch (1225:31): [True: 39.3M, False: 200k]
  ------------------
 1226|  39.3M|        {
 1227|  39.3M|            words[i] >>= k;
 1228|  39.3M|            if ( i < n )
  ------------------
  |  Branch (1228:18): [True: 39.1M, False: 200k]
  ------------------
 1229|  39.1M|                words[i] |= ((words[i+1] & mask) << k1);
 1230|  39.3M|        }
 1231|   200k|        reduce();
 1232|   200k|        return *this;
 1233|   200k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  687|  19.5M|    {
  688|  19.5M|        storage_.destroy();
  689|  19.5M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  490|  19.5M|    {
  491|  19.5M|        if (is_allocated())
  ------------------
  |  Branch (491:13): [True: 1.68M, False: 17.9M]
  ------------------
  492|  1.68M|        {
  493|  1.68M|            allocated_.destroy(get_allocator());
  494|  1.68M|            allocated_.~allocated_storage();
  495|  1.68M|        }
  496|  17.9M|        else
  497|  17.9M|        {
  498|  17.9M|            inlined_.~inlined_storage();
  499|  17.9M|        }
  500|  19.5M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  249|  1.68M|        {
  250|  1.68M|            if (data_ != nullptr)
  ------------------
  |  Branch (250:17): [True: 1.68M, False: 0]
  ------------------
  251|  1.68M|            {
  252|  1.68M|                real_allocator_type alloc(a);
  253|  1.68M|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  254|  1.68M|            }
  255|  1.68M|        }
_ZN8jsonconsmiENS_12basic_bigintINSt3__19allocatorImEEEERKS4_:
 1587|   161k|    {
 1588|   161k|        return x -= y;
 1589|   161k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IiEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  672|   558k|        : storage_(n, alloc)
  673|   558k|    {
  674|   558k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IiEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  363|   558k|        : word_allocator_type(alloc)
  364|   558k|    {
  365|   558k|        ::new (&inlined_) inlined_storage(n);
  366|   558k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IiEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  128|   558k|            : is_allocated_(false),
  129|   558k|            is_negative_(n < 0),
  130|   558k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (130:19): [True: 397k, False: 161k]
  ------------------
  131|   558k|        {
  132|   558k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (132:26): [True: 161k, False: 397k]
  ------------------
  133|   558k|            values_[1] = 0;
  134|   558k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  874|  4.99M|    {
  875|  4.99M|        storage_ = y.storage_;
  876|  4.99M|        return *this;
  877|  4.99M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  369|  4.99M|    {
  370|  4.99M|        if (this != &other)
  ------------------
  |  Branch (370:13): [True: 4.99M, False: 0]
  ------------------
  371|  4.99M|        {
  372|  4.99M|            auto other_words = other.get_words();
  373|  4.99M|            resize(other_words.size());
  374|  4.99M|            auto words = get_words();
  375|  4.99M|            if (other_words.size() > 0)
  ------------------
  |  Branch (375:17): [True: 3.31M, False: 1.67M]
  ------------------
  376|  3.31M|            {
  377|  3.31M|                common_.is_negative_ = other.common_.is_negative_;
  378|  3.31M|                std::memcpy(words.data(), other_words.data(), size_type(other_words.size()*sizeof(word_type)));
  379|  3.31M|            }
  380|  4.99M|        }
  381|  4.99M|        return *this;
  382|  4.99M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   82|  3.31M|        {
   83|  3.31M|            return data_;
   84|  3.31M|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IlEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  672|  11.4k|        : storage_(n, alloc)
  673|  11.4k|    {
  674|  11.4k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IlEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  363|  11.4k|        : word_allocator_type(alloc)
  364|  11.4k|    {
  365|  11.4k|        ::new (&inlined_) inlined_storage(n);
  366|  11.4k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IlEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  128|  11.4k|            : is_allocated_(false),
  129|  11.4k|            is_negative_(n < 0),
  130|  11.4k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (130:19): [True: 0, False: 11.4k]
  ------------------
  131|  11.4k|        {
  132|  11.4k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (132:26): [True: 11.4k, False: 0]
  ------------------
  133|  11.4k|            values_[1] = 0;
  134|  11.4k|        }
_ZN8jsoncons16append_to_bufferIcNSt3__19allocatorIcEEEEvRKNS_12basic_bigintINS2_ImEEEERNS1_12basic_stringIT_NS1_11char_traitsISA_EET0_EE:
 2118|  1.30M|    {
 2119|  1.30M|        if (value.is_zero())
  ------------------
  |  Branch (2119:13): [True: 67.2k, False: 1.23M]
  ------------------
 2120|  67.2k|        {
 2121|  67.2k|            buf.push_back('0');
 2122|  67.2k|            return;
 2123|  67.2k|        }
 2124|  1.23M|        if (value.is_negative())
  ------------------
  |  Branch (2124:13): [True: 2.68k, False: 1.23M]
  ------------------
 2125|  2.68k|        {
 2126|  2.68k|            buf.push_back('-');
 2127|  2.68k|        }
 2128|       |
 2129|  1.23M|        size_type start = buf.size();
 2130|  1.23M|        basic_bigint v(value);
 2131|  1.23M|        auto v_words = v.get_words();
 2132|       |
 2133|  1.23M|        size_type len = (v_words.size() * word_bits / 3) + 2;
 2134|  1.23M|        buf.reserve(start+len);
 2135|       |
 2136|  1.23M|        word_type r;
 2137|  1.23M|        basic_bigint R(value.get_allocator());
 2138|  1.23M|        basic_bigint LP10(max_unsigned_power_10, value.get_allocator());
 2139|       |
 2140|  1.23M|        do
 2141|  1.29M|        {
 2142|  1.29M|            v.divide(LP10, v, R, true);
 2143|  1.29M|            v_words = v.get_words();
 2144|       |
 2145|  1.29M|            auto R_words = R.get_words();
 2146|  1.29M|            r = (R_words.size() ? R_words[0] : 0);
  ------------------
  |  Branch (2146:18): [True: 1.29M, False: 73]
  ------------------
 2147|  2.39M|            for (size_type j = 0; j < imax_unsigned_power_10; j++)
  ------------------
  |  Branch (2147:35): [True: 2.33M, False: 55.9k]
  ------------------
 2148|  2.33M|            {
 2149|  2.33M|                buf.push_back(CharT(r % 10u + '0'));
 2150|  2.33M|                r /= 10u;
 2151|  2.33M|                if (r + v_words.size() == 0)
  ------------------
  |  Branch (2151:21): [True: 1.23M, False: 1.09M]
  ------------------
 2152|  1.23M|                    break;
 2153|  2.33M|            }
 2154|  1.29M|        } while (v_words.size() > 0);
  ------------------
  |  Branch (2154:18): [True: 55.9k, False: 1.23M]
  ------------------
 2155|       |
 2156|  1.23M|        std::reverse(buf.begin()+start, buf.end());
 2157|       |        
 2158|  1.23M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16write_string_hexIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1471|   295k|    {
 1472|       |
 1473|       |
 1474|   295k|        basic_bigint<Allocator> v(*this);
 1475|   295k|        auto v_words = v.get_words();
 1476|       |
 1477|   295k|        size_type len = (v_words.size() * basic_bigint<Allocator>::word_bits / 3) + 2;
 1478|   295k|        data.reserve(len);
 1479|       |
 1480|   295k|        if ( v_words.size() == 0 )
  ------------------
  |  Branch (1480:14): [True: 283, False: 295k]
  ------------------
 1481|    283|        {
 1482|    283|            data.push_back('0');
 1483|    283|        }
 1484|   295k|        else
 1485|   295k|        {
 1486|   295k|            word_type r;
 1487|   295k|            basic_bigint<Allocator> R;
 1488|   295k|            basic_bigint<Allocator> LP10 = max_unsigned_power_16; // LP10 = max_unsigned_power_16 = ::pow(16, imax_unsigned_power_16)
 1489|   295k|            do
 1490|   497k|            {
 1491|   497k|                v.divide( LP10, v, R, true );
 1492|   497k|                v_words = v.get_words();
 1493|   497k|                auto R_words = R.get_words();
 1494|   497k|                r = (R_words.size() ? R_words[0] : 0);
  ------------------
  |  Branch (1494:22): [True: 489k, False: 7.76k]
  ------------------
 1495|  4.33M|                for ( size_type j=0; j < imax_unsigned_power_16; j++ )
  ------------------
  |  Branch (1495:38): [True: 4.13M, False: 201k]
  ------------------
 1496|  4.13M|                {
 1497|  4.13M|                    uint8_t c = r % 16u;
 1498|  4.13M|                    data.push_back((c < 10u) ? ('0' + c) : ('A' - 10u + c));
  ------------------
  |  Branch (1498:36): [True: 3.38M, False: 751k]
  ------------------
 1499|  4.13M|                    r /= 16u;
 1500|  4.13M|                    if ( r + v_words.size() == 0 )
  ------------------
  |  Branch (1500:26): [True: 295k, False: 3.84M]
  ------------------
 1501|   295k|                        break;
 1502|  4.13M|                }
 1503|   497k|            } 
 1504|   497k|            while (v_words.size() > 0);
  ------------------
  |  Branch (1504:20): [True: 201k, False: 295k]
  ------------------
 1505|       |
 1506|   295k|            if (is_negative())
  ------------------
  |  Branch (1506:17): [True: 131k, False: 163k]
  ------------------
 1507|   131k|            {
 1508|   131k|                data.push_back('-');
 1509|   131k|            }
 1510|   295k|            std::reverse(data.begin(),data.end());
 1511|   295k|        }
 1512|   295k|    }

_ZN8jsoncons6binary13big_to_nativeItNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   160k|    {
  183|   160k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 160k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   160k|        T val;
  188|   160k|        std::memcpy(&val,first,sizeof(T));
  189|   160k|        return byte_swap(val);
  190|   160k|    }
_ZN8jsoncons6binary9byte_swapItEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  1.28M|    {
   29|  1.28M|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  1.28M|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  467|  1.28M|#      define JSONCONS_BYTE_SWAP_16    __builtin_bswap16
  ------------------
   31|       |    #else
   32|       |        return (static_cast<uint16_t>(val) >> 8) | (static_cast<uint16_t>(val) << 8);
   33|       |    #endif
   34|  1.28M|    }
_ZN8jsoncons6binary13big_to_nativeIjNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  17.9k|    {
  183|  17.9k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 17.9k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  17.9k|        T val;
  188|  17.9k|        std::memcpy(&val,first,sizeof(T));
  189|  17.9k|        return byte_swap(val);
  190|  17.9k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|   619k|    {
   40|   619k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|   619k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  463|   619k|#  define JSONCONS_BYTE_SWAP_32 __builtin_bswap32
  ------------------
   42|       |    #else
   43|       |        uint32_t tmp = ((static_cast<uint32_t>(val) << 8) & 0xff00ff00) | ((static_cast<uint32_t>(val) >> 8) & 0xff00ff);
   44|       |        return (tmp << 16) | (tmp >> 16);
   45|       |    #endif
   46|   619k|    }
_ZN8jsoncons6binary13big_to_nativeImNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  52.2k|    {
  183|  52.2k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 52.2k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  52.2k|        T val;
  188|  52.2k|        std::memcpy(&val,first,sizeof(T));
  189|  52.2k|        return byte_swap(val);
  190|  52.2k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|   159k|    {
   52|   159k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|   159k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  462|   159k|#  define JSONCONS_BYTE_SWAP_64 __builtin_bswap64
  ------------------
   54|       |    #else
   55|       |        uint64_t tmp = ((static_cast<uint64_t>(val) & 0x00000000ffffffffull) << 32) | ((static_cast<uint64_t>(val) & 0xffffffff00000000ull) >> 32);
   56|       |        tmp = ((tmp & 0x0000ffff0000ffffull) << 16) | ((tmp & 0xffff0000ffff0000ull) >> 16);
   57|       |        return ((tmp & 0x00ff00ff00ff00ffull) << 8)  | ((tmp & 0xff00ff00ff00ff00ull) >> 8);
   58|       |    #endif
   59|   159k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|   154k|    {
   29|   154k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|   154k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  467|   154k|#      define JSONCONS_BYTE_SWAP_16    __builtin_bswap16
  ------------------
   31|       |    #else
   32|       |        return (static_cast<uint16_t>(val) >> 8) | (static_cast<uint16_t>(val) << 8);
   33|       |    #endif
   34|   154k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  21.0k|    {
   40|  21.0k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  21.0k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  463|  21.0k|#  define JSONCONS_BYTE_SWAP_32 __builtin_bswap32
  ------------------
   42|       |    #else
   43|       |        uint32_t tmp = ((static_cast<uint32_t>(val) << 8) & 0xff00ff00) | ((static_cast<uint32_t>(val) >> 8) & 0xff00ff);
   44|       |        return (tmp << 16) | (tmp >> 16);
   45|       |    #endif
   46|  21.0k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  23.2k|    {
   52|  23.2k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  23.2k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  462|  23.2k|#  define JSONCONS_BYTE_SWAP_64 __builtin_bswap64
  ------------------
   54|       |    #else
   55|       |        uint64_t tmp = ((static_cast<uint64_t>(val) & 0x00000000ffffffffull) << 32) | ((static_cast<uint64_t>(val) & 0xffffffff00000000ull) >> 32);
   56|       |        tmp = ((tmp & 0x0000ffff0000ffffull) << 16) | ((tmp & 0xffff0000ffff0000ull) >> 16);
   57|       |        return ((tmp & 0x00ff00ff00ff00ffull) << 8)  | ((tmp & 0xff00ff00ff00ff00ull) >> 8);
   58|       |    #endif
   59|  23.2k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|   421k|    {
   65|   421k|        uint32_t x;
   66|   421k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|   421k|        uint32_t y = byte_swap(x);
   68|   421k|        T val2;
   69|   421k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|   421k|        return val2;
   71|   421k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  37.9k|    {
   77|  37.9k|        uint64_t x;
   78|  37.9k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  37.9k|        uint64_t y = byte_swap(x);
   80|  37.9k|        T val2;
   81|  37.9k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  37.9k|        return val2;
   83|  37.9k|    }
_ZN8jsoncons6binary13big_to_nativeIfNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   113k|    {
  183|   113k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 113k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   113k|        T val;
  188|   113k|        std::memcpy(&val,first,sizeof(T));
  189|   113k|        return byte_swap(val);
  190|   113k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  7.10k|    {
  183|  7.10k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 7.10k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  7.10k|        T val;
  188|  7.10k|        std::memcpy(&val,first,sizeof(T));
  189|  7.10k|        return byte_swap(val);
  190|  7.10k|    }

_ZNK8jsoncons16byte_string_view4dataEv:
  399|  12.3M|        {
  400|  12.3M|            return data_;
  401|  12.3M|        }
_ZNK8jsoncons16byte_string_view4sizeEv:
  403|  15.5M|        {
  404|  15.5M|            return size_;
  405|  15.5M|        }
_ZN8jsoncons16byte_string_viewC2EPKhm:
  362|  16.7M|            : data_(data), size_(length)
  363|  16.7M|        {
  364|  16.7M|        }
_ZN8jsoncons15bytes_to_base64IPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  188|    976|    {
  189|    976|        static constexpr char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  190|    976|                                                   "abcdefghijklmnopqrstuvwxyz"
  191|    976|                                                   "0123456789+/"
  192|    976|                                                   "=";
  193|    976|        return detail::bytes_to_base64_generic(first, last, alphabet, result);
  194|    976|    }
_ZN8jsoncons6detail23bytes_to_base64_genericIPKhNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEENS4_9enable_ifIXsr3std7is_sameINS4_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESD_SD_PKcRT0_:
   44|  4.38M|    {
   45|  4.38M|        std::size_t count = 0;
   46|  4.38M|        unsigned char a3[3];
   47|  4.38M|        unsigned char a4[4];
   48|  4.38M|        unsigned char fill = alphabet[64];
   49|  4.38M|        int i = 0;
   50|  4.38M|        int j = 0;
   51|       |
   52|  22.2M|        while (first != last)
  ------------------
  |  Branch (52:16): [True: 17.9M, False: 4.38M]
  ------------------
   53|  17.9M|        {
   54|  17.9M|            a3[i++] = *first++;
   55|  17.9M|            if (i == 3)
  ------------------
  |  Branch (55:17): [True: 3.91M, False: 13.9M]
  ------------------
   56|  3.91M|            {
   57|  3.91M|                a4[0] = (a3[0] & 0xfc) >> 2;
   58|  3.91M|                a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   59|  3.91M|                a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   60|  3.91M|                a4[3] = a3[2] & 0x3f;
   61|       |
   62|  19.5M|                for (i = 0; i < 4; i++) 
  ------------------
  |  Branch (62:29): [True: 15.6M, False: 3.91M]
  ------------------
   63|  15.6M|                {
   64|  15.6M|                    result.push_back(alphabet[a4[i]]);
   65|  15.6M|                    ++count;
   66|  15.6M|                }
   67|  3.91M|                i = 0;
   68|  3.91M|            }
   69|  17.9M|        }
   70|       |
   71|  4.38M|        if (i > 0)
  ------------------
  |  Branch (71:13): [True: 3.09M, False: 1.28M]
  ------------------
   72|  3.09M|        {
   73|  6.20M|            for (j = i; j < 3; ++j) 
  ------------------
  |  Branch (73:25): [True: 3.11M, False: 3.09M]
  ------------------
   74|  3.11M|            {
   75|  3.11M|                a3[j] = 0;
   76|  3.11M|            }
   77|       |
   78|  3.09M|            a4[0] = (a3[0] & 0xfc) >> 2;
   79|  3.09M|            a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   80|  3.09M|            a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   81|       |
   82|  12.3M|            for (j = 0; j < i + 1; ++j) 
  ------------------
  |  Branch (82:25): [True: 9.26M, False: 3.09M]
  ------------------
   83|  9.26M|            {
   84|  9.26M|                result.push_back(alphabet[a4[j]]);
   85|  9.26M|                ++count;
   86|  9.26M|            }
   87|       |
   88|  3.09M|            if (fill != 0)
  ------------------
  |  Branch (88:17): [True: 743, False: 3.09M]
  ------------------
   89|    743|            {
   90|  2.21k|                while (i++ < 3) 
  ------------------
  |  Branch (90:24): [True: 1.47k, False: 743]
  ------------------
   91|  1.47k|                {
   92|  1.47k|                    result.push_back(fill);
   93|  1.47k|                    ++count;
   94|  1.47k|                }
   95|    743|            }
   96|  3.09M|        }
   97|       |
   98|  4.38M|        return count;
   99|  4.38M|    }
_ZNK8jsoncons16byte_string_view5beginEv:
  409|  7.06M|        {
  410|  7.06M|            return data_;
  411|  7.06M|        }
_ZNK8jsoncons16byte_string_view3endEv:
  413|  7.06M|        {
  414|  7.06M|            return data_ + size_;
  415|  7.06M|        }
_ZN8jsoncons15bytes_to_base16IPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  162|    623|    {
  163|    623|        static constexpr char characters[] = "0123456789ABCDEF";
  164|       |
  165|  2.82k|        for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (165:31): [True: 2.19k, False: 623]
  ------------------
  166|  2.19k|        {
  167|  2.19k|            uint8_t c = *it;
  168|  2.19k|            result.push_back(characters[c >> 4]);
  169|  2.19k|            result.push_back(characters[c & 0xf]);
  170|  2.19k|        }
  171|    623|        return (last-first)*2;
  172|    623|    }
_ZN8jsoncons18bytes_to_base64urlIPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  177|  4.38M|    {
  178|  4.38M|        static constexpr char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  179|  4.38M|                                                      "abcdefghijklmnopqrstuvwxyz"
  180|  4.38M|                                                      "0123456789-_"
  181|  4.38M|                                                      "\0";
  182|  4.38M|        return detail::bytes_to_base64_generic(first, last, alphabet, result);
  183|  4.38M|    }
_ZN8jsoncons16byte_string_viewC2INSt3__16vectorIhNS2_9allocatorIhEEEEEERKT_NS2_9enable_ifIXsr6nonstd18is_bytes_view_likeIS7_EE5valueEiE4typeE:
  369|  54.9k|            : data_(reinterpret_cast<const uint8_t*>(cont.data())), size_(cont.size())
  370|  54.9k|        {
  371|  54.9k|        }
_ZN8jsoncons16byte_string_viewC2Ev:
  358|    810|        {
  359|    810|        }

_ZN8jsoncons6detail6grisu3EdPcPiS2_:
  293|  1.45M|{
  294|  1.45M|    diy_fp_t w_m, w_p;
  295|  1.45M|    int q = 64, alpha = -59, gamma = -56;
  296|  1.45M|    normalized_boundaries(v, &w_m, &w_p);
  297|  1.45M|    diy_fp_t w = normalize_diy_fp(double2diy_fp(v));
  298|  1.45M|    int mk = k_comp(w_p.e + q, alpha, gamma);
  299|  1.45M|    diy_fp_t c_mk = cached_power(mk);
  300|  1.45M|    diy_fp_t W  = multiply(w,   c_mk);
  301|  1.45M|    diy_fp_t Wp = multiply(w_p, c_mk);
  302|  1.45M|    diy_fp_t Wm = multiply(w_m, c_mk);
  303|  1.45M|    *K = -mk;
  304|  1.45M|    bool result = digit_gen(Wm, W, Wp, buffer, length, K);
  305|  1.45M|    buffer[*length] = 0;
  306|  1.45M|    return result;
  307|  1.45M|}
_ZN8jsoncons6detail21normalized_boundariesEdPNS0_8diy_fp_tES2_:
  188|  1.45M|{
  189|  1.45M|    diy_fp_t v = double2diy_fp(d);
  190|  1.45M|    diy_fp_t pl, mi;
  191|  1.45M|    bool significand_is_zero = v.f == dp_hidden_bit;
  192|  1.45M|    pl.f  = (v.f << 1) + 1; pl.e  = v.e - 1;
  193|  1.45M|    pl = normalize_boundary(pl);
  194|  1.45M|    if (significand_is_zero)
  ------------------
  |  Branch (194:9): [True: 76.8k, False: 1.38M]
  ------------------
  195|  76.8k|    {
  196|  76.8k|        mi.f = (v.f << 2) - 1;
  197|  76.8k|        mi.e = v.e - 2;
  198|  76.8k|    } else
  199|  1.38M|    {
  200|  1.38M|        mi.f = (v.f << 1) - 1;
  201|  1.38M|        mi.e = v.e - 1;
  202|  1.38M|    }
  203|  1.45M|    int x = mi.e - pl.e;
  204|  1.45M|    mi.f <<= x;
  205|  1.45M|    mi.e = pl.e;
  206|  1.45M|    *out_m_plus = pl;
  207|  1.45M|    *out_m_minus = mi;
  208|  1.45M|}
_ZN8jsoncons6detail18normalize_boundaryENS0_8diy_fp_tE:
  171|  1.45M|{
  172|  1.45M|    diy_fp_t res = in;
  173|       |    /* Normalize now */
  174|       |    /* the original number could have been a denormal. */
  175|  1.57M|    while (!(res.f & (dp_hidden_bit << 1)))
  ------------------
  |  Branch (175:12): [True: 116k, False: 1.45M]
  ------------------
  176|   116k|    {
  177|   116k|        res.f <<= 1;
  178|   116k|        res.e--;
  179|   116k|    }
  180|       |    /* do the final shifts in one go. Don't forget the hidden bit (the '-1') */
  181|  1.45M|    res.f <<= (diy_significand_size - dp_significand_size - 2);
  182|  1.45M|    res.e = res.e - (diy_significand_size - dp_significand_size - 2);
  183|  1.45M|    return res;
  184|  1.45M|}
_ZN8jsoncons6detail16normalize_diy_fpENS0_8diy_fp_tE:
  134|  1.45M|{
  135|  1.45M|    diy_fp_t res = in;
  136|       |    /* Normalize now */
  137|       |    /* the original number could have been a denormal. */
  138|  1.57M|    while (!(res.f & dp_hidden_bit))
  ------------------
  |  Branch (138:12): [True: 116k, False: 1.45M]
  ------------------
  139|   116k|    {
  140|   116k|        res.f <<= 1;
  141|   116k|        res.e--;
  142|   116k|    }
  143|       |    /* do the final shifts in one go. Don't forget the hidden bit (the '-1') */
  144|  1.45M|    res.f <<= (diy_significand_size - dp_significand_size - 1);
  145|  1.45M|    res.e = res.e - (diy_significand_size - dp_significand_size - 1);
  146|  1.45M|    return res;
  147|  1.45M|}
_ZN8jsoncons6detail13double2diy_fpEd:
  151|  2.91M|{
  152|  2.91M|    uint64_t d64 = double_to_uint64(d);
  153|  2.91M|    int biased_e = (d64 & dp_exponent_mask) >> dp_significand_size;
  154|  2.91M|    uint64_t significand = (d64 & dp_significand_mask);
  155|  2.91M|    diy_fp_t res;
  156|  2.91M|    if (biased_e != 0)
  ------------------
  |  Branch (156:9): [True: 2.90M, False: 7.15k]
  ------------------
  157|  2.90M|    {
  158|  2.90M|        res.f = significand + dp_hidden_bit;
  159|  2.90M|        res.e = biased_e - dp_exponent_bias;
  160|  2.90M|    } 
  161|  7.15k|    else
  162|  7.15k|    {
  163|  7.15k|        res.f = significand;
  164|  7.15k|        res.e = dp_min_exponent + 1;
  165|  7.15k|    }
  166|  2.91M|    return res;
  167|  2.91M|}
_ZN8jsoncons6detail16double_to_uint64Ed:
  120|  2.91M|uint64_t double_to_uint64(double d) {uint64_t d64; std::memcpy(&d64,&d,sizeof(double)); return d64; }
_ZN8jsoncons6detail6k_compEiii:
   82|  1.45M|{
   83|  1.45M|    constexpr double d_1_log2_10 = 0.30102999566398114; //  1 / lg(10)
   84|  1.45M|    int x = alpha - e + 63;
   85|  1.45M|    return static_cast<int>(std::ceil(x * d_1_log2_10));
   86|  1.45M|}
_ZN8jsoncons6detail12cached_powerEi:
   97|  1.45M|{
   98|  1.45M|    diy_fp_t res;
   99|  1.45M|    int index = 343 + k;
  100|  1.45M|    res.f = powers_ten[index];
  101|  1.45M|    res.e = powers_ten_e[index];
  102|  1.45M|    return res;
  103|  1.45M|}
_ZN8jsoncons6detail8multiplyENS0_8diy_fp_tES1_:
   65|  4.37M|{
   66|  4.37M|    uint64_t a, b, c, d, ac, bc, ad, bd, tmp;
   67|  4.37M|    diy_fp_t r; uint64_t M32 = 0xFFFFFFFF;
   68|  4.37M|    a = x.f >> 32; b = x.f & M32;
   69|  4.37M|    c = y.f >> 32; d = y.f & M32;
   70|  4.37M|    ac = a * c; bc = b * c; ad = a * d; bd = b * d;
   71|  4.37M|    tmp = (bd >> 32) + (ad & M32) + (bc & M32);
   72|  4.37M|    tmp += 1U << 31; /// mult_round
   73|  4.37M|    r.f = ac + (ad >> 32) + (bc >> 32) + (tmp >> 32);
   74|  4.37M|    r.e = x.e + y.e + 64;
   75|  4.37M|    return r;
   76|  4.37M|}
_ZN8jsoncons6detail9digit_genENS0_8diy_fp_tES1_S1_PcPiS3_:
  250|  1.45M|{
  251|  1.45M|    static constexpr uint32_t TEN2 = 100;
  252|       |
  253|  1.45M|    uint32_t div, p1; uint64_t p2, tmp, unit = 1;
  254|  1.45M|    int d, kappa;
  255|  1.45M|    diy_fp_t one, wp_W, Delta;
  256|  1.45M|    Delta = minus(Wp, Wm); Delta.f += 2 * unit;
  257|  1.45M|    wp_W = minus(Wp, W); wp_W.f += unit;
  258|  1.45M|    one.f = ((uint64_t)1) << -Wp.e; one.e = Wp.e;
  259|  1.45M|    p1 = static_cast<uint32_t>((Wp.f + 1) >> -one.e);
  260|  1.45M|    p2 = (Wp.f + 1) & (one.f - 1);
  261|  1.45M|    *len = 0; kappa = 3; div = TEN2;
  262|  5.82M|    while (kappa > 0)
  ------------------
  |  Branch (262:12): [True: 4.37M, False: 1.45M]
  ------------------
  263|  4.37M|    {
  264|  4.37M|        d = p1 / div;
  265|  4.37M|        if (d || *len) buffer[(*len)++] = (char)('0' + d);
  ------------------
  |  Branch (265:13): [True: 2.92M, False: 1.44M]
  |  Branch (265:18): [True: 54.1k, False: 1.39M]
  ------------------
  266|  4.37M|        p1 %= div; kappa--;
  267|  4.37M|        tmp = (((uint64_t)p1) << -one.e) + p2;
  268|  4.37M|        if (tmp < Delta.f)
  ------------------
  |  Branch (268:13): [True: 5.99k, False: 4.36M]
  ------------------
  269|  5.99k|        {
  270|  5.99k|            *K += kappa;
  271|  5.99k|            return round_weed(buffer, *len, wp_W.f, Delta.f, tmp,
  272|  5.99k|                              ((uint64_t)div) << -one.e, unit);
  273|  5.99k|        }
  274|  4.36M|        div /= 10;
  275|  4.36M|    }
  276|  17.0M|    while (1)
  ------------------
  |  Branch (276:12): [True: 17.0M, Folded]
  ------------------
  277|  17.0M|    {
  278|  17.0M|        p2 *= 10; Delta.f *= 10; unit *= 10;
  279|  17.0M|        d = static_cast<int>(p2 >> -one.e);
  280|  17.0M|        if (d || *len) buffer[(*len)++] = (char)('0' + d);
  ------------------
  |  Branch (280:13): [True: 15.5M, False: 1.48M]
  |  Branch (280:18): [True: 1.48M, False: 0]
  ------------------
  281|  17.0M|        p2 &= one.f - 1; kappa--;
  282|  17.0M|        if (p2 < Delta.f)
  ------------------
  |  Branch (282:13): [True: 1.45M, False: 15.6M]
  ------------------
  283|  1.45M|        {
  284|  1.45M|            *K += kappa;
  285|  1.45M|            return round_weed(buffer, *len, wp_W.f * unit, Delta.f, p2,
  286|  1.45M|                              one.f, unit);
  287|  1.45M|        }
  288|  17.0M|    }
  289|  1.45M|}
_ZN8jsoncons6detail5minusENS0_8diy_fp_tES1_:
   56|  2.91M|{
   57|  2.91M|    assert(x.e == y.e);
  ------------------
  |  Branch (57:5): [True: 2.91M, False: 0]
  ------------------
   58|  2.91M|    assert(x.f >= y.f);
  ------------------
  |  Branch (58:5): [True: 2.91M, False: 0]
  ------------------
   59|  2.91M|    diy_fp_t r = { x.f = x.f - y.f, x.e };
   60|  2.91M|    return r;
   61|  2.91M|}
_ZN8jsoncons6detail10round_weedEPcimmmmm:
  230|  1.45M|{
  231|  1.45M|    uint64_t wp_Wup = wp_W - ulp;
  232|  1.45M|    uint64_t wp_Wdown = wp_W + ulp;
  233|  1.73M|    while (rest < wp_Wup &&  /// round1
  ------------------
  |  Branch (233:12): [True: 842k, False: 889k]
  ------------------
  234|   842k|           Delta - rest >= ten_kappa &&
  ------------------
  |  Branch (234:12): [True: 385k, False: 456k]
  ------------------
  235|   385k|           (rest + ten_kappa < wp_Wup || /// closer
  ------------------
  |  Branch (235:13): [True: 157k, False: 227k]
  ------------------
  236|   227k|            wp_Wup - rest >= rest + ten_kappa - wp_Wup))
  ------------------
  |  Branch (236:13): [True: 115k, False: 112k]
  ------------------
  237|   273k|    {
  238|   273k|        buffer[len - 1]--; rest += ten_kappa;
  239|   273k|    }
  240|  1.45M|    if (rest < wp_Wdown && /// round2
  ------------------
  |  Branch (240:9): [True: 1.19M, False: 260k]
  ------------------
  241|  1.19M|        Delta - rest >= ten_kappa &&
  ------------------
  |  Branch (241:9): [True: 138k, False: 1.05M]
  ------------------
  242|   138k|        (rest + ten_kappa < wp_Wdown ||
  ------------------
  |  Branch (242:10): [True: 0, False: 138k]
  ------------------
  243|   138k|         wp_Wdown - rest > rest + ten_kappa - wp_Wdown)) return 0;
  ------------------
  |  Branch (243:10): [True: 18.5k, False: 119k]
  ------------------
  244|  1.43M|    return 2 * ulp <= rest && rest <= Delta - 4 * ulp; /// weed
  ------------------
  |  Branch (244:12): [True: 1.43M, False: 609]
  |  Branch (244:31): [True: 1.43M, False: 852]
  ------------------
  245|  1.45M|}

_ZNK8jsoncons8identityclIRKhEEOT_S5_:
   19|  2.43M|    {
   20|  2.43M|        return std::forward<T>(val);
   21|  2.43M|    }
_ZNK8jsoncons8identityclIRKtEEOT_S5_:
   19|  4.44M|    {
   20|  4.44M|        return std::forward<T>(val);
   21|  4.44M|    }
_ZNK8jsoncons8identityclIRKjEEOT_S5_:
   19|   400k|    {
   20|   400k|        return std::forward<T>(val);
   21|   400k|    }
_ZNK8jsoncons8identityclIRKmEEOT_S5_:
   19|   160k|    {
   20|   160k|        return std::forward<T>(val);
   21|   160k|    }
_ZNK8jsoncons8identityclIRKaEEOT_S5_:
   19|   151k|    {
   20|   151k|        return std::forward<T>(val);
   21|   151k|    }
_ZNK8jsoncons8identityclIRKsEEOT_S5_:
   19|   155k|    {
   20|   155k|        return std::forward<T>(val);
   21|   155k|    }
_ZNK8jsoncons8identityclIRKiEEOT_S5_:
   19|  26.1k|    {
   20|  26.1k|        return std::forward<T>(val);
   21|  26.1k|    }
_ZNK8jsoncons8identityclIRKlEEOT_S5_:
   19|   132k|    {
   20|   132k|        return std::forward<T>(val);
   21|   132k|    }
_ZNK8jsoncons11decode_halfclEt:
   36|  1.03M|    {
   37|  1.03M|        return binary::decode_half(val);
   38|  1.03M|    }
_ZNK8jsoncons8identityclIRKfEEOT_S5_:
   19|   724k|    {
   20|   724k|        return std::forward<T>(val);
   21|   724k|    }
_ZNK8jsoncons8identityclIRKdEEOT_S5_:
   19|  43.6k|    {
   20|  43.6k|        return std::forward<T>(val);
   21|  43.6k|    }

_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE7destroyEPNS0_11heap_stringIcS2_S5_EE:
  169|   437k|    {
  170|   437k|        if (ptr != nullptr)
  ------------------
  |  Branch (170:13): [True: 437k, False: 0]
  ------------------
  171|   437k|        {
  172|   437k|            heap_string_type* rawp = nonstd::to_plain_pointer(ptr);
  173|       |
  174|   437k|            char* q = launder_cast<char*>(rawp);
  175|       |
  176|   437k|            char* p = q - ptr->offset_;
  177|       |
  178|   437k|            std::size_t mem_size = ptr->align_pad_ + aligned_size(ptr->length_*sizeof(char_type));
  179|   437k|            byte_allocator_type byte_alloc(ptr->get_allocator());
  180|   437k|            byte_alloc.deallocate(p,mem_size);
  181|   437k|        }
  182|   437k|    }
_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE12aligned_sizeEm:
  119|   874k|    {
  120|   874k|        return sizeof(storage_type) + n;
  121|   874k|    }
_ZN8jsoncons4heap16heap_string_baseINS_9null_typeENSt3__19allocatorIcEEE13get_allocatorEv:
   35|   437k|    {
   36|   437k|        return alloc_;
   37|   437k|    }
_ZN8jsoncons4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE7destroyEPNS0_11heap_stringIhmS4_EE:
  169|  1.96M|    {
  170|  1.96M|        if (ptr != nullptr)
  ------------------
  |  Branch (170:13): [True: 1.96M, False: 0]
  ------------------
  171|  1.96M|        {
  172|  1.96M|            heap_string_type* rawp = nonstd::to_plain_pointer(ptr);
  173|       |
  174|  1.96M|            char* q = launder_cast<char*>(rawp);
  175|       |
  176|  1.96M|            char* p = q - ptr->offset_;
  177|       |
  178|  1.96M|            std::size_t mem_size = ptr->align_pad_ + aligned_size(ptr->length_*sizeof(char_type));
  179|  1.96M|            byte_allocator_type byte_alloc(ptr->get_allocator());
  180|  1.96M|            byte_alloc.deallocate(p,mem_size);
  181|  1.96M|        }
  182|  1.96M|    }
_ZN8jsoncons4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE12aligned_sizeEm:
  119|  3.93M|    {
  120|  3.93M|        return sizeof(storage_type) + n;
  121|  3.93M|    }
_ZN8jsoncons4heap16heap_string_baseImNSt3__19allocatorIcEEE13get_allocatorEv:
   35|  1.96M|    {
   36|  1.96M|        return alloc_;
   37|  1.96M|    }
_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE6createEPKcmS2_RKS5_:
  126|   437k|    {
  127|   437k|        std::size_t len = aligned_size(length*sizeof(char_type));
  128|       |
  129|   437k|        std::size_t align = alignof(storage_type);
  130|   437k|        char* q = nullptr;
  131|   437k|        char* storage = nullptr;
  132|   437k|        byte_allocator_type byte_alloc(alloc);
  133|   437k|        uint8_t align_pad = 0;
  134|       |
  135|   437k|        if (align <= 8) {
  ------------------
  |  Branch (135:13): [True: 437k, False: 0]
  ------------------
  136|   437k|            byte_pointer ptr = byte_alloc.allocate(len);
  137|   437k|            q = nonstd::to_plain_pointer(ptr);
  138|       |
  139|   437k|            if (reinterpret_cast<uintptr_t>(q) % align == 0) {
  ------------------
  |  Branch (139:17): [True: 437k, False: 0]
  ------------------
  140|   437k|                storage = q;
  141|   437k|            } else {
  142|      0|                byte_alloc.deallocate(ptr, len);
  143|      0|            }
  144|   437k|        }
  145|       |
  146|   437k|        if (storage == nullptr) {
  ------------------
  |  Branch (146:13): [True: 0, False: 437k]
  ------------------
  147|      0|            align_pad = uint8_t(align-1);
  148|      0|            byte_pointer ptr = byte_alloc.allocate(align_pad+len);
  149|      0|            q = nonstd::to_plain_pointer(ptr);
  150|      0|            storage = align_up(q, align);
  151|      0|            JSONCONS_ASSERT(storage >= q);
  ------------------
  |  |   54|      0|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 0]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  152|      0|        }
  153|       |
  154|   437k|        heap_string_type* ps = new(storage)heap_string_type(extra, byte_alloc);
  155|       |
  156|   437k|        auto psa = launder_cast<storage_t*>(storage);
  157|       |
  158|   437k|        CharT* p = new(&psa->c)char_type[length + 1];
  159|   437k|        std::memcpy(p, s, length*sizeof(char_type));
  160|   437k|        p[length] = 0;
  161|   437k|        ps->p_ = std::pointer_traits<typename heap_string_type::pointer>::pointer_to(*p);
  162|   437k|        ps->length_ = length;
  163|   437k|        ps->offset_ = (uint8_t)(storage - q);
  164|   437k|        ps->align_pad_ = align_pad;
  165|   437k|        return std::pointer_traits<pointer>::pointer_to(*ps);
  166|   437k|    }
_ZN8jsoncons4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEC2ES2_RKS5_:
   69|   437k|        : heap_string_base<Extra,Allocator>(extra, alloc)
   70|   437k|    {
   71|   437k|    }
_ZN8jsoncons4heap16heap_string_baseINS_9null_typeENSt3__19allocatorIcEEEC2ERKS2_RKS5_:
   45|   437k|        : extra_(extra), alloc_(alloc)
   46|   437k|    {
   47|   437k|    }
_ZN8jsoncons4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE6createEPKhmmRKS4_:
  126|  1.96M|    {
  127|  1.96M|        std::size_t len = aligned_size(length*sizeof(char_type));
  128|       |
  129|  1.96M|        std::size_t align = alignof(storage_type);
  130|  1.96M|        char* q = nullptr;
  131|  1.96M|        char* storage = nullptr;
  132|  1.96M|        byte_allocator_type byte_alloc(alloc);
  133|  1.96M|        uint8_t align_pad = 0;
  134|       |
  135|  1.96M|        if (align <= 8) {
  ------------------
  |  Branch (135:13): [True: 1.96M, False: 0]
  ------------------
  136|  1.96M|            byte_pointer ptr = byte_alloc.allocate(len);
  137|  1.96M|            q = nonstd::to_plain_pointer(ptr);
  138|       |
  139|  1.96M|            if (reinterpret_cast<uintptr_t>(q) % align == 0) {
  ------------------
  |  Branch (139:17): [True: 1.96M, False: 0]
  ------------------
  140|  1.96M|                storage = q;
  141|  1.96M|            } else {
  142|      0|                byte_alloc.deallocate(ptr, len);
  143|      0|            }
  144|  1.96M|        }
  145|       |
  146|  1.96M|        if (storage == nullptr) {
  ------------------
  |  Branch (146:13): [True: 0, False: 1.96M]
  ------------------
  147|      0|            align_pad = uint8_t(align-1);
  148|      0|            byte_pointer ptr = byte_alloc.allocate(align_pad+len);
  149|      0|            q = nonstd::to_plain_pointer(ptr);
  150|      0|            storage = align_up(q, align);
  151|      0|            JSONCONS_ASSERT(storage >= q);
  ------------------
  |  |   54|      0|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 0]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  152|      0|        }
  153|       |
  154|  1.96M|        heap_string_type* ps = new(storage)heap_string_type(extra, byte_alloc);
  155|       |
  156|  1.96M|        auto psa = launder_cast<storage_t*>(storage);
  157|       |
  158|  1.96M|        CharT* p = new(&psa->c)char_type[length + 1];
  159|  1.96M|        std::memcpy(p, s, length*sizeof(char_type));
  160|  1.96M|        p[length] = 0;
  161|  1.96M|        ps->p_ = std::pointer_traits<typename heap_string_type::pointer>::pointer_to(*p);
  162|  1.96M|        ps->length_ = length;
  163|  1.96M|        ps->offset_ = (uint8_t)(storage - q);
  164|  1.96M|        ps->align_pad_ = align_pad;
  165|  1.96M|        return std::pointer_traits<pointer>::pointer_to(*ps);
  166|  1.96M|    }
_ZN8jsoncons4heap11heap_stringIhmNSt3__19allocatorIcEEEC2EmRKS4_:
   69|  1.96M|        : heap_string_base<Extra,Allocator>(extra, alloc)
   70|  1.96M|    {
   71|  1.96M|    }
_ZN8jsoncons4heap16heap_string_baseImNSt3__19allocatorIcEEEC2ERKmRKS4_:
   45|  1.96M|        : extra_(extra), alloc_(alloc)
   46|  1.96M|    {
   47|  1.96M|    }

_ZN8jsoncons16decstr_to_doubleEPKcmRd:
  889|  19.9k|{
  890|  19.9k|    const char* cur = s+length;
  891|  19.9k|    char *end = nullptr;
  892|  19.9k|    val = strtod(s, &end);
  893|  19.9k|    const char* str_end = end;
  894|  19.9k|    if (JSONCONS_UNLIKELY(end < cur))
  ------------------
  |  |   79|  19.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 19.9k]
  |  |  ------------------
  ------------------
  895|      0|    {
  896|      0|        if (*end == '.')
  ------------------
  |  Branch (896:13): [True: 0, False: 0]
  ------------------
  897|      0|        {
  898|      0|            std::string buf{s, length};
  899|      0|            char* dot_ptr = &buf[0] + (cur - end - 1);
  900|      0|            *dot_ptr = ',';
  901|      0|            end = nullptr;
  902|      0|            val = strtod(buf.c_str(), &end);
  903|      0|            str_end = s + (end - &buf[0]);
  904|      0|        }
  905|      0|        if (JSONCONS_UNLIKELY(str_end != cur))
  ------------------
  |  |   79|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  906|      0|        {
  907|      0|            return to_number_result<char>{str_end,std::errc::invalid_argument};
  908|      0|        }
  909|      0|    }
  910|  19.9k|    if (JSONCONS_UNLIKELY(val <= -HUGE_VAL || val >= HUGE_VAL))
  ------------------
  |  |   79|  39.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 19.9k]
  |  |  |  Branch (79:50): [True: 0, False: 19.9k]
  |  |  |  Branch (79:50): [True: 0, False: 19.9k]
  |  |  ------------------
  ------------------
  911|      0|    {
  912|      0|        return to_number_result<char>{str_end, std::errc::result_out_of_range};
  913|      0|    }
  914|  19.9k|    return to_number_result<char>{str_end};
  915|  19.9k|}
_ZN8jsoncons16to_number_resultIcEC2EPKc:
  160|  19.9k|        : ptr(ptr_), ec(std::errc{})
  161|  19.9k|    {
  162|  19.9k|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr6nonstd10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  22.8M|{
   43|  22.8M|    using char_type = typename Result::value_type;
   44|       |
   45|  22.8M|    char_type buf[255];
   46|  22.8M|    char_type *p = buf;
   47|  22.8M|    const char_type* last = buf+255;
   48|       |
   49|  22.8M|    bool is_negative = value < 0;
   50|       |
   51|  22.8M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 22.8M]
  ------------------
   52|      0|    {
   53|      0|        do
   54|      0|        {
   55|      0|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|      0|        }
   57|      0|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 0, False: 0]
  |  Branch (57:33): [True: 0, False: 0]
  ------------------
   58|      0|    }
   59|  22.8M|    else
   60|  22.8M|    {
   61|       |
   62|  22.8M|        do
   63|  46.7M|        {
   64|  46.7M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  46.7M|        }
   66|  46.7M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 23.9M, False: 22.8M]
  |  Branch (66:33): [True: 23.9M, False: 0]
  ------------------
   67|  22.8M|    }
   68|  22.8M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   54|  22.8M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 22.8M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  22.8M|    std::size_t count = (p - buf);
   71|  22.8M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 22.8M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  69.6M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 46.7M, False: 22.8M]
  ------------------
   77|  46.7M|    {
   78|  46.7M|        result.push_back(*p);
   79|  46.7M|    }
   80|       |
   81|  22.8M|    return count;
   82|  22.8M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr6nonstd10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  6.69M|{
   43|  6.69M|    using char_type = typename Result::value_type;
   44|       |
   45|  6.69M|    char_type buf[255];
   46|  6.69M|    char_type *p = buf;
   47|  6.69M|    const char_type* last = buf+255;
   48|       |
   49|  6.69M|    bool is_negative = value < 0;
   50|       |
   51|  6.69M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 6.43M, False: 259k]
  ------------------
   52|  6.43M|    {
   53|  6.43M|        do
   54|  13.1M|        {
   55|  13.1M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  13.1M|        }
   57|  13.1M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 6.74M, False: 6.43M]
  |  Branch (57:33): [True: 6.74M, False: 0]
  ------------------
   58|  6.43M|    }
   59|   259k|    else
   60|   259k|    {
   61|       |
   62|   259k|        do
   63|  1.85M|        {
   64|  1.85M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  1.85M|        }
   66|  1.85M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 1.59M, False: 259k]
  |  Branch (66:33): [True: 1.59M, False: 0]
  ------------------
   67|   259k|    }
   68|  6.69M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   54|  6.69M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 6.69M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  6.69M|    std::size_t count = (p - buf);
   71|  6.69M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 6.43M, False: 259k]
  ------------------
   72|  6.43M|    {
   73|  6.43M|        result.push_back('-');
   74|  6.43M|        ++count;
   75|  6.43M|    }
   76|  21.7M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 15.0M, False: 6.69M]
  ------------------
   77|  15.0M|    {
   78|  15.0M|        result.push_back(*p);
   79|  15.0M|    }
   80|       |
   81|  6.69M|    return count;
   82|  6.69M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|  1.53M|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|  1.53M|    {
  489|  1.53M|#if !defined(JSONCONS_NO_LOCALECONV)
  490|  1.53M|        struct lconv *lc = localeconv();
  491|  1.53M|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 1.53M, False: 0]
  |  Branch (491:30): [True: 1.53M, False: 0]
  ------------------
  492|  1.53M|        {
  493|  1.53M|            decimal_point_ = lc->decimal_point[0];
  494|  1.53M|        }
  495|  1.53M|#endif
  496|  1.53M|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|  1.53M|    {
  504|  1.53M|        std::size_t count = 0;
  505|       |
  506|  1.53M|        char number_buffer[200];
  507|  1.53M|        int length = 0;
  508|       |
  509|  1.53M|        switch (float_format_)
  510|  1.53M|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 1.53M]
  ------------------
  512|      0|            {
  513|      0|                if (precision_ > 0)
  ------------------
  |  Branch (513:21): [True: 0, False: 0]
  ------------------
  514|      0|                {
  515|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*f", precision_, val);
  516|      0|                    if (length < 0)
  ------------------
  |  Branch (516:25): [True: 0, False: 0]
  ------------------
  517|      0|                    {
  518|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  519|      0|                    }
  520|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  521|      0|                }
  522|      0|                else
  523|      0|                {
  524|      0|                    if (!dtoa_fixed(val, decimal_point_, result))
  ------------------
  |  Branch (524:25): [True: 0, False: 0]
  ------------------
  525|      0|                    {
  526|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  527|      0|                    }
  528|      0|                }
  529|      0|            }
  530|      0|            break;
  531|      0|        case float_chars_format::scientific:
  ------------------
  |  Branch (531:9): [True: 0, False: 1.53M]
  ------------------
  532|      0|            {
  533|      0|                if (precision_ > 0)
  ------------------
  |  Branch (533:21): [True: 0, False: 0]
  ------------------
  534|      0|                {
  535|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*e", precision_, val);
  536|      0|                    if (length < 0)
  ------------------
  |  Branch (536:25): [True: 0, False: 0]
  ------------------
  537|      0|                    {
  538|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  539|      0|                    }
  540|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  541|      0|                }
  542|      0|                else
  543|      0|                {
  544|      0|                    if (!dtoa_scientific(val, decimal_point_, result))
  ------------------
  |  Branch (544:25): [True: 0, False: 0]
  ------------------
  545|      0|                    {
  546|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  547|      0|                    }
  548|      0|                }
  549|      0|            }
  550|      0|            break;
  551|  1.53M|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 1.53M, False: 0]
  ------------------
  552|  1.53M|            {
  553|  1.53M|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 1.53M]
  ------------------
  554|      0|                {
  555|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*g", precision_, val);
  556|      0|                    if (length < 0)
  ------------------
  |  Branch (556:25): [True: 0, False: 0]
  ------------------
  557|      0|                    {
  558|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  559|      0|                    }
  560|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  561|      0|                }
  562|  1.53M|                else
  563|  1.53M|                {
  564|  1.53M|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 1.53M]
  ------------------
  565|      0|                    {
  566|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  567|      0|                    }
  568|  1.53M|                }             
  569|  1.53M|                break;
  570|  1.53M|            }
  571|  1.53M|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 1.53M]
  ------------------
  572|      0|                JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  573|      0|                break;
  574|  1.53M|        }
  575|  1.53M|        return count;
  576|  1.53M|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  19.9k|{
  244|  19.9k|    const char *sbeg = buffer;
  245|  19.9k|    const char *send = sbeg + length;
  246|       |
  247|  19.9k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 19.9k, False: 0]
  ------------------
  248|  19.9k|    {
  249|  19.9k|        bool needs_dot = true;
  250|   334k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 314k, False: 19.9k]
  ------------------
  251|   314k|        {
  252|   314k|            switch (*q)
  253|   314k|            {
  254|  18.0k|            case '-':
  ------------------
  |  Branch (254:13): [True: 18.0k, False: 296k]
  ------------------
  255|  74.2k|            case '0':
  ------------------
  |  Branch (255:13): [True: 56.1k, False: 258k]
  ------------------
  256|   106k|            case '1':
  ------------------
  |  Branch (256:13): [True: 32.6k, False: 282k]
  ------------------
  257|   132k|            case '2':
  ------------------
  |  Branch (257:13): [True: 25.9k, False: 289k]
  ------------------
  258|   161k|            case '3':
  ------------------
  |  Branch (258:13): [True: 28.9k, False: 286k]
  ------------------
  259|   184k|            case '4':
  ------------------
  |  Branch (259:13): [True: 22.9k, False: 292k]
  ------------------
  260|   210k|            case '5':
  ------------------
  |  Branch (260:13): [True: 25.7k, False: 289k]
  ------------------
  261|   227k|            case '6':
  ------------------
  |  Branch (261:13): [True: 17.3k, False: 297k]
  ------------------
  262|   238k|            case '7':
  ------------------
  |  Branch (262:13): [True: 11.1k, False: 303k]
  ------------------
  263|   263k|            case '8':
  ------------------
  |  Branch (263:13): [True: 24.7k, False: 290k]
  ------------------
  264|   279k|            case '9':
  ------------------
  |  Branch (264:13): [True: 15.7k, False: 299k]
  ------------------
  265|   279k|            case '+':
  ------------------
  |  Branch (265:13): [True: 387, False: 314k]
  ------------------
  266|   279k|                result.push_back(*q);
  267|   279k|                break;
  268|  2.71k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 2.71k, False: 312k]
  ------------------
  269|  2.71k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 314k]
  ------------------
  270|  2.71k|                result.push_back('e');
  271|  2.71k|                needs_dot = false;
  272|  2.71k|                break;
  273|  32.5k|            default:
  ------------------
  |  Branch (273:13): [True: 32.5k, False: 282k]
  ------------------
  274|  32.5k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 12.8k, False: 19.6k]
  ------------------
  275|  12.8k|                {
  276|  12.8k|                    needs_dot = false;
  277|  12.8k|                    result.push_back('.');
  278|  12.8k|                }
  279|  32.5k|                break;
  280|   314k|            }
  281|   314k|        }
  282|  19.9k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 7.10k, False: 12.8k]
  ------------------
  283|  7.10k|        {
  284|  7.10k|            result.push_back('.');
  285|  7.10k|            result.push_back('0');
  286|  7.10k|        }
  287|  19.9k|    }
  288|  19.9k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKciiiiRT_:
  171|  1.43M|{
  172|  1.43M|    int nb_digits = length;
  173|  1.43M|    int offset;
  174|       |    /* v = buffer * 10^k
  175|       |       kk is such that 10^(kk-1) <= v < 10^kk
  176|       |       this way kk gives the position of the decimal point.
  177|       |    */
  178|  1.43M|    int kk = nb_digits + k;
  179|       |
  180|  1.43M|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 661k, False: 776k]
  |  Branch (180:28): [True: 174k, False: 486k]
  ------------------
  181|   174k|    {
  182|       |        /* the first digits are already in. Add some 0s and call it a day. */
  183|       |        /* the max_exp is a personal choice. Only 16 digits could possibly be relevant.
  184|       |         * Basically we want to print 12340000000 rather than 1234.0e7 or 1.234e10 */
  185|  1.76M|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 1.59M, False: 174k]
  ------------------
  186|  1.59M|        {
  187|  1.59M|            result.push_back(buffer[i]);
  188|  1.59M|        }
  189|   206k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 31.3k, False: 174k]
  ------------------
  190|  31.3k|        {
  191|  31.3k|            result.push_back('0');
  192|  31.3k|        }
  193|   174k|        result.push_back('.');
  194|   174k|        result.push_back('0');
  195|   174k|    } 
  196|  1.26M|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 688k, False: 575k]
  |  Branch (196:24): [True: 201k, False: 486k]
  ------------------
  197|   201k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|   720k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 519k, False: 201k]
  ------------------
  200|   519k|        {
  201|   519k|            result.push_back(buffer[i]);
  202|   519k|        }
  203|   201k|        result.push_back('.');
  204|  1.42M|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 1.22M, False: 201k]
  ------------------
  205|  1.22M|        {
  206|  1.22M|            result.push_back(buffer[i]);
  207|  1.22M|        }
  208|   201k|    } 
  209|  1.06M|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 703k, False: 358k]
  |  Branch (209:30): [True: 216k, False: 486k]
  ------------------
  210|   216k|    {
  211|   216k|        offset = 2 - kk;
  212|       |
  213|   216k|        result.push_back('0');
  214|   216k|        result.push_back('.');
  215|   544k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 328k, False: 216k]
  ------------------
  216|   328k|            result.push_back('0');
  217|  3.13M|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 2.91M, False: 216k]
  ------------------
  218|  2.91M|        {
  219|  2.91M|            result.push_back(buffer[i]);
  220|  2.91M|        }
  221|   216k|    } 
  222|   845k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 607, False: 845k]
  ------------------
  223|    607|    {
  224|    607|        result.push_back(buffer[0]);
  225|    607|        result.push_back('e');
  226|    607|        fill_exponent(kk - 1, result);
  227|    607|    } 
  228|   845k|    else
  229|   845k|    {
  230|   845k|        result.push_back(buffer[0]);
  231|   845k|        result.push_back('.');
  232|  13.4M|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 12.6M, False: 845k]
  ------------------
  233|  12.6M|        {
  234|  12.6M|            result.push_back(buffer[i]);
  235|  12.6M|        }
  236|   845k|        result.push_back('e');
  237|   845k|        fill_exponent(kk - 1, result);
  238|   845k|    }
  239|  1.43M|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|   845k|{
  137|   845k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 358k, False: 486k]
  ------------------
  138|   358k|    {
  139|   358k|        result.push_back('-');
  140|   358k|        K = -K;
  141|   358k|    }
  142|   486k|    else
  143|   486k|    {
  144|   486k|        result.push_back('+'); // compatibility with sprintf
  145|   486k|    }
  146|       |
  147|   845k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 134k, False: 711k]
  ------------------
  148|   134k|    {
  149|   134k|        result.push_back('0'); // compatibility with sprintf
  150|   134k|        result.push_back((char)('0' + K));
  151|   134k|    }
  152|   711k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 382k, False: 329k]
  ------------------
  153|   382k|    {
  154|   382k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|   382k|        result.push_back((char)('0' + K));
  156|   382k|    }
  157|   329k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 329k, False: 0]
  ------------------
  158|   329k|    {
  159|   329k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|   329k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|   329k|        result.push_back((char)('0' + K));
  162|   329k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|   845k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|  1.53M|{
  476|  1.53M|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|  1.53M|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|  1.53M|{
  367|  1.53M|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 73.0k, False: 1.45M]
  ------------------
  368|  73.0k|    {
  369|  73.0k|        result.push_back('0');
  370|  73.0k|        result.push_back('.');
  371|  73.0k|        result.push_back('0');
  372|  73.0k|        return true;
  373|  73.0k|    }
  374|       |
  375|  1.45M|    int length = 0;
  376|  1.45M|    int k;
  377|       |
  378|  1.45M|    char buffer[100];
  379|       |
  380|  1.45M|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 903k, False: 554k]
  ------------------
  381|  1.45M|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 1.43M, False: 19.9k]
  ------------------
  382|  1.43M|    {
  383|  1.43M|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 888k, False: 549k]
  ------------------
  384|   888k|        {
  385|   888k|            result.push_back('-');
  386|   888k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|  1.43M|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|  1.43M|        return true;
  391|  1.43M|    }
  392|  19.9k|    else
  393|  19.9k|    {
  394|  19.9k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  19.9k|    }
  396|  1.45M|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  19.9k|{
  330|  19.9k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 19.9k]
  ------------------
  331|      0|    {
  332|      0|        result.push_back('0');
  333|      0|        result.push_back('.');
  334|      0|        result.push_back('0');
  335|      0|        return true;
  336|      0|    }
  337|       |
  338|  19.9k|    char buffer[100];
  339|  19.9k|    int precision = std::numeric_limits<double>::digits10;
  340|  19.9k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  19.9k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 19.9k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  19.9k|    double x{0};
  346|  19.9k|    auto res = decstr_to_double(buffer, length, x);
  347|  19.9k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 19.9k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  19.9k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 19.6k, False: 301]
  ------------------
  352|  19.6k|    {
  353|  19.6k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  19.6k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  19.6k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 19.6k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  19.6k|    }
  360|  19.9k|    dump_buffer(buffer, length, decimal_point, result);
  361|  19.9k|    return true;
  362|  19.9k|}
_ZN8jsoncons14integer_to_hexImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr6nonstd10is_integerIT_EE5valueEmE4typeES9_RT0_:
   89|   365k|{
   90|   365k|    using char_type = typename Result::value_type;
   91|       |
   92|   365k|    char_type buf[255];
   93|   365k|    char_type *p = buf;
   94|   365k|    const char_type* last = buf+255;
   95|       |
   96|   365k|    bool is_negative = value < 0;
   97|       |
   98|   365k|    if (value < 0)
  ------------------
  |  Branch (98:9): [True: 0, False: 365k]
  ------------------
   99|      0|    {
  100|      0|        do
  101|      0|        {
  102|      0|            *p++ = to_hex_character(0-(value % 16));
  103|      0|        }
  104|      0|        while ((value /= 16) && (p < last));
  ------------------
  |  Branch (104:16): [True: 0, False: 0]
  |  Branch (104:33): [True: 0, False: 0]
  ------------------
  105|      0|    }
  106|   365k|    else
  107|   365k|    {
  108|       |
  109|   365k|        do
  110|   613k|        {
  111|   613k|            *p++ = to_hex_character(value % 16);
  112|   613k|        }
  113|   613k|        while ((value /= 16) && (p < last));
  ------------------
  |  Branch (113:16): [True: 247k, False: 365k]
  |  Branch (113:33): [True: 247k, False: 0]
  ------------------
  114|   365k|    }
  115|   365k|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   54|   365k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 365k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  116|       |
  117|   365k|    std::size_t count = (p - buf);
  118|   365k|    if (is_negative)
  ------------------
  |  Branch (118:9): [True: 0, False: 365k]
  ------------------
  119|      0|    {
  120|      0|        result.push_back('-');
  121|      0|        ++count;
  122|      0|    }
  123|   979k|    while (--p >= buf)
  ------------------
  |  Branch (123:12): [True: 613k, False: 365k]
  ------------------
  124|   613k|    {
  125|   613k|        result.push_back(*p);
  126|   613k|    }
  127|       |
  128|   365k|    return count;
  129|   365k|}
_ZN8jsoncons16to_hex_characterEh:
   33|   613k|{
   34|   613k|    return (char)((c < 10) ? ('0' + c) : ('A' - 10 + c));
  ------------------
  |  Branch (34:19): [True: 596k, False: 17.2k]
  ------------------
   35|   613k|}

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr6nonstd8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  2.22M|    {
 1148|  2.22M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  2.22M|        const uint8_t* end = it + length;
 1150|       |
 1151|  2.22M|        unicode_errc  result{};
 1152|  8.32M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 6.10M, False: 2.22M]
  ------------------
 1153|  6.10M|        {
 1154|  6.10M|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 755k, False: 5.34M]
  ------------------
 1155|   755k|            {
 1156|  5.27M|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  326|  1.51M|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (326:32): [True: 754k, False: 544]
  |  |  |  Branch (326:34): [True: 754k, False: 304]
  |  |  |  Branch (326:36): [True: 754k, False: 297]
  |  |  |  Branch (326:38): [True: 753k, False: 417]
  |  |  |  Branch (326:40): [True: 753k, False: 297]
  |  |  |  Branch (326:42): [True: 752k, False: 974]
  |  |  |  Branch (326:44): [True: 752k, False: 255]
  |  |  |  Branch (326:46): [True: 752k, False: 244]
  |  |  ------------------
  ------------------
 1157|   752k|                continue;
 1158|  5.27M|            }
 1159|  5.34M|    non_ascii:
 1160|  5.34M|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  5.34M|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 35, False: 5.34M]
  ------------------
 1162|     35|            {
 1163|     35|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     35|            }
 1165|  5.34M|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 168, False: 5.34M]
  ------------------
 1166|    168|            {
 1167|    168|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    168|            }
 1169|  5.34M|            it += len;
 1170|  5.34M|        }
 1171|  2.22M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  2.22M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  5.34M|    {
  306|  5.34M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  5.34M|        const uint8_t* end = it+length;
  308|       |
  309|  5.34M|        uint8_t byte;
  310|  5.34M|        switch (length) {
  311|     16|        default:
  ------------------
  |  Branch (311:9): [True: 16, False: 5.34M]
  ------------------
  312|     16|            return unicode_errc::over_long_utf8_sequence;
  313|    951|        case 4:
  ------------------
  |  Branch (313:9): [True: 951, False: 5.34M]
  ------------------
  314|    951|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 9, False: 942]
  ------------------
  315|      9|                return unicode_errc::bad_continuation_byte;
  316|    942|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|    942|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  12.9k|        case 3:
  ------------------
  |  Branch (317:9): [True: 11.9k, False: 5.33M]
  ------------------
  318|  12.9k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 11, False: 12.9k]
  ------------------
  319|     11|                return unicode_errc::bad_continuation_byte;
  320|  12.9k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|  12.9k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  17.4k|        case 2:
  ------------------
  |  Branch (321:9): [True: 4.48k, False: 5.34M]
  ------------------
  322|  17.4k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 37, False: 17.3k]
  ------------------
  323|     37|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  17.3k|            switch (*it) 
  326|  17.3k|            {
  327|       |                // no fall-through in this inner switch
  328|    632|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 632, False: 16.7k]
  |  Branch (328:32): [True: 4, False: 628]
  ------------------
  329|    628|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 616, False: 16.7k]
  |  Branch (329:32): [True: 4, False: 612]
  ------------------
  330|    612|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 577, False: 16.7k]
  |  Branch (330:32): [True: 4, False: 573]
  ------------------
  331|    573|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 298, False: 17.0k]
  |  Branch (331:32): [True: 1, False: 297]
  ------------------
  332|  15.2k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 15.2k, False: 2.12k]
  |  Branch (332:32): [True: 0, False: 15.2k]
  ------------------
  333|  17.3k|            }
  334|       |
  335|  17.3k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|  17.3k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  5.34M|        case 1:
  ------------------
  |  Branch (336:9): [True: 5.33M, False: 17.4k]
  ------------------
  337|  5.34M|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 17.4k, False: 5.33M]
  |  Branch (337:32): [True: 80, False: 17.3k]
  ------------------
  338|     80|                return unicode_errc::source_illegal;
  339|  5.34M|            break;
  340|  5.34M|        }
  341|  5.34M|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 2, False: 5.34M]
  ------------------
  342|      2|            return unicode_errc::source_illegal;
  343|       |
  344|  5.34M|        return unicode_errc();
  345|  5.34M|    }

_ZN8jsoncons4cbor6detail24min_length_for_stringrefEm:
   58|  4.50M|{
   59|  4.50M|    std::size_t n;
   60|  4.50M|    if (index <= 23)
  ------------------
  |  Branch (60:9): [True: 430k, False: 4.07M]
  ------------------
   61|   430k|    {
   62|   430k|        n = 3;
   63|   430k|    }
   64|  4.07M|    else if (index <= 255)
  ------------------
  |  Branch (64:14): [True: 279k, False: 3.79M]
  ------------------
   65|   279k|    {
   66|   279k|        n = 4;
   67|   279k|    }
   68|  3.79M|    else if (index <= 65535)
  ------------------
  |  Branch (68:14): [True: 3.47M, False: 321k]
  ------------------
   69|  3.47M|    {
   70|  3.47M|        n = 5;
   71|  3.47M|    }
   72|   321k|    else if (index <= 4294967295)
  ------------------
  |  Branch (72:14): [True: 321k, False: 0]
  ------------------
   73|   321k|    {
   74|   321k|        n = 7;
   75|   321k|    }
   76|      0|    else 
   77|      0|    {
   78|      0|        n = 11;
   79|      0|    }
   80|  4.50M|    return n;
   81|  4.50M|}

_ZN8jsoncons4cbor15make_error_codeENS0_9cbor_errcE:
  105|  9.94k|{
  106|  9.94k|    return std::error_code(static_cast<int>(e),cbor_error_category());
  107|  9.94k|}
_ZN8jsoncons4cbor19cbor_error_categoryEv:
   98|  9.94k|{
   99|  9.94k|  static cbor_error_category_impl instance;
  100|  9.94k|  return instance;
  101|  9.94k|}
_ZNK8jsoncons4cbor24cbor_error_category_impl7messageEi:
   51|  9.94k|    {
   52|  9.94k|        switch (static_cast<cbor_errc>(ev))
   53|  9.94k|        {
   54|  7.35k|            case cbor_errc::unexpected_eof:
  ------------------
  |  Branch (54:13): [True: 7.35k, False: 2.59k]
  ------------------
   55|  7.35k|                return "Unexpected end of file";
   56|    279|            case cbor_errc::reserved_additional_info:
  ------------------
  |  Branch (56:13): [True: 279, False: 9.66k]
  ------------------
   57|    279|                return "Additional-information values 28-30 are reserved";
   58|      0|            case cbor_errc::source_error:
  ------------------
  |  Branch (58:13): [True: 0, False: 9.94k]
  ------------------
   59|      0|                return "Source error";
   60|    209|            case cbor_errc::invalid_bigdecimal:
  ------------------
  |  Branch (60:13): [True: 209, False: 9.73k]
  ------------------
   61|    209|                return "Invalid BigDecimal value";
   62|    136|            case cbor_errc::invalid_bigfloat:
  ------------------
  |  Branch (62:13): [True: 136, False: 9.81k]
  ------------------
   63|    136|                return "Invalid BigFloat value";
   64|    203|            case cbor_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (64:13): [True: 203, False: 9.74k]
  ------------------
   65|    203|                return "Illegal UTF-8 encoding in text string";
   66|      0|            case cbor_errc::too_many_items:
  ------------------
  |  Branch (66:13): [True: 0, False: 9.94k]
  ------------------
   67|      0|                return "Too many items were added to a CBOR map or array of known length";
   68|      0|            case cbor_errc::too_few_items:
  ------------------
  |  Branch (68:13): [True: 0, False: 9.94k]
  ------------------
   69|      0|                return "Too few items were added to a CBOR map or array of known length";
   70|      0|            case cbor_errc::number_too_large:
  ------------------
  |  Branch (70:13): [True: 0, False: 9.94k]
  ------------------
   71|      0|                return "Number exceeds implementation limits";
   72|    114|            case cbor_errc::stringref_too_large:
  ------------------
  |  Branch (72:13): [True: 114, False: 9.83k]
  ------------------
   73|    114|                return "stringref exceeds stringref map size";
   74|     10|            case cbor_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (74:13): [True: 10, False: 9.93k]
  ------------------
   75|     10|                return "Data item nesting exceeds limit in options";
   76|      0|            case cbor_errc::unmatched_end_object:
  ------------------
  |  Branch (76:13): [True: 0, False: 9.94k]
  ------------------
   77|      0|                return "Unmatched end object";
   78|      0|            case cbor_errc::unmatched_end_array:
  ------------------
  |  Branch (78:13): [True: 0, False: 9.94k]
  ------------------
   79|      0|                return "Unmatched end array";
   80|    579|            case cbor_errc::unknown_type:
  ------------------
  |  Branch (80:13): [True: 579, False: 9.36k]
  ------------------
   81|    579|                return "Unknown type in input";
   82|      0|            case cbor_errc::invalid_major_type:
  ------------------
  |  Branch (82:13): [True: 0, False: 9.94k]
  ------------------
   83|      0|                return "Invalid major type in input";
   84|     88|            case cbor_errc::illegal_chunked_string:
  ------------------
  |  Branch (84:13): [True: 88, False: 9.85k]
  ------------------
   85|     88|                return "An illegal type was found while parsing an indefinite length string";
   86|     63|            case cbor_errc::bad_mdarray:
  ------------------
  |  Branch (86:13): [True: 63, False: 9.88k]
  ------------------
   87|     63|                return "Invalid multi-dimensional array.";
   88|    909|            case cbor_errc::bad_extents:
  ------------------
  |  Branch (88:13): [True: 909, False: 9.03k]
  ------------------
   89|    909|                return "Product of extents does not match number of elements.";
   90|      0|            default:
  ------------------
  |  Branch (90:13): [True: 0, False: 9.94k]
  ------------------
   91|      0|                return "Unknown CBOR parser error";
   92|  9.94k|        }
   93|  9.94k|    }

_ZNK8jsoncons4cbor19cbor_options_common17max_nesting_depthEv:
   33|  13.5k|    {
   34|  13.5k|        return max_nesting_depth_;
   35|  13.5k|    }
_ZN8jsoncons4cbor19cbor_decode_optionsC1Ev:
   42|  13.5k|    cbor_decode_options() = default;
_ZN8jsoncons4cbor19cbor_options_commonC2Ev:
   25|  13.5k|    cbor_options_common() = default;
_ZN8jsoncons4cbor19cbor_options_commonD2Ev:
   27|  13.5k|    virtual ~cbor_options_common() = default;

_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_19cbor_decode_optionsERKS7_:
  220|  13.5k|       : alloc_(alloc),
  221|  13.5k|         source_(std::forward<Sourceable>(source)),
  222|  13.5k|         max_nesting_depth_(options.max_nesting_depth()),
  223|  13.5k|         text_buffer_(alloc),
  224|  13.5k|         bytes_buffer_(alloc),
  225|  13.5k|         state_stack_(alloc),
  226|  13.5k|         stringref_map_stack_(alloc),
  227|  13.5k|         extents_(alloc)
  228|  13.5k|    {
  229|  13.5k|        state_stack_.emplace_back(parse_mode::root,0);
  230|  13.5k|    }
_ZN8jsoncons4cbor11parse_stateC2ENS0_10parse_modeEmb:
   52|  5.23M|        : mode(mode), length(length), pop_stringref_map_stack(pop_stringref_map_stack)
   53|  5.23M|    {
   54|  5.23M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringD2Ev:
  136|  11.0M|        ~mapped_string() = default;
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  328|  9.94k|    {
  329|  9.94k|        return 0;
  330|  9.94k|    }
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  333|  9.94k|    {
  334|  9.94k|        return source_.position();
  335|  9.94k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEED2Ev:
  237|  13.5k|    ~basic_cbor_parser() = default;
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
  245|  13.5k|    {
  246|  13.5k|        more_ = true;
  247|  13.5k|        done_ = false;
  248|  13.5k|        text_buffer_.clear();
  249|  13.5k|        bytes_buffer_.clear();
  250|  13.5k|        raw_tag_ = 0;
  251|  13.5k|        state_stack_.clear();
  252|  13.5k|        state_stack_.emplace_back(parse_mode::root,0);
  253|  13.5k|        stringref_map_stack_.clear();
  254|  13.5k|        nesting_depth_ = 0;
  255|  13.5k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  348|  13.5k|    {
  349|  96.3M|        while (!done_ && more_)
  ------------------
  |  Branch (349:16): [True: 96.3M, False: 3.56k]
  |  Branch (349:26): [True: 96.3M, False: 0]
  ------------------
  350|  96.3M|        {
  351|  96.3M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (351:21): [True: 96.3M, False: 0]
  ------------------
  352|  96.3M|            {
  353|  22.7k|                case parse_mode::multi_dim:
  ------------------
  |  Branch (353:17): [True: 22.7k, False: 96.3M]
  ------------------
  354|  22.7k|                {
  355|  22.7k|                    JSONCONS_ASSERT(!typed_array_stack_.empty());
  ------------------
  |  |   54|  22.7k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 22.7k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  356|  22.7k|                    typed_array_stack_.pop_back();
  357|  22.7k|                    state_stack_.pop_back();
  358|  22.7k|                    break;
  359|  22.7k|                }
  360|  11.7M|                case parse_mode::typed_array:
  ------------------
  |  Branch (360:17): [True: 11.7M, False: 84.6M]
  ------------------
  361|  11.7M|                {
  362|  11.7M|                    JSONCONS_ASSERT(!typed_array_stack_.empty());
  ------------------
  |  |   54|  11.7M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 11.7M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  363|  11.7M|                    read_typed_array_item(visitor, ec);
  364|  11.7M|                    auto iter = typed_array_stack_.back();
  365|  11.7M|                    if (iter->done())
  ------------------
  |  Branch (365:25): [True: 232k, False: 11.5M]
  ------------------
  366|   232k|                    {
  367|   232k|                        if (level() == mark_level_)
  ------------------
  |  Branch (367:29): [True: 0, False: 232k]
  ------------------
  368|      0|                        {
  369|      0|                            more_ = false;
  370|      0|                        }
  371|   232k|                        if (!is_multi_dim())
  ------------------
  |  Branch (371:29): [True: 216k, False: 16.1k]
  ------------------
  372|   216k|                        {
  373|   216k|                            typed_array_stack_.pop_back();
  374|   216k|                        }
  375|   232k|                        state_stack_.pop_back();
  376|   232k|                    }
  377|  11.7M|                    break;
  378|  11.7M|                }
  379|  9.39M|                case parse_mode::array:
  ------------------
  |  Branch (379:17): [True: 9.39M, False: 86.9M]
  ------------------
  380|  9.39M|                {
  381|  9.39M|                    if (is_multi_dim())
  ------------------
  |  Branch (381:25): [True: 5.47M, False: 3.92M]
  ------------------
  382|  5.47M|                    {
  383|  5.47M|                        JSONCONS_ASSERT(!typed_array_stack_.empty());
  ------------------
  |  |   54|  5.47M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 5.47M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  384|  5.47M|                        auto iter = typed_array_stack_.back();
  385|  5.47M|                        if (!iter->done())
  ------------------
  |  Branch (385:29): [True: 5.47M, False: 5.88k]
  ------------------
  386|  5.47M|                        {
  387|  5.47M|                            iter->next(visitor, *this, ec);
  388|  5.47M|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  5.47M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 461, False: 5.47M]
  |  |  ------------------
  ------------------
  389|    461|                            {
  390|    461|                                return;
  391|    461|                            }
  392|  5.47M|                        }
  393|  5.88k|                        else
  394|  5.88k|                        {
  395|  5.88k|                            if (iter->count() != state_stack_.back().length)
  ------------------
  |  Branch (395:33): [True: 19, False: 5.87k]
  ------------------
  396|     19|                            {
  397|       |                                //std::cout << state_stack_.back().index << "!=" << state_stack_.back().length << "\n";
  398|     19|                                ec = cbor_errc::bad_mdarray;
  399|     19|                                return;
  400|     19|                            }
  401|  5.87k|                            end_classical_array_storage(ec);
  402|  5.87k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  5.87k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 5.87k]
  |  |  ------------------
  ------------------
  403|      0|                            {
  404|      0|                                return;
  405|      0|                            }
  406|  5.87k|                        }
  407|  5.47M|                    }
  408|  3.92M|                    else
  409|  3.92M|                    {
  410|  3.92M|                        if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (410:29): [True: 1.17M, False: 2.74M]
  ------------------
  411|  1.17M|                        {
  412|  1.17M|                            ++state_stack_.back().index;
  413|  1.17M|                            read_item(visitor, ec);
  414|  1.17M|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  1.17M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1.40k, False: 1.17M]
  |  |  ------------------
  ------------------
  415|  1.40k|                            {
  416|  1.40k|                                return;
  417|  1.40k|                            }
  418|  1.17M|                        }
  419|  2.74M|                        else
  420|  2.74M|                        {
  421|  2.74M|                            end_array(visitor, ec);
  422|  2.74M|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.74M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.74M]
  |  |  ------------------
  ------------------
  423|      0|                            {
  424|      0|                                return;
  425|      0|                            }
  426|  2.74M|                        }
  427|  3.92M|                    }
  428|  9.39M|                    break;
  429|  9.39M|                }
  430|  34.4M|                case parse_mode::indefinite_array:
  ------------------
  |  Branch (430:17): [True: 34.4M, False: 61.9M]
  ------------------
  431|  34.4M|                {
  432|  34.4M|                    if (is_multi_dim()) 
  ------------------
  |  Branch (432:25): [True: 13.9M, False: 20.4M]
  ------------------
  433|  13.9M|                    {
  434|  13.9M|                        JSONCONS_ASSERT(!typed_array_stack_.empty());
  ------------------
  |  |   54|  13.9M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 13.9M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  435|  13.9M|                        auto iter = typed_array_stack_.back();
  436|  13.9M|                        if (!iter->done())
  ------------------
  |  Branch (436:29): [True: 13.9M, False: 801]
  ------------------
  437|  13.9M|                        {
  438|  13.9M|                            iter->next(visitor, *this, ec);
  439|  13.9M|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  13.9M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 76, False: 13.9M]
  |  |  ------------------
  ------------------
  440|     76|                            {
  441|     76|                                return;
  442|     76|                            }
  443|  13.9M|                        }
  444|    801|                        else
  445|    801|                        {
  446|    801|                            auto c = source_.peek();
  447|    801|                            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|    801|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2, False: 799]
  |  |  ------------------
  ------------------
  448|      2|                            {
  449|      2|                                ec = cbor_errc::unexpected_eof;
  450|      2|                                more_ = false;
  451|      2|                                return;
  452|      2|                            }
  453|    799|                            if (c.value == 0xff)
  ------------------
  |  Branch (453:33): [True: 786, False: 13]
  ------------------
  454|    786|                            {
  455|    786|                                source_.ignore(1);
  456|    786|                            }
  457|     13|                            else
  458|     13|                            {
  459|     13|                                ec = cbor_errc::bad_mdarray;
  460|     13|                                return;
  461|     13|                            }
  462|    786|                            end_classical_array_storage(ec);
  463|    786|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|    786|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 786]
  |  |  ------------------
  ------------------
  464|      0|                            {
  465|      0|                                return;
  466|      0|                            }
  467|    786|                        }
  468|  13.9M|                    }
  469|  20.4M|                    else
  470|  20.4M|                    {
  471|  20.4M|                        auto c = source_.peek();
  472|  20.4M|                        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  20.4M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 900, False: 20.4M]
  |  |  ------------------
  ------------------
  473|    900|                        {
  474|    900|                            ec = cbor_errc::unexpected_eof;
  475|    900|                            more_ = false;
  476|    900|                            return;
  477|    900|                        }
  478|  20.4M|                        if (c.value == 0xff)
  ------------------
  |  Branch (478:29): [True: 6.45k, False: 20.4M]
  ------------------
  479|  6.45k|                        {
  480|  6.45k|                            source_.ignore(1);
  481|  6.45k|                            end_array(visitor, ec);
  482|  6.45k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  6.45k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 6.45k]
  |  |  ------------------
  ------------------
  483|      0|                            {
  484|      0|                                return;
  485|      0|                            }
  486|  6.45k|                        }
  487|  20.4M|                        else
  488|  20.4M|                        {
  489|  20.4M|                            read_item(visitor, ec);
  490|  20.4M|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  20.4M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 543, False: 20.4M]
  |  |  ------------------
  ------------------
  491|    543|                            {
  492|    543|                                return;
  493|    543|                            }
  494|  20.4M|                        }
  495|  20.4M|                    }
  496|  34.4M|                    break;
  497|  34.4M|                }
  498|  34.4M|                case parse_mode::map_key:
  ------------------
  |  Branch (498:17): [True: 3.32M, False: 93.0M]
  ------------------
  499|  3.32M|                {
  500|  3.32M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (500:25): [True: 1.25M, False: 2.06M]
  ------------------
  501|  1.25M|                    {
  502|  1.25M|                        ++state_stack_.back().index;
  503|  1.25M|                        state_stack_.back().mode = parse_mode::map_value;
  504|  1.25M|                        read_item(visitor, ec);
  505|  1.25M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  1.25M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 902, False: 1.25M]
  |  |  ------------------
  ------------------
  506|    902|                        {
  507|    902|                            return;
  508|    902|                        }
  509|  1.25M|                    }
  510|  2.06M|                    else
  511|  2.06M|                    {
  512|  2.06M|                        end_object(visitor, ec);
  513|  2.06M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.06M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.06M]
  |  |  ------------------
  ------------------
  514|      0|                        {
  515|      0|                            return;
  516|      0|                        }
  517|  2.06M|                    }
  518|  3.32M|                    break;
  519|  3.32M|                }
  520|  3.32M|                case parse_mode::map_value:
  ------------------
  |  Branch (520:17): [True: 1.22M, False: 95.1M]
  ------------------
  521|  1.22M|                {
  522|  1.22M|                    state_stack_.back().mode = parse_mode::map_key;
  523|  1.22M|                    read_item(visitor, ec);
  524|  1.22M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  1.22M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1.17k, False: 1.22M]
  |  |  ------------------
  ------------------
  525|  1.17k|                    {
  526|  1.17k|                        return;
  527|  1.17k|                    }
  528|  1.22M|                    break;
  529|  1.22M|                }
  530|  18.1M|                case parse_mode::indefinite_map_key:
  ------------------
  |  Branch (530:17): [True: 18.1M, False: 78.2M]
  ------------------
  531|  18.1M|                {
  532|  18.1M|                    auto c = source_.peek();
  533|  18.1M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  18.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 555, False: 18.1M]
  |  |  ------------------
  ------------------
  534|    555|                    {
  535|    555|                        ec = cbor_errc::unexpected_eof;
  536|    555|                        more_ = false;
  537|    555|                        return;
  538|    555|                    }
  539|  18.1M|                    if (c.value == 0xff)
  ------------------
  |  Branch (539:25): [True: 5.97k, False: 18.1M]
  ------------------
  540|  5.97k|                    {
  541|  5.97k|                        source_.ignore(1);
  542|  5.97k|                        end_object(visitor, ec);
  543|  5.97k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  5.97k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 5.97k]
  |  |  ------------------
  ------------------
  544|      0|                        {
  545|      0|                            return;
  546|      0|                        }
  547|  5.97k|                    }
  548|  18.1M|                    else
  549|  18.1M|                    {
  550|  18.1M|                        state_stack_.back().mode = parse_mode::indefinite_map_value;
  551|  18.1M|                        read_item(visitor, ec);
  552|  18.1M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  18.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 329, False: 18.1M]
  |  |  ------------------
  ------------------
  553|    329|                        {
  554|    329|                            return;
  555|    329|                        }
  556|  18.1M|                    }
  557|  18.1M|                    break;
  558|  18.1M|                }
  559|  18.1M|                case parse_mode::indefinite_map_value:
  ------------------
  |  Branch (559:17): [True: 18.1M, False: 78.2M]
  ------------------
  560|  18.1M|                {
  561|  18.1M|                    state_stack_.back().mode = parse_mode::indefinite_map_key;
  562|  18.1M|                    read_item(visitor, ec);
  563|  18.1M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  18.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1.25k, False: 18.1M]
  |  |  ------------------
  ------------------
  564|  1.25k|                    {
  565|  1.25k|                        return;
  566|  1.25k|                    }
  567|  18.1M|                    break;
  568|  18.1M|                }
  569|  18.1M|                case parse_mode::root:
  ------------------
  |  Branch (569:17): [True: 13.5k, False: 96.3M]
  ------------------
  570|  13.5k|                {
  571|  13.5k|                    state_stack_.back().mode = parse_mode::accept;
  572|  13.5k|                    read_item(visitor, ec);
  573|  13.5k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  13.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2.31k, False: 11.2k]
  |  |  ------------------
  ------------------
  574|  2.31k|                    {
  575|  2.31k|                        return;
  576|  2.31k|                    }
  577|  11.2k|                    break;
  578|  13.5k|                }
  579|  11.2k|                case parse_mode::accept:
  ------------------
  |  Branch (579:17): [True: 3.56k, False: 96.3M]
  ------------------
  580|  3.56k|                {
  581|  3.56k|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   54|  3.56k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 3.56k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  582|  3.56k|                    state_stack_.clear();
  583|  3.56k|                    more_ = false;
  584|  3.56k|                    done_ = true;
  585|  3.56k|                    visitor.flush();
  586|  3.56k|                    break;
  587|  3.56k|                }
  588|  96.3M|            }
  589|  96.3M|        }
  590|  13.5k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21read_typed_array_itemERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  593|  11.7M|    {
  594|  11.7M|        JSONCONS_ASSERT(!typed_array_stack_.empty());
  ------------------
  |  |   54|  11.7M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 11.7M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  595|  11.7M|        auto iter = typed_array_stack_.back();
  596|  11.7M|        if (!iter->done())
  ------------------
  |  Branch (596:13): [True: 11.7M, False: 0]
  ------------------
  597|  11.7M|        {
  598|  11.7M|            iter->next(visitor, *this, ec);
  599|  11.7M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  11.7M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 11.7M]
  |  |  ------------------
  ------------------
  600|      0|            {
  601|      0|                return;
  602|      0|            }
  603|  11.7M|            more_ = !cursor_mode_;
  604|  11.7M|        }
  605|  11.7M|    }
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5levelEv:
  303|  5.06M|    {
  304|  5.06M|        return static_cast<int>(state_stack_.size());
  305|  5.06M|    }
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12is_multi_dimEv:
  263|  44.0M|    {
  264|  44.0M|        return state_stack_.size() >=2 && state_stack_[state_stack_.size()-2].mode == parse_mode::multi_dim;
  ------------------
  |  Branch (264:16): [True: 44.0M, False: 0]
  |  Branch (264:43): [True: 19.4M, False: 24.6M]
  ------------------
  265|  44.0M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE27end_classical_array_storageERNS3_10error_codeE:
 1032|  6.65k|    {
 1033|  6.65k|        --nesting_depth_;
 1034|       |
 1035|  6.65k|        more_ = !cursor_mode_;
 1036|  6.65k|        if (level() == mark_level_)
  ------------------
  |  Branch (1036:13): [True: 0, False: 6.65k]
  ------------------
 1037|      0|        {
 1038|      0|            more_ = false;
 1039|      0|        }
 1040|  6.65k|        if (state_stack_.back().pop_stringref_map_stack)
  ------------------
  |  Branch (1040:13): [True: 594, False: 6.06k]
  ------------------
 1041|    594|        {
 1042|    594|            stringref_map_stack_.pop_back();
 1043|    594|        }
 1044|  6.65k|        state_stack_.pop_back();
 1045|  6.65k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_itemERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  608|  62.0M|    {
  609|  62.0M|        read_tags(ec);
  610|  62.0M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  62.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4.04k, False: 62.0M]
  |  |  ------------------
  ------------------
  611|  4.04k|        {
  612|  4.04k|            return;
  613|  4.04k|        }
  614|  62.0M|        auto c = source_.peek();
  615|  62.0M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  62.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 62.0M]
  |  |  ------------------
  ------------------
  616|      0|        {
  617|      0|            ec = cbor_errc::unexpected_eof;
  618|      0|            more_ = false;
  619|      0|            return;
  620|      0|        }
  621|  62.0M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
  622|  62.0M|        uint8_t info = get_additional_information(c.value);
  623|  62.0M|        if (JSONCONS_UNLIKELY(info >= 0x1C && info <= 0x1E))
  ------------------
  |  |   79|  62.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 31, False: 62.0M]
  |  |  |  Branch (79:50): [True: 59.1k, False: 62.0M]
  |  |  |  Branch (79:50): [True: 31, False: 59.1k]
  |  |  ------------------
  ------------------
  624|     31|        {
  625|     31|            ec = cbor_errc::reserved_additional_info;
  626|     31|            more_ = false;
  627|     31|            return;
  628|     31|        }
  629|       |
  630|  62.0M|        switch (major_type)
  631|  62.0M|        {
  632|  31.8M|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (632:13): [True: 31.8M, False: 30.2M]
  ------------------
  633|  31.8M|            {
  634|  31.8M|                source_.ignore(1);
  635|  31.8M|                uint64_t val = read_unsigned_integer(info, ec);
  636|  31.8M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  31.8M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 68, False: 31.8M]
  |  |  ------------------
  ------------------
  637|     68|                {
  638|     68|                    return;
  639|     68|                }
  640|  31.8M|                if (!stringref_map_stack_.empty() && other_tags_[stringref_tag])
  ------------------
  |  Branch (640:21): [True: 6.31M, False: 25.5M]
  |  Branch (640:21): [True: 57.2k, False: 31.8M]
  |  Branch (640:54): [True: 57.2k, False: 6.26M]
  ------------------
  641|  57.2k|                {
  642|  57.2k|                    other_tags_[stringref_tag] = false;
  643|  57.2k|                    if (val >= stringref_map_stack_.back().size())
  ------------------
  |  Branch (643:25): [True: 114, False: 57.1k]
  ------------------
  644|    114|                    {
  645|    114|                        ec = cbor_errc::stringref_too_large;
  646|    114|                        more_ = false;
  647|    114|                        return;
  648|    114|                    }
  649|  57.1k|                    auto index = static_cast<typename stringref_map::size_type>(val);
  650|  57.1k|                    if (index != val)
  ------------------
  |  Branch (650:25): [True: 0, False: 57.1k]
  ------------------
  651|      0|                    {
  652|      0|                        ec = cbor_errc::number_too_large;
  653|      0|                        more_ = false;
  654|      0|                        return;
  655|      0|                    }
  656|  57.1k|                    auto& str = stringref_map_stack_.back().at(index);
  657|  57.1k|                    switch (str.type)
  658|  57.1k|                    {
  659|  2.18k|                        case jsoncons::cbor::detail::cbor_major_type::text_string:
  ------------------
  |  Branch (659:25): [True: 2.18k, False: 54.9k]
  ------------------
  660|  2.18k|                        {
  661|  2.18k|                            handle_string(visitor, jsoncons::string_view(str.str.data(),str.str.length()),ec);
  662|  2.18k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.18k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.18k]
  |  |  ------------------
  ------------------
  663|      0|                            {
  664|      0|                                return;
  665|      0|                            }
  666|  2.18k|                            break;
  667|  2.18k|                        }
  668|  54.9k|                        case jsoncons::cbor::detail::cbor_major_type::byte_string:
  ------------------
  |  Branch (668:25): [True: 54.9k, False: 2.18k]
  ------------------
  669|  54.9k|                        {
  670|  54.9k|                            read_byte_string_from_buffer read(byte_string_view(str.bytes));
  671|  54.9k|                            read_byte_string(read, visitor, ec);
  672|  54.9k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  54.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 54.9k]
  |  |  ------------------
  ------------------
  673|      0|                            {
  674|      0|                                return;
  675|      0|                            }
  676|  54.9k|                            break;
  677|  54.9k|                        }
  678|  54.9k|                        default:
  ------------------
  |  Branch (678:25): [True: 0, False: 57.1k]
  ------------------
  679|      0|                        {
  680|      0|                            ec = cbor_errc::invalid_major_type;
  681|      0|                            more_ = false;
  682|      0|                            return;
  683|  54.9k|                        }
  684|  57.1k|                    }
  685|  57.1k|                }
  686|  31.8M|                else
  687|  31.8M|                {
  688|  31.8M|                    semantic_tag tag = semantic_tag::none;
  689|  31.8M|                    if (other_tags_[item_tag])
  ------------------
  |  Branch (689:25): [True: 171k, False: 31.6M]
  ------------------
  690|   171k|                    {
  691|   171k|                        if (raw_tag_ == 1)
  ------------------
  |  Branch (691:29): [True: 2.96k, False: 168k]
  ------------------
  692|  2.96k|                        {
  693|  2.96k|                            tag = semantic_tag::epoch_second;
  694|  2.96k|                        }
  695|   171k|                        other_tags_[item_tag] = false;
  696|   171k|                    }
  697|  31.8M|                    visitor.uint64_value(val, tag, *this, ec);
  698|  31.8M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  31.8M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 31.8M]
  |  |  ------------------
  ------------------
  699|      0|                    {
  700|      0|                        return;
  701|      0|                    }
  702|  31.8M|                    more_ = !cursor_mode_;
  703|  31.8M|                }
  704|  31.8M|                break;
  705|  31.8M|            }
  706|  31.8M|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (706:13): [True: 11.6M, False: 50.4M]
  ------------------
  707|  11.6M|            {
  708|  11.6M|                source_.ignore(1);
  709|  11.6M|                read_negative_integer (info, visitor, ec);
  710|  11.6M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  11.6M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 69, False: 11.6M]
  |  |  ------------------
  ------------------
  711|     69|                {
  712|     69|                    return;
  713|     69|                }
  714|  11.6M|                break;
  715|  11.6M|            }
  716|  11.6M|            case jsoncons::cbor::detail::cbor_major_type::byte_string:
  ------------------
  |  Branch (716:13): [True: 6.59M, False: 55.4M]
  ------------------
  717|  6.59M|            {
  718|  6.59M|                read_byte_string_from_source read(this);
  719|  6.59M|                read_byte_string(read, visitor, ec);
  720|  6.59M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  6.59M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 959, False: 6.59M]
  |  |  ------------------
  ------------------
  721|    959|                {
  722|    959|                    return;
  723|    959|                }
  724|  6.59M|                break;
  725|  6.59M|            }
  726|  6.59M|            case jsoncons::cbor::detail::cbor_major_type::text_string:
  ------------------
  |  Branch (726:13): [True: 2.04M, False: 60.0M]
  ------------------
  727|  2.04M|            {
  728|  2.04M|                source_.ignore(1);
  729|  2.04M|                auto sv = read_text_string_view(info, ec);
  730|  2.04M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.04M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 596, False: 2.04M]
  |  |  ------------------
  ------------------
  731|    596|                {
  732|    596|                    return;
  733|    596|                }
  734|  2.04M|                auto result = unicode_traits::validate(sv.data(),sv.size());
  735|  2.04M|                if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (735:21): [True: 197, False: 2.04M]
  ------------------
  736|    197|                {
  737|    197|                    ec = cbor_errc::invalid_utf8_text_string;
  738|    197|                    more_ = false;
  739|    197|                    return;
  740|    197|                }
  741|  2.04M|                handle_string(visitor, sv, ec);
  742|  2.04M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.04M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.04M]
  |  |  ------------------
  ------------------
  743|      0|                {
  744|      0|                    return;
  745|      0|                }
  746|  2.04M|                break;
  747|  2.04M|            }
  748|  2.04M|            case jsoncons::cbor::detail::cbor_major_type::semantic_tag:
  ------------------
  |  Branch (748:13): [True: 0, False: 62.0M]
  ------------------
  749|      0|            {
  750|      0|                JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
  751|      0|                break;
  752|  2.04M|            }
  753|  3.34M|            case jsoncons::cbor::detail::cbor_major_type::simple:
  ------------------
  |  Branch (753:13): [True: 3.34M, False: 58.7M]
  ------------------
  754|  3.34M|            {
  755|  3.34M|                switch (info)
  756|  3.34M|                {
  757|  2.82M|                    case 0x14:
  ------------------
  |  Branch (757:21): [True: 2.82M, False: 514k]
  ------------------
  758|  2.82M|                        source_.ignore(1);
  759|  2.82M|                        visitor.bool_value(false, semantic_tag::none, *this, ec);
  760|  2.82M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.82M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.82M]
  |  |  ------------------
  ------------------
  761|      0|                        {
  762|      0|                            return;
  763|      0|                        }
  764|  2.82M|                        more_ = !cursor_mode_;
  765|  2.82M|                        break;
  766|   174k|                    case 0x15:
  ------------------
  |  Branch (766:21): [True: 174k, False: 3.16M]
  ------------------
  767|   174k|                        source_.ignore(1);
  768|   174k|                        visitor.bool_value(true, semantic_tag::none, *this, ec);
  769|   174k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   174k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 174k]
  |  |  ------------------
  ------------------
  770|      0|                        {
  771|      0|                            return;
  772|      0|                        }
  773|   174k|                        more_ = !cursor_mode_;
  774|   174k|                        break;
  775|  35.0k|                    case 0x16:
  ------------------
  |  Branch (775:21): [True: 35.0k, False: 3.30M]
  ------------------
  776|  35.0k|                        source_.ignore(1);
  777|  35.0k|                        visitor.null_value(semantic_tag::none, *this, ec);
  778|  35.0k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  35.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 35.0k]
  |  |  ------------------
  ------------------
  779|      0|                        {
  780|      0|                            return;
  781|      0|                        }
  782|  35.0k|                        more_ = !cursor_mode_;
  783|  35.0k|                        break;
  784|   154k|                    case 0x17:
  ------------------
  |  Branch (784:21): [True: 154k, False: 3.18M]
  ------------------
  785|   154k|                        source_.ignore(1);
  786|   154k|                        visitor.null_value(semantic_tag::undefined, *this, ec);
  787|   154k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   154k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 154k]
  |  |  ------------------
  ------------------
  788|      0|                        {
  789|      0|                            return;
  790|      0|                        }
  791|   154k|                        more_ = !cursor_mode_;
  792|   154k|                        break;
  793|  28.7k|                    case 0x19: // Half-Precision Float (two-byte IEEE 754)
  ------------------
  |  Branch (793:21): [True: 28.7k, False: 3.31M]
  ------------------
  794|  28.7k|                    {
  795|  28.7k|                        source_.ignore(1);
  796|  28.7k|                        uint64_t val = read_unsigned_integer(info, ec);
  797|  28.7k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  28.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 39, False: 28.6k]
  |  |  ------------------
  ------------------
  798|     39|                        {
  799|     39|                            return;
  800|     39|                        }
  801|  28.6k|                        visitor.half_value(static_cast<uint16_t>(val), semantic_tag::none, *this, ec);
  802|  28.6k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  28.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 28.6k]
  |  |  ------------------
  ------------------
  803|      0|                        {
  804|      0|                            return;
  805|      0|                        }
  806|  28.6k|                        more_ = !cursor_mode_;
  807|  28.6k|                        break;
  808|  28.6k|                    }
  809|   113k|                    case 0x1a: // Single-Precision Float (four-byte IEEE 754)
  ------------------
  |  Branch (809:21): [True: 113k, False: 3.22M]
  ------------------
  810|   120k|                    case 0x1b: // Double-Precision Float (eight-byte IEEE 754)
  ------------------
  |  Branch (810:21): [True: 7.12k, False: 3.33M]
  ------------------
  811|   120k|                    {
  812|   120k|                        source_.ignore(1);
  813|   120k|                        double val = read_double(info, ec);
  814|   120k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   120k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 56, False: 120k]
  |  |  ------------------
  ------------------
  815|     56|                        {
  816|     56|                            return;
  817|     56|                        }
  818|   120k|                        semantic_tag tag = semantic_tag::none;
  819|   120k|                        if (other_tags_[item_tag])
  ------------------
  |  Branch (819:29): [True: 1.80k, False: 119k]
  ------------------
  820|  1.80k|                        {
  821|  1.80k|                            if (raw_tag_ == 1)
  ------------------
  |  Branch (821:33): [True: 397, False: 1.40k]
  ------------------
  822|    397|                            {
  823|    397|                                tag = semantic_tag::epoch_second;
  824|    397|                            }
  825|  1.80k|                            other_tags_[item_tag] = false;
  826|  1.80k|                        }
  827|   120k|                        visitor.double_value(val, tag, *this, ec);
  828|   120k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   120k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 120k]
  |  |  ------------------
  ------------------
  829|      0|                        {
  830|      0|                            return;
  831|      0|                        }
  832|   120k|                        more_ = !cursor_mode_;
  833|   120k|                        break;
  834|   120k|                    }
  835|    444|                    default:
  ------------------
  |  Branch (835:21): [True: 444, False: 3.34M]
  ------------------
  836|    444|                    {
  837|    444|                        ec = cbor_errc::unknown_type;
  838|    444|                        more_ = false;
  839|    444|                        return;
  840|   120k|                    }
  841|  3.34M|                }
  842|  3.34M|                break;
  843|  3.34M|            }
  844|  4.47M|            case jsoncons::cbor::detail::cbor_major_type::array:
  ------------------
  |  Branch (844:13): [True: 4.47M, False: 57.6M]
  ------------------
  845|  4.47M|            {
  846|  4.47M|                if (other_tags_[item_tag])
  ------------------
  |  Branch (846:21): [True: 1.68M, False: 2.79M]
  ------------------
  847|  1.68M|                {
  848|  1.68M|                    switch (raw_tag_)
  849|  1.68M|                    {
  850|  1.30M|                        case 0x04:
  ------------------
  |  Branch (850:25): [True: 1.30M, False: 382k]
  ------------------
  851|  1.30M|                            source_.ignore(1);
  852|  1.30M|                            text_buffer_.clear();
  853|  1.30M|                            read_bigdecimal(info, text_buffer_, ec);
  854|  1.30M|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  1.30M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 334, False: 1.30M]
  |  |  ------------------
  ------------------
  855|    334|                            {
  856|    334|                                return;
  857|    334|                            }
  858|  1.30M|                            visitor.string_value(text_buffer_, semantic_tag::bigdec, *this, ec);
  859|  1.30M|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  1.30M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 1.30M]
  |  |  ------------------
  ------------------
  860|      0|                            {
  861|      0|                                return;
  862|      0|                            }
  863|  1.30M|                            more_ = !cursor_mode_;
  864|  1.30M|                            break;
  865|   342k|                        case 0x05:
  ------------------
  |  Branch (865:25): [True: 342k, False: 1.34M]
  ------------------
  866|   342k|                            source_.ignore(1);
  867|   342k|                            text_buffer_.clear();
  868|   342k|                            read_bigfloat(info, text_buffer_, ec);
  869|   342k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   342k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 255, False: 342k]
  |  |  ------------------
  ------------------
  870|    255|                            {
  871|    255|                                return;
  872|    255|                            }
  873|   342k|                            visitor.string_value(text_buffer_, semantic_tag::bigfloat, *this, ec);
  874|   342k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   342k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 342k]
  |  |  ------------------
  ------------------
  875|      0|                            {
  876|      0|                                return;
  877|      0|                            }
  878|   342k|                            more_ = !cursor_mode_;
  879|   342k|                            break;
  880|  15.8k|                        case 40: // row-major storage
  ------------------
  |  Branch (880:25): [True: 15.8k, False: 1.66M]
  ------------------
  881|  15.8k|                            order_ = mdarray_order::row_major;
  882|  15.8k|                            read_mdarray_header(visitor, ec);
  883|  15.8k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  15.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1.02k, False: 14.8k]
  |  |  ------------------
  ------------------
  884|  1.02k|                            {
  885|  1.02k|                                return;
  886|  1.02k|                            }
  887|  14.8k|                            break;
  888|  14.8k|                        case 1040: // column-major storage
  ------------------
  |  Branch (888:25): [True: 13.7k, False: 1.67M]
  ------------------
  889|  13.7k|                            order_ = mdarray_order::column_major;
  890|  13.7k|                            read_mdarray_header(visitor, ec);
  891|  13.7k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  13.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 172, False: 13.5k]
  |  |  ------------------
  ------------------
  892|    172|                            {
  893|    172|                                return;
  894|    172|                            }
  895|  13.5k|                            break;
  896|  13.5k|                        default:
  ------------------
  |  Branch (896:25): [True: 9.78k, False: 1.67M]
  ------------------
  897|  9.78k|                            source_.ignore(1);
  898|  9.78k|                            begin_array(info, visitor, ec);
  899|  9.78k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  9.78k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 31, False: 9.75k]
  |  |  ------------------
  ------------------
  900|     31|                            {
  901|     31|                                return;
  902|     31|                            }
  903|  9.75k|                            break;
  904|  1.68M|                    }
  905|  1.68M|                    other_tags_[item_tag] = false;
  906|  1.68M|                }
  907|  2.79M|                else
  908|  2.79M|                {
  909|  2.79M|                    source_.ignore(1);
  910|  2.79M|                    begin_array(info, visitor, ec);
  911|  2.79M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.79M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 14, False: 2.79M]
  |  |  ------------------
  ------------------
  912|     14|                    {
  913|     14|                        return;
  914|     14|                    }
  915|  2.79M|                }
  916|  4.47M|                break;
  917|  4.47M|            }
  918|  4.47M|            case jsoncons::cbor::detail::cbor_major_type::map:
  ------------------
  |  Branch (918:13): [True: 2.12M, False: 59.9M]
  ------------------
  919|  2.12M|            {
  920|  2.12M|                source_.ignore(1);
  921|  2.12M|                begin_object(info, visitor, ec);
  922|  2.12M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.12M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 11, False: 2.12M]
  |  |  ------------------
  ------------------
  923|     11|                {
  924|     11|                    return;
  925|     11|                }
  926|  2.12M|                break;
  927|  2.12M|            }
  928|  2.12M|            default:
  ------------------
  |  Branch (928:13): [True: 0, False: 62.0M]
  ------------------
  929|      0|                ec = cbor_errc::invalid_major_type;
  930|      0|                more_ = false;
  931|      0|                return;
  932|  62.0M|        }
  933|  62.0M|        other_tags_[item_tag] = false;
  934|  62.0M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_tagsERNS3_10error_codeE:
 2092|  62.1M|    {
 2093|  62.1M|        auto c = source_.peek();
 2094|  62.1M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  62.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 3.41k, False: 62.1M]
  |  |  ------------------
  ------------------
 2095|  3.41k|        {
 2096|  3.41k|            ec = cbor_errc::unexpected_eof;
 2097|  3.41k|            more_ = false;
 2098|  3.41k|            return;
 2099|  3.41k|        }
 2100|  62.1M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 2101|  62.1M|        uint8_t info = get_additional_information(c.value);
 2102|  62.1M|        if (JSONCONS_UNLIKELY(info >= 0x1C && info <= 0x1E))
  ------------------
  |  |   79|  62.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 218, False: 62.1M]
  |  |  |  Branch (79:50): [True: 50.7k, False: 62.0M]
  |  |  |  Branch (79:50): [True: 218, False: 50.5k]
  |  |  ------------------
  ------------------
 2103|    218|        {
 2104|    218|            ec = cbor_errc::reserved_additional_info;
 2105|    218|            more_ = false;
 2106|    218|            return;
 2107|    218|        }
 2108|       |
 2109|  67.4M|        while (major_type == jsoncons::cbor::detail::cbor_major_type::semantic_tag)
  ------------------
  |  Branch (2109:16): [True: 5.34M, False: 62.1M]
  ------------------
 2110|  5.34M|        {
 2111|  5.34M|            source_.ignore(1);
 2112|  5.34M|            uint64_t val = read_unsigned_integer(info, ec);
 2113|  5.34M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  5.34M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 142, False: 5.34M]
  |  |  ------------------
  ------------------
 2114|    142|            {
 2115|    142|                return;
 2116|    142|            }
 2117|  5.34M|            switch(val)
 2118|  5.34M|            {
 2119|   106k|                case 25: // stringref
  ------------------
  |  Branch (2119:17): [True: 106k, False: 5.24M]
  ------------------
 2120|   106k|                    other_tags_[stringref_tag] = true;
 2121|   106k|                    break;
 2122|  10.4k|                case 256: // stringref-namespace
  ------------------
  |  Branch (2122:17): [True: 10.4k, False: 5.33M]
  ------------------
 2123|  10.4k|                    other_tags_[stringref_namespace_tag] = true;
 2124|  10.4k|                    break;
 2125|  5.23M|                default:
  ------------------
  |  Branch (2125:17): [True: 5.23M, False: 116k]
  ------------------
 2126|  5.23M|                    other_tags_[item_tag] = true;
 2127|  5.23M|                    raw_tag_ = val;
 2128|  5.23M|                    break;
 2129|  5.34M|            }
 2130|  5.34M|            c = source_.peek();
 2131|  5.34M|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  5.34M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 300, False: 5.34M]
  |  |  ------------------
  ------------------
 2132|    300|            {
 2133|    300|                ec = cbor_errc::unexpected_eof;
 2134|    300|                more_ = false;
 2135|    300|                return;
 2136|    300|            }
 2137|  5.34M|            major_type = get_major_type(c.value);
 2138|  5.34M|        }
 2139|  62.1M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE14get_major_typeEh:
 2078|   144M|    {
 2079|   144M|        static constexpr uint8_t major_type_shift = 0x05;
 2080|   144M|        uint8_t value = type >> major_type_shift;
 2081|   144M|        return static_cast<jsoncons::cbor::detail::cbor_major_type>(value);
 2082|   144M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE26get_additional_informationEh:
 2085|   142M|    {
 2086|   142M|        static constexpr uint8_t additional_information_mask = (1U << 5) - 1;
 2087|   142M|        uint8_t value = type & additional_information_mask;
 2088|   142M|        return value;
 2089|   142M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21read_unsigned_integerEhRNS3_10error_codeE:
 1611|  63.1M|    {
 1612|  63.1M|        switch (info)
 1613|  63.1M|        {
 1614|  62.5M|            case JSONCONS_EXT_CBOR_0x00_0x17: // 0x00..0x17 (0..23)
  ------------------
  |  |   18|  62.5M|    0x00:case 0x01:case 0x02:case 0x03:case 0x04:case 0x05:case 0x06:case 0x07:case 0x08:case 0x09:case 0x0a:case 0x0b:case 0x0c:case 0x0d:case 0x0e:case 0x0f:case 0x10:case 0x11:case 0x12:case 0x13:case 0x14:case 0x15:case 0x16:case 0x17
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 4.85M, False: 58.3M]
  |  |  |  Branch (18:20): [True: 2.03M, False: 61.1M]
  |  |  |  Branch (18:30): [True: 70.3k, False: 63.1M]
  |  |  |  Branch (18:40): [True: 1.53M, False: 61.6M]
  |  |  |  Branch (18:50): [True: 5.27M, False: 57.8M]
  |  |  |  Branch (18:60): [True: 1.88M, False: 61.2M]
  |  |  |  Branch (18:70): [True: 34.7k, False: 63.1M]
  |  |  |  Branch (18:80): [True: 58.8k, False: 63.1M]
  |  |  |  Branch (18:90): [True: 257k, False: 62.9M]
  |  |  |  Branch (18:100): [True: 2.23M, False: 60.9M]
  |  |  |  Branch (18:110): [True: 994k, False: 62.1M]
  |  |  |  Branch (18:120): [True: 7.69k, False: 63.1M]
  |  |  |  Branch (18:130): [True: 6.68k, False: 63.1M]
  |  |  |  Branch (18:140): [True: 36.0k, False: 63.1M]
  |  |  |  Branch (18:150): [True: 1.71M, False: 61.4M]
  |  |  |  Branch (18:160): [True: 38.6k, False: 63.1M]
  |  |  |  Branch (18:170): [True: 26.5k, False: 63.1M]
  |  |  |  Branch (18:180): [True: 25.1k, False: 63.1M]
  |  |  |  Branch (18:190): [True: 8.58k, False: 63.1M]
  |  |  |  Branch (18:200): [True: 14.3k, False: 63.1M]
  |  |  |  Branch (18:210): [True: 239k, False: 62.9M]
  |  |  |  Branch (18:220): [True: 15.5k, False: 63.1M]
  |  |  ------------------
  ------------------
  |  Branch (1614:13): [True: 41.1M, False: 22.0M]
  ------------------
 1615|  62.5M|            {
 1616|  62.5M|                return info;
 1617|  1.27G|            }
 1618|   450k|            case 0x18: // Unsigned integer (one-byte uint8_t follows)
  ------------------
  |  Branch (1618:13): [True: 450k, False: 62.7M]
  ------------------
 1619|   450k|            {
 1620|   450k|                uint8_t b;
 1621|   450k|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1621:21): [True: 126, False: 450k]
  ------------------
 1622|    126|                {
 1623|    126|                    ec = cbor_errc::unexpected_eof;
 1624|    126|                    return uint64_t{};
 1625|    126|                }
 1626|   450k|                return b;
 1627|   450k|            }
 1628|   157k|            case 0x19: // Unsigned integer (two-byte uint16_t follows)
  ------------------
  |  Branch (1628:13): [True: 157k, False: 63.0M]
  ------------------
 1629|   157k|            {
 1630|   157k|                uint8_t buf[sizeof(uint16_t)];
 1631|   157k|                if (source_.read(buf, sizeof(uint16_t)) != sizeof(uint16_t))
  ------------------
  |  Branch (1631:21): [True: 96, False: 157k]
  ------------------
 1632|     96|                {
 1633|     96|                    ec = cbor_errc::unexpected_eof;
 1634|     96|                    return uint64_t{};
 1635|     96|                }
 1636|   157k|                auto u = binary::big_to_native<uint16_t>(buf, sizeof(buf));
 1637|   157k|                return u;
 1638|   157k|            }
 1639|  11.1k|            case 0x1a: // Unsigned integer (four-byte uint32_t follows)
  ------------------
  |  Branch (1639:13): [True: 11.1k, False: 63.1M]
  ------------------
 1640|  11.1k|            {
 1641|  11.1k|                uint8_t buf[sizeof(uint32_t)];
 1642|  11.1k|                if (source_.read(buf, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (1642:21): [True: 22, False: 11.1k]
  ------------------
 1643|     22|                {
 1644|     22|                    ec = cbor_errc::unexpected_eof;
 1645|     22|                    return uint64_t{};
 1646|     22|                }
 1647|  11.1k|                auto u = binary::big_to_native<uint32_t>(buf, sizeof(buf));
 1648|  11.1k|                return u;
 1649|  11.1k|            }
 1650|  43.6k|            case 0x1b: // Unsigned integer (eight-byte uint64_t follows)
  ------------------
  |  Branch (1650:13): [True: 43.6k, False: 63.1M]
  ------------------
 1651|  43.6k|            {
 1652|  43.6k|                uint8_t buf[sizeof(uint64_t)];
 1653|  43.6k|                if (source_.read(buf, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (1653:21): [True: 78, False: 43.6k]
  ------------------
 1654|     78|                {
 1655|     78|                    ec = cbor_errc::unexpected_eof;
 1656|     78|                    return uint64_t{};
 1657|     78|                }
 1658|  43.6k|                auto u = binary::big_to_native<uint64_t>(buf, sizeof(buf));
 1659|  43.6k|                return u;
 1660|  43.6k|            }
 1661|     67|            default:
  ------------------
  |  Branch (1661:13): [True: 67, False: 63.1M]
  ------------------
 1662|     67|                ec = info == jsoncons::cbor::detail::additional_info::indefinite_length ? cbor_errc::unknown_type : cbor_errc::reserved_additional_info;
  ------------------
  |  Branch (1662:22): [True: 54, False: 13]
  ------------------
 1663|     67|                return uint64_t{};
 1664|  63.1M|        }
 1665|  63.1M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13handle_stringERNS_21basic_generic_visitorIcEERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS3_10error_codeE:
 2142|  2.04M|    {
 2143|  2.04M|        semantic_tag tag = semantic_tag::none;
 2144|  2.04M|        if (other_tags_[item_tag])
  ------------------
  |  Branch (2144:13): [True: 5.26k, False: 2.03M]
  ------------------
 2145|  5.26k|        {
 2146|  5.26k|            switch (raw_tag_)
 2147|  5.26k|            {
 2148|    810|                case 0:
  ------------------
  |  Branch (2148:17): [True: 810, False: 4.45k]
  ------------------
 2149|    810|                    tag = semantic_tag::datetime;
 2150|    810|                    break;
 2151|    254|                case 32:
  ------------------
  |  Branch (2151:17): [True: 254, False: 5.01k]
  ------------------
 2152|    254|                    tag = semantic_tag::uri;
 2153|    254|                    break;
 2154|  1.09k|                case 33:
  ------------------
  |  Branch (2154:17): [True: 1.09k, False: 4.17k]
  ------------------
 2155|  1.09k|                    tag = semantic_tag::base64url;
 2156|  1.09k|                    break;
 2157|    201|                case 34:
  ------------------
  |  Branch (2157:17): [True: 201, False: 5.06k]
  ------------------
 2158|    201|                    tag = semantic_tag::base64;
 2159|    201|                    break;
 2160|  2.90k|                default:
  ------------------
  |  Branch (2160:17): [True: 2.90k, False: 2.35k]
  ------------------
 2161|  2.90k|                    break;
 2162|  5.26k|            }
 2163|  5.26k|            other_tags_[item_tag] = false;
 2164|  5.26k|        }
 2165|  2.04M|        visitor.string_value(v, tag, *this, ec);
 2166|  2.04M|        more_ = !cursor_mode_;
 2167|  2.04M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_bufferC2ERKNS_16byte_string_viewE:
  175|  54.9k|            : bytes(b)
  176|  54.9k|        {
  177|  54.9k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringINS8_28read_byte_string_from_bufferEEEvT_RNS_21basic_generic_visitorIcEERNS3_10error_codeE:
 2184|  54.9k|    {
 2185|  54.9k|        if (other_tags_[item_tag])
  ------------------
  |  Branch (2185:13): [True: 47.4k, False: 7.45k]
  ------------------
 2186|  47.4k|        {
 2187|  47.4k|            switch (raw_tag_)
 2188|  47.4k|            {
 2189|  1.24k|                case 0x2:
  ------------------
  |  Branch (2189:17): [True: 1.24k, False: 46.2k]
  ------------------
 2190|  1.24k|                {
 2191|  1.24k|                    auto bytes = read.view(ec);
 2192|  1.24k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  1.24k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 1.24k]
  |  |  ------------------
  ------------------
 2193|      0|                    {
 2194|      0|                        more_ = false;
 2195|      0|                        return;
 2196|      0|                    }
 2197|  1.24k|                    bigint b = bigint::from_bytes_be(1, bytes.data(), bytes.size());
 2198|  1.24k|                    text_buffer_.clear();
 2199|  1.24k|                    b.append_to_buffer(text_buffer_);
 2200|  1.24k|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 2201|  1.24k|                    more_ = !cursor_mode_;
 2202|  1.24k|                    break;
 2203|  1.24k|                }
 2204|  3.20k|                case 0x3:
  ------------------
  |  Branch (2204:17): [True: 3.20k, False: 44.2k]
  ------------------
 2205|  3.20k|                {
 2206|  3.20k|                    auto bytes = read.view(ec);
 2207|  3.20k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  3.20k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 3.20k]
  |  |  ------------------
  ------------------
 2208|      0|                    {
 2209|      0|                        more_ = false;
 2210|      0|                        return;
 2211|      0|                    }
 2212|  3.20k|                    bigint b = bigint::from_bytes_be(1, bytes.data(), bytes.size());
 2213|  3.20k|                    b = -1 - b;
 2214|  3.20k|                    text_buffer_.clear();
 2215|  3.20k|                    b.append_to_buffer(text_buffer_);
 2216|  3.20k|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 2217|  3.20k|                    more_ = !cursor_mode_;
 2218|  3.20k|                    break;
 2219|  3.20k|                }
 2220|    205|                case 0x15:
  ------------------
  |  Branch (2220:17): [True: 205, False: 47.2k]
  ------------------
 2221|    473|                case 0x16:
  ------------------
  |  Branch (2221:17): [True: 268, False: 47.2k]
  ------------------
 2222|    673|                case 0x17:
  ------------------
  |  Branch (2222:17): [True: 200, False: 47.2k]
  ------------------
 2223|    673|                {
 2224|    673|                    auto bytes = read.view(ec);
 2225|    673|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|    673|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 673]
  |  |  ------------------
  ------------------
 2226|      0|                    {
 2227|      0|                        more_ = false;
 2228|      0|                        return;
 2229|      0|                    }
 2230|    673|                    const semantic_tag tag = raw_tag_ == 0x15 ? semantic_tag::base64url
  ------------------
  |  Branch (2230:46): [True: 205, False: 468]
  ------------------
 2231|    673|                        : raw_tag_ == 0x16 ? semantic_tag::base64
  ------------------
  |  Branch (2231:27): [True: 268, False: 200]
  ------------------
 2232|    468|                        : semantic_tag::base16;
 2233|    673|                    visitor.byte_string_value(bytes, tag, *this, ec);
 2234|    673|                    more_ = !cursor_mode_;
 2235|    673|                    break;
 2236|    673|                }
 2237|    398|                case 0x40:
  ------------------
  |  Branch (2237:17): [True: 398, False: 47.0k]
  ------------------
 2238|    398|                {
 2239|    398|                    array_tag_ = typed_array_tags::uint8;
 2240|    398|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2241|    398|                    read(array_buffer, ec);
 2242|    398|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|    398|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 398]
  |  |  ------------------
  ------------------
 2243|      0|                    {
 2244|      0|                        more_ = false;
 2245|      0|                        return;
 2246|      0|                    }
 2247|    398|                    auto ta = typed_array_cast<const uint8_t>(array_buffer);
 2248|    398|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2248:25): [True: 398, False: 0]
  |  Branch (2248:42): [True: 0, False: 398]
  ------------------
 2249|      0|                    {
 2250|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2250:29): [True: 0, False: 0]
  ------------------
 2251|      0|                        {
 2252|      0|                            ec = cbor_errc::bad_extents;
 2253|      0|                            more_ = false;
 2254|      0|                            return;
 2255|      0|                        }
 2256|      0|                        auto iter = std::make_shared<mdarray_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2257|      0|                            typed_array_tags::uint8, extents_, order_, alloc_);
 2258|      0|                        typed_array_stack_.push_back(iter);
 2259|      0|                        iter->next(visitor, *this, ec);
 2260|      0|                    }
 2261|    398|                    else
 2262|    398|                    {
 2263|    398|                        auto iter = std::make_shared<oned_typed_array_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2264|    398|                            typed_array_tags::uint8, semantic_tag::none, alloc_);
 2265|    398|                        typed_array_stack_.push_back(iter);
 2266|    398|                        iter->next(visitor, *this, ec);
 2267|    398|                    }
 2268|    398|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2269|    398|                    more_ = !cursor_mode_;
 2270|    398|                    break;
 2271|    398|                }
 2272|    235|                case 0x44:
  ------------------
  |  Branch (2272:17): [True: 235, False: 47.2k]
  ------------------
 2273|    235|                {
 2274|    235|                    array_tag_ = typed_array_tags::uint8;
 2275|    235|                    typed_array_tag_ = semantic_tag::clamped;
 2276|    235|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2277|    235|                    read(array_buffer, ec);
 2278|    235|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|    235|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 235]
  |  |  ------------------
  ------------------
 2279|      0|                    {
 2280|      0|                        more_ = false;
 2281|      0|                        return;
 2282|      0|                    }
 2283|    235|                    auto ta = typed_array_cast<const uint8_t>(array_buffer);
 2284|    235|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2284:25): [True: 235, False: 0]
  |  Branch (2284:42): [True: 0, False: 235]
  ------------------
 2285|      0|                    {
 2286|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2286:29): [True: 0, False: 0]
  ------------------
 2287|      0|                        {
 2288|      0|                            ec = cbor_errc::bad_extents;
 2289|      0|                            more_ = false;
 2290|      0|                            return;
 2291|      0|                        }
 2292|      0|                        auto iter = std::make_shared<mdarray_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2293|      0|                            typed_array_tags::uint8, extents_, order_, alloc_);
 2294|      0|                        typed_array_stack_.push_back(iter);
 2295|      0|                        iter->next(visitor, *this, ec);
 2296|      0|                    }
 2297|    235|                    else
 2298|    235|                    {
 2299|    235|                        auto iter = std::make_shared<oned_typed_array_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2300|    235|                            typed_array_tags::uint8, semantic_tag::clamped, alloc_);
 2301|    235|                        typed_array_stack_.push_back(iter);
 2302|    235|                        iter->next(visitor, *this, ec);
 2303|    235|                    }
 2304|    235|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2305|    235|                    more_ = !cursor_mode_;
 2306|    235|                    break;
 2307|    235|                }
 2308|  1.96k|                case 0x41:
  ------------------
  |  Branch (2308:17): [True: 1.96k, False: 45.5k]
  ------------------
 2309|  2.69k|                case 0x45:
  ------------------
  |  Branch (2309:17): [True: 736, False: 46.7k]
  ------------------
 2310|  2.69k|                {
 2311|  2.69k|                    array_tag_ = typed_array_tags::uint16;
 2312|  2.69k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2313|  2.69k|                    read(array_buffer, ec);
 2314|  2.69k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.69k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.69k]
  |  |  ------------------
  ------------------
 2315|      0|                    {
 2316|      0|                        more_ = false;
 2317|      0|                        return;
 2318|      0|                    }
 2319|  2.69k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2320|  2.69k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2321|  2.69k|                    auto ta = typed_array_cast<uint16_t>(array_buffer);
 2322|  2.69k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2322:25): [True: 1.96k, False: 736]
  ------------------
 2323|  1.96k|                    {
 2324|   104k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2324:49): [True: 102k, False: 1.96k]
  ------------------
 2325|   102k|                        {
 2326|   102k|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 2327|   102k|                        }
 2328|  1.96k|                    }
 2329|  2.69k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2329:25): [True: 2.69k, False: 0]
  |  Branch (2329:42): [True: 0, False: 2.69k]
  ------------------
 2330|      0|                    {
 2331|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2331:29): [True: 0, False: 0]
  ------------------
 2332|      0|                        {
 2333|      0|                            ec = cbor_errc::bad_extents;
 2334|      0|                            more_ = false;
 2335|      0|                            return;
 2336|      0|                        }
 2337|      0|                        auto iter = std::make_shared<mdarray_iterator<uint16_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2338|      0|                            typed_array_tags::uint16, extents_, order_, alloc_);
 2339|      0|                        typed_array_stack_.push_back(iter);
 2340|      0|                        iter->next(visitor, *this, ec);
 2341|      0|                    }
 2342|  2.69k|                    else
 2343|  2.69k|                    {
 2344|  2.69k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint16_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2345|  2.69k|                            typed_array_tags::uint16, semantic_tag::none, alloc_);
 2346|  2.69k|                        typed_array_stack_.push_back(iter);
 2347|  2.69k|                        iter->next(visitor, *this, ec);
 2348|  2.69k|                    }
 2349|  2.69k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2350|  2.69k|                    more_ = !cursor_mode_;
 2351|  2.69k|                    break;
 2352|  2.69k|                }
 2353|    948|                case 0x42:
  ------------------
  |  Branch (2353:17): [True: 948, False: 46.5k]
  ------------------
 2354|  1.56k|                case 0x46:
  ------------------
  |  Branch (2354:17): [True: 614, False: 46.8k]
  ------------------
 2355|  1.56k|                {
 2356|  1.56k|                    array_tag_ = typed_array_tags::uint32;
 2357|  1.56k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2358|  1.56k|                    read(array_buffer, ec);
 2359|  1.56k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  1.56k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 1.56k]
  |  |  ------------------
  ------------------
 2360|      0|                    {
 2361|      0|                        more_ = false;
 2362|      0|                        return;
 2363|      0|                    }
 2364|  1.56k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2365|  1.56k|                    jsoncons::endian e = get_typed_array_endianness(tag);
 2366|  1.56k|                    auto ta = typed_array_cast<uint32_t>(array_buffer);
 2367|  1.56k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2367:25): [True: 948, False: 614]
  ------------------
 2368|    948|                    {
 2369|   161k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2369:49): [True: 160k, False: 948]
  ------------------
 2370|   160k|                        {
 2371|   160k|                            ta[i] = binary::byte_swap<uint32_t>(ta[i]);
 2372|   160k|                        }
 2373|    948|                    }
 2374|  1.56k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2374:25): [True: 1.56k, False: 0]
  |  Branch (2374:42): [True: 0, False: 1.56k]
  ------------------
 2375|      0|                    {
 2376|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2376:29): [True: 0, False: 0]
  ------------------
 2377|      0|                        {
 2378|      0|                            ec = cbor_errc::bad_extents;
 2379|      0|                            more_ = false;
 2380|      0|                            return;
 2381|      0|                        }
 2382|      0|                        auto iter = std::make_shared<mdarray_iterator<uint32_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2383|      0|                            typed_array_tags::uint32, extents_, order_, alloc_);
 2384|      0|                        typed_array_stack_.push_back(iter);
 2385|      0|                        iter->next(visitor, *this, ec);
 2386|      0|                    }
 2387|  1.56k|                    else
 2388|  1.56k|                    {
 2389|  1.56k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint32_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2390|  1.56k|                            typed_array_tags::uint32, semantic_tag::none, alloc_);
 2391|  1.56k|                        typed_array_stack_.push_back(iter);
 2392|  1.56k|                        iter->next(visitor, *this, ec);
 2393|  1.56k|                    }
 2394|  1.56k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2395|  1.56k|                    more_ = !cursor_mode_;
 2396|  1.56k|                    break;
 2397|  1.56k|                }
 2398|    986|                case 0x43:
  ------------------
  |  Branch (2398:17): [True: 986, False: 46.4k]
  ------------------
 2399|  7.57k|                case 0x47:
  ------------------
  |  Branch (2399:17): [True: 6.59k, False: 40.8k]
  ------------------
 2400|  7.57k|                {
 2401|  7.57k|                    array_tag_ = typed_array_tags::uint64;
 2402|  7.57k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2403|  7.57k|                    read(array_buffer, ec);
 2404|  7.57k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  7.57k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 7.57k]
  |  |  ------------------
  ------------------
 2405|      0|                    {
 2406|      0|                        more_ = false;
 2407|      0|                        return;
 2408|      0|                    }
 2409|  7.57k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2410|  7.57k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2411|  7.57k|                    auto ta = typed_array_cast<uint64_t>(array_buffer);
 2412|  7.57k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2412:25): [True: 986, False: 6.59k]
  ------------------
 2413|    986|                    {
 2414|  7.02k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2414:49): [True: 6.03k, False: 986]
  ------------------
 2415|  6.03k|                        {
 2416|  6.03k|                            ta[i] = binary::byte_swap<uint64_t>(ta[i]);
 2417|  6.03k|                        }
 2418|    986|                    }
 2419|  7.57k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2419:25): [True: 7.57k, False: 0]
  |  Branch (2419:42): [True: 0, False: 7.57k]
  ------------------
 2420|      0|                    {
 2421|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2421:29): [True: 0, False: 0]
  ------------------
 2422|      0|                        {
 2423|      0|                            ec = cbor_errc::bad_extents;
 2424|      0|                            more_ = false;
 2425|      0|                            return;
 2426|      0|                        }
 2427|      0|                        auto iter = std::make_shared<mdarray_iterator<uint64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2428|      0|                            typed_array_tags::uint64, extents_, order_, alloc_);
 2429|      0|                        typed_array_stack_.push_back(iter);
 2430|      0|                        iter->next(visitor, *this, ec);
 2431|      0|                    }
 2432|  7.57k|                    else
 2433|  7.57k|                    {
 2434|  7.57k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint64_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2435|  7.57k|                            typed_array_tags::uint64, semantic_tag::none, alloc_);
 2436|  7.57k|                        typed_array_stack_.push_back(iter);
 2437|  7.57k|                        iter->next(visitor, *this, ec);
 2438|  7.57k|                    }
 2439|  7.57k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2440|  7.57k|                    more_ = !cursor_mode_;
 2441|  7.57k|                    break;
 2442|  7.57k|                }
 2443|    377|                case 0x48:
  ------------------
  |  Branch (2443:17): [True: 377, False: 47.0k]
  ------------------
 2444|    377|                {
 2445|    377|                    array_tag_ = typed_array_tags::int8;
 2446|    377|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2447|    377|                    read(array_buffer, ec);
 2448|    377|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|    377|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 377]
  |  |  ------------------
  ------------------
 2449|      0|                    {
 2450|      0|                        more_ = false;
 2451|      0|                        return;
 2452|      0|                    }
 2453|    377|                    auto ta = typed_array_cast<int8_t>(array_buffer);
 2454|    377|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2454:25): [True: 377, False: 0]
  |  Branch (2454:42): [True: 0, False: 377]
  ------------------
 2455|      0|                    {
 2456|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2456:29): [True: 0, False: 0]
  ------------------
 2457|      0|                        {
 2458|      0|                            ec = cbor_errc::bad_extents;
 2459|      0|                            more_ = false;
 2460|      0|                            return;
 2461|      0|                        }
 2462|      0|                        auto iter = std::make_shared<mdarray_iterator<int8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2463|      0|                            typed_array_tags::int8, extents_, order_, alloc_);
 2464|      0|                        typed_array_stack_.push_back(iter);
 2465|      0|                        iter->next(visitor, *this, ec);
 2466|      0|                    }
 2467|    377|                    else
 2468|    377|                    {
 2469|    377|                        auto iter = std::make_shared<oned_typed_array_iterator<int8_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2470|    377|                            typed_array_tags::int8, semantic_tag::none, alloc_);
 2471|    377|                        typed_array_stack_.push_back(iter);
 2472|    377|                        iter->next(visitor, *this, ec);
 2473|    377|                    }
 2474|    377|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2475|    377|                    more_ = !cursor_mode_;
 2476|    377|                    break;
 2477|    377|                }
 2478|  2.94k|                case 0x49:
  ------------------
  |  Branch (2478:17): [True: 2.94k, False: 44.5k]
  ------------------
 2479|  3.17k|                case 0x4d:
  ------------------
  |  Branch (2479:17): [True: 232, False: 47.2k]
  ------------------
 2480|  3.17k|                {
 2481|  3.17k|                    array_tag_ = typed_array_tags::int16;
 2482|  3.17k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2483|  3.17k|                    read(array_buffer, ec);
 2484|  3.17k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  3.17k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 3.17k]
  |  |  ------------------
  ------------------
 2485|      0|                    {
 2486|      0|                        more_ = false;
 2487|      0|                        return;
 2488|      0|                    }
 2489|  3.17k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2490|  3.17k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2491|  3.17k|                    auto ta = typed_array_cast<int16_t>(array_buffer);
 2492|  3.17k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2492:25): [True: 2.94k, False: 232]
  ------------------
 2493|  2.94k|                    {
 2494|   146k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2494:49): [True: 143k, False: 2.94k]
  ------------------
 2495|   143k|                        {
 2496|   143k|                            ta[i] = binary::byte_swap<int16_t>(ta[i]);
 2497|   143k|                        }
 2498|  2.94k|                    }
 2499|  3.17k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2499:25): [True: 3.17k, False: 0]
  |  Branch (2499:42): [True: 0, False: 3.17k]
  ------------------
 2500|      0|                    {
 2501|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2501:29): [True: 0, False: 0]
  ------------------
 2502|      0|                        {
 2503|      0|                            ec = cbor_errc::bad_extents;
 2504|      0|                            more_ = false;
 2505|      0|                            return;
 2506|      0|                        }
 2507|      0|                        auto iter = std::make_shared<mdarray_iterator<int16_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2508|      0|                            typed_array_tags::int16, extents_, order_, alloc_);
 2509|      0|                        typed_array_stack_.push_back(iter);
 2510|      0|                        iter->next(visitor, *this, ec);
 2511|      0|                    }
 2512|  3.17k|                    else
 2513|  3.17k|                    {
 2514|  3.17k|                        auto iter = std::make_shared<oned_typed_array_iterator<int16_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2515|  3.17k|                            typed_array_tags::int16, semantic_tag::none, alloc_);
 2516|  3.17k|                        typed_array_stack_.push_back(iter);
 2517|  3.17k|                        iter->next(visitor, *this, ec);
 2518|  3.17k|                    }
 2519|  3.17k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2520|  3.17k|                    more_ = !cursor_mode_;
 2521|  3.17k|                    break;
 2522|  3.17k|                }
 2523|  2.93k|                case 0x4a:
  ------------------
  |  Branch (2523:17): [True: 2.93k, False: 44.5k]
  ------------------
 2524|  3.32k|                case 0x4e:
  ------------------
  |  Branch (2524:17): [True: 399, False: 47.0k]
  ------------------
 2525|  3.32k|                {
 2526|  3.32k|                    array_tag_ = typed_array_tags::int32;
 2527|  3.32k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2528|  3.32k|                    read(array_buffer, ec);
 2529|  3.32k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  3.32k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 3.32k]
  |  |  ------------------
  ------------------
 2530|      0|                    {
 2531|      0|                        more_ = false;
 2532|      0|                        return;
 2533|      0|                    }
 2534|  3.32k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2535|  3.32k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2536|  3.32k|                    auto ta = typed_array_cast<int32_t>(array_buffer);
 2537|  3.32k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2537:25): [True: 2.93k, False: 399]
  ------------------
 2538|  2.93k|                    {
 2539|  11.7k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2539:49): [True: 8.80k, False: 2.93k]
  ------------------
 2540|  8.80k|                        {
 2541|  8.80k|                            ta[i] = binary::byte_swap<int32_t>(ta[i]);
 2542|  8.80k|                        }
 2543|  2.93k|                    }
 2544|  3.32k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2544:25): [True: 3.32k, False: 0]
  |  Branch (2544:42): [True: 0, False: 3.32k]
  ------------------
 2545|      0|                    {
 2546|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2546:29): [True: 0, False: 0]
  ------------------
 2547|      0|                        {
 2548|      0|                            ec = cbor_errc::bad_extents;
 2549|      0|                            more_ = false;
 2550|      0|                            return;
 2551|      0|                        }
 2552|      0|                        auto iter = std::make_shared<mdarray_iterator<int32_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2553|      0|                            typed_array_tags::int32, extents_, order_, alloc_);
 2554|      0|                        typed_array_stack_.push_back(iter);
 2555|      0|                        iter->next(visitor, *this, ec);
 2556|      0|                    }
 2557|  3.32k|                    else
 2558|  3.32k|                    {
 2559|  3.32k|                        auto iter = std::make_shared<oned_typed_array_iterator<int32_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2560|  3.32k|                            typed_array_tags::int32, semantic_tag::none, alloc_);
 2561|  3.32k|                        typed_array_stack_.push_back(iter);
 2562|  3.32k|                        iter->next(visitor, *this, ec);
 2563|  3.32k|                    }
 2564|  3.32k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2565|  3.32k|                    more_ = !cursor_mode_;
 2566|  3.32k|                    break;
 2567|  3.32k|                }
 2568|    614|                case 0x4b:
  ------------------
  |  Branch (2568:17): [True: 614, False: 46.8k]
  ------------------
 2569|  4.21k|                case 0x4f:
  ------------------
  |  Branch (2569:17): [True: 3.59k, False: 43.8k]
  ------------------
 2570|  4.21k|                {
 2571|  4.21k|                    array_tag_ = typed_array_tags::int64;
 2572|  4.21k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2573|  4.21k|                    read(array_buffer, ec);
 2574|  4.21k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  4.21k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 4.21k]
  |  |  ------------------
  ------------------
 2575|      0|                    {
 2576|      0|                        more_ = false;
 2577|      0|                        return;
 2578|      0|                    }
 2579|  4.21k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2580|  4.21k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2581|  4.21k|                    auto ta = typed_array_cast<int64_t>(array_buffer);
 2582|  4.21k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2582:25): [True: 614, False: 3.59k]
  ------------------
 2583|    614|                    {
 2584|  19.7k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2584:49): [True: 19.1k, False: 614]
  ------------------
 2585|  19.1k|                        {
 2586|  19.1k|                            ta[i] = binary::byte_swap<int64_t>(ta[i]);
 2587|  19.1k|                        }
 2588|    614|                    }
 2589|  4.21k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2589:25): [True: 4.21k, False: 0]
  |  Branch (2589:42): [True: 0, False: 4.21k]
  ------------------
 2590|      0|                    {
 2591|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2591:29): [True: 0, False: 0]
  ------------------
 2592|      0|                        {
 2593|      0|                            ec = cbor_errc::bad_extents;
 2594|      0|                            more_ = false;
 2595|      0|                            return;
 2596|      0|                        }
 2597|      0|                        auto iter = std::make_shared<mdarray_iterator<int64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2598|      0|                            typed_array_tags::int64, extents_, order_, alloc_);
 2599|      0|                        typed_array_stack_.push_back(iter);
 2600|      0|                        iter->next(visitor, *this, ec);
 2601|      0|                    }
 2602|  4.21k|                    else
 2603|  4.21k|                    {
 2604|  4.21k|                        auto iter = std::make_shared<oned_typed_array_iterator<int64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2605|  4.21k|                            typed_array_tags::int64, semantic_tag::none, alloc_);
 2606|  4.21k|                        typed_array_stack_.push_back(iter);
 2607|  4.21k|                        iter->next(visitor, *this, ec);
 2608|  4.21k|                    }
 2609|  4.21k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2610|  4.21k|                    more_ = !cursor_mode_;
 2611|  4.21k|                    break;
 2612|  4.21k|                }
 2613|  1.37k|                case 0x50:
  ------------------
  |  Branch (2613:17): [True: 1.37k, False: 46.0k]
  ------------------
 2614|  2.36k|                case 0x54:
  ------------------
  |  Branch (2614:17): [True: 986, False: 46.4k]
  ------------------
 2615|  2.36k|                {
 2616|  2.36k|                    array_tag_ = typed_array_tags::half_float;
 2617|  2.36k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2618|  2.36k|                    read(array_buffer, ec);
 2619|  2.36k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.36k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.36k]
  |  |  ------------------
  ------------------
 2620|      0|                    {
 2621|      0|                        more_ = false;
 2622|      0|                        return;
 2623|      0|                    }
 2624|  2.36k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2625|  2.36k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2626|  2.36k|                    auto ta = typed_array_cast<uint16_t>(array_buffer);
 2627|  2.36k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2627:25): [True: 1.37k, False: 986]
  ------------------
 2628|  1.37k|                    {
 2629|  1.00M|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2629:49): [True: 1.00M, False: 1.37k]
  ------------------
 2630|  1.00M|                        {
 2631|  1.00M|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 2632|  1.00M|                        }
 2633|  1.37k|                    }
 2634|  2.36k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2634:25): [True: 2.36k, False: 0]
  |  Branch (2634:42): [True: 0, False: 2.36k]
  ------------------
 2635|      0|                    {
 2636|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2636:29): [True: 0, False: 0]
  ------------------
 2637|      0|                        {
 2638|      0|                            ec = cbor_errc::bad_extents;
 2639|      0|                            more_ = false;
 2640|      0|                            return;
 2641|      0|                        }
 2642|      0|                        auto iter = std::make_shared<mdarray_iterator<uint16_t,decode_half,Allocator>>(std::move(array_buffer), 
 2643|      0|                            typed_array_tags::half_float, extents_, order_, alloc_);
 2644|      0|                        typed_array_stack_.push_back(iter);
 2645|      0|                        iter->next(visitor, *this, ec);
 2646|      0|                    }
 2647|  2.36k|                    else
 2648|  2.36k|                    {
 2649|  2.36k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint16_t,decode_half,Allocator>>(std::move(array_buffer),
 2650|  2.36k|                            typed_array_tags::half_float, semantic_tag::none, alloc_);
 2651|  2.36k|                        typed_array_stack_.push_back(iter);
 2652|  2.36k|                        iter->next(visitor, *this, ec);
 2653|  2.36k|                    }
 2654|  2.36k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2655|  2.36k|                    more_ = !cursor_mode_;
 2656|  2.36k|                    break;
 2657|  2.36k|                }
 2658|  3.32k|                case 0x51:
  ------------------
  |  Branch (2658:17): [True: 3.32k, False: 44.1k]
  ------------------
 2659|  10.1k|                case 0x55:
  ------------------
  |  Branch (2659:17): [True: 6.79k, False: 40.6k]
  ------------------
 2660|  10.1k|                {
 2661|  10.1k|                    array_tag_ = typed_array_tags::float32;
 2662|  10.1k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2663|  10.1k|                    read(array_buffer, ec);
 2664|  10.1k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  10.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 10.1k]
  |  |  ------------------
  ------------------
 2665|      0|                    {
 2666|      0|                        more_ = false;
 2667|      0|                        return;
 2668|      0|                    }
 2669|  10.1k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2670|  10.1k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2671|  10.1k|                    auto ta = typed_array_cast<float>(array_buffer);
 2672|  10.1k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2672:25): [True: 3.32k, False: 6.79k]
  ------------------
 2673|  3.32k|                    {
 2674|   260k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2674:49): [True: 256k, False: 3.32k]
  ------------------
 2675|   256k|                        {
 2676|   256k|                            ta[i] = binary::byte_swap<float>(ta[i]);
 2677|   256k|                        }
 2678|  3.32k|                    }
 2679|  10.1k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2679:25): [True: 10.1k, False: 0]
  |  Branch (2679:42): [True: 0, False: 10.1k]
  ------------------
 2680|      0|                    {
 2681|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2681:29): [True: 0, False: 0]
  ------------------
 2682|      0|                        {
 2683|      0|                            ec = cbor_errc::bad_extents;
 2684|      0|                            more_ = false;
 2685|      0|                            return;
 2686|      0|                        }
 2687|      0|                        auto iter = std::make_shared<mdarray_iterator<float,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2688|      0|                            typed_array_tags::float32, extents_, order_, alloc_);
 2689|      0|                        typed_array_stack_.push_back(iter);
 2690|      0|                        iter->next(visitor, *this, ec);
 2691|      0|                    }
 2692|  10.1k|                    else
 2693|  10.1k|                    {
 2694|  10.1k|                        auto iter = std::make_shared<oned_typed_array_iterator<float,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2695|  10.1k|                            typed_array_tags::float32, semantic_tag::none, alloc_);
 2696|  10.1k|                        typed_array_stack_.push_back(iter);
 2697|  10.1k|                        iter->next(visitor, *this, ec);
 2698|  10.1k|                    }
 2699|  10.1k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2700|  10.1k|                    more_ = !cursor_mode_;
 2701|  10.1k|                    break;
 2702|  10.1k|                }
 2703|    767|                case 0x52:
  ------------------
  |  Branch (2703:17): [True: 767, False: 46.7k]
  ------------------
 2704|  2.70k|                case 0x56:
  ------------------
  |  Branch (2704:17): [True: 1.93k, False: 45.5k]
  ------------------
 2705|  2.70k|                {
 2706|  2.70k|                    array_tag_ = typed_array_tags::float64;
 2707|  2.70k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2708|  2.70k|                    read(array_buffer, ec);
 2709|  2.70k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.70k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.70k]
  |  |  ------------------
  ------------------
 2710|      0|                    {
 2711|      0|                        more_ = false;
 2712|      0|                        return;
 2713|      0|                    }
 2714|  2.70k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2715|  2.70k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2716|  2.70k|                    auto ta = typed_array_cast<double>(array_buffer);
 2717|  2.70k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2717:25): [True: 767, False: 1.93k]
  ------------------
 2718|    767|                    {
 2719|  28.8k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2719:49): [True: 28.0k, False: 767]
  ------------------
 2720|  28.0k|                        {
 2721|  28.0k|                            ta[i] = binary::byte_swap<double>(ta[i]);
 2722|  28.0k|                        }
 2723|    767|                    }
 2724|  2.70k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2724:25): [True: 2.70k, False: 0]
  |  Branch (2724:42): [True: 0, False: 2.70k]
  ------------------
 2725|      0|                    {
 2726|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2726:29): [True: 0, False: 0]
  ------------------
 2727|      0|                        {
 2728|      0|                            ec = cbor_errc::bad_extents;
 2729|      0|                            more_ = false;
 2730|      0|                            return;
 2731|      0|                        }
 2732|      0|                        auto iter = std::make_shared<mdarray_iterator<double,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2733|      0|                            typed_array_tags::float64, extents_, order_, alloc_);
 2734|      0|                        typed_array_stack_.push_back(iter);
 2735|      0|                        iter->next(visitor, *this, ec);
 2736|      0|                    }
 2737|  2.70k|                    else
 2738|  2.70k|                    {
 2739|  2.70k|                        auto iter = std::make_shared<oned_typed_array_iterator<double,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2740|  2.70k|                            typed_array_tags::float64, semantic_tag::none, alloc_);
 2741|  2.70k|                        typed_array_stack_.push_back(iter);
 2742|  2.70k|                        iter->next(visitor, *this, ec);
 2743|  2.70k|                    }
 2744|  2.70k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2745|  2.70k|                    more_ = !cursor_mode_;
 2746|  2.70k|                    break;
 2747|  2.70k|                }
 2748|  3.60k|                default:
  ------------------
  |  Branch (2748:17): [True: 3.60k, False: 43.8k]
  ------------------
 2749|  3.60k|                {
 2750|  3.60k|                    auto bytes = read.view(ec);
 2751|  3.60k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  3.60k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 3.60k]
  |  |  ------------------
  ------------------
 2752|      0|                    {
 2753|      0|                        more_ = false;
 2754|      0|                        return;
 2755|      0|                    }
 2756|  3.60k|                    visitor.byte_string_value(bytes, raw_tag_, *this, ec);
 2757|  3.60k|                    more_ = !cursor_mode_;
 2758|  3.60k|                    break;
 2759|  3.60k|                }
 2760|  47.4k|            }
 2761|  47.4k|            other_tags_[item_tag] = false;
 2762|  47.4k|        }
 2763|  7.45k|        else
 2764|  7.45k|        {
 2765|  7.45k|            auto bytes = read.view(ec);
 2766|  7.45k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  7.45k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 7.45k]
  |  |  ------------------
  ------------------
 2767|      0|            {
 2768|      0|                return;
 2769|      0|            }
 2770|  7.45k|            visitor.byte_string_value(bytes, semantic_tag::none, *this, ec);
 2771|  7.45k|            more_ = !cursor_mode_;
 2772|  7.45k|        }
 2773|  54.9k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_buffer4viewERNS3_10error_codeE:
  190|  16.1k|        {
  191|  16.1k|            return bytes;
  192|  16.1k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_bufferclINS3_6vectorIhS5_EEEEvRT_RNS3_10error_codeE:
  180|  38.7k|        {
  181|  38.7k|            c.clear();
  182|  38.7k|            c.reserve(bytes.size());
  183|  38.7k|            for (auto b : bytes)
  ------------------
  |  Branch (183:25): [True: 16.5M, False: 38.7k]
  ------------------
  184|  16.5M|            {
  185|  16.5M|                c.push_back(b);
  186|  16.5M|            }
  187|  38.7k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE26get_typed_array_endiannessEh:
 2170|   211k|    {
 2171|   211k|        return ((tag & detail::cbor_array_tags_e_mask) >> detail::cbor_array_tags_e_shift) == 0 ? jsoncons::endian::big : jsoncons::endian::little; 
  ------------------
  |  Branch (2171:16): [True: 153k, False: 58.4k]
  ------------------
 2172|   211k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21read_negative_integerEhRNS_21basic_generic_visitorIcEERNS3_10error_codeE:
 1506|  11.6M|    {
 1507|  11.6M|        semantic_tag tag = semantic_tag::none;
 1508|  11.6M|        if (other_tags_[item_tag])
  ------------------
  |  Branch (1508:13): [True: 13.1k, False: 11.6M]
  ------------------
 1509|  13.1k|        {
 1510|  13.1k|            if (raw_tag_ == 1)
  ------------------
  |  Branch (1510:17): [True: 916, False: 12.2k]
  ------------------
 1511|    916|            {
 1512|    916|                tag = semantic_tag::epoch_second;
 1513|    916|            }
 1514|  13.1k|            other_tags_[item_tag] = false;
 1515|  13.1k|        }
 1516|       |
 1517|  11.6M|        switch (info)
 1518|  11.6M|        {
 1519|  11.6M|            case JSONCONS_EXT_CBOR_0x00_0x17: // 0x00..0x17 (0..23)
  ------------------
  |  |   18|  11.6M|    0x00:case 0x01:case 0x02:case 0x03:case 0x04:case 0x05:case 0x06:case 0x07:case 0x08:case 0x09:case 0x0a:case 0x0b:case 0x0c:case 0x0d:case 0x0e:case 0x0f:case 0x10:case 0x11:case 0x12:case 0x13:case 0x14:case 0x15:case 0x16:case 0x17
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 69.7k, False: 11.5M]
  |  |  |  Branch (18:20): [True: 10.7k, False: 11.6M]
  |  |  |  Branch (18:30): [True: 75.1k, False: 11.5M]
  |  |  |  Branch (18:40): [True: 32.4k, False: 11.6M]
  |  |  |  Branch (18:50): [True: 1.34M, False: 10.2M]
  |  |  |  Branch (18:60): [True: 12.2k, False: 11.6M]
  |  |  |  Branch (18:70): [True: 6.22k, False: 11.6M]
  |  |  |  Branch (18:80): [True: 365k, False: 11.2M]
  |  |  |  Branch (18:90): [True: 14.2k, False: 11.6M]
  |  |  |  Branch (18:100): [True: 8.68k, False: 11.6M]
  |  |  |  Branch (18:110): [True: 7.35k, False: 11.6M]
  |  |  |  Branch (18:120): [True: 8.53M, False: 3.10M]
  |  |  |  Branch (18:130): [True: 111k, False: 11.5M]
  |  |  |  Branch (18:140): [True: 5.72k, False: 11.6M]
  |  |  |  Branch (18:150): [True: 110k, False: 11.5M]
  |  |  |  Branch (18:160): [True: 734k, False: 10.9M]
  |  |  |  Branch (18:170): [True: 26.1k, False: 11.6M]
  |  |  |  Branch (18:180): [True: 29.4k, False: 11.6M]
  |  |  |  Branch (18:190): [True: 6.06k, False: 11.6M]
  |  |  |  Branch (18:200): [True: 4.21k, False: 11.6M]
  |  |  |  Branch (18:210): [True: 22.6k, False: 11.6M]
  |  |  |  Branch (18:220): [True: 6.24k, False: 11.6M]
  |  |  ------------------
  ------------------
  |  Branch (1519:13): [True: 13.6k, False: 11.6M]
  ------------------
 1520|  11.6M|            {
 1521|  11.6M|                int64_t val = static_cast<int8_t>(- 1 - info);
 1522|  11.6M|                visitor.int64_value(val, tag, *this, ec);
 1523|  11.6M|                more_ = !cursor_mode_;
 1524|  11.6M|                break;
 1525|   136M|            }
 1526|  3.84k|            case 0x18: // Negative integer (one-byte uint8_t follows)
  ------------------
  |  Branch (1526:13): [True: 3.84k, False: 11.6M]
  ------------------
 1527|  3.84k|            {
 1528|  3.84k|                uint8_t b;
 1529|  3.84k|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1529:21): [True: 5, False: 3.83k]
  ------------------
 1530|      5|                {
 1531|      5|                    ec = cbor_errc::unexpected_eof;
 1532|      5|                    more_ = false;
 1533|      5|                    return;
 1534|      5|                }
 1535|  3.83k|                int64_t val = static_cast<int64_t>(-1) - static_cast<int64_t>(b);
 1536|  3.83k|                visitor.int64_value(val, tag, *this, ec);
 1537|  3.83k|                more_ = !cursor_mode_;
 1538|  3.83k|                break;
 1539|  3.84k|            }
 1540|  2.61k|            case 0x19: // Negative integer -1-n (two-byte uint16_t follows)
  ------------------
  |  Branch (1540:13): [True: 2.61k, False: 11.6M]
  ------------------
 1541|  2.61k|            {
 1542|  2.61k|                uint8_t buf[sizeof(uint16_t)];
 1543|  2.61k|                if (source_.read(buf, sizeof(uint16_t)) != sizeof(uint16_t))
  ------------------
  |  Branch (1543:21): [True: 8, False: 2.61k]
  ------------------
 1544|      8|                {
 1545|      8|                    ec = cbor_errc::unexpected_eof;
 1546|      8|                    more_ = false;
 1547|      8|                    return;
 1548|      8|                }
 1549|  2.61k|                auto u = binary::big_to_native<uint16_t>(buf, sizeof(buf));
 1550|  2.61k|                int64_t val = static_cast<int64_t>(-1)- u;
 1551|  2.61k|                visitor.int64_value(val, tag, *this, ec);
 1552|  2.61k|                more_ = !cursor_mode_;
 1553|  2.61k|                break;
 1554|  2.61k|            }
 1555|  6.56k|            case 0x1a: // Negative integer -1-n (four-byte uint32_t follows)
  ------------------
  |  Branch (1555:13): [True: 6.56k, False: 11.6M]
  ------------------
 1556|  6.56k|            {
 1557|  6.56k|                uint8_t buf[sizeof(uint32_t)];
 1558|  6.56k|                if (source_.read(buf, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (1558:21): [True: 14, False: 6.55k]
  ------------------
 1559|     14|                {
 1560|     14|                    ec = cbor_errc::unexpected_eof;
 1561|     14|                    more_ = false;
 1562|     14|                    return;
 1563|     14|                }
 1564|  6.55k|                auto u = binary::big_to_native<uint32_t>(buf, sizeof(buf));
 1565|  6.55k|                int64_t val = static_cast<int64_t>(-1)- u;
 1566|  6.55k|                visitor.int64_value(val, tag, *this, ec);
 1567|  6.55k|                more_ = !cursor_mode_;
 1568|  6.55k|                break;
 1569|  6.56k|            }
 1570|  6.08k|            case 0x1b: // Negative integer -1-n (eight-byte uint64_t follows)
  ------------------
  |  Branch (1570:13): [True: 6.08k, False: 11.6M]
  ------------------
 1571|  6.08k|            {
 1572|  6.08k|                uint8_t buf[sizeof(uint64_t)];
 1573|  6.08k|                if (source_.read(buf, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (1573:21): [True: 20, False: 6.06k]
  ------------------
 1574|     20|                {
 1575|     20|                    ec = cbor_errc::unexpected_eof;
 1576|     20|                    more_ = false;
 1577|     20|                    return;
 1578|     20|                }
 1579|  6.06k|                auto u = binary::big_to_native<uint64_t>(buf, sizeof(buf));
 1580|  6.06k|                if (u > static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
  ------------------
  |  Branch (1580:21): [True: 2.42k, False: 3.63k]
  ------------------
 1581|  2.42k|                {
 1582|       |                    //ec = cbor_errc::invalid_negative_integer;
 1583|       |                    //more_ = false;
 1584|       |                    //return;
 1585|  2.42k|                    bigint b(u);
 1586|  2.42k|                    bigint b2 = -1 - b;
 1587|  2.42k|                    text_buffer_.clear();
 1588|  2.42k|                    b2.append_to_buffer(text_buffer_);
 1589|  2.42k|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 1590|  2.42k|                }
 1591|  3.63k|                else if (JSONCONS_UNLIKELY(u == static_cast<uint64_t>((std::numeric_limits<int64_t>::max)())))
  ------------------
  |  |   79|  3.63k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 82, False: 3.55k]
  |  |  ------------------
  ------------------
 1592|     82|                {
 1593|     82|                    visitor.int64_value((std::numeric_limits<int64_t>::min)(), tag, *this, ec);
 1594|     82|                }
 1595|  3.55k|                else
 1596|  3.55k|                {
 1597|  3.55k|                    int64_t val = static_cast<int64_t>(-1) - static_cast<int64_t>(u);
 1598|  3.55k|                    visitor.int64_value(val, tag, *this, ec);
 1599|  3.55k|                }
 1600|  6.06k|                more_ = !cursor_mode_;
 1601|  6.06k|                break;
 1602|  6.08k|            }
 1603|     22|            default:
  ------------------
  |  Branch (1603:13): [True: 22, False: 11.6M]
  ------------------
 1604|     22|                ec = info == jsoncons::cbor::detail::additional_info::indefinite_length ? cbor_errc::unknown_type : cbor_errc::reserved_additional_info;
  ------------------
  |  Branch (1604:22): [True: 22, False: 0]
  ------------------
 1605|     22|                more_ = false;
 1606|     22|                return;
 1607|  11.6M|        }
 1608|  11.6M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_sourceC2EPS8_:
  200|  6.61M|            : source(source)
  201|  6.61M|        {
  202|  6.61M|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringINS8_28read_byte_string_from_sourceEEEvT_RNS_21basic_generic_visitorIcEERNS3_10error_codeE:
 2184|  6.61M|    {
 2185|  6.61M|        if (other_tags_[item_tag])
  ------------------
  |  Branch (2185:13): [True: 317k, False: 6.29M]
  ------------------
 2186|   317k|        {
 2187|   317k|            switch (raw_tag_)
 2188|   317k|            {
 2189|  67.7k|                case 0x2:
  ------------------
  |  Branch (2189:17): [True: 67.7k, False: 250k]
  ------------------
 2190|  67.7k|                {
 2191|  67.7k|                    auto bytes = read.view(ec);
 2192|  67.7k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  67.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 9, False: 67.7k]
  |  |  ------------------
  ------------------
 2193|      9|                    {
 2194|      9|                        more_ = false;
 2195|      9|                        return;
 2196|      9|                    }
 2197|  67.7k|                    bigint b = bigint::from_bytes_be(1, bytes.data(), bytes.size());
 2198|  67.7k|                    text_buffer_.clear();
 2199|  67.7k|                    b.append_to_buffer(text_buffer_);
 2200|  67.7k|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 2201|  67.7k|                    more_ = !cursor_mode_;
 2202|  67.7k|                    break;
 2203|  67.7k|                }
 2204|  7.36k|                case 0x3:
  ------------------
  |  Branch (2204:17): [True: 7.36k, False: 310k]
  ------------------
 2205|  7.36k|                {
 2206|  7.36k|                    auto bytes = read.view(ec);
 2207|  7.36k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  7.36k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 15, False: 7.35k]
  |  |  ------------------
  ------------------
 2208|     15|                    {
 2209|     15|                        more_ = false;
 2210|     15|                        return;
 2211|     15|                    }
 2212|  7.35k|                    bigint b = bigint::from_bytes_be(1, bytes.data(), bytes.size());
 2213|  7.35k|                    b = -1 - b;
 2214|  7.35k|                    text_buffer_.clear();
 2215|  7.35k|                    b.append_to_buffer(text_buffer_);
 2216|  7.35k|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 2217|  7.35k|                    more_ = !cursor_mode_;
 2218|  7.35k|                    break;
 2219|  7.36k|                }
 2220|    234|                case 0x15:
  ------------------
  |  Branch (2220:17): [True: 234, False: 317k]
  ------------------
 2221|  1.02k|                case 0x16:
  ------------------
  |  Branch (2221:17): [True: 795, False: 316k]
  ------------------
 2222|  1.49k|                case 0x17:
  ------------------
  |  Branch (2222:17): [True: 462, False: 317k]
  ------------------
 2223|  1.49k|                {
 2224|  1.49k|                    auto bytes = read.view(ec);
 2225|  1.49k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  1.49k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 6, False: 1.48k]
  |  |  ------------------
  ------------------
 2226|      6|                    {
 2227|      6|                        more_ = false;
 2228|      6|                        return;
 2229|      6|                    }
 2230|  1.48k|                    const semantic_tag tag = raw_tag_ == 0x15 ? semantic_tag::base64url
  ------------------
  |  Branch (2230:46): [True: 233, False: 1.25k]
  ------------------
 2231|  1.48k|                        : raw_tag_ == 0x16 ? semantic_tag::base64
  ------------------
  |  Branch (2231:27): [True: 791, False: 461]
  ------------------
 2232|  1.25k|                        : semantic_tag::base16;
 2233|  1.48k|                    visitor.byte_string_value(bytes, tag, *this, ec);
 2234|  1.48k|                    more_ = !cursor_mode_;
 2235|  1.48k|                    break;
 2236|  1.49k|                }
 2237|  3.29k|                case 0x40:
  ------------------
  |  Branch (2237:17): [True: 3.29k, False: 314k]
  ------------------
 2238|  3.29k|                {
 2239|  3.29k|                    array_tag_ = typed_array_tags::uint8;
 2240|  3.29k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2241|  3.29k|                    read(array_buffer, ec);
 2242|  3.29k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  3.29k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 18, False: 3.27k]
  |  |  ------------------
  ------------------
 2243|     18|                    {
 2244|     18|                        more_ = false;
 2245|     18|                        return;
 2246|     18|                    }
 2247|  3.27k|                    auto ta = typed_array_cast<const uint8_t>(array_buffer);
 2248|  3.27k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2248:25): [True: 3.27k, False: 0]
  |  Branch (2248:42): [True: 698, False: 2.57k]
  ------------------
 2249|    698|                    {
 2250|    698|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2250:29): [True: 98, False: 600]
  ------------------
 2251|     98|                        {
 2252|     98|                            ec = cbor_errc::bad_extents;
 2253|     98|                            more_ = false;
 2254|     98|                            return;
 2255|     98|                        }
 2256|    600|                        auto iter = std::make_shared<mdarray_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2257|    600|                            typed_array_tags::uint8, extents_, order_, alloc_);
 2258|    600|                        typed_array_stack_.push_back(iter);
 2259|    600|                        iter->next(visitor, *this, ec);
 2260|    600|                    }
 2261|  2.57k|                    else
 2262|  2.57k|                    {
 2263|  2.57k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2264|  2.57k|                            typed_array_tags::uint8, semantic_tag::none, alloc_);
 2265|  2.57k|                        typed_array_stack_.push_back(iter);
 2266|  2.57k|                        iter->next(visitor, *this, ec);
 2267|  2.57k|                    }
 2268|  3.17k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2269|  3.17k|                    more_ = !cursor_mode_;
 2270|  3.17k|                    break;
 2271|  3.27k|                }
 2272|  2.47k|                case 0x44:
  ------------------
  |  Branch (2272:17): [True: 2.47k, False: 315k]
  ------------------
 2273|  2.47k|                {
 2274|  2.47k|                    array_tag_ = typed_array_tags::uint8;
 2275|  2.47k|                    typed_array_tag_ = semantic_tag::clamped;
 2276|  2.47k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2277|  2.47k|                    read(array_buffer, ec);
 2278|  2.47k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.47k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 6, False: 2.46k]
  |  |  ------------------
  ------------------
 2279|      6|                    {
 2280|      6|                        more_ = false;
 2281|      6|                        return;
 2282|      6|                    }
 2283|  2.46k|                    auto ta = typed_array_cast<const uint8_t>(array_buffer);
 2284|  2.46k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2284:25): [True: 2.46k, False: 0]
  |  Branch (2284:42): [True: 482, False: 1.98k]
  ------------------
 2285|    482|                    {
 2286|    482|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2286:29): [True: 85, False: 397]
  ------------------
 2287|     85|                        {
 2288|     85|                            ec = cbor_errc::bad_extents;
 2289|     85|                            more_ = false;
 2290|     85|                            return;
 2291|     85|                        }
 2292|    397|                        auto iter = std::make_shared<mdarray_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2293|    397|                            typed_array_tags::uint8, extents_, order_, alloc_);
 2294|    397|                        typed_array_stack_.push_back(iter);
 2295|    397|                        iter->next(visitor, *this, ec);
 2296|    397|                    }
 2297|  1.98k|                    else
 2298|  1.98k|                    {
 2299|  1.98k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2300|  1.98k|                            typed_array_tags::uint8, semantic_tag::clamped, alloc_);
 2301|  1.98k|                        typed_array_stack_.push_back(iter);
 2302|  1.98k|                        iter->next(visitor, *this, ec);
 2303|  1.98k|                    }
 2304|  2.38k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2305|  2.38k|                    more_ = !cursor_mode_;
 2306|  2.38k|                    break;
 2307|  2.46k|                }
 2308|  5.35k|                case 0x41:
  ------------------
  |  Branch (2308:17): [True: 5.35k, False: 312k]
  ------------------
 2309|  6.02k|                case 0x45:
  ------------------
  |  Branch (2309:17): [True: 666, False: 317k]
  ------------------
 2310|  6.02k|                {
 2311|  6.02k|                    array_tag_ = typed_array_tags::uint16;
 2312|  6.02k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2313|  6.02k|                    read(array_buffer, ec);
 2314|  6.02k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  6.02k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 8, False: 6.01k]
  |  |  ------------------
  ------------------
 2315|      8|                    {
 2316|      8|                        more_ = false;
 2317|      8|                        return;
 2318|      8|                    }
 2319|  6.01k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2320|  6.01k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2321|  6.01k|                    auto ta = typed_array_cast<uint16_t>(array_buffer);
 2322|  6.01k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2322:25): [True: 5.35k, False: 662]
  ------------------
 2323|  5.35k|                    {
 2324|  19.8k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2324:49): [True: 14.4k, False: 5.35k]
  ------------------
 2325|  14.4k|                        {
 2326|  14.4k|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 2327|  14.4k|                        }
 2328|  5.35k|                    }
 2329|  6.01k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2329:25): [True: 6.01k, False: 0]
  |  Branch (2329:42): [True: 1.14k, False: 4.87k]
  ------------------
 2330|  1.14k|                    {
 2331|  1.14k|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2331:29): [True: 64, False: 1.07k]
  ------------------
 2332|     64|                        {
 2333|     64|                            ec = cbor_errc::bad_extents;
 2334|     64|                            more_ = false;
 2335|     64|                            return;
 2336|     64|                        }
 2337|  1.07k|                        auto iter = std::make_shared<mdarray_iterator<uint16_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2338|  1.07k|                            typed_array_tags::uint16, extents_, order_, alloc_);
 2339|  1.07k|                        typed_array_stack_.push_back(iter);
 2340|  1.07k|                        iter->next(visitor, *this, ec);
 2341|  1.07k|                    }
 2342|  4.87k|                    else
 2343|  4.87k|                    {
 2344|  4.87k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint16_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2345|  4.87k|                            typed_array_tags::uint16, semantic_tag::none, alloc_);
 2346|  4.87k|                        typed_array_stack_.push_back(iter);
 2347|  4.87k|                        iter->next(visitor, *this, ec);
 2348|  4.87k|                    }
 2349|  5.94k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2350|  5.94k|                    more_ = !cursor_mode_;
 2351|  5.94k|                    break;
 2352|  6.01k|                }
 2353|  15.3k|                case 0x42:
  ------------------
  |  Branch (2353:17): [True: 15.3k, False: 302k]
  ------------------
 2354|  17.0k|                case 0x46:
  ------------------
  |  Branch (2354:17): [True: 1.68k, False: 316k]
  ------------------
 2355|  17.0k|                {
 2356|  17.0k|                    array_tag_ = typed_array_tags::uint32;
 2357|  17.0k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2358|  17.0k|                    read(array_buffer, ec);
 2359|  17.0k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  17.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 26, False: 17.0k]
  |  |  ------------------
  ------------------
 2360|     26|                    {
 2361|     26|                        more_ = false;
 2362|     26|                        return;
 2363|     26|                    }
 2364|  17.0k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2365|  17.0k|                    jsoncons::endian e = get_typed_array_endianness(tag);
 2366|  17.0k|                    auto ta = typed_array_cast<uint32_t>(array_buffer);
 2367|  17.0k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2367:25): [True: 15.3k, False: 1.66k]
  ------------------
 2368|  15.3k|                    {
 2369|  34.3k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2369:49): [True: 19.0k, False: 15.3k]
  ------------------
 2370|  19.0k|                        {
 2371|  19.0k|                            ta[i] = binary::byte_swap<uint32_t>(ta[i]);
 2372|  19.0k|                        }
 2373|  15.3k|                    }
 2374|  17.0k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2374:25): [True: 17.0k, False: 0]
  |  Branch (2374:42): [True: 875, False: 16.1k]
  ------------------
 2375|    875|                    {
 2376|    875|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2376:29): [True: 97, False: 778]
  ------------------
 2377|     97|                        {
 2378|     97|                            ec = cbor_errc::bad_extents;
 2379|     97|                            more_ = false;
 2380|     97|                            return;
 2381|     97|                        }
 2382|    778|                        auto iter = std::make_shared<mdarray_iterator<uint32_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2383|    778|                            typed_array_tags::uint32, extents_, order_, alloc_);
 2384|    778|                        typed_array_stack_.push_back(iter);
 2385|    778|                        iter->next(visitor, *this, ec);
 2386|    778|                    }
 2387|  16.1k|                    else
 2388|  16.1k|                    {
 2389|  16.1k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint32_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2390|  16.1k|                            typed_array_tags::uint32, semantic_tag::none, alloc_);
 2391|  16.1k|                        typed_array_stack_.push_back(iter);
 2392|  16.1k|                        iter->next(visitor, *this, ec);
 2393|  16.1k|                    }
 2394|  16.9k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2395|  16.9k|                    more_ = !cursor_mode_;
 2396|  16.9k|                    break;
 2397|  17.0k|                }
 2398|  1.90k|                case 0x43:
  ------------------
  |  Branch (2398:17): [True: 1.90k, False: 315k]
  ------------------
 2399|  2.70k|                case 0x47:
  ------------------
  |  Branch (2399:17): [True: 806, False: 316k]
  ------------------
 2400|  2.70k|                {
 2401|  2.70k|                    array_tag_ = typed_array_tags::uint64;
 2402|  2.70k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2403|  2.70k|                    read(array_buffer, ec);
 2404|  2.70k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.70k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 3, False: 2.70k]
  |  |  ------------------
  ------------------
 2405|      3|                    {
 2406|      3|                        more_ = false;
 2407|      3|                        return;
 2408|      3|                    }
 2409|  2.70k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2410|  2.70k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2411|  2.70k|                    auto ta = typed_array_cast<uint64_t>(array_buffer);
 2412|  2.70k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2412:25): [True: 1.90k, False: 805]
  ------------------
 2413|  1.90k|                    {
 2414|  64.9k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2414:49): [True: 63.0k, False: 1.90k]
  ------------------
 2415|  63.0k|                        {
 2416|  63.0k|                            ta[i] = binary::byte_swap<uint64_t>(ta[i]);
 2417|  63.0k|                        }
 2418|  1.90k|                    }
 2419|  2.70k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2419:25): [True: 2.70k, False: 0]
  |  Branch (2419:42): [True: 1.17k, False: 1.53k]
  ------------------
 2420|  1.17k|                    {
 2421|  1.17k|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2421:29): [True: 2, False: 1.17k]
  ------------------
 2422|      2|                        {
 2423|      2|                            ec = cbor_errc::bad_extents;
 2424|      2|                            more_ = false;
 2425|      2|                            return;
 2426|      2|                        }
 2427|  1.17k|                        auto iter = std::make_shared<mdarray_iterator<uint64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2428|  1.17k|                            typed_array_tags::uint64, extents_, order_, alloc_);
 2429|  1.17k|                        typed_array_stack_.push_back(iter);
 2430|  1.17k|                        iter->next(visitor, *this, ec);
 2431|  1.17k|                    }
 2432|  1.53k|                    else
 2433|  1.53k|                    {
 2434|  1.53k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint64_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2435|  1.53k|                            typed_array_tags::uint64, semantic_tag::none, alloc_);
 2436|  1.53k|                        typed_array_stack_.push_back(iter);
 2437|  1.53k|                        iter->next(visitor, *this, ec);
 2438|  1.53k|                    }
 2439|  2.70k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2440|  2.70k|                    more_ = !cursor_mode_;
 2441|  2.70k|                    break;
 2442|  2.70k|                }
 2443|  14.9k|                case 0x48:
  ------------------
  |  Branch (2443:17): [True: 14.9k, False: 302k]
  ------------------
 2444|  14.9k|                {
 2445|  14.9k|                    array_tag_ = typed_array_tags::int8;
 2446|  14.9k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2447|  14.9k|                    read(array_buffer, ec);
 2448|  14.9k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  14.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 18, False: 14.9k]
  |  |  ------------------
  ------------------
 2449|     18|                    {
 2450|     18|                        more_ = false;
 2451|     18|                        return;
 2452|     18|                    }
 2453|  14.9k|                    auto ta = typed_array_cast<int8_t>(array_buffer);
 2454|  14.9k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2454:25): [True: 14.9k, False: 0]
  |  Branch (2454:42): [True: 1.07k, False: 13.8k]
  ------------------
 2455|  1.07k|                    {
 2456|  1.07k|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2456:29): [True: 97, False: 981]
  ------------------
 2457|     97|                        {
 2458|     97|                            ec = cbor_errc::bad_extents;
 2459|     97|                            more_ = false;
 2460|     97|                            return;
 2461|     97|                        }
 2462|    981|                        auto iter = std::make_shared<mdarray_iterator<int8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2463|    981|                            typed_array_tags::int8, extents_, order_, alloc_);
 2464|    981|                        typed_array_stack_.push_back(iter);
 2465|    981|                        iter->next(visitor, *this, ec);
 2466|    981|                    }
 2467|  13.8k|                    else
 2468|  13.8k|                    {
 2469|  13.8k|                        auto iter = std::make_shared<oned_typed_array_iterator<int8_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2470|  13.8k|                            typed_array_tags::int8, semantic_tag::none, alloc_);
 2471|  13.8k|                        typed_array_stack_.push_back(iter);
 2472|  13.8k|                        iter->next(visitor, *this, ec);
 2473|  13.8k|                    }
 2474|  14.8k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2475|  14.8k|                    more_ = !cursor_mode_;
 2476|  14.8k|                    break;
 2477|  14.9k|                }
 2478|  93.9k|                case 0x49:
  ------------------
  |  Branch (2478:17): [True: 93.9k, False: 223k]
  ------------------
 2479|  94.6k|                case 0x4d:
  ------------------
  |  Branch (2479:17): [True: 669, False: 317k]
  ------------------
 2480|  94.6k|                {
 2481|  94.6k|                    array_tag_ = typed_array_tags::int16;
 2482|  94.6k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2483|  94.6k|                    read(array_buffer, ec);
 2484|  94.6k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  94.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 94.6k]
  |  |  ------------------
  ------------------
 2485|      4|                    {
 2486|      4|                        more_ = false;
 2487|      4|                        return;
 2488|      4|                    }
 2489|  94.6k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2490|  94.6k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2491|  94.6k|                    auto ta = typed_array_cast<int16_t>(array_buffer);
 2492|  94.6k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2492:25): [True: 93.9k, False: 669]
  ------------------
 2493|  93.9k|                    {
 2494|   105k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2494:49): [True: 11.1k, False: 93.9k]
  ------------------
 2495|  11.1k|                        {
 2496|  11.1k|                            ta[i] = binary::byte_swap<int16_t>(ta[i]);
 2497|  11.1k|                        }
 2498|  93.9k|                    }
 2499|  94.6k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2499:25): [True: 94.6k, False: 0]
  |  Branch (2499:42): [True: 1.29k, False: 93.3k]
  ------------------
 2500|  1.29k|                    {
 2501|  1.29k|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2501:29): [True: 90, False: 1.20k]
  ------------------
 2502|     90|                        {
 2503|     90|                            ec = cbor_errc::bad_extents;
 2504|     90|                            more_ = false;
 2505|     90|                            return;
 2506|     90|                        }
 2507|  1.20k|                        auto iter = std::make_shared<mdarray_iterator<int16_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2508|  1.20k|                            typed_array_tags::int16, extents_, order_, alloc_);
 2509|  1.20k|                        typed_array_stack_.push_back(iter);
 2510|  1.20k|                        iter->next(visitor, *this, ec);
 2511|  1.20k|                    }
 2512|  93.3k|                    else
 2513|  93.3k|                    {
 2514|  93.3k|                        auto iter = std::make_shared<oned_typed_array_iterator<int16_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2515|  93.3k|                            typed_array_tags::int16, semantic_tag::none, alloc_);
 2516|  93.3k|                        typed_array_stack_.push_back(iter);
 2517|  93.3k|                        iter->next(visitor, *this, ec);
 2518|  93.3k|                    }
 2519|  94.5k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2520|  94.5k|                    more_ = !cursor_mode_;
 2521|  94.5k|                    break;
 2522|  94.6k|                }
 2523|  10.1k|                case 0x4a:
  ------------------
  |  Branch (2523:17): [True: 10.1k, False: 307k]
  ------------------
 2524|  11.1k|                case 0x4e:
  ------------------
  |  Branch (2524:17): [True: 1.02k, False: 316k]
  ------------------
 2525|  11.1k|                {
 2526|  11.1k|                    array_tag_ = typed_array_tags::int32;
 2527|  11.1k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2528|  11.1k|                    read(array_buffer, ec);
 2529|  11.1k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  11.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 12, False: 11.1k]
  |  |  ------------------
  ------------------
 2530|     12|                    {
 2531|     12|                        more_ = false;
 2532|     12|                        return;
 2533|     12|                    }
 2534|  11.1k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2535|  11.1k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2536|  11.1k|                    auto ta = typed_array_cast<int32_t>(array_buffer);
 2537|  11.1k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2537:25): [True: 10.1k, False: 1.01k]
  ------------------
 2538|  10.1k|                    {
 2539|  22.4k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2539:49): [True: 12.2k, False: 10.1k]
  ------------------
 2540|  12.2k|                        {
 2541|  12.2k|                            ta[i] = binary::byte_swap<int32_t>(ta[i]);
 2542|  12.2k|                        }
 2543|  10.1k|                    }
 2544|  11.1k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2544:25): [True: 11.1k, False: 0]
  |  Branch (2544:42): [True: 1.27k, False: 9.90k]
  ------------------
 2545|  1.27k|                    {
 2546|  1.27k|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2546:29): [True: 96, False: 1.17k]
  ------------------
 2547|     96|                        {
 2548|     96|                            ec = cbor_errc::bad_extents;
 2549|     96|                            more_ = false;
 2550|     96|                            return;
 2551|     96|                        }
 2552|  1.17k|                        auto iter = std::make_shared<mdarray_iterator<int32_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2553|  1.17k|                            typed_array_tags::int32, extents_, order_, alloc_);
 2554|  1.17k|                        typed_array_stack_.push_back(iter);
 2555|  1.17k|                        iter->next(visitor, *this, ec);
 2556|  1.17k|                    }
 2557|  9.90k|                    else
 2558|  9.90k|                    {
 2559|  9.90k|                        auto iter = std::make_shared<oned_typed_array_iterator<int32_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2560|  9.90k|                            typed_array_tags::int32, semantic_tag::none, alloc_);
 2561|  9.90k|                        typed_array_stack_.push_back(iter);
 2562|  9.90k|                        iter->next(visitor, *this, ec);
 2563|  9.90k|                    }
 2564|  11.0k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2565|  11.0k|                    more_ = !cursor_mode_;
 2566|  11.0k|                    break;
 2567|  11.1k|                }
 2568|  4.20k|                case 0x4b:
  ------------------
  |  Branch (2568:17): [True: 4.20k, False: 313k]
  ------------------
 2569|  26.6k|                case 0x4f:
  ------------------
  |  Branch (2569:17): [True: 22.4k, False: 295k]
  ------------------
 2570|  26.6k|                {
 2571|  26.6k|                    array_tag_ = typed_array_tags::int64;
 2572|  26.6k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2573|  26.6k|                    read(array_buffer, ec);
 2574|  26.6k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  26.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 30, False: 26.6k]
  |  |  ------------------
  ------------------
 2575|     30|                    {
 2576|     30|                        more_ = false;
 2577|     30|                        return;
 2578|     30|                    }
 2579|  26.6k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2580|  26.6k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2581|  26.6k|                    auto ta = typed_array_cast<int64_t>(array_buffer);
 2582|  26.6k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2582:25): [True: 4.19k, False: 22.4k]
  ------------------
 2583|  4.19k|                    {
 2584|  8.22k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2584:49): [True: 4.03k, False: 4.19k]
  ------------------
 2585|  4.03k|                        {
 2586|  4.03k|                            ta[i] = binary::byte_swap<int64_t>(ta[i]);
 2587|  4.03k|                        }
 2588|  4.19k|                    }
 2589|  26.6k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2589:25): [True: 26.6k, False: 0]
  |  Branch (2589:42): [True: 2.65k, False: 23.9k]
  ------------------
 2590|  2.65k|                    {
 2591|  2.65k|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2591:29): [True: 14, False: 2.64k]
  ------------------
 2592|     14|                        {
 2593|     14|                            ec = cbor_errc::bad_extents;
 2594|     14|                            more_ = false;
 2595|     14|                            return;
 2596|     14|                        }
 2597|  2.64k|                        auto iter = std::make_shared<mdarray_iterator<int64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2598|  2.64k|                            typed_array_tags::int64, extents_, order_, alloc_);
 2599|  2.64k|                        typed_array_stack_.push_back(iter);
 2600|  2.64k|                        iter->next(visitor, *this, ec);
 2601|  2.64k|                    }
 2602|  23.9k|                    else
 2603|  23.9k|                    {
 2604|  23.9k|                        auto iter = std::make_shared<oned_typed_array_iterator<int64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2605|  23.9k|                            typed_array_tags::int64, semantic_tag::none, alloc_);
 2606|  23.9k|                        typed_array_stack_.push_back(iter);
 2607|  23.9k|                        iter->next(visitor, *this, ec);
 2608|  23.9k|                    }
 2609|  26.6k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2610|  26.6k|                    more_ = !cursor_mode_;
 2611|  26.6k|                    break;
 2612|  26.6k|                }
 2613|  3.08k|                case 0x50:
  ------------------
  |  Branch (2613:17): [True: 3.08k, False: 314k]
  ------------------
 2614|  7.52k|                case 0x54:
  ------------------
  |  Branch (2614:17): [True: 4.44k, False: 313k]
  ------------------
 2615|  7.52k|                {
 2616|  7.52k|                    array_tag_ = typed_array_tags::half_float;
 2617|  7.52k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2618|  7.52k|                    read(array_buffer, ec);
 2619|  7.52k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  7.52k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 13, False: 7.51k]
  |  |  ------------------
  ------------------
 2620|     13|                    {
 2621|     13|                        more_ = false;
 2622|     13|                        return;
 2623|     13|                    }
 2624|  7.51k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2625|  7.51k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2626|  7.51k|                    auto ta = typed_array_cast<uint16_t>(array_buffer);
 2627|  7.51k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2627:25): [True: 3.07k, False: 4.43k]
  ------------------
 2628|  3.07k|                    {
 2629|  7.28k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2629:49): [True: 4.21k, False: 3.07k]
  ------------------
 2630|  4.21k|                        {
 2631|  4.21k|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 2632|  4.21k|                        }
 2633|  3.07k|                    }
 2634|  7.51k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2634:25): [True: 7.51k, False: 0]
  |  Branch (2634:42): [True: 3.35k, False: 4.15k]
  ------------------
 2635|  3.35k|                    {
 2636|  3.35k|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2636:29): [True: 89, False: 3.26k]
  ------------------
 2637|     89|                        {
 2638|     89|                            ec = cbor_errc::bad_extents;
 2639|     89|                            more_ = false;
 2640|     89|                            return;
 2641|     89|                        }
 2642|  3.26k|                        auto iter = std::make_shared<mdarray_iterator<uint16_t,decode_half,Allocator>>(std::move(array_buffer), 
 2643|  3.26k|                            typed_array_tags::half_float, extents_, order_, alloc_);
 2644|  3.26k|                        typed_array_stack_.push_back(iter);
 2645|  3.26k|                        iter->next(visitor, *this, ec);
 2646|  3.26k|                    }
 2647|  4.15k|                    else
 2648|  4.15k|                    {
 2649|  4.15k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint16_t,decode_half,Allocator>>(std::move(array_buffer),
 2650|  4.15k|                            typed_array_tags::half_float, semantic_tag::none, alloc_);
 2651|  4.15k|                        typed_array_stack_.push_back(iter);
 2652|  4.15k|                        iter->next(visitor, *this, ec);
 2653|  4.15k|                    }
 2654|  7.42k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2655|  7.42k|                    more_ = !cursor_mode_;
 2656|  7.42k|                    break;
 2657|  7.51k|                }
 2658|  1.17k|                case 0x51:
  ------------------
  |  Branch (2658:17): [True: 1.17k, False: 316k]
  ------------------
 2659|  5.26k|                case 0x55:
  ------------------
  |  Branch (2659:17): [True: 4.08k, False: 313k]
  ------------------
 2660|  5.26k|                {
 2661|  5.26k|                    array_tag_ = typed_array_tags::float32;
 2662|  5.26k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2663|  5.26k|                    read(array_buffer, ec);
 2664|  5.26k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  5.26k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 5, False: 5.25k]
  |  |  ------------------
  ------------------
 2665|      5|                    {
 2666|      5|                        more_ = false;
 2667|      5|                        return;
 2668|      5|                    }
 2669|  5.25k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2670|  5.25k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2671|  5.25k|                    auto ta = typed_array_cast<float>(array_buffer);
 2672|  5.25k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2672:25): [True: 1.17k, False: 4.08k]
  ------------------
 2673|  1.17k|                    {
 2674|  52.5k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2674:49): [True: 51.3k, False: 1.17k]
  ------------------
 2675|  51.3k|                        {
 2676|  51.3k|                            ta[i] = binary::byte_swap<float>(ta[i]);
 2677|  51.3k|                        }
 2678|  1.17k|                    }
 2679|  5.25k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2679:25): [True: 5.25k, False: 0]
  |  Branch (2679:42): [True: 1.83k, False: 3.42k]
  ------------------
 2680|  1.83k|                    {
 2681|  1.83k|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2681:29): [True: 37, False: 1.79k]
  ------------------
 2682|     37|                        {
 2683|     37|                            ec = cbor_errc::bad_extents;
 2684|     37|                            more_ = false;
 2685|     37|                            return;
 2686|     37|                        }
 2687|  1.79k|                        auto iter = std::make_shared<mdarray_iterator<float,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2688|  1.79k|                            typed_array_tags::float32, extents_, order_, alloc_);
 2689|  1.79k|                        typed_array_stack_.push_back(iter);
 2690|  1.79k|                        iter->next(visitor, *this, ec);
 2691|  1.79k|                    }
 2692|  3.42k|                    else
 2693|  3.42k|                    {
 2694|  3.42k|                        auto iter = std::make_shared<oned_typed_array_iterator<float,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2695|  3.42k|                            typed_array_tags::float32, semantic_tag::none, alloc_);
 2696|  3.42k|                        typed_array_stack_.push_back(iter);
 2697|  3.42k|                        iter->next(visitor, *this, ec);
 2698|  3.42k|                    }
 2699|  5.22k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2700|  5.22k|                    more_ = !cursor_mode_;
 2701|  5.22k|                    break;
 2702|  5.25k|                }
 2703|  2.06k|                case 0x52:
  ------------------
  |  Branch (2703:17): [True: 2.06k, False: 315k]
  ------------------
 2704|  2.81k|                case 0x56:
  ------------------
  |  Branch (2704:17): [True: 749, False: 317k]
  ------------------
 2705|  2.81k|                {
 2706|  2.81k|                    array_tag_ = typed_array_tags::float64;
 2707|  2.81k|                    std::vector<uint8_t,byte_allocator_type> array_buffer(alloc_);
 2708|  2.81k|                    read(array_buffer, ec);
 2709|  2.81k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.81k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 20, False: 2.79k]
  |  |  ------------------
  ------------------
 2710|     20|                    {
 2711|     20|                        more_ = false;
 2712|     20|                        return;
 2713|     20|                    }
 2714|  2.79k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2715|  2.79k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2716|  2.79k|                    auto ta = typed_array_cast<double>(array_buffer);
 2717|  2.79k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2717:25): [True: 2.04k, False: 747]
  ------------------
 2718|  2.04k|                    {
 2719|  4.87k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2719:49): [True: 2.83k, False: 2.04k]
  ------------------
 2720|  2.83k|                        {
 2721|  2.83k|                            ta[i] = binary::byte_swap<double>(ta[i]);
 2722|  2.83k|                        }
 2723|  2.04k|                    }
 2724|  2.79k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2724:25): [True: 2.79k, False: 0]
  |  Branch (2724:42): [True: 1.11k, False: 1.67k]
  ------------------
 2725|  1.11k|                    {
 2726|  1.11k|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2726:29): [True: 94, False: 1.01k]
  ------------------
 2727|     94|                        {
 2728|     94|                            ec = cbor_errc::bad_extents;
 2729|     94|                            more_ = false;
 2730|     94|                            return;
 2731|     94|                        }
 2732|  1.01k|                        auto iter = std::make_shared<mdarray_iterator<double,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2733|  1.01k|                            typed_array_tags::float64, extents_, order_, alloc_);
 2734|  1.01k|                        typed_array_stack_.push_back(iter);
 2735|  1.01k|                        iter->next(visitor, *this, ec);
 2736|  1.01k|                    }
 2737|  1.67k|                    else
 2738|  1.67k|                    {
 2739|  1.67k|                        auto iter = std::make_shared<oned_typed_array_iterator<double,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2740|  1.67k|                            typed_array_tags::float64, semantic_tag::none, alloc_);
 2741|  1.67k|                        typed_array_stack_.push_back(iter);
 2742|  1.67k|                        iter->next(visitor, *this, ec);
 2743|  1.67k|                    }
 2744|  2.69k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2745|  2.69k|                    more_ = !cursor_mode_;
 2746|  2.69k|                    break;
 2747|  2.79k|                }
 2748|  46.6k|                default:
  ------------------
  |  Branch (2748:17): [True: 46.6k, False: 271k]
  ------------------
 2749|  46.6k|                {
 2750|  46.6k|                    auto bytes = read.view(ec);
 2751|  46.6k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  46.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 30, False: 46.5k]
  |  |  ------------------
  ------------------
 2752|     30|                    {
 2753|     30|                        more_ = false;
 2754|     30|                        return;
 2755|     30|                    }
 2756|  46.5k|                    visitor.byte_string_value(bytes, raw_tag_, *this, ec);
 2757|  46.5k|                    more_ = !cursor_mode_;
 2758|  46.5k|                    break;
 2759|  46.6k|                }
 2760|   317k|            }
 2761|   316k|            other_tags_[item_tag] = false;
 2762|   316k|        }
 2763|  6.29M|        else
 2764|  6.29M|        {
 2765|  6.29M|            auto bytes = read.view(ec);
 2766|  6.29M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  6.29M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 750, False: 6.29M]
  |  |  ------------------
  ------------------
 2767|    750|            {
 2768|    750|                return;
 2769|    750|            }
 2770|  6.29M|            visitor.byte_string_value(bytes, semantic_tag::none, *this, ec);
 2771|  6.29M|            more_ = !cursor_mode_;
 2772|  6.29M|        }
 2773|  6.61M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_source4viewERNS3_10error_codeE:
  210|  6.41M|        {
  211|  6.41M|            return source->read_byte_string_view(ec);
  212|  6.41M|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21read_byte_string_viewERNS3_10error_codeE:
 1143|  6.41M|    {
 1144|  6.41M|        auto c = source_.peek();
 1145|  6.41M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  6.41M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 6.41M]
  |  |  ------------------
  ------------------
 1146|      0|        {
 1147|      0|            ec = cbor_errc::unexpected_eof;
 1148|      0|            more_ = false;
 1149|      0|            return byte_string_view();
 1150|      0|        }
 1151|  6.41M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1152|  6.41M|        uint8_t info = get_additional_information(c.value);
 1153|  6.41M|        if (JSONCONS_UNLIKELY(info >= 0x1C && info <= 0x1E))
  ------------------
  |  |   79|  6.41M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 6.41M]
  |  |  |  Branch (79:50): [True: 991, False: 6.41M]
  |  |  |  Branch (79:50): [True: 0, False: 991]
  |  |  ------------------
  ------------------
 1154|      0|        {
 1155|      0|            ec = cbor_errc::reserved_additional_info;
 1156|      0|            more_ = false;
 1157|      0|            return byte_string_view();
 1158|      0|        }
 1159|       |
 1160|  6.41M|        JSONCONS_ASSERT(major_type == jsoncons::cbor::detail::cbor_major_type::byte_string);
  ------------------
  |  |   54|  6.41M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 6.41M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1161|       |
 1162|  6.41M|        source_.ignore(1);
 1163|  6.41M|        if (info == jsoncons::cbor::detail::additional_info::indefinite_length)
  ------------------
  |  Branch (1163:13): [True: 991, False: 6.41M]
  ------------------
 1164|    991|        {
 1165|    991|            bytes_buffer_.clear();
 1166|    991|            iterate_byte_string_chunks(bytes_buffer_, ec);
 1167|    991|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|    991|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 174, False: 817]
  |  |  ------------------
  ------------------
 1168|    174|            {
 1169|    174|                return byte_string_view();
 1170|    174|            }
 1171|    817|            return byte_string_view(bytes_buffer_.data(), bytes_buffer_.size());
 1172|    991|        }
 1173|       |
 1174|  6.41M|        std::size_t length = read_size(info, ec);
 1175|  6.41M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  6.41M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 20, False: 6.41M]
  |  |  ------------------
  ------------------
 1176|     20|        {
 1177|     20|            return byte_string_view();
 1178|     20|        }
 1179|  6.41M|        auto data = source_.read_span(length, bytes_buffer_);
 1180|  6.41M|        if (data.size() != length)
  ------------------
  |  Branch (1180:13): [True: 616, False: 6.41M]
  ------------------
 1181|    616|        {
 1182|    616|            ec = cbor_errc::unexpected_eof;
 1183|    616|            more_ = false;
 1184|    616|            return byte_string_view();
 1185|    616|        }
 1186|       |        
 1187|  6.41M|        byte_string_view bytes(data.data(), data.size());
 1188|  6.41M|        if (!stringref_map_stack_.empty() &&
  ------------------
  |  Branch (1188:13): [True: 3.14M, False: 3.27M]
  ------------------
 1189|  3.14M|            bytes.size() >= jsoncons::cbor::detail::min_length_for_stringref(stringref_map_stack_.back().size()))
  ------------------
  |  Branch (1189:13): [True: 2.63M, False: 503k]
  ------------------
 1190|  2.63M|        {
 1191|  2.63M|            stringref_map_stack_.back().emplace_back(mapped_string(bytes, alloc_));
 1192|  2.63M|        }
 1193|  6.41M|        return bytes;
 1194|  6.41M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE26iterate_byte_string_chunksINS3_6vectorIhS5_EEEEvRT_RNS3_10error_codeE:
 1327|  1.75k|    {
 1328|  1.75k|        bool done = false;
 1329|  2.15M|        while (!done)
  ------------------
  |  Branch (1329:16): [True: 2.14M, False: 1.53k]
  ------------------
 1330|  2.14M|        {
 1331|  2.14M|            auto c = source_.peek();
 1332|  2.14M|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  2.14M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 54, False: 2.14M]
  |  |  ------------------
  ------------------
 1333|     54|            {
 1334|     54|                ec = cbor_errc::unexpected_eof;
 1335|     54|                more_ = false;
 1336|     54|                return;
 1337|     54|            }
 1338|  2.14M|            if (c.value == 0xff)
  ------------------
  |  Branch (1338:17): [True: 1.53k, False: 2.14M]
  ------------------
 1339|  1.53k|            {
 1340|  1.53k|                source_.ignore(1);
 1341|  1.53k|                done = true;
 1342|  1.53k|                continue;
 1343|  1.53k|            }
 1344|       |
 1345|  2.14M|            jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1346|  2.14M|            if (major_type != jsoncons::cbor::detail::cbor_major_type::byte_string)
  ------------------
  |  Branch (1346:17): [True: 34, False: 2.14M]
  ------------------
 1347|     34|            {
 1348|     34|                ec = cbor_errc::illegal_chunked_string;
 1349|     34|                more_ = false;
 1350|     34|                return;
 1351|     34|            }
 1352|  2.14M|            uint8_t info = get_additional_information(c.value);
 1353|  2.14M|            if (info == jsoncons::cbor::detail::additional_info::indefinite_length)
  ------------------
  |  Branch (1353:17): [True: 16, False: 2.14M]
  ------------------
 1354|     16|            {
 1355|     16|                ec = cbor_errc::illegal_chunked_string;
 1356|     16|                more_ = false;
 1357|     16|                return;
 1358|     16|            }
 1359|       |
 1360|  2.14M|            source_.ignore(1);
 1361|  2.14M|            std::size_t length = read_size(info, ec);
 1362|  2.14M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.14M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 8, False: 2.14M]
  |  |  ------------------
  ------------------
 1363|      8|            {
 1364|      8|                return;
 1365|      8|            }
 1366|  2.14M|            if (source_reader<Source>::read(source_, v, length) != length)
  ------------------
  |  Branch (1366:17): [True: 113, False: 2.14M]
  ------------------
 1367|    113|            {
 1368|    113|                ec = cbor_errc::unexpected_eof;
 1369|    113|            }
 1370|  2.14M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.14M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 113, False: 2.14M]
  |  |  ------------------
  ------------------
 1371|    113|            {
 1372|    113|                return;
 1373|    113|            }
 1374|  2.14M|        }
 1375|  1.75k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_sizeEhRNS3_10error_codeE:
 1197|  21.6M|    {
 1198|  21.6M|        uint64_t u = read_unsigned_integer(info, ec);
 1199|  21.6M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  21.6M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 118, False: 21.6M]
  |  |  ------------------
  ------------------
 1200|    118|        {
 1201|    118|            return 0;
 1202|    118|        }
 1203|  21.6M|        std::size_t len = static_cast<std::size_t>(u);
 1204|  21.6M|        if (len != u)
  ------------------
  |  Branch (1204:13): [True: 0, False: 21.6M]
  ------------------
 1205|      0|        {
 1206|      0|            ec = cbor_errc::number_too_large;
 1207|      0|            more_ = false;
 1208|      0|        }
 1209|  21.6M|        return len;
 1210|  21.6M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2EOS9_:
  121|  7.97M|        mapped_string(mapped_string&&) = default;
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2ERKNS_16byte_string_viewERKS7_:
  110|  2.63M|            : type(jsoncons::cbor::detail::cbor_major_type::byte_string), str(alloc), bytes(bytes.begin(),bytes.end(),alloc)
  111|  2.63M|        {
  112|  2.63M|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_sourceclINS3_6vectorIhS5_EEEEvRT_RNS3_10error_codeE:
  205|   194k|        {
  206|   194k|            source->read_byte_string(cont,ec);
  207|   194k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringERNS3_6vectorIhS5_EERNS3_10error_codeE:
 1213|   513k|    {
 1214|   513k|        v.clear();
 1215|   513k|        auto c = source_.peek();
 1216|   513k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|   513k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 513k]
  |  |  ------------------
  ------------------
 1217|      0|        {
 1218|      0|            ec = cbor_errc::unexpected_eof;
 1219|      0|            return;
 1220|      0|        }
 1221|   513k|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1222|   513k|        uint8_t info = get_additional_information(c.value);
 1223|   513k|        if (JSONCONS_UNLIKELY(info >= 0x1C && info <= 0x1E))
  ------------------
  |  |   79|   514k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2, False: 513k]
  |  |  |  Branch (79:50): [True: 769, False: 512k]
  |  |  |  Branch (79:50): [True: 2, False: 767]
  |  |  ------------------
  ------------------
 1224|      2|        {
 1225|      2|            ec = cbor_errc::reserved_additional_info;
 1226|      2|            more_ = false;
 1227|      2|            return;
 1228|      2|        }
 1229|       |
 1230|   513k|        JSONCONS_ASSERT(major_type == jsoncons::cbor::detail::cbor_major_type::byte_string);
  ------------------
  |  |   54|   513k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 513k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1231|       |
 1232|   513k|        source_.ignore(1);
 1233|   513k|        if (info == jsoncons::cbor::detail::additional_info::indefinite_length)
  ------------------
  |  Branch (1233:13): [True: 767, False: 512k]
  ------------------
 1234|    767|        {
 1235|    767|            iterate_byte_string_chunks(v, ec);
 1236|    767|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|    767|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 51, False: 716]
  |  |  ------------------
  ------------------
 1237|     51|            {
 1238|     51|                return;
 1239|     51|            }
 1240|    767|        }
 1241|   512k|        else 
 1242|   512k|        {
 1243|   512k|            std::size_t length = read_size(info, ec);
 1244|   512k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   512k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 512k]
  |  |  ------------------
  ------------------
 1245|      4|            {
 1246|      4|                return;
 1247|      4|            }
 1248|   512k|            if (source_reader<Source>::read(source_, v, length) != length)
  ------------------
  |  Branch (1248:17): [True: 159, False: 512k]
  ------------------
 1249|    159|            {
 1250|    159|                ec = cbor_errc::unexpected_eof;
 1251|    159|                return;
 1252|    159|            }
 1253|   512k|            if (!stringref_map_stack_.empty() &&
  ------------------
  |  Branch (1253:17): [True: 164k, False: 347k]
  ------------------
 1254|   164k|                v.size() >= jsoncons::cbor::detail::min_length_for_stringref(stringref_map_stack_.back().size()))
  ------------------
  |  Branch (1254:17): [True: 92.2k, False: 72.7k]
  ------------------
 1255|  92.2k|            {
 1256|  92.2k|                stringref_map_stack_.back().emplace_back(mapped_string(v, alloc_));
 1257|  92.2k|            }
 1258|   512k|        }
 1259|   513k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2ERKNS3_6vectorIhS5_EERKS7_:
  104|  92.2k|            : type(jsoncons::cbor::detail::cbor_major_type::byte_string), str(alloc), bytes(bytes,alloc)
  105|  92.2k|        {
  106|  92.2k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21read_text_string_viewEhRNS3_10error_codeE:
 1109|  2.04M|    {
 1110|  2.04M|        if (info == jsoncons::cbor::detail::additional_info::indefinite_length)
  ------------------
  |  Branch (1110:13): [True: 1.74k, False: 2.03M]
  ------------------
 1111|  1.74k|        {
 1112|  1.74k|            text_buffer_.clear();
 1113|  1.74k|            iterate_text_string_chunks(text_buffer_, ec);
 1114|  1.74k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  1.74k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 198, False: 1.54k]
  |  |  ------------------
  ------------------
 1115|    198|            {
 1116|    198|                return string_view_type();
 1117|    198|            }
 1118|  1.54k|            return string_view_type(text_buffer_.data(), text_buffer_.size());
 1119|  1.74k|        }
 1120|       |
 1121|  2.03M|        std::size_t length = read_size(info, ec);
 1122|  2.03M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.03M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 9, False: 2.03M]
  |  |  ------------------
  ------------------
 1123|      9|        {
 1124|      9|            return string_view_type();
 1125|      9|        }
 1126|  2.03M|        auto data = source_.read_span(length, text_buffer_);
 1127|  2.03M|        if (data.size() != length)
  ------------------
  |  Branch (1127:13): [True: 389, False: 2.03M]
  ------------------
 1128|    389|        {
 1129|    389|            ec = cbor_errc::unexpected_eof;
 1130|    389|            more_ = false;
 1131|    389|            return string_view_type();
 1132|    389|        }
 1133|  2.03M|        string_view_type sv(reinterpret_cast<const char_type*>(data.data()), data.size());
 1134|  2.03M|        if (!stringref_map_stack_.empty() &&
  ------------------
  |  Branch (1134:13): [True: 1.19M, False: 843k]
  ------------------
 1135|  1.19M|            sv.length() >= jsoncons::cbor::detail::min_length_for_stringref(stringref_map_stack_.back().size()))
  ------------------
  |  Branch (1135:13): [True: 389k, False: 806k]
  ------------------
 1136|   389k|        {
 1137|   389k|            stringref_map_stack_.back().emplace_back(mapped_string(sv,alloc_));
 1138|   389k|        }
 1139|  2.03M|        return sv;
 1140|  2.03M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE26iterate_text_string_chunksINS3_12basic_stringIcNS3_11char_traitsIcEES7_EEEEvRT_RNS3_10error_codeE:
 1263|  1.74k|    {
 1264|  1.74k|        bool done = false;
 1265|   184k|        while (!done)
  ------------------
  |  Branch (1265:16): [True: 182k, False: 1.54k]
  ------------------
 1266|   182k|        {
 1267|   182k|            auto c = source_.peek();
 1268|   182k|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|   182k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 37, False: 182k]
  |  |  ------------------
  ------------------
 1269|     37|            {
 1270|     37|                ec = cbor_errc::unexpected_eof;
 1271|     37|                more_ = false;
 1272|     37|                return;
 1273|     37|            }
 1274|   182k|            if (c.value == 0xff)
  ------------------
  |  Branch (1274:17): [True: 1.54k, False: 180k]
  ------------------
 1275|  1.54k|            {
 1276|  1.54k|                source_.ignore(1);
 1277|  1.54k|                done = true;
 1278|  1.54k|                continue;
 1279|  1.54k|            }
 1280|       |
 1281|   180k|            jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1282|   180k|            if (major_type != jsoncons::cbor::detail::cbor_major_type::text_string)
  ------------------
  |  Branch (1282:17): [True: 31, False: 180k]
  ------------------
 1283|     31|            {
 1284|     31|                ec = cbor_errc::illegal_chunked_string;
 1285|     31|                more_ = false;
 1286|     31|                return;
 1287|     31|            }
 1288|   180k|            uint8_t info = get_additional_information(c.value);
 1289|   180k|            if (info == jsoncons::cbor::detail::additional_info::indefinite_length)
  ------------------
  |  Branch (1289:17): [True: 7, False: 180k]
  ------------------
 1290|      7|            {
 1291|      7|                ec = cbor_errc::illegal_chunked_string;
 1292|      7|                more_ = false;
 1293|      7|                return;
 1294|      7|            }
 1295|       |
 1296|   180k|            source_.ignore(1);
 1297|   180k|            std::size_t length = read_size(info, ec);
 1298|   180k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   180k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 5, False: 180k]
  |  |  ------------------
  ------------------
 1299|      5|            {
 1300|      5|                return;
 1301|      5|            }
 1302|   180k|            const std::size_t offset = v.size();
 1303|   180k|            if (source_reader<Source>::read(source_, v, length) != length)
  ------------------
  |  Branch (1303:17): [True: 112, False: 180k]
  ------------------
 1304|    112|            {
 1305|    112|                ec = cbor_errc::unexpected_eof;
 1306|    112|            }
 1307|   180k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   180k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 112, False: 180k]
  |  |  ------------------
  ------------------
 1308|    112|            {
 1309|    112|                return;
 1310|    112|            }
 1311|       |            // RFC 8949 3.2.3: each chunk of an indefinite-length text
 1312|       |            // string must itself be well-formed UTF-8, so a code point
 1313|       |            // may not be split across chunks.
 1314|   180k|            auto result = unicode_traits::validate(
 1315|   180k|                reinterpret_cast<const char*>(v.data()) + offset, length);
 1316|   180k|            if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (1316:17): [True: 6, False: 180k]
  ------------------
 1317|      6|            {
 1318|      6|                ec = cbor_errc::invalid_utf8_text_string;
 1319|      6|                more_ = false;
 1320|      6|                return;
 1321|      6|            }
 1322|   180k|        }
 1323|  1.74k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2ERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKS7_:
   93|   389k|            : type(jsoncons::cbor::detail::cbor_major_type::text_string), str(sv.data(), sv.size(), alloc), bytes(alloc)
   94|   389k|        {
   95|   389k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_doubleEhRNS3_10error_codeE:
 1668|   120k|    {
 1669|   120k|        double val = 0;
 1670|       |
 1671|   120k|        switch (info)
 1672|   120k|        {
 1673|   113k|            case 0x1a: // Single-Precision Float (four-byte IEEE 754)
  ------------------
  |  Branch (1673:13): [True: 113k, False: 7.12k]
  ------------------
 1674|   113k|            {
 1675|   113k|                uint8_t buf[sizeof(float)];
 1676|   113k|                if (source_.read(buf, sizeof(float)) !=sizeof(float)) 
  ------------------
  |  Branch (1676:21): [True: 33, False: 113k]
  ------------------
 1677|     33|                {
 1678|     33|                    ec = cbor_errc::unexpected_eof;
 1679|     33|                    more_ = false;
 1680|     33|                    return 0;
 1681|     33|                }
 1682|   113k|                val = binary::big_to_native<float>(buf, sizeof(buf));
 1683|   113k|                break;
 1684|   113k|            }
 1685|       |
 1686|  7.12k|            case 0x1b: //  Double-Precision Float (eight-byte IEEE 754)
  ------------------
  |  Branch (1686:13): [True: 7.12k, False: 113k]
  ------------------
 1687|  7.12k|            {
 1688|  7.12k|                uint8_t buf[sizeof(double)];
 1689|  7.12k|                if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (1689:21): [True: 23, False: 7.10k]
  ------------------
 1690|     23|                {
 1691|     23|                    ec = cbor_errc::unexpected_eof;
 1692|     23|                    more_ = false;
 1693|     23|                    return 0;
 1694|     23|                }
 1695|  7.10k|                val = binary::big_to_native<double>(buf, sizeof(buf));
 1696|  7.10k|                break;
 1697|  7.12k|            }
 1698|      0|            default:
  ------------------
  |  Branch (1698:13): [True: 0, False: 120k]
  ------------------
 1699|      0|            {
 1700|      0|                ec = cbor_errc::unknown_type;
 1701|      0|                more_ = false;
 1702|      0|                return 0;
 1703|  7.12k|            }
 1704|   120k|        }
 1705|       |        
 1706|   120k|        return val;
 1707|   120k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE15read_bigdecimalEhRNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
 1710|  1.30M|    {
 1711|  1.30M|        std::size_t size = read_unsigned_integer(container_info, ec);
 1712|  1.30M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  1.30M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2, False: 1.30M]
  |  |  ------------------
  ------------------
 1713|      2|        {
 1714|      2|            return;
 1715|      2|        }
 1716|  1.30M|        if (size != 2)
  ------------------
  |  Branch (1716:13): [True: 104, False: 1.30M]
  ------------------
 1717|    104|        {
 1718|    104|            ec = cbor_errc::invalid_bigdecimal;
 1719|    104|            more_ = false;
 1720|    104|            return;
 1721|    104|        }
 1722|       |
 1723|  1.30M|        auto c = source_.peek();
 1724|  1.30M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  1.30M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 15, False: 1.30M]
  |  |  ------------------
  ------------------
 1725|     15|        {
 1726|     15|            ec = cbor_errc::unexpected_eof;
 1727|     15|            more_ = false;
 1728|     15|            return;
 1729|     15|        }
 1730|  1.30M|        int64_t exponent = 0;
 1731|  1.30M|        auto major_type = get_major_type(c.value);
 1732|  1.30M|        auto info = get_additional_information(c.value);
 1733|  1.30M|        if (JSONCONS_UNLIKELY(info >= 0x1C && info <= 0x1E))
  ------------------
  |  |   79|  1.30M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1, False: 1.30M]
  |  |  |  Branch (79:50): [True: 1.88k, False: 1.30M]
  |  |  |  Branch (79:50): [True: 1, False: 1.88k]
  |  |  ------------------
  ------------------
 1734|      1|        {
 1735|      1|            ec = cbor_errc::reserved_additional_info;
 1736|      1|            more_ = false;
 1737|      1|            return;
 1738|      1|        }
 1739|       |
 1740|  1.30M|        switch (major_type)
 1741|  1.30M|        {
 1742|  1.18M|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1742:13): [True: 1.18M, False: 122k]
  ------------------
 1743|  1.18M|            {
 1744|  1.18M|                source_.ignore(1);
 1745|  1.18M|                auto u = read_unsigned_integer(info, ec);
 1746|  1.18M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  1.18M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2, False: 1.18M]
  |  |  ------------------
  ------------------
 1747|      2|                {
 1748|      2|                    more_ = false;
 1749|      2|                    return;
 1750|      2|                }
 1751|  1.18M|                if (u > static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
  ------------------
  |  Branch (1751:21): [True: 65, False: 1.18M]
  ------------------
 1752|     65|                {
 1753|     65|                    ec = cbor_errc::invalid_bigdecimal;
 1754|     65|                    more_ = false;
 1755|     65|                    return;
 1756|     65|                }
 1757|  1.18M|                exponent = static_cast<int64_t>(u);
 1758|  1.18M|                break;
 1759|  1.18M|            }
 1760|   122k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1760:13): [True: 122k, False: 1.18M]
  ------------------
 1761|   122k|            {
 1762|   122k|                auto u = read_int64(ec);
 1763|   122k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   122k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 122k]
  |  |  ------------------
  ------------------
 1764|      4|                {
 1765|      4|                    return;
 1766|      4|                }
 1767|   122k|                if (JSONCONS_UNLIKELY(u == (std::numeric_limits<int64_t>::min)()))
  ------------------
  |  |   79|   122k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2, False: 122k]
  |  |  ------------------
  ------------------
 1768|      2|                {
 1769|      2|                    ec = cbor_errc::invalid_bigdecimal;
 1770|      2|                    more_ = false;
 1771|      2|                    return;
 1772|      2|                }
 1773|   122k|                exponent = u;
 1774|   122k|                break;
 1775|   122k|            }
 1776|     18|            default:
  ------------------
  |  Branch (1776:13): [True: 18, False: 1.30M]
  ------------------
 1777|     18|            {
 1778|     18|                ec = cbor_errc::invalid_bigdecimal;
 1779|     18|                more_ = false;
 1780|     18|                return;
 1781|   122k|            }
 1782|  1.30M|        }
 1783|       |
 1784|  1.30M|        c = source_.peek();
 1785|  1.30M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  1.30M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 60, False: 1.30M]
  |  |  ------------------
  ------------------
 1786|     60|        {
 1787|     60|            ec = cbor_errc::unexpected_eof;
 1788|     60|            more_ = false;
 1789|     60|            return;
 1790|     60|        }
 1791|       |
 1792|  1.30M|        major_type = get_major_type(c.value);
 1793|  1.30M|        info = get_additional_information(c.value);
 1794|  1.30M|        if (JSONCONS_UNLIKELY(info >= 0x1C && info <= 0x1E))
  ------------------
  |  |   79|  1.30M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 1.30M]
  |  |  |  Branch (79:50): [True: 111, False: 1.30M]
  |  |  |  Branch (79:50): [True: 4, False: 107]
  |  |  ------------------
  ------------------
 1795|      4|        {
 1796|      4|            ec = cbor_errc::reserved_additional_info;
 1797|      4|            more_ = false;
 1798|      4|            return;
 1799|      4|        }
 1800|       |
 1801|  1.30M|        bigint unscaled;
 1802|  1.30M|        switch (major_type)
 1803|  1.30M|        {
 1804|  1.26M|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1804:13): [True: 1.26M, False: 36.9k]
  ------------------
 1805|  1.26M|            {
 1806|  1.26M|                source_.ignore(1);
 1807|  1.26M|                uint64_t u = read_unsigned_integer(info, ec);
 1808|  1.26M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  1.26M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 6, False: 1.26M]
  |  |  ------------------
  ------------------
 1809|      6|                {
 1810|      6|                    return;
 1811|      6|                }
 1812|  1.26M|                unscaled = bigint(u);
 1813|  1.26M|                break;
 1814|  1.26M|            }
 1815|  12.5k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1815:13): [True: 12.5k, False: 1.29M]
  ------------------
 1816|  12.5k|            {
 1817|  12.5k|                if (JSONCONS_UNLIKELY(info >= 0x1C && info <= 0x1E))
  ------------------
  |  |   79|  12.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 12.5k]
  |  |  |  Branch (79:50): [True: 1, False: 12.5k]
  |  |  |  Branch (79:50): [True: 0, False: 1]
  |  |  ------------------
  ------------------
 1818|      0|                {
 1819|      0|                    ec = cbor_errc::reserved_additional_info;
 1820|      0|                    more_ = false;
 1821|      0|                    return;
 1822|      0|                }
 1823|  12.5k|                source_.ignore(1);
 1824|  12.5k|                auto u = read_unsigned_integer(info, ec);
 1825|  12.5k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  12.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 6, False: 12.5k]
  |  |  ------------------
  ------------------
 1826|      6|                {
 1827|      6|                    return;
 1828|      6|                }
 1829|  12.5k|                if (u > static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
  ------------------
  |  Branch (1829:21): [True: 1.05k, False: 11.4k]
  ------------------
 1830|  1.05k|                {
 1831|  1.05k|                    unscaled = -1 - bigint(u);
 1832|  1.05k|                }
 1833|  11.4k|                else if (JSONCONS_UNLIKELY(u == static_cast<uint64_t>((std::numeric_limits<int64_t>::max)())))
  ------------------
  |  |   79|  11.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 235, False: 11.2k]
  |  |  ------------------
  ------------------
 1834|    235|                {
 1835|    235|                    unscaled = bigint((std::numeric_limits<int64_t>::min)());
 1836|    235|                }
 1837|  11.2k|                else
 1838|  11.2k|                {
 1839|  11.2k|                    unscaled = bigint(static_cast<int64_t>(-1) - static_cast<int64_t>(u));
 1840|  11.2k|                }
 1841|  12.5k|                break;
 1842|  12.5k|            }
 1843|  24.3k|            case jsoncons::cbor::detail::cbor_major_type::semantic_tag:
  ------------------
  |  Branch (1843:13): [True: 24.3k, False: 1.27M]
  ------------------
 1844|  24.3k|            {
 1845|  24.3k|                uint8_t b;
 1846|  24.3k|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1846:21): [True: 0, False: 24.3k]
  ------------------
 1847|      0|                {
 1848|      0|                    ec = cbor_errc::unexpected_eof;
 1849|      0|                    more_ = false;
 1850|      0|                    return;
 1851|      0|                }
 1852|  24.3k|                info = get_additional_information(b);
 1853|  24.3k|                if (JSONCONS_UNLIKELY(info >= 0x1C && info <= 0x1E))
  ------------------
  |  |   79|  24.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 24.3k]
  |  |  |  Branch (79:50): [True: 98, False: 24.2k]
  |  |  |  Branch (79:50): [True: 0, False: 98]
  |  |  ------------------
  ------------------
 1854|      0|                {
 1855|      0|                    ec = cbor_errc::reserved_additional_info;
 1856|      0|                    more_ = false;
 1857|      0|                    return;
 1858|      0|                }
 1859|  24.3k|                c = source_.peek();
 1860|  24.3k|                if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  24.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 18, False: 24.3k]
  |  |  ------------------
  ------------------
 1861|     18|                {
 1862|     18|                    ec = cbor_errc::unexpected_eof;
 1863|     18|                    more_ = false;
 1864|     18|                    return;
 1865|     18|                }
 1866|       |
 1867|  24.3k|                if (get_major_type(c.value) == jsoncons::cbor::detail::cbor_major_type::byte_string)
  ------------------
  |  Branch (1867:21): [True: 22.7k, False: 1.59k]
  ------------------
 1868|  22.7k|                {
 1869|  22.7k|                    bytes_buffer_.clear();
 1870|  22.7k|                    read_byte_string(bytes_buffer_, ec);
 1871|  22.7k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  22.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 12, False: 22.7k]
  |  |  ------------------
  ------------------
 1872|     12|                    {
 1873|     12|                        more_ = false;
 1874|     12|                        return;
 1875|     12|                    }
 1876|  22.7k|                    if (info == 2)
  ------------------
  |  Branch (1876:25): [True: 6.79k, False: 15.9k]
  ------------------
 1877|  6.79k|                    {
 1878|  6.79k|                        unscaled = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1879|  6.79k|                    }
 1880|  15.9k|                    else if (info == 3)
  ------------------
  |  Branch (1880:30): [True: 15.6k, False: 291]
  ------------------
 1881|  15.6k|                    {
 1882|  15.6k|                        unscaled = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1883|  15.6k|                        unscaled = -1 - unscaled;
 1884|  15.6k|                    }
 1885|  22.7k|                }
 1886|  24.3k|                break;
 1887|  24.3k|            }
 1888|  24.3k|            default:
  ------------------
  |  Branch (1888:13): [True: 15, False: 1.30M]
  ------------------
 1889|     15|            {
 1890|     15|                ec = cbor_errc::invalid_bigdecimal;
 1891|     15|                more_ = false;
 1892|     15|                return;
 1893|  24.3k|            }
 1894|  1.30M|        }
 1895|       |
 1896|  1.30M|        bigdec dec(std::move(unscaled), -exponent);
 1897|  1.30M|        append_to_buffer(dec, result);
 1898|  1.30M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10read_int64ERNS3_10error_codeE:
 1378|   298k|    {
 1379|   298k|        int64_t val = 0;
 1380|       |
 1381|   298k|        auto ch = source_.peek();
 1382|   298k|        if (ch.eof)
  ------------------
  |  Branch (1382:13): [True: 0, False: 298k]
  ------------------
 1383|      0|        {
 1384|      0|            ec = cbor_errc::unexpected_eof;
 1385|      0|            more_ = false;
 1386|      0|            return val;
 1387|      0|        }
 1388|       |
 1389|   298k|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(ch.value);
 1390|   298k|        uint8_t info = get_additional_information(ch.value);
 1391|   298k|        if (JSONCONS_UNLIKELY(info >= 0x1C && info <= 0x1E))
  ------------------
  |  |   79|   300k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 298k]
  |  |  |  Branch (79:50): [True: 2.07k, False: 296k]
  |  |  |  Branch (79:50): [True: 0, False: 2.07k]
  |  |  ------------------
  ------------------
 1392|      0|        {
 1393|      0|            ec = cbor_errc::reserved_additional_info;
 1394|      0|            more_ = false;
 1395|      0|            return val;
 1396|      0|        }
 1397|   298k|        switch (major_type)
 1398|   298k|        {
 1399|   298k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1399:13): [True: 298k, False: 0]
  ------------------
 1400|   298k|                source_.ignore(1);
 1401|   298k|                switch (info)
  ------------------
  |  Branch (1401:25): [True: 296k, False: 2.07k]
  ------------------
 1402|   298k|                {
 1403|   293k|                    case JSONCONS_EXT_CBOR_0x00_0x17: // 0x00..0x17 (0..23)
  ------------------
  |  |   18|   293k|    0x00:case 0x01:case 0x02:case 0x03:case 0x04:case 0x05:case 0x06:case 0x07:case 0x08:case 0x09:case 0x0a:case 0x0b:case 0x0c:case 0x0d:case 0x0e:case 0x0f:case 0x10:case 0x11:case 0x12:case 0x13:case 0x14:case 0x15:case 0x16:case 0x17
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 353, False: 298k]
  |  |  |  Branch (18:20): [True: 223, False: 298k]
  |  |  |  Branch (18:30): [True: 132k, False: 166k]
  |  |  |  Branch (18:40): [True: 100k, False: 198k]
  |  |  |  Branch (18:50): [True: 2.93k, False: 295k]
  |  |  |  Branch (18:60): [True: 2.53k, False: 296k]
  |  |  |  Branch (18:70): [True: 1.53k, False: 297k]
  |  |  |  Branch (18:80): [True: 1.89k, False: 297k]
  |  |  |  Branch (18:90): [True: 1.25k, False: 297k]
  |  |  |  Branch (18:100): [True: 520, False: 298k]
  |  |  |  Branch (18:110): [True: 437, False: 298k]
  |  |  |  Branch (18:120): [True: 5.54k, False: 293k]
  |  |  |  Branch (18:130): [True: 535, False: 298k]
  |  |  |  Branch (18:140): [True: 439, False: 298k]
  |  |  |  Branch (18:150): [True: 459, False: 298k]
  |  |  |  Branch (18:160): [True: 539, False: 298k]
  |  |  |  Branch (18:170): [True: 322, False: 298k]
  |  |  |  Branch (18:180): [True: 1.18k, False: 297k]
  |  |  |  Branch (18:190): [True: 14.7k, False: 284k]
  |  |  |  Branch (18:200): [True: 444, False: 298k]
  |  |  |  Branch (18:210): [True: 709, False: 298k]
  |  |  |  Branch (18:220): [True: 3.03k, False: 295k]
  |  |  ------------------
  ------------------
  |  Branch (1403:21): [True: 830, False: 298k]
  ------------------
 1404|   293k|                    {
 1405|   293k|                        val = static_cast<int8_t>(- 1 - info);
 1406|   293k|                        break;
 1407|  4.92M|                    }
 1408|    456|                    case 0x18: // Negative integer (one-byte uint8_t follows)
  ------------------
  |  Branch (1408:21): [True: 456, False: 298k]
  ------------------
 1409|    456|                        {
 1410|    456|                            uint8_t b;
 1411|    456|                            if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1411:33): [True: 1, False: 455]
  ------------------
 1412|      1|                            {
 1413|      1|                                ec = cbor_errc::unexpected_eof;
 1414|      1|                                more_ = false;
 1415|      1|                                return val;
 1416|      1|                            }
 1417|    455|                            val = static_cast<int64_t>(-1) - static_cast<int64_t>(b);
 1418|    455|                            break;
 1419|    456|                        }
 1420|       |
 1421|    349|                    case 0x19: // Negative integer -1-n (two-byte uint16_t follows)
  ------------------
  |  Branch (1421:21): [True: 349, False: 298k]
  ------------------
 1422|    349|                        {
 1423|    349|                            uint8_t buf[sizeof(uint16_t)];
 1424|    349|                            if (source_.read(buf, sizeof(uint16_t)) != sizeof(uint16_t))
  ------------------
  |  Branch (1424:33): [True: 1, False: 348]
  ------------------
 1425|      1|                            {
 1426|      1|                                ec = cbor_errc::unexpected_eof;
 1427|      1|                                more_ = false;
 1428|      1|                                return val;
 1429|      1|                            }
 1430|    348|                            auto u = binary::big_to_native<uint16_t>(buf, sizeof(buf));
 1431|    348|                            val = static_cast<int64_t>(-1)- u;
 1432|    348|                            break;
 1433|    349|                        }
 1434|       |
 1435|    263|                    case 0x1a: // Negative integer -1-n (four-byte uint32_t follows)
  ------------------
  |  Branch (1435:21): [True: 263, False: 298k]
  ------------------
 1436|    263|                        {
 1437|    263|                            uint8_t buf[sizeof(uint32_t)];
 1438|    263|                            if (source_.read(buf, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (1438:33): [True: 4, False: 259]
  ------------------
 1439|      4|                            {
 1440|      4|                                ec = cbor_errc::unexpected_eof;
 1441|      4|                                more_ = false;
 1442|      4|                                return val;
 1443|      4|                            }
 1444|    259|                            auto u = binary::big_to_native<uint32_t>(buf, sizeof(buf));
 1445|    259|                            val = static_cast<int64_t>(-1)- u;
 1446|    259|                            break;
 1447|    263|                        }
 1448|       |
 1449|  2.54k|                    case 0x1b: // Negative integer -1-n (eight-byte uint64_t follows)
  ------------------
  |  Branch (1449:21): [True: 2.54k, False: 296k]
  ------------------
 1450|  2.54k|                        {
 1451|  2.54k|                            uint8_t buf[sizeof(uint64_t)];
 1452|  2.54k|                            if (source_.read(buf, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (1452:33): [True: 3, False: 2.54k]
  ------------------
 1453|      3|                            {
 1454|      3|                                ec = cbor_errc::unexpected_eof;
 1455|      3|                                more_ = false;
 1456|      3|                                return val;
 1457|      3|                            }
 1458|  2.54k|                            auto u = binary::big_to_native<uint64_t>(buf, sizeof(buf));
 1459|  2.54k|                            if (u > static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
  ------------------
  |  Branch (1459:33): [True: 5, False: 2.53k]
  ------------------
 1460|      5|                            {
 1461|      5|                                ec = cbor_errc::invalid_bigdecimal;
 1462|      5|                                more_ = false;
 1463|      5|                                return val;
 1464|      5|                            }
 1465|  2.53k|                            if (JSONCONS_UNLIKELY(u == static_cast<uint64_t>((std::numeric_limits<int64_t>::max)())))
  ------------------
  |  |   79|  2.53k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 11, False: 2.52k]
  |  |  ------------------
  ------------------
 1466|     11|                            {
 1467|     11|                                val = (std::numeric_limits<int64_t>::min)();
 1468|     11|                            }
 1469|  2.52k|                            else
 1470|  2.52k|                            {
 1471|  2.52k|                                val = static_cast<int64_t>(-1)- static_cast<int64_t>(u);
 1472|  2.52k|                            }
 1473|  2.53k|                            break;
 1474|  2.54k|                        }
 1475|   298k|                }
 1476|   298k|                break;
 1477|       |
 1478|   298k|                case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1478:17): [True: 0, False: 298k]
  ------------------
 1479|      0|                {
 1480|      0|                    source_.ignore(1);
 1481|      0|                    uint64_t u = read_unsigned_integer(info, ec);
 1482|      0|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1483|      0|                    {
 1484|      0|                        return 0;
 1485|      0|                    }
 1486|      0|                    if (u <= static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
  ------------------
  |  Branch (1486:25): [True: 0, False: 0]
  ------------------
 1487|      0|                    {
 1488|      0|                        val = u;
 1489|      0|                    }
 1490|      0|                    else
 1491|      0|                    {
 1492|       |                        // error;
 1493|      0|                    }
 1494|       |                    
 1495|      0|                    break;
 1496|      0|                }
 1497|      0|                break;
 1498|      0|            default:
  ------------------
  |  Branch (1498:13): [True: 0, False: 298k]
  ------------------
 1499|      0|                break;
 1500|   298k|        }
 1501|       |
 1502|   298k|        return val;
 1503|   298k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13read_bigfloatEhRNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
 1901|   342k|    {
 1902|   342k|        std::size_t size = read_unsigned_integer(container_info, ec);
 1903|   342k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   342k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2, False: 342k]
  |  |  ------------------
  ------------------
 1904|      2|        {
 1905|      2|            return;
 1906|      2|        }
 1907|   342k|        if (size != 2)
  ------------------
  |  Branch (1907:13): [True: 86, False: 342k]
  ------------------
 1908|     86|        {
 1909|     86|            ec = cbor_errc::invalid_bigfloat;
 1910|     86|            more_ = false;
 1911|     86|            return;
 1912|     86|        }
 1913|       |
 1914|   342k|        auto c = source_.peek();
 1915|   342k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|   342k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 12, False: 342k]
  |  |  ------------------
  ------------------
 1916|     12|        {
 1917|     12|            ec = cbor_errc::unexpected_eof;
 1918|     12|            more_ = false;
 1919|     12|            return;
 1920|     12|        }
 1921|   342k|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1922|   342k|        uint8_t info = get_additional_information(c.value);
 1923|   342k|        if (JSONCONS_UNLIKELY(info >= 0x1C && info <= 0x1E))
  ------------------
  |  |   79|   342k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 342k]
  |  |  |  Branch (79:50): [True: 183, False: 342k]
  |  |  |  Branch (79:50): [True: 4, False: 179]
  |  |  ------------------
  ------------------
 1924|      4|        {
 1925|      4|            ec = cbor_errc::reserved_additional_info;
 1926|      4|            more_ = false;
 1927|      4|            return;
 1928|      4|        }
 1929|       |
 1930|   342k|        int64_t exponent = 0;
 1931|   342k|        switch (major_type)
 1932|   342k|        {
 1933|   179k|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1933:13): [True: 179k, False: 162k]
  ------------------
 1934|   179k|            {
 1935|   179k|                source_.ignore(1);
 1936|   179k|                exponent = read_unsigned_integer(info, ec);
 1937|   179k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   179k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1, False: 179k]
  |  |  ------------------
  ------------------
 1938|      1|                {
 1939|      1|                    return;
 1940|      1|                }
 1941|   179k|                break;
 1942|   179k|            }
 1943|   179k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1943:13): [True: 162k, False: 179k]
  ------------------
 1944|   162k|            {
 1945|   162k|                exponent = read_int64(ec);
 1946|   162k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   162k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 5, False: 162k]
  |  |  ------------------
  ------------------
 1947|      5|                {
 1948|      5|                    return;
 1949|      5|                }
 1950|   162k|                break;
 1951|   162k|            }
 1952|   162k|            default:
  ------------------
  |  Branch (1952:13): [True: 25, False: 342k]
  ------------------
 1953|     25|            {
 1954|     25|                ec = cbor_errc::invalid_bigfloat;
 1955|     25|                more_ = false;
 1956|     25|                return;
 1957|   162k|            }
 1958|   342k|        }
 1959|       |
 1960|   342k|        c = source_.peek();
 1961|   342k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|   342k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 35, False: 342k]
  |  |  ------------------
  ------------------
 1962|     35|        {
 1963|     35|            ec = cbor_errc::unexpected_eof;
 1964|     35|            more_ = false;
 1965|     35|            return;
 1966|     35|        }
 1967|   342k|        major_type = get_major_type(c.value);
 1968|   342k|        info = get_additional_information(c.value);
 1969|   342k|        if (JSONCONS_UNLIKELY(info >= 0x1C && info <= 0x1E))
  ------------------
  |  |   79|   342k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2, False: 342k]
  |  |  |  Branch (79:50): [True: 104, False: 342k]
  |  |  |  Branch (79:50): [True: 2, False: 102]
  |  |  ------------------
  ------------------
 1970|      2|        {
 1971|      2|            ec = cbor_errc::reserved_additional_info;
 1972|      2|            more_ = false;
 1973|      2|            return;
 1974|      2|        }
 1975|       |
 1976|   342k|        switch (major_type)
 1977|   342k|        {
 1978|  10.0k|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1978:13): [True: 10.0k, False: 332k]
  ------------------
 1979|  10.0k|            {
 1980|  10.0k|                source_.ignore(1);
 1981|  10.0k|                uint64_t val = read_unsigned_integer(info, ec);
 1982|  10.0k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  10.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 3, False: 10.0k]
  |  |  ------------------
  ------------------
 1983|      3|                {
 1984|      3|                    return;
 1985|      3|                }
 1986|  10.0k|                str.push_back('0');
 1987|  10.0k|                str.push_back('x');
 1988|  10.0k|                jsoncons::integer_to_hex(val, str);
 1989|  10.0k|                break;
 1990|  10.0k|            }
 1991|  13.3k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1991:13): [True: 13.3k, False: 329k]
  ------------------
 1992|  13.3k|            {
 1993|  13.3k|                int64_t val = read_int64(ec);
 1994|  13.3k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  13.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 5, False: 13.3k]
  |  |  ------------------
  ------------------
 1995|      5|                {
 1996|      5|                    return;
 1997|      5|                }
 1998|  13.3k|                str.push_back('-');
 1999|  13.3k|                str.push_back('0');
 2000|  13.3k|                str.push_back('x');
 2001|  13.3k|                jsoncons::integer_to_hex(static_cast<uint64_t>(-1 - val) + 1u, str);
 2002|  13.3k|                break;
 2003|  13.3k|            }
 2004|   319k|            case jsoncons::cbor::detail::cbor_major_type::semantic_tag:
  ------------------
  |  Branch (2004:13): [True: 319k, False: 23.4k]
  ------------------
 2005|   319k|            {
 2006|   319k|                uint8_t x;
 2007|   319k|                if (source_.read(&x, 1) == 0)
  ------------------
  |  Branch (2007:21): [True: 0, False: 319k]
  ------------------
 2008|      0|                {
 2009|      0|                    ec = cbor_errc::unexpected_eof;
 2010|      0|                    more_ = false;
 2011|      0|                    return;
 2012|      0|                }
 2013|   319k|                uint8_t tag = get_additional_information(x);
 2014|   319k|                if (JSONCONS_UNLIKELY(tag >= 0x1C && tag <= 0x1E))
  ------------------
  |  |   79|   319k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 319k]
  |  |  |  Branch (79:50): [True: 83, False: 318k]
  |  |  |  Branch (79:50): [True: 0, False: 83]
  |  |  ------------------
  ------------------
 2015|      0|                {
 2016|      0|                    ec = cbor_errc::reserved_additional_info;
 2017|      0|                    more_ = false;
 2018|      0|                    return;
 2019|      0|                }
 2020|       |
 2021|   319k|                c = source_.peek();
 2022|   319k|                if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|   319k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 9, False: 319k]
  |  |  ------------------
  ------------------
 2023|      9|                {
 2024|      9|                    ec = cbor_errc::unexpected_eof;
 2025|      9|                    more_ = false;
 2026|      9|                    return;
 2027|      9|                }
 2028|       |
 2029|   319k|                if (get_major_type(c.value) == jsoncons::cbor::detail::cbor_major_type::byte_string)
  ------------------
  |  Branch (2029:21): [True: 295k, False: 23.1k]
  ------------------
 2030|   295k|                {
 2031|   295k|                    bytes_buffer_.clear(); 
 2032|   295k|                    read_byte_string(bytes_buffer_, ec);
 2033|   295k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   295k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 41, False: 295k]
  |  |  ------------------
  ------------------
 2034|     41|                    {
 2035|     41|                        more_ = false;
 2036|     41|                        return;
 2037|     41|                    }
 2038|   295k|                    if (tag == 2)
  ------------------
  |  Branch (2038:25): [True: 164k, False: 131k]
  ------------------
 2039|   164k|                    {
 2040|   164k|                        str.push_back('0');
 2041|   164k|                        str.push_back('x');
 2042|   164k|                        bigint b = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 2043|   164k|                        b.write_string_hex(str);
 2044|   164k|                    }
 2045|   131k|                    else if (tag == 3)
  ------------------
  |  Branch (2045:30): [True: 131k, False: 294]
  ------------------
 2046|   131k|                    {
 2047|   131k|                        str.push_back('-');
 2048|   131k|                        str.push_back('0');
 2049|   131k|                        bigint b = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 2050|   131k|                        b = -1 - b;
 2051|   131k|                        b.write_string_hex(str);
 2052|   131k|                        str[2] = 'x'; // overwrite minus
 2053|   131k|                    }
 2054|   295k|                }
 2055|   319k|                break;
 2056|   319k|            }
 2057|   319k|            default:
  ------------------
  |  Branch (2057:13): [True: 25, False: 342k]
  ------------------
 2058|     25|            {
 2059|     25|                ec = cbor_errc::invalid_bigfloat;
 2060|     25|                more_ = false;
 2061|     25|                return;
 2062|   319k|            }
 2063|   342k|        }
 2064|       |
 2065|   342k|        str.push_back('p');
 2066|   342k|        if (exponent >=0)
  ------------------
  |  Branch (2066:13): [True: 179k, False: 162k]
  ------------------
 2067|   179k|        {
 2068|   179k|            jsoncons::integer_to_hex(static_cast<uint64_t>(exponent), str);
 2069|   179k|        }
 2070|   162k|        else
 2071|   162k|        {
 2072|   162k|            str.push_back('-');
 2073|   162k|            jsoncons::integer_to_hex(static_cast<uint64_t>(-1 - exponent) + 1u, str);
 2074|   162k|        }
 2075|   342k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE19read_mdarray_headerERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
 2776|  29.5k|    {
 2777|  29.5k|        uint8_t b;
 2778|  29.5k|        if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (2778:13): [True: 0, False: 29.5k]
  ------------------
 2779|      0|        {
 2780|      0|            ec = cbor_errc::unexpected_eof;
 2781|      0|            more_ = false;
 2782|      0|            return;
 2783|      0|        }
 2784|  29.5k|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(b);
 2785|  29.5k|        JSONCONS_ASSERT(major_type == jsoncons::cbor::detail::cbor_major_type::array);
  ------------------
  |  |   54|  29.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 29.5k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 2786|  29.5k|        uint8_t info = get_additional_information(b);
 2787|  29.5k|        if (JSONCONS_UNLIKELY(info >= 0x1C && info <= 0x1E))
  ------------------
  |  |   79|  31.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 29.5k]
  |  |  |  Branch (79:50): [True: 1.45k, False: 28.1k]
  |  |  |  Branch (79:50): [True: 0, False: 1.45k]
  |  |  ------------------
  ------------------
 2788|      0|        {
 2789|      0|            ec = cbor_errc::reserved_additional_info;
 2790|      0|            more_ = false;
 2791|      0|            return;
 2792|      0|        }
 2793|       |       
 2794|  29.5k|        read_extents(ec);   
 2795|  29.5k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  29.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 249, False: 29.3k]
  |  |  ------------------
  ------------------
 2796|    249|        {
 2797|    249|            return;
 2798|    249|        }
 2799|       |
 2800|  29.3k|        read_tags(ec);
 2801|  29.3k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  29.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 33, False: 29.3k]
  |  |  ------------------
  ------------------
 2802|     33|        {
 2803|     33|            return;
 2804|     33|        }
 2805|  29.3k|        auto c = source_.peek();
 2806|  29.3k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  29.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 29.3k]
  |  |  ------------------
  ------------------
 2807|      0|        {
 2808|      0|            ec = cbor_errc::unexpected_eof;
 2809|      0|            more_ = false;
 2810|      0|            return;
 2811|      0|        }
 2812|  29.3k|        major_type = get_major_type(c.value);
 2813|  29.3k|        info = get_additional_information(c.value);
 2814|  29.3k|        if (JSONCONS_UNLIKELY(info >= 0x1C && info <= 0x1E))
  ------------------
  |  |   79|  30.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2, False: 29.3k]
  |  |  |  Branch (79:50): [True: 1.16k, False: 28.1k]
  |  |  |  Branch (79:50): [True: 2, False: 1.16k]
  |  |  ------------------
  ------------------
 2815|      2|        {
 2816|      2|            ec = cbor_errc::reserved_additional_info;
 2817|      2|            more_ = false;
 2818|      2|            return;
 2819|      2|        }
 2820|  29.3k|        state_stack_.emplace_back(parse_mode::multi_dim, 0);
 2821|  29.3k|        ++state_stack_.back().index;
 2822|       |
 2823|  29.3k|        if (major_type == jsoncons::cbor::detail::cbor_major_type::array && order_ == mdarray_order::row_major) 
  ------------------
  |  Branch (2823:13): [True: 12.2k, False: 17.0k]
  |  Branch (2823:77): [True: 5.03k, False: 7.25k]
  ------------------
 2824|  5.03k|        {
 2825|  5.03k|            source_.ignore(1);
 2826|  5.03k|            begin_classical_array_storage(info, ec);
 2827|  5.03k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  5.03k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2, False: 5.03k]
  |  |  ------------------
  ------------------
 2828|      2|            {
 2829|      2|                return;
 2830|      2|            }
 2831|  5.03k|            auto iter = std::make_shared<cbor_mdarray_row_major_iterator<Source,Allocator>>(extents_, this, cursor_mode_, alloc_);
 2832|  5.03k|            typed_array_stack_.push_back(iter);
 2833|  5.03k|            if (!iter->done())
  ------------------
  |  Branch (2833:17): [True: 5.03k, False: 0]
  ------------------
 2834|  5.03k|            {
 2835|  5.03k|                iter->next(visitor, *this, ec);
 2836|  5.03k|            }
 2837|  5.03k|        }
 2838|  24.2k|        else if (major_type == jsoncons::cbor::detail::cbor_major_type::array && order_ == mdarray_order::column_major) 
  ------------------
  |  Branch (2838:18): [True: 7.25k, False: 17.0k]
  |  Branch (2838:82): [True: 7.25k, False: 0]
  ------------------
 2839|  7.25k|        {
 2840|  7.25k|            source_.ignore(1);
 2841|  7.25k|            begin_classical_array_storage(info, ec);
 2842|  7.25k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  7.25k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 3, False: 7.24k]
  |  |  ------------------
  ------------------
 2843|      3|            {
 2844|      3|                return;
 2845|      3|            }
 2846|  7.24k|            auto iter = std::make_shared<cbor_mdarray_column_major_iterator<Source,Allocator>>(extents_, this, cursor_mode_, alloc_);
 2847|  7.24k|            typed_array_stack_.push_back(iter);
 2848|  7.24k|            if (!iter->done())
  ------------------
  |  Branch (2848:17): [True: 7.24k, False: 0]
  ------------------
 2849|  7.24k|            {
 2850|  7.24k|                iter->next(visitor, *this, ec);
 2851|  7.24k|            }
 2852|  7.24k|        }
 2853|  17.0k|        else if (major_type == jsoncons::cbor::detail::cbor_major_type::byte_string)
  ------------------
  |  Branch (2853:18): [True: 16.9k, False: 25]
  ------------------
 2854|  16.9k|        {
 2855|  16.9k|            std::size_t typed_array_count = typed_array_stack_.size();
 2856|  16.9k|            read_byte_string_from_source read(this);
 2857|  16.9k|            read_byte_string(read, visitor, ec);
 2858|  16.9k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  16.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 877, False: 16.1k]
  |  |  ------------------
  ------------------
 2859|    877|            {
 2860|    877|                return;
 2861|    877|            }
 2862|  16.1k|            if (typed_array_stack_.size() == typed_array_count)
  ------------------
  |  Branch (2862:17): [True: 6, False: 16.1k]
  ------------------
 2863|      6|            {
 2864|       |                // Byte string storage must be a typed array
 2865|      6|                ec = cbor_errc::bad_mdarray;
 2866|      6|                return;
 2867|      6|            }
 2868|  16.1k|        }
 2869|     25|        else
 2870|     25|        {
 2871|     25|            ec = cbor_errc::bad_mdarray;
 2872|     25|            return;
 2873|     25|        }
 2874|       |        // cursor case
 2875|  29.3k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12read_extentsERNS3_10error_codeE:
 2878|  29.5k|    {
 2879|  29.5k|        extents_.clear();
 2880|       |
 2881|  29.5k|        auto b = source_.peek();
 2882|  29.5k|        if (JSONCONS_UNLIKELY(b.eof))
  ------------------
  |  |   79|  29.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 15, False: 29.5k]
  |  |  ------------------
  ------------------
 2883|     15|        {
 2884|     15|            ec = cbor_errc::unexpected_eof;
 2885|     15|            more_ = false;
 2886|     15|            return;
 2887|     15|        }
 2888|  29.5k|        if (get_major_type(b.value) != jsoncons::cbor::detail::cbor_major_type::array)
  ------------------
  |  Branch (2888:13): [True: 25, False: 29.5k]
  ------------------
 2889|     25|        {
 2890|     25|            ec = cbor_errc::bad_extents;
 2891|     25|            more_ = false;
 2892|     25|            return;
 2893|     25|        }
 2894|  29.5k|        uint8_t info = get_additional_information(b.value);
 2895|  29.5k|        if (JSONCONS_UNLIKELY(info >= 0x1C && info <= 0x1E))
  ------------------
  |  |   79|  36.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1, False: 29.5k]
  |  |  |  Branch (79:50): [True: 6.73k, False: 22.8k]
  |  |  |  Branch (79:50): [True: 1, False: 6.72k]
  |  |  ------------------
  ------------------
 2896|      1|        {
 2897|      1|            ec = cbor_errc::reserved_additional_info;
 2898|      1|            more_ = false;
 2899|      1|            return;
 2900|      1|        }
 2901|       |
 2902|  29.5k|        source_.ignore(1);
 2903|  29.5k|        if (info == jsoncons::cbor::detail::additional_info::indefinite_length)
  ------------------
  |  Branch (2903:13): [True: 6.72k, False: 22.8k]
  ------------------
 2904|  6.72k|        {
 2905|  6.72k|             bool done = false;
 2906|  3.80M|             while (!done)
  ------------------
  |  Branch (2906:21): [True: 3.79M, False: 6.67k]
  ------------------
 2907|  3.79M|             {
 2908|  3.79M|                 auto c = source_.peek();
 2909|  3.79M|                 if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  3.79M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 38, False: 3.79M]
  |  |  ------------------
  ------------------
 2910|     38|                 {
 2911|     38|                     ec = cbor_errc::unexpected_eof;
 2912|     38|                     more_ = false;
 2913|     38|                     return;
 2914|     38|                 }
 2915|  3.79M|                 if (c.value == 0xff)
  ------------------
  |  Branch (2915:22): [True: 6.67k, False: 3.78M]
  ------------------
 2916|  6.67k|                 {
 2917|  6.67k|                     source_.ignore(1);
 2918|  6.67k|                     done = true;
 2919|  6.67k|                 }
 2920|  3.78M|                 else
 2921|  3.78M|                 {
 2922|  3.78M|                     source_.ignore(1);
 2923|  3.78M|                     std::size_t extent = read_size(get_additional_information(c.value), ec);
 2924|  3.78M|                     if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  3.78M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 15, False: 3.78M]
  |  |  ------------------
  ------------------
 2925|     15|                     {
 2926|     15|                         more_ = false;
 2927|     15|                         return;
 2928|     15|                     }
 2929|  3.78M|                     extents_.push_back(extent);
 2930|  3.78M|                 }
 2931|  3.79M|             }
 2932|  6.72k|        }
 2933|  22.8k|        else 
 2934|  22.8k|        {
 2935|  22.8k|            std::size_t size = read_size(info, ec);
 2936|  22.8k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  22.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2, False: 22.8k]
  |  |  ------------------
  ------------------
 2937|      2|            {
 2938|      2|                more_ = false;
 2939|      2|                return;
 2940|      2|            }
 2941|  1.66M|            for (std::size_t i = 0; more_ && i < size; ++i)
  ------------------
  |  Branch (2941:37): [True: 1.66M, False: 0]
  |  Branch (2941:46): [True: 1.64M, False: 22.6k]
  ------------------
 2942|  1.64M|            {
 2943|  1.64M|                uint8_t initial_byte;
 2944|  1.64M|                if (source_.read(&initial_byte, 1) == 0)
  ------------------
  |  Branch (2944:21): [True: 68, False: 1.64M]
  ------------------
 2945|     68|                {
 2946|     68|                    ec = cbor_errc::unexpected_eof;
 2947|     68|                    more_ = false;
 2948|     68|                    return;
 2949|     68|                }
 2950|  1.64M|                if (JSONCONS_UNLIKELY(get_major_type(initial_byte) != jsoncons::cbor::detail::cbor_major_type::unsigned_integer))
  ------------------
  |  |   79|  1.64M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 59, False: 1.64M]
  |  |  ------------------
  ------------------
 2951|     59|                {
 2952|     59|                    ec = cbor_errc::unknown_type;
 2953|     59|                    more_ = false;
 2954|     59|                    return;
 2955|     59|                }
 2956|  1.64M|                info = get_additional_information(initial_byte);
 2957|  1.64M|                if (JSONCONS_UNLIKELY(info >= 0x1C && info <= 0x1E))
  ------------------
  |  |   79|  1.64M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1, False: 1.64M]
  |  |  |  Branch (79:50): [True: 3, False: 1.64M]
  |  |  |  Branch (79:50): [True: 1, False: 2]
  |  |  ------------------
  ------------------
 2958|      1|                {
 2959|      1|                    ec = cbor_errc::reserved_additional_info;
 2960|      1|                    more_ = false;
 2961|      1|                    return;
 2962|      1|                }
 2963|  1.64M|                std::size_t extent = read_size(info, ec);
 2964|  1.64M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  1.64M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 1.64M]
  |  |  ------------------
  ------------------
 2965|      4|                {
 2966|      4|                    more_ = false;
 2967|      4|                    return;
 2968|      4|                }
 2969|  1.64M|                extents_.push_back(extent);
 2970|  1.64M|            }
 2971|  22.8k|        }
 2972|  29.3k|        auto r = calculate_mdarray_size(extents_);
 2973|  29.3k|        if (!r || *r == 0)
  ------------------
  |  Branch (2973:13): [True: 10, False: 29.3k]
  |  Branch (2973:19): [True: 11, False: 29.3k]
  ------------------
 2974|     21|        {
 2975|     21|            ec = cbor_errc::bad_extents;
 2976|     21|            more_ = false;
 2977|     21|            return;
 2978|     21|        }
 2979|  29.3k|        mdarray_size_ = *r;
 2980|  29.3k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE29begin_classical_array_storageEhRNS3_10error_codeE:
 1001|  12.2k|    {
 1002|  12.2k|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   79|  12.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1, False: 12.2k]
  |  |  ------------------
  ------------------
 1003|      1|        {
 1004|      1|            ec = cbor_errc::max_nesting_depth_exceeded;
 1005|      1|            more_ = false;
 1006|      1|            return;
 1007|      1|        }
 1008|  12.2k|        bool pop_stringref_map_stack = false;
 1009|  12.2k|        if (other_tags_[stringref_namespace_tag])
  ------------------
  |  Branch (1009:13): [True: 743, False: 11.5k]
  ------------------
 1010|    743|        {
 1011|    743|            stringref_map_stack_.emplace_back();
 1012|    743|            other_tags_[stringref_namespace_tag] = false;
 1013|    743|            pop_stringref_map_stack = true;
 1014|    743|        }
 1015|  12.2k|        if (info == jsoncons::cbor::detail::additional_info::indefinite_length)
  ------------------
  |  Branch (1015:13): [True: 1.15k, False: 11.1k]
  ------------------
 1016|  1.15k|        {
 1017|  1.15k|            state_stack_.emplace_back(parse_mode::indefinite_array, 0, pop_stringref_map_stack);
 1018|  1.15k|        }
 1019|  11.1k|        else // definite length
 1020|  11.1k|        {
 1021|  11.1k|            std::size_t len = read_size(info, ec);
 1022|  11.1k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  11.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 11.1k]
  |  |  ------------------
  ------------------
 1023|      4|            {
 1024|      4|                return;
 1025|      4|            }
 1026|  11.1k|            state_stack_.emplace_back(parse_mode::array, len, pop_stringref_map_stack);
 1027|  11.1k|        }
 1028|  12.2k|        more_ = !cursor_mode_;
 1029|  12.2k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayEhRNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  938|  2.80M|    {
  939|  2.80M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   79|  2.80M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 6, False: 2.80M]
  |  |  ------------------
  ------------------
  940|      6|        {
  941|      6|            ec = cbor_errc::max_nesting_depth_exceeded;
  942|      6|            more_ = false;
  943|      6|            return;
  944|      6|        } 
  945|  2.80M|        semantic_tag tag = semantic_tag::none;
  946|  2.80M|        bool pop_stringref_map_stack = false;
  947|  2.80M|        if (other_tags_[stringref_namespace_tag])
  ------------------
  |  Branch (947:13): [True: 5.97k, False: 2.79M]
  ------------------
  948|  5.97k|        {
  949|  5.97k|            stringref_map_stack_.emplace_back();
  950|  5.97k|            other_tags_[stringref_namespace_tag] = false;
  951|  5.97k|            pop_stringref_map_stack = true;
  952|  5.97k|        }
  953|  2.80M|        if (info == jsoncons::cbor::detail::additional_info::indefinite_length)
  ------------------
  |  Branch (953:13): [True: 28.3k, False: 2.77M]
  ------------------
  954|  28.3k|        {
  955|  28.3k|            state_stack_.emplace_back(parse_mode::indefinite_array,0,pop_stringref_map_stack);
  956|  28.3k|            visitor.begin_array(tag, *this, ec);
  957|  28.3k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  28.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 28.3k]
  |  |  ------------------
  ------------------
  958|      0|            {
  959|      0|                return;
  960|      0|            }
  961|  28.3k|        }
  962|  2.77M|        else // definite length
  963|  2.77M|        {
  964|  2.77M|            std::size_t len = read_size(info, ec);
  965|  2.77M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.77M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 39, False: 2.77M]
  |  |  ------------------
  ------------------
  966|     39|            {
  967|     39|                return;
  968|     39|            }
  969|  2.77M|            state_stack_.emplace_back(parse_mode::array,len,pop_stringref_map_stack);
  970|  2.77M|            visitor.begin_array(len, tag, *this, ec);
  971|  2.77M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.77M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.77M]
  |  |  ------------------
  ------------------
  972|      0|            {
  973|      0|                return;
  974|      0|            }
  975|  2.77M|        }
  976|  2.80M|        more_ = !cursor_mode_;
  977|  2.80M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12begin_objectEhRNS_21basic_generic_visitorIcEERNS3_10error_codeE:
 1048|  2.12M|    {
 1049|  2.12M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   79|  2.12M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 3, False: 2.12M]
  |  |  ------------------
  ------------------
 1050|      3|        {
 1051|      3|            ec = cbor_errc::max_nesting_depth_exceeded;
 1052|      3|            more_ = false;
 1053|      3|            return;
 1054|      3|        } 
 1055|  2.12M|        bool pop_stringref_map_stack = false;
 1056|  2.12M|        if (other_tags_[stringref_namespace_tag])
  ------------------
  |  Branch (1056:13): [True: 3.38k, False: 2.12M]
  ------------------
 1057|  3.38k|        {
 1058|  3.38k|            stringref_map_stack_.emplace_back();
 1059|  3.38k|            other_tags_[stringref_namespace_tag] = false;
 1060|  3.38k|            pop_stringref_map_stack = true;
 1061|  3.38k|        }
 1062|  2.12M|        if (info == jsoncons::cbor::detail::additional_info::indefinite_length)
  ------------------
  |  Branch (1062:13): [True: 25.4k, False: 2.10M]
  ------------------
 1063|  25.4k|        {
 1064|  25.4k|            state_stack_.emplace_back(parse_mode::indefinite_map_key,0,pop_stringref_map_stack);
 1065|  25.4k|            visitor.begin_object(semantic_tag::none, *this, ec);
 1066|  25.4k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  25.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 25.4k]
  |  |  ------------------
  ------------------
 1067|      0|            {
 1068|      0|                return;
 1069|      0|            }
 1070|  25.4k|        }
 1071|  2.10M|        else // definite_length
 1072|  2.10M|        {
 1073|  2.10M|            std::size_t len = read_size(info, ec);
 1074|  2.10M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.10M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 8, False: 2.10M]
  |  |  ------------------
  ------------------
 1075|      8|            {
 1076|      8|                return;
 1077|      8|            }
 1078|  2.10M|            state_stack_.emplace_back(parse_mode::map_key,len,pop_stringref_map_stack);
 1079|  2.10M|            visitor.begin_object(len, semantic_tag::none, *this, ec);
 1080|  2.10M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.10M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.10M]
  |  |  ------------------
  ------------------
 1081|      0|            {
 1082|      0|                return;
 1083|      0|            }
 1084|  2.10M|        }
 1085|  2.12M|        more_ = !cursor_mode_;
 1086|  2.12M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  980|  2.74M|    {
  981|  2.74M|        --nesting_depth_;
  982|       |
  983|  2.74M|        visitor.end_array(*this, ec);
  984|  2.74M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.74M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.74M]
  |  |  ------------------
  ------------------
  985|      0|        {
  986|      0|            return;
  987|      0|        }
  988|  2.74M|        more_ = !cursor_mode_;
  989|  2.74M|        if (level() == mark_level_)
  ------------------
  |  Branch (989:13): [True: 0, False: 2.74M]
  ------------------
  990|      0|        {
  991|      0|            more_ = false;
  992|      0|        }
  993|  2.74M|        if (state_stack_.back().pop_stringref_map_stack)
  ------------------
  |  Branch (993:13): [True: 1.82k, False: 2.74M]
  ------------------
  994|  1.82k|        {
  995|  1.82k|            stringref_map_stack_.pop_back();
  996|  1.82k|        }
  997|  2.74M|        state_stack_.pop_back();
  998|  2.74M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10end_objectERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
 1089|  2.07M|    {
 1090|  2.07M|        --nesting_depth_;
 1091|  2.07M|        visitor.end_object(*this, ec);
 1092|  2.07M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.07M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.07M]
  |  |  ------------------
  ------------------
 1093|      0|        {
 1094|      0|            return;
 1095|      0|        }
 1096|  2.07M|        more_ = !cursor_mode_;
 1097|  2.07M|        if (level() == mark_level_)
  ------------------
  |  Branch (1097:13): [True: 0, False: 2.07M]
  ------------------
 1098|      0|        {
 1099|      0|            more_ = false;
 1100|      0|        }
 1101|  2.07M|        if (state_stack_.back().pop_stringref_map_stack)
  ------------------
  |  Branch (1101:13): [True: 994, False: 2.07M]
  ------------------
 1102|    994|        {
 1103|    994|            stringref_map_stack_.pop_back();
 1104|    994|        }
 1105|  2.07M|        state_stack_.pop_back();
 1106|  2.07M|    }

_ZN8jsoncons4cbor17basic_cbor_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RNS_18basic_json_visitorIcEERKNS0_19cbor_decode_optionsERKS7_:
   52|  13.5k|       : parser_(std::forward<Sourceable>(source), options, alloc),
   53|  13.5k|         adaptor_(visitor, alloc), visitor_(adaptor_)
   54|  13.5k|    {
   55|  13.5k|    }
_ZN8jsoncons4cbor17basic_cbor_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4readERNS3_10error_codeE:
   88|  13.5k|    {
   89|  13.5k|        parser_.reset();
   90|  13.5k|        parser_.parse(visitor_, ec);
   91|  13.5k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  13.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 9.94k, False: 3.56k]
  |  |  ------------------
  ------------------
   92|  9.94k|        {
   93|  9.94k|            return;
   94|  9.94k|        }
   95|  13.5k|    }
_ZNK8jsoncons4cbor17basic_cbor_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
   98|  9.94k|    {
   99|  9.94k|        return parser_.line();
  100|  9.94k|    }
_ZNK8jsoncons4cbor17basic_cbor_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  103|  9.94k|    {
  104|  9.94k|        return parser_.column();
  105|  9.94k|    }

_ZN8jsoncons4cbor16mdarray_iteratorIhNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderERKS5_:
  199|    997|        : data_(std::move(data), alloc), 
  200|    997|          span_(typed_array_cast<ValueType>(data_)), 
  201|    997|        array_tag_(array_tag), extents_(extents,alloc), order_(order), func_(Func{}), 
  202|    997|        dimensions_(extents.size(), mdarray_dimension{}, alloc)
  203|    997|    {
  204|    997|        std::vector<std::size_t> strides(extents.size(), 0);
  205|    997|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (205:13): [True: 320, False: 677]
  ------------------
  206|    320|        {
  207|    320|            std::size_t stride = 1;
  208|    320|            const size_t num_extents = extents.size();
  209|  1.01k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (209:32): [True: 698, False: 320]
  ------------------
  210|    698|            {
  211|    698|                strides[i] = stride;
  212|    698|                stride *= extents[i];
  213|    698|            }
  214|    320|        }
  215|    677|        else
  216|    677|        {
  217|    677|            std::size_t stride = 1;
  218|    677|            const size_t num_extents = extents.size();
  219|  21.3k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (219:32): [True: 20.6k, False: 677]
  ------------------
  220|  20.6k|            {
  221|  20.6k|                strides[num_extents-i-1] = stride;
  222|  20.6k|                stride *= extents[num_extents-i-1];
  223|  20.6k|            }
  224|    677|        }
  225|  22.3k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (225:33): [True: 21.3k, False: 997]
  ------------------
  226|  21.3k|        {
  227|  21.3k|            dimensions_[i].extent = extents[i];
  228|  21.3k|            dimensions_[i].stride = strides[i];
  229|  21.3k|            dimensions_[i].index = 0;
  230|  21.3k|            dimensions_[i].end = strides[i]*extents[i];
  231|  21.3k|        }
  232|    997|    }
_ZN8jsoncons4cbor20typed_array_iteratorD2Ev:
   43|   244k|    virtual ~typed_array_iterator() = default;
_ZNK8jsoncons4cbor16mdarray_iteratorIhNS_8identityENSt3__19allocatorIcEEE4doneEv:
  260|   329k|    {
  261|   329k|        return done_;
  262|   329k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIhNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  266|   165k|    {
  267|   165k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   54|   165k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 165k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  268|       |
  269|   165k|        if (dim_ == 0)
  ------------------
  |  Branch (269:13): [True: 4.61k, False: 161k]
  ------------------
  270|  4.61k|        {
  271|  4.61k|            if (first_)
  ------------------
  |  Branch (271:17): [True: 997, False: 3.62k]
  ------------------
  272|    997|            {
  273|    997|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  274|    997|                first_ = false;
  275|    997|                return;
  276|    997|            }
  277|  3.62k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (277:17): [True: 997, False: 2.62k]
  ------------------
  278|    997|            {
  279|    997|                visitor.end_array(context, ec);
  280|    997|                done_ = true;
  281|    997|                return;
  282|    997|            }
  283|  3.62k|        }
  284|   163k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (284:13): [True: 159k, False: 4.13k]
  |  Branch (284:44): [True: 80.5k, False: 79.0k]
  ------------------
  285|  80.5k|        {
  286|  80.5k|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  287|  80.5k|            ++dim_;
  288|  80.5k|            return;
  289|  80.5k|        }
  290|  83.2k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (290:13): [True: 2.67k, False: 80.5k]
  ------------------
  291|  2.67k|        {
  292|  2.67k|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  293|  2.67k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  294|  2.67k|            ++count_;
  295|  2.67k|            return;
  296|  2.67k|        }
  297|  80.5k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (297:13): [True: 80.5k, False: 0]
  ------------------
  298|  80.5k|        {
  299|  80.5k|            visitor.end_array(context, ec);
  300|  80.5k|            if (dim_ > 0)
  ------------------
  |  Branch (300:17): [True: 80.5k, False: 0]
  ------------------
  301|  80.5k|            {
  302|  80.5k|                --dim_;
  303|  80.5k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  304|  80.5k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (304:21): [True: 997, False: 79.5k]
  ------------------
  305|    997|                {
  306|  61.1k|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (306:50): [True: 60.1k, False: 997]
  ------------------
  307|  60.1k|                    {
  308|  60.1k|                        dimensions_[i].index = dimensions_[i-1].index;
  309|  60.1k|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  310|  60.1k|                    }
  311|    997|                }
  312|  80.5k|            }
  313|  80.5k|        }
  314|  80.5k|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIhEENSt3__19enable_ifIXsr6nonstd19is_unsigned_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   72|  2.43M|    {
   73|  2.43M|        visitor.uint64_value(val, tag, context, ec);
   74|  2.43M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIhNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagERKS5_:
  106|  5.19k|        : data_(std::move(data), alloc), 
  107|  5.19k|          span_(typed_array_cast<ValueType>(data_)), 
  108|  5.19k|          array_tag_(array_tag), 
  109|  5.19k|          extent_(span_.size()), 
  110|  5.19k|          tag_(tag), 
  111|  5.19k|          func_(Func{})
  112|  5.19k|    {
  113|  5.19k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIhNS_8identityENSt3__19allocatorIcEEE4doneEv:
  141|  4.87M|    {
  142|  4.87M|        return done_;
  143|  4.87M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIhNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  147|  2.44M|    {
  148|  2.44M|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   79|  2.44M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 5.19k, False: 2.43M]
  |  |  ------------------
  ------------------
  149|  5.19k|        {
  150|  5.19k|            visitor.begin_array(span_.size(), tag_, context, ec);
  151|  5.19k|            first_ = false;
  152|  5.19k|        }
  153|  2.43M|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   78|  2.43M|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 2.43M, False: 5.19k]
  |  |  ------------------
  ------------------
  154|  2.43M|        {
  155|  2.43M|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  156|  2.43M|            ++index_;
  157|  2.43M|        }
  158|  5.19k|        else if (!done_)
  ------------------
  |  Branch (158:18): [True: 5.19k, False: 0]
  ------------------
  159|  5.19k|        {
  160|  5.19k|            visitor.end_array(context, ec);
  161|  5.19k|            done_ = true;
  162|  5.19k|        }
  163|  2.44M|    }
_ZN8jsoncons4cbor16mdarray_iteratorItNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderERKS5_:
  199|  1.07k|        : data_(std::move(data), alloc), 
  200|  1.07k|          span_(typed_array_cast<ValueType>(data_)), 
  201|  1.07k|        array_tag_(array_tag), extents_(extents,alloc), order_(order), func_(Func{}), 
  202|  1.07k|        dimensions_(extents.size(), mdarray_dimension{}, alloc)
  203|  1.07k|    {
  204|  1.07k|        std::vector<std::size_t> strides(extents.size(), 0);
  205|  1.07k|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (205:13): [True: 635, False: 443]
  ------------------
  206|    635|        {
  207|    635|            std::size_t stride = 1;
  208|    635|            const size_t num_extents = extents.size();
  209|   142k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (209:32): [True: 142k, False: 635]
  ------------------
  210|   142k|            {
  211|   142k|                strides[i] = stride;
  212|   142k|                stride *= extents[i];
  213|   142k|            }
  214|    635|        }
  215|    443|        else
  216|    443|        {
  217|    443|            std::size_t stride = 1;
  218|    443|            const size_t num_extents = extents.size();
  219|  2.76k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (219:32): [True: 2.32k, False: 443]
  ------------------
  220|  2.32k|            {
  221|  2.32k|                strides[num_extents-i-1] = stride;
  222|  2.32k|                stride *= extents[num_extents-i-1];
  223|  2.32k|            }
  224|    443|        }
  225|   145k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (225:33): [True: 144k, False: 1.07k]
  ------------------
  226|   144k|        {
  227|   144k|            dimensions_[i].extent = extents[i];
  228|   144k|            dimensions_[i].stride = strides[i];
  229|   144k|            dimensions_[i].index = 0;
  230|   144k|            dimensions_[i].end = strides[i]*extents[i];
  231|   144k|        }
  232|  1.07k|    }
_ZNK8jsoncons4cbor16mdarray_iteratorItNS_8identityENSt3__19allocatorIcEEE4doneEv:
  260|   591k|    {
  261|   591k|        return done_;
  262|   591k|    }
_ZN8jsoncons4cbor16mdarray_iteratorItNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  266|   296k|    {
  267|   296k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   54|   296k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 296k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  268|       |
  269|   296k|        if (dim_ == 0)
  ------------------
  |  Branch (269:13): [True: 4.48k, False: 292k]
  ------------------
  270|  4.48k|        {
  271|  4.48k|            if (first_)
  ------------------
  |  Branch (271:17): [True: 1.07k, False: 3.40k]
  ------------------
  272|  1.07k|            {
  273|  1.07k|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  274|  1.07k|                first_ = false;
  275|  1.07k|                return;
  276|  1.07k|            }
  277|  3.40k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (277:17): [True: 1.07k, False: 2.32k]
  ------------------
  278|  1.07k|            {
  279|  1.07k|                visitor.end_array(context, ec);
  280|  1.07k|                done_ = true;
  281|  1.07k|                return;
  282|  1.07k|            }
  283|  3.40k|        }
  284|   294k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (284:13): [True: 290k, False: 3.97k]
  |  Branch (284:44): [True: 146k, False: 144k]
  ------------------
  285|   146k|        {
  286|   146k|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  287|   146k|            ++dim_;
  288|   146k|            return;
  289|   146k|        }
  290|   148k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (290:13): [True: 2.35k, False: 146k]
  ------------------
  291|  2.35k|        {
  292|  2.35k|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  293|  2.35k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  294|  2.35k|            ++count_;
  295|  2.35k|            return;
  296|  2.35k|        }
  297|   146k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (297:13): [True: 146k, False: 0]
  ------------------
  298|   146k|        {
  299|   146k|            visitor.end_array(context, ec);
  300|   146k|            if (dim_ > 0)
  ------------------
  |  Branch (300:17): [True: 146k, False: 0]
  ------------------
  301|   146k|            {
  302|   146k|                --dim_;
  303|   146k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  304|   146k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (304:21): [True: 1.19k, False: 144k]
  ------------------
  305|  1.19k|                {
  306|  3.81k|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (306:50): [True: 2.61k, False: 1.19k]
  ------------------
  307|  2.61k|                    {
  308|  2.61k|                        dimensions_[i].index = dimensions_[i-1].index;
  309|  2.61k|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  310|  2.61k|                    }
  311|  1.19k|                }
  312|   146k|            }
  313|   146k|        }
  314|   146k|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueItEENSt3__19enable_ifIXsr6nonstd19is_unsigned_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   72|  4.44M|    {
   73|  4.44M|        visitor.uint64_value(val, tag, context, ec);
   74|  4.44M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorItNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagERKS5_:
  106|  7.56k|        : data_(std::move(data), alloc), 
  107|  7.56k|          span_(typed_array_cast<ValueType>(data_)), 
  108|  7.56k|          array_tag_(array_tag), 
  109|  7.56k|          extent_(span_.size()), 
  110|  7.56k|          tag_(tag), 
  111|  7.56k|          func_(Func{})
  112|  7.56k|    {
  113|  7.56k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorItNS_8identityENSt3__19allocatorIcEEE4doneEv:
  141|  8.90M|    {
  142|  8.90M|        return done_;
  143|  8.90M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorItNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  147|  4.45M|    {
  148|  4.45M|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   79|  4.45M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 7.56k, False: 4.45M]
  |  |  ------------------
  ------------------
  149|  7.56k|        {
  150|  7.56k|            visitor.begin_array(span_.size(), tag_, context, ec);
  151|  7.56k|            first_ = false;
  152|  7.56k|        }
  153|  4.45M|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   78|  4.45M|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 4.44M, False: 7.56k]
  |  |  ------------------
  ------------------
  154|  4.44M|        {
  155|  4.44M|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  156|  4.44M|            ++index_;
  157|  4.44M|        }
  158|  7.56k|        else if (!done_)
  ------------------
  |  Branch (158:18): [True: 7.56k, False: 0]
  ------------------
  159|  7.56k|        {
  160|  7.56k|            visitor.end_array(context, ec);
  161|  7.56k|            done_ = true;
  162|  7.56k|        }
  163|  4.45M|    }
_ZN8jsoncons4cbor16mdarray_iteratorIjNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderERKS5_:
  199|    778|        : data_(std::move(data), alloc), 
  200|    778|          span_(typed_array_cast<ValueType>(data_)), 
  201|    778|        array_tag_(array_tag), extents_(extents,alloc), order_(order), func_(Func{}), 
  202|    778|        dimensions_(extents.size(), mdarray_dimension{}, alloc)
  203|    778|    {
  204|    778|        std::vector<std::size_t> strides(extents.size(), 0);
  205|    778|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (205:13): [True: 241, False: 537]
  ------------------
  206|    241|        {
  207|    241|            std::size_t stride = 1;
  208|    241|            const size_t num_extents = extents.size();
  209|  1.34k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (209:32): [True: 1.10k, False: 241]
  ------------------
  210|  1.10k|            {
  211|  1.10k|                strides[i] = stride;
  212|  1.10k|                stride *= extents[i];
  213|  1.10k|            }
  214|    241|        }
  215|    537|        else
  216|    537|        {
  217|    537|            std::size_t stride = 1;
  218|    537|            const size_t num_extents = extents.size();
  219|  7.50k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (219:32): [True: 6.97k, False: 537]
  ------------------
  220|  6.97k|            {
  221|  6.97k|                strides[num_extents-i-1] = stride;
  222|  6.97k|                stride *= extents[num_extents-i-1];
  223|  6.97k|            }
  224|    537|        }
  225|  8.85k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (225:33): [True: 8.07k, False: 778]
  ------------------
  226|  8.07k|        {
  227|  8.07k|            dimensions_[i].extent = extents[i];
  228|  8.07k|            dimensions_[i].stride = strides[i];
  229|  8.07k|            dimensions_[i].index = 0;
  230|  8.07k|            dimensions_[i].end = strides[i]*extents[i];
  231|  8.07k|        }
  232|    778|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIjNS_8identityENSt3__19allocatorIcEEE4doneEv:
  260|  59.8k|    {
  261|  59.8k|        return done_;
  262|  59.8k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIjNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  266|  30.7k|    {
  267|  30.7k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   54|  30.7k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 30.7k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  268|       |
  269|  30.7k|        if (dim_ == 0)
  ------------------
  |  Branch (269:13): [True: 2.67k, False: 28.0k]
  ------------------
  270|  2.67k|        {
  271|  2.67k|            if (first_)
  ------------------
  |  Branch (271:17): [True: 778, False: 1.89k]
  ------------------
  272|    778|            {
  273|    778|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  274|    778|                first_ = false;
  275|    778|                return;
  276|    778|            }
  277|  1.89k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (277:17): [True: 778, False: 1.12k]
  ------------------
  278|    778|            {
  279|    778|                visitor.end_array(context, ec);
  280|    778|                done_ = true;
  281|    778|                return;
  282|    778|            }
  283|  1.89k|        }
  284|  29.1k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (284:13): [True: 26.9k, False: 2.18k]
  |  Branch (284:44): [True: 13.9k, False: 12.9k]
  ------------------
  285|  13.9k|        {
  286|  13.9k|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  287|  13.9k|            ++dim_;
  288|  13.9k|            return;
  289|  13.9k|        }
  290|  15.1k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (290:13): [True: 1.19k, False: 13.9k]
  ------------------
  291|  1.19k|        {
  292|  1.19k|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  293|  1.19k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  294|  1.19k|            ++count_;
  295|  1.19k|            return;
  296|  1.19k|        }
  297|  13.9k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (297:13): [True: 13.9k, False: 0]
  ------------------
  298|  13.9k|        {
  299|  13.9k|            visitor.end_array(context, ec);
  300|  13.9k|            if (dim_ > 0)
  ------------------
  |  Branch (300:17): [True: 13.9k, False: 0]
  ------------------
  301|  13.9k|            {
  302|  13.9k|                --dim_;
  303|  13.9k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  304|  13.9k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (304:21): [True: 321, False: 13.6k]
  ------------------
  305|    321|                {
  306|  7.00k|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (306:50): [True: 6.68k, False: 321]
  ------------------
  307|  6.68k|                    {
  308|  6.68k|                        dimensions_[i].index = dimensions_[i-1].index;
  309|  6.68k|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  310|  6.68k|                    }
  311|    321|                }
  312|  13.9k|            }
  313|  13.9k|        }
  314|  13.9k|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIjEENSt3__19enable_ifIXsr6nonstd19is_unsigned_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   72|   400k|    {
   73|   400k|        visitor.uint64_value(val, tag, context, ec);
   74|   400k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIjNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagERKS5_:
  106|  17.6k|        : data_(std::move(data), alloc), 
  107|  17.6k|          span_(typed_array_cast<ValueType>(data_)), 
  108|  17.6k|          array_tag_(array_tag), 
  109|  17.6k|          extent_(span_.size()), 
  110|  17.6k|          tag_(tag), 
  111|  17.6k|          func_(Func{})
  112|  17.6k|    {
  113|  17.6k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIjNS_8identityENSt3__19allocatorIcEEE4doneEv:
  141|   833k|    {
  142|   833k|        return done_;
  143|   833k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIjNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  147|   434k|    {
  148|   434k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   79|   434k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 17.6k, False: 416k]
  |  |  ------------------
  ------------------
  149|  17.6k|        {
  150|  17.6k|            visitor.begin_array(span_.size(), tag_, context, ec);
  151|  17.6k|            first_ = false;
  152|  17.6k|        }
  153|   416k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   78|   416k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 399k, False: 17.6k]
  |  |  ------------------
  ------------------
  154|   399k|        {
  155|   399k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  156|   399k|            ++index_;
  157|   399k|        }
  158|  17.6k|        else if (!done_)
  ------------------
  |  Branch (158:18): [True: 17.6k, False: 0]
  ------------------
  159|  17.6k|        {
  160|  17.6k|            visitor.end_array(context, ec);
  161|  17.6k|            done_ = true;
  162|  17.6k|        }
  163|   434k|    }
_ZN8jsoncons4cbor16mdarray_iteratorImNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderERKS5_:
  199|  1.17k|        : data_(std::move(data), alloc), 
  200|  1.17k|          span_(typed_array_cast<ValueType>(data_)), 
  201|  1.17k|        array_tag_(array_tag), extents_(extents,alloc), order_(order), func_(Func{}), 
  202|  1.17k|        dimensions_(extents.size(), mdarray_dimension{}, alloc)
  203|  1.17k|    {
  204|  1.17k|        std::vector<std::size_t> strides(extents.size(), 0);
  205|  1.17k|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (205:13): [True: 420, False: 750]
  ------------------
  206|    420|        {
  207|    420|            std::size_t stride = 1;
  208|    420|            const size_t num_extents = extents.size();
  209|  1.14k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (209:32): [True: 720, False: 420]
  ------------------
  210|    720|            {
  211|    720|                strides[i] = stride;
  212|    720|                stride *= extents[i];
  213|    720|            }
  214|    420|        }
  215|    750|        else
  216|    750|        {
  217|    750|            std::size_t stride = 1;
  218|    750|            const size_t num_extents = extents.size();
  219|   122k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (219:32): [True: 122k, False: 750]
  ------------------
  220|   122k|            {
  221|   122k|                strides[num_extents-i-1] = stride;
  222|   122k|                stride *= extents[num_extents-i-1];
  223|   122k|            }
  224|    750|        }
  225|   123k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (225:33): [True: 122k, False: 1.17k]
  ------------------
  226|   122k|        {
  227|   122k|            dimensions_[i].extent = extents[i];
  228|   122k|            dimensions_[i].stride = strides[i];
  229|   122k|            dimensions_[i].index = 0;
  230|   122k|            dimensions_[i].end = strides[i]*extents[i];
  231|   122k|        }
  232|  1.17k|    }
_ZNK8jsoncons4cbor16mdarray_iteratorImNS_8identityENSt3__19allocatorIcEEE4doneEv:
  260|   974k|    {
  261|   974k|        return done_;
  262|   974k|    }
_ZN8jsoncons4cbor16mdarray_iteratorImNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  266|   488k|    {
  267|   488k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   54|   488k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 488k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  268|       |
  269|   488k|        if (dim_ == 0)
  ------------------
  |  Branch (269:13): [True: 3.52k, False: 484k]
  ------------------
  270|  3.52k|        {
  271|  3.52k|            if (first_)
  ------------------
  |  Branch (271:17): [True: 1.17k, False: 2.35k]
  ------------------
  272|  1.17k|            {
  273|  1.17k|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  274|  1.17k|                first_ = false;
  275|  1.17k|                return;
  276|  1.17k|            }
  277|  2.35k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (277:17): [True: 1.17k, False: 1.18k]
  ------------------
  278|  1.17k|            {
  279|  1.17k|                visitor.end_array(context, ec);
  280|  1.17k|                done_ = true;
  281|  1.17k|                return;
  282|  1.17k|            }
  283|  2.35k|        }
  284|   486k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (284:13): [True: 484k, False: 2.03k]
  |  Branch (284:44): [True: 242k, False: 241k]
  ------------------
  285|   242k|        {
  286|   242k|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  287|   242k|            ++dim_;
  288|   242k|            return;
  289|   242k|        }
  290|   243k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (290:13): [True: 1.46k, False: 242k]
  ------------------
  291|  1.46k|        {
  292|  1.46k|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  293|  1.46k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  294|  1.46k|            ++count_;
  295|  1.46k|            return;
  296|  1.46k|        }
  297|   242k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (297:13): [True: 242k, False: 0]
  ------------------
  298|   242k|        {
  299|   242k|            visitor.end_array(context, ec);
  300|   242k|            if (dim_ > 0)
  ------------------
  |  Branch (300:17): [True: 242k, False: 0]
  ------------------
  301|   242k|            {
  302|   242k|                --dim_;
  303|   242k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  304|   242k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (304:21): [True: 270, False: 242k]
  ------------------
  305|    270|                {
  306|   121k|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (306:50): [True: 120k, False: 270]
  ------------------
  307|   120k|                    {
  308|   120k|                        dimensions_[i].index = dimensions_[i-1].index;
  309|   120k|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  310|   120k|                    }
  311|    270|                }
  312|   242k|            }
  313|   242k|        }
  314|   242k|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueImEENSt3__19enable_ifIXsr6nonstd19is_unsigned_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   72|   160k|    {
   73|   160k|        visitor.uint64_value(val, tag, context, ec);
   74|   160k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorImNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagERKS5_:
  106|  9.11k|        : data_(std::move(data), alloc), 
  107|  9.11k|          span_(typed_array_cast<ValueType>(data_)), 
  108|  9.11k|          array_tag_(array_tag), 
  109|  9.11k|          extent_(span_.size()), 
  110|  9.11k|          tag_(tag), 
  111|  9.11k|          func_(Func{})
  112|  9.11k|    {
  113|  9.11k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorImNS_8identityENSt3__19allocatorIcEEE4doneEv:
  141|   336k|    {
  142|   336k|        return done_;
  143|   336k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorImNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  147|   177k|    {
  148|   177k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   79|   177k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 9.11k, False: 168k]
  |  |  ------------------
  ------------------
  149|  9.11k|        {
  150|  9.11k|            visitor.begin_array(span_.size(), tag_, context, ec);
  151|  9.11k|            first_ = false;
  152|  9.11k|        }
  153|   168k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   78|   168k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 158k, False: 9.11k]
  |  |  ------------------
  ------------------
  154|   158k|        {
  155|   158k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  156|   158k|            ++index_;
  157|   158k|        }
  158|  9.11k|        else if (!done_)
  ------------------
  |  Branch (158:18): [True: 9.11k, False: 0]
  ------------------
  159|  9.11k|        {
  160|  9.11k|            visitor.end_array(context, ec);
  161|  9.11k|            done_ = true;
  162|  9.11k|        }
  163|   177k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIaNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderERKS5_:
  199|    981|        : data_(std::move(data), alloc), 
  200|    981|          span_(typed_array_cast<ValueType>(data_)), 
  201|    981|        array_tag_(array_tag), extents_(extents,alloc), order_(order), func_(Func{}), 
  202|    981|        dimensions_(extents.size(), mdarray_dimension{}, alloc)
  203|    981|    {
  204|    981|        std::vector<std::size_t> strides(extents.size(), 0);
  205|    981|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (205:13): [True: 566, False: 415]
  ------------------
  206|    566|        {
  207|    566|            std::size_t stride = 1;
  208|    566|            const size_t num_extents = extents.size();
  209|   275k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (209:32): [True: 274k, False: 566]
  ------------------
  210|   274k|            {
  211|   274k|                strides[i] = stride;
  212|   274k|                stride *= extents[i];
  213|   274k|            }
  214|    566|        }
  215|    415|        else
  216|    415|        {
  217|    415|            std::size_t stride = 1;
  218|    415|            const size_t num_extents = extents.size();
  219|  3.63k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (219:32): [True: 3.22k, False: 415]
  ------------------
  220|  3.22k|            {
  221|  3.22k|                strides[num_extents-i-1] = stride;
  222|  3.22k|                stride *= extents[num_extents-i-1];
  223|  3.22k|            }
  224|    415|        }
  225|   279k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (225:33): [True: 278k, False: 981]
  ------------------
  226|   278k|        {
  227|   278k|            dimensions_[i].extent = extents[i];
  228|   278k|            dimensions_[i].stride = strides[i];
  229|   278k|            dimensions_[i].index = 0;
  230|   278k|            dimensions_[i].end = strides[i]*extents[i];
  231|   278k|        }
  232|    981|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIaNS_8identityENSt3__19allocatorIcEEE4doneEv:
  260|  1.14M|    {
  261|  1.14M|        return done_;
  262|  1.14M|    }
_ZN8jsoncons4cbor16mdarray_iteratorIaNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  266|   571k|    {
  267|   571k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   54|   571k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 571k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  268|       |
  269|   571k|        if (dim_ == 0)
  ------------------
  |  Branch (269:13): [True: 3.38k, False: 567k]
  ------------------
  270|  3.38k|        {
  271|  3.38k|            if (first_)
  ------------------
  |  Branch (271:17): [True: 981, False: 2.40k]
  ------------------
  272|    981|            {
  273|    981|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  274|    981|                first_ = false;
  275|    981|                return;
  276|    981|            }
  277|  2.40k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (277:17): [True: 981, False: 1.42k]
  ------------------
  278|    981|            {
  279|    981|                visitor.end_array(context, ec);
  280|    981|                done_ = true;
  281|    981|                return;
  282|    981|            }
  283|  2.40k|        }
  284|   569k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (284:13): [True: 566k, False: 2.39k]
  |  Branch (284:44): [True: 283k, False: 283k]
  ------------------
  285|   283k|        {
  286|   283k|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  287|   283k|            ++dim_;
  288|   283k|            return;
  289|   283k|        }
  290|   285k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (290:13): [True: 1.73k, False: 283k]
  ------------------
  291|  1.73k|        {
  292|  1.73k|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  293|  1.73k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  294|  1.73k|            ++count_;
  295|  1.73k|            return;
  296|  1.73k|        }
  297|   283k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (297:13): [True: 283k, False: 0]
  ------------------
  298|   283k|        {
  299|   283k|            visitor.end_array(context, ec);
  300|   283k|            if (dim_ > 0)
  ------------------
  |  Branch (300:17): [True: 283k, False: 0]
  ------------------
  301|   283k|            {
  302|   283k|                --dim_;
  303|   283k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  304|   283k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (304:21): [True: 288, False: 283k]
  ------------------
  305|    288|                {
  306|  6.96k|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (306:50): [True: 6.67k, False: 288]
  ------------------
  307|  6.67k|                    {
  308|  6.67k|                        dimensions_[i].index = dimensions_[i-1].index;
  309|  6.67k|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  310|  6.67k|                    }
  311|    288|                }
  312|   283k|            }
  313|   283k|        }
  314|   283k|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIaEENSt3__19enable_ifIXsr6nonstd17is_signed_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   64|   151k|    {
   65|   151k|        visitor.int64_value(val, tag, context, ec);
   66|   151k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIaNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagERKS5_:
  106|  14.2k|        : data_(std::move(data), alloc), 
  107|  14.2k|          span_(typed_array_cast<ValueType>(data_)), 
  108|  14.2k|          array_tag_(array_tag), 
  109|  14.2k|          extent_(span_.size()), 
  110|  14.2k|          tag_(tag), 
  111|  14.2k|          func_(Func{})
  112|  14.2k|    {
  113|  14.2k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIaNS_8identityENSt3__19allocatorIcEEE4doneEv:
  141|   327k|    {
  142|   327k|        return done_;
  143|   327k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIaNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  147|   177k|    {
  148|   177k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   79|   177k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 14.2k, False: 163k]
  |  |  ------------------
  ------------------
  149|  14.2k|        {
  150|  14.2k|            visitor.begin_array(span_.size(), tag_, context, ec);
  151|  14.2k|            first_ = false;
  152|  14.2k|        }
  153|   163k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   78|   163k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 149k, False: 14.2k]
  |  |  ------------------
  ------------------
  154|   149k|        {
  155|   149k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  156|   149k|            ++index_;
  157|   149k|        }
  158|  14.2k|        else if (!done_)
  ------------------
  |  Branch (158:18): [True: 14.2k, False: 0]
  ------------------
  159|  14.2k|        {
  160|  14.2k|            visitor.end_array(context, ec);
  161|  14.2k|            done_ = true;
  162|  14.2k|        }
  163|   177k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIsNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderERKS5_:
  199|  1.20k|        : data_(std::move(data), alloc), 
  200|  1.20k|          span_(typed_array_cast<ValueType>(data_)), 
  201|  1.20k|        array_tag_(array_tag), extents_(extents,alloc), order_(order), func_(Func{}), 
  202|  1.20k|        dimensions_(extents.size(), mdarray_dimension{}, alloc)
  203|  1.20k|    {
  204|  1.20k|        std::vector<std::size_t> strides(extents.size(), 0);
  205|  1.20k|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (205:13): [True: 383, False: 817]
  ------------------
  206|    383|        {
  207|    383|            std::size_t stride = 1;
  208|    383|            const size_t num_extents = extents.size();
  209|  1.16k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (209:32): [True: 786, False: 383]
  ------------------
  210|    786|            {
  211|    786|                strides[i] = stride;
  212|    786|                stride *= extents[i];
  213|    786|            }
  214|    383|        }
  215|    817|        else
  216|    817|        {
  217|    817|            std::size_t stride = 1;
  218|    817|            const size_t num_extents = extents.size();
  219|  4.91k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (219:32): [True: 4.09k, False: 817]
  ------------------
  220|  4.09k|            {
  221|  4.09k|                strides[num_extents-i-1] = stride;
  222|  4.09k|                stride *= extents[num_extents-i-1];
  223|  4.09k|            }
  224|    817|        }
  225|  6.08k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (225:33): [True: 4.88k, False: 1.20k]
  ------------------
  226|  4.88k|        {
  227|  4.88k|            dimensions_[i].extent = extents[i];
  228|  4.88k|            dimensions_[i].stride = strides[i];
  229|  4.88k|            dimensions_[i].index = 0;
  230|  4.88k|            dimensions_[i].end = strides[i]*extents[i];
  231|  4.88k|        }
  232|  1.20k|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIsNS_8identityENSt3__19allocatorIcEEE4doneEv:
  260|  36.2k|    {
  261|  36.2k|        return done_;
  262|  36.2k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIsNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  266|  19.3k|    {
  267|  19.3k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   54|  19.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 19.3k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  268|       |
  269|  19.3k|        if (dim_ == 0)
  ------------------
  |  Branch (269:13): [True: 4.16k, False: 15.1k]
  ------------------
  270|  4.16k|        {
  271|  4.16k|            if (first_)
  ------------------
  |  Branch (271:17): [True: 1.20k, False: 2.96k]
  ------------------
  272|  1.20k|            {
  273|  1.20k|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  274|  1.20k|                first_ = false;
  275|  1.20k|                return;
  276|  1.20k|            }
  277|  2.96k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (277:17): [True: 1.20k, False: 1.76k]
  ------------------
  278|  1.20k|            {
  279|  1.20k|                visitor.end_array(context, ec);
  280|  1.20k|                done_ = true;
  281|  1.20k|                return;
  282|  1.20k|            }
  283|  2.96k|        }
  284|  16.9k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (284:13): [True: 14.3k, False: 2.58k]
  |  Branch (284:44): [True: 7.56k, False: 6.76k]
  ------------------
  285|  7.56k|        {
  286|  7.56k|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  287|  7.56k|            ++dim_;
  288|  7.56k|            return;
  289|  7.56k|        }
  290|  9.34k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (290:13): [True: 1.78k, False: 7.56k]
  ------------------
  291|  1.78k|        {
  292|  1.78k|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  293|  1.78k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  294|  1.78k|            ++count_;
  295|  1.78k|            return;
  296|  1.78k|        }
  297|  7.56k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (297:13): [True: 7.56k, False: 0]
  ------------------
  298|  7.56k|        {
  299|  7.56k|            visitor.end_array(context, ec);
  300|  7.56k|            if (dim_ > 0)
  ------------------
  |  Branch (300:17): [True: 7.56k, False: 0]
  ------------------
  301|  7.56k|            {
  302|  7.56k|                --dim_;
  303|  7.56k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  304|  7.56k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (304:21): [True: 577, False: 6.98k]
  ------------------
  305|    577|                {
  306|  4.45k|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (306:50): [True: 3.88k, False: 577]
  ------------------
  307|  3.88k|                    {
  308|  3.88k|                        dimensions_[i].index = dimensions_[i-1].index;
  309|  3.88k|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  310|  3.88k|                    }
  311|    577|                }
  312|  7.56k|            }
  313|  7.56k|        }
  314|  7.56k|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIsEENSt3__19enable_ifIXsr6nonstd17is_signed_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   64|   155k|    {
   65|   155k|        visitor.int64_value(val, tag, context, ec);
   66|   155k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIsNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagERKS5_:
  106|  96.5k|        : data_(std::move(data), alloc), 
  107|  96.5k|          span_(typed_array_cast<ValueType>(data_)), 
  108|  96.5k|          array_tag_(array_tag), 
  109|  96.5k|          extent_(span_.size()), 
  110|  96.5k|          tag_(tag), 
  111|  96.5k|          func_(Func{})
  112|  96.5k|    {
  113|  96.5k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIsNS_8identityENSt3__19allocatorIcEEE4doneEv:
  141|   500k|    {
  142|   500k|        return done_;
  143|   500k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIsNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  147|   346k|    {
  148|   346k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   79|   346k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 96.5k, False: 250k]
  |  |  ------------------
  ------------------
  149|  96.5k|        {
  150|  96.5k|            visitor.begin_array(span_.size(), tag_, context, ec);
  151|  96.5k|            first_ = false;
  152|  96.5k|        }
  153|   250k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   78|   250k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 153k, False: 96.5k]
  |  |  ------------------
  ------------------
  154|   153k|        {
  155|   153k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  156|   153k|            ++index_;
  157|   153k|        }
  158|  96.5k|        else if (!done_)
  ------------------
  |  Branch (158:18): [True: 96.5k, False: 0]
  ------------------
  159|  96.5k|        {
  160|  96.5k|            visitor.end_array(context, ec);
  161|  96.5k|            done_ = true;
  162|  96.5k|        }
  163|   346k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIiNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderERKS5_:
  199|  1.17k|        : data_(std::move(data), alloc), 
  200|  1.17k|          span_(typed_array_cast<ValueType>(data_)), 
  201|  1.17k|        array_tag_(array_tag), extents_(extents,alloc), order_(order), func_(Func{}), 
  202|  1.17k|        dimensions_(extents.size(), mdarray_dimension{}, alloc)
  203|  1.17k|    {
  204|  1.17k|        std::vector<std::size_t> strides(extents.size(), 0);
  205|  1.17k|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (205:13): [True: 217, False: 957]
  ------------------
  206|    217|        {
  207|    217|            std::size_t stride = 1;
  208|    217|            const size_t num_extents = extents.size();
  209|  1.13k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (209:32): [True: 920, False: 217]
  ------------------
  210|    920|            {
  211|    920|                strides[i] = stride;
  212|    920|                stride *= extents[i];
  213|    920|            }
  214|    217|        }
  215|    957|        else
  216|    957|        {
  217|    957|            std::size_t stride = 1;
  218|    957|            const size_t num_extents = extents.size();
  219|  7.29k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (219:32): [True: 6.34k, False: 957]
  ------------------
  220|  6.34k|            {
  221|  6.34k|                strides[num_extents-i-1] = stride;
  222|  6.34k|                stride *= extents[num_extents-i-1];
  223|  6.34k|            }
  224|    957|        }
  225|  8.43k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (225:33): [True: 7.26k, False: 1.17k]
  ------------------
  226|  7.26k|        {
  227|  7.26k|            dimensions_[i].extent = extents[i];
  228|  7.26k|            dimensions_[i].stride = strides[i];
  229|  7.26k|            dimensions_[i].index = 0;
  230|  7.26k|            dimensions_[i].end = strides[i]*extents[i];
  231|  7.26k|        }
  232|  1.17k|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIiNS_8identityENSt3__19allocatorIcEEE4doneEv:
  260|  43.7k|    {
  261|  43.7k|        return done_;
  262|  43.7k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIiNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  266|  23.0k|    {
  267|  23.0k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   54|  23.0k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 23.0k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  268|       |
  269|  23.0k|        if (dim_ == 0)
  ------------------
  |  Branch (269:13): [True: 3.81k, False: 19.2k]
  ------------------
  270|  3.81k|        {
  271|  3.81k|            if (first_)
  ------------------
  |  Branch (271:17): [True: 1.17k, False: 2.64k]
  ------------------
  272|  1.17k|            {
  273|  1.17k|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  274|  1.17k|                first_ = false;
  275|  1.17k|                return;
  276|  1.17k|            }
  277|  2.64k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (277:17): [True: 1.17k, False: 1.46k]
  ------------------
  278|  1.17k|            {
  279|  1.17k|                visitor.end_array(context, ec);
  280|  1.17k|                done_ = true;
  281|  1.17k|                return;
  282|  1.17k|            }
  283|  2.64k|        }
  284|  20.6k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (284:13): [True: 18.3k, False: 2.33k]
  |  Branch (284:44): [True: 9.60k, False: 8.75k]
  ------------------
  285|  9.60k|        {
  286|  9.60k|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  287|  9.60k|            ++dim_;
  288|  9.60k|            return;
  289|  9.60k|        }
  290|  11.0k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (290:13): [True: 1.48k, False: 9.60k]
  ------------------
  291|  1.48k|        {
  292|  1.48k|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  293|  1.48k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  294|  1.48k|            ++count_;
  295|  1.48k|            return;
  296|  1.48k|        }
  297|  9.60k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (297:13): [True: 9.60k, False: 0]
  ------------------
  298|  9.60k|        {
  299|  9.60k|            visitor.end_array(context, ec);
  300|  9.60k|            if (dim_ > 0)
  ------------------
  |  Branch (300:17): [True: 9.60k, False: 0]
  ------------------
  301|  9.60k|            {
  302|  9.60k|                --dim_;
  303|  9.60k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  304|  9.60k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (304:21): [True: 294, False: 9.31k]
  ------------------
  305|    294|                {
  306|  3.81k|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (306:50): [True: 3.52k, False: 294]
  ------------------
  307|  3.52k|                    {
  308|  3.52k|                        dimensions_[i].index = dimensions_[i-1].index;
  309|  3.52k|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  310|  3.52k|                    }
  311|    294|                }
  312|  9.60k|            }
  313|  9.60k|        }
  314|  9.60k|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIiEENSt3__19enable_ifIXsr6nonstd17is_signed_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   64|  26.1k|    {
   65|  26.1k|        visitor.int64_value(val, tag, context, ec);
   66|  26.1k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIiNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagERKS5_:
  106|  13.2k|        : data_(std::move(data), alloc), 
  107|  13.2k|          span_(typed_array_cast<ValueType>(data_)), 
  108|  13.2k|          array_tag_(array_tag), 
  109|  13.2k|          extent_(span_.size()), 
  110|  13.2k|          tag_(tag), 
  111|  13.2k|          func_(Func{})
  112|  13.2k|    {
  113|  13.2k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIiNS_8identityENSt3__19allocatorIcEEE4doneEv:
  141|  75.8k|    {
  142|  75.8k|        return done_;
  143|  75.8k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIiNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  147|  51.1k|    {
  148|  51.1k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   79|  51.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 13.2k, False: 37.9k]
  |  |  ------------------
  ------------------
  149|  13.2k|        {
  150|  13.2k|            visitor.begin_array(span_.size(), tag_, context, ec);
  151|  13.2k|            first_ = false;
  152|  13.2k|        }
  153|  37.9k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   78|  37.9k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 24.6k, False: 13.2k]
  |  |  ------------------
  ------------------
  154|  24.6k|        {
  155|  24.6k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  156|  24.6k|            ++index_;
  157|  24.6k|        }
  158|  13.2k|        else if (!done_)
  ------------------
  |  Branch (158:18): [True: 13.2k, False: 0]
  ------------------
  159|  13.2k|        {
  160|  13.2k|            visitor.end_array(context, ec);
  161|  13.2k|            done_ = true;
  162|  13.2k|        }
  163|  51.1k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIlNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderERKS5_:
  199|  2.64k|        : data_(std::move(data), alloc), 
  200|  2.64k|          span_(typed_array_cast<ValueType>(data_)), 
  201|  2.64k|        array_tag_(array_tag), extents_(extents,alloc), order_(order), func_(Func{}), 
  202|  2.64k|        dimensions_(extents.size(), mdarray_dimension{}, alloc)
  203|  2.64k|    {
  204|  2.64k|        std::vector<std::size_t> strides(extents.size(), 0);
  205|  2.64k|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (205:13): [True: 2.07k, False: 564]
  ------------------
  206|  2.07k|        {
  207|  2.07k|            std::size_t stride = 1;
  208|  2.07k|            const size_t num_extents = extents.size();
  209|  38.9k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (209:32): [True: 36.8k, False: 2.07k]
  ------------------
  210|  36.8k|            {
  211|  36.8k|                strides[i] = stride;
  212|  36.8k|                stride *= extents[i];
  213|  36.8k|            }
  214|  2.07k|        }
  215|    564|        else
  216|    564|        {
  217|    564|            std::size_t stride = 1;
  218|    564|            const size_t num_extents = extents.size();
  219|  4.59k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (219:32): [True: 4.03k, False: 564]
  ------------------
  220|  4.03k|            {
  221|  4.03k|                strides[num_extents-i-1] = stride;
  222|  4.03k|                stride *= extents[num_extents-i-1];
  223|  4.03k|            }
  224|    564|        }
  225|  43.5k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (225:33): [True: 40.9k, False: 2.64k]
  ------------------
  226|  40.9k|        {
  227|  40.9k|            dimensions_[i].extent = extents[i];
  228|  40.9k|            dimensions_[i].stride = strides[i];
  229|  40.9k|            dimensions_[i].index = 0;
  230|  40.9k|            dimensions_[i].end = strides[i]*extents[i];
  231|  40.9k|        }
  232|  2.64k|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIlNS_8identityENSt3__19allocatorIcEEE4doneEv:
  260|   176k|    {
  261|   176k|        return done_;
  262|   176k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIlNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  266|  91.0k|    {
  267|  91.0k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   54|  91.0k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 91.0k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  268|       |
  269|  91.0k|        if (dim_ == 0)
  ------------------
  |  Branch (269:13): [True: 8.26k, False: 82.7k]
  ------------------
  270|  8.26k|        {
  271|  8.26k|            if (first_)
  ------------------
  |  Branch (271:17): [True: 2.64k, False: 5.62k]
  ------------------
  272|  2.64k|            {
  273|  2.64k|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  274|  2.64k|                first_ = false;
  275|  2.64k|                return;
  276|  2.64k|            }
  277|  5.62k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (277:17): [True: 2.64k, False: 2.97k]
  ------------------
  278|  2.64k|            {
  279|  2.64k|                visitor.end_array(context, ec);
  280|  2.64k|                done_ = true;
  281|  2.64k|                return;
  282|  2.64k|            }
  283|  5.62k|        }
  284|  85.7k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (284:13): [True: 82.0k, False: 3.72k]
  |  Branch (284:44): [True: 41.3k, False: 40.6k]
  ------------------
  285|  41.3k|        {
  286|  41.3k|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  287|  41.3k|            ++dim_;
  288|  41.3k|            return;
  289|  41.3k|        }
  290|  44.3k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (290:13): [True: 3.00k, False: 41.3k]
  ------------------
  291|  3.00k|        {
  292|  3.00k|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  293|  3.00k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  294|  3.00k|            ++count_;
  295|  3.00k|            return;
  296|  3.00k|        }
  297|  41.3k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (297:13): [True: 41.3k, False: 0]
  ------------------
  298|  41.3k|        {
  299|  41.3k|            visitor.end_array(context, ec);
  300|  41.3k|            if (dim_ > 0)
  ------------------
  |  Branch (300:17): [True: 41.3k, False: 0]
  ------------------
  301|  41.3k|            {
  302|  41.3k|                --dim_;
  303|  41.3k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  304|  41.3k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (304:21): [True: 343, False: 41.0k]
  ------------------
  305|    343|                {
  306|  3.46k|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (306:50): [True: 3.12k, False: 343]
  ------------------
  307|  3.12k|                    {
  308|  3.12k|                        dimensions_[i].index = dimensions_[i-1].index;
  309|  3.12k|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  310|  3.12k|                    }
  311|    343|                }
  312|  41.3k|            }
  313|  41.3k|        }
  314|  41.3k|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIlEENSt3__19enable_ifIXsr6nonstd17is_signed_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   64|   132k|    {
   65|   132k|        visitor.int64_value(val, tag, context, ec);
   66|   132k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIlNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagERKS5_:
  106|  28.1k|        : data_(std::move(data), alloc), 
  107|  28.1k|          span_(typed_array_cast<ValueType>(data_)), 
  108|  28.1k|          array_tag_(array_tag), 
  109|  28.1k|          extent_(span_.size()), 
  110|  28.1k|          tag_(tag), 
  111|  28.1k|          func_(Func{})
  112|  28.1k|    {
  113|  28.1k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIlNS_8identityENSt3__19allocatorIcEEE4doneEv:
  141|   315k|    {
  142|   315k|        return done_;
  143|   315k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIlNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  147|   185k|    {
  148|   185k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   79|   185k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 28.1k, False: 157k]
  |  |  ------------------
  ------------------
  149|  28.1k|        {
  150|  28.1k|            visitor.begin_array(span_.size(), tag_, context, ec);
  151|  28.1k|            first_ = false;
  152|  28.1k|        }
  153|   157k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   78|   157k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 129k, False: 28.1k]
  |  |  ------------------
  ------------------
  154|   129k|        {
  155|   129k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  156|   129k|            ++index_;
  157|   129k|        }
  158|  28.1k|        else if (!done_)
  ------------------
  |  Branch (158:18): [True: 28.1k, False: 0]
  ------------------
  159|  28.1k|        {
  160|  28.1k|            visitor.end_array(context, ec);
  161|  28.1k|            done_ = true;
  162|  28.1k|        }
  163|   185k|    }
_ZN8jsoncons4cbor16mdarray_iteratorItNS_11decode_halfENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderERKS5_:
  199|  3.26k|        : data_(std::move(data), alloc), 
  200|  3.26k|          span_(typed_array_cast<ValueType>(data_)), 
  201|  3.26k|        array_tag_(array_tag), extents_(extents,alloc), order_(order), func_(Func{}), 
  202|  3.26k|        dimensions_(extents.size(), mdarray_dimension{}, alloc)
  203|  3.26k|    {
  204|  3.26k|        std::vector<std::size_t> strides(extents.size(), 0);
  205|  3.26k|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (205:13): [True: 788, False: 2.48k]
  ------------------
  206|    788|        {
  207|    788|            std::size_t stride = 1;
  208|    788|            const size_t num_extents = extents.size();
  209|  1.90k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (209:32): [True: 1.11k, False: 788]
  ------------------
  210|  1.11k|            {
  211|  1.11k|                strides[i] = stride;
  212|  1.11k|                stride *= extents[i];
  213|  1.11k|            }
  214|    788|        }
  215|  2.48k|        else
  216|  2.48k|        {
  217|  2.48k|            std::size_t stride = 1;
  218|  2.48k|            const size_t num_extents = extents.size();
  219|  32.6k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (219:32): [True: 30.2k, False: 2.48k]
  ------------------
  220|  30.2k|            {
  221|  30.2k|                strides[num_extents-i-1] = stride;
  222|  30.2k|                stride *= extents[num_extents-i-1];
  223|  30.2k|            }
  224|  2.48k|        }
  225|  34.5k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (225:33): [True: 31.3k, False: 3.26k]
  ------------------
  226|  31.3k|        {
  227|  31.3k|            dimensions_[i].extent = extents[i];
  228|  31.3k|            dimensions_[i].stride = strides[i];
  229|  31.3k|            dimensions_[i].index = 0;
  230|  31.3k|            dimensions_[i].end = strides[i]*extents[i];
  231|  31.3k|        }
  232|  3.26k|    }
_ZNK8jsoncons4cbor16mdarray_iteratorItNS_11decode_halfENSt3__19allocatorIcEEE4doneEv:
  260|   244k|    {
  261|   244k|        return done_;
  262|   244k|    }
_ZN8jsoncons4cbor16mdarray_iteratorItNS_11decode_halfENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  266|   125k|    {
  267|   125k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   54|   125k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 125k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  268|       |
  269|   125k|        if (dim_ == 0)
  ------------------
  |  Branch (269:13): [True: 11.5k, False: 114k]
  ------------------
  270|  11.5k|        {
  271|  11.5k|            if (first_)
  ------------------
  |  Branch (271:17): [True: 3.26k, False: 8.30k]
  ------------------
  272|  3.26k|            {
  273|  3.26k|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  274|  3.26k|                first_ = false;
  275|  3.26k|                return;
  276|  3.26k|            }
  277|  8.30k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (277:17): [True: 3.26k, False: 5.03k]
  ------------------
  278|  3.26k|            {
  279|  3.26k|                visitor.end_array(context, ec);
  280|  3.26k|                done_ = true;
  281|  3.26k|                return;
  282|  3.26k|            }
  283|  8.30k|        }
  284|   119k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (284:13): [True: 111k, False: 7.67k]
  |  Branch (284:44): [True: 56.9k, False: 54.5k]
  ------------------
  285|  56.9k|        {
  286|  56.9k|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  287|  56.9k|            ++dim_;
  288|  56.9k|            return;
  289|  56.9k|        }
  290|  62.1k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (290:13): [True: 5.25k, False: 56.9k]
  ------------------
  291|  5.25k|        {
  292|  5.25k|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  293|  5.25k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  294|  5.25k|            ++count_;
  295|  5.25k|            return;
  296|  5.25k|        }
  297|  56.9k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (297:13): [True: 56.9k, False: 0]
  ------------------
  298|  56.9k|        {
  299|  56.9k|            visitor.end_array(context, ec);
  300|  56.9k|            if (dim_ > 0)
  ------------------
  |  Branch (300:17): [True: 56.9k, False: 0]
  ------------------
  301|  56.9k|            {
  302|  56.9k|                --dim_;
  303|  56.9k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  304|  56.9k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (304:21): [True: 1.77k, False: 55.1k]
  ------------------
  305|  1.77k|                {
  306|  30.6k|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (306:50): [True: 28.8k, False: 1.77k]
  ------------------
  307|  28.8k|                    {
  308|  28.8k|                        dimensions_[i].index = dimensions_[i-1].index;
  309|  28.8k|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  310|  28.8k|                    }
  311|  1.77k|                }
  312|  56.9k|            }
  313|  56.9k|        }
  314|  56.9k|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIdEENSt3__19enable_ifIXsr17is_floating_pointIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   80|  1.07M|    {
   81|  1.07M|        visitor.double_value(val, tag, context, ec);
   82|  1.07M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorItNS_11decode_halfENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagERKS5_:
  106|  6.51k|        : data_(std::move(data), alloc), 
  107|  6.51k|          span_(typed_array_cast<ValueType>(data_)), 
  108|  6.51k|          array_tag_(array_tag), 
  109|  6.51k|          extent_(span_.size()), 
  110|  6.51k|          tag_(tag), 
  111|  6.51k|          func_(Func{})
  112|  6.51k|    {
  113|  6.51k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorItNS_11decode_halfENSt3__19allocatorIcEEE4doneEv:
  141|  2.07M|    {
  142|  2.07M|        return done_;
  143|  2.07M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorItNS_11decode_halfENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  147|  1.04M|    {
  148|  1.04M|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   79|  1.04M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 6.51k, False: 1.03M]
  |  |  ------------------
  ------------------
  149|  6.51k|        {
  150|  6.51k|            visitor.begin_array(span_.size(), tag_, context, ec);
  151|  6.51k|            first_ = false;
  152|  6.51k|        }
  153|  1.03M|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   78|  1.03M|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 1.02M, False: 6.51k]
  |  |  ------------------
  ------------------
  154|  1.02M|        {
  155|  1.02M|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  156|  1.02M|            ++index_;
  157|  1.02M|        }
  158|  6.51k|        else if (!done_)
  ------------------
  |  Branch (158:18): [True: 6.51k, False: 0]
  ------------------
  159|  6.51k|        {
  160|  6.51k|            visitor.end_array(context, ec);
  161|  6.51k|            done_ = true;
  162|  6.51k|        }
  163|  1.04M|    }
_ZN8jsoncons4cbor16mdarray_iteratorIfNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderERKS5_:
  199|  1.79k|        : data_(std::move(data), alloc), 
  200|  1.79k|          span_(typed_array_cast<ValueType>(data_)), 
  201|  1.79k|        array_tag_(array_tag), extents_(extents,alloc), order_(order), func_(Func{}), 
  202|  1.79k|        dimensions_(extents.size(), mdarray_dimension{}, alloc)
  203|  1.79k|    {
  204|  1.79k|        std::vector<std::size_t> strides(extents.size(), 0);
  205|  1.79k|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (205:13): [True: 346, False: 1.44k]
  ------------------
  206|    346|        {
  207|    346|            std::size_t stride = 1;
  208|    346|            const size_t num_extents = extents.size();
  209|  3.09k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (209:32): [True: 2.75k, False: 346]
  ------------------
  210|  2.75k|            {
  211|  2.75k|                strides[i] = stride;
  212|  2.75k|                stride *= extents[i];
  213|  2.75k|            }
  214|    346|        }
  215|  1.44k|        else
  216|  1.44k|        {
  217|  1.44k|            std::size_t stride = 1;
  218|  1.44k|            const size_t num_extents = extents.size();
  219|  6.32k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (219:32): [True: 4.87k, False: 1.44k]
  ------------------
  220|  4.87k|            {
  221|  4.87k|                strides[num_extents-i-1] = stride;
  222|  4.87k|                stride *= extents[num_extents-i-1];
  223|  4.87k|            }
  224|  1.44k|        }
  225|  9.42k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (225:33): [True: 7.63k, False: 1.79k]
  ------------------
  226|  7.63k|        {
  227|  7.63k|            dimensions_[i].extent = extents[i];
  228|  7.63k|            dimensions_[i].stride = strides[i];
  229|  7.63k|            dimensions_[i].index = 0;
  230|  7.63k|            dimensions_[i].end = strides[i]*extents[i];
  231|  7.63k|        }
  232|  1.79k|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIfNS_8identityENSt3__19allocatorIcEEE4doneEv:
  260|  61.5k|    {
  261|  61.5k|        return done_;
  262|  61.5k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIfNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  266|  32.5k|    {
  267|  32.5k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   54|  32.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 32.5k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  268|       |
  269|  32.5k|        if (dim_ == 0)
  ------------------
  |  Branch (269:13): [True: 8.12k, False: 24.4k]
  ------------------
  270|  8.12k|        {
  271|  8.12k|            if (first_)
  ------------------
  |  Branch (271:17): [True: 1.79k, False: 6.33k]
  ------------------
  272|  1.79k|            {
  273|  1.79k|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  274|  1.79k|                first_ = false;
  275|  1.79k|                return;
  276|  1.79k|            }
  277|  6.33k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (277:17): [True: 1.79k, False: 4.53k]
  ------------------
  278|  1.79k|            {
  279|  1.79k|                visitor.end_array(context, ec);
  280|  1.79k|                done_ = true;
  281|  1.79k|                return;
  282|  1.79k|            }
  283|  6.33k|        }
  284|  28.9k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (284:13): [True: 19.2k, False: 9.73k]
  |  Branch (284:44): [True: 12.0k, False: 7.18k]
  ------------------
  285|  12.0k|        {
  286|  12.0k|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  287|  12.0k|            ++dim_;
  288|  12.0k|            return;
  289|  12.0k|        }
  290|  16.9k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (290:13): [True: 4.88k, False: 12.0k]
  ------------------
  291|  4.88k|        {
  292|  4.88k|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  293|  4.88k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  294|  4.88k|            ++count_;
  295|  4.88k|            return;
  296|  4.88k|        }
  297|  12.0k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (297:13): [True: 12.0k, False: 0]
  ------------------
  298|  12.0k|        {
  299|  12.0k|            visitor.end_array(context, ec);
  300|  12.0k|            if (dim_ > 0)
  ------------------
  |  Branch (300:17): [True: 12.0k, False: 0]
  ------------------
  301|  12.0k|            {
  302|  12.0k|                --dim_;
  303|  12.0k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  304|  12.0k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (304:21): [True: 3.08k, False: 8.94k]
  ------------------
  305|  3.08k|                {
  306|  9.28k|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (306:50): [True: 6.20k, False: 3.08k]
  ------------------
  307|  6.20k|                    {
  308|  6.20k|                        dimensions_[i].index = dimensions_[i-1].index;
  309|  6.20k|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  310|  6.20k|                    }
  311|  3.08k|                }
  312|  12.0k|            }
  313|  12.0k|        }
  314|  12.0k|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIfEENSt3__19enable_ifIXsr17is_floating_pointIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   80|   724k|    {
   81|   724k|        visitor.double_value(val, tag, context, ec);
   82|   724k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIfNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagERKS5_:
  106|  13.5k|        : data_(std::move(data), alloc), 
  107|  13.5k|          span_(typed_array_cast<ValueType>(data_)), 
  108|  13.5k|          array_tag_(array_tag), 
  109|  13.5k|          extent_(span_.size()), 
  110|  13.5k|          tag_(tag), 
  111|  13.5k|          func_(Func{})
  112|  13.5k|    {
  113|  13.5k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIfNS_8identityENSt3__19allocatorIcEEE4doneEv:
  141|  1.46M|    {
  142|  1.46M|        return done_;
  143|  1.46M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIfNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  147|   746k|    {
  148|   746k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   79|   746k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 13.5k, False: 733k]
  |  |  ------------------
  ------------------
  149|  13.5k|        {
  150|  13.5k|            visitor.begin_array(span_.size(), tag_, context, ec);
  151|  13.5k|            first_ = false;
  152|  13.5k|        }
  153|   733k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   78|   733k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 719k, False: 13.5k]
  |  |  ------------------
  ------------------
  154|   719k|        {
  155|   719k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  156|   719k|            ++index_;
  157|   719k|        }
  158|  13.5k|        else if (!done_)
  ------------------
  |  Branch (158:18): [True: 13.5k, False: 0]
  ------------------
  159|  13.5k|        {
  160|  13.5k|            visitor.end_array(context, ec);
  161|  13.5k|            done_ = true;
  162|  13.5k|        }
  163|   746k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIdNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderERKS5_:
  199|  1.01k|        : data_(std::move(data), alloc), 
  200|  1.01k|          span_(typed_array_cast<ValueType>(data_)), 
  201|  1.01k|        array_tag_(array_tag), extents_(extents,alloc), order_(order), func_(Func{}), 
  202|  1.01k|        dimensions_(extents.size(), mdarray_dimension{}, alloc)
  203|  1.01k|    {
  204|  1.01k|        std::vector<std::size_t> strides(extents.size(), 0);
  205|  1.01k|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (205:13): [True: 304, False: 714]
  ------------------
  206|    304|        {
  207|    304|            std::size_t stride = 1;
  208|    304|            const size_t num_extents = extents.size();
  209|  3.08k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (209:32): [True: 2.78k, False: 304]
  ------------------
  210|  2.78k|            {
  211|  2.78k|                strides[i] = stride;
  212|  2.78k|                stride *= extents[i];
  213|  2.78k|            }
  214|    304|        }
  215|    714|        else
  216|    714|        {
  217|    714|            std::size_t stride = 1;
  218|    714|            const size_t num_extents = extents.size();
  219|  5.92k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (219:32): [True: 5.20k, False: 714]
  ------------------
  220|  5.20k|            {
  221|  5.20k|                strides[num_extents-i-1] = stride;
  222|  5.20k|                stride *= extents[num_extents-i-1];
  223|  5.20k|            }
  224|    714|        }
  225|  9.00k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (225:33): [True: 7.98k, False: 1.01k]
  ------------------
  226|  7.98k|        {
  227|  7.98k|            dimensions_[i].extent = extents[i];
  228|  7.98k|            dimensions_[i].stride = strides[i];
  229|  7.98k|            dimensions_[i].index = 0;
  230|  7.98k|            dimensions_[i].end = strides[i]*extents[i];
  231|  7.98k|        }
  232|  1.01k|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIdNS_8identityENSt3__19allocatorIcEEE4doneEv:
  260|  49.5k|    {
  261|  49.5k|        return done_;
  262|  49.5k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIdNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  266|  25.7k|    {
  267|  25.7k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   54|  25.7k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 25.7k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  268|       |
  269|  25.7k|        if (dim_ == 0)
  ------------------
  |  Branch (269:13): [True: 3.28k, False: 22.4k]
  ------------------
  270|  3.28k|        {
  271|  3.28k|            if (first_)
  ------------------
  |  Branch (271:17): [True: 1.01k, False: 2.26k]
  ------------------
  272|  1.01k|            {
  273|  1.01k|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  274|  1.01k|                first_ = false;
  275|  1.01k|                return;
  276|  1.01k|            }
  277|  2.26k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (277:17): [True: 1.01k, False: 1.25k]
  ------------------
  278|  1.01k|            {
  279|  1.01k|                visitor.end_array(context, ec);
  280|  1.01k|                done_ = true;
  281|  1.01k|                return;
  282|  1.01k|            }
  283|  2.26k|        }
  284|  23.7k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (284:13): [True: 21.9k, False: 1.81k]
  |  Branch (284:44): [True: 11.2k, False: 10.7k]
  ------------------
  285|  11.2k|        {
  286|  11.2k|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  287|  11.2k|            ++dim_;
  288|  11.2k|            return;
  289|  11.2k|        }
  290|  12.5k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (290:13): [True: 1.29k, False: 11.2k]
  ------------------
  291|  1.29k|        {
  292|  1.29k|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  293|  1.29k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  294|  1.29k|            ++count_;
  295|  1.29k|            return;
  296|  1.29k|        }
  297|  11.2k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (297:13): [True: 11.2k, False: 0]
  ------------------
  298|  11.2k|        {
  299|  11.2k|            visitor.end_array(context, ec);
  300|  11.2k|            if (dim_ > 0)
  ------------------
  |  Branch (300:17): [True: 11.2k, False: 0]
  ------------------
  301|  11.2k|            {
  302|  11.2k|                --dim_;
  303|  11.2k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  304|  11.2k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (304:21): [True: 248, False: 10.9k]
  ------------------
  305|    248|                {
  306|  4.50k|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (306:50): [True: 4.25k, False: 248]
  ------------------
  307|  4.25k|                    {
  308|  4.25k|                        dimensions_[i].index = dimensions_[i-1].index;
  309|  4.25k|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  310|  4.25k|                    }
  311|    248|                }
  312|  11.2k|            }
  313|  11.2k|        }
  314|  11.2k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIdNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagERKS5_:
  106|  4.38k|        : data_(std::move(data), alloc), 
  107|  4.38k|          span_(typed_array_cast<ValueType>(data_)), 
  108|  4.38k|          array_tag_(array_tag), 
  109|  4.38k|          extent_(span_.size()), 
  110|  4.38k|          tag_(tag), 
  111|  4.38k|          func_(Func{})
  112|  4.38k|    {
  113|  4.38k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIdNS_8identityENSt3__19allocatorIcEEE4doneEv:
  141|  93.4k|    {
  142|  93.4k|        return done_;
  143|  93.4k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIdNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  147|  51.1k|    {
  148|  51.1k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   79|  51.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4.38k, False: 46.7k]
  |  |  ------------------
  ------------------
  149|  4.38k|        {
  150|  4.38k|            visitor.begin_array(span_.size(), tag_, context, ec);
  151|  4.38k|            first_ = false;
  152|  4.38k|        }
  153|  46.7k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   78|  46.7k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 42.3k, False: 4.38k]
  |  |  ------------------
  ------------------
  154|  42.3k|        {
  155|  42.3k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  156|  42.3k|            ++index_;
  157|  42.3k|        }
  158|  4.38k|        else if (!done_)
  ------------------
  |  Branch (158:18): [True: 4.38k, False: 0]
  ------------------
  159|  4.38k|        {
  160|  4.38k|            visitor.end_array(context, ec);
  161|  4.38k|            done_ = true;
  162|  4.38k|        }
  163|  51.1k|    }
_ZN8jsoncons4cbor31cbor_mdarray_row_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2ERKNS3_6vectorImNS4_ImEEEEPNS0_17basic_cbor_parserIS6_S7_EEbRKS7_:
  337|  5.03k|        : extents_(extents, alloc), dimensions_(extents.size(), mdarray_dimension{}, alloc),
  338|  5.03k|          parser_(parser), cursor_mode_(cursor_mode)
  339|  5.03k|    {
  340|  5.03k|        std::vector<std::size_t> strides(extents.size(), 0);
  341|  5.03k|        std::size_t stride = 1;
  342|  5.03k|        const size_t num_extents = extents.size();
  343|   763k|        for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (343:28): [True: 758k, False: 5.03k]
  ------------------
  344|   758k|        {
  345|   758k|            strides[num_extents - i - 1] = stride;
  346|   758k|            stride *= extents[num_extents - i - 1];
  347|   758k|        }
  348|   763k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (348:33): [True: 758k, False: 5.03k]
  ------------------
  349|   758k|        {
  350|   758k|            dimensions_[i].extent = extents[i];
  351|   758k|            dimensions_[i].stride = strides[i];
  352|   758k|            dimensions_[i].index = 0;
  353|   758k|            dimensions_[i].end = strides[i] * extents[i];
  354|   758k|        }
  355|  5.03k|    }
_ZNK8jsoncons4cbor31cbor_mdarray_row_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5countEv:
  383|    691|    {
  384|    691|        return count_;
  385|    691|    }
_ZNK8jsoncons4cbor31cbor_mdarray_row_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4doneEv:
  378|  13.2M|    {
  379|  13.2M|        return done_;
  380|  13.2M|    }
_ZN8jsoncons4cbor31cbor_mdarray_row_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  389|  13.2M|    {
  390|  13.2M|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   54|  13.2M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 13.2M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  391|       |
  392|  13.2M|        if (dim_ == 0)
  ------------------
  |  Branch (392:13): [True: 802k, False: 12.4M]
  ------------------
  393|   802k|        {
  394|   802k|            if (first_)
  ------------------
  |  Branch (394:17): [True: 5.03k, False: 797k]
  ------------------
  395|  5.03k|            {
  396|  5.03k|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  397|  5.03k|                first_ = false;
  398|  5.03k|                return;
  399|  5.03k|            }
  400|   797k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (400:17): [True: 977, False: 796k]
  ------------------
  401|    977|            {
  402|    977|                visitor.end_array(context, ec);
  403|    977|                done_ = true;
  404|    977|                return;
  405|    977|            }
  406|   797k|        }
  407|  13.2M|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (407:13): [True: 11.6M, False: 1.65M]
  |  Branch (407:44): [True: 6.45M, False: 5.17M]
  ------------------
  408|  6.45M|        {
  409|  6.45M|            if (!cursor_mode_)
  ------------------
  |  Branch (409:17): [True: 6.45M, False: 0]
  ------------------
  410|  6.45M|            {
  411|  6.45M|                visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  412|  6.45M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  6.45M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 6.45M]
  |  |  ------------------
  ------------------
  413|      0|                {
  414|      0|                    return;
  415|      0|                }
  416|  6.45M|            }
  417|  6.45M|            ++dim_;
  418|  6.45M|            return;
  419|  6.45M|        }
  420|  6.82M|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (420:13): [True: 1.12M, False: 5.70M]
  ------------------
  421|  1.12M|        {
  422|  1.12M|            parser_->read_item(visitor, ec);
  423|  1.12M|            dimensions_[dim_].index += dimensions_[dim_].stride;
  424|  1.12M|            ++count_;
  425|  1.12M|            return;
  426|  1.12M|        }
  427|  5.70M|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (427:13): [True: 5.70M, False: 0]
  ------------------
  428|  5.70M|        {
  429|  5.70M|            if (!cursor_mode_)
  ------------------
  |  Branch (429:17): [True: 5.70M, False: 0]
  ------------------
  430|  5.70M|            {
  431|  5.70M|                visitor.end_array(context, ec);
  432|  5.70M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  5.70M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 5.70M]
  |  |  ------------------
  ------------------
  433|      0|                {
  434|      0|                    return;
  435|      0|                }
  436|  5.70M|            }
  437|  5.70M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  5.70M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 5.70M]
  |  |  ------------------
  ------------------
  438|      0|            {
  439|      0|                return;
  440|      0|            }
  441|  5.70M|            if (dim_ > 0)
  ------------------
  |  Branch (441:17): [True: 5.70M, False: 0]
  ------------------
  442|  5.70M|            {
  443|  5.70M|                --dim_;
  444|  5.70M|                dimensions_[dim_].index += dimensions_[dim_].stride;
  445|  5.70M|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (445:21): [True: 531k, False: 5.17M]
  ------------------
  446|   531k|                {
  447|  6.23M|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (447:50): [True: 5.70M, False: 531k]
  ------------------
  448|  5.70M|                    {
  449|  5.70M|                        dimensions_[i].index = dimensions_[i-1].index;
  450|  5.70M|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  451|  5.70M|                    }
  452|   531k|                }
  453|  5.70M|            }
  454|  5.70M|        }
  455|  5.70M|    }
_ZN8jsoncons4cbor34cbor_mdarray_column_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2ERKNS3_6vectorImNS4_ImEEEEPNS0_17basic_cbor_parserIS6_S7_EEbRKS7_:
  478|  7.24k|        : extents_(extents,alloc), dimensions_(extents.size(), mdarray_dimension{},alloc),
  479|  7.24k|          parser_(parser), cursor_mode_(cursor_mode)
  480|  7.24k|    {
  481|  7.24k|        std::vector<std::size_t> strides(extents.size(), 0);
  482|  7.24k|        std::size_t stride = 1;
  483|  7.24k|        const size_t num_extents = extents.size();
  484|   267k|        for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (484:28): [True: 260k, False: 7.24k]
  ------------------
  485|   260k|        {
  486|   260k|            strides[num_extents - i - 1] = stride;
  487|   260k|            stride *= extents[num_extents - i - 1];
  488|   260k|        }
  489|   267k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (489:33): [True: 260k, False: 7.24k]
  ------------------
  490|   260k|        {
  491|   260k|            dimensions_[i].extent = extents[i];
  492|   260k|            dimensions_[i].stride = strides[i];
  493|   260k|            dimensions_[i].index = 0;
  494|   260k|            dimensions_[i].end = strides[i] * extents[i];
  495|   260k|        }
  496|  7.24k|    }
_ZNK8jsoncons4cbor34cbor_mdarray_column_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5countEv:
  524|  5.19k|    {
  525|  5.19k|        return count_;
  526|  5.19k|    }
_ZNK8jsoncons4cbor34cbor_mdarray_column_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4doneEv:
  519|  6.12M|    {
  520|  6.12M|        return done_;
  521|  6.12M|    }
_ZN8jsoncons4cbor34cbor_mdarray_column_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  530|  6.12M|    {
  531|  6.12M|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   54|  6.12M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 6.12M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  532|       |
  533|  6.12M|        if (dim_ == 0)
  ------------------
  |  Branch (533:13): [True: 336k, False: 5.78M]
  ------------------
  534|   336k|        {
  535|   336k|            if (first_)
  ------------------
  |  Branch (535:17): [True: 7.24k, False: 329k]
  ------------------
  536|  7.24k|            {
  537|  7.24k|                if (!cursor_mode_)
  ------------------
  |  Branch (537:21): [True: 7.24k, False: 0]
  ------------------
  538|  7.24k|                {
  539|  7.24k|                    visitor.begin_array(dimensions_[dim_].extent, semantic_tag::multi_dim_column_major, context, ec);
  540|  7.24k|                    visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  541|  7.24k|                    for (auto item : dimensions_)
  ------------------
  |  Branch (541:36): [True: 260k, False: 7.24k]
  ------------------
  542|   260k|                    {
  543|   260k|                        visitor.uint64_value(item.extent, semantic_tag::none, context, ec);
  544|   260k|                    }
  545|  7.24k|                    visitor.end_array(context, ec);
  546|  7.24k|                }
  547|  7.24k|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  548|  7.24k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  7.24k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 7.24k]
  |  |  ------------------
  ------------------
  549|      0|                {
  550|      0|                    return;
  551|      0|                }
  552|  7.24k|                first_ = false;
  553|  7.24k|                return;
  554|  7.24k|            }
  555|   329k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (555:17): [True: 5.71k, False: 323k]
  ------------------
  556|  5.71k|            {
  557|  5.71k|                visitor.end_array(context, ec);
  558|  5.71k|                if (!cursor_mode_)
  ------------------
  |  Branch (558:21): [True: 5.71k, False: 0]
  ------------------
  559|  5.71k|                {
  560|  5.71k|                    visitor.end_array(context, ec);
  561|  5.71k|                }
  562|  5.71k|                done_ = true;
  563|  5.71k|                return;
  564|  5.71k|            }
  565|   329k|        }
  566|  6.10M|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (566:13): [True: 4.98M, False: 1.12M]
  |  Branch (566:44): [True: 2.88M, False: 2.09M]
  ------------------
  567|  2.88M|        {
  568|  2.88M|            ++dim_;
  569|  2.88M|            return;
  570|  2.88M|        }
  571|  3.22M|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (571:13): [True: 582k, False: 2.64M]
  ------------------
  572|   582k|        {
  573|   582k|            parser_->read_item(visitor, ec);
  574|   582k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  575|   582k|            ++count_;
  576|   582k|            return;
  577|   582k|        }
  578|  2.64M|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (578:13): [True: 2.64M, False: 0]
  ------------------
  579|  2.64M|        {
  580|  2.64M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.64M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.64M]
  |  |  ------------------
  ------------------
  581|      0|            {
  582|      0|                return;
  583|      0|            }
  584|  2.64M|            if (dim_ > 0)
  ------------------
  |  Branch (584:17): [True: 2.64M, False: 0]
  ------------------
  585|  2.64M|            {
  586|  2.64M|                --dim_;
  587|  2.64M|                dimensions_[dim_].index += dimensions_[dim_].stride;
  588|  2.64M|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (588:21): [True: 545k, False: 2.09M]
  ------------------
  589|   545k|                {
  590|  3.17M|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (590:50): [True: 2.63M, False: 545k]
  ------------------
  591|  2.63M|                    {
  592|  2.63M|                        dimensions_[i].index = dimensions_[i-1].index;
  593|  2.63M|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  594|  2.63M|                    }
  595|   545k|                }
  596|  2.64M|            }
  597|  2.64M|        }
  598|  2.64M|    }

_ZN8jsoncons4cbor11decode_cborINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEJRNS4_19basic_istringstreamIcNS4_11char_traitsIcEES6_EEEEET_DpOT0_:
  255|  13.5k|{
  256|  13.5k|    auto result = try_decode_cbor<T>(std::forward<Args>(args)...); 
  257|  13.5k|    if (!result)
  ------------------
  |  Branch (257:9): [True: 9.94k, False: 3.56k]
  ------------------
  258|  9.94k|    {
  259|  9.94k|        JSONCONS_THROW(ser_error(result.error().code(), result.error().line(), result.error().column()));
  ------------------
  |  |   35|  9.94k|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  260|  9.94k|    }
  261|  3.56k|    return std::move(*result);
  262|  13.5k|}
_ZN8jsoncons4cbor15try_decode_cborINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEENS4_9enable_ifIXsr6nonstd13is_basic_jsonIT_EE5valueENS_6nonstd8expectedIS9_NS_10read_errorEEEE4typeERNS4_13basic_istreamIcNS4_11char_traitsIcEEEERKNS0_19cbor_decode_optionsE:
   78|  13.5k|{
   79|  13.5k|    using value_type = T;
   80|  13.5k|    using result_type = read_result<value_type>;
   81|       |
   82|  13.5k|    std::error_code ec;   
   83|  13.5k|    jsoncons::json_decoder<T> decoder;
   84|  13.5k|    auto adaptor = make_json_visitor_adaptor<json_visitor>(decoder);
   85|  13.5k|    cbor_stream_reader reader(is, adaptor, options);
   86|  13.5k|    reader.read(ec);
   87|  13.5k|    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  13.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 9.94k, False: 3.56k]
  |  |  ------------------
  ------------------
   88|  9.94k|    {
   89|  9.94k|        return result_type{jsoncons::unexpect, ec, reader.line(), reader.column()};
   90|  9.94k|    }
   91|  3.56k|    if (JSONCONS_UNLIKELY(!decoder.is_valid()))
  ------------------
  |  |   79|  3.56k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 3.56k]
  |  |  ------------------
  ------------------
   92|      0|    {
   93|      0|        return result_type{jsoncons::unexpect, conv_errc::conversion_failed, reader.line(), reader.column()};
   94|      0|    }
   95|  3.56k|    return result_type{decoder.get_result()};
   96|  3.56k|}

