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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2774|   114M|        {
 2775|   114M|             destroy();
 2776|   114M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  898|   114M|        {
  899|   114M|            switch (storage_kind())
  900|   114M|            {
  901|  2.81k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (901:17): [True: 2.81k, False: 114M]
  ------------------
  902|  2.81k|                {
  903|  2.81k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (903:25): [True: 2.81k, False: 0]
  ------------------
  904|  2.81k|                    {
  905|  2.81k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  906|  2.81k|                    }
  907|  2.81k|                    break;
  908|      0|                }
  909|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (909:17): [True: 0, False: 114M]
  ------------------
  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.82M|                case json_storage_kind::array:
  ------------------
  |  Branch (915:17): [True: 2.82M, False: 111M]
  ------------------
  916|  2.82M|                {
  917|  2.82M|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (917:25): [True: 2.82M, False: 0]
  ------------------
  918|  2.82M|                    {
  919|  2.82M|                        auto& stor = cast<array_storage>();
  920|  2.82M|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  921|  2.82M|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, nonstd::to_plain_pointer(stor.ptr_));
  922|  2.82M|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  923|  2.82M|                    }
  924|  2.82M|                    break;
  925|      0|                }
  926|  4.55M|                case json_storage_kind::object:
  ------------------
  |  Branch (926:17): [True: 4.55M, False: 109M]
  ------------------
  927|  4.55M|                {
  928|  4.55M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (928:25): [True: 4.55M, False: 0]
  ------------------
  929|  4.55M|                    {
  930|  4.55M|                        auto& stor = cast<object_storage>();
  931|  4.55M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  932|  4.55M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, nonstd::to_plain_pointer(stor.ptr_));
  933|  4.55M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  934|  4.55M|                    }
  935|  4.55M|                    break;
  936|      0|                }
  937|   106M|                default:
  ------------------
  |  Branch (937:17): [True: 106M, False: 7.39M]
  ------------------
  938|   106M|                    break;
  939|   114M|            }
  940|   114M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1462|   269M|        {
 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|   269M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1468|   269M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1004|  24.4k|        {
 1005|  24.4k|            return cast(identity<T>());
 1006|  24.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1095|  24.4k|        {
 1096|  24.4k|            return long_str_;
 1097|  24.4k|        }
_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|  77.3M|        {
 2308|  77.3M|            uninitialized_move(std::move(other));
 2309|  77.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1302|  77.3M|        {
 1303|  77.3M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1303:17): [True: 67.9M, False: 9.38M]
  ------------------
 1304|  67.9M|            {
 1305|  67.9M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1306|  67.9M|            }
 1307|  9.38M|            else
 1308|  9.38M|            {
 1309|  9.38M|                switch (other.storage_kind())
 1310|  9.38M|                {
 1311|  4.26k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1311:21): [True: 4.26k, False: 9.38M]
  ------------------
 1312|  4.26k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1313|  4.26k|                        other.construct<null_storage>();
 1314|  4.26k|                        break;
 1315|      0|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1315:21): [True: 0, False: 9.38M]
  ------------------
 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.84M]
  ------------------
 1320|  3.54M|                        construct<array_storage>(other.cast<array_storage>());
 1321|  3.54M|                        other.construct<null_storage>();
 1322|  3.54M|                        break;
 1323|  5.84M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1323:21): [True: 5.84M, False: 3.54M]
  ------------------
 1324|  5.84M|                        construct<object_storage>(other.cast<object_storage>());
 1325|  5.84M|                        other.construct<null_storage>();
 1326|  5.84M|                        break;
 1327|      0|                    default:
  ------------------
  |  Branch (1327:21): [True: 0, False: 9.38M]
  ------------------
 1328|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1329|      0|                        break;
 1330|  9.38M|                }
 1331|  9.38M|            }
 1332|  77.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  995|  8.00k|        {
  996|  8.00k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  8.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  626|  11.7k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  627|  11.7k|            {
  628|  11.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  995|  9.38M|        {
  996|  9.38M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  9.38M|        }
_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|  6.05M|        {
  996|  6.05M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  6.05M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  777|  6.26M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  778|  6.26M|            {
  779|  6.26M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4759|  42.1k|        {
 4760|  42.1k|            switch (storage_kind())
 4761|  42.1k|            {
 4762|  42.1k|                case json_storage_kind::array:
  ------------------
  |  Branch (4762:17): [True: 42.1k, False: 0]
  ------------------
 4763|  42.1k|                    return array_range_type(cast<array_storage>().value().begin(),
 4764|  42.1k|                        cast<array_storage>().value().end());
 4765|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4765:17): [True: 0, False: 42.1k]
  ------------------
 4766|      0|                    return cast<json_ref_storage>().value().array_range();
 4767|      0|                default:
  ------------------
  |  Branch (4767:17): [True: 0, False: 42.1k]
  ------------------
 4768|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4769|  42.1k|            }
 4770|  42.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  6.58M|            {
  751|  6.58M|                return *ptr_;
  752|  6.58M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|  42.1k|            : first_(first), last_(last)
  349|  42.1k|        {
  350|  42.1k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|  42.1k|        {
  354|  42.1k|            return first_;
  355|  42.1k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|  42.1k|        {
  358|  42.1k|            return last_;
  359|  42.1k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3425|  84.4k|        {
 3426|  84.4k|            switch (storage_kind())
 3427|  84.4k|            {
 3428|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 84.4k]
  ------------------
 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: 84.4k]
  ------------------
 3432|      0|                    return cast<short_string_storage>().length() == 0;
 3433|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3433:17): [True: 0, False: 84.4k]
  ------------------
 3434|      0|                    return cast<long_string_storage>().length() == 0;
 3435|  78.1k|                case json_storage_kind::array:
  ------------------
  |  Branch (3435:17): [True: 78.1k, False: 6.30k]
  ------------------
 3436|  78.1k|                    return cast<array_storage>().value().empty();
 3437|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3437:17): [True: 0, False: 84.4k]
  ------------------
 3438|      0|                    return true;
 3439|  6.30k|                case json_storage_kind::object:
  ------------------
  |  Branch (3439:17): [True: 6.30k, False: 78.1k]
  ------------------
 3440|  6.30k|                    return cast<object_storage>().value().empty();
 3441|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3441:17): [True: 0, False: 84.4k]
  ------------------
 3442|      0|                    return cast<const_json_ref_storage>().value().empty();
 3443|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3443:17): [True: 0, False: 84.4k]
  ------------------
 3444|      0|                    return cast<json_ref_storage>().value().empty();
 3445|      0|                default:
  ------------------
  |  Branch (3445:17): [True: 0, False: 84.4k]
  ------------------
 3446|      0|                    return false;
 3447|  84.4k|            }
 3448|  84.4k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1010|  78.1k|        {
 1011|  78.1k|            return cast(identity<T>());
 1012|  78.1k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  78.1k|        {
 1131|  78.1k|            return array_;
 1132|  78.1k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  78.1k|            {
  756|  78.1k|                return *ptr_;
  757|  78.1k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1010|  6.30k|        {
 1011|  6.30k|            return cast(identity<T>());
 1012|  6.30k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|  6.30k|        {
 1121|  6.30k|            return object_;
 1122|  6.30k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  801|  6.30k|            {
  802|  6.30k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   54|  6.30k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 6.30k]
  |  |  ------------------
  |  |   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|  6.30k|                return *ptr_;
  804|  6.30k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4156|  69.4k|        {
 4157|  69.4k|            switch (storage_kind())
 4158|  69.4k|            {
 4159|  42.1k|                case json_storage_kind::array:
  ------------------
  |  Branch (4159:17): [True: 42.1k, False: 27.2k]
  ------------------
 4160|  42.1k|                    cast<array_storage>().value().clear();
 4161|  42.1k|                    break;
 4162|  27.2k|                case json_storage_kind::object:
  ------------------
  |  Branch (4162:17): [True: 27.2k, False: 42.1k]
  ------------------
 4163|  27.2k|                    cast<object_storage>().value().clear();
 4164|  27.2k|                    break;
 4165|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4165:17): [True: 0, False: 69.4k]
  ------------------
 4166|      0|                    cast<json_ref_storage>().value().clear();
 4167|      0|                    break;
 4168|      0|                default:
  ------------------
  |  Branch (4168:17): [True: 0, False: 69.4k]
  ------------------
 4169|      0|                    break;
 4170|  69.4k|            }
 4171|  69.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  795|  98.2k|            {
  796|  98.2k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   54|  98.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 98.2k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  797|  98.2k|                return *ptr_;
  798|  98.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4725|  27.2k|        {
 4726|  27.2k|            switch (storage_kind())
 4727|  27.2k|            {
 4728|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4728:17): [True: 0, False: 27.2k]
  ------------------
 4729|      0|                    return object_range_type(object_iterator(), object_iterator());
 4730|  27.2k|                case json_storage_kind::object:
  ------------------
  |  Branch (4730:17): [True: 27.2k, False: 0]
  ------------------
 4731|  27.2k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4732|  27.2k|                                                  object_iterator(cast<object_storage>().value().end()));
 4733|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4733:17): [True: 0, False: 27.2k]
  ------------------
 4734|      0|                    return cast<json_ref_storage>().value().object_range();
 4735|      0|                default:
  ------------------
  |  Branch (4735:17): [True: 0, False: 27.2k]
  ------------------
 4736|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4737|  27.2k|            }
 4738|  27.2k|        }
_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|  27.2k|            : first_(first), last_(last)
  349|  27.2k|        {
  350|  27.2k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|  54.5k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|  54.5k|            {
  120|  54.5k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  353|  27.2k|        {
  354|  27.2k|            return first_;
  355|  27.2k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  357|  27.2k|        {
  358|  27.2k|            return last_;
  359|  27.2k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|  45.5k|            {
  219|  45.5k|                return !(*this == rhs);
  220|  45.5k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|  45.5k|            {
  210|  45.5k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   78|  91.0k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 45.5k, False: 0]
  |  |  |  Branch (78:48): [True: 45.5k, False: 0]
  |  |  |  Branch (78:48): [True: 45.5k, False: 0]
  |  |  ------------------
  ------------------
  211|  45.5k|                {
  212|  45.5k|                    return current_ == rhs.current_;
  213|  45.5k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|  45.5k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  18.2k|            {
  141|  18.2k|                return *current_;
  142|  18.2k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  18.2k|            {
  151|  18.2k|                ++current_;
  152|  18.2k|                return *this;
  153|  18.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1004|  25.8M|        {
 1005|  25.8M|            return cast(identity<T>());
 1006|  25.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1115|  25.8M|        {
 1116|  25.8M|            return object_;
 1117|  25.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2275|    642|        {
 2276|    642|            construct<empty_object_storage>(semantic_tag::none);
 2277|    642|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  995|    642|        {
  996|    642|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|    642|        }
_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|    642|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|    642|            {
  464|    642|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3484|  69.1k|        {
 3485|  69.1k|            if (n > 0)
  ------------------
  |  Branch (3485:17): [True: 69.1k, False: 0]
  ------------------
 3486|  69.1k|            {
 3487|  69.1k|                switch (storage_kind())
 3488|  69.1k|                {
 3489|  69.1k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3489:21): [True: 69.1k, False: 0]
  ------------------
 3490|  69.1k|                        cast<array_storage>().value().reserve(n);
 3491|  69.1k|                        break;
 3492|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3492:21): [True: 0, False: 69.1k]
  ------------------
 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: 69.1k]
  ------------------
 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: 69.1k]
  ------------------
 3500|      0|                        cast<json_ref_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    default:
  ------------------
  |  Branch (3502:21): [True: 0, False: 69.1k]
  ------------------
 3503|      0|                        break;
 3504|  69.1k|                }
 3505|  69.1k|            }
 3506|  69.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2320|  4.55M|        {
 2321|  4.55M|            auto ptr = create_object(alloc);
 2322|  4.55M|            construct<object_storage>(ptr, tag);
 2323|  4.55M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  976|  4.55M|        {
  977|  4.55M|            using stor_allocator_type = typename object_storage::allocator_type;
  978|  4.55M|            stor_allocator_type stor_alloc(alloc);
  979|  4.55M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  980|  4.55M|            JSONCONS_TRY
  ------------------
  |  |   37|  4.55M|    #define JSONCONS_TRY try
  ------------------
  981|  4.55M|            {
  982|  4.55M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, nonstd::to_plain_pointer(ptr), 
  983|  4.55M|                    std::forward<Args>(args)...);
  984|  4.55M|            }
  985|  4.55M|            JSONCONS_CATCH(...)
  986|  4.55M|            {
  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.55M|            return ptr;
  991|  4.55M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  4.55M|        {
  996|  4.55M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.55M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  772|  4.55M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  773|  4.55M|            {
  774|  4.55M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4701|  6.39M|        {
 4702|  6.39M|            switch (storage_kind())
 4703|  6.39M|            {
 4704|  6.39M|                case json_storage_kind::array:
  ------------------
  |  Branch (4704:17): [True: 6.39M, False: 0]
  ------------------
 4705|  6.39M|                    cast<array_storage>().value().push_back(std::move(val));
 4706|  6.39M|                    break;
 4707|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4707:17): [True: 0, False: 6.39M]
  ------------------
 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.39M]
  ------------------
 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.39M|            }
 4713|  6.39M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1453|  26.4M|        {
 1454|  26.4M|            if (this != &other)
  ------------------
  |  Branch (1454:17): [True: 26.4M, False: 0]
  ------------------
 1455|  26.4M|            {
 1456|  26.4M|                move_assignment(std::move(other));
 1457|  26.4M|            }
 1458|  26.4M|            return *this;
 1459|  26.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1415|  26.4M|        {
 1416|  26.4M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1416:17): [True: 26.4M, False: 0]
  |  Branch (1416:55): [True: 25.9M, False: 537k]
  ------------------
 1417|  25.9M|            {
 1418|  25.9M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1419|  25.9M|            }
 1420|   537k|            else
 1421|   537k|            {
 1422|   537k|                swap(other);
 1423|   537k|            }
 1424|  26.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1934|   537k|        {
 1935|   537k|            if (this == &other)
  ------------------
  |  Branch (1935:17): [True: 0, False: 537k]
  ------------------
 1936|      0|            {
 1937|      0|                return;
 1938|      0|            }
 1939|   537k|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1939:17): [True: 537k, False: 0]
  |  Branch (1939:55): [True: 0, False: 537k]
  ------------------
 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|   537k|            else
 1947|   537k|            {
 1948|   537k|                switch (storage_kind())
 1949|   537k|                {
 1950|   530k|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 530k, False: 7.32k]
  ------------------
 1951|    126|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 126, False: 537k]
  ------------------
 1952|  2.63k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 2.63k, False: 535k]
  ------------------
 1953|  2.12k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 2.12k, False: 535k]
  ------------------
 1954|    349|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 349, False: 537k]
  ------------------
 1955|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 0, False: 537k]
  ------------------
 1956|    271|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 271, False: 537k]
  ------------------
 1957|  1.81k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 1.81k, False: 536k]
  ------------------
 1958|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 537k]
  ------------------
 1959|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 0, False: 537k]
  ------------------
 1960|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 0, False: 537k]
  ------------------
 1961|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 537k]
  ------------------
 1962|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 537k]
  ------------------
 1963|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 537k]
  ------------------
 1964|      0|                    default:
  ------------------
  |  Branch (1964:21): [True: 0, False: 537k]
  ------------------
 1965|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1966|      0|                        break;
 1967|   537k|                }
 1968|   537k|            }
 1969|   537k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1170|   530k|        {
 1171|   530k|            switch (other.storage_kind())
 1172|   530k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 530k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 530k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 530k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 530k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 530k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 530k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 530k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 530k]
  ------------------
 1181|  3.66k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 3.66k, False: 526k]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 530k]
  ------------------
 1183|   316k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 316k, False: 214k]
  ------------------
 1184|   210k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 210k, False: 319k]
  ------------------
 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: 530k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 530k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 530k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|   530k|            }
 1191|   530k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  995|   530k|        {
  996|   530k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   530k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  995|    126|        {
  996|    126|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|    126|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1004|  8.70M|        {
 1005|  8.70M|            return cast(identity<T>());
 1006|  8.70M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1035|  8.70M|        {
 1036|  8.70M|            return boolean_;
 1037|  8.70M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  995|  2.63k|        {
  996|  2.63k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.63k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1004|  2.34M|        {
 1005|  2.34M|            return cast(identity<T>());
 1006|  2.34M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1045|  2.34M|        {
 1046|  2.34M|            return int64_;
 1047|  2.34M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  995|  2.12k|        {
  996|  2.12k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.12k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1004|  2.12M|        {
 1005|  2.12M|            return cast(identity<T>());
 1006|  2.12M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1055|  2.12M|        {
 1056|  2.12M|            return uint64_;
 1057|  2.12M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  995|    349|        {
  996|    349|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|    349|        }
_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|    271|        {
  996|    271|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|    271|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1004|  2.93M|        {
 1005|  2.93M|            return cast(identity<T>());
 1006|  2.93M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1085|  2.93M|        {
 1086|  2.93M|            return short_str_;
 1087|  2.93M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  585|  1.81k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  586|  1.81k|            {
  587|  1.81k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  588|  1.81k|                data_[short_str_length_] = 0;
  589|  1.81k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  995|  1.81k|        {
  996|  1.81k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.81k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1156|  3.66k|        {
 1157|  3.66k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  3.66k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  3.66k|        {
 1163|  3.66k|            TypeR temp{other.cast<TypeR>()};
 1164|  3.66k|            other.construct<TypeL>(cast<TypeL>());
 1165|  3.66k|            construct<TypeR>(temp);
 1166|  3.66k|        }
_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|   210k|        {
 1157|   210k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   210k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   210k|        {
 1163|   210k|            TypeR temp{other.cast<TypeR>()};
 1164|   210k|            other.construct<TypeL>(cast<TypeL>());
 1165|   210k|            construct<TypeR>(temp);
 1166|   210k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1170|    126|        {
 1171|    126|            switch (other.storage_kind())
 1172|    126|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 126]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 126]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 126]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 126]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 126]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 126]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 126]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 126]
  ------------------
 1181|      6|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 6, False: 120]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 126]
  ------------------
 1183|     33|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 33, False: 93]
  ------------------
 1184|     87|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 87, 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: 126]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 126]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 126]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|    126|            }
 1191|    126|        }
_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|     87|        {
 1157|     87|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|     87|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|     87|        {
 1163|     87|            TypeR temp{other.cast<TypeR>()};
 1164|     87|            other.construct<TypeL>(cast<TypeL>());
 1165|     87|            construct<TypeR>(temp);
 1166|     87|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1170|  2.63k|        {
 1171|  2.63k|            switch (other.storage_kind())
 1172|  2.63k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.63k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.63k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.63k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.63k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.63k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.63k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.63k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.63k]
  ------------------
 1181|     66|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 66, False: 2.56k]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.63k]
  ------------------
 1183|  1.69k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.69k, False: 943]
  ------------------
 1184|    877|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 877, False: 1.75k]
  ------------------
 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.63k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.63k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.63k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.63k|            }
 1191|  2.63k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1156|     66|        {
 1157|     66|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|     66|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|     66|        {
 1163|     66|            TypeR temp{other.cast<TypeR>()};
 1164|     66|            other.construct<TypeL>(cast<TypeL>());
 1165|     66|            construct<TypeR>(temp);
 1166|     66|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1156|  1.69k|        {
 1157|  1.69k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.69k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.69k|        {
 1163|  1.69k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.69k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.69k|            construct<TypeR>(temp);
 1166|  1.69k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1156|    877|        {
 1157|    877|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    877|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    877|        {
 1163|    877|            TypeR temp{other.cast<TypeR>()};
 1164|    877|            other.construct<TypeL>(cast<TypeL>());
 1165|    877|            construct<TypeR>(temp);
 1166|    877|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1170|  2.12k|        {
 1171|  2.12k|            switch (other.storage_kind())
 1172|  2.12k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.12k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.12k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.12k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.12k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.12k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.12k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.12k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.12k]
  ------------------
 1181|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.12k]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.12k]
  ------------------
 1183|  1.85k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.85k, False: 279]
  ------------------
 1184|    279|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 279, False: 1.85k]
  ------------------
 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.12k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.12k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.12k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.12k|            }
 1191|  2.12k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1156|  1.85k|        {
 1157|  1.85k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.85k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.85k|        {
 1163|  1.85k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.85k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.85k|            construct<TypeR>(temp);
 1166|  1.85k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1156|    279|        {
 1157|    279|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    279|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    279|        {
 1163|    279|            TypeR temp{other.cast<TypeR>()};
 1164|    279|            other.construct<TypeL>(cast<TypeL>());
 1165|    279|            construct<TypeR>(temp);
 1166|    279|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1170|    349|        {
 1171|    349|            switch (other.storage_kind())
 1172|    349|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 349]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 349]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 349]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 349]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 349]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 349]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 349]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 349]
  ------------------
 1181|      6|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 6, False: 343]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 349]
  ------------------
 1183|    321|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 321, False: 28]
  ------------------
 1184|     22|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 22, False: 327]
  ------------------
 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: 349]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 349]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 349]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|    349|            }
 1191|    349|        }
