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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2774|   113M|        {
 2775|   113M|             destroy();
 2776|   113M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  898|   113M|        {
  899|   113M|            switch (storage_kind())
  900|   113M|            {
  901|  3.57k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (901:17): [True: 3.57k, False: 113M]
  ------------------
  902|  3.57k|                {
  903|  3.57k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (903:25): [True: 3.57k, False: 0]
  ------------------
  904|  3.57k|                    {
  905|  3.57k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  906|  3.57k|                    }
  907|  3.57k|                    break;
  908|      0|                }
  909|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (909:17): [True: 0, False: 113M]
  ------------------
  910|      0|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (910:25): [True: 0, False: 0]
  ------------------
  911|      0|                    {
  912|      0|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  913|      0|                    }
  914|      0|                    break;
  915|  2.83M|                case json_storage_kind::array:
  ------------------
  |  Branch (915:17): [True: 2.83M, False: 110M]
  ------------------
  916|  2.83M|                {
  917|  2.83M|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (917:25): [True: 2.83M, False: 0]
  ------------------
  918|  2.83M|                    {
  919|  2.83M|                        auto& stor = cast<array_storage>();
  920|  2.83M|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  921|  2.83M|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, nonstd::to_plain_pointer(stor.ptr_));
  922|  2.83M|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  923|  2.83M|                    }
  924|  2.83M|                    break;
  925|      0|                }
  926|  4.45M|                case json_storage_kind::object:
  ------------------
  |  Branch (926:17): [True: 4.45M, False: 109M]
  ------------------
  927|  4.45M|                {
  928|  4.45M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (928:25): [True: 4.45M, False: 0]
  ------------------
  929|  4.45M|                    {
  930|  4.45M|                        auto& stor = cast<object_storage>();
  931|  4.45M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  932|  4.45M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, nonstd::to_plain_pointer(stor.ptr_));
  933|  4.45M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  934|  4.45M|                    }
  935|  4.45M|                    break;
  936|      0|                }
  937|   106M|                default:
  ------------------
  |  Branch (937:17): [True: 106M, False: 7.29M]
  ------------------
  938|   106M|                    break;
  939|   113M|            }
  940|   113M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1462|   268M|        {
 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|   268M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1468|   268M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1004|  31.7k|        {
 1005|  31.7k|            return cast(identity<T>());
 1006|  31.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1095|  31.7k|        {
 1096|  31.7k|            return long_str_;
 1097|  31.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1004|  22.8M|        {
 1005|  22.8M|            return cast(identity<T>());
 1006|  22.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1125|  22.8M|        {
 1126|  22.8M|            return array_;
 1127|  22.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2307|  76.9M|        {
 2308|  76.9M|            uninitialized_move(std::move(other));
 2309|  76.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1302|  76.9M|        {
 1303|  76.9M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1303:17): [True: 67.6M, False: 9.28M]
  ------------------
 1304|  67.6M|            {
 1305|  67.6M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1306|  67.6M|            }
 1307|  9.28M|            else
 1308|  9.28M|            {
 1309|  9.28M|                switch (other.storage_kind())
 1310|  9.28M|                {
 1311|  6.04k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1311:21): [True: 6.04k, False: 9.28M]
  ------------------
 1312|  6.04k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1313|  6.04k|                        other.construct<null_storage>();
 1314|  6.04k|                        break;
 1315|      0|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1315:21): [True: 0, False: 9.28M]
  ------------------
 1316|      0|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1317|      0|                        other.construct<null_storage>();
 1318|      0|                        break;
 1319|  3.54M|                    case json_storage_kind::array:
  ------------------
  |  Branch (1319:21): [True: 3.54M, False: 5.74M]
  ------------------
 1320|  3.54M|                        construct<array_storage>(other.cast<array_storage>());
 1321|  3.54M|                        other.construct<null_storage>();
 1322|  3.54M|                        break;
 1323|  5.74M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1323:21): [True: 5.74M, False: 3.54M]
  ------------------
 1324|  5.74M|                        construct<object_storage>(other.cast<object_storage>());
 1325|  5.74M|                        other.construct<null_storage>();
 1326|  5.74M|                        break;
 1327|      0|                    default:
  ------------------
  |  Branch (1327:21): [True: 0, False: 9.28M]
  ------------------
 1328|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1329|      0|                        break;
 1330|  9.28M|                }
 1331|  9.28M|            }
 1332|  76.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  995|  10.4k|        {
  996|  10.4k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  10.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  626|  14.9k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  627|  14.9k|            {
  628|  14.9k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  995|  9.28M|        {
  996|  9.28M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  9.28M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1004|  23.7M|        {
 1005|  23.7M|            return cast(identity<T>());
 1006|  23.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1015|  23.7M|        {
 1016|  23.7M|            return null_;
 1017|  23.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  450|  22.6M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  451|  22.6M|            {
  452|  22.6M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  995|  3.86M|        {
  996|  3.86M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  3.86M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  727|  4.18M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  728|  4.18M|            {
  729|  4.18M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  995|  5.95M|        {
  996|  5.95M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  5.95M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  777|  6.16M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  778|  6.16M|            {
  779|  6.16M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4759|  45.6k|        {
 4760|  45.6k|            switch (storage_kind())
 4761|  45.6k|            {
 4762|  45.6k|                case json_storage_kind::array:
  ------------------
  |  Branch (4762:17): [True: 45.6k, False: 0]
  ------------------
 4763|  45.6k|                    return array_range_type(cast<array_storage>().value().begin(),
 4764|  45.6k|                        cast<array_storage>().value().end());
 4765|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4765:17): [True: 0, False: 45.6k]
  ------------------
 4766|      0|                    return cast<json_ref_storage>().value().array_range();
 4767|      0|                default:
  ------------------
  |  Branch (4767:17): [True: 0, False: 45.6k]
  ------------------
 4768|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4769|  45.6k|            }
 4770|  45.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  6.62M|            {
  751|  6.62M|                return *ptr_;
  752|  6.62M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|  45.6k|            : first_(first), last_(last)
  349|  45.6k|        {
  350|  45.6k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|  45.6k|        {
  354|  45.6k|            return first_;
  355|  45.6k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|  45.6k|        {
  358|  45.6k|            return last_;
  359|  45.6k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3425|  86.9k|        {
 3426|  86.9k|            switch (storage_kind())
 3427|  86.9k|            {
 3428|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 86.9k]
  ------------------
 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: 86.9k]
  ------------------
 3432|      0|                    return cast<short_string_storage>().length() == 0;
 3433|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3433:17): [True: 0, False: 86.9k]
  ------------------
 3434|      0|                    return cast<long_string_storage>().length() == 0;
 3435|  81.0k|                case json_storage_kind::array:
  ------------------
  |  Branch (3435:17): [True: 81.0k, False: 5.88k]
  ------------------
 3436|  81.0k|                    return cast<array_storage>().value().empty();
 3437|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3437:17): [True: 0, False: 86.9k]
  ------------------
 3438|      0|                    return true;
 3439|  5.88k|                case json_storage_kind::object:
  ------------------
  |  Branch (3439:17): [True: 5.88k, False: 81.0k]
  ------------------
 3440|  5.88k|                    return cast<object_storage>().value().empty();
 3441|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3441:17): [True: 0, False: 86.9k]
  ------------------
 3442|      0|                    return cast<const_json_ref_storage>().value().empty();
 3443|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3443:17): [True: 0, False: 86.9k]
  ------------------
 3444|      0|                    return cast<json_ref_storage>().value().empty();
 3445|      0|                default:
  ------------------
  |  Branch (3445:17): [True: 0, False: 86.9k]
  ------------------
 3446|      0|                    return false;
 3447|  86.9k|            }
 3448|  86.9k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1010|  81.0k|        {
 1011|  81.0k|            return cast(identity<T>());
 1012|  81.0k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  81.0k|        {
 1131|  81.0k|            return array_;
 1132|  81.0k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  81.0k|            {
  756|  81.0k|                return *ptr_;
  757|  81.0k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1010|  5.88k|        {
 1011|  5.88k|            return cast(identity<T>());
 1012|  5.88k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|  5.88k|        {
 1121|  5.88k|            return object_;
 1122|  5.88k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  801|  5.88k|            {
  802|  5.88k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   54|  5.88k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 5.88k]
  |  |  ------------------
  |  |   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|  5.88k|                return *ptr_;
  804|  5.88k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4156|  71.5k|        {
 4157|  71.5k|            switch (storage_kind())
 4158|  71.5k|            {
 4159|  45.6k|                case json_storage_kind::array:
  ------------------
  |  Branch (4159:17): [True: 45.6k, False: 25.9k]
  ------------------
 4160|  45.6k|                    cast<array_storage>().value().clear();
 4161|  45.6k|                    break;
 4162|  25.9k|                case json_storage_kind::object:
  ------------------
  |  Branch (4162:17): [True: 25.9k, False: 45.6k]
  ------------------
 4163|  25.9k|                    cast<object_storage>().value().clear();
 4164|  25.9k|                    break;
 4165|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4165:17): [True: 0, False: 71.5k]
  ------------------
 4166|      0|                    cast<json_ref_storage>().value().clear();
 4167|      0|                    break;
 4168|      0|                default:
  ------------------
  |  Branch (4168:17): [True: 0, False: 71.5k]
  ------------------
 4169|      0|                    break;
 4170|  71.5k|            }
 4171|  71.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  795|  92.8k|            {
  796|  92.8k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   54|  92.8k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 92.8k]
  |  |  ------------------
  |  |   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|  92.8k|                return *ptr_;
  798|  92.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4725|  25.9k|        {
 4726|  25.9k|            switch (storage_kind())
 4727|  25.9k|            {
 4728|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4728:17): [True: 0, False: 25.9k]
  ------------------
 4729|      0|                    return object_range_type(object_iterator(), object_iterator());
 4730|  25.9k|                case json_storage_kind::object:
  ------------------
  |  Branch (4730:17): [True: 25.9k, False: 0]
  ------------------
 4731|  25.9k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4732|  25.9k|                                                  object_iterator(cast<object_storage>().value().end()));
 4733|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4733:17): [True: 0, False: 25.9k]
  ------------------
 4734|      0|                    return cast<json_ref_storage>().value().object_range();
 4735|      0|                default:
  ------------------
  |  Branch (4735:17): [True: 0, False: 25.9k]
  ------------------
 4736|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4737|  25.9k|            }
 4738|  25.9k|        }
_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|  25.9k|            : first_(first), last_(last)
  349|  25.9k|        {
  350|  25.9k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|  51.8k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|  51.8k|            {
  120|  51.8k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  353|  25.9k|        {
  354|  25.9k|            return first_;
  355|  25.9k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  357|  25.9k|        {
  358|  25.9k|            return last_;
  359|  25.9k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|  42.6k|            {
  219|  42.6k|                return !(*this == rhs);
  220|  42.6k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|  42.6k|            {
  210|  42.6k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   78|  85.2k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 42.6k, False: 0]
  |  |  |  Branch (78:48): [True: 42.6k, False: 0]
  |  |  |  Branch (78:48): [True: 42.6k, False: 0]
  |  |  ------------------
  ------------------
  211|  42.6k|                {
  212|  42.6k|                    return current_ == rhs.current_;
  213|  42.6k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|  42.6k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  16.6k|            {
  141|  16.6k|                return *current_;
  142|  16.6k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  16.6k|            {
  151|  16.6k|                ++current_;
  152|  16.6k|                return *this;
  153|  16.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1004|  25.3M|        {
 1005|  25.3M|            return cast(identity<T>());
 1006|  25.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1115|  25.3M|        {
 1116|  25.3M|            return object_;
 1117|  25.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2275|    636|        {
 2276|    636|            construct<empty_object_storage>(semantic_tag::none);
 2277|    636|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  995|    636|        {
  996|    636|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|    636|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1004|    894|        {
 1005|    894|            return cast(identity<T>());
 1006|    894|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1025|    894|        {
 1026|    894|            return empty_object_;
 1027|    894|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  462|    636|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|    636|            {
  464|    636|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3484|  73.8k|        {
 3485|  73.8k|            if (n > 0)
  ------------------
  |  Branch (3485:17): [True: 73.8k, False: 0]
  ------------------
 3486|  73.8k|            {
 3487|  73.8k|                switch (storage_kind())
 3488|  73.8k|                {
 3489|  73.8k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3489:21): [True: 73.8k, False: 0]
  ------------------
 3490|  73.8k|                        cast<array_storage>().value().reserve(n);
 3491|  73.8k|                        break;
 3492|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3492:21): [True: 0, False: 73.8k]
  ------------------
 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: 73.8k]
  ------------------
 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: 73.8k]
  ------------------
 3500|      0|                        cast<json_ref_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    default:
  ------------------
  |  Branch (3502:21): [True: 0, False: 73.8k]
  ------------------
 3503|      0|                        break;
 3504|  73.8k|                }
 3505|  73.8k|            }
 3506|  73.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2320|  4.45M|        {
 2321|  4.45M|            auto ptr = create_object(alloc);
 2322|  4.45M|            construct<object_storage>(ptr, tag);
 2323|  4.45M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  976|  4.45M|        {
  977|  4.45M|            using stor_allocator_type = typename object_storage::allocator_type;
  978|  4.45M|            stor_allocator_type stor_alloc(alloc);
  979|  4.45M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  980|  4.45M|            JSONCONS_TRY
  ------------------
  |  |   37|  4.45M|    #define JSONCONS_TRY try
  ------------------
  981|  4.45M|            {
  982|  4.45M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, nonstd::to_plain_pointer(ptr), 
  983|  4.45M|                    std::forward<Args>(args)...);
  984|  4.45M|            }
  985|  4.45M|            JSONCONS_CATCH(...)
  986|  4.45M|            {
  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|  4.45M|            return ptr;
  991|  4.45M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  4.45M|        {
  996|  4.45M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.45M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  772|  4.45M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  773|  4.45M|            {
  774|  4.45M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4701|  6.41M|        {
 4702|  6.41M|            switch (storage_kind())
 4703|  6.41M|            {
 4704|  6.41M|                case json_storage_kind::array:
  ------------------
  |  Branch (4704:17): [True: 6.41M, False: 0]
  ------------------
 4705|  6.41M|                    cast<array_storage>().value().push_back(std::move(val));
 4706|  6.41M|                    break;
 4707|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4707:17): [True: 0, False: 6.41M]
  ------------------
 4708|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4709|      0|                    break;
 4710|      0|                default:
  ------------------
  |  Branch (4710:17): [True: 0, False: 6.41M]
  ------------------
 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|  6.41M|            }
 4713|  6.41M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1453|  26.5M|        {
 1454|  26.5M|            if (this != &other)
  ------------------
  |  Branch (1454:17): [True: 26.5M, False: 0]
  ------------------
 1455|  26.5M|            {
 1456|  26.5M|                move_assignment(std::move(other));
 1457|  26.5M|            }
 1458|  26.5M|            return *this;
 1459|  26.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1415|  26.5M|        {
 1416|  26.5M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1416:17): [True: 26.5M, False: 0]
  |  Branch (1416:55): [True: 25.9M, False: 535k]
  ------------------
 1417|  25.9M|            {
 1418|  25.9M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1419|  25.9M|            }
 1420|   535k|            else
 1421|   535k|            {
 1422|   535k|                swap(other);
 1423|   535k|            }
 1424|  26.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1934|   535k|        {
 1935|   535k|            if (this == &other)
  ------------------
  |  Branch (1935:17): [True: 0, False: 535k]
  ------------------
 1936|      0|            {
 1937|      0|                return;
 1938|      0|            }
 1939|   535k|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1939:17): [True: 535k, False: 0]
  |  Branch (1939:55): [True: 0, False: 535k]
  ------------------
 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|   535k|            else
 1947|   535k|            {
 1948|   535k|                switch (storage_kind())
 1949|   535k|                {
 1950|   528k|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 528k, False: 7.67k]
  ------------------
 1951|    129|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 129, False: 535k]
  ------------------
 1952|  2.83k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 2.83k, False: 532k]
  ------------------
 1953|  2.19k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 2.19k, False: 533k]
  ------------------
 1954|    394|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 394, False: 535k]
  ------------------
 1955|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 0, False: 535k]
  ------------------
 1956|    295|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 295, False: 535k]
  ------------------
 1957|  1.82k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 1.82k, False: 533k]
  ------------------
 1958|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 535k]
  ------------------
 1959|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 0, False: 535k]
  ------------------
 1960|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 0, False: 535k]
  ------------------
 1961|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 535k]
  ------------------
 1962|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 535k]
  ------------------
 1963|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 535k]
  ------------------
 1964|      0|                    default:
  ------------------
  |  Branch (1964:21): [True: 0, False: 535k]
  ------------------
 1965|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1966|      0|                        break;
 1967|   535k|                }
 1968|   535k|            }
 1969|   535k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1170|   528k|        {
 1171|   528k|            switch (other.storage_kind())
 1172|   528k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 528k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 528k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 528k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 528k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 528k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 528k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 528k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 528k]
  ------------------
 1181|  4.37k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 4.37k, False: 523k]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 528k]
  ------------------
 1183|   316k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 316k, False: 211k]
  ------------------
 1184|   207k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 207k, False: 320k]
  ------------------
 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: 528k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 528k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 528k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|   528k|            }
 1191|   528k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  995|   528k|        {
  996|   528k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   528k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  995|    129|        {
  996|    129|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|    129|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1004|  8.07M|        {
 1005|  8.07M|            return cast(identity<T>());
 1006|  8.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1035|  8.07M|        {
 1036|  8.07M|            return boolean_;
 1037|  8.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  995|  2.83k|        {
  996|  2.83k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.83k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1004|  2.35M|        {
 1005|  2.35M|            return cast(identity<T>());
 1006|  2.35M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1045|  2.35M|        {
 1046|  2.35M|            return int64_;
 1047|  2.35M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  995|  2.19k|        {
  996|  2.19k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.19k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1004|  2.07M|        {
 1005|  2.07M|            return cast(identity<T>());
 1006|  2.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1055|  2.07M|        {
 1056|  2.07M|            return uint64_;
 1057|  2.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  995|    394|        {
  996|    394|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|    394|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1004|   213k|        {
 1005|   213k|            return cast(identity<T>());
 1006|   213k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1075|   213k|        {
 1076|   213k|            return float64_;
 1077|   213k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  995|    295|        {
  996|    295|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|    295|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1004|  3.20M|        {
 1005|  3.20M|            return cast(identity<T>());
 1006|  3.20M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1085|  3.20M|        {
 1086|  3.20M|            return short_str_;
 1087|  3.20M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  585|  1.82k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  586|  1.82k|            {
  587|  1.82k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  588|  1.82k|                data_[short_str_length_] = 0;
  589|  1.82k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  995|  1.82k|        {
  996|  1.82k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.82k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1156|  4.37k|        {
 1157|  4.37k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  4.37k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  4.37k|        {
 1163|  4.37k|            TypeR temp{other.cast<TypeR>()};
 1164|  4.37k|            other.construct<TypeL>(cast<TypeL>());
 1165|  4.37k|            construct<TypeR>(temp);
 1166|  4.37k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1156|   316k|        {
 1157|   316k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   316k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   316k|        {
 1163|   316k|            TypeR temp{other.cast<TypeR>()};
 1164|   316k|            other.construct<TypeL>(cast<TypeL>());
 1165|   316k|            construct<TypeR>(temp);
 1166|   316k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1156|   207k|        {
 1157|   207k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   207k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   207k|        {
 1163|   207k|            TypeR temp{other.cast<TypeR>()};
 1164|   207k|            other.construct<TypeL>(cast<TypeL>());
 1165|   207k|            construct<TypeR>(temp);
 1166|   207k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1170|    129|        {
 1171|    129|            switch (other.storage_kind())
 1172|    129|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 129]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 129]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 129]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 129]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 129]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 129]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 129]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 129]
  ------------------
 1181|      6|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 6, False: 123]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 129]
  ------------------
 1183|     33|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 33, False: 96]
  ------------------
 1184|     90|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 90, False: 39]
  ------------------
 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: 129]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 129]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 129]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|    129|            }
 1191|    129|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1156|      6|        {
 1157|      6|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|      6|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|      6|        {
 1163|      6|            TypeR temp{other.cast<TypeR>()};
 1164|      6|            other.construct<TypeL>(cast<TypeL>());
 1165|      6|            construct<TypeR>(temp);
 1166|      6|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1156|     33|        {
 1157|     33|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|     33|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|     33|        {
 1163|     33|            TypeR temp{other.cast<TypeR>()};
 1164|     33|            other.construct<TypeL>(cast<TypeL>());
 1165|     33|            construct<TypeR>(temp);
 1166|     33|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1156|     90|        {
 1157|     90|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|     90|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|     90|        {
 1163|     90|            TypeR temp{other.cast<TypeR>()};
 1164|     90|            other.construct<TypeL>(cast<TypeL>());
 1165|     90|            construct<TypeR>(temp);
 1166|     90|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1170|  2.83k|        {
 1171|  2.83k|            switch (other.storage_kind())
 1172|  2.83k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.83k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.83k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.83k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.83k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.83k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.83k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.83k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.83k]
  ------------------
 1181|     63|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 63, False: 2.77k]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.83k]
  ------------------
 1183|  1.83k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.83k, False: 1.00k]
  ------------------
 1184|    937|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 937, False: 1.89k]
  ------------------
 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.83k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.83k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.83k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.83k|            }
 1191|  2.83k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1156|     63|        {
 1157|     63|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|     63|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|     63|        {
 1163|     63|            TypeR temp{other.cast<TypeR>()};
 1164|     63|            other.construct<TypeL>(cast<TypeL>());
 1165|     63|            construct<TypeR>(temp);
 1166|     63|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1156|  1.83k|        {
 1157|  1.83k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.83k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.83k|        {
 1163|  1.83k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.83k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.83k|            construct<TypeR>(temp);
 1166|  1.83k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1156|    937|        {
 1157|    937|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    937|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    937|        {
 1163|    937|            TypeR temp{other.cast<TypeR>()};
 1164|    937|            other.construct<TypeL>(cast<TypeL>());
 1165|    937|            construct<TypeR>(temp);
 1166|    937|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1170|  2.19k|        {
 1171|  2.19k|            switch (other.storage_kind())
 1172|  2.19k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.19k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.19k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.19k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.19k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.19k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.19k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.19k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.19k]
  ------------------
 1181|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.19k]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.19k]
  ------------------
 1183|  1.90k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.90k, False: 286]
  ------------------
 1184|    286|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 286, False: 1.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: 2.19k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.19k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.19k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.19k|            }
 1191|  2.19k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1156|  1.90k|        {
 1157|  1.90k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.90k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.90k|        {
 1163|  1.90k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.90k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.90k|            construct<TypeR>(temp);
 1166|  1.90k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1156|    286|        {
 1157|    286|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    286|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    286|        {
 1163|    286|            TypeR temp{other.cast<TypeR>()};
 1164|    286|            other.construct<TypeL>(cast<TypeL>());
 1165|    286|            construct<TypeR>(temp);
 1166|    286|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1170|    394|        {
 1171|    394|            switch (other.storage_kind())
 1172|    394|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 394]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 394]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 394]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 394]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 394]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 394]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 394]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 394]
  ------------------
 1181|      6|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 6, False: 388]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 394]
  ------------------
 1183|    364|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 364, False: 30]
  ------------------
 1184|     24|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 24, False: 370]
  ------------------
 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: 394]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 394]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 394]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|    394|            }
 1191|    394|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1156|      6|        {
 1157|      6|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|      6|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|      6|        {
 1163|      6|            TypeR temp{other.cast<TypeR>()};
 1164|      6|            other.construct<TypeL>(cast<TypeL>());
 1165|      6|            construct<TypeR>(temp);
 1166|      6|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1156|    364|        {
 1157|    364|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    364|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    364|        {
 1163|    364|            TypeR temp{other.cast<TypeR>()};
 1164|    364|            other.construct<TypeL>(cast<TypeL>());
 1165|    364|            construct<TypeR>(temp);
 1166|    364|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1156|     24|        {
 1157|     24|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|     24|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|     24|        {
 1163|     24|            TypeR temp{other.cast<TypeR>()};
 1164|     24|            other.construct<TypeL>(cast<TypeL>());
 1165|     24|            construct<TypeR>(temp);
 1166|     24|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1170|    295|        {
 1171|    295|            switch (other.storage_kind())
 1172|    295|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 295]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 295]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 295]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 295]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 295]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 295]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 295]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 295]
  ------------------
 1181|      1|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 1, False: 294]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 295]
  ------------------
 1183|     13|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 13, False: 282]
  ------------------
 1184|    281|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 281, False: 14]
  ------------------
 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: 295]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 295]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 295]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|    295|            }
 1191|    295|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1156|      1|        {
 1157|      1|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|      1|        {
 1163|      1|            TypeR temp{other.cast<TypeR>()};
 1164|      1|            other.construct<TypeL>(cast<TypeL>());
 1165|      1|            construct<TypeR>(temp);
 1166|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1156|     13|        {
 1157|     13|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|     13|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_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_14double_storageENS5_14object_storageEEEvRS5_:
 1156|    281|        {
 1157|    281|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    281|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    281|        {
 1163|    281|            TypeR temp{other.cast<TypeR>()};
 1164|    281|            other.construct<TypeL>(cast<TypeL>());
 1165|    281|            construct<TypeR>(temp);
 1166|    281|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1170|  1.82k|        {
 1171|  1.82k|            switch (other.storage_kind())
 1172|  1.82k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.82k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 1.82k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 1.82k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 1.82k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 1.82k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.82k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.82k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.82k]
  ------------------
 1181|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 1.82k]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 1.82k]
  ------------------
 1183|    702|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 702, False: 1.12k]
  ------------------
 1184|  1.12k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 1.12k, False: 702]
  ------------------
 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: 1.82k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 1.82k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 1.82k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  1.82k|            }
 1191|  1.82k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1156|    702|        {
 1157|    702|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    702|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    702|        {
 1163|    702|            TypeR temp{other.cast<TypeR>()};
 1164|    702|            other.construct<TypeL>(cast<TypeL>());
 1165|    702|            construct<TypeR>(temp);
 1166|    702|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_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_20short_string_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__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr6nonstd19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2614|  2.07M|        {
 2615|  2.07M|            construct<uint64_storage>(val, tag);
 2616|  2.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  995|  2.07M|        {
  996|  2.07M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  2.07M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  2.07M|                  val_(val)
  518|  2.07M|            {
  519|  2.07M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr6nonstd17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2645|  2.34M|        {
 2646|  2.34M|            construct<int64_storage>(val, tag);
 2647|  2.34M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  995|  2.34M|        {
  996|  2.34M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.34M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  496|  2.34M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  497|  2.34M|                  val_(val)
  498|  2.34M|            {
  499|  2.34M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2602|   212k|        {
 2603|   212k|            construct<double_storage>(val, tag);
 2604|   212k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  995|   212k|        {
  996|   212k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   212k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  555|   212k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  556|   212k|                  val_(val)
  557|   212k|            {
  558|   212k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2401|  2.83M|        {
 2402|  2.83M|            auto ptr = create_array(Allocator());
 2403|  2.83M|            construct<array_storage>(ptr, tag);
 2404|  2.83M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  957|  2.83M|        {
  958|  2.83M|            using stor_allocator_type = typename array_storage::allocator_type;
  959|  2.83M|            stor_allocator_type stor_alloc(alloc);
  960|  2.83M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  961|  2.83M|            JSONCONS_TRY
  ------------------
  |  |   37|  2.83M|    #define JSONCONS_TRY try
  ------------------
  962|  2.83M|            {
  963|  2.83M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, nonstd::to_plain_pointer(ptr), 
  964|  2.83M|                    std::forward<Args>(args)...);
  965|  2.83M|            }
  966|  2.83M|            JSONCONS_CATCH(...)
  967|  2.83M|            {
  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|  2.83M|            return ptr;
  972|  2.83M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  2.83M|        {
  996|  2.83M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.83M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  722|  2.83M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  723|  2.83M|            {
  724|  2.83M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2691|  13.3M|        {
 2692|  13.3M|            construct<null_storage>(tag);
 2693|  13.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  995|  13.3M|        {
  996|  13.3M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  13.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2701|  8.07M|        {
 2702|  8.07M|            construct<bool_storage>(val,tag);
 2703|  8.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  995|  8.07M|        {
  996|  8.07M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  8.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|  8.07M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|  8.07M|                  val_(val)
  477|  8.07M|            {
  478|  8.07M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2549|  3.20M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2550|  3.20M|        {
 2551|  3.20M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2579|  3.20M|        {
 2580|  3.20M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2580:17): [True: 3.19M, False: 3.57k]
  ------------------
 2581|  3.19M|            {
 2582|  3.19M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2583|  3.19M|            }
 2584|  3.57k|            else
 2585|  3.57k|            {
 2586|  3.57k|                auto ptr = create_long_string(alloc, s, length);
 2587|  3.57k|                construct<long_string_storage>(ptr, tag);
 2588|  3.57k|            }
 2589|  3.20M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  995|  3.19M|        {
  996|  3.19M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  3.19M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  3.19M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  3.19M|            {
  579|  3.19M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   54|  3.19M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 3.19M]
  |  |  ------------------
  |  |   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|  3.19M|                std::memcpy(data_,p,length*sizeof(char_type));
  581|  3.19M|                data_[length] = 0;
  582|  3.19M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  943|  3.57k|        {
  944|  3.57k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  945|  3.57k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  946|  3.57k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|  3.57k|        {
  996|  3.57k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  3.57k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  621|  3.57k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  622|  3.57k|            {
  623|  3.57k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2711|      6|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2712|      6|        {
 2713|      6|        }

_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEET_PT0_:
  248|  3.57k|    {
  249|  3.57k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  250|  3.57k|        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|  3.57k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  248|  3.57k|    {
  249|  3.57k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  250|  3.57k|        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|  3.57k|    }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  2.84M|        {
  106|  2.84M|            flatten_and_destroy();
  107|  2.84M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  2.84M|        {
  249|  8.83M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 5.99M, False: 2.84M]
  ------------------
  250|  5.99M|            {
  251|  5.99M|                value_type current = std::move(data_.back());
  252|  5.99M|                data_.pop_back();
  253|  5.99M|                switch (current.storage_kind())
  254|  5.99M|                {
  255|  45.6k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 45.6k, False: 5.95M]
  ------------------
  256|  45.6k|                    {
  257|  45.6k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 461k, False: 45.6k]
  ------------------
  258|   461k|                        {
  259|   461k|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 76.0k, False: 385k]
  |  Branch (259:85): [True: 4.02k, False: 381k]
  ------------------
  260|  80.1k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 37.8k, False: 42.3k]
  ------------------
  261|  37.8k|                            {
  262|  37.8k|                                data_.push_back(std::move(item));
  263|  37.8k|                            }
  264|   461k|                        }
  265|  45.6k|                        current.clear();                           
  266|  45.6k|                        break;
  267|      0|                    }
  268|  25.9k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 25.9k, False: 5.97M]
  ------------------
  269|  25.9k|                    {
  270|  25.9k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 16.6k, False: 25.9k]
  ------------------
  271|  16.6k|                        {
  272|  16.6k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 1.48k, False: 15.1k]
  |  Branch (272:91): [True: 635, False: 14.5k]
  ------------------
  273|  2.11k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 497, False: 1.62k]
  ------------------
  274|    497|                            {
  275|    497|                                data_.push_back(std::move(kv.value()));
  276|    497|                            }
  277|  16.6k|                        }
  278|  25.9k|                        current.clear();                           
  279|  25.9k|                        break;
  280|      0|                    }
  281|  5.92M|                    default:
  ------------------
  |  Branch (281:21): [True: 5.92M, False: 71.5k]
  ------------------
  282|  5.92M|                        break;
  283|  5.99M|                }
  284|  5.99M|            }
  285|  2.84M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|  45.6k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|  45.6k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  81.0k|        {
  126|  81.0k|            return data_.empty();
  127|  81.0k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|  45.6k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  9.78k|            : allocator_holder<allocator_type>(alloc), 
   50|  9.78k|              data_(value_allocator_type(alloc))
   51|  9.78k|        {
   52|  9.78k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  1.48k|        {
  218|  1.48k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  1.48k|            return data_.back();
  220|  1.48k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  73.8k|        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|  6.41M|        {
  179|  6.41M|            data_.emplace_back(std::forward<T>(value));
  180|  6.41M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  2.83M|        json_array() = default;

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|    636|        : alloc_(alloc),
   75|    636|          result_(),
   76|    636|          name_(alloc),
   77|    636|          item_stack_(alloc),
   78|    636|          structure_stack_(temp_alloc)
   79|    636|    {
   80|       |        //item_stack_.reserve(1000);
   81|       |        //structure_stack_.reserve(100);
   82|    636|        structure_stack_.emplace_back(json_structure_kind::root_kind, 0);
   83|    636|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14json_structureC2ENS7_19json_structure_kindEm:
   51|  7.29M|            : structure_kind(type), structure_index(offset)
   52|  7.29M|        {
   53|  7.29M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  186|  2.78M|    {
  187|  2.78M|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   54|  2.78M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 2.78M]
  |  |  ------------------
  |  |   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.78M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::array_kind);
  ------------------
  |  |   54|  2.78M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 2.78M]
  |  |  ------------------
  |  |   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.78M|        const size_t structure_index = structure_stack_.back().structure_index;
  190|  2.78M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   54|  2.78M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 2.78M]
  |  |  ------------------
  |  |   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.78M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  193|  2.78M|        auto& arr = item_stack_[structure_index].value;
  194|  2.78M|        const size_t size = item_stack_.size() - (structure_index + 1);
  195|       |
  196|  2.78M|        if (size > 0)
  ------------------
  |  Branch (196:13): [True: 73.8k, False: 2.70M]
  ------------------
  197|  73.8k|        {
  198|  73.8k|            arr.reserve(size);
  199|  73.8k|            auto first = item_stack_.begin() + (structure_index+1);
  200|  73.8k|            auto last = first + size;
  201|  6.49M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (201:35): [True: 6.41M, False: 73.8k]
  ------------------
  202|  6.41M|            {
  203|  6.41M|                arr.push_back(std::move((*it).value));
  204|  6.41M|            }
  205|  73.8k|            item_stack_.erase(first, item_stack_.end());
  206|  73.8k|        }
  207|       |
  208|  2.78M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (208:13): [True: 33, False: 2.78M]
  ------------------
  209|     33|        {
  210|     33|            result_ = std::move(item_stack_.front().value);
  211|     33|            item_stack_.pop_back();
  212|     33|            is_valid_ = true;
  213|     33|        }
  214|       |
  215|  2.78M|        structure_stack_.pop_back();
  216|  2.78M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.78M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  2.78M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  311|  2.07M|    {
  312|  2.07M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (312:17): [True: 2.07M, False: 0]
  ------------------
  313|  2.07M|        {
  314|  7.22k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (314:13): [True: 7.22k, False: 2.07M]
  ------------------
  315|  7.22k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  316|  7.22k|                break;
  317|  2.07M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (317:13): [True: 2.07M, False: 7.22k]
  ------------------
  318|  2.07M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  319|  2.07M|                break;
  320|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (320:13): [True: 0, False: 2.07M]
  ------------------
  321|      0|                result_ = Json(value,tag);
  322|      0|                is_valid_ = true;
  323|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  324|  2.07M|        }
  325|  2.07M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.07M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  2.07M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  290|  2.34M|    {
  291|  2.34M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (291:17): [True: 2.34M, False: 0]
  ------------------
  292|  2.34M|        {
  293|  14.5k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (293:13): [True: 14.5k, False: 2.33M]
  ------------------
  294|  14.5k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  295|  14.5k|                break;
  296|  2.33M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (296:13): [True: 2.33M, False: 14.5k]
  ------------------
  297|  2.33M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  298|  2.33M|                break;
  299|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (299:13): [True: 0, False: 2.34M]
  ------------------
  300|      0|                result_ = Json(value,tag);
  301|      0|                is_valid_ = true;
  302|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  2.34M|        }
  304|  2.34M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.34M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  305|  2.34M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  353|   212k|    {
  354|   212k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (354:17): [True: 212k, False: 0]
  ------------------
  355|   212k|        {
  356|  1.39k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (356:13): [True: 1.39k, False: 211k]
  ------------------
  357|  1.39k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  358|  1.39k|                break;
  359|   211k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (359:13): [True: 211k, False: 1.39k]
  ------------------
  360|   211k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  361|   211k|                break;
  362|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (362:13): [True: 0, False: 212k]
  ------------------
  363|      0|                result_ = Json(value, tag);
  364|      0|                is_valid_ = true;
  365|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|   212k|        }
  367|   212k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   212k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|   212k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|    129|    {
  123|    129|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  4.45M|    {
  127|  4.45M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (127:13): [True: 50.1k, False: 4.40M]
  ------------------
  128|  50.1k|        {
  129|  50.1k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  130|  50.1k|            item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  131|  50.1k|        }
  132|  4.40M|        else
  133|  4.40M|        {
  134|  4.40M|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  135|  4.40M|            item_stack_.emplace_back(key_type(alloc_), 0, json_object_arg, tag);
  136|  4.40M|        }
  137|  4.45M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.45M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  138|  4.45M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  141|  4.45M|    {
  142|  4.45M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   54|  4.45M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 4.45M]
  |  |  ------------------
  |  |   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|  4.45M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::object_kind);
  ------------------
  |  |   54|  4.45M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 4.45M]
  |  |  ------------------
  |  |   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|  4.45M|        const size_t structure_index = structure_stack_.back().structure_index;
  145|  4.45M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   54|  4.45M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 4.45M]
  |  |  ------------------
  |  |   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|  4.45M|        const size_t size = item_stack_.size() - (structure_index + 1);
  148|  4.45M|        auto first = item_stack_.begin() + (structure_index+1);
  149|  4.45M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  150|  4.45M|        auto& obj = item_stack_[structure_index].value;
  151|       |
  152|  4.45M|        if (size > 0)
  ------------------
  |  Branch (152:13): [True: 15.0k, False: 4.44M]
  ------------------
  153|  15.0k|        {
  154|  15.0k|            obj.template cast<typename Json::object_storage>().value().uninitialized_init(
  155|  15.0k|                &item_stack_[structure_index+1], size);
  156|  15.0k|            item_stack_.erase(first, item_stack_.end());
  157|  15.0k|        }
  158|       |
  159|  4.45M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (159:13): [True: 90, False: 4.45M]
  ------------------
  160|     90|        {
  161|     90|            result_ = std::move(item_stack_.front().value);
  162|     90|            item_stack_.pop_back();
  163|     90|            is_valid_ = true;
  164|     90|        }
  165|       |
  166|  4.45M|        structure_stack_.pop_back();
  167|  4.45M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.45M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  168|  4.45M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  171|  2.83M|    {
  172|  2.83M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (172:13): [True: 61.1k, False: 2.77M]
  ------------------
  173|  61.1k|        {
  174|  61.1k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  175|  61.1k|            item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  176|  61.1k|        }
  177|  2.77M|        else
  178|  2.77M|        {
  179|  2.77M|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  180|  2.77M|            item_stack_.emplace_back(key_type(alloc_), 0, json_array_arg, tag);
  181|  2.77M|        }
  182|  2.83M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.83M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  183|  2.83M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  220|  5.98M|    {
  221|  5.98M|        name_ = key_type(name.data(),name.length(),alloc_);
  222|  5.98M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  5.98M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  223|  5.98M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  389|  13.3M|    {
  390|  13.3M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (390:17): [True: 13.3M, False: 0]
  ------------------
  391|  13.3M|        {
  392|  5.73M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (392:13): [True: 5.73M, False: 7.64M]
  ------------------
  393|  5.73M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  394|  5.73M|                break;
  395|  7.64M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (395:13): [True: 7.64M, False: 5.73M]
  ------------------
  396|  7.64M|                item_stack_.emplace_back(key_type(alloc_), 0, null_type(), tag);
  397|  7.64M|                break;
  398|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (398:13): [True: 0, False: 13.3M]
  ------------------
  399|      0|                result_ = Json(null_type(), tag);
  400|      0|                is_valid_ = true;
  401|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  402|  13.3M|        }
  403|  13.3M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  13.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  404|  13.3M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  371|  8.07M|    {
  372|  8.07M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (372:17): [True: 8.07M, False: 0]
  ------------------
  373|  8.07M|        {
  374|   106k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (374:13): [True: 106k, False: 7.96M]
  ------------------
  375|   106k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  376|   106k|                break;
  377|  7.96M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (377:13): [True: 7.96M, False: 106k]
  ------------------
  378|  7.96M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  379|  7.96M|                break;
  380|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (380:13): [True: 0, False: 8.07M]
  ------------------
  381|      0|                result_ = Json(value, tag);
  382|      0|                is_valid_ = true;
  383|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  384|  8.07M|        }
  385|  8.07M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  8.07M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  8.07M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  226|  3.20M|    {
  227|  3.20M|        auto& structure = structure_stack_.back();
  228|  3.20M|        switch (structure.structure_kind)
  ------------------
  |  Branch (228:17): [True: 3.20M, False: 0]
  ------------------
  229|  3.20M|        {
  230|  6.10k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (230:13): [True: 6.10k, False: 3.19M]
  ------------------
  231|  6.10k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  232|  6.10k|                break;
  233|  3.19M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (233:13): [True: 3.19M, False: 6.11k]
  ------------------
  234|  3.19M|                item_stack_.emplace_back(key_type(alloc_), 0, sv, tag);
  235|  3.19M|                break;
  236|      6|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (236:13): [True: 6, False: 3.20M]
  ------------------
  237|      6|                result_ = Json(sv, tag, alloc_);
  238|      6|                is_valid_ = true;
  239|      6|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      6|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  240|  3.20M|        }
  241|  3.20M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.20M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  242|  3.20M|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|    129|    {
  109|    129|        return is_valid_;
  110|    129|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|    129|    {
  114|    129|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   54|    129|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 129]
  |  |  ------------------
  |  |   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|    129|        is_valid_ = false;
  116|    129|        return std::move(result_);
  117|    129|    }

_ZN8jsoncons14json_exceptionD2Ev:
   27|    507|        virtual ~json_exception() = default;
_ZN8jsoncons9ser_errorC1ENSt3__110error_codeEmm:
  194|    507|            : ec_(ec), line_(line), column_(column)
  195|    507|        {
  196|    507|            err_ = to_what_arg(ec, "", line, column); 
  197|    507|        }
_ZN8jsoncons9ser_error11to_what_argENSt3__110error_codeEPKcmm:
  233|    507|        {
  234|    507|            std::string what_arg(s);
  235|    507|            if (!what_arg.empty())
  ------------------
  |  Branch (235:17): [True: 0, False: 507]
  ------------------
  236|      0|            {
  237|      0|                what_arg.append(": ");
  238|      0|            }
  239|    507|            what_arg.append(ec.message());
  240|    507|            if (line != 0 && column != 0)
  ------------------
  |  Branch (240:17): [True: 0, False: 507]
  |  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|    507|            else if (column != 0)
  ------------------
  |  Branch (247:22): [True: 507, False: 0]
  ------------------
  248|    507|            {
  249|    507|                what_arg.append(" at position ");
  250|    507|                what_arg.append(std::to_string(column));
  251|    507|            }
  252|    507|            return what_arg; 
  253|    507|        }

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|    636|{
 1065|    636|    return json_visitor_adaptor<From, To>(to);
 1066|    636|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|    636|        : supertype(visitor)
  984|    636|    {
  985|    636|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|    636|        : destination1_(std::addressof(visitor))
  722|    636|    {
  723|    636|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  777|  26.4k|    {
  778|  26.4k|        destination1_->begin_array(length, tag, context, ec);
  779|  26.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  26.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|  26.4k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  2.78M|    {
  784|  2.78M|        destination1_->end_array(context, ec);
  785|  2.78M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.78M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  2.78M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  2.07M|    {
  826|  2.07M|        destination1_->uint64_value(value, tag, context, ec);
  827|  2.07M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.07M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  2.07M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  2.34M|    {
  820|  2.34M|        destination1_->int64_value(value, tag, context, ec);
  821|  2.34M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.34M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  2.34M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|   212k|    {
  814|   212k|        destination1_->double_value(value, tag, context, ec);
  815|   212k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   212k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|   212k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|    129|    {
  739|    129|        destination1_->flush();
  740|    129|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  745|  4.41M|    {
  746|  4.41M|        destination1_->begin_object(tag, context, ec);
  747|  4.41M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.41M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  748|  4.41M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|  41.1k|    {
  755|  41.1k|        destination1_->begin_object(length, tag, context, ec);
  756|  41.1k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  41.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  41.1k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  4.45M|    {
  761|  4.45M|        destination1_->end_object(context, ec);
  762|  4.45M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.45M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  4.45M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  768|  2.80M|    {
  769|  2.80M|        destination1_->begin_array(tag, context, ec);
  770|  2.80M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.80M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  771|  2.80M|    }
_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|  5.98M|    {
  996|  5.98M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  5.98M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  9.18M|    {
  733|  9.18M|        return *destination1_;
  734|  9.18M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  13.3M|    {
  838|  13.3M|        destination1_->null_value(tag, context, ec);
  839|  13.3M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  13.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  13.3M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  8.07M|    {
  832|  8.07M|        destination1_->bool_value(value, tag, context, ec);
  833|  8.07M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  8.07M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  8.07M|    }
_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|  3.20M|    {
 1004|  3.20M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  3.20M|    }

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  1.27k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  1.27k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|  26.4k|        {
  561|  26.4k|            visit_begin_array(tag, context, ec);
  562|  26.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  26.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  26.4k|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  41.1k|        {
  545|  41.1k|            visit_begin_object(tag, context, ec);
  546|  41.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  41.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  41.1k|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  52.9k|        {
  346|  52.9k|            visit_begin_array(length, tag, context, ec);
  347|  52.9k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  52.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  52.9k|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  4.15M|        {
  415|  4.15M|            visit_uint64(value, tag, context, ec);
  416|  4.15M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.15M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  4.15M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  5.56M|        {
  352|  5.56M|            visit_end_array(context, ec);
  353|  5.56M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  5.56M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  5.56M|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  4.69M|        {
  424|  4.69M|            visit_int64(value, tag, context, ec);
  425|  4.69M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.69M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  4.69M|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|   424k|        {
  442|   424k|            visit_double(value, tag, context, ec);
  443|   424k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   424k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|   424k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|    258|        {
  109|    258|            visit_flush();
  110|    258|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  318|  8.83M|        {
  319|  8.83M|            visit_begin_object(tag, context, ec);
  320|  8.83M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  8.83M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  321|  8.83M|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  82.2k|        {
  328|  82.2k|            visit_begin_object(length, tag, context, ec);
  329|  82.2k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  82.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  82.2k|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  8.91M|        {
  334|  8.91M|            visit_end_object(context, ec);
  335|  8.91M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  8.91M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  8.91M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  339|  5.61M|        {
  340|  5.61M|            visit_begin_array(tag, context, ec);
  341|  5.61M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  5.61M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  342|  5.61M|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  11.9M|        {
  358|  11.9M|            visit_key(name, context, ec);
  359|  11.9M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  11.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  11.9M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  26.7M|        {
  366|  26.7M|            visit_null(tag, context, ec);
  367|  26.7M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  26.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  26.7M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  16.1M|        {
  375|  16.1M|            visit_bool(value, tag, context, ec);
  376|  16.1M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  16.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  16.1M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  6.40M|        {
  384|  6.40M|            visit_string(value, tag, context, ec);
  385|  6.40M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  6.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  6.40M|        }

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|  79.1k|    {
  121|  79.1k|        return value_;
  122|  79.1k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  26.5M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.07M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.07M|    {
   45|  2.07M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  59.3M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.34M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.34M|    {
   45|  2.34M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   212k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   212k|    {
   45|   212k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.45M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.45M|    {
   45|  4.45M|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|  55.1k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|  55.1k|    {
   88|  55.1k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.83M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.83M|    {
   45|  2.83M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  13.3M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  13.3M|    {
   45|  13.3M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  8.07M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  8.07M|    {
   45|  8.07M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  3.20M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.20M|    {
   45|  3.20M|    }

_ZN8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2IJRNS4_10error_codeEmmEEENS0_10unexpect_tEDpOT_:
   66|    507|        : has_value_(false)
   67|    507|    {
   68|    507|        ::new (&error_) E(std::forward<Args>(args)...);
   69|    507|    }
_ZN8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2EOS7_:
   52|    129|        : has_value_(true)
   53|    129|    {
   54|    129|        construct(std::move(value));
   55|    129|    }
_ZN8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE9constructEOS7_:
  274|    129|    {
  275|    129|        ::new (&value_) T(std::move(value));
  276|    129|        has_value_ = true;
  277|    129|    }
_ZNK8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEcvbEv:
  146|    636|    {
  147|    636|        return has_value_;
  148|    636|    }
_ZNR8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE5errorEv:
  192|  1.52k|    {
  193|  1.52k|        assert(!has_value_);
  ------------------
  |  Branch (193:9): [True: 1.52k, False: 0]
  ------------------
  194|  1.52k|        return this->error_;
  195|  1.52k|    }
_ZNR8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEdeEv:
  231|    129|    {
  232|    129|        return this->value_;
  233|    129|    }
_ZN8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEED2Ev:
  100|    636|    {
  101|    636|        destroy();
  102|    636|    }
_ZN8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE7destroyEv:
  280|    636|    {
  281|    636|        if (has_value_) 
  ------------------
  |  Branch (281:13): [True: 129, False: 507]
  ------------------
  282|    129|        {
  283|    129|            value_.~T();
  284|    129|            has_value_ = false;
  285|    129|        }
  286|    507|        else
  287|    507|        {
  288|    507|            error_.~E();
  289|    507|        }
  290|    636|    }

_ZN8jsoncons6nonstd16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  3.57k|    {       
  242|  3.57k|        return (ptr);
  243|  3.57k|    }  
_ZN8jsoncons6nonstd16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  5.66M|    {       
  242|  5.66M|        return (ptr);
  243|  5.66M|    }  
_ZN8jsoncons6nonstd16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  8.91M|    {       
  242|  8.91M|        return (ptr);
  243|  8.91M|    }  
_ZN8jsoncons6nonstd16to_plain_pointerIcEEPT_S3_:
  241|  3.57k|    {       
  242|  3.57k|        return (ptr);
  243|  3.57k|    }  

_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|   299k|            : data_(data), size_(size)
   62|   299k|        {
   63|   299k|        }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4dataEv:
  111|  11.9M|        {
  112|  11.9M|            return data_;
  113|  11.9M|        }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4sizeEv:
  116|  17.9M|        {
  117|  17.9M|            return size_;
  118|  17.9M|        }
_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2Ev:
   58|  5.68M|        {
   59|  5.68M|        }

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  5.88k|        {
  159|  5.88k|            return data_.empty();
  160|  5.88k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  25.9k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  25.9k|        {
  169|  25.9k|            return data_.begin();
  170|  25.9k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  25.9k|        {
  174|  25.9k|            return data_.end();
  175|  25.9k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  4.45M|        {
  154|  4.45M|            flatten_and_destroy();
  155|  4.45M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|  4.45M|        {
  725|  4.45M|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 9.78k, False: 4.44M]
  ------------------
  726|  9.78k|            {
  727|  9.78k|                json_array<Json> temp(get_allocator());
  728|       |
  729|  9.78k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 38.4k, False: 9.78k]
  ------------------
  730|  38.4k|                {
  731|  38.4k|                    switch (kv.value().storage_kind())
  732|  38.4k|                    {
  733|  3.48k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 3.48k, False: 34.9k]
  ------------------
  734|  4.70k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 1.22k, False: 37.2k]
  ------------------
  735|  4.70k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 1.48k, False: 3.22k]
  ------------------
  736|  1.48k|                            {
  737|  1.48k|                                temp.emplace_back(std::move(kv.value()));
  738|  1.48k|                            }
  739|  4.70k|                            break;
  740|  33.7k|                        default:
  ------------------
  |  Branch (740:25): [True: 33.7k, False: 4.70k]
  ------------------
  741|  33.7k|                            break;
  742|  38.4k|                    }
  743|  38.4k|                }
  744|  9.78k|            }
  745|  4.45M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  4.45M|        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.0k|        {
  278|  15.0k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 15.0k, False: 0]
  ------------------
  279|  15.0k|            {
  280|  15.0k|                data_.reserve(count);
  281|       |
  282|  15.0k|                std::sort(items, items+count, compare);
  283|  15.0k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  5.50M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 5.49M, False: 15.0k]
  ------------------
  286|  5.49M|                {
  287|  5.49M|                    auto& item = items[i];
  288|  5.49M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 40.0k, False: 5.45M]
  ------------------
  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|  5.49M|                }
  293|  15.0k|            }
  294|  15.0k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|   125M|        {
  269|   125M|            int comp = item1.name.compare(item2.name); 
  270|   125M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 1.47M, False: 123M]
  ------------------
  271|   123M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 123M, False: 203k]
  ------------------
  272|       |
  273|   203k|            return false;
  274|   123M|        }

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  176|    636|        : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  177|    636|          chunk_size_(default_max_chunk_size)
  178|    636|    {
  179|    636|        chunk_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, chunk_size_);
  180|    636|        data_end_ = chunk_;
  181|    636|    }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   57|    636|      : std::basic_istream<CharT>(&nb_)
   58|    636|    {
   59|    636|    }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   43|    636|        null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  193|    636|    {
  194|    636|        if (chunk_)
  ------------------
  |  Branch (194:13): [True: 636, False: 0]
  ------------------
  195|    636|        {
  196|    636|            std::allocator_traits<char_allocator_type>::deallocate(alloc_, chunk_, chunk_size_);
  197|    636|        }
  198|    636|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|    507|    {
  282|    507|        return position_;
  283|    507|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  21.9M|    {
  277|  21.9M|        return stream_ptr_->bad();  
  278|  21.9M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  377|  41.9M|    {
  378|  41.9M|        std::size_t len = 0;
  379|  41.9M|        if (remaining_ > 0)
  ------------------
  |  Branch (379:13): [True: 41.9M, False: 1.88k]
  ------------------
  380|  41.9M|        {
  381|  41.9M|            len = (std::min)(remaining_, length);
  382|  41.9M|            std::memcpy(p, data_end_, len*sizeof(value_type));
  383|  41.9M|            data_end_ += len;
  384|  41.9M|            remaining_ -= len;
  385|  41.9M|            position_ += len;
  386|  41.9M|        }
  387|  41.9M|        if (length - len == 0)
  ------------------
  |  Branch (387:13): [True: 41.9M, False: 3.49k]
  ------------------
  388|  41.9M|        {
  389|  41.9M|            return len;
  390|  41.9M|        }
  391|  3.49k|        else if (length - len < chunk_size_)
  ------------------
  |  Branch (391:18): [True: 3.49k, False: 0]
  ------------------
  392|  3.49k|        {
  393|  3.49k|            data_end_ = chunk_;
  394|  3.49k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  395|  3.49k|            if (remaining_ > 0)
  ------------------
  |  Branch (395:17): [True: 3.36k, False: 125]
  ------------------
  396|  3.36k|            {
  397|  3.36k|                std::size_t len2 = (std::min)(remaining_, length-len);
  398|  3.36k|                std::memcpy(p+len, data_end_, len2*sizeof(value_type));
  399|  3.36k|                data_end_ += len2;
  400|  3.36k|                remaining_ -= len2;
  401|  3.36k|                position_ += len2;
  402|  3.36k|                len += len2;
  403|  3.36k|            }
  404|  3.49k|            return len;
  405|  3.49k|        }
  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|  41.9M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  442|  5.73k|    {
  443|  5.73k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (443:13): [True: 195, False: 5.53k]
  ------------------
  444|    195|        {
  445|    195|            return 0;
  446|    195|        }
  447|       |
  448|  5.53k|        JSONCONS_TRY
  ------------------
  |  |   37|  5.53k|    #define JSONCONS_TRY try
  ------------------
  449|  5.53k|        {
  450|  5.53k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  451|  5.53k|            std::size_t length = static_cast<std::size_t>(count);
  452|       |
  453|  5.53k|            if (length < chunk_size)
  ------------------
  |  Branch (453:17): [True: 588, False: 4.94k]
  ------------------
  454|    588|            {
  455|    588|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  456|    588|            }
  457|  5.53k|            return length;
  458|  5.53k|        }
  459|  5.53k|        JSONCONS_CATCH(const std::exception&)     
  460|  5.53k|        {
  461|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  462|      0|            return 0;
  463|      0|        }
  464|  5.53k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_12basic_stringIcNS1_11char_traitsIcEENS2_IcEEEEEENS_6nonstd4spanIKhLm18446744073709551615EEEmOT_:
  352|  5.98M|    {
  353|  5.98M|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   79|  5.98M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 5.68M, False: 299k]
  |  |  ------------------
  ------------------
  354|  5.68M|        {
  355|  5.68M|            return span<const value_type>{};
  356|  5.68M|        }
  357|   299k|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 132, False: 298k]
  |  Branch (357:32): [True: 38, False: 94]
  ------------------
  358|     38|        {
  359|     38|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|     38|            data_end_ = chunk_;
  361|     38|        }
  362|   299k|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 574, False: 298k]
  ------------------
  363|    574|        {
  364|    574|            buffer.clear();
  365|    574|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    574|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    574|        }
  368|       |
  369|   298k|        const value_type* data = data_end_;
  370|   298k|        data_end_ += length;
  371|   298k|        remaining_ -= length;
  372|   298k|        position_ += length;
  373|   298k|        return span<const value_type>(data, length);
  374|   299k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_12basic_stringIcNS2_11char_traitsIcEENS3_IcEEEEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr6nonstd7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSG_m:
  746|    574|    {
  747|    574|        std::size_t unread = length;
  748|       |
  749|  2.87k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 2.45k, False: 417]
  |  Branch (749:30): [True: 2.30k, False: 157]
  ------------------
  750|  2.30k|        {
  751|  2.30k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 508, False: 1.79k]
  |  Branch (751:44): [True: 504, False: 4]
  ------------------
  752|    504|            {
  753|    504|                std::size_t n = source.chunk_size();
  754|    504|                std::size_t offset = buffer.size();
  755|    504|                buffer.resize(offset+n);
  756|    504|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|    504|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|    504|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 87, False: 417]
  |  |  ------------------
  ------------------
  758|     87|                {
  759|     87|                    buffer.resize(offset+actual);
  760|     87|                }
  761|    504|                unread -= actual;
  762|    504|            }
  763|  1.79k|            else
  764|  1.79k|            {
  765|  1.79k|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|  1.79k|                std::size_t offset = buffer.size();
  767|  1.79k|                buffer.resize(offset+n);
  768|  1.79k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|  1.79k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|  1.79k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 66, False: 1.73k]
  |  |  ------------------
  ------------------
  770|     66|                {
  771|     66|                    buffer.resize(offset + actual);
  772|     66|                }
  773|  1.79k|                unread -= actual;
  774|  1.79k|            }
  775|  2.30k|        }
  776|    574|        return length - unread;
  777|    574|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  2.45k|    {
  272|  2.45k|        return remaining_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 665, False: 1.79k]
  |  Branch (272:35): [True: 157, False: 508]
  ------------------
  273|  2.45k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9remainingEv:
  346|  2.30k|    {
  347|  2.30k|        return remaining_;
  348|  2.30k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|  2.80k|    {
  262|  2.80k|        return chunk_size_;
  263|  2.80k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11read_bufferEPhm:
  435|    504|    {
  436|    504|        auto len = fill_buffer(chunk, chunk_size);
  437|    504|        position_ += len;
  438|    504|        return len;
  439|    504|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4peekEv:
  312|  40.8M|    {
  313|  40.8M|        if (remaining_ == 0)
  ------------------
  |  Branch (313:13): [True: 1.69k, False: 40.8M]
  ------------------
  314|  1.69k|        {
  315|  1.69k|            data_end_ = chunk_;
  316|  1.69k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  317|  1.69k|        }
  318|  40.8M|        if (remaining_ > 0)
  ------------------
  |  Branch (318:13): [True: 40.8M, False: 95]
  ------------------
  319|  40.8M|        {
  320|  40.8M|            value_type c = *data_end_;
  321|  40.8M|            return char_result<value_type>{c, false};
  322|  40.8M|        }
  323|     95|        else
  324|     95|        {
  325|     95|            return char_result<value_type>{0, true};
  326|     95|        }
  327|  40.8M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE6ignoreEm:
  286|  7.29M|    {
  287|  7.29M|        std::size_t len = 0;
  288|  7.29M|        if (remaining_ > 0)
  ------------------
  |  Branch (288:13): [True: 7.29M, False: 0]
  ------------------
  289|  7.29M|        {
  290|  7.29M|            len = (std::min)(remaining_, length);
  291|  7.29M|            position_ += len;
  292|  7.29M|            data_end_ += len;
  293|  7.29M|            remaining_ -= len;
  294|  7.29M|        }
  295|  7.29M|        while (len < length)
  ------------------
  |  Branch (295:16): [True: 0, False: 7.29M]
  ------------------
  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|  7.29M|    }

_ZN8jsoncons6binary13big_to_nativeIaNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  2.52M|    {
  183|  2.52M|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 2.52M]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  2.52M|        T val;
  188|  2.52M|        std::memcpy(&val,first,sizeof(T));
  189|  2.52M|        return byte_swap(val);
  190|  2.52M|    }
_ZN8jsoncons6binary9byte_swapIaEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|  2.52M|    {
   22|  2.52M|        return val;
   23|  2.52M|    }
_ZN8jsoncons6binary13big_to_nativeIsNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  34.5k|    {
  183|  34.5k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 34.5k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  34.5k|        T val;
  188|  34.5k|        std::memcpy(&val,first,sizeof(T));
  189|  34.5k|        return byte_swap(val);
  190|  34.5k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  34.5k|    {
   29|  34.5k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  34.5k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  467|  34.5k|#      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|  34.5k|    }
_ZN8jsoncons6binary13big_to_nativeIiNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  14.4k|    {
  183|  14.4k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 14.4k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  14.4k|        T val;
  188|  14.4k|        std::memcpy(&val,first,sizeof(T));
  189|  14.4k|        return byte_swap(val);
  190|  14.4k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  14.4k|    {
   40|  14.4k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  14.4k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  463|  14.4k|#  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|  14.4k|    }
_ZN8jsoncons6binary13big_to_nativeIlNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  5.91k|    {
  183|  5.91k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 5.91k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  5.91k|        T val;
  188|  5.91k|        std::memcpy(&val,first,sizeof(T));
  189|  5.91k|        return byte_swap(val);
  190|  5.91k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  5.91k|    {
   52|  5.91k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  5.91k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  462|  5.91k|#  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|  5.91k|    }
_ZN8jsoncons6binary13big_to_nativeIfNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   178k|    {
  183|   178k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 178k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   178k|        T val;
  188|   178k|        std::memcpy(&val,first,sizeof(T));
  189|   178k|        return byte_swap(val);
  190|   178k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|   178k|    {
   65|   178k|        uint32_t x;
   66|   178k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|   178k|        uint32_t y = byte_swap(x);
   68|   178k|        T val2;
   69|   178k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|   178k|        return val2;
   71|   178k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|   178k|    {
   40|   178k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|   178k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  463|   178k|#  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|   178k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  34.3k|    {
  183|  34.3k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 34.3k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  34.3k|        T val;
  188|  34.3k|        std::memcpy(&val,first,sizeof(T));
  189|  34.3k|        return byte_swap(val);
  190|  34.3k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  34.3k|    {
   77|  34.3k|        uint64_t x;
   78|  34.3k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  34.3k|        uint64_t y = byte_swap(x);
   80|  34.3k|        T val2;
   81|  34.3k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  34.3k|        return val2;
   83|  34.3k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  34.3k|    {
   52|  34.3k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  34.3k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  462|  34.3k|#  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|  34.3k|    }

_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE7destroyEPNS0_11heap_stringIcS2_S5_EE:
  169|  3.57k|    {
  170|  3.57k|        if (ptr != nullptr)
  ------------------
  |  Branch (170:13): [True: 3.57k, False: 0]
  ------------------
  171|  3.57k|        {
  172|  3.57k|            heap_string_type* rawp = nonstd::to_plain_pointer(ptr);
  173|       |
  174|  3.57k|            char* q = launder_cast<char*>(rawp);
  175|       |
  176|  3.57k|            char* p = q - ptr->offset_;
  177|       |
  178|  3.57k|            std::size_t mem_size = ptr->align_pad_ + aligned_size(ptr->length_*sizeof(char_type));
  179|  3.57k|            byte_allocator_type byte_alloc(ptr->get_allocator());
  180|  3.57k|            byte_alloc.deallocate(p,mem_size);
  181|  3.57k|        }
  182|  3.57k|    }
_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE12aligned_sizeEm:
  119|  7.15k|    {
  120|  7.15k|        return sizeof(storage_type) + n;
  121|  7.15k|    }
_ZN8jsoncons4heap16heap_string_baseINS_9null_typeENSt3__19allocatorIcEEE13get_allocatorEv:
   35|  3.57k|    {
   36|  3.57k|        return alloc_;
   37|  3.57k|    }
_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE6createEPKcmS2_RKS5_:
  126|  3.57k|    {
  127|  3.57k|        std::size_t len = aligned_size(length*sizeof(char_type));
  128|       |
  129|  3.57k|        std::size_t align = alignof(storage_type);
  130|  3.57k|        char* q = nullptr;
  131|  3.57k|        char* storage = nullptr;
  132|  3.57k|        byte_allocator_type byte_alloc(alloc);
  133|  3.57k|        uint8_t align_pad = 0;
  134|       |
  135|  3.57k|        if (align <= 8) {
  ------------------
  |  Branch (135:13): [True: 3.57k, False: 0]
  ------------------
  136|  3.57k|            byte_pointer ptr = byte_alloc.allocate(len);
  137|  3.57k|            q = nonstd::to_plain_pointer(ptr);
  138|       |
  139|  3.57k|            if (reinterpret_cast<uintptr_t>(q) % align == 0) {
  ------------------
  |  Branch (139:17): [True: 3.57k, False: 0]
  ------------------
  140|  3.57k|                storage = q;
  141|  3.57k|            } else {
  142|      0|                byte_alloc.deallocate(ptr, len);
  143|      0|            }
  144|  3.57k|        }
  145|       |
  146|  3.57k|        if (storage == nullptr) {
  ------------------
  |  Branch (146:13): [True: 0, False: 3.57k]
  ------------------
  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|  3.57k|        heap_string_type* ps = new(storage)heap_string_type(extra, byte_alloc);
  155|       |
  156|  3.57k|        auto psa = launder_cast<storage_t*>(storage);
  157|       |
  158|  3.57k|        CharT* p = new(&psa->c)char_type[length + 1];
  159|  3.57k|        std::memcpy(p, s, length*sizeof(char_type));
  160|  3.57k|        p[length] = 0;
  161|  3.57k|        ps->p_ = std::pointer_traits<typename heap_string_type::pointer>::pointer_to(*p);
  162|  3.57k|        ps->length_ = length;
  163|  3.57k|        ps->offset_ = (uint8_t)(storage - q);
  164|  3.57k|        ps->align_pad_ = align_pad;
  165|  3.57k|        return std::pointer_traits<pointer>::pointer_to(*ps);
  166|  3.57k|    }
_ZN8jsoncons4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEC2ES2_RKS5_:
   69|  3.57k|        : heap_string_base<Extra,Allocator>(extra, alloc)
   70|  3.57k|    {
   71|  3.57k|    }
_ZN8jsoncons4heap16heap_string_baseINS_9null_typeENSt3__19allocatorIcEEEC2ERKS2_RKS5_:
   45|  3.57k|        : extra_(extra), alloc_(alloc)
   46|  3.57k|    {
   47|  3.57k|    }

_ZN8jsoncons9is_base10IhEEbPKT_m:
  187|  1.23k|{
  188|  1.23k|    integer_chars_state state = integer_chars_state::initial;
  189|       |
  190|  1.23k|    const CharT* end = s + length; 
  191|  2.48k|    for (;s < end; ++s)
  ------------------
  |  Branch (191:11): [True: 2.39k, False: 94]
  ------------------
  192|  2.39k|    {
  193|  2.39k|        switch(state)
  194|  2.39k|        {
  195|  1.22k|            case integer_chars_state::initial:
  ------------------
  |  Branch (195:13): [True: 1.22k, False: 1.17k]
  ------------------
  196|  1.22k|            {
  197|  1.22k|                switch(*s)
  198|  1.22k|                {
  199|    594|                    case '0':case '1':case '2':case '3':case '4':case '5':case '6':case '7':case '8': case '9':
  ------------------
  |  Branch (199:21): [True: 191, False: 1.02k]
  |  Branch (199:30): [True: 103, False: 1.11k]
  |  Branch (199:39): [True: 98, False: 1.12k]
  |  Branch (199:48): [True: 56, False: 1.16k]
  |  Branch (199:57): [True: 0, False: 1.22k]
  |  Branch (199:66): [True: 2, False: 1.21k]
  |  Branch (199:75): [True: 32, False: 1.18k]
  |  Branch (199:84): [True: 110, False: 1.11k]
  |  Branch (199:93): [True: 0, False: 1.22k]
  |  Branch (199:103): [True: 2, False: 1.21k]
  ------------------
  200|    594|                        state = integer_chars_state::decimal;
  201|    594|                        break;
  202|     48|                    case '-':
  ------------------
  |  Branch (202:21): [True: 48, False: 1.17k]
  ------------------
  203|     48|                        state = integer_chars_state::minus;
  204|     48|                        break;
  205|    578|                    default:
  ------------------
  |  Branch (205:21): [True: 578, False: 642]
  ------------------
  206|    578|                        return false;
  207|  1.22k|                }
  208|    642|                break;
  209|  1.22k|            }
  210|    642|            case integer_chars_state::minus:
  ------------------
  |  Branch (210:13): [True: 48, False: 2.34k]
  ------------------
  211|     48|            {
  212|     48|                switch(*s)
  213|     48|                {
  214|     39|                    case '0':case '1':case '2':case '3':case '4':case '5':case '6':case '7':case '8': case '9':
  ------------------
  |  Branch (214:21): [True: 13, False: 35]
  |  Branch (214:30): [True: 19, False: 29]
  |  Branch (214:39): [True: 1, False: 47]
  |  Branch (214:48): [True: 0, False: 48]
  |  Branch (214:57): [True: 0, False: 48]
  |  Branch (214:66): [True: 0, False: 48]
  |  Branch (214:75): [True: 0, False: 48]
  |  Branch (214:84): [True: 6, False: 42]
  |  Branch (214:93): [True: 0, False: 48]
  |  Branch (214:103): [True: 0, False: 48]
  ------------------
  215|     39|                        state = integer_chars_state::decimal;
  216|     39|                        break;
  217|      9|                    default:
  ------------------
  |  Branch (217:21): [True: 9, False: 39]
  ------------------
  218|      9|                        return false;
  219|     48|                }
  220|     39|                break;
  221|     48|            }
  222|  1.12k|            case integer_chars_state::decimal:
  ------------------
  |  Branch (222:13): [True: 1.12k, False: 1.26k]
  ------------------
  223|  1.12k|            {
  224|  1.12k|                switch(*s)
  225|  1.12k|                {
  226|    564|                    case '0':case '1':case '2':case '3':case '4':case '5':case '6':case '7':case '8': case '9':
  ------------------
  |  Branch (226:21): [True: 54, False: 1.06k]
  |  Branch (226:30): [True: 43, False: 1.07k]
  |  Branch (226:39): [True: 47, False: 1.07k]
  |  Branch (226:48): [True: 41, False: 1.08k]
  |  Branch (226:57): [True: 82, False: 1.04k]
  |  Branch (226:66): [True: 0, False: 1.12k]
  |  Branch (226:75): [True: 97, False: 1.02k]
  |  Branch (226:84): [True: 82, False: 1.04k]
  |  Branch (226:93): [True: 102, False: 1.02k]
  |  Branch (226:103): [True: 16, False: 1.10k]
  ------------------
  227|    564|                        break;
  228|    558|                    default:
  ------------------
  |  Branch (228:21): [True: 558, False: 564]
  ------------------
  229|    558|                        return false;
  230|  1.12k|                }
  231|    564|                break;
  232|  1.12k|            }
  233|    564|            default:
  ------------------
  |  Branch (233:13): [True: 0, False: 2.39k]
  ------------------
  234|      0|                break;
  235|  2.39k|        }
  236|  2.39k|    }
  237|     94|    return state == integer_chars_state::decimal ? true : false;
  ------------------
  |  Branch (237:12): [True: 75, False: 19]
  ------------------
  238|  1.23k|}

_ZN8jsoncons14unicode_traits8validateIhEENSt3__19enable_ifIXsr6nonstd8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  9.18M|    {
 1148|  9.18M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  9.18M|        const uint8_t* end = it + length;
 1150|       |
 1151|  9.18M|        unicode_errc  result{};
 1152|  14.3M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 5.16M, False: 9.18M]
  ------------------
 1153|  5.16M|        {
 1154|  5.16M|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 1.56M, False: 3.59M]
  ------------------
 1155|  1.56M|            {
 1156|  10.9M|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  326|  3.13M|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (326:32): [True: 1.56M, False: 275]
  |  |  |  Branch (326:34): [True: 1.56M, False: 1.65k]
  |  |  |  Branch (326:36): [True: 1.56M, False: 1.37k]
  |  |  |  Branch (326:38): [True: 1.56M, False: 3.14k]
  |  |  |  Branch (326:40): [True: 1.55M, False: 940]
  |  |  |  Branch (326:42): [True: 1.55M, False: 423]
  |  |  |  Branch (326:44): [True: 1.55M, False: 1.28k]
  |  |  |  Branch (326:46): [True: 1.55M, False: 930]
  |  |  ------------------
  ------------------
 1157|  1.55M|                continue;
 1158|  10.9M|            }
 1159|  3.60M|    non_ascii:
 1160|  3.60M|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  3.60M|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 4, False: 3.60M]
  ------------------
 1162|      4|            {
 1163|      4|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|      4|            }
 1165|  3.60M|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 33, False: 3.60M]
  ------------------
 1166|     33|            {
 1167|     33|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|     33|            }
 1169|  3.60M|            it += len;
 1170|  3.60M|        }
 1171|  9.18M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  9.18M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  3.60M|    {
  306|  3.60M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  3.60M|        const uint8_t* end = it+length;
  308|       |
  309|  3.60M|        uint8_t byte;
  310|  3.60M|        switch (length) {
  311|     12|        default:
  ------------------
  |  Branch (311:9): [True: 12, False: 3.60M]
  ------------------
  312|     12|            return unicode_errc::over_long_utf8_sequence;
  313|  4.64k|        case 4:
  ------------------
  |  Branch (313:9): [True: 4.64k, False: 3.60M]
  ------------------
  314|  4.64k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 2, False: 4.63k]
  ------------------
  315|      2|                return unicode_errc::bad_continuation_byte;
  316|  4.63k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|  4.63k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  7.75k|        case 3:
  ------------------
  |  Branch (317:9): [True: 3.11k, False: 3.60M]
  ------------------
  318|  7.75k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 1, False: 7.75k]
  ------------------
  319|      1|                return unicode_errc::bad_continuation_byte;
  320|  7.75k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|  7.75k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  10.0k|        case 2:
  ------------------
  |  Branch (321:9): [True: 2.25k, False: 3.60M]
  ------------------
  322|  10.0k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 3, False: 10.0k]
  ------------------
  323|      3|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  10.0k|            switch (*it) 
  326|  10.0k|            {
  327|       |                // no fall-through in this inner switch
  328|    156|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 156, False: 9.84k]
  |  Branch (328:32): [True: 0, False: 156]
  ------------------
  329|    156|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 11, False: 9.99k]
  |  Branch (329:32): [True: 0, False: 11]
  ------------------
  330|  1.90k|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 1.90k, False: 8.10k]
  |  Branch (330:32): [True: 0, False: 1.90k]
  ------------------
  331|  2.36k|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 2.36k, False: 7.64k]
  |  Branch (331:32): [True: 0, False: 2.36k]
  ------------------
  332|  5.57k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 5.57k, False: 4.43k]
  |  Branch (332:32): [True: 0, False: 5.57k]
  ------------------
  333|  10.0k|            }
  334|       |
  335|  10.0k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|  10.0k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  3.60M|        case 1:
  ------------------
  |  Branch (336:9): [True: 3.59M, False: 10.0k]
  ------------------
  337|  3.60M|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 10.0k, False: 3.59M]
  |  Branch (337:32): [True: 15, False: 10.0k]
  ------------------
  338|     15|                return unicode_errc::source_illegal;
  339|  3.60M|            break;
  340|  3.60M|        }
  341|  3.60M|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 0, False: 3.60M]
  ------------------
  342|      0|            return unicode_errc::source_illegal;
  343|       |
  344|  3.60M|        return unicode_errc();
  345|  3.60M|    }

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

_ZN8jsoncons6ubjson15make_error_codeENS0_11ubjson_errcE:
   96|    567|{
   97|    567|    return std::error_code(static_cast<int>(e),ubjson_error_category());
   98|    567|}
_ZN8jsoncons6ubjson21ubjson_error_categoryEv:
   89|    567|{
   90|    567|  static ubjson_error_category_impl instance;
   91|    567|  return instance;
   92|    567|}
_ZNK8jsoncons6ubjson26ubjson_error_category_impl7messageEi:
   48|    507|    {
   49|    507|        switch (static_cast<ubjson_errc>(ev))
   50|    507|        {
   51|    325|            case ubjson_errc::unexpected_eof:
  ------------------
  |  Branch (51:13): [True: 325, False: 182]
  ------------------
   52|    325|                return "Unexpected end of file";
   53|      0|            case ubjson_errc::source_error:
  ------------------
  |  Branch (53:13): [True: 0, False: 507]
  ------------------
   54|      0|                return "Source error";
   55|      2|            case ubjson_errc::count_required_after_type:
  ------------------
  |  Branch (55:13): [True: 2, False: 505]
  ------------------
   56|      2|                return "Type is specified for container, but count is not specified";
   57|      0|            case ubjson_errc::length_is_negative:
  ------------------
  |  Branch (57:13): [True: 0, False: 507]
  ------------------
   58|      0|                return "Request for the length of an array, map or string returned a negative result";
   59|      3|            case ubjson_errc::length_must_be_integer:
  ------------------
  |  Branch (59:13): [True: 3, False: 504]
  ------------------
   60|      3|                return "Length must be a integer numeric type (int8, uint8, int16, int32, int64)";
   61|     74|            case ubjson_errc::unknown_type:
  ------------------
  |  Branch (61:13): [True: 74, False: 433]
  ------------------
   62|     74|                return "Unknown type";
   63|     37|            case ubjson_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (63:13): [True: 37, False: 470]
  ------------------
   64|     37|                return "Illegal UTF-8 encoding in text string";
   65|      0|            case ubjson_errc::too_many_items:
  ------------------
  |  Branch (65:13): [True: 0, False: 507]
  ------------------
   66|      0|                return "Too many items were added to a UBJSON object or array of known length";
   67|      0|            case ubjson_errc::too_few_items:
  ------------------
  |  Branch (67:13): [True: 0, False: 507]
  ------------------
   68|      0|                return "Too few items were added to a UBJSON object or array of known length";
   69|      0|            case ubjson_errc::number_too_large:
  ------------------
  |  Branch (69:13): [True: 0, False: 507]
  ------------------
   70|      0|                return "Number exceeds implementation limits";
   71|      0|            case ubjson_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (71:13): [True: 0, False: 507]
  ------------------
   72|      0|                return "Data item nesting exceeds limit in options";
   73|      0|            case ubjson_errc::unmatched_end_object:
  ------------------
  |  Branch (73:13): [True: 0, False: 507]
  ------------------
   74|      0|                return "Unmatched end object";
   75|      0|            case ubjson_errc::unmatched_end_array:
  ------------------
  |  Branch (75:13): [True: 0, False: 507]
  ------------------
   76|      0|                return "Unmatched end array";
   77|     60|            case ubjson_errc::key_expected:
  ------------------
  |  Branch (77:13): [True: 60, False: 447]
  ------------------
   78|     60|                return "Text string key in a map expected";
   79|      6|            case ubjson_errc::max_items_exceeded:
  ------------------
  |  Branch (79:13): [True: 6, False: 501]
  ------------------
   80|      6|                return "Number of items in UBJSON object or array exceeds limit set in options";
   81|      0|            default:
  ------------------
  |  Branch (81:13): [True: 0, False: 507]
  ------------------
   82|      0|                return "Unknown UBJSON parser error";
   83|    507|        }
   84|    507|    }

_ZNK8jsoncons6ubjson21ubjson_options_common17max_nesting_depthEv:
   28|    636|    {
   29|    636|        return max_nesting_depth_;
   30|    636|    }
_ZNK8jsoncons6ubjson21ubjson_decode_options9max_itemsEv:
   44|    636|    {
   45|    636|        return max_items_;
   46|    636|    }
_ZN8jsoncons6ubjson21ubjson_decode_optionsC1Ev:
   38|    636|    ubjson_decode_options() = default;
_ZN8jsoncons6ubjson21ubjson_options_commonC2Ev:
   23|    636|    ubjson_options_common() = default;
_ZN8jsoncons6ubjson21ubjson_options_commonD2Ev:
   25|    636|    virtual ~ubjson_options_common() = default;

_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_21ubjson_decode_optionsERKS7_:
   79|    636|       : source_(std::forward<Sourceable>(source)), 
   80|    636|         max_nesting_depth_(options.max_nesting_depth()),
   81|    636|         max_items_(options.max_items()),
   82|    636|         text_buffer_(alloc),
   83|    636|         state_stack_(alloc)
   84|    636|    {
   85|    636|        state_stack_.emplace_back(parse_mode::root,0);
   86|    636|    }
_ZN8jsoncons6ubjson11parse_stateC2ENS0_10parse_modeEmh:
   45|  7.29M|        : mode(mode), length(length), type(type)
   46|  7.29M|    {
   47|  7.29M|    }
_ZNK8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  141|    507|    {
  142|    507|        return 0;
  143|    507|    }
_ZNK8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  146|    507|    {
  147|    507|        return source_.position();
  148|    507|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
   94|    636|    {
   95|    636|        more_ = true;
   96|    636|        done_ = false;
   97|    636|        text_buffer_.clear();
   98|    636|        state_stack_.clear();
   99|    636|        state_stack_.emplace_back(parse_mode::root,0,uint8_t(0));
  100|    636|        nesting_depth_ = 0;
  101|    636|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  151|    636|    {
  152|  49.8M|        while (!done_ && more_)
  ------------------
  |  Branch (152:16): [True: 49.8M, False: 129]
  |  Branch (152:26): [True: 49.8M, False: 0]
  ------------------
  153|  49.8M|        {
  154|  49.8M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (154:21): [True: 49.8M, False: 0]
  ------------------
  155|  49.8M|            {
  156|  54.5k|                case parse_mode::array:
  ------------------
  |  Branch (156:17): [True: 54.5k, False: 49.7M]
  ------------------
  157|  54.5k|                {
  158|  54.5k|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (158:25): [True: 40.6k, False: 13.9k]
  ------------------
  159|  40.6k|                    {
  160|  40.6k|                        ++state_stack_.back().index;
  161|  40.6k|                        read_type_and_value(visitor, ec);
  162|  40.6k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  40.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 40.6k]
  |  |  ------------------
  ------------------
  163|      0|                        {
  164|      0|                            return;
  165|      0|                        }
  166|  40.6k|                    }
  167|  13.9k|                    else
  168|  13.9k|                    {
  169|  13.9k|                        end_array(visitor, ec);
  170|  13.9k|                    }
  171|  54.5k|                    break;
  172|  54.5k|                }
  173|  14.5M|                case parse_mode::strongly_typed_array:
  ------------------
  |  Branch (173:17): [True: 14.5M, False: 35.3M]
  ------------------
  174|  14.5M|                {
  175|  14.5M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (175:25): [True: 14.5M, False: 6.32k]
  ------------------
  176|  14.5M|                    {
  177|  14.5M|                        ++state_stack_.back().index;
  178|  14.5M|                        read_value(visitor, state_stack_.back().type, ec);
  179|  14.5M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  14.5M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 83, False: 14.5M]
  |  |  ------------------
  ------------------
  180|     83|                        {
  181|     83|                            return;
  182|     83|                        }
  183|  14.5M|                    }
  184|  6.32k|                    else
  185|  6.32k|                    {
  186|  6.32k|                        end_array(visitor, ec);
  187|  6.32k|                    }
  188|  14.5M|                    break;
  189|  14.5M|                }
  190|  18.8M|                case parse_mode::indefinite_array:
  ------------------
  |  Branch (190:17): [True: 18.8M, False: 30.9M]
  ------------------
  191|  18.8M|                {
  192|  18.8M|                    auto c = source_.peek();
  193|  18.8M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  18.8M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 47, False: 18.8M]
  |  |  ------------------
  ------------------
  194|     47|                    {
  195|     47|                        ec = ubjson_errc::unexpected_eof;
  196|     47|                        more_ = false;
  197|     47|                        return;
  198|     47|                    }
  199|  18.8M|                    if (c.value == jsoncons::ubjson::ubjson_type::end_array_marker)
  ------------------
  |  Branch (199:25): [True: 2.76M, False: 16.1M]
  ------------------
  200|  2.76M|                    {
  201|  2.76M|                        source_.ignore(1);
  202|  2.76M|                        end_array(visitor, ec);
  203|  2.76M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.76M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.76M]
  |  |  ------------------
  ------------------
  204|      0|                        {
  205|      0|                            return;
  206|      0|                        }
  207|  2.76M|                    }
  208|  16.1M|                    else
  209|  16.1M|                    {
  210|  16.1M|                        if (++state_stack_.back().index > max_items_)
  ------------------
  |  Branch (210:29): [True: 0, False: 16.1M]
  ------------------
  211|      0|                        {
  212|      0|                            ec = ubjson_errc::max_items_exceeded;
  213|      0|                            more_ = false;
  214|      0|                            return;
  215|      0|                        }
  216|  16.1M|                        read_type_and_value(visitor, ec);
  217|  16.1M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  16.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 156, False: 16.1M]
  |  |  ------------------
  ------------------
  218|    156|                        {
  219|    156|                            return;
  220|    156|                        }
  221|  16.1M|                    }
  222|  18.8M|                    break;
  223|  18.8M|                }
  224|  18.8M|                case parse_mode::map_key:
  ------------------
  |  Branch (224:17): [True: 23.5k, False: 49.8M]
  ------------------
  225|  23.5k|                {
  226|  23.5k|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (226:25): [True: 17.7k, False: 5.78k]
  ------------------
  227|  17.7k|                    {
  228|  17.7k|                        ++state_stack_.back().index;
  229|  17.7k|                        read_key(visitor, ec);
  230|  17.7k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  17.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 10, False: 17.7k]
  |  |  ------------------
  ------------------
  231|     10|                        {
  232|     10|                            return;
  233|     10|                        }
  234|  17.7k|                        state_stack_.back().mode = parse_mode::map_value;
  235|  17.7k|                    }
  236|  5.78k|                    else
  237|  5.78k|                    {
  238|  5.78k|                        end_object(visitor, ec);
  239|  5.78k|                    }
  240|  23.5k|                    break;
  241|  23.5k|                }
  242|  23.5k|                case parse_mode::map_value:
  ------------------
  |  Branch (242:17): [True: 17.7k, False: 49.8M]
  ------------------
  243|  17.7k|                {
  244|  17.7k|                    state_stack_.back().mode = parse_mode::map_key;
  245|  17.7k|                    read_type_and_value(visitor, ec);
  246|  17.7k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  17.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2, False: 17.7k]
  |  |  ------------------
  ------------------
  247|      2|                    {
  248|      2|                        return;
  249|      2|                    }
  250|  17.7k|                    break;
  251|  17.7k|                }
  252|   221k|                case parse_mode::strongly_typed_map_key:
  ------------------
  |  Branch (252:17): [True: 221k, False: 49.6M]
  ------------------
  253|   221k|                {
  254|   221k|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (254:25): [True: 186k, False: 34.7k]
  ------------------
  255|   186k|                    {
  256|   186k|                        ++state_stack_.back().index;
  257|   186k|                        read_key(visitor, ec);
  258|   186k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   186k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 15, False: 186k]
  |  |  ------------------
  ------------------
  259|     15|                        {
  260|     15|                            return;
  261|     15|                        }
  262|   186k|                        state_stack_.back().mode = parse_mode::strongly_typed_map_value;
  263|   186k|                    }
  264|  34.7k|                    else
  265|  34.7k|                    {
  266|  34.7k|                        end_object(visitor, ec);
  267|  34.7k|                    }
  268|   221k|                    break;
  269|   221k|                }
  270|   221k|                case parse_mode::strongly_typed_map_value:
  ------------------
  |  Branch (270:17): [True: 186k, False: 49.6M]
  ------------------
  271|   186k|                {
  272|   186k|                    state_stack_.back().mode = parse_mode::strongly_typed_map_key;
  273|   186k|                    read_value(visitor, state_stack_.back().type, ec);
  274|   186k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   186k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 186k]
  |  |  ------------------
  ------------------
  275|      0|                    {
  276|      0|                        return;
  277|      0|                    }
  278|   186k|                    break;
  279|   186k|                }
  280|  10.1M|                case parse_mode::indefinite_map_key:
  ------------------
  |  Branch (280:17): [True: 10.1M, False: 39.6M]
  ------------------
  281|  10.1M|                {
  282|  10.1M|                    auto c = source_.peek();
  283|  10.1M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  10.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 6, False: 10.1M]
  |  |  ------------------
  ------------------
  284|      6|                    {
  285|      6|                        ec = ubjson_errc::unexpected_eof;
  286|      6|                        more_ = false;
  287|      6|                        return;
  288|      6|                    }
  289|  10.1M|                    if (c.value == jsoncons::ubjson::ubjson_type::end_object_marker)
  ------------------
  |  Branch (289:25): [True: 4.41M, False: 5.77M]
  ------------------
  290|  4.41M|                    {
  291|  4.41M|                        source_.ignore(1);
  292|  4.41M|                        end_object(visitor, ec);
  293|  4.41M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  4.41M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 4.41M]
  |  |  ------------------
  ------------------
  294|      0|                        {
  295|      0|                            return;
  296|      0|                        }
  297|  4.41M|                    }
  298|  5.77M|                    else
  299|  5.77M|                    {
  300|  5.77M|                        if (++state_stack_.back().index > max_items_)
  ------------------
  |  Branch (300:29): [True: 0, False: 5.77M]
  ------------------
  301|      0|                        {
  302|      0|                            ec = ubjson_errc::max_items_exceeded;
  303|      0|                            more_ = false;
  304|      0|                            return;
  305|      0|                        }
  306|  5.77M|                        read_key(visitor, ec);
  307|  5.77M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  5.77M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 123, False: 5.77M]
  |  |  ------------------
  ------------------
  308|    123|                        {
  309|    123|                            return;
  310|    123|                        }
  311|  5.77M|                        state_stack_.back().mode = parse_mode::indefinite_map_value;
  312|  5.77M|                    }
  313|  10.1M|                    break;
  314|  10.1M|                }
  315|  10.1M|                case parse_mode::indefinite_map_value:
  ------------------
  |  Branch (315:17): [True: 5.77M, False: 44.0M]
  ------------------
  316|  5.77M|                {
  317|  5.77M|                    state_stack_.back().mode = parse_mode::indefinite_map_key;
  318|  5.77M|                    read_type_and_value(visitor, ec);
  319|  5.77M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  5.77M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 39, False: 5.77M]
  |  |  ------------------
  ------------------
  320|     39|                    {
  321|     39|                        return;
  322|     39|                    }
  323|  5.77M|                    break;
  324|  5.77M|                }
  325|  5.77M|                case parse_mode::root:
  ------------------
  |  Branch (325:17): [True: 636, False: 49.8M]
  ------------------
  326|    636|                {
  327|    636|                    state_stack_.back().mode = parse_mode::accept;
  328|    636|                    read_type_and_value(visitor, ec);
  329|    636|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|    636|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 26, False: 610]
  |  |  ------------------
  ------------------
  330|     26|                    {
  331|     26|                        return;
  332|     26|                    }
  333|    610|                    break;
  334|    636|                }
  335|    610|                case parse_mode::accept:
  ------------------
  |  Branch (335:17): [True: 129, False: 49.8M]
  ------------------
  336|    129|                {
  337|    129|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   54|    129|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 129]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  338|    129|                    state_stack_.clear();
  339|    129|                    more_ = false;
  340|    129|                    done_ = true;
  341|    129|                    visitor.flush();
  342|    129|                    break;
  343|    129|                }
  344|  49.8M|            }
  345|  49.8M|        }
  346|    636|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE19read_type_and_valueERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  349|  21.9M|    {
  350|  21.9M|        if (source_.is_error())
  ------------------
  |  Branch (350:13): [True: 0, False: 21.9M]
  ------------------
  351|      0|        {
  352|      0|            ec = ubjson_errc::source_error;
  353|      0|            more_ = false;
  354|      0|            return;
  355|      0|        }   
  356|       |
  357|  21.9M|        uint8_t b;
  358|  21.9M|        if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (358:13): [True: 11, False: 21.9M]
  ------------------
  359|     11|        {
  360|     11|            ec = ubjson_errc::unexpected_eof;
  361|     11|            more_ = false;
  362|     11|            return;
  363|     11|        }
  364|  21.9M|        read_value(visitor, b, ec);
  365|  21.9M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  671|  2.78M|    {
  672|  2.78M|        --nesting_depth_;
  673|       |
  674|  2.78M|        visitor.end_array(*this, ec);
  675|  2.78M|        more_ = !cursor_mode_;
  676|  2.78M|        if (level() == mark_level_)
  ------------------
  |  Branch (676:13): [True: 0, False: 2.78M]
  ------------------
  677|      0|        {
  678|      0|            more_ = false;
  679|      0|        }
  680|  2.78M|        state_stack_.pop_back();
  681|  2.78M|    }
_ZNK8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5levelEv:
  116|  7.23M|    {
  117|  7.23M|        return static_cast<int>(state_stack_.size());
  118|  7.23M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10read_valueERNS_18basic_json_visitorIcEEhRNS3_10error_codeE:
  368|  36.6M|    {
  369|  36.6M|        switch (type)
  370|  36.6M|        {
  371|  13.3M|            case jsoncons::ubjson::ubjson_type::null_type: 
  ------------------
  |  Branch (371:13): [True: 13.3M, False: 23.2M]
  ------------------
  372|  13.3M|            {
  373|  13.3M|                visitor.null_value(semantic_tag::none, *this, ec);
  374|  13.3M|                more_ = !cursor_mode_;
  375|  13.3M|                break;
  376|      0|            }
  377|  50.5k|            case jsoncons::ubjson::ubjson_type::no_op_type: 
  ------------------
  |  Branch (377:13): [True: 50.5k, False: 36.5M]
  ------------------
  378|  50.5k|            {
  379|  50.5k|                break;
  380|      0|            }
  381|  4.74M|            case jsoncons::ubjson::ubjson_type::true_type:
  ------------------
  |  Branch (381:13): [True: 4.74M, False: 31.8M]
  ------------------
  382|  4.74M|            {
  383|  4.74M|                visitor.bool_value(true, semantic_tag::none, *this, ec);
  384|  4.74M|                more_ = !cursor_mode_;
  385|  4.74M|                break;
  386|      0|            }
  387|  3.32M|            case jsoncons::ubjson::ubjson_type::false_type:
  ------------------
  |  Branch (387:13): [True: 3.32M, False: 33.3M]
  ------------------
  388|  3.32M|            {
  389|  3.32M|                visitor.bool_value(false, semantic_tag::none, *this, ec);
  390|  3.32M|                more_ = !cursor_mode_;
  391|  3.32M|                break;
  392|      0|            }
  393|  2.29M|            case jsoncons::ubjson::ubjson_type::int8_type: 
  ------------------
  |  Branch (393:13): [True: 2.29M, False: 34.3M]
  ------------------
  394|  2.29M|            {
  395|  2.29M|                uint8_t buf[sizeof(int8_t)];
  396|  2.29M|                if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (396:21): [True: 10, False: 2.29M]
  ------------------
  397|     10|                {
  398|     10|                    ec = ubjson_errc::unexpected_eof;
  399|     10|                    more_ = false;
  400|     10|                    return;
  401|     10|                }
  402|  2.29M|                int8_t val = binary::big_to_native<int8_t>(buf, sizeof(buf));
  403|  2.29M|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  404|  2.29M|                more_ = !cursor_mode_;
  405|  2.29M|                break;
  406|  2.29M|            }
  407|  2.07M|            case jsoncons::ubjson::ubjson_type::uint8_type: 
  ------------------
  |  Branch (407:13): [True: 2.07M, False: 34.5M]
  ------------------
  408|  2.07M|            {
  409|  2.07M|                uint8_t b;
  410|  2.07M|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (410:21): [True: 13, False: 2.07M]
  ------------------
  411|     13|                {
  412|     13|                    ec = ubjson_errc::unexpected_eof;
  413|     13|                    more_ = false;
  414|     13|                    return;
  415|     13|                }
  416|  2.07M|                visitor.uint64_value(b, semantic_tag::none, *this, ec);
  417|  2.07M|                more_ = !cursor_mode_;
  418|  2.07M|                break;
  419|  2.07M|            }
  420|  30.7k|            case jsoncons::ubjson::ubjson_type::int16_type: 
  ------------------
  |  Branch (420:13): [True: 30.7k, False: 36.6M]
  ------------------
  421|  30.7k|            {
  422|  30.7k|                uint8_t buf[sizeof(int16_t)];
  423|  30.7k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (423:21): [True: 0, False: 30.7k]
  ------------------
  424|      0|                {
  425|      0|                    ec = ubjson_errc::unexpected_eof;
  426|      0|                    more_ = false;
  427|      0|                    return;
  428|      0|                }
  429|  30.7k|                int16_t val = binary::big_to_native<int16_t>(buf, sizeof(buf));
  430|  30.7k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  431|  30.7k|                more_ = !cursor_mode_;
  432|  30.7k|                break;
  433|  30.7k|            }
  434|  14.0k|            case jsoncons::ubjson::ubjson_type::int32_type: 
  ------------------
  |  Branch (434:13): [True: 14.0k, False: 36.6M]
  ------------------
  435|  14.0k|            {
  436|  14.0k|                uint8_t buf[sizeof(int32_t)];
  437|  14.0k|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (437:21): [True: 0, False: 14.0k]
  ------------------
  438|      0|                {
  439|      0|                    ec = ubjson_errc::unexpected_eof;
  440|      0|                    more_ = false;
  441|      0|                    return;
  442|      0|                }
  443|  14.0k|                int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  444|  14.0k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  445|  14.0k|                more_ = !cursor_mode_;
  446|  14.0k|                break;
  447|  14.0k|            }
  448|  5.75k|            case jsoncons::ubjson::ubjson_type::int64_type: 
  ------------------
  |  Branch (448:13): [True: 5.75k, False: 36.6M]
  ------------------
  449|  5.75k|            {
  450|  5.75k|                uint8_t buf[sizeof(int64_t)];
  451|  5.75k|                if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (451:21): [True: 2, False: 5.75k]
  ------------------
  452|      2|                {
  453|      2|                    ec = ubjson_errc::unexpected_eof;
  454|      2|                    more_ = false;
  455|      2|                    return;
  456|      2|                }
  457|  5.75k|                int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  458|  5.75k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  459|  5.75k|                more_ = !cursor_mode_;
  460|  5.75k|                break;
  461|  5.75k|            }
  462|   178k|            case jsoncons::ubjson::ubjson_type::float32_type: 
  ------------------
  |  Branch (462:13): [True: 178k, False: 36.4M]
  ------------------
  463|   178k|            {
  464|   178k|                uint8_t buf[sizeof(float)];
  465|   178k|                if (source_.read(buf, sizeof(float)) != sizeof(float))
  ------------------
  |  Branch (465:21): [True: 6, False: 178k]
  ------------------
  466|      6|                {
  467|      6|                    ec = ubjson_errc::unexpected_eof;
  468|      6|                    more_ = false;
  469|      6|                    return;
  470|      6|                }
  471|   178k|                float val = binary::big_to_native<float>(buf, sizeof(buf));
  472|   178k|                visitor.double_value(val, semantic_tag::none, *this, ec);
  473|   178k|                more_ = !cursor_mode_;
  474|   178k|                break;
  475|   178k|            }
  476|  34.3k|            case jsoncons::ubjson::ubjson_type::float64_type: 
  ------------------
  |  Branch (476:13): [True: 34.3k, False: 36.5M]
  ------------------
  477|  34.3k|            {
  478|  34.3k|                uint8_t buf[sizeof(double)];
  479|  34.3k|                if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (479:21): [True: 1, False: 34.3k]
  ------------------
  480|      1|                {
  481|      1|                    ec = ubjson_errc::unexpected_eof;
  482|      1|                    more_ = false;
  483|      1|                    return;
  484|      1|                }
  485|  34.3k|                double val = binary::big_to_native<double>(buf, sizeof(buf));
  486|  34.3k|                visitor.double_value(val, semantic_tag::none, *this, ec);
  487|  34.3k|                more_ = !cursor_mode_;
  488|  34.3k|                break;
  489|  34.3k|            }
  490|  3.19M|            case jsoncons::ubjson::ubjson_type::char_type: 
  ------------------
  |  Branch (490:13): [True: 3.19M, False: 33.4M]
  ------------------
  491|  3.19M|            {
  492|  3.19M|                uint8_t ch{};
  493|  3.19M|                if (source_.read(&ch, 1) != 1)
  ------------------
  |  Branch (493:21): [True: 6, False: 3.19M]
  ------------------
  494|      6|                {
  495|      6|                    ec = ubjson_errc::unexpected_eof;
  496|      6|                    more_ = false;
  497|      6|                    return;
  498|      6|                }
  499|  3.19M|                auto result = unicode_traits::validate(&ch, 1);
  500|  3.19M|                if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (500:21): [True: 4, False: 3.19M]
  ------------------
  501|      4|                {
  502|      4|                    ec = ubjson_errc::invalid_utf8_text_string;
  503|      4|                    more_ = false;
  504|      4|                    return;
  505|      4|                }
  506|  3.19M|                visitor.string_value(string_view(reinterpret_cast<const char*>(&ch), 1), semantic_tag::none, *this, ec);
  507|  3.19M|                more_ = !cursor_mode_;
  508|  3.19M|                break;
  509|  3.19M|            }
  510|  2.75k|            case jsoncons::ubjson::ubjson_type::string_type: 
  ------------------
  |  Branch (510:13): [True: 2.75k, False: 36.6M]
  ------------------
  511|  2.75k|            {
  512|  2.75k|                std::size_t length = get_length(ec);
  513|  2.75k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.75k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.75k]
  |  |  ------------------
  ------------------
  514|      0|                {
  515|      0|                    return;
  516|      0|                }
  517|  2.75k|                auto data = source_.read_span(length, text_buffer_);
  518|  2.75k|                if (data.size() != length)
  ------------------
  |  Branch (518:21): [True: 10, False: 2.74k]
  ------------------
  519|     10|                {
  520|     10|                    ec = ubjson_errc::unexpected_eof;
  521|     10|                    more_ = false;
  522|     10|                    return;
  523|     10|                }
  524|  2.74k|                auto result = unicode_traits::validate(data.data(), data.size());
  525|  2.74k|                if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (525:21): [True: 6, False: 2.74k]
  ------------------
  526|      6|                {
  527|      6|                    ec = ubjson_errc::invalid_utf8_text_string;
  528|      6|                    more_ = false;
  529|      6|                    return;
  530|      6|                }
  531|  2.74k|                visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  532|  2.74k|                    semantic_tag::none, *this, ec);
  533|  2.74k|                more_ = !cursor_mode_;
  534|  2.74k|                break;
  535|  2.74k|            }
  536|  1.32k|            case jsoncons::ubjson::ubjson_type::high_precision_number_type: 
  ------------------
  |  Branch (536:13): [True: 1.32k, False: 36.6M]
  ------------------
  537|  1.32k|            {
  538|  1.32k|                std::size_t length = get_length(ec);
  539|  1.32k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  1.32k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1, False: 1.32k]
  |  |  ------------------
  ------------------
  540|      1|                {
  541|      1|                    return;
  542|      1|                }
  543|  1.32k|                auto data = source_.read_span(length, text_buffer_);
  544|  1.32k|                if (data.size() != length)
  ------------------
  |  Branch (544:21): [True: 86, False: 1.23k]
  ------------------
  545|     86|                {
  546|     86|                    ec = ubjson_errc::unexpected_eof;
  547|     86|                    more_ = false;
  548|     86|                    return;
  549|     86|                }
  550|  1.23k|                if (jsoncons::is_base10(data.data(), data.size()))
  ------------------
  |  Branch (550:21): [True: 75, False: 1.16k]
  ------------------
  551|     75|                {
  552|     75|                    visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()), data.size()), 
  553|     75|                        semantic_tag::bigint, *this, ec);
  554|     75|                    more_ = !cursor_mode_;
  555|     75|                }
  556|  1.16k|                else
  557|  1.16k|                {
  558|  1.16k|                    visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()), data.size()), 
  559|  1.16k|                        semantic_tag::bigdec, *this, ec);
  560|  1.16k|                    more_ = !cursor_mode_;
  561|  1.16k|                }
  562|  1.23k|                break;
  563|  1.32k|            }
  564|  2.83M|            case jsoncons::ubjson::ubjson_type::start_array_marker: 
  ------------------
  |  Branch (564:13): [True: 2.83M, False: 33.7M]
  ------------------
  565|  2.83M|            {
  566|  2.83M|                begin_array(visitor,ec);
  567|  2.83M|                break;
  568|  1.32k|            }
  569|  4.45M|            case jsoncons::ubjson::ubjson_type::start_object_marker: 
  ------------------
  |  Branch (569:13): [True: 4.45M, False: 32.1M]
  ------------------
  570|  4.45M|            {
  571|  4.45M|                begin_object(visitor, ec);
  572|  4.45M|                break;
  573|  1.32k|            }
  574|     74|            default:
  ------------------
  |  Branch (574:13): [True: 74, False: 36.6M]
  ------------------
  575|     74|            {
  576|     74|                ec = ubjson_errc::unknown_type;
  577|     74|                break;
  578|  1.32k|            }
  579|  36.6M|        }
  580|  36.6M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  36.6M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 150, False: 36.6M]
  |  |  ------------------
  ------------------
  581|    150|        {
  582|    150|            more_ = false;
  583|    150|        }
  584|  36.6M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10get_lengthERNS3_10error_codeE:
  790|  6.05M|    {
  791|  6.05M|        std::size_t length = 0;
  792|  6.05M|        uint8_t type;
  793|  6.05M|        if (source_.read(&type, 1) == 0)
  ------------------
  |  Branch (793:13): [True: 15, False: 6.05M]
  ------------------
  794|     15|        {
  795|     15|            ec = ubjson_errc::unexpected_eof;
  796|     15|            more_ = false;
  797|     15|            return length;
  798|     15|        }
  799|  6.05M|        switch (type)
  800|  6.05M|        {
  801|   228k|            case jsoncons::ubjson::ubjson_type::int8_type: 
  ------------------
  |  Branch (801:13): [True: 228k, False: 5.82M]
  ------------------
  802|   228k|            {
  803|   228k|                uint8_t buf[sizeof(int8_t)];
  804|   228k|                if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (804:21): [True: 1, False: 228k]
  ------------------
  805|      1|                {
  806|      1|                    ec = ubjson_errc::unexpected_eof;
  807|      1|                    more_ = false;
  808|      1|                    return length;
  809|      1|                }
  810|   228k|                int8_t val = binary::big_to_native<int8_t>(buf, sizeof(buf));
  811|   228k|                if (val >= 0)
  ------------------
  |  Branch (811:21): [True: 228k, False: 0]
  ------------------
  812|   228k|                {
  813|   228k|                    length = val;
  814|   228k|                }
  815|      0|                else
  816|      0|                {
  817|      0|                    ec = ubjson_errc::length_is_negative;
  818|      0|                    more_ = false;
  819|      0|                    return length;
  820|      0|                }
  821|   228k|                break;
  822|   228k|            }
  823|  5.82M|            case jsoncons::ubjson::ubjson_type::uint8_type: 
  ------------------
  |  Branch (823:13): [True: 5.82M, False: 232k]
  ------------------
  824|  5.82M|            {
  825|  5.82M|                uint8_t b;
  826|  5.82M|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (826:21): [True: 1, False: 5.82M]
  ------------------
  827|      1|                {
  828|      1|                    ec = ubjson_errc::unexpected_eof;
  829|      1|                    more_ = false;
  830|      1|                    return length;
  831|      1|                }
  832|  5.82M|                length = b;
  833|  5.82M|                break;
  834|  5.82M|            }
  835|  3.81k|            case jsoncons::ubjson::ubjson_type::int16_type: 
  ------------------
  |  Branch (835:13): [True: 3.81k, False: 6.05M]
  ------------------
  836|  3.81k|            {
  837|  3.81k|                uint8_t buf[sizeof(int16_t)];
  838|  3.81k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (838:21): [True: 0, False: 3.81k]
  ------------------
  839|      0|                {
  840|      0|                    ec = ubjson_errc::unexpected_eof;
  841|      0|                    more_ = false;
  842|      0|                    return length;
  843|      0|                }
  844|  3.81k|                int16_t val = binary::big_to_native<int16_t>(buf, sizeof(buf));
  845|  3.81k|                if (val >= 0)
  ------------------
  |  Branch (845:21): [True: 3.81k, False: 0]
  ------------------
  846|  3.81k|                {
  847|  3.81k|                    length = val;
  848|  3.81k|                }
  849|      0|                else
  850|      0|                {
  851|      0|                    ec = ubjson_errc::length_is_negative;
  852|      0|                    more_ = false;
  853|      0|                    return length;
  854|      0|                }
  855|  3.81k|                break;
  856|  3.81k|            }
  857|  3.81k|            case jsoncons::ubjson::ubjson_type::int32_type: 
  ------------------
  |  Branch (857:13): [True: 414, False: 6.05M]
  ------------------
  858|    414|            {
  859|    414|                uint8_t buf[sizeof(int32_t)];
  860|    414|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (860:21): [True: 0, False: 414]
  ------------------
  861|      0|                {
  862|      0|                    ec = ubjson_errc::unexpected_eof;
  863|      0|                    more_ = false;
  864|      0|                    return length;
  865|      0|                }
  866|    414|                int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  867|    414|                if (val >= 0)
  ------------------
  |  Branch (867:21): [True: 414, False: 0]
  ------------------
  868|    414|                {
  869|    414|                    length = static_cast<std::size_t>(val);
  870|    414|                }
  871|      0|                else
  872|      0|                {
  873|      0|                    ec = ubjson_errc::length_is_negative;
  874|      0|                    more_ = false;
  875|      0|                    return length;
  876|      0|                }
  877|    414|                break;
  878|    414|            }
  879|    414|            case jsoncons::ubjson::ubjson_type::int64_type: 
  ------------------
  |  Branch (879:13): [True: 158, False: 6.05M]
  ------------------
  880|    158|            {
  881|    158|                uint8_t buf[sizeof(int64_t)];
  882|    158|                if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (882:21): [True: 0, False: 158]
  ------------------
  883|      0|                {
  884|      0|                    ec = ubjson_errc::unexpected_eof;
  885|      0|                    more_ = false;
  886|      0|                    return length;
  887|      0|                }
  888|    158|                int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  889|    158|                if (val >= 0)
  ------------------
  |  Branch (889:21): [True: 158, False: 0]
  ------------------
  890|    158|                {
  891|    158|                    length = (std::size_t)val;
  892|    158|                    if (length != (uint64_t)val)
  ------------------
  |  Branch (892:25): [True: 0, False: 158]
  ------------------
  893|      0|                    {
  894|      0|                        ec = ubjson_errc::number_too_large;
  895|      0|                        more_ = false;
  896|      0|                        return length;
  897|      0|                    }
  898|    158|                }
  899|      0|                else
  900|      0|                {
  901|      0|                    ec = ubjson_errc::length_is_negative;
  902|      0|                    more_ = false;
  903|      0|                    return length;
  904|      0|                }
  905|    158|                break;
  906|    158|            }
  907|    158|            default:
  ------------------
  |  Branch (907:13): [True: 61, False: 6.05M]
  ------------------
  908|     61|            {
  909|     61|                ec = ubjson_errc::length_must_be_integer;
  910|     61|                more_ = false;
  911|     61|                return length;
  912|    158|            }
  913|  6.05M|        }
  914|  6.05M|        return length;
  915|  6.05M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  587|  2.83M|    {
  588|  2.83M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   79|  2.83M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.83M]
  |  |  ------------------
  ------------------
  589|      0|        {
  590|      0|            ec = ubjson_errc::max_nesting_depth_exceeded;
  591|      0|            more_ = false;
  592|      0|            return;
  593|      0|        } 
  594|       |
  595|  2.83M|        auto c = source_.peek();
  596|  2.83M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  2.83M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 14, False: 2.83M]
  |  |  ------------------
  ------------------
  597|     14|        {
  598|     14|            ec = ubjson_errc::unexpected_eof;
  599|     14|            more_ = false;
  600|     14|            return;
  601|     14|        }
  602|  2.83M|        if (c.value == jsoncons::ubjson::ubjson_type::type_marker)
  ------------------
  |  Branch (602:13): [True: 12.3k, False: 2.82M]
  ------------------
  603|  12.3k|        {
  604|  12.3k|            source_.ignore(1);
  605|  12.3k|            uint8_t b;
  606|  12.3k|            if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (606:17): [True: 4, False: 12.3k]
  ------------------
  607|      4|            {
  608|      4|                ec = ubjson_errc::unexpected_eof;
  609|      4|                more_ = false;
  610|      4|                return;
  611|      4|            }
  612|  12.3k|            c = source_.peek();
  613|  12.3k|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  12.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 12.3k]
  |  |  ------------------
  ------------------
  614|      4|            {
  615|      4|                ec = ubjson_errc::unexpected_eof;
  616|      4|                more_ = false;
  617|      4|                return;
  618|      4|            }
  619|  12.3k|            if (c.value == jsoncons::ubjson::ubjson_type::count_marker)
  ------------------
  |  Branch (619:17): [True: 12.3k, False: 0]
  ------------------
  620|  12.3k|            {
  621|  12.3k|                source_.ignore(1);
  622|  12.3k|                std::size_t length = get_length(ec);
  623|  12.3k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  12.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 12.3k]
  |  |  ------------------
  ------------------
  624|      4|                {
  625|      4|                    return;
  626|      4|                }
  627|  12.3k|                if (length > max_items_)
  ------------------
  |  Branch (627:21): [True: 2, False: 12.3k]
  ------------------
  628|      2|                {
  629|      2|                    ec = ubjson_errc::max_items_exceeded;
  630|      2|                    more_ = false;
  631|      2|                    return;
  632|      2|                }
  633|  12.3k|                state_stack_.emplace_back(parse_mode::strongly_typed_array,length,b);
  634|  12.3k|                visitor.begin_array(length, semantic_tag::none, *this, ec);
  635|  12.3k|                more_ = !cursor_mode_;
  636|  12.3k|            }
  637|      0|            else
  638|      0|            {
  639|      0|                ec = ubjson_errc::count_required_after_type;
  640|      0|                more_ = false;
  641|      0|                return;
  642|      0|            }
  643|  12.3k|        }
  644|  2.82M|        else if (c.value == jsoncons::ubjson::ubjson_type::count_marker)
  ------------------
  |  Branch (644:18): [True: 14.1k, False: 2.80M]
  ------------------
  645|  14.1k|        {
  646|  14.1k|            source_.ignore(1);
  647|  14.1k|            std::size_t length = get_length(ec);
  648|  14.1k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  14.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 5, False: 14.1k]
  |  |  ------------------
  ------------------
  649|      5|            {
  650|      5|                return;
  651|      5|            }
  652|  14.1k|            if (length > max_items_)
  ------------------
  |  Branch (652:17): [True: 0, False: 14.1k]
  ------------------
  653|      0|            {
  654|      0|                ec = ubjson_errc::max_items_exceeded;
  655|      0|                more_ = false;
  656|      0|                return;
  657|      0|            }
  658|  14.1k|            state_stack_.emplace_back(parse_mode::array,length);
  659|  14.1k|            visitor.begin_array(length, semantic_tag::none, *this, ec);
  660|  14.1k|            more_ = !cursor_mode_;
  661|  14.1k|        }
  662|  2.80M|        else
  663|  2.80M|        {
  664|  2.80M|            state_stack_.emplace_back(parse_mode::indefinite_array,0);
  665|  2.80M|            visitor.begin_array(semantic_tag::none, *this, ec);
  666|  2.80M|            more_ = !cursor_mode_;
  667|  2.80M|        }
  668|  2.83M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12begin_objectERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  684|  4.45M|    {
  685|  4.45M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   79|  4.45M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 4.45M]
  |  |  ------------------
  ------------------
  686|      0|        {
  687|      0|            ec = ubjson_errc::max_nesting_depth_exceeded;
  688|      0|            more_ = false;
  689|      0|            return;
  690|      0|        } 
  691|       |
  692|  4.45M|        auto c = source_.peek();
  693|  4.45M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  4.45M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 21, False: 4.45M]
  |  |  ------------------
  ------------------
  694|     21|        {
  695|     21|            ec = ubjson_errc::unexpected_eof;
  696|     21|            more_ = false;
  697|     21|            return;
  698|     21|        }
  699|  4.45M|        if (c.value == jsoncons::ubjson::ubjson_type::type_marker)
  ------------------
  |  Branch (699:13): [True: 34.7k, False: 4.42M]
  ------------------
  700|  34.7k|        {
  701|  34.7k|            source_.ignore(1);
  702|  34.7k|            uint8_t b;
  703|  34.7k|            if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (703:17): [True: 5, False: 34.7k]
  ------------------
  704|      5|            {
  705|      5|                ec = ubjson_errc::unexpected_eof;
  706|      5|                more_ = false;
  707|      5|                return;
  708|      5|            }
  709|  34.7k|            c = source_.peek();
  710|  34.7k|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  34.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 3, False: 34.7k]
  |  |  ------------------
  ------------------
  711|      3|            {
  712|      3|                ec = ubjson_errc::unexpected_eof;
  713|      3|                more_ = false;
  714|      3|                return;
  715|      3|            }
  716|  34.7k|            if (c.value == jsoncons::ubjson::ubjson_type::count_marker)
  ------------------
  |  Branch (716:17): [True: 34.7k, False: 2]
  ------------------
  717|  34.7k|            {
  718|  34.7k|                source_.ignore(1);
  719|  34.7k|                std::size_t length = get_length(ec);
  720|  34.7k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  34.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 34.7k]
  |  |  ------------------
  ------------------
  721|      4|                {
  722|      4|                    return;
  723|      4|                }
  724|  34.7k|                if (length > max_items_)
  ------------------
  |  Branch (724:21): [True: 2, False: 34.7k]
  ------------------
  725|      2|                {
  726|      2|                    ec = ubjson_errc::max_items_exceeded;
  727|      2|                    more_ = false;
  728|      2|                    return;
  729|      2|                }
  730|  34.7k|                state_stack_.emplace_back(parse_mode::strongly_typed_map_key,length,b);
  731|  34.7k|                visitor.begin_object(length, semantic_tag::none, *this, ec);
  732|  34.7k|                more_ = !cursor_mode_;
  733|  34.7k|            }
  734|      2|            else
  735|      2|            {
  736|      2|                ec = ubjson_errc::count_required_after_type;
  737|      2|                more_ = false;
  738|      2|                return;
  739|      2|            }
  740|  34.7k|        }
  741|  4.42M|        else
  742|  4.42M|        {
  743|  4.42M|            c = source_.peek();
  744|  4.42M|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  4.42M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 4.42M]
  |  |  ------------------
  ------------------
  745|      0|            {
  746|      0|                ec = ubjson_errc::unexpected_eof;
  747|      0|                more_ = false;
  748|      0|                return;
  749|      0|            }
  750|  4.42M|            if (c.value == jsoncons::ubjson::ubjson_type::count_marker)
  ------------------
  |  Branch (750:17): [True: 6.40k, False: 4.41M]
  ------------------
  751|  6.40k|            {
  752|  6.40k|                source_.ignore(1);
  753|  6.40k|                std::size_t length = get_length(ec);
  754|  6.40k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  6.40k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 6.40k]
  |  |  ------------------
  ------------------
  755|      4|                {
  756|      4|                    return;
  757|      4|                }
  758|  6.40k|                if (length > max_items_)
  ------------------
  |  Branch (758:21): [True: 2, False: 6.39k]
  ------------------
  759|      2|                {
  760|      2|                    ec = ubjson_errc::max_items_exceeded;
  761|      2|                    more_ = false;
  762|      2|                    return;
  763|      2|                }
  764|  6.39k|                state_stack_.emplace_back(parse_mode::map_key,length);
  765|  6.39k|                visitor.begin_object(length, semantic_tag::none, *this, ec);
  766|  6.39k|                more_ = !cursor_mode_;
  767|  6.39k|            }
  768|  4.41M|            else
  769|  4.41M|            {
  770|  4.41M|                state_stack_.emplace_back(parse_mode::indefinite_map_key,0);
  771|  4.41M|                visitor.begin_object(semantic_tag::none, *this, ec);
  772|  4.41M|                more_ = !cursor_mode_;
  773|  4.41M|            }
  774|  4.42M|        }
  775|  4.45M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE8read_keyERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  918|  5.98M|    {
  919|  5.98M|        std::size_t length = get_length(ec);
  920|  5.98M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  5.98M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 60, False: 5.98M]
  |  |  ------------------
  ------------------
  921|     60|        {
  922|     60|            ec = ubjson_errc::key_expected;
  923|     60|            more_ = false;
  924|     60|            return;
  925|     60|        }
  926|  5.98M|        auto data = source_.read_span(length, text_buffer_);
  927|  5.98M|        if (data.size() != length)
  ------------------
  |  Branch (927:13): [True: 61, False: 5.98M]
  ------------------
  928|     61|        {
  929|     61|            ec = ubjson_errc::unexpected_eof;
  930|     61|            more_ = false;
  931|     61|            return;
  932|     61|        }
  933|       |
  934|  5.98M|        auto result = unicode_traits::validate(data.data(), data.size());
  935|  5.98M|        if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (935:13): [True: 27, False: 5.98M]
  ------------------
  936|     27|        {
  937|     27|            ec = ubjson_errc::invalid_utf8_text_string;
  938|     27|            more_ = false;
  939|     27|            return;
  940|     27|        }
  941|  5.98M|        visitor.key(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  942|  5.98M|            *this, ec);
  943|  5.98M|        more_ = !cursor_mode_;
  944|  5.98M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10end_objectERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  778|  4.45M|    {
  779|  4.45M|        --nesting_depth_;
  780|  4.45M|        visitor.end_object(*this, ec);
  781|  4.45M|        more_ = !cursor_mode_;
  782|  4.45M|        if (level() == mark_level_)
  ------------------
  |  Branch (782:13): [True: 0, False: 4.45M]
  ------------------
  783|      0|        {
  784|      0|            more_ = false;
  785|      0|        }
  786|  4.45M|        state_stack_.pop_back();
  787|  4.45M|    }

_ZN8jsoncons6ubjson19basic_ubjson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RNS_18basic_json_visitorIcEERKNS0_21ubjson_decode_optionsERKS7_:
   48|    636|       : parser_(std::forward<Sourceable>(source), options, alloc),
   49|    636|         visitor_(visitor)
   50|    636|    {
   51|    636|    }
_ZN8jsoncons6ubjson19basic_ubjson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4readERNS3_10error_codeE:
   64|    636|    {
   65|    636|        parser_.reset();
   66|    636|        parser_.parse(visitor_, ec);
   67|    636|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|    636|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 507, False: 129]
  |  |  ------------------
  ------------------
   68|    507|        {
   69|    507|            return;
   70|    507|        }
   71|    636|    }
_ZNK8jsoncons6ubjson19basic_ubjson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
   74|    507|    {
   75|    507|        return parser_.line();
   76|    507|    }
_ZNK8jsoncons6ubjson19basic_ubjson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
   79|    507|    {
   80|    507|        return parser_.column();
   81|    507|    }

