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

_ZNK8jsoncons16allocator_holderINSt3__19allocatorIcEEE13get_allocatorEv:
   30|   138k|    {
   31|   138k|        return alloc_;
   32|   138k|    }
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2ERKS3_:
   25|  11.0k|        : alloc_(alloc)
   26|  11.0k|        {}
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2Ev:
   20|  81.4k|    allocator_holder() = default;

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2774|  90.4M|        {
 2775|  90.4M|             destroy();
 2776|  90.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  898|  90.4M|        {
  899|  90.4M|            switch (storage_kind())
  900|  90.4M|            {
  901|  47.2k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (901:17): [True: 47.2k, False: 90.3M]
  ------------------
  902|  47.2k|                {
  903|  47.2k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (903:25): [True: 47.2k, False: 0]
  ------------------
  904|  47.2k|                    {
  905|  47.2k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  906|  47.2k|                    }
  907|  47.2k|                    break;
  908|      0|                }
  909|  73.4k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (909:17): [True: 73.4k, False: 90.3M]
  ------------------
  910|  73.4k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (910:25): [True: 73.4k, False: 0]
  ------------------
  911|  73.4k|                    {
  912|  73.4k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  913|  73.4k|                    }
  914|  73.4k|                    break;
  915|  41.9k|                case json_storage_kind::array:
  ------------------
  |  Branch (915:17): [True: 41.9k, False: 90.4M]
  ------------------
  916|  41.9k|                {
  917|  41.9k|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (917:25): [True: 41.9k, False: 0]
  ------------------
  918|  41.9k|                    {
  919|  41.9k|                        auto& stor = cast<array_storage>();
  920|  41.9k|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  921|  41.9k|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  922|  41.9k|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  923|  41.9k|                    }
  924|  41.9k|                    break;
  925|      0|                }
  926|  39.4k|                case json_storage_kind::object:
  ------------------
  |  Branch (926:17): [True: 39.4k, False: 90.4M]
  ------------------
  927|  39.4k|                {
  928|  39.4k|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (928:25): [True: 39.4k, False: 0]
  ------------------
  929|  39.4k|                    {
  930|  39.4k|                        auto& stor = cast<object_storage>();
  931|  39.4k|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  932|  39.4k|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  933|  39.4k|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  934|  39.4k|                    }
  935|  39.4k|                    break;
  936|      0|                }
  937|  90.2M|                default:
  ------------------
  |  Branch (937:17): [True: 90.2M, False: 202k]
  ------------------
  938|  90.2M|                    break;
  939|  90.4M|            }
  940|  90.4M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1462|   266M|        {
 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|   266M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1468|   266M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1004|   456k|        {
 1005|   456k|            return cast(identity<T>());
 1006|   456k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1095|   456k|        {
 1096|   456k|            return long_str_;
 1097|   456k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1004|   568k|        {
 1005|   568k|            return cast(identity<T>());
 1006|   568k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1105|   568k|        {
 1106|   568k|            return byte_str_;
 1107|   568k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1004|  7.03M|        {
 1005|  7.03M|            return cast(identity<T>());
 1006|  7.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1125|  7.03M|        {
 1126|  7.03M|            return array_;
 1127|  7.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2307|  69.4M|        {
 2308|  69.4M|            uninitialized_move(std::move(other));
 2309|  69.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1302|  69.4M|        {
 1303|  69.4M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1303:17): [True: 69.0M, False: 424k]
  ------------------
 1304|  69.0M|            {
 1305|  69.0M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1306|  69.0M|            }
 1307|   424k|            else
 1308|   424k|            {
 1309|   424k|                switch (other.storage_kind())
 1310|   424k|                {
 1311|   114k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1311:21): [True: 114k, False: 310k]
  ------------------
 1312|   114k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1313|   114k|                        other.construct<null_storage>();
 1314|   114k|                        break;
 1315|   126k|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1315:21): [True: 126k, False: 298k]
  ------------------
 1316|   126k|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1317|   126k|                        other.construct<null_storage>();
 1318|   126k|                        break;
 1319|  84.5k|                    case json_storage_kind::array:
  ------------------
  |  Branch (1319:21): [True: 84.5k, False: 340k]
  ------------------
 1320|  84.5k|                        construct<array_storage>(other.cast<array_storage>());
 1321|  84.5k|                        other.construct<null_storage>();
 1322|  84.5k|                        break;
 1323|  99.3k|                    case json_storage_kind::object:
  ------------------
  |  Branch (1323:21): [True: 99.3k, False: 325k]
  ------------------
 1324|  99.3k|                        construct<object_storage>(other.cast<object_storage>());
 1325|  99.3k|                        other.construct<null_storage>();
 1326|  99.3k|                        break;
 1327|      0|                    default:
  ------------------
  |  Branch (1327:21): [True: 0, False: 424k]
  ------------------
 1328|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1329|      0|                        break;
 1330|   424k|                }
 1331|   424k|            }
 1332|  69.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  995|   157k|        {
  996|   157k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   157k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  626|   200k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  627|   200k|            {
  628|   200k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  995|   424k|        {
  996|   424k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   424k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1004|  21.3M|        {
 1005|  21.3M|            return cast(identity<T>());
 1006|  21.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1015|  21.3M|        {
 1016|  21.3M|            return null_;
 1017|  21.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  450|  21.0M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  451|  21.0M|            {
  452|  21.0M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  995|   173k|        {
  996|   173k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   173k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  675|   221k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  676|   221k|            {
  677|   221k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  995|   159k|        {
  996|   159k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   159k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  727|   233k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  728|   233k|            {
  729|   233k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  995|   147k|        {
  996|   147k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   147k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  777|   195k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  778|   195k|            {
  779|   195k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4759|  4.11k|        {
 4760|  4.11k|            switch (storage_kind())
 4761|  4.11k|            {
 4762|  4.11k|                case json_storage_kind::array:
  ------------------
  |  Branch (4762:17): [True: 4.11k, False: 0]
  ------------------
 4763|  4.11k|                    return array_range_type(cast<array_storage>().value().begin(),
 4764|  4.11k|                        cast<array_storage>().value().end());
 4765|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4765:17): [True: 0, False: 4.11k]
  ------------------
 4766|      0|                    return cast<json_ref_storage>().value().array_range();
 4767|      0|                default:
  ------------------
  |  Branch (4767:17): [True: 0, False: 4.11k]
  ------------------
 4768|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4769|  4.11k|            }
 4770|  4.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  6.59M|            {
  751|  6.59M|                return *ptr_;
  752|  6.59M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|  4.11k|            : first_(first), last_(last)
  349|  4.11k|        {
  350|  4.11k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|  4.11k|        {
  354|  4.11k|            return first_;
  355|  4.11k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|  4.11k|        {
  358|  4.11k|            return last_;
  359|  4.11k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3425|  9.00k|        {
 3426|  9.00k|            switch (storage_kind())
 3427|  9.00k|            {
 3428|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 9.00k]
  ------------------
 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: 9.00k]
  ------------------
 3432|      0|                    return cast<short_string_storage>().length() == 0;
 3433|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3433:17): [True: 0, False: 9.00k]
  ------------------
 3434|      0|                    return cast<long_string_storage>().length() == 0;
 3435|  5.50k|                case json_storage_kind::array:
  ------------------
  |  Branch (3435:17): [True: 5.50k, False: 3.50k]
  ------------------
 3436|  5.50k|                    return cast<array_storage>().value().empty();
 3437|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3437:17): [True: 0, False: 9.00k]
  ------------------
 3438|      0|                    return true;
 3439|  3.50k|                case json_storage_kind::object:
  ------------------
  |  Branch (3439:17): [True: 3.50k, False: 5.50k]
  ------------------
 3440|  3.50k|                    return cast<object_storage>().value().empty();
 3441|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3441:17): [True: 0, False: 9.00k]
  ------------------
 3442|      0|                    return cast<const_json_ref_storage>().value().empty();
 3443|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3443:17): [True: 0, False: 9.00k]
  ------------------
 3444|      0|                    return cast<json_ref_storage>().value().empty();
 3445|      0|                default:
  ------------------
  |  Branch (3445:17): [True: 0, False: 9.00k]
  ------------------
 3446|      0|                    return false;
 3447|  9.00k|            }
 3448|  9.00k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1010|  5.50k|        {
 1011|  5.50k|            return cast(identity<T>());
 1012|  5.50k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  5.50k|        {
 1131|  5.50k|            return array_;
 1132|  5.50k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  5.50k|            {
  756|  5.50k|                return *ptr_;
  757|  5.50k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1010|  3.50k|        {
 1011|  3.50k|            return cast(identity<T>());
 1012|  3.50k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|  3.50k|        {
 1121|  3.50k|            return object_;
 1122|  3.50k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  801|  3.50k|            {
  802|  3.50k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|  3.50k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.50k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  803|  3.50k|                return *ptr_;
  804|  3.50k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4156|  8.15k|        {
 4157|  8.15k|            switch (storage_kind())
 4158|  8.15k|            {
 4159|  4.11k|                case json_storage_kind::array:
  ------------------
  |  Branch (4159:17): [True: 4.11k, False: 4.03k]
  ------------------
 4160|  4.11k|                    cast<array_storage>().value().clear();
 4161|  4.11k|                    break;
 4162|  4.03k|                case json_storage_kind::object:
  ------------------
  |  Branch (4162:17): [True: 4.03k, False: 4.11k]
  ------------------
 4163|  4.03k|                    cast<object_storage>().value().clear();
 4164|  4.03k|                    break;
 4165|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4165:17): [True: 0, False: 8.15k]
  ------------------
 4166|      0|                    cast<json_ref_storage>().value().clear();
 4167|      0|                    break;
 4168|      0|                default:
  ------------------
  |  Branch (4168:17): [True: 0, False: 8.15k]
  ------------------
 4169|      0|                    break;
 4170|  8.15k|            }
 4171|  8.15k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  795|  26.2k|            {
  796|  26.2k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|  26.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 26.2k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  797|  26.2k|                return *ptr_;
  798|  26.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4725|  4.03k|        {
 4726|  4.03k|            switch (storage_kind())
 4727|  4.03k|            {
 4728|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4728:17): [True: 0, False: 4.03k]
  ------------------
 4729|      0|                    return object_range_type(object_iterator(), object_iterator());
 4730|  4.03k|                case json_storage_kind::object:
  ------------------
  |  Branch (4730:17): [True: 4.03k, False: 0]
  ------------------
 4731|  4.03k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4732|  4.03k|                                                  object_iterator(cast<object_storage>().value().end()));
 4733|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4733:17): [True: 0, False: 4.03k]
  ------------------
 4734|      0|                    return cast<json_ref_storage>().value().object_range();
 4735|      0|                default:
  ------------------
  |  Branch (4735:17): [True: 0, False: 4.03k]
  ------------------
 4736|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4737|  4.03k|            }
 4738|  4.03k|        }
_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|  4.03k|            : first_(first), last_(last)
  349|  4.03k|        {
  350|  4.03k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|  8.07k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|  8.07k|            {
  120|  8.07k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  353|  4.03k|        {
  354|  4.03k|            return first_;
  355|  4.03k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  357|  4.03k|        {
  358|  4.03k|            return last_;
  359|  4.03k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|  8.59k|            {
  219|  8.59k|                return !(*this == rhs);
  220|  8.59k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|  8.59k|            {
  210|  8.59k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   77|  17.1k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 8.59k, False: 0]
  |  |  |  Branch (77:48): [True: 8.59k, False: 0]
  |  |  |  Branch (77:48): [True: 8.59k, False: 0]
  |  |  ------------------
  ------------------
  211|  8.59k|                {
  212|  8.59k|                    return current_ == rhs.current_;
  213|  8.59k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|  8.59k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  4.55k|            {
  141|  4.55k|                return *current_;
  142|  4.55k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  4.55k|            {
  151|  4.55k|                ++current_;
  152|  4.55k|                return *this;
  153|  4.55k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1004|   439k|        {
 1005|   439k|            return cast(identity<T>());
 1006|   439k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1115|   439k|        {
 1116|   439k|            return object_;
 1117|   439k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2275|  5.02k|        {
 2276|  5.02k|            construct<empty_object_storage>(semantic_tag::none);
 2277|  5.02k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  995|  5.02k|        {
  996|  5.02k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  5.02k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1004|  9.11k|        {
 1005|  9.11k|            return cast(identity<T>());
 1006|  9.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1025|  9.11k|        {
 1026|  9.11k|            return empty_object_;
 1027|  9.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  462|  5.02k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|  5.02k|            {
  464|  5.02k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3484|  6.76k|        {
 3485|  6.76k|            if (n > 0)
  ------------------
  |  Branch (3485:17): [True: 6.76k, False: 0]
  ------------------
 3486|  6.76k|            {
 3487|  6.76k|                switch (storage_kind())
 3488|  6.76k|                {
 3489|  6.76k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3489:21): [True: 6.76k, False: 0]
  ------------------
 3490|  6.76k|                        cast<array_storage>().value().reserve(n);
 3491|  6.76k|                        break;
 3492|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3492:21): [True: 0, False: 6.76k]
  ------------------
 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: 6.76k]
  ------------------
 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: 6.76k]
  ------------------
 3500|      0|                        cast<json_ref_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    default:
  ------------------
  |  Branch (3502:21): [True: 0, False: 6.76k]
  ------------------
 3503|      0|                        break;
 3504|  6.76k|                }
 3505|  6.76k|            }
 3506|  6.76k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2320|  39.4k|        {
 2321|  39.4k|            auto ptr = create_object(alloc);
 2322|  39.4k|            construct<object_storage>(ptr, tag);
 2323|  39.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  976|  39.4k|        {
  977|  39.4k|            using stor_allocator_type = typename object_storage::allocator_type;
  978|  39.4k|            stor_allocator_type stor_alloc(alloc);
  979|  39.4k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  980|  39.4k|            JSONCONS_TRY
  ------------------
  |  |   37|  39.4k|    #define JSONCONS_TRY try
  ------------------
  981|  39.4k|            {
  982|  39.4k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  983|  39.4k|                    std::forward<Args>(args)...);
  984|  39.4k|            }
  985|  39.4k|            JSONCONS_CATCH(...)
  986|  39.4k|            {
  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|  39.4k|            return ptr;
  991|  39.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  39.4k|        {
  996|  39.4k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  39.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  772|  39.4k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  773|  39.4k|            {
  774|  39.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4701|  6.57M|        {
 4702|  6.57M|            switch (storage_kind())
 4703|  6.57M|            {
 4704|  6.57M|                case json_storage_kind::array:
  ------------------
  |  Branch (4704:17): [True: 6.57M, False: 0]
  ------------------
 4705|  6.57M|                    cast<array_storage>().value().push_back(std::move(val));
 4706|  6.57M|                    break;
 4707|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4707:17): [True: 0, False: 6.57M]
  ------------------
 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.57M]
  ------------------
 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.57M|            }
 4713|  6.57M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1453|  46.0M|        {
 1454|  46.0M|            if (this != &other)
  ------------------
  |  Branch (1454:17): [True: 46.0M, False: 0]
  ------------------
 1455|  46.0M|            {
 1456|  46.0M|                move_assignment(std::move(other));
 1457|  46.0M|            }
 1458|  46.0M|            return *this;
 1459|  46.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1415|  46.0M|        {
 1416|  46.0M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1416:17): [True: 46.0M, False: 0]
  |  Branch (1416:55): [True: 45.8M, False: 212k]
  ------------------
 1417|  45.8M|            {
 1418|  45.8M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1419|  45.8M|            }
 1420|   212k|            else
 1421|   212k|            {
 1422|   212k|                swap(other);
 1423|   212k|            }
 1424|  46.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1934|   212k|        {
 1935|   212k|            if (this == &other)
  ------------------
  |  Branch (1935:17): [True: 0, False: 212k]
  ------------------
 1936|      0|            {
 1937|      0|                return;
 1938|      0|            }
 1939|   212k|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1939:17): [True: 212k, False: 0]
  |  Branch (1939:55): [True: 0, False: 212k]
  ------------------
 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|   212k|            else
 1947|   212k|            {
 1948|   212k|                switch (storage_kind())
 1949|   212k|                {
 1950|   188k|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 188k, False: 24.6k]
  ------------------
 1951|  2.04k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 2.04k, False: 210k]
  ------------------
 1952|  4.88k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 4.88k, False: 208k]
  ------------------
 1953|  3.83k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 3.83k, False: 209k]
  ------------------
 1954|  2.39k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 2.39k, False: 210k]
  ------------------
 1955|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 0, False: 212k]
  ------------------
 1956|  3.22k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 3.22k, False: 209k]
  ------------------
 1957|  8.26k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 8.26k, False: 204k]
  ------------------
 1958|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 212k]
  ------------------
 1959|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 0, False: 212k]
  ------------------
 1960|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 0, False: 212k]
  ------------------
 1961|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 212k]
  ------------------
 1962|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 212k]
  ------------------
 1963|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 212k]
  ------------------
 1964|      0|                    default:
  ------------------
  |  Branch (1964:21): [True: 0, False: 212k]
  ------------------
 1965|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1966|      0|                        break;
 1967|   212k|                }
 1968|   212k|            }
 1969|   212k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1170|   188k|        {
 1171|   188k|            switch (other.storage_kind())
 1172|   188k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 188k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 188k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 188k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 188k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 188k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 188k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 188k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 188k]
  ------------------
 1181|  32.5k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 32.5k, False: 155k]
  ------------------
 1182|  43.2k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 43.2k, False: 145k]
  ------------------
 1183|  68.9k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 68.9k, False: 119k]
  ------------------
 1184|  43.5k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 43.5k, False: 144k]
  ------------------
 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: 188k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 188k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 188k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|   188k|            }
 1191|   188k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  995|   188k|        {
  996|   188k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   188k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  995|  2.04k|        {
  996|  2.04k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1004|  33.5k|        {
 1005|  33.5k|            return cast(identity<T>());
 1006|  33.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1035|  33.5k|        {
 1036|  33.5k|            return boolean_;
 1037|  33.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  995|  4.88k|        {
  996|  4.88k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.88k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1004|  83.1k|        {
 1005|  83.1k|            return cast(identity<T>());
 1006|  83.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1045|  83.1k|        {
 1046|  83.1k|            return int64_;
 1047|  83.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  995|  3.83k|        {
  996|  3.83k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  3.83k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1004|  18.8k|        {
 1005|  18.8k|            return cast(identity<T>());
 1006|  18.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1055|  18.8k|        {
 1056|  18.8k|            return uint64_;
 1057|  18.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  995|  2.39k|        {
  996|  2.39k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.39k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1004|  23.2k|        {
 1005|  23.2k|            return cast(identity<T>());
 1006|  23.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1075|  23.2k|        {
 1076|  23.2k|            return float64_;
 1077|  23.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  995|  3.22k|        {
  996|  3.22k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  3.22k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1004|  71.2k|        {
 1005|  71.2k|            return cast(identity<T>());
 1006|  71.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1085|  71.2k|        {
 1086|  71.2k|            return short_str_;
 1087|  71.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  585|  8.26k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  586|  8.26k|            {
  587|  8.26k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  588|  8.26k|                data_[short_str_length_] = 0;
  589|  8.26k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  995|  8.26k|        {
  996|  8.26k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  8.26k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1156|  32.5k|        {
 1157|  32.5k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  32.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  32.5k|        {
 1163|  32.5k|            TypeR temp{other.cast<TypeR>()};
 1164|  32.5k|            other.construct<TypeL>(cast<TypeL>());
 1165|  32.5k|            construct<TypeR>(temp);
 1166|  32.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  43.2k|        {
 1157|  43.2k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  43.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  43.2k|        {
 1163|  43.2k|            TypeR temp{other.cast<TypeR>()};
 1164|  43.2k|            other.construct<TypeL>(cast<TypeL>());
 1165|  43.2k|            construct<TypeR>(temp);
 1166|  43.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1156|  68.9k|        {
 1157|  68.9k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  68.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  68.9k|        {
 1163|  68.9k|            TypeR temp{other.cast<TypeR>()};
 1164|  68.9k|            other.construct<TypeL>(cast<TypeL>());
 1165|  68.9k|            construct<TypeR>(temp);
 1166|  68.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1156|  43.5k|        {
 1157|  43.5k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  43.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  43.5k|        {
 1163|  43.5k|            TypeR temp{other.cast<TypeR>()};
 1164|  43.5k|            other.construct<TypeL>(cast<TypeL>());
 1165|  43.5k|            construct<TypeR>(temp);
 1166|  43.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1170|  2.04k|        {
 1171|  2.04k|            switch (other.storage_kind())
 1172|  2.04k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.04k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.04k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.04k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.04k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.04k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.04k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.04k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.04k]
  ------------------
 1181|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.04k]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.04k]
  ------------------
 1183|      0|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 2.04k]
  ------------------
 1184|  2.04k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 2.04k, False: 0]
  ------------------
 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.04k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.04k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.04k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.04k|            }
 1191|  2.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1156|  2.04k|        {
 1157|  2.04k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.04k|        {
 1163|  2.04k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.04k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.04k|            construct<TypeR>(temp);
 1166|  2.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1170|  4.88k|        {
 1171|  4.88k|            switch (other.storage_kind())
 1172|  4.88k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 4.88k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 4.88k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 4.88k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 4.88k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 4.88k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 4.88k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 4.88k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 4.88k]
  ------------------
 1181|    892|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 892, False: 3.98k]
  ------------------
 1182|  2.02k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 2.02k, False: 2.85k]
  ------------------
 1183|  1.35k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.35k, False: 3.52k]
  ------------------
 1184|    608|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 608, False: 4.27k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 4.88k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 4.88k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 4.88k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  4.88k|            }
 1191|  4.88k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1156|    892|        {
 1157|    892|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    892|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    892|        {
 1163|    892|            TypeR temp{other.cast<TypeR>()};
 1164|    892|            other.construct<TypeL>(cast<TypeL>());
 1165|    892|            construct<TypeR>(temp);
 1166|    892|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  2.02k|        {
 1157|  2.02k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.02k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.02k|        {
 1163|  2.02k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.02k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.02k|            construct<TypeR>(temp);
 1166|  2.02k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1156|  1.35k|        {
 1157|  1.35k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.35k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.35k|        {
 1163|  1.35k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.35k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.35k|            construct<TypeR>(temp);
 1166|  1.35k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1156|    608|        {
 1157|    608|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    608|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    608|        {
 1163|    608|            TypeR temp{other.cast<TypeR>()};
 1164|    608|            other.construct<TypeL>(cast<TypeL>());
 1165|    608|            construct<TypeR>(temp);
 1166|    608|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1170|  3.83k|        {
 1171|  3.83k|            switch (other.storage_kind())
 1172|  3.83k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 3.83k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 3.83k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 3.83k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 3.83k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 3.83k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 3.83k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 3.83k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 3.83k]
  ------------------
 1181|    674|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 674, False: 3.16k]
  ------------------
 1182|    216|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 216, False: 3.61k]
  ------------------
 1183|  2.29k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 2.29k, False: 1.54k]
  ------------------
 1184|    653|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 653, False: 3.18k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 3.83k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 3.83k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 3.83k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  3.83k|            }
 1191|  3.83k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1156|    674|        {
 1157|    674|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    674|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    674|        {
 1163|    674|            TypeR temp{other.cast<TypeR>()};
 1164|    674|            other.construct<TypeL>(cast<TypeL>());
 1165|    674|            construct<TypeR>(temp);
 1166|    674|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    216|        {
 1157|    216|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    216|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    216|        {
 1163|    216|            TypeR temp{other.cast<TypeR>()};
 1164|    216|            other.construct<TypeL>(cast<TypeL>());
 1165|    216|            construct<TypeR>(temp);
 1166|    216|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1156|  2.29k|        {
 1157|  2.29k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.29k|        {
 1163|  2.29k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.29k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.29k|            construct<TypeR>(temp);
 1166|  2.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1156|    653|        {
 1157|    653|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    653|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    653|        {
 1163|    653|            TypeR temp{other.cast<TypeR>()};
 1164|    653|            other.construct<TypeL>(cast<TypeL>());
 1165|    653|            construct<TypeR>(temp);
 1166|    653|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1170|  2.39k|        {
 1171|  2.39k|            switch (other.storage_kind())
 1172|  2.39k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.39k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.39k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.39k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.39k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.39k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.39k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.39k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.39k]
  ------------------
 1181|  1.38k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 1.38k, False: 1.00k]
  ------------------
 1182|    232|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 232, False: 2.15k]
  ------------------
 1183|    514|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 514, False: 1.87k]
  ------------------
 1184|    263|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 263, False: 2.12k]
  ------------------
 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.39k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.39k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.39k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.39k|            }
 1191|  2.39k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  1.38k|        {
 1157|  1.38k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.38k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.38k|        {
 1163|  1.38k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.38k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.38k|            construct<TypeR>(temp);
 1166|  1.38k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    232|        {
 1157|    232|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    232|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    232|        {
 1163|    232|            TypeR temp{other.cast<TypeR>()};
 1164|    232|            other.construct<TypeL>(cast<TypeL>());
 1165|    232|            construct<TypeR>(temp);
 1166|    232|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1156|    514|        {
 1157|    514|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    514|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    514|        {
 1163|    514|            TypeR temp{other.cast<TypeR>()};
 1164|    514|            other.construct<TypeL>(cast<TypeL>());
 1165|    514|            construct<TypeR>(temp);
 1166|    514|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1156|    263|        {
 1157|    263|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    263|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    263|        {
 1163|    263|            TypeR temp{other.cast<TypeR>()};
 1164|    263|            other.construct<TypeL>(cast<TypeL>());
 1165|    263|            construct<TypeR>(temp);
 1166|    263|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1170|  3.22k|        {
 1171|  3.22k|            switch (other.storage_kind())
 1172|  3.22k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 3.22k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 3.22k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 3.22k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 3.22k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 3.22k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 3.22k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 3.22k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 3.22k]
  ------------------
 1181|    482|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 482, False: 2.74k]
  ------------------
 1182|  1.64k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 1.64k, False: 1.57k]
  ------------------
 1183|    811|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 811, False: 2.41k]
  ------------------
 1184|    281|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 281, False: 2.94k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 3.22k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 3.22k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 3.22k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  3.22k|            }
 1191|  3.22k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1156|    482|        {
 1157|    482|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    482|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    482|        {
 1163|    482|            TypeR temp{other.cast<TypeR>()};
 1164|    482|            other.construct<TypeL>(cast<TypeL>());
 1165|    482|            construct<TypeR>(temp);
 1166|    482|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  1.64k|        {
 1157|  1.64k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.64k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.64k|        {
 1163|  1.64k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.64k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.64k|            construct<TypeR>(temp);
 1166|  1.64k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1156|    811|        {
 1157|    811|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    811|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    811|        {
 1163|    811|            TypeR temp{other.cast<TypeR>()};
 1164|    811|            other.construct<TypeL>(cast<TypeL>());
 1165|    811|            construct<TypeR>(temp);
 1166|    811|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1156|    281|        {
 1157|    281|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    281|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    281|        {
 1163|    281|            TypeR temp{other.cast<TypeR>()};
 1164|    281|            other.construct<TypeL>(cast<TypeL>());
 1165|    281|            construct<TypeR>(temp);
 1166|    281|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1170|  8.26k|        {
 1171|  8.26k|            switch (other.storage_kind())
 1172|  8.26k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 8.26k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 8.26k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 8.26k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 8.26k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 8.26k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 8.26k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 8.26k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 8.26k]
  ------------------
 1181|  6.63k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 6.63k, False: 1.62k]
  ------------------
 1182|    238|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 238, False: 8.02k]
  ------------------
 1183|    748|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 748, False: 7.51k]
  ------------------
 1184|    643|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 643, False: 7.62k]
  ------------------
 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: 8.26k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 8.26k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 8.26k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  8.26k|            }
 1191|  8.26k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1156|  6.63k|        {
 1157|  6.63k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  6.63k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  6.63k|        {
 1163|  6.63k|            TypeR temp{other.cast<TypeR>()};
 1164|  6.63k|            other.construct<TypeL>(cast<TypeL>());
 1165|  6.63k|            construct<TypeR>(temp);
 1166|  6.63k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    238|        {
 1157|    238|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    238|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    238|        {
 1163|    238|            TypeR temp{other.cast<TypeR>()};
 1164|    238|            other.construct<TypeL>(cast<TypeL>());
 1165|    238|            construct<TypeR>(temp);
 1166|    238|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1156|    748|        {
 1157|    748|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    748|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    748|        {
 1163|    748|            TypeR temp{other.cast<TypeR>()};
 1164|    748|            other.construct<TypeL>(cast<TypeL>());
 1165|    748|            construct<TypeR>(temp);
 1166|    748|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1156|    643|        {
 1157|    643|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    643|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    643|        {
 1163|    643|            TypeR temp{other.cast<TypeR>()};
 1164|    643|            other.construct<TypeL>(cast<TypeL>());
 1165|    643|            construct<TypeR>(temp);
 1166|    643|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2614|  14.1k|        {
 2615|  14.1k|            construct<uint64_storage>(val, tag);
 2616|  14.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  995|  14.1k|        {
  996|  14.1k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  14.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  14.1k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  14.1k|                  val_(val)
  518|  14.1k|            {
  519|  14.1k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2645|  75.5k|        {
 2646|  75.5k|            construct<int64_storage>(val, tag);
 2647|  75.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  995|  75.5k|        {
  996|  75.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  75.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  496|  75.5k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  497|  75.5k|                  val_(val)
  498|  75.5k|            {
  499|  75.5k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2602|  16.8k|        {
 2603|  16.8k|            construct<double_storage>(val, tag);
 2604|  16.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  995|  16.8k|        {
  996|  16.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  16.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  555|  16.8k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  556|  16.8k|                  val_(val)
  557|  16.8k|            {
  558|  16.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2401|  41.9k|        {
 2402|  41.9k|            auto ptr = create_array(Allocator());
 2403|  41.9k|            construct<array_storage>(ptr, tag);
 2404|  41.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  957|  41.9k|        {
  958|  41.9k|            using stor_allocator_type = typename array_storage::allocator_type;
  959|  41.9k|            stor_allocator_type stor_alloc(alloc);
  960|  41.9k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  961|  41.9k|            JSONCONS_TRY
  ------------------
  |  |   37|  41.9k|    #define JSONCONS_TRY try
  ------------------
  962|  41.9k|            {
  963|  41.9k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  964|  41.9k|                    std::forward<Args>(args)...);
  965|  41.9k|            }
  966|  41.9k|            JSONCONS_CATCH(...)
  967|  41.9k|            {
  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|  41.9k|            return ptr;
  972|  41.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  41.9k|        {
  996|  41.9k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  41.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  722|  41.9k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  723|  41.9k|            {
  724|  41.9k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2691|  20.5M|        {
 2692|  20.5M|            construct<null_storage>(tag);
 2693|  20.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  995|  20.5M|        {
  996|  20.5M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  20.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2701|  23.7k|        {
 2702|  23.7k|            construct<bool_storage>(val,tag);
 2703|  23.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  995|  23.7k|        {
  996|  23.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  23.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|  23.7k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|  23.7k|                  val_(val)
  477|  23.7k|            {
  478|  23.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2549|   101k|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2550|   101k|        {
 2551|   101k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2579|   101k|        {
 2580|   101k|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2580:17): [True: 54.6k, False: 47.2k]
  ------------------
 2581|  54.6k|            {
 2582|  54.6k|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2583|  54.6k|            }
 2584|  47.2k|            else
 2585|  47.2k|            {
 2586|  47.2k|                auto ptr = create_long_string(alloc, s, length);
 2587|  47.2k|                construct<long_string_storage>(ptr, tag);
 2588|  47.2k|            }
 2589|   101k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  995|  54.6k|        {
  996|  54.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  54.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  54.6k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  54.6k|            {
  579|  54.6k|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   49|  54.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 54.6k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  580|  54.6k|                std::memcpy(data_,p,length*sizeof(char_type));
  581|  54.6k|                data_[length] = 0;
  582|  54.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  943|  47.2k|        {
  944|  47.2k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  945|  47.2k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  946|  47.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|  47.2k|        {
  996|  47.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  47.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  621|  47.2k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  622|  47.2k|            {
  623|  47.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  950|  73.4k|        {
  951|  73.4k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  952|  73.4k|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  953|  73.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  670|  73.4k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  671|  73.4k|            {
  672|  73.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2742|  73.4k|        {
 2743|  73.4k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2744|       |
 2745|  73.4k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2746|  73.4k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2747|  73.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  995|  73.4k|        {
  996|  73.4k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  73.4k|        }

_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEET_PT0_:
  243|  47.2k|    {
  244|  47.2k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  245|  47.2k|        return std::launder(reinterpret_cast<T>(u));
  246|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  247|       |        return __builtin_launder(reinterpret_cast<T>(u));
  248|       |    #else
  249|       |        return reinterpret_cast<T>(u);
  250|       |    #endif
  251|  47.2k|    }
_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEET_PT0_:
  243|  73.4k|    {
  244|  73.4k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  245|  73.4k|        return std::launder(reinterpret_cast<T>(u));
  246|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  247|       |        return __builtin_launder(reinterpret_cast<T>(u));
  248|       |    #else
  249|       |        return reinterpret_cast<T>(u);
  250|       |    #endif
  251|  73.4k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  243|  47.2k|    {
  244|  47.2k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  245|  47.2k|        return std::launder(reinterpret_cast<T>(u));
  246|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  247|       |        return __builtin_launder(reinterpret_cast<T>(u));
  248|       |    #else
  249|       |        return reinterpret_cast<T>(u);
  250|       |    #endif
  251|  47.2k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  243|  73.4k|    {
  244|  73.4k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  245|  73.4k|        return std::launder(reinterpret_cast<T>(u));
  246|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  247|       |        return __builtin_launder(reinterpret_cast<T>(u));
  248|       |    #else
  249|       |        return reinterpret_cast<T>(u);
  250|       |    #endif
  251|  73.4k|    }

_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2IJRNS4_10error_codeEmmEEENS0_10unexpect_tEDpOT_:
   66|  5.00k|        : has_value_(false)
   67|  5.00k|    {
   68|  5.00k|        ::new (&error_) E(std::forward<Args>(args)...);
   69|  5.00k|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2EOS7_:
   52|     16|        : has_value_(true)
   53|     16|    {
   54|     16|        construct(std::move(value));
   55|     16|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE9constructEOS7_:
  274|     16|    {
  275|     16|        ::new (&value_) T(std::move(value));
  276|     16|        has_value_ = true;
  277|     16|    }
_ZNK8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEcvbEv:
  146|  5.02k|    {
  147|  5.02k|        return has_value_;
  148|  5.02k|    }
_ZNR8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE5errorEv:
  192|  15.0k|    {
  193|  15.0k|        assert(!has_value_);
  ------------------
  |  Branch (193:9): [True: 15.0k, False: 0]
  ------------------
  194|  15.0k|        return this->error_;
  195|  15.0k|    }
_ZNR8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEdeEv:
  231|     16|    {
  232|     16|        return this->value_;
  233|     16|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEED2Ev:
  100|  5.02k|    {
  101|  5.02k|        destroy();
  102|  5.02k|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE7destroyEv:
  280|  5.02k|    {
  281|  5.02k|        if (has_value_) 
  ------------------
  |  Branch (281:13): [True: 16, False: 5.00k]
  ------------------
  282|     16|        {
  283|     16|            value_.~T();
  284|     16|            has_value_ = false;
  285|     16|        }
  286|  5.00k|        else
  287|  5.00k|        {
  288|  5.00k|            error_.~E();
  289|  5.00k|        }
  290|  5.02k|    }

_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|   119k|            : data_(data), size_(size)
   62|   119k|        {
   63|   119k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|   151k|        {
  112|   151k|            return data_;
  113|   151k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|   309k|        {
  117|   309k|            return size_;
  118|   309k|        }
_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2Ev:
   58|  32.7k|        {
   59|  32.7k|        }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  52.9k|        {
  106|  52.9k|            flatten_and_destroy();
  107|  52.9k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  52.9k|        {
  249|  6.62M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 6.57M, False: 52.9k]
  ------------------
  250|  6.57M|            {
  251|  6.57M|                value_type current = std::move(data_.back());
  252|  6.57M|                data_.pop_back();
  253|  6.57M|                switch (current.storage_kind())
  254|  6.57M|                {
  255|  4.11k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 4.11k, False: 6.57M]
  ------------------
  256|  4.11k|                    {
  257|  4.11k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 4.51k, False: 4.11k]
  ------------------
  258|  4.51k|                        {
  259|  4.51k|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 838, False: 3.68k]
  |  Branch (259:85): [True: 578, False: 3.10k]
  ------------------
  260|  1.41k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 970, False: 446]
  ------------------
  261|    970|                            {
  262|    970|                                data_.push_back(std::move(item));
  263|    970|                            }
  264|  4.51k|                        }
  265|  4.11k|                        current.clear();                           
  266|  4.11k|                        break;
  267|      0|                    }
  268|  4.03k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 4.03k, False: 6.57M]
  ------------------
  269|  4.03k|                    {
  270|  4.03k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 4.55k, False: 4.03k]
  ------------------
  271|  4.55k|                        {
  272|  4.55k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 329, False: 4.23k]
  |  Branch (272:91): [True: 1.04k, False: 3.18k]
  ------------------
  273|  1.37k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 1.13k, False: 247]
  ------------------
  274|  1.13k|                            {
  275|  1.13k|                                data_.push_back(std::move(kv.value()));
  276|  1.13k|                            }
  277|  4.55k|                        }
  278|  4.03k|                        current.clear();                           
  279|  4.03k|                        break;
  280|      0|                    }
  281|  6.56M|                    default:
  ------------------
  |  Branch (281:21): [True: 6.56M, False: 8.15k]
  ------------------
  282|  6.56M|                        break;
  283|  6.57M|                }
  284|  6.57M|            }
  285|  52.9k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|  4.11k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|  4.11k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  5.50k|        {
  126|  5.50k|            return data_.empty();
  127|  5.50k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|  4.11k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  11.0k|            : allocator_holder<allocator_type>(alloc), 
   50|  11.0k|              data_(value_allocator_type(alloc))
   51|  11.0k|        {
   52|  11.0k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  3.47k|        {
  218|  3.47k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  3.47k|            return data_.back();
  220|  3.47k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  6.76k|        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.57M|        {
  179|  6.57M|            data_.emplace_back(std::forward<T>(value));
  180|  6.57M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  41.9k|        json_array() = default;

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  5.02k|        : alloc_(alloc),
   75|  5.02k|          result_(),
   76|  5.02k|          name_(alloc),
   77|  5.02k|          item_stack_(alloc),
   78|  5.02k|          structure_stack_(temp_alloc)
   79|  5.02k|    {
   80|       |        //item_stack_.reserve(1000);
   81|       |        //structure_stack_.reserve(100);
   82|  5.02k|        structure_stack_.emplace_back(json_structure_kind::root_kind, 0);
   83|  5.02k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14json_structureC2ENS7_19json_structure_kindEm:
   51|  86.4k|            : structure_kind(type), structure_index(offset)
   52|  86.4k|        {
   53|  86.4k|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  186|  19.2k|    {
  187|  19.2k|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   49|  19.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 19.2k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  188|  19.2k|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::array_kind);
  ------------------
  |  |   49|  19.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 19.2k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  189|  19.2k|        const size_t structure_index = structure_stack_.back().structure_index;
  190|  19.2k|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   49|  19.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 19.2k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  191|       |
  192|  19.2k|        auto& structure = structure_stack_[structure_stack_.size()-2];
  193|  19.2k|        auto& arr = item_stack_[structure_index].value;
  194|  19.2k|        const size_t size = item_stack_.size() - (structure_index + 1);
  195|       |
  196|  19.2k|        if (size > 0)
  ------------------
  |  Branch (196:13): [True: 6.76k, False: 12.4k]
  ------------------
  197|  6.76k|        {
  198|  6.76k|            arr.reserve(size);
  199|  6.76k|            auto first = item_stack_.begin() + (structure_index+1);
  200|  6.76k|            auto last = first + size;
  201|  6.58M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (201:35): [True: 6.57M, False: 6.76k]
  ------------------
  202|  6.57M|            {
  203|  6.57M|                arr.push_back(std::move((*it).value));
  204|  6.57M|            }
  205|  6.76k|            item_stack_.erase(first, item_stack_.end());
  206|  6.76k|        }
  207|       |
  208|  19.2k|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (208:13): [True: 0, False: 19.2k]
  ------------------
  209|      0|        {
  210|      0|            result_ = std::move(item_stack_.front().value);
  211|      0|            item_stack_.pop_back();
  212|      0|            is_valid_ = true;
  213|      0|        }
  214|       |
  215|  19.2k|        structure_stack_.pop_back();
  216|  19.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  19.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  19.2k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  311|  14.1k|    {
  312|  14.1k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (312:17): [True: 14.1k, False: 0]
  ------------------
  313|  14.1k|        {
  314|  8.13k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (314:13): [True: 8.13k, False: 5.98k]
  ------------------
  315|  8.13k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  316|  8.13k|                break;
  317|  5.98k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (317:13): [True: 5.98k, False: 8.13k]
  ------------------
  318|  5.98k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  319|  5.98k|                break;
  320|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (320:13): [True: 0, False: 14.1k]
  ------------------
  321|      0|                result_ = Json(value,tag);
  322|      0|                is_valid_ = true;
  323|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  324|  14.1k|        }
  325|  14.1k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  14.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  14.1k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  290|  75.5k|    {
  291|  75.5k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (291:17): [True: 75.5k, False: 0]
  ------------------
  292|  75.5k|        {
  293|  30.9k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (293:13): [True: 30.9k, False: 44.5k]
  ------------------
  294|  30.9k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  295|  30.9k|                break;
  296|  44.5k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (296:13): [True: 44.5k, False: 30.9k]
  ------------------
  297|  44.5k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  298|  44.5k|                break;
  299|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (299:13): [True: 0, False: 75.5k]
  ------------------
  300|      0|                result_ = Json(value,tag);
  301|      0|                is_valid_ = true;
  302|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  75.5k|        }
  304|  75.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  75.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  305|  75.5k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  353|  16.8k|    {
  354|  16.8k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (354:17): [True: 16.8k, False: 0]
  ------------------
  355|  16.8k|        {
  356|  9.05k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (356:13): [True: 9.05k, False: 7.75k]
  ------------------
  357|  9.05k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  358|  9.05k|                break;
  359|  7.75k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (359:13): [True: 7.75k, False: 9.05k]
  ------------------
  360|  7.75k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  361|  7.75k|                break;
  362|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (362:13): [True: 0, False: 16.8k]
  ------------------
  363|      0|                result_ = Json(value, tag);
  364|      0|                is_valid_ = true;
  365|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  16.8k|        }
  367|  16.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  16.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  16.8k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|     16|    {
  123|     16|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  39.4k|    {
  127|  39.4k|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (127:13): [True: 27.5k, False: 11.8k]
  ------------------
  128|  27.5k|        {
  129|  27.5k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  130|  27.5k|            item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  131|  27.5k|        }
  132|  11.8k|        else
  133|  11.8k|        {
  134|  11.8k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  135|  11.8k|            item_stack_.emplace_back(key_type(alloc_), 0, json_object_arg, tag);
  136|  11.8k|        }
  137|  39.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  39.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  138|  39.4k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  141|  25.6k|    {
  142|  25.6k|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   49|  25.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 25.6k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  143|  25.6k|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::object_kind);
  ------------------
  |  |   49|  25.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 25.6k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  144|  25.6k|        const size_t structure_index = structure_stack_.back().structure_index;
  145|  25.6k|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   49|  25.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 25.6k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  146|       |
  147|  25.6k|        const size_t size = item_stack_.size() - (structure_index + 1);
  148|  25.6k|        auto first = item_stack_.begin() + (structure_index+1);
  149|  25.6k|        auto& structure = structure_stack_[structure_stack_.size()-2];
  150|  25.6k|        auto& obj = item_stack_[structure_index].value;
  151|       |
  152|  25.6k|        if (size > 0)
  ------------------
  |  Branch (152:13): [True: 14.1k, False: 11.5k]
  ------------------
  153|  14.1k|        {
  154|  14.1k|            obj.template cast<typename Json::object_storage>().value().uninitialized_init(
  155|  14.1k|                &item_stack_[structure_index+1], size);
  156|  14.1k|            item_stack_.erase(first, item_stack_.end());
  157|  14.1k|        }
  158|       |
  159|  25.6k|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (159:13): [True: 2.04k, False: 23.5k]
  ------------------
  160|  2.04k|        {
  161|  2.04k|            result_ = std::move(item_stack_.front().value);
  162|  2.04k|            item_stack_.pop_back();
  163|  2.04k|            is_valid_ = true;
  164|  2.04k|        }
  165|       |
  166|  25.6k|        structure_stack_.pop_back();
  167|  25.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  25.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  168|  25.6k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  171|  41.9k|    {
  172|  41.9k|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (172:13): [True: 19.6k, False: 22.3k]
  ------------------
  173|  19.6k|        {
  174|  19.6k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  175|  19.6k|            item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  176|  19.6k|        }
  177|  22.3k|        else
  178|  22.3k|        {
  179|  22.3k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  180|  22.3k|            item_stack_.emplace_back(key_type(alloc_), 0, json_array_arg, tag);
  181|  22.3k|        }
  182|  41.9k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  41.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  183|  41.9k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  220|  11.9M|    {
  221|  11.9M|        name_ = key_type(name.data(),name.length(),alloc_);
  222|  11.9M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  223|  11.9M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  389|  20.5M|    {
  390|  20.5M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (390:17): [True: 20.5M, False: 0]
  ------------------
  391|  20.5M|        {
  392|  11.7M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (392:13): [True: 11.7M, False: 8.87M]
  ------------------
  393|  11.7M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  394|  11.7M|                break;
  395|  8.87M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (395:13): [True: 8.87M, False: 11.7M]
  ------------------
  396|  8.87M|                item_stack_.emplace_back(key_type(alloc_), 0, null_type(), tag);
  397|  8.87M|                break;
  398|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (398:13): [True: 0, False: 20.5M]
  ------------------
  399|      0|                result_ = Json(null_type(), tag);
  400|      0|                is_valid_ = true;
  401|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  402|  20.5M|        }
  403|  20.5M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  20.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  404|  20.5M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  371|  23.7k|    {
  372|  23.7k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (372:17): [True: 23.7k, False: 0]
  ------------------
  373|  23.7k|        {
  374|  16.2k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (374:13): [True: 16.2k, False: 7.53k]
  ------------------
  375|  16.2k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  376|  16.2k|                break;
  377|  7.53k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (377:13): [True: 7.53k, False: 16.2k]
  ------------------
  378|  7.53k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  379|  7.53k|                break;
  380|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (380:13): [True: 0, False: 23.7k]
  ------------------
  381|      0|                result_ = Json(value, tag);
  382|      0|                is_valid_ = true;
  383|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  384|  23.7k|        }
  385|  23.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  23.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  23.7k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  226|   101k|    {
  227|   101k|        auto& structure = structure_stack_.back();
  228|   101k|        switch (structure.structure_kind)
  ------------------
  |  Branch (228:17): [True: 101k, False: 0]
  ------------------
  229|   101k|        {
  230|  88.6k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (230:13): [True: 88.6k, False: 13.2k]
  ------------------
  231|  88.6k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  232|  88.6k|                break;
  233|  13.2k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (233:13): [True: 13.2k, False: 88.6k]
  ------------------
  234|  13.2k|                item_stack_.emplace_back(key_type(alloc_), 0, sv, tag);
  235|  13.2k|                break;
  236|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (236:13): [True: 0, False: 101k]
  ------------------
  237|      0|                result_ = Json(sv, tag, alloc_);
  238|      0|                is_valid_ = true;
  239|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  240|   101k|        }
  241|   101k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   101k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  242|   101k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  269|  73.4k|    {
  270|  73.4k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (270:17): [True: 73.4k, False: 0]
  ------------------
  271|  73.4k|        {
  272|  59.6k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (272:13): [True: 59.6k, False: 13.8k]
  ------------------
  273|  59.6k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, raw_tag);
  274|  59.6k|                break;
  275|  13.8k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (275:13): [True: 13.8k, False: 59.6k]
  ------------------
  276|  13.8k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, raw_tag);
  277|  13.8k|                break;
  278|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (278:13): [True: 0, False: 73.4k]
  ------------------
  279|      0|                result_ = Json(byte_string_arg, b, raw_tag, alloc_);
  280|      0|                is_valid_ = true;
  281|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  282|  73.4k|        }
  283|  73.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  73.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|  73.4k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|     16|    {
  109|     16|        return is_valid_;
  110|     16|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|     16|    {
  114|     16|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   49|     16|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 16]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  115|     16|        is_valid_ = false;
  116|     16|        return std::move(result_);
  117|     16|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  5.02k|{
 1065|  5.02k|    return json_visitor_adaptor<From, To>(to);
 1066|  5.02k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  5.02k|        : supertype(visitor)
  984|  5.02k|    {
  985|  5.02k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  5.02k|        : destination1_(std::addressof(visitor))
  722|  5.02k|    {
  723|  5.02k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  19.2k|    {
  784|  19.2k|        destination1_->end_array(context, ec);
  785|  19.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  19.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  19.2k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  14.1k|    {
  826|  14.1k|        destination1_->uint64_value(value, tag, context, ec);
  827|  14.1k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  14.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  14.1k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  75.5k|    {
  820|  75.5k|        destination1_->int64_value(value, tag, context, ec);
  821|  75.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  75.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  75.5k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  16.8k|    {
  814|  16.8k|        destination1_->double_value(value, tag, context, ec);
  815|  16.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  16.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  16.8k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|     16|    {
  739|     16|        destination1_->flush();
  740|     16|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  745|  39.4k|    {
  746|  39.4k|        destination1_->begin_object(tag, context, ec);
  747|  39.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  39.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  748|  39.4k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  25.6k|    {
  761|  25.6k|        destination1_->end_object(context, ec);
  762|  25.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  25.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  25.6k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  768|  41.9k|    {
  769|  41.9k|        destination1_->begin_array(tag, context, ec);
  770|  41.9k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  41.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  771|  41.9k|    }
_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|  11.9M|    {
  996|  11.9M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  11.9M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  12.0M|    {
  733|  12.0M|        return *destination1_;
  734|  12.0M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  20.5M|    {
  838|  20.5M|        destination1_->null_value(tag, context, ec);
  839|  20.5M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  20.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  20.5M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  23.7k|    {
  832|  23.7k|        destination1_->bool_value(value, tag, context, ec);
  833|  23.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  23.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  23.7k|    }
_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|   101k|    {
 1004|   101k|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|   101k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS6_10error_codeE:
  801|  73.4k|    {
  802|  73.4k|        destination1_->byte_string_value(b, raw_tag, context, ec);
  803|  73.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  73.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|  73.4k|    }

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  10.0k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  10.0k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  28.2k|        {
  415|  28.2k|            visit_uint64(value, tag, context, ec);
  416|  28.2k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  28.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  28.2k|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  38.4k|        {
  352|  38.4k|            visit_end_array(context, ec);
  353|  38.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  38.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  38.4k|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|   151k|        {
  424|   151k|            visit_int64(value, tag, context, ec);
  425|   151k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   151k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|   151k|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  33.6k|        {
  442|  33.6k|            visit_double(value, tag, context, ec);
  443|  33.6k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  33.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  33.6k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|     32|        {
  109|     32|            visit_flush();
  110|     32|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  318|  78.9k|        {
  319|  78.9k|            visit_begin_object(tag, context, ec);
  320|  78.9k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  78.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  321|  78.9k|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  51.2k|        {
  334|  51.2k|            visit_end_object(context, ec);
  335|  51.2k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  51.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  51.2k|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  339|  83.8k|        {
  340|  83.8k|            visit_begin_array(tag, context, ec);
  341|  83.8k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  83.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  342|  83.8k|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  23.9M|        {
  358|  23.9M|            visit_key(name, context, ec);
  359|  23.9M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  23.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  23.9M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  41.1M|        {
  366|  41.1M|            visit_null(tag, context, ec);
  367|  41.1M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  41.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  41.1M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  47.5k|        {
  375|  47.5k|            visit_bool(value, tag, context, ec);
  376|  47.5k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  47.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  47.5k|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|   203k|        {
  384|   203k|            visit_string(value, tag, context, ec);
  385|   203k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   203k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|   203k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|   146k|        {
  406|   146k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|   146k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   146k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|   146k|        }

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|  62.9k|    {
  121|  62.9k|        return value_;
  122|  62.9k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  46.0M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  14.1k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  14.1k|    {
   45|  14.1k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  53.1M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  75.5k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  75.5k|    {
   45|  75.5k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  16.8k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  16.8k|    {
   45|  16.8k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  39.4k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  39.4k|    {
   45|  39.4k|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|  46.5k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|  46.5k|    {
   88|  46.5k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  41.9k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  41.9k|    {
   45|  41.9k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  20.5M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  20.5M|    {
   45|  20.5M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  23.7k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  23.7k|    {
   45|  23.7k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|   101k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   101k|    {
   45|   101k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  73.4k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  73.4k|    {
   45|  73.4k|    }

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  3.50k|        {
  159|  3.50k|            return data_.empty();
  160|  3.50k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  4.03k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  4.03k|        {
  169|  4.03k|            return data_.begin();
  170|  4.03k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  4.03k|        {
  174|  4.03k|            return data_.end();
  175|  4.03k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  39.4k|        {
  154|  39.4k|            flatten_and_destroy();
  155|  39.4k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|  39.4k|        {
  725|  39.4k|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 11.0k, False: 28.4k]
  ------------------
  726|  11.0k|            {
  727|  11.0k|                json_array<Json> temp(get_allocator());
  728|       |
  729|  11.0k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 41.9k, False: 11.0k]
  ------------------
  730|  41.9k|                {
  731|  41.9k|                    switch (kv.value().storage_kind())
  732|  41.9k|                    {
  733|  4.33k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 4.33k, False: 37.6k]
  ------------------
  734|  6.20k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 1.87k, False: 40.0k]
  ------------------
  735|  6.20k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 3.47k, False: 2.73k]
  ------------------
  736|  3.47k|                            {
  737|  3.47k|                                temp.emplace_back(std::move(kv.value()));
  738|  3.47k|                            }
  739|  6.20k|                            break;
  740|  35.7k|                        default:
  ------------------
  |  Branch (740:25): [True: 35.7k, False: 6.20k]
  ------------------
  741|  35.7k|                            break;
  742|  41.9k|                    }
  743|  41.9k|                }
  744|  11.0k|            }
  745|  39.4k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  39.4k|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  14.1k|        {
  278|  14.1k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 14.1k, False: 0]
  ------------------
  279|  14.1k|            {
  280|  14.1k|                data_.reserve(count);
  281|       |
  282|  14.1k|                std::sort(items, items+count, compare);
  283|  14.1k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  9.03M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 9.01M, False: 14.1k]
  ------------------
  286|  9.01M|                {
  287|  9.01M|                    auto& item = items[i];
  288|  9.01M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 32.3k, False: 8.98M]
  ------------------
  289|  32.3k|                    {
  290|  32.3k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|  32.3k|                    }
  292|  9.01M|                }
  293|  14.1k|            }
  294|  14.1k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|   213M|        {
  269|   213M|            int comp = item1.name.compare(item2.name); 
  270|   213M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 1.38M, False: 212M]
  ------------------
  271|   212M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 211M, False: 458k]
  ------------------
  272|       |
  273|   458k|            return false;
  274|   212M|        }

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  176|  5.02k|        : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  177|  5.02k|          chunk_size_(default_max_chunk_size)
  178|  5.02k|    {
  179|  5.02k|        chunk_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, chunk_size_);
  180|  5.02k|        data_end_ = chunk_;
  181|  5.02k|    }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   57|  5.02k|      : std::basic_istream<CharT>(&nb_)
   58|  5.02k|    {
   59|  5.02k|    }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   43|  5.02k|        null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  193|  5.02k|    {
  194|  5.02k|        if (chunk_)
  ------------------
  |  Branch (194:13): [True: 5.02k, False: 0]
  ------------------
  195|  5.02k|        {
  196|  5.02k|            std::allocator_traits<char_allocator_type>::deallocate(alloc_, chunk_, chunk_size_);
  197|  5.02k|        }
  198|  5.02k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|  5.00k|    {
  282|  5.00k|        return position_;
  283|  5.00k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  5.02k|    {
  277|  5.02k|        return stream_ptr_->bad();  
  278|  5.02k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  377|  82.7M|    {
  378|  82.7M|        std::size_t len = 0;
  379|  82.7M|        if (remaining_ > 0)
  ------------------
  |  Branch (379:13): [True: 82.7M, False: 10.9k]
  ------------------
  380|  82.7M|        {
  381|  82.7M|            len = (std::min)(remaining_, length);
  382|  82.7M|            std::memcpy(p, data_end_, len*sizeof(value_type));
  383|  82.7M|            data_end_ += len;
  384|  82.7M|            remaining_ -= len;
  385|  82.7M|            position_ += len;
  386|  82.7M|        }
  387|  82.7M|        if (length - len == 0)
  ------------------
  |  Branch (387:13): [True: 82.7M, False: 12.6k]
  ------------------
  388|  82.7M|        {
  389|  82.7M|            return len;
  390|  82.7M|        }
  391|  12.6k|        else if (length - len < chunk_size_)
  ------------------
  |  Branch (391:18): [True: 12.6k, False: 0]
  ------------------
  392|  12.6k|        {
  393|  12.6k|            data_end_ = chunk_;
  394|  12.6k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  395|  12.6k|            if (remaining_ > 0)
  ------------------
  |  Branch (395:17): [True: 10.9k, False: 1.69k]
  ------------------
  396|  10.9k|            {
  397|  10.9k|                std::size_t len2 = (std::min)(remaining_, length-len);
  398|  10.9k|                std::memcpy(p+len, data_end_, len2*sizeof(value_type));
  399|  10.9k|                data_end_ += len2;
  400|  10.9k|                remaining_ -= len2;
  401|  10.9k|                position_ += len2;
  402|  10.9k|                len += len2;
  403|  10.9k|            }
  404|  12.6k|            return len;
  405|  12.6k|        }
  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|  82.7M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  442|  13.7k|    {
  443|  13.7k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (443:13): [True: 1.71k, False: 11.9k]
  ------------------
  444|  1.71k|        {
  445|  1.71k|            return 0;
  446|  1.71k|        }
  447|       |
  448|  11.9k|        JSONCONS_TRY
  ------------------
  |  |   37|  11.9k|    #define JSONCONS_TRY try
  ------------------
  449|  11.9k|        {
  450|  11.9k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  451|  11.9k|            std::size_t length = static_cast<std::size_t>(count);
  452|       |
  453|  11.9k|            if (length < chunk_size)
  ------------------
  |  Branch (453:17): [True: 5.00k, False: 6.98k]
  ------------------
  454|  5.00k|            {
  455|  5.00k|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  456|  5.00k|            }
  457|  11.9k|            return length;
  458|  11.9k|        }
  459|  11.9k|        JSONCONS_CATCH(const std::exception&)     
  460|  11.9k|        {
  461|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  462|      0|            return 0;
  463|      0|        }
  464|  11.9k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_12basic_stringIcNS1_11char_traitsIcEENS2_IcEEEEEENS_6detail4spanIKhLm18446744073709551615EEEmOT_:
  352|  5.18k|    {
  353|  5.18k|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   78|  5.18k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.20k, False: 3.97k]
  |  |  ------------------
  ------------------
  354|  1.20k|        {
  355|  1.20k|            return span<const value_type>{};
  356|  1.20k|        }
  357|  3.97k|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 151, False: 3.82k]
  |  Branch (357:32): [True: 34, False: 117]
  ------------------
  358|     34|        {
  359|     34|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|     34|            data_end_ = chunk_;
  361|     34|        }
  362|  3.97k|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 464, False: 3.50k]
  ------------------
  363|    464|        {
  364|    464|            buffer.clear();
  365|    464|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    464|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    464|        }
  368|       |
  369|  3.50k|        const value_type* data = data_end_;
  370|  3.50k|        data_end_ += length;
  371|  3.50k|        remaining_ -= length;
  372|  3.50k|        position_ += length;
  373|  3.50k|        return span<const value_type>(data, length);
  374|  3.97k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_12basic_stringIcNS2_11char_traitsIcEENS3_IcEEEEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSG_m:
  746|    464|    {
  747|    464|        std::size_t unread = length;
  748|       |
  749|  1.64k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 1.41k, False: 222]
  |  Branch (749:30): [True: 1.17k, False: 242]
  ------------------
  750|  1.17k|        {
  751|  1.17k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 480, False: 697]
  |  Branch (751:44): [True: 479, False: 1]
  ------------------
  752|    479|            {
  753|    479|                std::size_t n = source.chunk_size();
  754|    479|                std::size_t offset = buffer.size();
  755|    479|                buffer.resize(offset+n);
  756|    479|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|    479|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|    479|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 57, False: 422]
  |  |  ------------------
  ------------------
  758|     57|                {
  759|     57|                    buffer.resize(offset+actual);
  760|     57|                }
  761|    479|                unread -= actual;
  762|    479|            }
  763|    698|            else
  764|    698|            {
  765|    698|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|    698|                std::size_t offset = buffer.size();
  767|    698|                buffer.resize(offset+n);
  768|    698|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|    698|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|    698|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 106, False: 592]
  |  |  ------------------
  ------------------
  770|    106|                {
  771|    106|                    buffer.resize(offset + actual);
  772|    106|                }
  773|    698|                unread -= actual;
  774|    698|            }
  775|  1.17k|        }
  776|    464|        return length - unread;
  777|    464|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  3.40k|    {
  272|  3.40k|        return remaining_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 1.55k, False: 1.85k]
  |  Branch (272:35): [True: 576, False: 976]
  ------------------
  273|  3.40k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9remainingEv:
  346|  2.83k|    {
  347|  2.83k|        return remaining_;
  348|  2.83k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|  3.80k|    {
  262|  3.80k|        return chunk_size_;
  263|  3.80k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11read_bufferEPhm:
  435|    971|    {
  436|    971|        auto len = fill_buffer(chunk, chunk_size);
  437|    971|        position_ += len;
  438|    971|        return len;
  439|    971|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_6vectorIhS3_EEEENS_6detail4spanIKhLm18446744073709551615EEEmOT_:
  352|  73.8k|    {
  353|  73.8k|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   78|  73.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 31.4k, False: 42.3k]
  |  |  ------------------
  ------------------
  354|  31.4k|        {
  355|  31.4k|            return span<const value_type>{};
  356|  31.4k|        }
  357|  42.3k|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 199, False: 42.1k]
  |  Branch (357:32): [True: 75, False: 124]
  ------------------
  358|     75|        {
  359|     75|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|     75|            data_end_ = chunk_;
  361|     75|        }
  362|  42.3k|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 636, False: 41.6k]
  ------------------
  363|    636|        {
  364|    636|            buffer.clear();
  365|    636|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    636|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    636|        }
  368|       |
  369|  41.6k|        const value_type* data = data_end_;
  370|  41.6k|        data_end_ += length;
  371|  41.6k|        remaining_ -= length;
  372|  41.6k|        position_ += length;
  373|  41.6k|        return span<const value_type>(data, length);
  374|  42.3k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSD_m:
  746|    636|    {
  747|    636|        std::size_t unread = length;
  748|       |
  749|  2.28k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 1.98k, False: 302]
  |  Branch (749:30): [True: 1.65k, False: 334]
  ------------------
  750|  1.65k|        {
  751|  1.65k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 496, False: 1.15k]
  |  Branch (751:44): [True: 492, False: 4]
  ------------------
  752|    492|            {
  753|    492|                std::size_t n = source.chunk_size();
  754|    492|                std::size_t offset = buffer.size();
  755|    492|                buffer.resize(offset+n);
  756|    492|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|    492|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|    492|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 63, False: 429]
  |  |  ------------------
  ------------------
  758|     63|                {
  759|     63|                    buffer.resize(offset+actual);
  760|     63|                }
  761|    492|                unread -= actual;
  762|    492|            }
  763|  1.16k|            else
  764|  1.16k|            {
  765|  1.16k|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|  1.16k|                std::size_t offset = buffer.size();
  767|  1.16k|                buffer.resize(offset+n);
  768|  1.16k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|  1.16k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|  1.16k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 193, False: 968]
  |  |  ------------------
  ------------------
  770|    193|                {
  771|    193|                    buffer.resize(offset + actual);
  772|    193|                }
  773|  1.16k|                unread -= actual;
  774|  1.16k|            }
  775|  1.65k|        }
  776|    636|        return length - unread;
  777|    636|    }

_ZN8jsoncons6binary16little_to_nativeIiNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|   220k|    {
  198|   220k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 220k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|   220k|        T val;
  203|   220k|        std::memcpy(&val,first,sizeof(T));
  204|   220k|        return val;
  205|   220k|    }
_ZN8jsoncons6binary16little_to_nativeIdNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|  16.8k|    {
  198|  16.8k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 16.8k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|  16.8k|        T val;
  203|  16.8k|        std::memcpy(&val,first,sizeof(T));
  204|  16.8k|        return val;
  205|  16.8k|    }
_ZN8jsoncons6binary16little_to_nativeImNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|  39.2k|    {
  198|  39.2k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 39.2k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|  39.2k|        T val;
  203|  39.2k|        std::memcpy(&val,first,sizeof(T));
  204|  39.2k|        return val;
  205|  39.2k|    }
_ZN8jsoncons6binary16little_to_nativeIlNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|  15.0k|    {
  198|  15.0k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 15.0k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|  15.0k|        T val;
  203|  15.0k|        std::memcpy(&val,first,sizeof(T));
  204|  15.0k|        return val;
  205|  15.0k|    }

_ZNK8jsoncons16byte_string_view4dataEv:
  399|   220k|        {
  400|   220k|            return data_;
  401|   220k|        }
_ZNK8jsoncons16byte_string_view4sizeEv:
  403|   220k|        {
  404|   220k|            return size_;
  405|   220k|        }
_ZN8jsoncons16byte_string_viewC2EPKhm:
  362|   220k|            : data_(data), size_(length)
  363|   220k|        {
  364|   220k|        }

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  47.2k|    {       
  242|  47.2k|        return (ptr);
  243|  47.2k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|  73.4k|    {       
  242|  73.4k|        return (ptr);
  243|  73.4k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  83.8k|    {       
  242|  83.8k|        return (ptr);
  243|  83.8k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  78.9k|    {       
  242|  78.9k|        return (ptr);
  243|  78.9k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|   120k|    {       
  242|   120k|        return (ptr);
  243|   120k|    }  

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  11.9M|    {
 1148|  11.9M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  11.9M|        const uint8_t* end = it + length;
 1150|       |
 1151|  11.9M|        unicode_errc  result{};
 1152|  16.1M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 4.14M, False: 11.9M]
  ------------------
 1153|  4.14M|        {
 1154|  4.14M|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 3.35M, False: 794k]
  ------------------
 1155|  3.35M|            {
 1156|  23.3M|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  281|  6.70M|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (281:32): [True: 3.34M, False: 4.75k]
  |  |  |  Branch (281:34): [True: 3.34M, False: 1.33k]
  |  |  |  Branch (281:36): [True: 3.34M, False: 1.92k]
  |  |  |  Branch (281:38): [True: 3.34M, False: 1.74k]
  |  |  |  Branch (281:40): [True: 3.33M, False: 2.39k]
  |  |  |  Branch (281:42): [True: 3.33M, False: 2.65k]
  |  |  |  Branch (281:44): [True: 3.33M, False: 1.22k]
  |  |  |  Branch (281:46): [True: 3.33M, False: 2.16k]
  |  |  ------------------
  ------------------
 1157|  3.33M|                continue;
 1158|  23.3M|            }
 1159|   812k|    non_ascii:
 1160|   812k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|   812k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 45, False: 812k]
  ------------------
 1162|     45|            {
 1163|     45|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     45|            }
 1165|   812k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 156, False: 812k]
  ------------------
 1166|    156|            {
 1167|    156|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    156|            }
 1169|   812k|            it += len;
 1170|   812k|        }
 1171|  11.9M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  11.9M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|   812k|    {
  306|   812k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|   812k|        const uint8_t* end = it+length;
  308|       |
  309|   812k|        uint8_t byte;
  310|   812k|        switch (length) {
  311|     29|        default:
  ------------------
  |  Branch (311:9): [True: 29, False: 812k]
  ------------------
  312|     29|            return unicode_errc::over_long_utf8_sequence;
  313|  6.04k|        case 4:
  ------------------
  |  Branch (313:9): [True: 6.04k, False: 806k]
  ------------------
  314|  6.04k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 9, False: 6.03k]
  ------------------
  315|      9|                return unicode_errc::bad_continuation_byte;
  316|  6.03k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  6.03k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  12.5k|        case 3:
  ------------------
  |  Branch (317:9): [True: 6.50k, False: 806k]
  ------------------
  318|  12.5k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 13, False: 12.5k]
  ------------------
  319|     13|                return unicode_errc::bad_continuation_byte;
  320|  12.5k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  12.5k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  18.6k|        case 2:
  ------------------
  |  Branch (321:9): [True: 6.11k, False: 806k]
  ------------------
  322|  18.6k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 32, False: 18.6k]
  ------------------
  323|     32|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  18.6k|            switch (*it) 
  326|  18.6k|            {
  327|       |                // no fall-through in this inner switch
  328|  1.42k|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 1.42k, False: 17.1k]
  |  Branch (328:32): [True: 6, False: 1.42k]
  ------------------
  329|  1.42k|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 1.12k, False: 17.4k]
  |  Branch (329:32): [True: 3, False: 1.11k]
  ------------------
  330|  1.11k|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 350, False: 18.2k]
  |  Branch (330:32): [True: 6, False: 344]
  ------------------
  331|    806|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 806, False: 17.8k]
  |  Branch (331:32): [True: 3, False: 803]
  ------------------
  332|  14.9k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 14.9k, False: 3.70k]
  |  Branch (332:32): [True: 0, False: 14.9k]
  ------------------
  333|  18.6k|            }
  334|       |
  335|  18.5k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  18.5k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|   812k|        case 1:
  ------------------
  |  Branch (336:9): [True: 793k, False: 18.6k]
  ------------------
  337|   812k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 18.6k, False: 793k]
  |  Branch (337:32): [True: 53, False: 18.5k]
  ------------------
  338|     53|                return unicode_errc::source_illegal;
  339|   812k|            break;
  340|   812k|        }
  341|   812k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 2, False: 812k]
  ------------------
  342|      2|            return unicode_errc::source_illegal;
  343|       |
  344|   812k|        return unicode_errc();
  345|   812k|    }

_ZN8jsoncons12from_integerIiNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  10.6k|{
   43|  10.6k|    using char_type = typename Result::value_type;
   44|       |
   45|  10.6k|    char_type buf[255];
   46|  10.6k|    char_type *p = buf;
   47|  10.6k|    const char_type* last = buf+255;
   48|       |
   49|  10.6k|    bool is_negative = value < 0;
   50|       |
   51|  10.6k|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 8.56k, False: 2.10k]
  ------------------
   52|  8.56k|    {
   53|  8.56k|        do
   54|  34.0k|        {
   55|  34.0k|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  34.0k|        }
   57|  34.0k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 25.4k, False: 8.56k]
  |  Branch (57:33): [True: 25.4k, False: 0]
  ------------------
   58|  8.56k|    }
   59|  2.10k|    else
   60|  2.10k|    {
   61|       |
   62|  2.10k|        do
   63|  8.20k|        {
   64|  8.20k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  8.20k|        }
   66|  8.20k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 6.10k, False: 2.10k]
  |  Branch (66:33): [True: 6.10k, False: 0]
  ------------------
   67|  2.10k|    }
   68|  10.6k|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  10.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 10.6k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  10.6k|    std::size_t count = (p - buf);
   71|  10.6k|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 8.56k, False: 2.10k]
  ------------------
   72|  8.56k|    {
   73|  8.56k|        result.push_back('-');
   74|  8.56k|        ++count;
   75|  8.56k|    }
   76|  52.9k|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 42.2k, False: 10.6k]
  ------------------
   77|  42.2k|    {
   78|  42.2k|        result.push_back(*p);
   79|  42.2k|    }
   80|       |
   81|  10.6k|    return count;
   82|  10.6k|}

_ZN8jsoncons4bson3TP1C2Ev:
   78|  12.5k|        constexpr TP1() : low(0), high(0) {}
_ZN8jsoncons4bson19decimal128_to_charsEPcS1_RKNS0_3TP1E:
  335|  12.5k|    {
  336|  12.5k|        static const std::string bson_decimal128_inf = "Infinity";
  337|  12.5k|        static const std::string bson_decimal128_nan = "NaN";
  338|       |
  339|  12.5k|        static constexpr uint32_t combination_mask = 0x1f;   /* Extract least significant 5 bits */
  340|  12.5k|        static constexpr uint32_t exponent_mask = 0x3fff;    /* Extract least significant 14 bits */
  341|  12.5k|        static constexpr uint32_t combination_infinity = 30; /* Value of combination field for Inf */
  342|  12.5k|        static constexpr uint32_t combination_nan = 31;      /* Value of combination field for NaN */
  343|  12.5k|        static constexpr uint32_t exponent_bias = 6176;      /* decimal128 exponent bias */
  344|       |
  345|  12.5k|        char* str_out = first;      /* output pointer in string */
  346|  12.5k|        char significand_str[35]; /* decoded significand digits */
  347|       |
  348|       |        /* Note: bits in this routine are referred to starting at 0, */
  349|       |        /* from the sign bit, towards the coefficient. */
  350|  12.5k|        uint32_t high;                   /* bits 0 - 31 */
  351|  12.5k|        uint32_t midh;                   /* bits 32 - 63 */
  352|  12.5k|        uint32_t midl;                   /* bits 64 - 95 */
  353|  12.5k|        uint32_t low;                    /* bits 96 - 127 */
  354|  12.5k|        uint32_t combination;            /* bits 1 - 5 */
  355|  12.5k|        uint32_t biased_exponent;        /* decoded biased exponent (14 bits) */
  356|  12.5k|        uint32_t significand_digits = 0; /* the number of significand digits */
  357|  12.5k|        uint32_t significand[36] = {0};  /* the base-10 digits in the significand */
  358|  12.5k|        uint32_t *significand_read = significand; /* read pointer into significand */
  359|  12.5k|        int32_t exponent;                         /* unbiased exponent */
  360|  12.5k|        int32_t scientific_exponent; /* the exponent if scientific notation is
  361|       |                                      * used */
  362|  12.5k|        bool is_zero = false;        /* true if the number is zero */
  363|       | 
  364|  12.5k|        uint8_t significand_msb; /* the most signifcant significand bits (50-46) */
  365|  12.5k|        bson_uint128_t
  366|  12.5k|           significand128; /* temporary storage for significand decoding */
  367|       | 
  368|  12.5k|        memset (significand_str, 0, sizeof (significand_str));
  369|       | 
  370|  12.5k|        if ((int64_t) dec.high < 0) { /* negative */
  ------------------
  |  Branch (370:13): [True: 2.67k, False: 9.91k]
  ------------------
  371|  2.67k|           *(str_out++) = '-';
  372|  2.67k|        }
  373|       | 
  374|  12.5k|        low = (uint32_t) dec.low, midl = (uint32_t) (dec.low >> 32),
  375|  12.5k|        midh = (uint32_t) dec.high, high = (uint32_t) (dec.high >> 32);
  376|       | 
  377|       |        /* Decode combination field and exponent */
  378|  12.5k|        combination = (high >> 26) & combination_mask;
  379|       | 
  380|  12.5k|        if (JSONCONS_UNLIKELY ((combination >> 3) == 3)) {
  ------------------
  |  |   78|  12.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2.76k, False: 9.81k]
  |  |  ------------------
  ------------------
  381|       |           /* Check for 'special' values */
  382|  2.76k|           if (combination == combination_infinity) { /* Infinity */
  ------------------
  |  Branch (382:16): [True: 196, False: 2.57k]
  ------------------
  383|    196|               if (last-str_out >= static_cast<ptrdiff_t >(bson_decimal128_inf.size())) 
  ------------------
  |  Branch (383:20): [True: 196, False: 0]
  ------------------
  384|    196|               {
  385|    196|                   std::memcpy(str_out, bson_decimal128_inf.data(), bson_decimal128_inf.size());
  386|    196|                   str_out += bson_decimal128_inf.size();
  387|    196|               }
  388|    196|               *str_out = 0;
  389|       |              //strcpy_s (str_out, last-str_out, bson_decimal128_inf.c_str());
  390|    196|              return decimal128_to_chars_result{str_out, std::errc{}};
  391|  2.57k|           } else if (combination == combination_nan) { /* NaN */
  ------------------
  |  Branch (391:23): [True: 727, False: 1.84k]
  ------------------
  392|       |               /* first, not str_out, to erase the sign */
  393|    727|               str_out = first;
  394|    727|               if (last-str_out >= static_cast<ptrdiff_t >(bson_decimal128_nan.size())) 
  ------------------
  |  Branch (394:20): [True: 727, False: 0]
  ------------------
  395|    727|               {
  396|    727|                   std::memcpy(str_out, bson_decimal128_nan.data(), bson_decimal128_nan.size());
  397|    727|                   str_out += bson_decimal128_nan.size();
  398|    727|               }
  399|    727|               *str_out = 0;
  400|       |              //strcpy_s (first, last-first, bson_decimal128_nan.c_str());
  401|       |              /* we don't care about the NaN payload. */
  402|    727|               return decimal128_to_chars_result{str_out, std::errc{}};
  403|  1.84k|           } else {
  404|  1.84k|              biased_exponent = (high >> 15) & exponent_mask;
  405|  1.84k|              significand_msb = 0x8 + ((high >> 14) & 0x1);
  406|  1.84k|           }
  407|  9.81k|        } else {
  408|  9.81k|           significand_msb = (high >> 14) & 0x7;
  409|  9.81k|           biased_exponent = (high >> 17) & exponent_mask;
  410|  9.81k|        }
  411|       | 
  412|  11.6k|        exponent = biased_exponent - exponent_bias;
  413|       |        /* Create string of significand digits */
  414|       | 
  415|       |        /* Convert the 114-bit binary number represented by */
  416|       |        /* (high, midh, midl, low) to at most 34 decimal */
  417|       |        /* digits through modulo and division. */
  418|  11.6k|        significand128.parts[0] = (high & 0x3fff) + ((significand_msb & 0xf) << 14);
  419|  11.6k|        significand128.parts[1] = midh;
  420|  11.6k|        significand128.parts[2] = midl;
  421|  11.6k|        significand128.parts[3] = low;
  422|       | 
  423|  11.6k|        if (significand128.parts[0] == 0 && significand128.parts[1] == 0 &&
  ------------------
  |  Branch (423:13): [True: 3.95k, False: 7.70k]
  |  Branch (423:45): [True: 1.89k, False: 2.05k]
  ------------------
  424|  1.89k|            significand128.parts[2] == 0 && significand128.parts[3] == 0) {
  ------------------
  |  Branch (424:13): [True: 1.55k, False: 347]
  |  Branch (424:45): [True: 880, False: 672]
  ------------------
  425|    880|           is_zero = true;
  426|  10.7k|        } else if (significand128.parts[0] >= (1 << 17)) {
  ------------------
  |  Branch (426:20): [True: 1.84k, False: 8.93k]
  ------------------
  427|       |           /* The significand is non-canonical or zero.
  428|       |            * In order to preserve compatibility with the densely packed decimal
  429|       |            * format, the maximum value for the significand of decimal128 is
  430|       |            * 1e34 - 1.  If the value is greater than 1e34 - 1, the IEEE 754
  431|       |            * standard dictates that the significand is interpreted as zero.
  432|       |            */
  433|  1.84k|           is_zero = true;
  434|  8.93k|        } else {
  435|  44.6k|           for (int k = 3; k >= 0; k--) {
  ------------------
  |  Branch (435:28): [True: 35.7k, False: 8.93k]
  ------------------
  436|  35.7k|              uint32_t least_digits = 0;
  437|  35.7k|              detail::bson_uint128_divide1B (
  438|  35.7k|                 significand128, &significand128, &least_digits);
  439|       | 
  440|       |              /* We now have the 9 least significant digits (in base 2). */
  441|       |              /* Convert and output to string. */
  442|  35.7k|              if (!least_digits) {
  ------------------
  |  Branch (442:19): [True: 2.14k, False: 33.6k]
  ------------------
  443|  2.14k|                 continue;
  444|  2.14k|              }
  445|       | 
  446|   336k|              for (int j = 8; j >= 0; j--) {
  ------------------
  |  Branch (446:31): [True: 302k, False: 33.6k]
  ------------------
  447|   302k|                 significand[k * 9 + j] = least_digits % 10;
  448|   302k|                 least_digits /= 10;
  449|   302k|              }
  450|  33.6k|           }
  451|  8.93k|        }
  452|       | 
  453|       |        /* Output format options: */
  454|       |        /* Scientific - [-]d.dddE(+/-)dd or [-]dE(+/-)dd */
  455|       |        /* Regular    - ddd.ddd */
  456|       | 
  457|  11.6k|        if (is_zero) {
  ------------------
  |  Branch (457:13): [True: 2.72k, False: 8.93k]
  ------------------
  458|  2.72k|           significand_digits = 1;
  459|  2.72k|           *significand_read = 0;
  460|  8.93k|        } else {
  461|  8.93k|           significand_digits = 36;
  462|  65.8k|           while (!(*significand_read)) {
  ------------------
  |  Branch (462:19): [True: 56.9k, False: 8.93k]
  ------------------
  463|  56.9k|              significand_digits--;
  464|  56.9k|              significand_read++;
  465|  56.9k|           }
  466|  8.93k|        }
  467|       | 
  468|  11.6k|        scientific_exponent = significand_digits - 1 + exponent;
  469|       | 
  470|       |        /* The scientific exponent checks are dictated by the string conversion
  471|       |         * specification and are somewhat arbitrary cutoffs.
  472|       |         *
  473|       |         * We must check exponent > 0, because if this is the case, the number
  474|       |         * has trailing zeros.  However, we *cannot* output these trailing zeros,
  475|       |         * because doing so would change the precision of the value, and would
  476|       |         * change stored data if the string converted number is round tripped.
  477|       |         */
  478|  11.6k|        if (scientific_exponent < -6 || exponent > 0) {
  ------------------
  |  Branch (478:13): [True: 8.56k, False: 3.10k]
  |  Branch (478:41): [True: 2.10k, False: 995]
  ------------------
  479|       |           /* Scientific format */
  480|  10.6k|           *(str_out++) = char(*(significand_read++)) + '0';
  481|  10.6k|           significand_digits--;
  482|       | 
  483|  10.6k|           if (significand_digits) {
  ------------------
  |  Branch (483:16): [True: 7.95k, False: 2.70k]
  ------------------
  484|  7.95k|              *(str_out++) = '.';
  485|  7.95k|           }
  486|       | 
  487|   238k|           for (std::size_t i = 0; i < significand_digits && (str_out - first) < 36; i++) {
  ------------------
  |  Branch (487:36): [True: 227k, False: 10.6k]
  |  Branch (487:62): [True: 227k, False: 1]
  ------------------
  488|   227k|              *(str_out++) = char(*(significand_read++)) + '0';
  489|   227k|           }
  490|       |           /* Exponent */
  491|  10.6k|           *(str_out++) = 'E';
  492|       |
  493|  10.6k|           std::string s;
  494|  10.6k|           if (scientific_exponent >= 0) {
  ------------------
  |  Branch (494:16): [True: 2.10k, False: 8.56k]
  ------------------
  495|  2.10k|               s.push_back('+');
  496|  2.10k|           }
  497|  10.6k|           jsoncons::from_integer(scientific_exponent, s);
  498|  10.6k|           if (str_out + s.size() < last) 
  ------------------
  |  Branch (498:16): [True: 9.81k, False: 849]
  ------------------
  499|  9.81k|           {
  500|  9.81k|               std::memcpy(str_out, s.data(), s.size());
  501|  9.81k|           }
  502|    849|           else
  503|    849|           {
  504|    849|               return decimal128_to_chars_result{str_out, std::errc::value_too_large};
  505|    849|           }
  506|  9.81k|           str_out += s.size();
  507|  9.81k|        } else {
  508|       |           /* Regular format with no decimal place */
  509|    995|           if (exponent >= 0) {
  ------------------
  |  Branch (509:16): [True: 354, False: 641]
  ------------------
  510|  9.65k|              for (std::size_t i = 0; i < significand_digits && (str_out - first) < 36; i++) {
  ------------------
  |  Branch (510:39): [True: 9.30k, False: 354]
  |  Branch (510:65): [True: 9.30k, False: 0]
  ------------------
  511|  9.30k|                 *(str_out++) = char(*(significand_read++)) + '0';
  512|  9.30k|              }
  513|    641|           } else {
  514|    641|              int32_t radix_position = significand_digits + exponent;
  515|       | 
  516|    641|              if (radix_position > 0) { /* non-zero digits before radix */
  ------------------
  |  Branch (516:19): [True: 298, False: 343]
  ------------------
  517|    298|                 for (int32_t i = 0;
  518|  1.81k|                      i < radix_position && (str_out < last);
  ------------------
  |  Branch (518:23): [True: 1.51k, False: 298]
  |  Branch (518:45): [True: 1.51k, False: 0]
  ------------------
  519|  1.51k|                      i++) {
  520|  1.51k|                    *(str_out++) = char(*(significand_read++)) + '0';
  521|  1.51k|                 }
  522|    343|              } else { /* leading zero before radix point */
  523|    343|                 *(str_out++) = '0';
  524|    343|              }
  525|       | 
  526|    641|              *(str_out++) = '.';
  527|  1.61k|              while (radix_position++ < 0) { /* add leading zeros after radix */
  ------------------
  |  Branch (527:22): [True: 970, False: 641]
  ------------------
  528|    970|                 *(str_out++) = '0';
  529|    970|              }
  530|       | 
  531|    641|              for (std::size_t i = 0;
  532|  18.9k|                   (i < significand_digits - (std::max) (radix_position - 1, 0)) &&
  ------------------
  |  Branch (532:20): [True: 18.3k, False: 625]
  |  Branch (532:20): [True: 18.2k, False: 641]
  ------------------
  533|  18.3k|                   (str_out < last);
  ------------------
  |  Branch (533:20): [True: 18.2k, False: 16]
  ------------------
  534|  18.2k|                   i++) {
  535|  18.2k|                 *(str_out++) = char(*(significand_read++)) + '0';
  536|  18.2k|              }
  537|    641|           }
  538|    995|        }
  539|  10.8k|        return decimal128_to_chars_result{str_out, std::errc{}};
  540|  11.6k|    }
_ZN8jsoncons4bson6detail21bson_uint128_divide1BENS0_14bson_uint128_tEPS2_Pj:
  178|  35.7k|        {
  179|  35.7k|            static constexpr uint32_t DIVISOR = 1000 * 1000 * 1000;
  180|  35.7k|            uint64_t _rem = 0;
  181|  35.7k|            int i = 0;
  182|       |            
  183|  35.7k|            if (!value.parts[0] && !value.parts[1] && !value.parts[2] &&
  ------------------
  |  Branch (183:17): [True: 29.8k, False: 5.86k]
  |  Branch (183:36): [True: 21.4k, False: 8.48k]
  |  Branch (183:55): [True: 11.7k, False: 9.70k]
  ------------------
  184|  11.7k|                !value.parts[3]) {
  ------------------
  |  Branch (184:17): [True: 2.14k, False: 9.56k]
  ------------------
  185|  2.14k|               *quotient = value;
  186|  2.14k|               *rem = 0;
  187|  2.14k|               return;
  188|  2.14k|            }
  189|       |            
  190|   168k|            for (i = 0; i <= 3; i++) {
  ------------------
  |  Branch (190:25): [True: 134k, False: 33.6k]
  ------------------
  191|   134k|               _rem <<= 32; /* Adjust remainder to match value of next dividend */
  192|   134k|               _rem += value.parts[i]; /* Add the divided to _rem */
  193|   134k|               value.parts[i] = (uint32_t) (_rem / DIVISOR);
  194|   134k|               _rem %= DIVISOR; /* Store the remainder */
  195|   134k|            }
  196|       |            
  197|  33.6k|            *quotient = value;
  198|  33.6k|            *rem = (uint32_t) _rem;
  199|  33.6k|        }

_ZN8jsoncons4bson15make_error_codeENS0_9bson_errcE:
   91|  5.08k|{
   92|  5.08k|    return std::error_code(static_cast<int>(result),bson_error_category());
   93|  5.08k|}
_ZN8jsoncons4bson19bson_error_categoryEv:
   84|  5.08k|{
   85|  5.08k|  static bson_error_category_impl instance;
   86|  5.08k|  return instance;
   87|  5.08k|}
_ZNK8jsoncons4bson24bson_error_category_impl7messageEi:
   45|  5.00k|    {
   46|  5.00k|        switch (static_cast<bson_errc>(ev))
   47|  5.00k|        {
   48|  1.90k|            case bson_errc::unexpected_eof:
  ------------------
  |  Branch (48:13): [True: 1.90k, False: 3.09k]
  ------------------
   49|  1.90k|                return "Unexpected end of file";
   50|      0|            case bson_errc::source_error:
  ------------------
  |  Branch (50:13): [True: 0, False: 5.00k]
  ------------------
   51|      0|                return "Source error";
   52|    201|            case bson_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (52:13): [True: 201, False: 4.80k]
  ------------------
   53|    201|                return "Illegal UTF-8 encoding in text string";
   54|      2|            case bson_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (54:13): [True: 2, False: 5.00k]
  ------------------
   55|      2|                return "Data item nesting exceeds limit in options";
   56|     34|            case bson_errc::string_length_is_non_positive:
  ------------------
  |  Branch (56:13): [True: 34, False: 4.97k]
  ------------------
   57|     34|                return "Request for the length of a string returned a non-positive result";
   58|     37|            case bson_errc::length_is_negative:
  ------------------
  |  Branch (58:13): [True: 37, False: 4.96k]
  ------------------
   59|     37|                return "Request for the length of a binary returned a negative result";
   60|    135|            case bson_errc::unknown_type:
  ------------------
  |  Branch (60:13): [True: 135, False: 4.86k]
  ------------------
   61|    135|                return "Unknown type in input";
   62|      0|            case bson_errc::number_too_large:
  ------------------
  |  Branch (62:13): [True: 0, False: 5.00k]
  ------------------
   63|      0|                return "Number too large";
   64|      0|            case bson_errc::invalid_decimal128_string:
  ------------------
  |  Branch (64:13): [True: 0, False: 5.00k]
  ------------------
   65|      0|                return "Invalid decimal128 string";
   66|      0|            case bson_errc::datetime_too_large:
  ------------------
  |  Branch (66:13): [True: 0, False: 5.00k]
  ------------------
   67|      0|                return "datetime too large";
   68|      0|            case bson_errc::datetime_too_small:
  ------------------
  |  Branch (68:13): [True: 0, False: 5.00k]
  ------------------
   69|      0|                return "datetime too small";
   70|      0|            case bson_errc::expected_bson_document:
  ------------------
  |  Branch (70:13): [True: 0, False: 5.00k]
  ------------------
   71|      0|                return "Expected BSON document";
   72|      0|            case bson_errc::invalid_regex_string:
  ------------------
  |  Branch (72:13): [True: 0, False: 5.00k]
  ------------------
   73|      0|                return "Invalid regex string";
   74|  2.68k|            case bson_errc::size_mismatch:
  ------------------
  |  Branch (74:13): [True: 2.68k, False: 2.31k]
  ------------------
   75|  2.68k|                return "Document or array size doesn't match bytes read";
   76|      0|            default:
  ------------------
  |  Branch (76:13): [True: 0, False: 5.00k]
  ------------------
   77|      0|                return "Unknown BSON parser error";
   78|  5.00k|        }
   79|  5.00k|    }

_ZN8jsoncons4bson5oid_tC2EPh:
   53|  5.16k|        {
   54|  5.16k|            std::memcpy(bytes_.data(),data,12);
   55|  5.16k|        }
_ZN8jsoncons4bson9to_stringINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEvRKNS0_5oid_tERT_:
  236|  5.16k|    {
  237|  5.16k|        s.resize(24);
  238|  5.16k|        detail::init_hex_char_pairs(oid, reinterpret_cast<uint16_t*>(&s[0]));
  239|  5.16k|    }
_ZN8jsoncons4bson6detail19init_hex_char_pairsERKNS0_5oid_tEPt:
  213|  5.16k|        {
  214|  5.16k|            const uint8_t* bytes = oid.data();
  215|  5.16k|            const uint16_t* gHexCharPairs = get_hex_char_pairs(std::integral_constant<bool, jsoncons::endian::native == jsoncons::endian::big>());
  216|       |
  217|  5.16k|            data[0] = gHexCharPairs[bytes[0]];
  218|  5.16k|            data[1] = gHexCharPairs[bytes[1]];
  219|  5.16k|            data[2] = gHexCharPairs[bytes[2]];
  220|  5.16k|            data[3] = gHexCharPairs[bytes[3]];
  221|  5.16k|            data[4] = gHexCharPairs[bytes[4]];
  222|  5.16k|            data[5] = gHexCharPairs[bytes[5]];
  223|  5.16k|            data[6] = gHexCharPairs[bytes[6]];
  224|  5.16k|            data[7] = gHexCharPairs[bytes[7]];
  225|  5.16k|            data[8] = gHexCharPairs[bytes[8]];
  226|  5.16k|            data[9] = gHexCharPairs[bytes[9]];
  227|  5.16k|            data[10] = gHexCharPairs[bytes[10]];
  228|  5.16k|            data[11] = gHexCharPairs[bytes[11]];
  229|  5.16k|        }
_ZNK8jsoncons4bson5oid_t4dataEv:
   67|  5.16k|        {
   68|  5.16k|            return bytes_.data();
   69|  5.16k|        }
_ZN8jsoncons4bson6detail18get_hex_char_pairsENSt3__117integral_constantIbLb0EEE:
  181|  5.16k|        {
  182|  5.16k|            static constexpr uint16_t hex_char_pairs[] = {
  183|  5.16k|                12336, 12592, 12848, 13104, 13360, 13616, 13872, 14128, 14384, 14640, 24880,
  184|  5.16k|                25136, 25392, 25648, 25904, 26160, 12337, 12593, 12849, 13105, 13361, 13617,
  185|  5.16k|                13873, 14129, 14385, 14641, 24881, 25137, 25393, 25649, 25905, 26161, 12338,
  186|  5.16k|                12594, 12850, 13106, 13362, 13618, 13874, 14130, 14386, 14642, 24882, 25138,
  187|  5.16k|                25394, 25650, 25906, 26162, 12339, 12595, 12851, 13107, 13363, 13619, 13875,
  188|  5.16k|                14131, 14387, 14643, 24883, 25139, 25395, 25651, 25907, 26163, 12340, 12596,
  189|  5.16k|                12852, 13108, 13364, 13620, 13876, 14132, 14388, 14644, 24884, 25140, 25396,
  190|  5.16k|                25652, 25908, 26164, 12341, 12597, 12853, 13109, 13365, 13621, 13877, 14133,
  191|  5.16k|                14389, 14645, 24885, 25141, 25397, 25653, 25909, 26165, 12342, 12598, 12854,
  192|  5.16k|                13110, 13366, 13622, 13878, 14134, 14390, 14646, 24886, 25142, 25398, 25654,
  193|  5.16k|                25910, 26166, 12343, 12599, 12855, 13111, 13367, 13623, 13879, 14135, 14391,
  194|  5.16k|                14647, 24887, 25143, 25399, 25655, 25911, 26167, 12344, 12600, 12856, 13112,
  195|  5.16k|                13368, 13624, 13880, 14136, 14392, 14648, 24888, 25144, 25400, 25656, 25912,
  196|  5.16k|                26168, 12345, 12601, 12857, 13113, 13369, 13625, 13881, 14137, 14393, 14649,
  197|  5.16k|                24889, 25145, 25401, 25657, 25913, 26169, 12385, 12641, 12897, 13153, 13409,
  198|  5.16k|                13665, 13921, 14177, 14433, 14689, 24929, 25185, 25441, 25697, 25953, 26209,
  199|  5.16k|                12386, 12642, 12898, 13154, 13410, 13666, 13922, 14178, 14434, 14690, 24930,
  200|  5.16k|                25186, 25442, 25698, 25954, 26210, 12387, 12643, 12899, 13155, 13411, 13667,
  201|  5.16k|                13923, 14179, 14435, 14691, 24931, 25187, 25443, 25699, 25955, 26211, 12388,
  202|  5.16k|                12644, 12900, 13156, 13412, 13668, 13924, 14180, 14436, 14692, 24932, 25188,
  203|  5.16k|                25444, 25700, 25956, 26212, 12389, 12645, 12901, 13157, 13413, 13669, 13925,
  204|  5.16k|                14181, 14437, 14693, 24933, 25189, 25445, 25701, 25957, 26213, 12390, 12646,
  205|  5.16k|                12902, 13158, 13414, 13670, 13926, 14182, 14438, 14694, 24934, 25190, 25446,
  206|  5.16k|                25702, 25958, 26214};
  207|       |
  208|  5.16k|            return hex_char_pairs;
  209|  5.16k|        }

_ZNK8jsoncons4bson19bson_options_common17max_nesting_depthEv:
   31|  5.02k|    {
   32|  5.02k|        return max_nesting_depth_;
   33|  5.02k|    }
_ZN8jsoncons4bson19bson_decode_optionsC1Ev:
   40|  5.02k|    bson_decode_options() = default;
_ZN8jsoncons4bson19bson_options_commonC2Ev:
   23|  5.02k|    bson_options_common() = default;
_ZN8jsoncons4bson19bson_options_commonD2Ev:
   25|  5.02k|    virtual ~bson_options_common() = default;

_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_19bson_decode_optionsERKS7_:
   85|  5.02k|       : source_(std::forward<Sourceable>(source)), 
   86|  5.02k|         max_nesting_depth_(options.max_nesting_depth()),
   87|  5.02k|         bytes_buffer_(temp_alloc),
   88|  5.02k|         name_buffer_(temp_alloc),
   89|  5.02k|         text_buffer_(temp_alloc),
   90|  5.02k|         state_stack_(temp_alloc)
   91|  5.02k|    {
   92|  5.02k|        state_stack_.emplace_back(parse_mode::root,0,0);
   93|  5.02k|    }
_ZN8jsoncons4bson11parse_stateC2ENS0_10parse_modeEmmh:
   48|  91.4k|        : mode(mode_), length(length_), pos(pos_), type(type_)
   49|  91.4k|    {
   50|  91.4k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  149|  5.00k|    {
  150|  5.00k|        return 0;
  151|  5.00k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  154|  5.00k|    {
  155|  5.00k|        return source_.position();
  156|  5.00k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
  101|  5.02k|    {
  102|  5.02k|        more_ = true;
  103|  5.02k|        done_ = false;
  104|  5.02k|        bytes_buffer_.clear();
  105|  5.02k|        name_buffer_.clear();
  106|  5.02k|        text_buffer_.clear();
  107|  5.02k|        state_stack_.clear();
  108|  5.02k|        state_stack_.emplace_back(parse_mode::root,0,0);
  109|  5.02k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  169|  5.02k|    {
  170|  5.02k|        if (JSONCONS_UNLIKELY(source_.is_error()))
  ------------------
  |  |   78|  5.02k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 5.02k]
  |  |  ------------------
  ------------------
  171|      0|        {
  172|      0|            ec = bson_errc::source_error;
  173|      0|            more_ = false;
  174|      0|            return;
  175|      0|        }
  176|       |        
  177|  33.0M|        while (!done_ && more_)
  ------------------
  |  Branch (177:16): [True: 33.0M, False: 16]
  |  Branch (177:26): [True: 33.0M, False: 4.01k]
  ------------------
  178|  33.0M|        {
  179|  33.0M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (179:21): [True: 33.0M, False: 0]
  ------------------
  180|  33.0M|            {
  181|  5.02k|                case parse_mode::root:
  ------------------
  |  Branch (181:17): [True: 5.02k, False: 33.0M]
  ------------------
  182|  5.02k|                    state_stack_.back().mode = parse_mode::accept;
  183|  5.02k|                    begin_document(visitor, ec);
  184|  5.02k|                    break;
  185|  12.0M|                case parse_mode::document:
  ------------------
  |  Branch (185:17): [True: 12.0M, False: 21.0M]
  ------------------
  186|  12.0M|                {
  187|  12.0M|                    uint8_t type;
  188|  12.0M|                    std::size_t n = source_.read(&type, 1);
  189|  12.0M|                    state_stack_.back().pos += n;
  190|  12.0M|                    if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   78|  12.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 717, False: 12.0M]
  |  |  ------------------
  ------------------
  191|    717|                    {
  192|    717|                        ec = bson_errc::unexpected_eof;
  193|    717|                        more_ = false;
  194|    717|                        return;
  195|    717|                    }
  196|  12.0M|                    if (type != 0x00)
  ------------------
  |  Branch (196:25): [True: 11.9M, False: 25.6k]
  ------------------
  197|  11.9M|                    {
  198|  11.9M|                        read_e_name(visitor,jsoncons::bson::bson_container_type::document,ec);
  199|  11.9M|                        state_stack_.back().mode = parse_mode::value;
  200|  11.9M|                        state_stack_.back().type = type;
  201|  11.9M|                    }
  202|  25.6k|                    else
  203|  25.6k|                    {
  204|  25.6k|                        end_document(visitor,ec);
  205|  25.6k|                    }
  206|  12.0M|                    break;
  207|  12.0M|                }
  208|  9.01M|                case parse_mode::array:
  ------------------
  |  Branch (208:17): [True: 9.01M, False: 24.0M]
  ------------------
  209|  9.01M|                {
  210|  9.01M|                    uint8_t type;
  211|  9.01M|                    std::size_t n = source_.read(&type, 1);
  212|  9.01M|                    state_stack_.back().pos += n;
  213|  9.01M|                    if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   78|  9.01M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 268, False: 9.01M]
  |  |  ------------------
  ------------------
  214|    268|                    {
  215|    268|                        ec = bson_errc::unexpected_eof;
  216|    268|                        more_ = false;
  217|    268|                        return;
  218|    268|                    }
  219|  9.01M|                    if (type != 0x00)
  ------------------
  |  Branch (219:25): [True: 8.99M, False: 19.2k]
  ------------------
  220|  8.99M|                    {
  221|  8.99M|                        read_e_name(visitor,jsoncons::bson::bson_container_type::array,ec);
  222|  8.99M|                        read_value(visitor, type, ec);
  223|  8.99M|                    }
  224|  19.2k|                    else
  225|  19.2k|                    {
  226|  19.2k|                        end_array(visitor,ec);
  227|  19.2k|                    }
  228|  9.01M|                    break;
  229|  9.01M|                }
  230|  11.9M|                case parse_mode::value:
  ------------------
  |  Branch (230:17): [True: 11.9M, False: 21.0M]
  ------------------
  231|  11.9M|                    state_stack_.back().mode = parse_mode::document;
  232|  11.9M|                    read_value(visitor,state_stack_.back().type,ec);
  233|  11.9M|                    break;
  234|     16|                case parse_mode::accept:
  ------------------
  |  Branch (234:17): [True: 16, False: 33.0M]
  ------------------
  235|     16|                {
  236|     16|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   49|     16|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 16]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  237|     16|                    state_stack_.clear();
  238|     16|                    more_ = false;
  239|     16|                    done_ = true;
  240|     16|                    visitor.flush();
  241|     16|                    break;
  242|     16|                }
  243|  33.0M|            }
  244|  33.0M|        }
  245|  5.02k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE14begin_documentERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  250|  39.5k|    {
  251|  39.5k|        if (JSONCONS_UNLIKELY(static_cast<int>(state_stack_.size()) > max_nesting_depth_))
  ------------------
  |  |   78|  39.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 39.5k]
  |  |  ------------------
  ------------------
  252|      1|        {
  253|      1|            ec = bson_errc::max_nesting_depth_exceeded;
  254|      1|            more_ = false;
  255|      1|            return;
  256|      1|        } 
  257|       |
  258|  39.5k|        uint8_t buf[sizeof(int32_t)]; 
  259|  39.5k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  260|  39.5k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   78|  39.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 39, False: 39.4k]
  |  |  ------------------
  ------------------
  261|     39|        {
  262|     39|            ec = bson_errc::unexpected_eof;
  263|     39|            more_ = false;
  264|     39|            return;
  265|     39|        }
  266|       |
  267|  39.4k|        auto length = binary::little_to_native<int32_t>(buf, sizeof(buf));
  268|       |
  269|  39.4k|        visitor.begin_object(semantic_tag::none, *this, ec);
  270|  39.4k|        more_ = !cursor_mode_;
  271|  39.4k|        state_stack_.emplace_back(parse_mode::document,length,n);
  272|  39.4k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_e_nameERNS_18basic_json_visitorIcEENS0_19bson_container_typeERNS3_10error_codeE:
  344|  20.9M|    {
  345|  20.9M|        name_buffer_.clear();
  346|  20.9M|        read_cstring(name_buffer_, ec);
  347|  20.9M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  20.9M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 173, False: 20.9M]
  |  |  ------------------
  ------------------
  348|    173|        {
  349|    173|            return;
  350|    173|        }
  351|  20.9M|        if (type == jsoncons::bson::bson_container_type::document)
  ------------------
  |  Branch (351:13): [True: 11.9M, False: 8.99M]
  ------------------
  352|  11.9M|        {
  353|  11.9M|            auto result = unicode_traits::validate(name_buffer_.data(),name_buffer_.size());
  354|  11.9M|            if (JSONCONS_UNLIKELY(result.ec != unicode_traits::unicode_errc()))
  ------------------
  |  |   78|  11.9M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 190, False: 11.9M]
  |  |  ------------------
  ------------------
  355|    190|            {
  356|    190|                ec = bson_errc::invalid_utf8_text_string;
  357|    190|                more_ = false;
  358|    190|                return;
  359|    190|            }
  360|  11.9M|            visitor.key(jsoncons::basic_string_view<char>(name_buffer_.data(),name_buffer_.length()), *this, ec);
  361|  11.9M|            more_ = !cursor_mode_;
  362|  11.9M|        }
  363|  20.9M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12read_cstringERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
  641|  21.1M|    {
  642|  21.1M|        uint8_t c = 0xff;
  643|  61.2M|        while (true)
  ------------------
  |  Branch (643:16): [True: 61.2M, Folded]
  ------------------
  644|  61.2M|        {
  645|  61.2M|            std::size_t n = source_.read(&c, 1);
  646|  61.2M|            state_stack_.back().pos += n;
  647|  61.2M|            if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   78|  61.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 224, False: 61.2M]
  |  |  ------------------
  ------------------
  648|    224|            {
  649|    224|                ec = bson_errc::unexpected_eof;
  650|    224|                more_ = false;
  651|    224|                return;
  652|    224|            }
  653|  61.2M|            if (c == 0)
  ------------------
  |  Branch (653:17): [True: 21.1M, False: 40.1M]
  ------------------
  654|  21.1M|            {
  655|  21.1M|                break;
  656|  21.1M|            }
  657|  40.1M|            buffer.push_back(c);
  658|  40.1M|        }
  659|  21.1M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12end_documentERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  275|  25.6k|    {
  276|  25.6k|        JSONCONS_ASSERT(state_stack_.size() >= 2);
  ------------------
  |  |   49|  25.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 25.6k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  277|       |
  278|  25.6k|        visitor.end_object(*this,ec);
  279|  25.6k|        more_ = !cursor_mode_;
  280|  25.6k|        if (level() == mark_level_)
  ------------------
  |  Branch (280:13): [True: 0, False: 25.6k]
  ------------------
  281|      0|        {
  282|      0|            more_ = false;
  283|      0|        }
  284|  25.6k|        if (JSONCONS_UNLIKELY(state_stack_.back().pos != state_stack_.back().length))
  ------------------
  |  |   78|  25.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2.29k, False: 23.3k]
  |  |  ------------------
  ------------------
  285|  2.29k|        {
  286|  2.29k|            ec = bson_errc::size_mismatch;
  287|  2.29k|            more_ = false;
  288|  2.29k|            return;
  289|  2.29k|        }
  290|  23.3k|        std::size_t pos = state_stack_.back().pos;
  291|  23.3k|        state_stack_.pop_back();
  292|  23.3k|        state_stack_.back().pos += pos;
  293|  23.3k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5levelEv:
  124|  44.8k|    {
  125|  44.8k|        return static_cast<int>(state_stack_.size());
  126|  44.8k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10read_valueERNS_18basic_json_visitorIcEEhRNS3_10error_codeE:
  366|  20.9M|    {
  367|  20.9M|        switch (type)
  368|  20.9M|        {
  369|  16.8k|            case jsoncons::bson::bson_type::double_type:
  ------------------
  |  Branch (369:13): [True: 16.8k, False: 20.9M]
  ------------------
  370|  16.8k|            {
  371|  16.8k|                uint8_t buf[sizeof(double)]; 
  372|  16.8k|                std::size_t n = source_.read(buf, sizeof(double));
  373|  16.8k|                state_stack_.back().pos += n;
  374|  16.8k|                if (JSONCONS_UNLIKELY(n != sizeof(double)))
  ------------------
  |  |   78|  16.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6, False: 16.8k]
  |  |  ------------------
  ------------------
  375|      6|                {
  376|      6|                    ec = bson_errc::unexpected_eof;
  377|      6|                    more_ = false;
  378|      6|                    return;
  379|      6|                }
  380|  16.8k|                double res = binary::little_to_native<double>(buf, sizeof(buf));
  381|  16.8k|                visitor.double_value(res, semantic_tag::none, *this, ec);
  382|  16.8k|                more_ = !cursor_mode_;
  383|  16.8k|                break;
  384|  16.8k|            }
  385|    287|            case jsoncons::bson::bson_type::symbol_type:
  ------------------
  |  Branch (385:13): [True: 287, False: 20.9M]
  ------------------
  386|    880|            case jsoncons::bson::bson_type::min_key_type:
  ------------------
  |  Branch (386:13): [True: 593, False: 20.9M]
  ------------------
  387|  1.13k|            case jsoncons::bson::bson_type::max_key_type:
  ------------------
  |  Branch (387:13): [True: 254, False: 20.9M]
  ------------------
  388|  3.89k|            case jsoncons::bson::bson_type::string_type:
  ------------------
  |  Branch (388:13): [True: 2.76k, False: 20.9M]
  ------------------
  389|  3.89k|            {
  390|  3.89k|                auto sv = read_string(ec);
  391|  3.89k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.89k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 291, False: 3.60k]
  |  |  ------------------
  ------------------
  392|    291|                {
  393|    291|                    return;
  394|    291|                }
  395|  3.60k|                auto result = unicode_traits::validate(sv.data(), sv.size());
  396|  3.60k|                if (JSONCONS_UNLIKELY(result.ec != unicode_traits::unicode_errc()))
  ------------------
  |  |   78|  3.60k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 7, False: 3.59k]
  |  |  ------------------
  ------------------
  397|      7|                {
  398|      7|                    ec = bson_errc::invalid_utf8_text_string;
  399|      7|                    more_ = false;
  400|      7|                    return;
  401|      7|                }
  402|  3.59k|                visitor.string_value(sv, semantic_tag::none, *this, ec);
  403|  3.59k|                more_ = !cursor_mode_;
  404|  3.59k|                break;
  405|  3.60k|            }
  406|  1.36k|            case jsoncons::bson::bson_type::javascript_type:
  ------------------
  |  Branch (406:13): [True: 1.36k, False: 20.9M]
  ------------------
  407|  1.36k|            {
  408|  1.36k|                auto sv = read_string(ec);
  409|  1.36k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.36k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 52, False: 1.31k]
  |  |  ------------------
  ------------------
  410|     52|                {
  411|     52|                    return;
  412|     52|                }
  413|  1.31k|                auto result = unicode_traits::validate(sv.data(), sv.size());
  414|  1.31k|                if (JSONCONS_UNLIKELY(result.ec != unicode_traits::unicode_errc()))
  ------------------
  |  |   78|  1.31k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 1.31k]
  |  |  ------------------
  ------------------
  415|      4|                {
  416|      4|                    ec = bson_errc::invalid_utf8_text_string;
  417|      4|                    more_ = false;
  418|      4|                    return;
  419|      4|                }
  420|  1.31k|                visitor.string_value(sv, semantic_tag::code, *this, ec);
  421|  1.31k|                more_ = !cursor_mode_;
  422|  1.31k|                break;
  423|  1.31k|            }
  424|  79.2k|            case jsoncons::bson::bson_type::regex_type:
  ------------------
  |  Branch (424:13): [True: 79.2k, False: 20.8M]
  ------------------
  425|  79.2k|            {
  426|  79.2k|                text_buffer_.clear();
  427|  79.2k|                text_buffer_.push_back('/');
  428|  79.2k|                read_cstring(text_buffer_, ec);
  429|  79.2k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  79.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 29, False: 79.2k]
  |  |  ------------------
  ------------------
  430|     29|                {
  431|     29|                    return;
  432|     29|                }
  433|  79.2k|                text_buffer_.push_back('/');
  434|  79.2k|                read_cstring(text_buffer_, ec);
  435|  79.2k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  79.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 22, False: 79.2k]
  |  |  ------------------
  ------------------
  436|     22|                {
  437|     22|                    return;
  438|     22|                }
  439|  79.2k|                visitor.string_value(text_buffer_, semantic_tag::regex, *this, ec);
  440|  79.2k|                more_ = !cursor_mode_;
  441|  79.2k|                break;
  442|  79.2k|            }
  443|  34.5k|            case jsoncons::bson::bson_type::document_type: 
  ------------------
  |  Branch (443:13): [True: 34.5k, False: 20.9M]
  ------------------
  444|  34.5k|            {
  445|  34.5k|                begin_document(visitor,ec);
  446|  34.5k|                break;
  447|  79.2k|            }
  448|       |
  449|  41.9k|            case jsoncons::bson::bson_type::array_type: 
  ------------------
  |  Branch (449:13): [True: 41.9k, False: 20.9M]
  ------------------
  450|  41.9k|            {
  451|  41.9k|                begin_array(visitor,ec);
  452|  41.9k|                break;
  453|  79.2k|            }
  454|  5.46k|            case jsoncons::bson::bson_type::undefined_type: 
  ------------------
  |  Branch (454:13): [True: 5.46k, False: 20.9M]
  ------------------
  455|  5.46k|                {
  456|  5.46k|                    visitor.null_value(semantic_tag::undefined, *this, ec);
  457|  5.46k|                    more_ = !cursor_mode_;
  458|  5.46k|                    break;
  459|  79.2k|                }
  460|  20.5M|            case jsoncons::bson::bson_type::null_type: 
  ------------------
  |  Branch (460:13): [True: 20.5M, False: 388k]
  ------------------
  461|  20.5M|            {
  462|  20.5M|                visitor.null_value(semantic_tag::none, *this, ec);
  463|  20.5M|                more_ = !cursor_mode_;
  464|  20.5M|                break;
  465|  79.2k|            }
  466|  23.7k|            case jsoncons::bson::bson_type::bool_type:
  ------------------
  |  Branch (466:13): [True: 23.7k, False: 20.9M]
  ------------------
  467|  23.7k|            {
  468|  23.7k|                uint8_t c;
  469|  23.7k|                std::size_t n = source_.read(&c, 1);
  470|  23.7k|                state_stack_.back().pos += n;
  471|  23.7k|                if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   78|  23.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 23.7k]
  |  |  ------------------
  ------------------
  472|      4|                {
  473|      4|                    ec = bson_errc::unexpected_eof;
  474|      4|                    more_ = false;
  475|      4|                    return;
  476|      4|                }
  477|  23.7k|                visitor.bool_value(c != 0, semantic_tag::none, *this, ec);
  478|  23.7k|                more_ = !cursor_mode_;
  479|  23.7k|                break;
  480|  23.7k|            }
  481|  60.4k|            case jsoncons::bson::bson_type::int32_type: 
  ------------------
  |  Branch (481:13): [True: 60.4k, False: 20.9M]
  ------------------
  482|  60.4k|            {
  483|  60.4k|                uint8_t buf[sizeof(int32_t)]; 
  484|  60.4k|                std::size_t n = source_.read(buf, sizeof(int32_t));
  485|  60.4k|                state_stack_.back().pos += n;
  486|  60.4k|                if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   78|  60.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 8, False: 60.4k]
  |  |  ------------------
  ------------------
  487|      8|                {
  488|      8|                    ec = bson_errc::unexpected_eof;
  489|      8|                    more_ = false;
  490|      8|                    return;
  491|      8|                }
  492|  60.4k|                auto val = binary::little_to_native<int32_t>(buf, sizeof(buf));
  493|  60.4k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  494|  60.4k|                more_ = !cursor_mode_;
  495|  60.4k|                break;
  496|  60.4k|            }
  497|       |
  498|  14.1k|            case jsoncons::bson::bson_type::timestamp_type: 
  ------------------
  |  Branch (498:13): [True: 14.1k, False: 20.9M]
  ------------------
  499|  14.1k|            {
  500|  14.1k|                uint8_t buf[sizeof(uint64_t)]; 
  501|  14.1k|                std::size_t n = source_.read(buf, sizeof(uint64_t));
  502|  14.1k|                state_stack_.back().pos += n;
  503|  14.1k|                if (JSONCONS_UNLIKELY(n != sizeof(uint64_t)))
  ------------------
  |  |   78|  14.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 8, False: 14.1k]
  |  |  ------------------
  ------------------
  504|      8|                {
  505|      8|                    ec = bson_errc::unexpected_eof;
  506|      8|                    more_ = false;
  507|      8|                    return;
  508|      8|                }
  509|  14.1k|                auto val = binary::little_to_native<uint64_t>(buf, sizeof(buf));
  510|  14.1k|                visitor.uint64_value(val, semantic_tag::none, *this, ec);
  511|  14.1k|                more_ = !cursor_mode_;
  512|  14.1k|                break;
  513|  14.1k|            }
  514|       |
  515|  5.56k|            case jsoncons::bson::bson_type::int64_type: 
  ------------------
  |  Branch (515:13): [True: 5.56k, False: 20.9M]
  ------------------
  516|  5.56k|            {
  517|  5.56k|                uint8_t buf[sizeof(int64_t)]; 
  518|  5.56k|                std::size_t n = source_.read(buf, sizeof(int64_t));
  519|  5.56k|                state_stack_.back().pos += n;
  520|  5.56k|                if (JSONCONS_UNLIKELY(n != sizeof(int64_t)))
  ------------------
  |  |   78|  5.56k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 7, False: 5.55k]
  |  |  ------------------
  ------------------
  521|      7|                {
  522|      7|                    ec = bson_errc::unexpected_eof;
  523|      7|                    more_ = false;
  524|      7|                    return;
  525|      7|                }
  526|  5.55k|                auto val = binary::little_to_native<int64_t>(buf, sizeof(buf));
  527|  5.55k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  528|  5.55k|                more_ = !cursor_mode_;
  529|  5.55k|                break;
  530|  5.56k|            }
  531|       |
  532|  9.51k|            case jsoncons::bson::bson_type::datetime_type: 
  ------------------
  |  Branch (532:13): [True: 9.51k, False: 20.9M]
  ------------------
  533|  9.51k|            {
  534|  9.51k|                uint8_t buf[sizeof(int64_t)]; 
  535|  9.51k|                std::size_t n = source_.read(buf, sizeof(int64_t));
  536|  9.51k|                state_stack_.back().pos += n;
  537|  9.51k|                if (JSONCONS_UNLIKELY(n != sizeof(int64_t)))
  ------------------
  |  |   78|  9.51k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6, False: 9.51k]
  |  |  ------------------
  ------------------
  538|      6|                {
  539|      6|                    ec = bson_errc::unexpected_eof;
  540|      6|                    more_ = false;
  541|      6|                    return;
  542|      6|                }
  543|  9.51k|                auto val = binary::little_to_native<int64_t>(buf, sizeof(buf));
  544|  9.51k|                visitor.int64_value(val, semantic_tag::epoch_milli, *this, ec);
  545|  9.51k|                more_ = !cursor_mode_;
  546|  9.51k|                break;
  547|  9.51k|            }
  548|  73.8k|            case jsoncons::bson::bson_type::binary_type: 
  ------------------
  |  Branch (548:13): [True: 73.8k, False: 20.9M]
  ------------------
  549|  73.8k|            {
  550|  73.8k|                uint8_t buf[sizeof(int32_t)]; 
  551|  73.8k|                std::size_t n = source_.read(buf, sizeof(int32_t));
  552|  73.8k|                state_stack_.back().pos += n;
  553|  73.8k|                if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   78|  73.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 10, False: 73.8k]
  |  |  ------------------
  ------------------
  554|     10|                {
  555|     10|                    ec = bson_errc::unexpected_eof;
  556|     10|                    more_ = false;
  557|     10|                    return;
  558|     10|                }
  559|  73.8k|                const auto len = binary::little_to_native<int32_t>(buf, sizeof(buf));
  560|  73.8k|                if (JSONCONS_UNLIKELY(len < 0))
  ------------------
  |  |   78|  73.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 37, False: 73.8k]
  |  |  ------------------
  ------------------
  561|     37|                {
  562|     37|                    ec = bson_errc::length_is_negative;
  563|     37|                    more_ = false;
  564|     37|                    return;
  565|     37|                }
  566|  73.8k|                uint8_t subtype;
  567|  73.8k|                n = source_.read(&subtype, 1);
  568|  73.8k|                state_stack_.back().pos += n;
  569|  73.8k|                if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   78|  73.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 8, False: 73.8k]
  |  |  ------------------
  ------------------
  570|      8|                {
  571|      8|                    ec = bson_errc::unexpected_eof;
  572|      8|                    more_ = false;
  573|      8|                    return;
  574|      8|                }
  575|       |
  576|  73.8k|                auto data = source_.read_span(len, bytes_buffer_);
  577|  73.8k|                if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   78|  73.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 334, False: 73.4k]
  |  |  ------------------
  ------------------
  578|    334|                {
  579|    334|                    ec = bson_errc::unexpected_eof;
  580|    334|                    more_ = false;
  581|    334|                    return;
  582|    334|                }
  583|  73.4k|                state_stack_.back().pos += data.size();
  584|       |
  585|  73.4k|                visitor.byte_string_value(byte_string_view(data.data(), data.size()), subtype, *this, ec);
  586|  73.4k|                more_ = !cursor_mode_;
  587|  73.4k|                break;
  588|  73.8k|            }
  589|  12.5k|            case jsoncons::bson::bson_type::decimal128_type: 
  ------------------
  |  Branch (589:13): [True: 12.5k, False: 20.9M]
  ------------------
  590|  12.5k|            {
  591|  12.5k|                uint8_t buf[sizeof(uint64_t)*2]; 
  592|  12.5k|                std::size_t n = source_.read(buf, sizeof(buf));
  593|  12.5k|                state_stack_.back().pos += n;
  594|  12.5k|                if (JSONCONS_UNLIKELY(n != sizeof(buf)))
  ------------------
  |  |   78|  12.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 10, False: 12.5k]
  |  |  ------------------
  ------------------
  595|     10|                {
  596|     10|                    ec = bson_errc::unexpected_eof;
  597|     10|                    more_ = false;
  598|     10|                    return;
  599|     10|                }
  600|       |
  601|  12.5k|                decimal128_t dec;
  602|  12.5k|                dec.low = binary::little_to_native<uint64_t>(buf, sizeof(uint64_t));
  603|  12.5k|                dec.high = binary::little_to_native<uint64_t>(buf+sizeof(uint64_t), sizeof(uint64_t));
  604|       |
  605|  12.5k|                text_buffer_.clear();
  606|  12.5k|                text_buffer_.resize(bson::decimal128_limits::buf_size);
  607|  12.5k|                auto r = bson::decimal128_to_chars(&text_buffer_[0], &text_buffer_[0]+text_buffer_.size(), dec);
  608|  12.5k|                visitor.string_value(string_view(text_buffer_.data(),static_cast<std::size_t>(r.ptr-text_buffer_.data())), semantic_tag::float128, *this, ec);
  609|  12.5k|                more_ = !cursor_mode_;
  610|  12.5k|                break;
  611|  12.5k|            }
  612|  5.17k|            case jsoncons::bson::bson_type::object_id_type: 
  ------------------
  |  Branch (612:13): [True: 5.17k, False: 20.9M]
  ------------------
  613|  5.17k|            {
  614|  5.17k|                uint8_t buf[12]; 
  615|  5.17k|                std::size_t n = source_.read(buf, sizeof(buf));
  616|  5.17k|                state_stack_.back().pos += n;
  617|  5.17k|                if (JSONCONS_UNLIKELY(n != sizeof(buf)))
  ------------------
  |  |   78|  5.17k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 8, False: 5.16k]
  |  |  ------------------
  ------------------
  618|      8|                {
  619|      8|                    ec = bson_errc::unexpected_eof;
  620|      8|                    more_ = false;
  621|      8|                    return;
  622|      8|                }
  623|       |
  624|  5.16k|                oid_t oid(buf);
  625|  5.16k|                to_string(oid, text_buffer_);
  626|       |
  627|  5.16k|                visitor.string_value(text_buffer_, semantic_tag::id, *this, ec);
  628|  5.16k|                more_ = !cursor_mode_;
  629|  5.16k|                break;
  630|  5.17k|            }
  631|    135|            default:
  ------------------
  |  Branch (631:13): [True: 135, False: 20.9M]
  ------------------
  632|    135|            {
  633|    135|                ec = bson_errc::unknown_type;
  634|    135|                more_ = false;
  635|    135|                return;
  636|  5.17k|            }
  637|  20.9M|        }
  638|  20.9M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_stringERNS3_10error_codeE:
  662|  5.26k|    {
  663|  5.26k|        std::size_t offset = 0;
  664|       |
  665|  5.26k|        uint8_t buf[sizeof(int32_t)]; 
  666|  5.26k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  667|  5.26k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   78|  5.26k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 49, False: 5.21k]
  |  |  ------------------
  ------------------
  668|     49|        {
  669|     49|            ec = bson_errc::unexpected_eof;
  670|     49|            more_ = false;
  671|     49|            return string_view{};
  672|     49|        }
  673|  5.21k|        offset += n;
  674|       |
  675|  5.21k|        auto len = binary::little_to_native<int32_t>(buf, sizeof(buf));
  676|  5.21k|        if (JSONCONS_UNLIKELY(len < 1))
  ------------------
  |  |   78|  5.21k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 34, False: 5.18k]
  |  |  ------------------
  ------------------
  677|     34|        {
  678|     34|            ec = bson_errc::string_length_is_non_positive;
  679|     34|            more_ = false;
  680|     34|            return string_view{};
  681|     34|        }
  682|       |
  683|  5.18k|        std::size_t size = static_cast<std::size_t>(len) - static_cast<std::size_t>(1);
  684|  5.18k|        auto data = source_.read_span(size, text_buffer_);
  685|  5.18k|        if (JSONCONS_UNLIKELY(data.size() != size))
  ------------------
  |  |   78|  5.18k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 242, False: 4.93k]
  |  |  ------------------
  ------------------
  686|    242|        {
  687|    242|            ec = bson_errc::unexpected_eof;
  688|    242|            more_ = false;
  689|    242|            return string_view{};
  690|    242|        }
  691|  4.93k|        offset += data.size();
  692|       |
  693|  4.93k|        uint8_t c;
  694|  4.93k|        if (JSONCONS_UNLIKELY(source_.read(&c, 1) != 1))
  ------------------
  |  |   78|  4.93k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 18, False: 4.92k]
  |  |  ------------------
  ------------------
  695|     18|        {
  696|     18|            ec = bson_errc::unexpected_eof;
  697|     18|            more_ = false;
  698|     18|            return string_view{};
  699|     18|        }
  700|  4.92k|        ++offset;
  701|       |
  702|  4.92k|        state_stack_.back().pos += offset;
  703|  4.92k|        return string_view{reinterpret_cast<const char*>(data.data()), data.size()};
  704|  4.93k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  296|  41.9k|    {
  297|  41.9k|        if (JSONCONS_UNLIKELY(static_cast<int>(state_stack_.size()) > max_nesting_depth_))
  ------------------
  |  |   78|  41.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 41.9k]
  |  |  ------------------
  ------------------
  298|      1|        {
  299|      1|            ec = bson_errc::max_nesting_depth_exceeded;
  300|      1|            more_ = false;
  301|      1|            return;
  302|      1|        } 
  303|  41.9k|        uint8_t buf[sizeof(int32_t)]; 
  304|  41.9k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  305|  41.9k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   78|  41.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 25, False: 41.9k]
  |  |  ------------------
  ------------------
  306|     25|        {
  307|     25|            ec = bson_errc::unexpected_eof;
  308|     25|            more_ = false;
  309|     25|            return;
  310|     25|        }
  311|  41.9k|        auto length = binary::little_to_native<int32_t>(buf, sizeof(buf));
  312|       |
  313|  41.9k|        visitor.begin_array(semantic_tag::none, *this, ec);
  314|  41.9k|        more_ = !cursor_mode_;
  315|  41.9k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  41.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 41.9k]
  |  |  ------------------
  ------------------
  316|      0|        {
  317|      0|            return;
  318|      0|        }
  319|  41.9k|        state_stack_.emplace_back(parse_mode::array, length, n);
  320|  41.9k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  323|  19.2k|    {
  324|  19.2k|        JSONCONS_ASSERT(state_stack_.size() >= 2);
  ------------------
  |  |   49|  19.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 19.2k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  325|       |
  326|  19.2k|        visitor.end_array(*this, ec);
  327|  19.2k|        more_ = !cursor_mode_;
  328|  19.2k|        if (level() == mark_level_)
  ------------------
  |  Branch (328:13): [True: 0, False: 19.2k]
  ------------------
  329|      0|        {
  330|      0|            more_ = false;
  331|      0|        }
  332|  19.2k|        if (JSONCONS_UNLIKELY(state_stack_.back().pos != state_stack_.back().length))
  ------------------
  |  |   78|  19.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 397, False: 18.8k]
  |  |  ------------------
  ------------------
  333|    397|        {
  334|    397|            ec = bson_errc::size_mismatch;
  335|    397|            more_ = false;
  336|    397|            return;
  337|    397|        }
  338|  18.8k|        std::size_t pos = state_stack_.back().pos;
  339|  18.8k|        state_stack_.pop_back();
  340|  18.8k|        state_stack_.back().pos += pos;
  341|  18.8k|    }

_ZN8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RNS_18basic_json_visitorIcEERKNS0_19bson_decode_optionsERKS7_:
   46|  5.02k|       : parser_(std::forward<Sourceable>(source), options, temp_alloc),
   47|  5.02k|         visitor_(visitor)
   48|  5.02k|    {
   49|  5.02k|    }
_ZN8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4readERNS3_10error_codeE:
   62|  5.02k|    {
   63|  5.02k|        parser_.reset();
   64|  5.02k|        parser_.parse(visitor_, ec);
   65|  5.02k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  5.02k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5.00k, False: 16]
  |  |  ------------------
  ------------------
   66|  5.00k|        {
   67|  5.00k|            return;
   68|  5.00k|        }
   69|  5.02k|    }
_ZNK8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
   72|  5.00k|    {
   73|  5.00k|        return parser_.line();
   74|  5.00k|    }
_ZNK8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
   77|  5.00k|    {
   78|  5.00k|        return parser_.column();
   79|  5.00k|    }

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