_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|    321|        {
 1157|    321|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    321|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    321|        {
 1163|    321|            TypeR temp{other.cast<TypeR>()};
 1164|    321|            other.construct<TypeL>(cast<TypeL>());
 1165|    321|            construct<TypeR>(temp);
 1166|    321|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1156|     22|        {
 1157|     22|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|     22|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|     22|        {
 1163|     22|            TypeR temp{other.cast<TypeR>()};
 1164|     22|            other.construct<TypeL>(cast<TypeL>());
 1165|     22|            construct<TypeR>(temp);
 1166|     22|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1170|    271|        {
 1171|    271|            switch (other.storage_kind())
 1172|    271|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 271]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 271]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 271]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 271]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 271]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 271]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 271]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 271]
  ------------------
 1181|      1|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 1, False: 270]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 271]
  ------------------
 1183|     11|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 11, False: 260]
  ------------------
 1184|    259|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 259, False: 12]
  ------------------
 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: 271]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 271]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 271]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|    271|            }
 1191|    271|        }
_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|     11|        {
 1157|     11|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|     11|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|     11|        {
 1163|     11|            TypeR temp{other.cast<TypeR>()};
 1164|     11|            other.construct<TypeL>(cast<TypeL>());
 1165|     11|            construct<TypeR>(temp);
 1166|     11|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1156|    259|        {
 1157|    259|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    259|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    259|        {
 1163|    259|            TypeR temp{other.cast<TypeR>()};
 1164|    259|            other.construct<TypeL>(cast<TypeL>());
 1165|    259|            construct<TypeR>(temp);
 1166|    259|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1170|  1.81k|        {
 1171|  1.81k|            switch (other.storage_kind())
 1172|  1.81k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.81k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 1.81k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 1.81k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 1.81k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 1.81k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.81k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.81k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.81k]
  ------------------
 1181|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 1.81k]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 1.81k]
  ------------------
 1183|    695|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 695, 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: 695]
  ------------------
 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.81k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 1.81k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 1.81k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  1.81k|            }
 1191|  1.81k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1156|    695|        {
 1157|    695|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    695|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    695|        {
 1163|    695|            TypeR temp{other.cast<TypeR>()};
 1164|    695|            other.construct<TypeL>(cast<TypeL>());
 1165|    695|            construct<TypeR>(temp);
 1166|    695|        }
_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.12M|        {
 2615|  2.12M|            construct<uint64_storage>(val, tag);
 2616|  2.12M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  995|  2.12M|        {
  996|  2.12M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.12M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  2.12M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  2.12M|                  val_(val)
  518|  2.12M|            {
  519|  2.12M|            }
_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.82M|        {
 2402|  2.82M|            auto ptr = create_array(Allocator());
 2403|  2.82M|            construct<array_storage>(ptr, tag);
 2404|  2.82M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  957|  2.82M|        {
  958|  2.82M|            using stor_allocator_type = typename array_storage::allocator_type;
  959|  2.82M|            stor_allocator_type stor_alloc(alloc);
  960|  2.82M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  961|  2.82M|            JSONCONS_TRY
  ------------------
  |  |   37|  2.82M|    #define JSONCONS_TRY try
  ------------------
  962|  2.82M|            {
  963|  2.82M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, nonstd::to_plain_pointer(ptr), 
  964|  2.82M|                    std::forward<Args>(args)...);
  965|  2.82M|            }
  966|  2.82M|            JSONCONS_CATCH(...)
  967|  2.82M|            {
  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.82M|            return ptr;
  972|  2.82M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  2.82M|        {
  996|  2.82M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.82M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  722|  2.82M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  723|  2.82M|            {
  724|  2.82M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2691|  13.2M|        {
 2692|  13.2M|            construct<null_storage>(tag);
 2693|  13.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  995|  13.2M|        {
  996|  13.2M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  13.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2701|  8.70M|        {
 2702|  8.70M|            construct<bool_storage>(val,tag);
 2703|  8.70M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  995|  8.70M|        {
  996|  8.70M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  8.70M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|  8.70M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|  8.70M|                  val_(val)
  477|  8.70M|            {
  478|  8.70M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2549|  2.93M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2550|  2.93M|        {
 2551|  2.93M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2579|  2.93M|        {
 2580|  2.93M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2580:17): [True: 2.93M, False: 2.81k]
  ------------------
 2581|  2.93M|            {
 2582|  2.93M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2583|  2.93M|            }
 2584|  2.81k|            else
 2585|  2.81k|            {
 2586|  2.81k|                auto ptr = create_long_string(alloc, s, length);
 2587|  2.81k|                construct<long_string_storage>(ptr, tag);
 2588|  2.81k|            }
 2589|  2.93M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  995|  2.93M|        {
  996|  2.93M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.93M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  2.93M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  2.93M|            {
  579|  2.93M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   54|  2.93M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 2.93M]
  |  |  ------------------
  |  |   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|  2.93M|                std::memcpy(data_,p,length*sizeof(char_type));
  581|  2.93M|                data_[length] = 0;
  582|  2.93M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  943|  2.81k|        {
  944|  2.81k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  945|  2.81k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  946|  2.81k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|  2.81k|        {
  996|  2.81k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.81k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  621|  2.81k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  622|  2.81k|            {
  623|  2.81k|            }
_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|  2.81k|    {
  249|  2.81k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  250|  2.81k|        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|  2.81k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  248|  2.81k|    {
  249|  2.81k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  250|  2.81k|        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|  2.81k|    }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  2.83M|        {
  106|  2.83M|            flatten_and_destroy();
  107|  2.83M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  2.83M|        {
  249|  8.81M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 5.97M, False: 2.83M]
  ------------------
  250|  5.97M|            {
  251|  5.97M|                value_type current = std::move(data_.back());
  252|  5.97M|                data_.pop_back();
  253|  5.97M|                switch (current.storage_kind())
  254|  5.97M|                {
  255|  42.1k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 42.1k, False: 5.93M]
  ------------------
  256|  42.1k|                    {
  257|  42.1k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 451k, False: 42.1k]
  ------------------
  258|   451k|                        {
  259|   451k|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 72.6k, False: 379k]
  |  Branch (259:85): [True: 3.77k, False: 375k]
  ------------------
  260|  76.4k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 35.0k, False: 41.3k]
  ------------------
  261|  35.0k|                            {
  262|  35.0k|                                data_.push_back(std::move(item));
  263|  35.0k|                            }
  264|   451k|                        }
  265|  42.1k|                        current.clear();                           
  266|  42.1k|                        break;
  267|      0|                    }
  268|  27.2k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 27.2k, False: 5.95M]
  ------------------
  269|  27.2k|                    {
  270|  27.2k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 18.2k, False: 27.2k]
  ------------------
  271|  18.2k|                        {
  272|  18.2k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 2.22k, False: 16.0k]
  |  Branch (272:91): [True: 1.18k, False: 14.8k]
  ------------------
  273|  3.40k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 1.04k, False: 2.35k]
  ------------------
  274|  1.04k|                            {
  275|  1.04k|                                data_.push_back(std::move(kv.value()));
  276|  1.04k|                            }
  277|  18.2k|                        }
  278|  27.2k|                        current.clear();                           
  279|  27.2k|                        break;
  280|      0|                    }
  281|  5.90M|                    default:
  ------------------
  |  Branch (281:21): [True: 5.90M, False: 69.4k]
  ------------------
  282|  5.90M|                        break;
  283|  5.97M|                }
  284|  5.97M|            }
  285|  2.83M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|  42.1k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|  42.1k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  78.1k|        {
  126|  78.1k|            return data_.empty();
  127|  78.1k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|  42.1k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  9.90k|            : allocator_holder<allocator_type>(alloc), 
   50|  9.90k|              data_(value_allocator_type(alloc))
   51|  9.90k|        {
   52|  9.90k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  1.50k|        {
  218|  1.50k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  1.50k|            return data_.back();
  220|  1.50k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  69.1k|        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.39M|        {
  179|  6.39M|            data_.emplace_back(std::forward<T>(value));
  180|  6.39M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  2.82M|        json_array() = default;

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|    642|        : alloc_(alloc),
   75|    642|          result_(),
   76|    642|          name_(alloc),
   77|    642|          item_stack_(alloc),
   78|    642|          structure_stack_(temp_alloc)
   79|    642|    {
   80|       |        //item_stack_.reserve(1000);
   81|       |        //structure_stack_.reserve(100);
   82|    642|        structure_stack_.emplace_back(json_structure_kind::root_kind, 0);
   83|    642|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14json_structureC2ENS7_19json_structure_kindEm:
   51|  7.38M|            : structure_kind(type), structure_index(offset)
   52|  7.38M|        {
   53|  7.38M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  186|  2.77M|    {
  187|  2.77M|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   54|  2.77M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 2.77M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  188|  2.77M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::array_kind);
  ------------------
  |  |   54|  2.77M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 2.77M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  189|  2.77M|        const size_t structure_index = structure_stack_.back().structure_index;
  190|  2.77M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   54|  2.77M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 2.77M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  191|       |
  192|  2.77M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  193|  2.77M|        auto& arr = item_stack_[structure_index].value;
  194|  2.77M|        const size_t size = item_stack_.size() - (structure_index + 1);
  195|       |
  196|  2.77M|        if (size > 0)
  ------------------
  |  Branch (196:13): [True: 69.1k, False: 2.70M]
  ------------------
  197|  69.1k|        {
  198|  69.1k|            arr.reserve(size);
  199|  69.1k|            auto first = item_stack_.begin() + (structure_index+1);
  200|  69.1k|            auto last = first + size;
  201|  6.46M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (201:35): [True: 6.39M, False: 69.1k]
  ------------------
  202|  6.39M|            {
  203|  6.39M|                arr.push_back(std::move((*it).value));
  204|  6.39M|            }
  205|  69.1k|            item_stack_.erase(first, item_stack_.end());
  206|  69.1k|        }
  207|       |
  208|  2.77M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (208:13): [True: 33, False: 2.77M]
  ------------------
  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.77M|        structure_stack_.pop_back();
  216|  2.77M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.77M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  2.77M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  311|  2.12M|    {
  312|  2.12M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (312:17): [True: 2.12M, False: 0]
  ------------------
  313|  2.12M|        {
  314|  9.49k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (314:13): [True: 9.49k, False: 2.11M]
  ------------------
  315|  9.49k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  316|  9.49k|                break;
  317|  2.11M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (317:13): [True: 2.11M, False: 9.49k]
  ------------------
  318|  2.11M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  319|  2.11M|                break;
  320|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (320:13): [True: 0, False: 2.12M]
  ------------------
  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.12M|        }
  325|  2.12M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.12M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  2.12M|    }
_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|  12.0k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (293:13): [True: 12.0k, False: 2.33M]
  ------------------
  294|  12.0k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  295|  12.0k|                break;
  296|  2.33M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (296:13): [True: 2.33M, False: 12.0k]
  ------------------
  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.43k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (356:13): [True: 1.43k, False: 211k]
  ------------------
  357|  1.43k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  358|  1.43k|                break;
  359|   211k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (359:13): [True: 211k, False: 1.43k]
  ------------------
  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|    126|    {
  123|    126|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  4.55M|    {
  127|  4.55M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (127:13): [True: 49.6k, False: 4.50M]
  ------------------
  128|  49.6k|        {
  129|  49.6k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  130|  49.6k|            item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  131|  49.6k|        }
  132|  4.50M|        else
  133|  4.50M|        {
  134|  4.50M|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  135|  4.50M|            item_stack_.emplace_back(key_type(alloc_), 0, json_object_arg, tag);
  136|  4.50M|        }
  137|  4.55M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.55M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  138|  4.55M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  141|  4.55M|    {
  142|  4.55M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   54|  4.55M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 4.55M]
  |  |  ------------------
  |  |   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.55M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::object_kind);
  ------------------
  |  |   54|  4.55M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 4.55M]
  |  |  ------------------
  |  |   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.55M|        const size_t structure_index = structure_stack_.back().structure_index;
  145|  4.55M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   54|  4.55M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 4.55M]
  |  |  ------------------
  |  |   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.55M|        const size_t size = item_stack_.size() - (structure_index + 1);
  148|  4.55M|        auto first = item_stack_.begin() + (structure_index+1);
  149|  4.55M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  150|  4.55M|        auto& obj = item_stack_[structure_index].value;
  151|       |
  152|  4.55M|        if (size > 0)
  ------------------
  |  Branch (152:13): [True: 16.4k, False: 4.53M]
  ------------------
  153|  16.4k|        {
  154|  16.4k|            obj.template cast<typename Json::object_storage>().value().uninitialized_init(
  155|  16.4k|                &item_stack_[structure_index+1], size);
  156|  16.4k|            item_stack_.erase(first, item_stack_.end());
  157|  16.4k|        }
  158|       |
  159|  4.55M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (159:13): [True: 87, False: 4.55M]
  ------------------
  160|     87|        {
  161|     87|            result_ = std::move(item_stack_.front().value);
  162|     87|            item_stack_.pop_back();
  163|     87|            is_valid_ = true;
  164|     87|        }
  165|       |
  166|  4.55M|        structure_stack_.pop_back();
  167|  4.55M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.55M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  168|  4.55M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  171|  2.82M|    {
  172|  2.82M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (172:13): [True: 61.7k, False: 2.76M]
  ------------------
  173|  61.7k|        {
  174|  61.7k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  175|  61.7k|            item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  176|  61.7k|        }
  177|  2.76M|        else
  178|  2.76M|        {
  179|  2.76M|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  180|  2.76M|            item_stack_.emplace_back(key_type(alloc_), 0, json_array_arg, tag);
  181|  2.76M|        }
  182|  2.82M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.82M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  183|  2.82M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  220|  5.94M|    {
  221|  5.94M|        name_ = key_type(name.data(),name.length(),alloc_);
  222|  5.94M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  5.94M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  223|  5.94M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  389|  13.2M|    {
  390|  13.2M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (390:17): [True: 13.2M, False: 0]
  ------------------
  391|  13.2M|        {
  392|  5.69M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (392:13): [True: 5.69M, False: 7.55M]
  ------------------
  393|  5.69M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  394|  5.69M|                break;
  395|  7.55M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (395:13): [True: 7.55M, False: 5.69M]
  ------------------
  396|  7.55M|                item_stack_.emplace_back(key_type(alloc_), 0, null_type(), tag);
  397|  7.55M|                break;
  398|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (398:13): [True: 0, False: 13.2M]
  ------------------
  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.2M|        }
  403|  13.2M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  13.2M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  404|  13.2M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  371|  8.70M|    {
  372|  8.70M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (372:17): [True: 8.70M, False: 0]
  ------------------
  373|  8.70M|        {
  374|   109k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (374:13): [True: 109k, False: 8.59M]
  ------------------
  375|   109k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  376|   109k|                break;
  377|  8.59M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (377:13): [True: 8.59M, False: 109k]
  ------------------
  378|  8.59M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  379|  8.59M|                break;
  380|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (380:13): [True: 0, False: 8.70M]
  ------------------
  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.70M|        }
  385|  8.70M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  8.70M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  8.70M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  226|  2.93M|    {
  227|  2.93M|        auto& structure = structure_stack_.back();
  228|  2.93M|        switch (structure.structure_kind)
  ------------------
  |  Branch (228:17): [True: 2.93M, False: 0]
  ------------------
  229|  2.93M|        {
  230|  5.56k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (230:13): [True: 5.56k, False: 2.93M]
  ------------------
  231|  5.56k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  232|  5.56k|                break;
  233|  2.93M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (233:13): [True: 2.93M, False: 5.56k]
  ------------------
  234|  2.93M|                item_stack_.emplace_back(key_type(alloc_), 0, sv, tag);
  235|  2.93M|                break;
  236|      6|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (236:13): [True: 6, False: 2.93M]
  ------------------
  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|  2.93M|        }
  241|  2.93M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.93M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  242|  2.93M|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|    126|    {
  109|    126|        return is_valid_;
  110|    126|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|    126|    {
  114|    126|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   54|    126|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 126]
  |  |  ------------------
  |  |   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|    126|        is_valid_ = false;
  116|    126|        return std::move(result_);
  117|    126|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|    642|{
 1065|    642|    return json_visitor_adaptor<From, To>(to);
 1066|    642|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|    642|        : supertype(visitor)
  984|    642|    {
  985|    642|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|    642|        : destination1_(std::addressof(visitor))
  722|    642|    {
  723|    642|    }
_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.3k|    {
  778|  26.3k|        destination1_->begin_array(length, tag, context, ec);
  779|  26.3k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  26.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|  26.3k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  2.77M|    {
  784|  2.77M|        destination1_->end_array(context, ec);
  785|  2.77M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.77M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  2.77M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  2.12M|    {
  826|  2.12M|        destination1_->uint64_value(value, tag, context, ec);
  827|  2.12M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.12M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  2.12M|    }
_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|    126|    {
  739|    126|        destination1_->flush();
  740|    126|    }
_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.51M|    {
  746|  4.51M|        destination1_->begin_object(tag, context, ec);
  747|  4.51M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.51M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  748|  4.51M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|  44.2k|    {
  755|  44.2k|        destination1_->begin_object(length, tag, context, ec);
  756|  44.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  44.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  44.2k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  4.55M|    {
  761|  4.55M|        destination1_->end_object(context, ec);
  762|  4.55M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.55M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  4.55M|    }
_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.94M|    {
  996|  5.94M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  5.94M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  8.88M|    {
  733|  8.88M|        return *destination1_;
  734|  8.88M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  13.2M|    {
  838|  13.2M|        destination1_->null_value(tag, context, ec);
  839|  13.2M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  13.2M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  13.2M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  8.70M|    {
  832|  8.70M|        destination1_->bool_value(value, tag, context, ec);
  833|  8.70M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  8.70M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  8.70M|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE12visit_stringERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
 1003|  2.93M|    {
 1004|  2.93M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  2.93M|    }

_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.28k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  1.28k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|  26.3k|        {
  561|  26.3k|            visit_begin_array(tag, context, ec);
  562|  26.3k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  26.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  26.3k|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  44.2k|        {
  545|  44.2k|            visit_begin_object(tag, context, ec);
  546|  44.2k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  44.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  44.2k|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  52.6k|        {
  346|  52.6k|            visit_begin_array(length, tag, context, ec);
  347|  52.6k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  52.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  52.6k|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  4.25M|        {
  415|  4.25M|            visit_uint64(value, tag, context, ec);
  416|  4.25M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.25M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  4.25M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  5.54M|        {
  352|  5.54M|            visit_end_array(context, ec);
  353|  5.54M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  5.54M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  5.54M|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  4.68M|        {
  424|  4.68M|            visit_int64(value, tag, context, ec);
  425|  4.68M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.68M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  4.68M|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|   425k|        {
  442|   425k|            visit_double(value, tag, context, ec);
  443|   425k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   425k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|   425k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|    252|        {
  109|    252|            visit_flush();
  110|    252|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  318|  9.02M|        {
  319|  9.02M|            visit_begin_object(tag, context, ec);
  320|  9.02M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  9.02M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  321|  9.02M|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  88.5k|        {
  328|  88.5k|            visit_begin_object(length, tag, context, ec);
  329|  88.5k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  88.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  88.5k|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  9.11M|        {
  334|  9.11M|            visit_end_object(context, ec);
  335|  9.11M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  9.11M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  9.11M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  339|  5.60M|        {
  340|  5.60M|            visit_begin_array(tag, context, ec);
  341|  5.60M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  5.60M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  342|  5.60M|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  11.8M|        {
  358|  11.8M|            visit_key(name, context, ec);
  359|  11.8M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  11.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  11.8M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  26.5M|        {
  366|  26.5M|            visit_null(tag, context, ec);
  367|  26.5M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  26.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  26.5M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  17.4M|        {
  375|  17.4M|            visit_bool(value, tag, context, ec);
  376|  17.4M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  17.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  17.4M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  5.87M|        {
  384|  5.87M|            visit_string(value, tag, context, ec);
  385|  5.87M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  5.87M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  5.87M|        }

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|  82.9k|    {
  121|  82.9k|        return value_;
  122|  82.9k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  26.4M|    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.12M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.12M|    {
   45|  2.12M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  59.7M|    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.55M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.55M|    {
   45|  4.55M|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|  56.2k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|  56.2k|    {
   88|  56.2k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.82M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.82M|    {
   45|  2.82M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  13.2M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  13.2M|    {
   45|  13.2M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  8.70M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  8.70M|    {
   45|  8.70M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  2.93M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.93M|    {
   45|  2.93M|    }

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

_ZN8jsoncons6nonstd16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  265|  2.81k|    {       
  266|  2.81k|        return (ptr);
  267|  2.81k|    }  
_ZN8jsoncons6nonstd16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  265|  5.65M|    {       
  266|  5.65M|        return (ptr);
  267|  5.65M|    }  
_ZN8jsoncons6nonstd16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  265|  9.11M|    {       
  266|  9.11M|        return (ptr);
  267|  9.11M|    }  
_ZN8jsoncons6nonstd16to_plain_pointerIcEEPT_S3_:
  265|  2.81k|    {       
  266|  2.81k|        return (ptr);
  267|  2.81k|    }  

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

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  6.30k|        {
  159|  6.30k|            return data_.empty();
  160|  6.30k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  27.2k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  27.2k|        {
  169|  27.2k|            return data_.begin();
  170|  27.2k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  27.2k|        {
  174|  27.2k|            return data_.end();
  175|  27.2k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  4.55M|        {
  154|  4.55M|            flatten_and_destroy();
  155|  4.55M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|  4.55M|        {
  725|  4.55M|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 9.90k, False: 4.54M]
  ------------------
  726|  9.90k|            {
  727|  9.90k|                json_array<Json> temp(get_allocator());
  728|       |
  729|  9.90k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 38.0k, False: 9.90k]
  ------------------
  730|  38.0k|                {
  731|  38.0k|                    switch (kv.value().storage_kind())
  732|  38.0k|                    {
  733|  3.27k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 3.27k, False: 34.7k]
  ------------------
  734|  4.62k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 1.34k, False: 36.6k]
  ------------------
  735|  4.62k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 1.50k, False: 3.12k]
  ------------------
  736|  1.50k|                            {
  737|  1.50k|                                temp.emplace_back(std::move(kv.value()));
  738|  1.50k|                            }
  739|  4.62k|                            break;
  740|  33.4k|                        default:
  ------------------
  |  Branch (740:25): [True: 33.4k, False: 4.62k]
  ------------------
  741|  33.4k|                            break;
  742|  38.0k|                    }
  743|  38.0k|                }
  744|  9.90k|            }
  745|  4.55M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  4.55M|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  16.4k|        {
  278|  16.4k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 16.4k, False: 0]
  ------------------
  279|  16.4k|            {
  280|  16.4k|                data_.reserve(count);
  281|       |
  282|  16.4k|                std::sort(items, items+count, compare);
  283|  16.4k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  5.47M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 5.46M, False: 16.4k]
  ------------------
  286|  5.46M|                {
  287|  5.46M|                    auto& item = items[i];
  288|  5.46M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 39.8k, False: 5.42M]
  ------------------
  289|  39.8k|                    {
  290|  39.8k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|  39.8k|                    }
  292|  5.46M|                }
  293|  16.4k|            }
  294|  16.4k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|   124M|        {
  269|   124M|            int comp = item1.name.compare(item2.name); 
  270|   124M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 1.45M, False: 123M]
  ------------------
  271|   123M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 123M, False: 202k]
  ------------------
  272|       |
  273|   202k|            return false;
  274|   123M|        }

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

_ZN8jsoncons6binary13big_to_nativeIaNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  2.51M|    {
  183|  2.51M|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 2.51M]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  2.51M|        T val;
  188|  2.51M|        std::memcpy(&val,first,sizeof(T));
  189|  2.51M|        return byte_swap(val);
  190|  2.51M|    }
_ZN8jsoncons6binary9byte_swapIaEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|  2.51M|    {
   22|  2.51M|        return val;
   23|  2.51M|    }
_ZN8jsoncons6binary13big_to_nativeIsNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  34.7k|    {
  183|  34.7k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 34.7k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  34.7k|        T val;
  188|  34.7k|        std::memcpy(&val,first,sizeof(T));
  189|  34.7k|        return byte_swap(val);
  190|  34.7k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  34.7k|    {
   29|  34.7k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  34.7k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  467|  34.7k|#      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.7k|    }
_ZN8jsoncons6binary13big_to_nativeIiNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  13.4k|    {
  183|  13.4k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 13.4k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  13.4k|        T val;
  188|  13.4k|        std::memcpy(&val,first,sizeof(T));
  189|  13.4k|        return byte_swap(val);
  190|  13.4k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  13.4k|    {
   40|  13.4k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  13.4k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  463|  13.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|  13.4k|    }
_ZN8jsoncons6binary13big_to_nativeIlNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  5.58k|    {
  183|  5.58k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 5.58k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  5.58k|        T val;
  188|  5.58k|        std::memcpy(&val,first,sizeof(T));
  189|  5.58k|        return byte_swap(val);
  190|  5.58k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  5.58k|    {
   52|  5.58k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  5.58k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  462|  5.58k|#  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.58k|    }
_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|  2.81k|    {
  170|  2.81k|        if (ptr != nullptr)
  ------------------
  |  Branch (170:13): [True: 2.81k, False: 0]
  ------------------
  171|  2.81k|        {
  172|  2.81k|            heap_string_type* rawp = nonstd::to_plain_pointer(ptr);
  173|       |
  174|  2.81k|            char* q = launder_cast<char*>(rawp);
  175|       |
  176|  2.81k|            char* p = q - ptr->offset_;
  177|       |
  178|  2.81k|            std::size_t mem_size = ptr->align_pad_ + aligned_size(ptr->length_*sizeof(char_type));
  179|  2.81k|            byte_allocator_type byte_alloc(ptr->get_allocator());
  180|  2.81k|            byte_alloc.deallocate(p,mem_size);
  181|  2.81k|        }
  182|  2.81k|    }
_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE12aligned_sizeEm:
  119|  5.63k|    {
  120|  5.63k|        return sizeof(storage_type) + n;
  121|  5.63k|    }
_ZN8jsoncons4heap16heap_string_baseINS_9null_typeENSt3__19allocatorIcEEE13get_allocatorEv:
   35|  2.81k|    {
   36|  2.81k|        return alloc_;
   37|  2.81k|    }
_ZN8jsoncons4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE6createEPKcmS2_RKS5_:
  126|  2.81k|    {
  127|  2.81k|        std::size_t len = aligned_size(length*sizeof(char_type));
  128|       |
  129|  2.81k|        std::size_t align = alignof(storage_type);
  130|  2.81k|        char* q = nullptr;
  131|  2.81k|        char* storage = nullptr;
  132|  2.81k|        byte_allocator_type byte_alloc(alloc);
  133|  2.81k|        uint8_t align_pad = 0;
  134|       |
  135|  2.81k|        if (align <= 8) {
  ------------------
  |  Branch (135:13): [True: 2.81k, False: 0]
  ------------------
  136|  2.81k|            byte_pointer ptr = byte_alloc.allocate(len);
  137|  2.81k|            q = nonstd::to_plain_pointer(ptr);
  138|       |
  139|  2.81k|            if (reinterpret_cast<uintptr_t>(q) % align == 0) {
  ------------------
  |  Branch (139:17): [True: 2.81k, False: 0]
  ------------------
  140|  2.81k|                storage = q;
  141|  2.81k|            } else {
  142|      0|                byte_alloc.deallocate(ptr, len);
  143|      0|            }
  144|  2.81k|        }
  145|       |
  146|  2.81k|        if (storage == nullptr) {
  ------------------
  |  Branch (146:13): [True: 0, False: 2.81k]
  ------------------
  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|  2.81k|        heap_string_type* ps = new(storage)heap_string_type(extra, byte_alloc);
  155|       |
  156|  2.81k|        auto psa = launder_cast<storage_t*>(storage);
  157|       |
  158|  2.81k|        CharT* p = new(&psa->c)char_type[length + 1];
  159|  2.81k|        std::memcpy(p, s, length*sizeof(char_type));
  160|  2.81k|        p[length] = 0;
  161|  2.81k|        ps->p_ = std::pointer_traits<typename heap_string_type::pointer>::pointer_to(*p);
  162|  2.81k|        ps->length_ = length;
  163|  2.81k|        ps->offset_ = (uint8_t)(storage - q);
  164|  2.81k|        ps->align_pad_ = align_pad;
  165|  2.81k|        return std::pointer_traits<pointer>::pointer_to(*ps);
  166|  2.81k|    }
_ZN8jsoncons4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEC2ES2_RKS5_:
   69|  2.81k|        : heap_string_base<Extra,Allocator>(extra, alloc)
   70|  2.81k|    {
   71|  2.81k|    }
_ZN8jsoncons4heap16heap_string_baseINS_9null_typeENSt3__19allocatorIcEEEC2ERKS2_RKS5_:
   45|  2.81k|        : extra_(extra), alloc_(alloc)
   46|  2.81k|    {
   47|  2.81k|    }

_ZN8jsoncons9is_base10IhEEbPKT_m:
  187|  1.22k|{
  188|  1.22k|    integer_chars_state state = integer_chars_state::initial;
  189|       |
  190|  1.22k|    const CharT* end = s + length; 
  191|  2.48k|    for (;s < end; ++s)
  ------------------
  |  Branch (191:11): [True: 2.39k, False: 92]
  ------------------
  192|  2.39k|    {
  193|  2.39k|        switch(state)
  194|  2.39k|        {
  195|  1.20k|            case integer_chars_state::initial:
  ------------------
  |  Branch (195:13): [True: 1.20k, False: 1.19k]
  ------------------
  196|  1.20k|            {
  197|  1.20k|                switch(*s)
  198|  1.20k|                {
  199|    608|                    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.01k]
  |  Branch (199:30): [True: 108, False: 1.09k]
  |  Branch (199:39): [True: 98, False: 1.10k]
  |  Branch (199:48): [True: 59, False: 1.14k]
  |  Branch (199:57): [True: 0, False: 1.20k]
  |  Branch (199:66): [True: 2, False: 1.20k]
  |  Branch (199:75): [True: 32, False: 1.17k]
  |  Branch (199:84): [True: 116, False: 1.08k]
  |  Branch (199:93): [True: 0, False: 1.20k]
  |  Branch (199:103): [True: 2, False: 1.20k]
  ------------------
  200|    608|                        state = integer_chars_state::decimal;
  201|    608|                        break;
  202|     46|                    case '-':
  ------------------
  |  Branch (202:21): [True: 46, False: 1.15k]
  ------------------
  203|     46|                        state = integer_chars_state::minus;
  204|     46|                        break;
  205|    551|                    default:
  ------------------
  |  Branch (205:21): [True: 551, False: 654]
  ------------------
  206|    551|                        return false;
  207|  1.20k|                }
  208|    654|                break;
  209|  1.20k|            }
  210|    654|            case integer_chars_state::minus:
  ------------------
  |  Branch (210:13): [True: 46, False: 2.35k]
  ------------------
  211|     46|            {
  212|     46|                switch(*s)
  213|     46|                {
  214|     37|                    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: 33]
  |  Branch (214:30): [True: 17, False: 29]
  |  Branch (214:39): [True: 1, False: 45]
  |  Branch (214:48): [True: 0, False: 46]
  |  Branch (214:57): [True: 0, False: 46]
  |  Branch (214:66): [True: 0, False: 46]
  |  Branch (214:75): [True: 0, False: 46]
  |  Branch (214:84): [True: 6, False: 40]
  |  Branch (214:93): [True: 0, False: 46]
  |  Branch (214:103): [True: 0, False: 46]
  ------------------
  215|     37|                        state = integer_chars_state::decimal;
  216|     37|                        break;
  217|      9|                    default:
  ------------------
  |  Branch (217:21): [True: 9, False: 37]
  ------------------
  218|      9|                        return false;
  219|     46|                }
  220|     37|                break;
  221|     46|            }
  222|  1.14k|            case integer_chars_state::decimal:
  ------------------
  |  Branch (222:13): [True: 1.14k, False: 1.25k]
  ------------------
  223|  1.14k|            {
  224|  1.14k|                switch(*s)
  225|  1.14k|                {
  226|    573|                    case '0':case '1':case '2':case '3':case '4':case '5':case '6':case '7':case '8': case '9':
  ------------------
  |  Branch (226:21): [True: 57, False: 1.08k]
  |  Branch (226:30): [True: 43, False: 1.10k]
  |  Branch (226:39): [True: 47, False: 1.09k]
  |  Branch (226:48): [True: 41, False: 1.10k]
  |  Branch (226:57): [True: 82, False: 1.06k]
  |  Branch (226:66): [True: 0, False: 1.14k]
  |  Branch (226:75): [True: 100, False: 1.04k]
  |  Branch (226:84): [True: 82, False: 1.06k]
  |  Branch (226:93): [True: 105, False: 1.04k]
  |  Branch (226:103): [True: 16, False: 1.12k]
  ------------------
  227|    573|                        break;
  228|    572|                    default:
  ------------------
  |  Branch (228:21): [True: 572, False: 573]
  ------------------
  229|    572|                        return false;
  230|  1.14k|                }
  231|    573|                break;
  232|  1.14k|            }
  233|    573|            default:
  ------------------
  |  Branch (233:13): [True: 0, False: 2.39k]
  ------------------
  234|      0|                break;
  235|  2.39k|        }
  236|  2.39k|    }
  237|     92|    return state == integer_chars_state::decimal ? true : false;
  ------------------
  |  Branch (237:12): [True: 73, False: 19]
  ------------------
  238|  1.22k|}

_ZN8jsoncons14unicode_traits8validateIhEENSt3__19enable_ifIXsr6nonstd8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  8.88M|    {
 1148|  8.88M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  8.88M|        const uint8_t* end = it + length;
 1150|       |
 1151|  8.88M|        unicode_errc  result{};
 1152|  13.8M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 4.99M, False: 8.88M]
  ------------------
 1153|  4.99M|        {
 1154|  4.99M|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 1.64M, False: 3.34M]
  ------------------
 1155|  1.64M|            {
 1156|  11.4M|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  326|  3.29M|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (326:32): [True: 1.64M, False: 282]
  |  |  |  Branch (326:34): [True: 1.64M, False: 1.87k]
  |  |  |  Branch (326:36): [True: 1.64M, False: 1.27k]
  |  |  |  Branch (326:38): [True: 1.64M, False: 3.49k]
  |  |  |  Branch (326:40): [True: 1.64M, False: 939]
  |  |  |  Branch (326:42): [True: 1.63M, False: 458]
  |  |  |  Branch (326:44): [True: 1.63M, False: 1.06k]
  |  |  |  Branch (326:46): [True: 1.63M, False: 731]
  |  |  ------------------
  ------------------
 1157|  1.63M|                continue;
 1158|  11.4M|            }
 1159|  3.35M|    non_ascii:
 1160|  3.35M|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  3.35M|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 4, False: 3.35M]
  ------------------
 1162|      4|            {
 1163|      4|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|      4|            }
 1165|  3.35M|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 33, False: 3.35M]
  ------------------
 1166|     33|            {
 1167|     33|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|     33|            }
 1169|  3.35M|            it += len;
 1170|  3.35M|        }
 1171|  8.88M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  8.88M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  3.35M|    {
  306|  3.35M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  3.35M|        const uint8_t* end = it+length;
  308|       |
  309|  3.35M|        uint8_t byte;
  310|  3.35M|        switch (length) {
  311|     12|        default:
  ------------------
  |  Branch (311:9): [True: 12, False: 3.35M]
  ------------------
  312|     12|            return unicode_errc::over_long_utf8_sequence;
  313|  5.10k|        case 4:
  ------------------
  |  Branch (313:9): [True: 5.10k, False: 3.34M]
  ------------------
  314|  5.10k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 2, False: 5.10k]
  ------------------
  315|      2|                return unicode_errc::bad_continuation_byte;
  316|  5.10k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|  5.10k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  7.71k|        case 3:
  ------------------
  |  Branch (317:9): [True: 2.60k, False: 3.35M]
  ------------------
  318|  7.71k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 1, False: 7.71k]
  ------------------
  319|      1|                return unicode_errc::bad_continuation_byte;
  320|  7.71k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|  7.71k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  10.1k|        case 2:
  ------------------
  |  Branch (321:9): [True: 2.39k, False: 3.35M]
  ------------------
  322|  10.1k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 3, False: 10.1k]
  ------------------
  323|      3|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  10.1k|            switch (*it) 
  326|  10.1k|            {
  327|       |                // no fall-through in this inner switch
  328|    154|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 154, False: 9.95k]
  |  Branch (328:32): [True: 0, False: 154]
  ------------------
  329|    154|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 11, False: 10.0k]
  |  Branch (329:32): [True: 0, False: 11]
  ------------------
  330|  2.06k|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 2.06k, False: 8.04k]
  |  Branch (330:32): [True: 0, False: 2.06k]
  ------------------
  331|  2.65k|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 2.65k, False: 7.45k]
  |  Branch (331:32): [True: 0, False: 2.65k]
  ------------------
  332|  5.22k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 5.22k, False: 4.88k]
  |  Branch (332:32): [True: 0, False: 5.22k]
  ------------------
  333|  10.1k|            }
  334|       |
  335|  10.1k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|  10.1k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  3.35M|        case 1:
  ------------------
  |  Branch (336:9): [True: 3.34M, False: 10.1k]
  ------------------
  337|  3.35M|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 10.1k, False: 3.34M]
  |  Branch (337:32): [True: 15, False: 10.1k]
  ------------------
  338|     15|                return unicode_errc::source_illegal;
  339|  3.35M|            break;
  340|  3.35M|        }
  341|  3.35M|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 0, False: 3.35M]
  ------------------
  342|      0|            return unicode_errc::source_illegal;
  343|       |
  344|  3.35M|        return unicode_errc();
  345|  3.35M|    }

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

_ZN8jsoncons6ubjson15make_error_codeENS0_11ubjson_errcE:
   96|    573|{
   97|    573|    return std::error_code(static_cast<int>(e),ubjson_error_category());
   98|    573|}
_ZN8jsoncons6ubjson21ubjson_error_categoryEv:
   89|    573|{
   90|    573|  static ubjson_error_category_impl instance;
   91|    573|  return instance;
   92|    573|}
_ZNK8jsoncons6ubjson26ubjson_error_category_impl7messageEi:
   48|    516|    {
   49|    516|        switch (static_cast<ubjson_errc>(ev))
   50|    516|        {
   51|    334|            case ubjson_errc::unexpected_eof:
  ------------------
  |  Branch (51:13): [True: 334, False: 182]
  ------------------
   52|    334|                return "Unexpected end of file";
   53|      0|            case ubjson_errc::source_error:
  ------------------
  |  Branch (53:13): [True: 0, False: 516]
  ------------------
   54|      0|                return "Source error";
   55|      2|            case ubjson_errc::count_required_after_type:
  ------------------
  |  Branch (55:13): [True: 2, False: 514]
  ------------------
   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: 516]
  ------------------
   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: 513]
  ------------------
   60|      3|                return "Length must be a integer numeric type (int8, uint8, int16, int32, int64)";
   61|     77|            case ubjson_errc::unknown_type:
  ------------------
  |  Branch (61:13): [True: 77, False: 439]
  ------------------
   62|     77|                return "Unknown type";
   63|     37|            case ubjson_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (63:13): [True: 37, False: 479]
  ------------------
   64|     37|                return "Illegal UTF-8 encoding in text string";
   65|      0|            case ubjson_errc::too_many_items:
  ------------------
  |  Branch (65:13): [True: 0, False: 516]
  ------------------
   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: 516]
  ------------------
   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: 516]
  ------------------
   70|      0|                return "Number exceeds implementation limits";
   71|      0|            case ubjson_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (71:13): [True: 0, False: 516]
  ------------------
   72|      0|                return "Data item nesting exceeds limit in options";
   73|      0|            case ubjson_errc::unmatched_end_object:
  ------------------
  |  Branch (73:13): [True: 0, False: 516]
  ------------------
   74|      0|                return "Unmatched end object";
   75|      0|            case ubjson_errc::unmatched_end_array:
  ------------------
  |  Branch (75:13): [True: 0, False: 516]
  ------------------
   76|      0|                return "Unmatched end array";
   77|     57|            case ubjson_errc::key_expected:
  ------------------
  |  Branch (77:13): [True: 57, False: 459]
  ------------------
   78|     57|                return "Text string key in a map expected";
   79|      6|            case ubjson_errc::max_items_exceeded:
  ------------------
  |  Branch (79:13): [True: 6, False: 510]
  ------------------
   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: 516]
  ------------------
   82|      0|                return "Unknown UBJSON parser error";
   83|    516|        }
   84|    516|    }

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

_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_21ubjson_decode_optionsERKS7_:
   79|    642|       : source_(std::forward<Sourceable>(source)), 
   80|    642|         max_nesting_depth_(options.max_nesting_depth()),
   81|    642|         max_items_(options.max_items()),
   82|    642|         text_buffer_(alloc),
   83|    642|         state_stack_(alloc)
   84|    642|    {
   85|    642|        state_stack_.emplace_back(parse_mode::root,0);
   86|    642|    }
_ZN8jsoncons6ubjson11parse_stateC2ENS0_10parse_modeEmh:
   45|  7.38M|        : mode(mode), length(length), type(type)
   46|  7.38M|    {
   47|  7.38M|    }
_ZNK8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  141|    516|    {
  142|    516|        return 0;
  143|    516|    }
_ZNK8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  146|    516|    {
  147|    516|        return source_.position();
  148|    516|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
   94|    642|    {
   95|    642|        more_ = true;
   96|    642|        done_ = false;
   97|    642|        text_buffer_.clear();
   98|    642|        state_stack_.clear();
   99|    642|        state_stack_.emplace_back(parse_mode::root,0,uint8_t(0));
  100|    642|        nesting_depth_ = 0;
  101|    642|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  151|    642|    {
  152|  50.2M|        while (!done_ && more_)
  ------------------
  |  Branch (152:16): [True: 50.2M, False: 126]
  |  Branch (152:26): [True: 50.2M, False: 0]
  ------------------
  153|  50.2M|        {
  154|  50.2M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (154:21): [True: 50.2M, False: 0]
  ------------------
  155|  50.2M|            {
  156|  89.3k|                case parse_mode::array:
  ------------------
  |  Branch (156:17): [True: 89.3k, False: 50.2M]
  ------------------
  157|  89.3k|                {
  158|  89.3k|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (158:25): [True: 75.3k, False: 13.9k]
  ------------------
  159|  75.3k|                    {
  160|  75.3k|                        ++state_stack_.back().index;
  161|  75.3k|                        read_type_and_value(visitor, ec);
  162|  75.3k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  75.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2, False: 75.3k]
  |  |  ------------------
  ------------------
  163|      2|                        {
  164|      2|                            return;
  165|      2|                        }
  166|  75.3k|                    }
  167|  13.9k|                    else
  168|  13.9k|                    {
  169|  13.9k|                        end_array(visitor, ec);
  170|  13.9k|                    }
  171|  89.3k|                    break;
  172|  89.3k|                }
  173|  14.3M|                case parse_mode::strongly_typed_array:
  ------------------
  |  Branch (173:17): [True: 14.3M, False: 35.9M]
  ------------------
  174|  14.3M|                {
  175|  14.3M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (175:25): [True: 14.3M, False: 6.25k]
  ------------------
  176|  14.3M|                    {
  177|  14.3M|                        ++state_stack_.back().index;
  178|  14.3M|                        read_value(visitor, state_stack_.back().type, ec);
  179|  14.3M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  14.3M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 83, False: 14.3M]
  |  |  ------------------
  ------------------
  180|     83|                        {
  181|     83|                            return;
  182|     83|                        }
  183|  14.3M|                    }
  184|  6.25k|                    else
  185|  6.25k|                    {
  186|  6.25k|                        end_array(visitor, ec);
  187|  6.25k|                    }
  188|  14.3M|                    break;
  189|  14.3M|                }
  190|  19.4M|                case parse_mode::indefinite_array:
  ------------------
  |  Branch (190:17): [True: 19.4M, False: 30.8M]
  ------------------
  191|  19.4M|                {
  192|  19.4M|                    auto c = source_.peek();
  193|  19.4M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  19.4M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 45, False: 19.4M]
  |  |  ------------------
  ------------------
  194|     45|                    {
  195|     45|                        ec = ubjson_errc::unexpected_eof;
  196|     45|                        more_ = false;
  197|     45|                        return;
  198|     45|                    }
  199|  19.4M|                    if (c.value == jsoncons::ubjson::ubjson_type::end_array_marker)
  ------------------
  |  Branch (199:25): [True: 2.75M, False: 16.6M]
  ------------------
  200|  2.75M|                    {
  201|  2.75M|                        source_.ignore(1);
  202|  2.75M|                        end_array(visitor, ec);
  203|  2.75M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.75M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.75M]
  |  |  ------------------
  ------------------
  204|      0|                        {
  205|      0|                            return;
  206|      0|                        }
  207|  2.75M|                    }
  208|  16.6M|                    else
  209|  16.6M|                    {
  210|  16.6M|                        if (++state_stack_.back().index > max_items_)
  ------------------
  |  Branch (210:29): [True: 0, False: 16.6M]
  ------------------
  211|      0|                        {
  212|      0|                            ec = ubjson_errc::max_items_exceeded;
  213|      0|                            more_ = false;
  214|      0|                            return;
  215|      0|                        }
  216|  16.6M|                        read_type_and_value(visitor, ec);
  217|  16.6M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  16.6M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 165, False: 16.6M]
  |  |  ------------------
  ------------------
  218|    165|                        {
  219|    165|                            return;
  220|    165|                        }
  221|  16.6M|                    }
  222|  19.4M|                    break;
  223|  19.4M|                }
  224|  19.4M|                case parse_mode::map_key:
  ------------------
  |  Branch (224:17): [True: 32.0k, False: 50.2M]
  ------------------
  225|  32.0k|                {
  226|  32.0k|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (226:25): [True: 24.1k, False: 7.88k]
  ------------------
  227|  24.1k|                    {
  228|  24.1k|                        ++state_stack_.back().index;
  229|  24.1k|                        read_key(visitor, ec);
  230|  24.1k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  24.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 9, False: 24.1k]
  |  |  ------------------
  ------------------
  231|      9|                        {
  232|      9|                            return;
  233|      9|                        }
  234|  24.1k|                        state_stack_.back().mode = parse_mode::map_value;
  235|  24.1k|                    }
  236|  7.88k|                    else
  237|  7.88k|                    {
  238|  7.88k|                        end_object(visitor, ec);
  239|  7.88k|                    }
  240|  32.0k|                    break;
  241|  32.0k|                }
  242|  32.0k|                case parse_mode::map_value:
  ------------------
  |  Branch (242:17): [True: 24.1k, False: 50.2M]
  ------------------
  243|  24.1k|                {
  244|  24.1k|                    state_stack_.back().mode = parse_mode::map_key;
  245|  24.1k|                    read_type_and_value(visitor, ec);
  246|  24.1k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  24.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 3, False: 24.1k]
  |  |  ------------------
  ------------------
  247|      3|                    {
  248|      3|                        return;
  249|      3|                    }
  250|  24.1k|                    break;
  251|  24.1k|                }
  252|   206k|                case parse_mode::strongly_typed_map_key:
  ------------------
  |  Branch (252:17): [True: 206k, False: 50.0M]
  ------------------
  253|   206k|                {
  254|   206k|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (254:25): [True: 170k, False: 35.7k]
  ------------------
  255|   170k|                    {
  256|   170k|                        ++state_stack_.back().index;
  257|   170k|                        read_key(visitor, ec);
  258|   170k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   170k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 13, False: 170k]
  |  |  ------------------
  ------------------
  259|     13|                        {
  260|     13|                            return;
  261|     13|                        }
  262|   170k|                        state_stack_.back().mode = parse_mode::strongly_typed_map_value;
  263|   170k|                    }
  264|  35.7k|                    else
  265|  35.7k|                    {
  266|  35.7k|                        end_object(visitor, ec);
  267|  35.7k|                    }
  268|   206k|                    break;
  269|   206k|                }
  270|   206k|                case parse_mode::strongly_typed_map_value:
  ------------------
  |  Branch (270:17): [True: 170k, False: 50.1M]
  ------------------
  271|   170k|                {
  272|   170k|                    state_stack_.back().mode = parse_mode::strongly_typed_map_key;
  273|   170k|                    read_value(visitor, state_stack_.back().type, ec);
  274|   170k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   170k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 170k]
  |  |  ------------------
  ------------------
  275|      0|                    {
  276|      0|                        return;
  277|      0|                    }
  278|   170k|                    break;
  279|   170k|                }
  280|  10.2M|                case parse_mode::indefinite_map_key:
  ------------------
  |  Branch (280:17): [True: 10.2M, False: 40.0M]
  ------------------
  281|  10.2M|                {
  282|  10.2M|                    auto c = source_.peek();
  283|  10.2M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  10.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 7, False: 10.2M]
  |  |  ------------------
  ------------------
  284|      7|                    {
  285|      7|                        ec = ubjson_errc::unexpected_eof;
  286|      7|                        more_ = false;
  287|      7|                        return;
  288|      7|                    }
  289|  10.2M|                    if (c.value == jsoncons::ubjson::ubjson_type::end_object_marker)
  ------------------
  |  Branch (289:25): [True: 4.51M, False: 5.75M]
  ------------------
  290|  4.51M|                    {
  291|  4.51M|                        source_.ignore(1);
  292|  4.51M|                        end_object(visitor, ec);
  293|  4.51M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  4.51M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 4.51M]
  |  |  ------------------
  ------------------
  294|      0|                        {
  295|      0|                            return;
  296|      0|                        }
  297|  4.51M|                    }
  298|  5.75M|                    else
  299|  5.75M|                    {
  300|  5.75M|                        if (++state_stack_.back().index > max_items_)
  ------------------
  |  Branch (300:29): [True: 0, False: 5.75M]
  ------------------
  301|      0|                        {
  302|      0|                            ec = ubjson_errc::max_items_exceeded;
  303|      0|                            more_ = false;
  304|      0|                            return;
  305|      0|                        }
  306|  5.75M|                        read_key(visitor, ec);
  307|  5.75M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  5.75M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 125, False: 5.75M]
  |  |  ------------------
  ------------------
  308|    125|                        {
  309|    125|                            return;
  310|    125|                        }
  311|  5.75M|                        state_stack_.back().mode = parse_mode::indefinite_map_value;
  312|  5.75M|                    }
  313|  10.2M|                    break;
  314|  10.2M|                }
  315|  10.2M|                case parse_mode::indefinite_map_value:
  ------------------
  |  Branch (315:17): [True: 5.75M, False: 44.5M]
  ------------------
  316|  5.75M|                {
  317|  5.75M|                    state_stack_.back().mode = parse_mode::indefinite_map_key;
  318|  5.75M|                    read_type_and_value(visitor, ec);
  319|  5.75M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  5.75M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 37, False: 5.75M]
  |  |  ------------------
  ------------------
  320|     37|                    {
  321|     37|                        return;
  322|     37|                    }
  323|  5.75M|                    break;
  324|  5.75M|                }
  325|  5.75M|                case parse_mode::root:
  ------------------
  |  Branch (325:17): [True: 642, False: 50.2M]
  ------------------
  326|    642|                {
  327|    642|                    state_stack_.back().mode = parse_mode::accept;
  328|    642|                    read_type_and_value(visitor, ec);
  329|    642|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|    642|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 27, False: 615]
  |  |  ------------------
  ------------------
  330|     27|                    {
  331|     27|                        return;
  332|     27|                    }
  333|    615|                    break;
  334|    642|                }
  335|    615|                case parse_mode::accept:
  ------------------
  |  Branch (335:17): [True: 126, False: 50.2M]
  ------------------
  336|    126|                {
  337|    126|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   54|    126|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 126]
  |  |  ------------------
  |  |   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|    126|                    state_stack_.clear();
  339|    126|                    more_ = false;
  340|    126|                    done_ = true;
  341|    126|                    visitor.flush();
  342|    126|                    break;
  343|    126|                }
  344|  50.2M|            }
  345|  50.2M|        }
  346|    642|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE19read_type_and_valueERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  349|  22.5M|    {
  350|  22.5M|        if (source_.is_error())
  ------------------
  |  Branch (350:13): [True: 0, False: 22.5M]
  ------------------
  351|      0|        {
  352|      0|            ec = ubjson_errc::source_error;
  353|      0|            more_ = false;
  354|      0|            return;
  355|      0|        }   
  356|       |
  357|  22.5M|        uint8_t b;
  358|  22.5M|        if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (358:13): [True: 11, False: 22.5M]
  ------------------
  359|     11|        {
  360|     11|            ec = ubjson_errc::unexpected_eof;
  361|     11|            more_ = false;
  362|     11|            return;
  363|     11|        }
  364|  22.5M|        read_value(visitor, b, ec);
  365|  22.5M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  671|  2.77M|    {
  672|  2.77M|        --nesting_depth_;
  673|       |
  674|  2.77M|        visitor.end_array(*this, ec);
  675|  2.77M|        more_ = !cursor_mode_;
  676|  2.77M|        if (level() == mark_level_)
  ------------------
  |  Branch (676:13): [True: 0, False: 2.77M]
  ------------------
  677|      0|        {
  678|      0|            more_ = false;
  679|      0|        }
  680|  2.77M|        state_stack_.pop_back();
  681|  2.77M|    }
_ZNK8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5levelEv:
  116|  7.33M|    {
  117|  7.33M|        return static_cast<int>(state_stack_.size());
  118|  7.33M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10read_valueERNS_18basic_json_visitorIcEEhRNS3_10error_codeE:
  368|  37.0M|    {
  369|  37.0M|        switch (type)
  370|  37.0M|        {
  371|  13.2M|            case jsoncons::ubjson::ubjson_type::null_type: 
  ------------------
  |  Branch (371:13): [True: 13.2M, False: 23.7M]
  ------------------
  372|  13.2M|            {
  373|  13.2M|                visitor.null_value(semantic_tag::none, *this, ec);
  374|  13.2M|                more_ = !cursor_mode_;
  375|  13.2M|                break;
  376|      0|            }
  377|  50.5k|            case jsoncons::ubjson::ubjson_type::no_op_type: 
  ------------------
  |  Branch (377:13): [True: 50.5k, False: 36.9M]
  ------------------
  378|  50.5k|            {
  379|  50.5k|                break;
  380|      0|            }
  381|  5.43M|            case jsoncons::ubjson::ubjson_type::true_type:
  ------------------
  |  Branch (381:13): [True: 5.43M, False: 31.5M]
  ------------------
  382|  5.43M|            {
  383|  5.43M|                visitor.bool_value(true, semantic_tag::none, *this, ec);
  384|  5.43M|                more_ = !cursor_mode_;
  385|  5.43M|                break;
  386|      0|            }
  387|  3.27M|            case jsoncons::ubjson::ubjson_type::false_type:
  ------------------
  |  Branch (387:13): [True: 3.27M, False: 33.7M]
  ------------------
  388|  3.27M|            {
  389|  3.27M|                visitor.bool_value(false, semantic_tag::none, *this, ec);
  390|  3.27M|                more_ = !cursor_mode_;
  391|  3.27M|                break;
  392|      0|            }
  393|  2.29M|            case jsoncons::ubjson::ubjson_type::int8_type: 
  ------------------
  |  Branch (393:13): [True: 2.29M, False: 34.7M]
  ------------------
  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.12M|            case jsoncons::ubjson::ubjson_type::uint8_type: 
  ------------------
  |  Branch (407:13): [True: 2.12M, False: 34.8M]
  ------------------
  408|  2.12M|            {
  409|  2.12M|                uint8_t b;
  410|  2.12M|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (410:21): [True: 13, False: 2.12M]
  ------------------
  411|     13|                {
  412|     13|                    ec = ubjson_errc::unexpected_eof;
  413|     13|                    more_ = false;
  414|     13|                    return;
  415|     13|                }
  416|  2.12M|                visitor.uint64_value(b, semantic_tag::none, *this, ec);
  417|  2.12M|                more_ = !cursor_mode_;
  418|  2.12M|                break;
  419|  2.12M|            }
  420|  30.8k|            case jsoncons::ubjson::ubjson_type::int16_type: 
  ------------------
  |  Branch (420:13): [True: 30.8k, False: 36.9M]
  ------------------
  421|  30.8k|            {
  422|  30.8k|                uint8_t buf[sizeof(int16_t)];
  423|  30.8k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (423:21): [True: 0, False: 30.8k]
  ------------------
  424|      0|                {
  425|      0|                    ec = ubjson_errc::unexpected_eof;
  426|      0|                    more_ = false;
  427|      0|                    return;
  428|      0|                }
  429|  30.8k|                int16_t val = binary::big_to_native<int16_t>(buf, sizeof(buf));
  430|  30.8k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  431|  30.8k|                more_ = !cursor_mode_;
  432|  30.8k|                break;
  433|  30.8k|            }
  434|  13.0k|            case jsoncons::ubjson::ubjson_type::int32_type: 
  ------------------
  |  Branch (434:13): [True: 13.0k, False: 37.0M]
  ------------------
  435|  13.0k|            {
  436|  13.0k|                uint8_t buf[sizeof(int32_t)];
  437|  13.0k|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (437:21): [True: 0, False: 13.0k]
  ------------------
  438|      0|                {
  439|      0|                    ec = ubjson_errc::unexpected_eof;
  440|      0|                    more_ = false;
  441|      0|                    return;
  442|      0|                }
  443|  13.0k|                int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  444|  13.0k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  445|  13.0k|                more_ = !cursor_mode_;
  446|  13.0k|                break;
  447|  13.0k|            }
  448|  5.42k|            case jsoncons::ubjson::ubjson_type::int64_type: 
  ------------------
  |  Branch (448:13): [True: 5.42k, False: 37.0M]
  ------------------
  449|  5.42k|            {
  450|  5.42k|                uint8_t buf[sizeof(int64_t)];
  451|  5.42k|                if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (451:21): [True: 2, False: 5.41k]
  ------------------
  452|      2|                {
  453|      2|                    ec = ubjson_errc::unexpected_eof;
  454|      2|                    more_ = false;
  455|      2|                    return;
  456|      2|                }
  457|  5.41k|                int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  458|  5.41k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  459|  5.41k|                more_ = !cursor_mode_;
  460|  5.41k|                break;
  461|  5.42k|            }
  462|   178k|            case jsoncons::ubjson::ubjson_type::float32_type: 
  ------------------
  |  Branch (462:13): [True: 178k, False: 36.8M]
  ------------------
  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.9M]
  ------------------
  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|  2.93M|            case jsoncons::ubjson::ubjson_type::char_type: 
  ------------------
  |  Branch (490:13): [True: 2.93M, False: 34.0M]
  ------------------
  491|  2.93M|            {
  492|  2.93M|                uint8_t ch{};
  493|  2.93M|                if (source_.read(&ch, 1) != 1)
  ------------------
  |  Branch (493:21): [True: 5, False: 2.93M]
  ------------------
  494|      5|                {
  495|      5|                    ec = ubjson_errc::unexpected_eof;
  496|      5|                    more_ = false;
  497|      5|                    return;
  498|      5|                }
  499|  2.93M|                auto result = unicode_traits::validate(&ch, 1);
  500|  2.93M|                if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (500:21): [True: 4, False: 2.93M]
  ------------------
  501|      4|                {
  502|      4|                    ec = ubjson_errc::invalid_utf8_text_string;
  503|      4|                    more_ = false;
  504|      4|                    return;
  505|      4|                }
  506|  2.93M|                visitor.string_value(string_view(reinterpret_cast<const char*>(&ch), 1), semantic_tag::none, *this, ec);
  507|  2.93M|                more_ = !cursor_mode_;
  508|  2.93M|                break;
  509|  2.93M|            }
  510|  2.00k|            case jsoncons::ubjson::ubjson_type::string_type: 
  ------------------
  |  Branch (510:13): [True: 2.00k, False: 37.0M]
  ------------------
  511|  2.00k|            {
  512|  2.00k|                std::size_t length = get_length(ec);
  513|  2.00k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.00k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.00k]
  |  |  ------------------
  ------------------
  514|      0|                {
  515|      0|                    return;
  516|      0|                }
  517|  2.00k|                auto data = source_.read_span(length, text_buffer_);
  518|  2.00k|                if (data.size() != length)
  ------------------
  |  Branch (518:21): [True: 9, False: 2.00k]
  ------------------
  519|      9|                {
  520|      9|                    ec = ubjson_errc::unexpected_eof;
  521|      9|                    more_ = false;
  522|      9|                    return;
  523|      9|                }
  524|  2.00k|                auto result = unicode_traits::validate(data.data(), data.size());
  525|  2.00k|                if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (525:21): [True: 7, False: 1.99k]
  ------------------
  526|      7|                {
  527|      7|                    ec = ubjson_errc::invalid_utf8_text_string;
  528|      7|                    more_ = false;
  529|      7|                    return;
  530|      7|                }
  531|  1.99k|                visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  532|  1.99k|                    semantic_tag::none, *this, ec);
  533|  1.99k|                more_ = !cursor_mode_;
  534|  1.99k|                break;
  535|  2.00k|            }
  536|  1.31k|            case jsoncons::ubjson::ubjson_type::high_precision_number_type: 
  ------------------
  |  Branch (536:13): [True: 1.31k, False: 37.0M]
  ------------------
  537|  1.31k|            {
  538|  1.31k|                std::size_t length = get_length(ec);
  539|  1.31k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  1.31k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1, False: 1.31k]
  |  |  ------------------
  ------------------
  540|      1|                {
  541|      1|                    return;
  542|      1|                }
  543|  1.31k|                auto data = source_.read_span(length, text_buffer_);
  544|  1.31k|                if (data.size() != length)
  ------------------
  |  Branch (544:21): [True: 94, False: 1.22k]
  ------------------
  545|     94|                {
  546|     94|                    ec = ubjson_errc::unexpected_eof;
  547|     94|                    more_ = false;
  548|     94|                    return;
  549|     94|                }
  550|  1.22k|                if (jsoncons::is_base10(data.data(), data.size()))
  ------------------
  |  Branch (550:21): [True: 73, False: 1.15k]
  ------------------
  551|     73|                {
  552|     73|                    visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()), data.size()), 
  553|     73|                        semantic_tag::bigint, *this, ec);
  554|     73|                    more_ = !cursor_mode_;
  555|     73|                }
  556|  1.15k|                else
  557|  1.15k|                {
  558|  1.15k|                    visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()), data.size()), 
  559|  1.15k|                        semantic_tag::bigdec, *this, ec);
  560|  1.15k|                    more_ = !cursor_mode_;
  561|  1.15k|                }
  562|  1.22k|                break;
  563|  1.31k|            }
  564|  2.83M|            case jsoncons::ubjson::ubjson_type::start_array_marker: 
  ------------------
  |  Branch (564:13): [True: 2.83M, False: 34.1M]
  ------------------
  565|  2.83M|            {
  566|  2.83M|                begin_array(visitor,ec);
  567|  2.83M|                break;
  568|  1.31k|            }
  569|  4.55M|            case jsoncons::ubjson::ubjson_type::start_object_marker: 
  ------------------
  |  Branch (569:13): [True: 4.55M, False: 32.4M]
  ------------------
  570|  4.55M|            {
  571|  4.55M|                begin_object(visitor, ec);
  572|  4.55M|                break;
  573|  1.31k|            }
  574|     77|            default:
  ------------------
  |  Branch (574:13): [True: 77, False: 37.0M]
  ------------------
  575|     77|            {
  576|     77|                ec = ubjson_errc::unknown_type;
  577|     77|                break;
  578|  1.31k|            }
  579|  37.0M|        }
  580|  37.0M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  37.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 154, False: 37.0M]
  |  |  ------------------
  ------------------
  581|    154|        {
  582|    154|            more_ = false;
  583|    154|        }
  584|  37.0M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10get_lengthERNS3_10error_codeE:
  790|  6.02M|    {
  791|  6.02M|        std::size_t length = 0;
  792|  6.02M|        uint8_t type;
  793|  6.02M|        if (source_.read(&type, 1) == 0)
  ------------------
  |  Branch (793:13): [True: 15, False: 6.02M]
  ------------------
  794|     15|        {
  795|     15|            ec = ubjson_errc::unexpected_eof;
  796|     15|            more_ = false;
  797|     15|            return length;
  798|     15|        }
  799|  6.02M|        switch (type)
  800|  6.02M|        {
  801|   218k|            case jsoncons::ubjson::ubjson_type::int8_type: 
  ------------------
  |  Branch (801:13): [True: 218k, False: 5.80M]
  ------------------
  802|   218k|            {
  803|   218k|                uint8_t buf[sizeof(int8_t)];
  804|   218k|                if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (804:21): [True: 1, False: 218k]
  ------------------
  805|      1|                {
  806|      1|                    ec = ubjson_errc::unexpected_eof;
  807|      1|                    more_ = false;
  808|      1|                    return length;
  809|      1|                }
  810|   218k|                int8_t val = binary::big_to_native<int8_t>(buf, sizeof(buf));
  811|   218k|                if (val >= 0)
  ------------------
  |  Branch (811:21): [True: 218k, False: 0]
  ------------------
  812|   218k|                {
  813|   218k|                    length = val;
  814|   218k|                }
  815|      0|                else
  816|      0|                {
  817|      0|                    ec = ubjson_errc::length_is_negative;
  818|      0|                    more_ = false;
  819|      0|                    return length;
  820|      0|                }
  821|   218k|                break;
  822|   218k|            }
  823|  5.79M|            case jsoncons::ubjson::ubjson_type::uint8_type: 
  ------------------
  |  Branch (823:13): [True: 5.79M, False: 223k]
  ------------------
  824|  5.79M|            {
  825|  5.79M|                uint8_t b;
  826|  5.79M|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (826:21): [True: 1, False: 5.79M]
  ------------------
  827|      1|                {
  828|      1|                    ec = ubjson_errc::unexpected_eof;
  829|      1|                    more_ = false;
  830|      1|                    return length;
  831|      1|                }
  832|  5.79M|                length = b;
  833|  5.79M|                break;
  834|  5.79M|            }
  835|  3.85k|            case jsoncons::ubjson::ubjson_type::int16_type: 
  ------------------
  |  Branch (835:13): [True: 3.85k, False: 6.01M]
  ------------------
  836|  3.85k|            {
  837|  3.85k|                uint8_t buf[sizeof(int16_t)];
  838|  3.85k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (838:21): [True: 0, False: 3.85k]
  ------------------
  839|      0|                {
  840|      0|                    ec = ubjson_errc::unexpected_eof;
  841|      0|                    more_ = false;
  842|      0|                    return length;
  843|      0|                }
  844|  3.85k|                int16_t val = binary::big_to_native<int16_t>(buf, sizeof(buf));
  845|  3.85k|                if (val >= 0)
  ------------------
  |  Branch (845:21): [True: 3.85k, False: 0]
  ------------------
  846|  3.85k|                {
  847|  3.85k|                    length = val;
  848|  3.85k|                }
  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.85k|                break;
  856|  3.85k|            }
  857|  3.85k|            case jsoncons::ubjson::ubjson_type::int32_type: 
  ------------------
  |  Branch (857:13): [True: 412, False: 6.02M]
  ------------------
  858|    412|            {
  859|    412|                uint8_t buf[sizeof(int32_t)];
  860|    412|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (860:21): [True: 0, False: 412]
  ------------------
  861|      0|                {
  862|      0|                    ec = ubjson_errc::unexpected_eof;
  863|      0|                    more_ = false;
  864|      0|                    return length;
  865|      0|                }
  866|    412|                int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  867|    412|                if (val >= 0)
  ------------------
  |  Branch (867:21): [True: 412, False: 0]
  ------------------
  868|    412|                {
  869|    412|                    length = static_cast<std::size_t>(val);
  870|    412|                }
  871|      0|                else
  872|      0|                {
  873|      0|                    ec = ubjson_errc::length_is_negative;
  874|      0|                    more_ = false;
  875|      0|                    return length;
  876|      0|                }
  877|    412|                break;
  878|    412|            }
  879|    412|            case jsoncons::ubjson::ubjson_type::int64_type: 
  ------------------
  |  Branch (879:13): [True: 165, False: 6.02M]
  ------------------
  880|    165|            {
  881|    165|                uint8_t buf[sizeof(int64_t)];
  882|    165|                if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (882:21): [True: 0, False: 165]
  ------------------
  883|      0|                {
  884|      0|                    ec = ubjson_errc::unexpected_eof;
  885|      0|                    more_ = false;
  886|      0|                    return length;
  887|      0|                }
  888|    165|                int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  889|    165|                if (val >= 0)
  ------------------
  |  Branch (889:21): [True: 165, False: 0]
  ------------------
  890|    165|                {
  891|    165|                    length = (std::size_t)val;
  892|    165|                    if (length != (uint64_t)val)
  ------------------
  |  Branch (892:25): [True: 0, False: 165]
  ------------------
  893|      0|                    {
  894|      0|                        ec = ubjson_errc::number_too_large;
  895|      0|                        more_ = false;
  896|      0|                        return length;
  897|      0|                    }
  898|    165|                }
  899|      0|                else
  900|      0|                {
  901|      0|                    ec = ubjson_errc::length_is_negative;
  902|      0|                    more_ = false;
  903|      0|                    return length;
  904|      0|                }
  905|    165|                break;
  906|    165|            }
  907|    165|            default:
  ------------------
  |  Branch (907:13): [True: 58, False: 6.02M]
  ------------------
  908|     58|            {
  909|     58|                ec = ubjson_errc::length_must_be_integer;
  910|     58|                more_ = false;
  911|     58|                return length;
  912|    165|            }
  913|  6.02M|        }
  914|  6.02M|        return length;
  915|  6.02M|    }
_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.82M]
  |  |  ------------------
  ------------------
  597|     14|        {
  598|     14|            ec = ubjson_errc::unexpected_eof;
  599|     14|            more_ = false;
  600|     14|            return;
  601|     14|        }
  602|  2.82M|        if (c.value == jsoncons::ubjson::ubjson_type::type_marker)
  ------------------
  |  Branch (602:13): [True: 12.1k, False: 2.81M]
  ------------------
  603|  12.1k|        {
  604|  12.1k|            source_.ignore(1);
  605|  12.1k|            uint8_t b;
  606|  12.1k|            if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (606:17): [True: 4, False: 12.1k]
  ------------------
  607|      4|            {
  608|      4|                ec = ubjson_errc::unexpected_eof;
  609|      4|                more_ = false;
  610|      4|                return;
  611|      4|            }
  612|  12.1k|            c = source_.peek();
  613|  12.1k|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  12.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 12.1k]
  |  |  ------------------
  ------------------
  614|      4|            {
  615|      4|                ec = ubjson_errc::unexpected_eof;
  616|      4|                more_ = false;
  617|      4|                return;
  618|      4|            }
  619|  12.1k|            if (c.value == jsoncons::ubjson::ubjson_type::count_marker)
  ------------------
  |  Branch (619:17): [True: 12.1k, False: 0]
  ------------------
  620|  12.1k|            {
  621|  12.1k|                source_.ignore(1);
  622|  12.1k|                std::size_t length = get_length(ec);
  623|  12.1k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  12.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 12.1k]
  |  |  ------------------
  ------------------
  624|      4|                {
  625|      4|                    return;
  626|      4|                }
  627|  12.1k|                if (length > max_items_)
  ------------------
  |  Branch (627:21): [True: 2, False: 12.1k]
  ------------------
  628|      2|                {
  629|      2|                    ec = ubjson_errc::max_items_exceeded;
  630|      2|                    more_ = false;
  631|      2|                    return;
  632|      2|                }
  633|  12.1k|                state_stack_.emplace_back(parse_mode::strongly_typed_array,length,b);
  634|  12.1k|                visitor.begin_array(length, semantic_tag::none, *this, ec);
  635|  12.1k|                more_ = !cursor_mode_;
  636|  12.1k|            }
  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.1k|        }
  644|  2.81M|        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.82M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12begin_objectERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  684|  4.55M|    {
  685|  4.55M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   79|  4.55M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 4.55M]
  |  |  ------------------
  ------------------
  686|      0|        {
  687|      0|            ec = ubjson_errc::max_nesting_depth_exceeded;
  688|      0|            more_ = false;
  689|      0|            return;
  690|      0|        } 
  691|       |
  692|  4.55M|        auto c = source_.peek();
  693|  4.55M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  4.55M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 22, False: 4.55M]
  |  |  ------------------
  ------------------
  694|     22|        {
  695|     22|            ec = ubjson_errc::unexpected_eof;
  696|     22|            more_ = false;
  697|     22|            return;
  698|     22|        }
  699|  4.55M|        if (c.value == jsoncons::ubjson::ubjson_type::type_marker)
  ------------------
  |  Branch (699:13): [True: 35.7k, False: 4.52M]
  ------------------
  700|  35.7k|        {
  701|  35.7k|            source_.ignore(1);
  702|  35.7k|            uint8_t b;
  703|  35.7k|            if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (703:17): [True: 5, False: 35.7k]
  ------------------
  704|      5|            {
  705|      5|                ec = ubjson_errc::unexpected_eof;
  706|      5|                more_ = false;
  707|      5|                return;
  708|      5|            }
  709|  35.7k|            c = source_.peek();
  710|  35.7k|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  35.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 3, False: 35.7k]
  |  |  ------------------
  ------------------
  711|      3|            {
  712|      3|                ec = ubjson_errc::unexpected_eof;
  713|      3|                more_ = false;
  714|      3|                return;
  715|      3|            }
  716|  35.7k|            if (c.value == jsoncons::ubjson::ubjson_type::count_marker)
  ------------------
  |  Branch (716:17): [True: 35.7k, False: 2]
  ------------------
  717|  35.7k|            {
  718|  35.7k|                source_.ignore(1);
  719|  35.7k|                std::size_t length = get_length(ec);
  720|  35.7k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  35.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 35.7k]
  |  |  ------------------
  ------------------
  721|      4|                {
  722|      4|                    return;
  723|      4|                }
  724|  35.7k|                if (length > max_items_)
  ------------------
  |  Branch (724:21): [True: 2, False: 35.7k]
  ------------------
  725|      2|                {
  726|      2|                    ec = ubjson_errc::max_items_exceeded;
  727|      2|                    more_ = false;
  728|      2|                    return;
  729|      2|                }
  730|  35.7k|                state_stack_.emplace_back(parse_mode::strongly_typed_map_key,length,b);
  731|  35.7k|                visitor.begin_object(length, semantic_tag::none, *this, ec);
  732|  35.7k|                more_ = !cursor_mode_;
  733|  35.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|  35.7k|        }
  741|  4.52M|        else
  742|  4.52M|        {
  743|  4.52M|            c = source_.peek();
  744|  4.52M|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  4.52M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 4.52M]
  |  |  ------------------
  ------------------
  745|      0|            {
  746|      0|                ec = ubjson_errc::unexpected_eof;
  747|      0|                more_ = false;
  748|      0|                return;
  749|      0|            }
  750|  4.52M|            if (c.value == jsoncons::ubjson::ubjson_type::count_marker)
  ------------------
  |  Branch (750:17): [True: 8.53k, False: 4.51M]
  ------------------
  751|  8.53k|            {
  752|  8.53k|                source_.ignore(1);
  753|  8.53k|                std::size_t length = get_length(ec);
  754|  8.53k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  8.53k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 8.53k]
  |  |  ------------------
  ------------------
  755|      4|                {
  756|      4|                    return;
  757|      4|                }
  758|  8.53k|                if (length > max_items_)
  ------------------
  |  Branch (758:21): [True: 2, False: 8.53k]
  ------------------
  759|      2|                {
  760|      2|                    ec = ubjson_errc::max_items_exceeded;
  761|      2|                    more_ = false;
  762|      2|                    return;
  763|      2|                }
  764|  8.53k|                state_stack_.emplace_back(parse_mode::map_key,length);
  765|  8.53k|                visitor.begin_object(length, semantic_tag::none, *this, ec);
  766|  8.53k|                more_ = !cursor_mode_;
  767|  8.53k|            }
  768|  4.51M|            else
  769|  4.51M|            {
  770|  4.51M|                state_stack_.emplace_back(parse_mode::indefinite_map_key,0);
  771|  4.51M|                visitor.begin_object(semantic_tag::none, *this, ec);
  772|  4.51M|                more_ = !cursor_mode_;
  773|  4.51M|            }
  774|  4.52M|        }
  775|  4.55M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE8read_keyERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  918|  5.94M|    {
  919|  5.94M|        std::size_t length = get_length(ec);
  920|  5.94M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  5.94M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 57, False: 5.94M]
  |  |  ------------------
  ------------------
  921|     57|        {
  922|     57|            ec = ubjson_errc::key_expected;
  923|     57|            more_ = false;
  924|     57|            return;
  925|     57|        }
  926|  5.94M|        auto data = source_.read_span(length, text_buffer_);
  927|  5.94M|        if (data.size() != length)
  ------------------
  |  Branch (927:13): [True: 64, False: 5.94M]
  ------------------
  928|     64|        {
  929|     64|            ec = ubjson_errc::unexpected_eof;
  930|     64|            more_ = false;
  931|     64|            return;
  932|     64|        }
  933|       |
  934|  5.94M|        auto result = unicode_traits::validate(data.data(), data.size());
  935|  5.94M|        if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (935:13): [True: 26, False: 5.94M]
  ------------------
  936|     26|        {
  937|     26|            ec = ubjson_errc::invalid_utf8_text_string;
  938|     26|            more_ = false;
  939|     26|            return;
  940|     26|        }
  941|  5.94M|        visitor.key(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  942|  5.94M|            *this, ec);
  943|  5.94M|        more_ = !cursor_mode_;
  944|  5.94M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10end_objectERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  778|  4.55M|    {
  779|  4.55M|        --nesting_depth_;
  780|  4.55M|        visitor.end_object(*this, ec);
  781|  4.55M|        more_ = !cursor_mode_;
  782|  4.55M|        if (level() == mark_level_)
  ------------------
  |  Branch (782:13): [True: 0, False: 4.55M]
  ------------------
  783|      0|        {
  784|      0|            more_ = false;
  785|      0|        }
  786|  4.55M|        state_stack_.pop_back();
  787|  4.55M|    }

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

