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

_ZNK8jsoncons16allocator_holderINSt3__19allocatorIcEEE13get_allocatorEv:
   30|   134k|    {
   31|   134k|        return alloc_;
   32|   134k|    }
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2ERKS3_:
   25|  11.3k|        : alloc_(alloc)
   26|  11.3k|        {}
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2Ev:
   20|  80.5k|    allocator_holder() = default;

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2774|  77.7M|        {
 2775|  77.7M|             destroy();
 2776|  77.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  898|  77.7M|        {
  899|  77.7M|            switch (storage_kind())
  900|  77.7M|            {
  901|  67.6k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (901:17): [True: 67.6k, False: 77.6M]
  ------------------
  902|  67.6k|                {
  903|  67.6k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (903:25): [True: 67.6k, False: 0]
  ------------------
  904|  67.6k|                    {
  905|  67.6k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  906|  67.6k|                    }
  907|  67.6k|                    break;
  908|      0|                }
  909|  68.4k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (909:17): [True: 68.4k, False: 77.6M]
  ------------------
  910|  68.4k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (910:25): [True: 68.4k, False: 0]
  ------------------
  911|  68.4k|                    {
  912|  68.4k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  913|  68.4k|                    }
  914|  68.4k|                    break;
  915|  45.0k|                case json_storage_kind::array:
  ------------------
  |  Branch (915:17): [True: 45.0k, False: 77.6M]
  ------------------
  916|  45.0k|                {
  917|  45.0k|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (917:25): [True: 45.0k, False: 0]
  ------------------
  918|  45.0k|                    {
  919|  45.0k|                        auto& stor = cast<array_storage>();
  920|  45.0k|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  921|  45.0k|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, nonstd::to_plain_pointer(stor.ptr_));
  922|  45.0k|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  923|  45.0k|                    }
  924|  45.0k|                    break;
  925|      0|                }
  926|  35.4k|                case json_storage_kind::object:
  ------------------
  |  Branch (926:17): [True: 35.4k, False: 77.6M]
  ------------------
  927|  35.4k|                {
  928|  35.4k|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (928:25): [True: 35.4k, False: 0]
  ------------------
  929|  35.4k|                    {
  930|  35.4k|                        auto& stor = cast<object_storage>();
  931|  35.4k|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  932|  35.4k|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, nonstd::to_plain_pointer(stor.ptr_));
  933|  35.4k|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  934|  35.4k|                    }
  935|  35.4k|                    break;
  936|      0|                }
  937|  77.5M|                default:
  ------------------
  |  Branch (937:17): [True: 77.5M, False: 216k]
  ------------------
  938|  77.5M|                    break;
  939|  77.7M|            }
  940|  77.7M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1462|   219M|        {
 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|   219M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1468|   219M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1004|   572k|        {
 1005|   572k|            return cast(identity<T>());
 1006|   572k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1095|   572k|        {
 1096|   572k|            return long_str_;
 1097|   572k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1004|   557k|        {
 1005|   557k|            return cast(identity<T>());
 1006|   557k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1105|   557k|        {
 1106|   557k|            return byte_str_;
 1107|   557k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1004|  5.37M|        {
 1005|  5.37M|            return cast(identity<T>());
 1006|  5.37M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1125|  5.37M|        {
 1126|  5.37M|            return array_;
 1127|  5.37M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2307|  58.4M|        {
 2308|  58.4M|            uninitialized_move(std::move(other));
 2309|  58.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1302|  58.4M|        {
 1303|  58.4M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1303:17): [True: 57.9M, False: 466k]
  ------------------
 1304|  57.9M|            {
 1305|  57.9M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1306|  57.9M|            }
 1307|   466k|            else
 1308|   466k|            {
 1309|   466k|                switch (other.storage_kind())
 1310|   466k|                {
 1311|   148k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1311:21): [True: 148k, False: 317k]
  ------------------
 1312|   148k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1313|   148k|                        other.construct<null_storage>();
 1314|   148k|                        break;
 1315|   123k|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1315:21): [True: 123k, False: 343k]
  ------------------
 1316|   123k|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1317|   123k|                        other.construct<null_storage>();
 1318|   123k|                        break;
 1319|  95.9k|                    case json_storage_kind::array:
  ------------------
  |  Branch (1319:21): [True: 95.9k, False: 370k]
  ------------------
 1320|  95.9k|                        construct<array_storage>(other.cast<array_storage>());
 1321|  95.9k|                        other.construct<null_storage>();
 1322|  95.9k|                        break;
 1323|  98.7k|                    case json_storage_kind::object:
  ------------------
  |  Branch (1323:21): [True: 98.7k, False: 367k]
  ------------------
 1324|  98.7k|                        construct<object_storage>(other.cast<object_storage>());
 1325|  98.7k|                        other.construct<null_storage>();
 1326|  98.7k|                        break;
 1327|      0|                    default:
  ------------------
  |  Branch (1327:21): [True: 0, False: 466k]
  ------------------
 1328|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1329|      0|                        break;
 1330|   466k|                }
 1331|   466k|            }
 1332|  58.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  995|   184k|        {
  996|   184k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   184k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  626|   221k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  627|   221k|            {
  628|   221k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  995|   466k|        {
  996|   466k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   466k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1004|  19.8M|        {
 1005|  19.8M|            return cast(identity<T>());
 1006|  19.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1015|  19.8M|        {
 1016|  19.8M|            return null_;
 1017|  19.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  450|  19.4M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  451|  19.4M|            {
  452|  19.4M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  995|   175k|        {
  996|   175k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   175k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  675|   228k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  676|   228k|            {
  677|   228k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  995|   177k|        {
  996|   177k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   177k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  727|   258k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  728|   258k|            {
  729|   258k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  995|   152k|        {
  996|   152k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   152k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  777|   205k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  778|   205k|            {
  779|   205k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4759|  4.56k|        {
 4760|  4.56k|            switch (storage_kind())
 4761|  4.56k|            {
 4762|  4.56k|                case json_storage_kind::array:
  ------------------
  |  Branch (4762:17): [True: 4.56k, False: 0]
  ------------------
 4763|  4.56k|                    return array_range_type(cast<array_storage>().value().begin(),
 4764|  4.56k|                        cast<array_storage>().value().end());
 4765|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4765:17): [True: 0, False: 4.56k]
  ------------------
 4766|      0|                    return cast<json_ref_storage>().value().array_range();
 4767|      0|                default:
  ------------------
  |  Branch (4767:17): [True: 0, False: 4.56k]
  ------------------
 4768|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4769|  4.56k|            }
 4770|  4.56k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  4.88M|            {
  751|  4.88M|                return *ptr_;
  752|  4.88M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|  4.56k|            : first_(first), last_(last)
  349|  4.56k|        {
  350|  4.56k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|  4.56k|        {
  354|  4.56k|            return first_;
  355|  4.56k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|  4.56k|        {
  358|  4.56k|            return last_;
  359|  4.56k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3425|  9.24k|        {
 3426|  9.24k|            switch (storage_kind())
 3427|  9.24k|            {
 3428|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 9.24k]
  ------------------
 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.24k]
  ------------------
 3432|      0|                    return cast<short_string_storage>().length() == 0;
 3433|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3433:17): [True: 0, False: 9.24k]
  ------------------
 3434|      0|                    return cast<long_string_storage>().length() == 0;
 3435|  5.31k|                case json_storage_kind::array:
  ------------------
  |  Branch (3435:17): [True: 5.31k, False: 3.92k]
  ------------------
 3436|  5.31k|                    return cast<array_storage>().value().empty();
 3437|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3437:17): [True: 0, False: 9.24k]
  ------------------
 3438|      0|                    return true;
 3439|  3.92k|                case json_storage_kind::object:
  ------------------
  |  Branch (3439:17): [True: 3.92k, False: 5.31k]
  ------------------
 3440|  3.92k|                    return cast<object_storage>().value().empty();
 3441|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3441:17): [True: 0, False: 9.24k]
  ------------------
 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.24k]
  ------------------
 3444|      0|                    return cast<json_ref_storage>().value().empty();
 3445|      0|                default:
  ------------------
  |  Branch (3445:17): [True: 0, False: 9.24k]
  ------------------
 3446|      0|                    return false;
 3447|  9.24k|            }
 3448|  9.24k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1010|  5.31k|        {
 1011|  5.31k|            return cast(identity<T>());
 1012|  5.31k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  5.31k|        {
 1131|  5.31k|            return array_;
 1132|  5.31k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  5.31k|            {
  756|  5.31k|                return *ptr_;
  757|  5.31k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1010|  3.92k|        {
 1011|  3.92k|            return cast(identity<T>());
 1012|  3.92k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|  3.92k|        {
 1121|  3.92k|            return object_;
 1122|  3.92k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  801|  3.92k|            {
  802|  3.92k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   54|  3.92k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 3.92k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  803|  3.92k|                return *ptr_;
  804|  3.92k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4156|  9.16k|        {
 4157|  9.16k|            switch (storage_kind())
 4158|  9.16k|            {
 4159|  4.56k|                case json_storage_kind::array:
  ------------------
  |  Branch (4159:17): [True: 4.56k, False: 4.60k]
  ------------------
 4160|  4.56k|                    cast<array_storage>().value().clear();
 4161|  4.56k|                    break;
 4162|  4.60k|                case json_storage_kind::object:
  ------------------
  |  Branch (4162:17): [True: 4.60k, False: 4.56k]
  ------------------
 4163|  4.60k|                    cast<object_storage>().value().clear();
 4164|  4.60k|                    break;
 4165|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4165:17): [True: 0, False: 9.16k]
  ------------------
 4166|      0|                    cast<json_ref_storage>().value().clear();
 4167|      0|                    break;
 4168|      0|                default:
  ------------------
  |  Branch (4168:17): [True: 0, False: 9.16k]
  ------------------
 4169|      0|                    break;
 4170|  9.16k|            }
 4171|  9.16k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  795|  29.2k|            {
  796|  29.2k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   54|  29.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 29.2k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  797|  29.2k|                return *ptr_;
  798|  29.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4725|  4.60k|        {
 4726|  4.60k|            switch (storage_kind())
 4727|  4.60k|            {
 4728|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4728:17): [True: 0, False: 4.60k]
  ------------------
 4729|      0|                    return object_range_type(object_iterator(), object_iterator());
 4730|  4.60k|                case json_storage_kind::object:
  ------------------
  |  Branch (4730:17): [True: 4.60k, False: 0]
  ------------------
 4731|  4.60k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4732|  4.60k|                                                  object_iterator(cast<object_storage>().value().end()));
 4733|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4733:17): [True: 0, False: 4.60k]
  ------------------
 4734|      0|                    return cast<json_ref_storage>().value().object_range();
 4735|      0|                default:
  ------------------
  |  Branch (4735:17): [True: 0, False: 4.60k]
  ------------------
 4736|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4737|  4.60k|            }
 4738|  4.60k|        }
_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.60k|            : first_(first), last_(last)
  349|  4.60k|        {
  350|  4.60k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|  9.20k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|  9.20k|            {
  120|  9.20k|            }
_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.60k|        {
  354|  4.60k|            return first_;
  355|  4.60k|        }
_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.60k|        {
  358|  4.60k|            return last_;
  359|  4.60k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|  10.4k|            {
  219|  10.4k|                return !(*this == rhs);
  220|  10.4k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|  10.4k|            {
  210|  10.4k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   78|  20.8k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 10.4k, False: 0]
  |  |  |  Branch (78:48): [True: 10.4k, False: 0]
  |  |  |  Branch (78:48): [True: 10.4k, False: 0]
  |  |  ------------------
  ------------------
  211|  10.4k|                {
  212|  10.4k|                    return current_ == rhs.current_;
  213|  10.4k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|  10.4k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  5.82k|            {
  141|  5.82k|                return *current_;
  142|  5.82k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  5.82k|            {
  151|  5.82k|                ++current_;
  152|  5.82k|                return *this;
  153|  5.82k|            }
_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|  4.97k|        {
 2276|  4.97k|            construct<empty_object_storage>(semantic_tag::none);
 2277|  4.97k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  995|  4.97k|        {
  996|  4.97k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.97k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1004|  9.05k|        {
 1005|  9.05k|            return cast(identity<T>());
 1006|  9.05k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1025|  9.05k|        {
 1026|  9.05k|            return empty_object_;
 1027|  9.05k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  462|  4.97k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|  4.97k|            {
  464|  4.97k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3484|  7.70k|        {
 3485|  7.70k|            if (n > 0)
  ------------------
  |  Branch (3485:17): [True: 7.70k, False: 0]
  ------------------
 3486|  7.70k|            {
 3487|  7.70k|                switch (storage_kind())
 3488|  7.70k|                {
 3489|  7.70k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3489:21): [True: 7.70k, False: 0]
  ------------------
 3490|  7.70k|                        cast<array_storage>().value().reserve(n);
 3491|  7.70k|                        break;
 3492|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3492:21): [True: 0, False: 7.70k]
  ------------------
 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: 7.70k]
  ------------------
 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: 7.70k]
  ------------------
 3500|      0|                        cast<json_ref_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    default:
  ------------------
  |  Branch (3502:21): [True: 0, False: 7.70k]
  ------------------
 3503|      0|                        break;
 3504|  7.70k|                }
 3505|  7.70k|            }
 3506|  7.70k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2320|  35.4k|        {
 2321|  35.4k|            auto ptr = create_object(alloc);
 2322|  35.4k|            construct<object_storage>(ptr, tag);
 2323|  35.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  976|  35.4k|        {
  977|  35.4k|            using stor_allocator_type = typename object_storage::allocator_type;
  978|  35.4k|            stor_allocator_type stor_alloc(alloc);
  979|  35.4k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  980|  35.4k|            JSONCONS_TRY
  ------------------
  |  |   37|  35.4k|    #define JSONCONS_TRY try
  ------------------
  981|  35.4k|            {
  982|  35.4k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, nonstd::to_plain_pointer(ptr), 
  983|  35.4k|                    std::forward<Args>(args)...);
  984|  35.4k|            }
  985|  35.4k|            JSONCONS_CATCH(...)
  986|  35.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|  35.4k|            return ptr;
  991|  35.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  35.4k|        {
  996|  35.4k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  35.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  772|  35.4k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  773|  35.4k|            {
  774|  35.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4701|  4.86M|        {
 4702|  4.86M|            switch (storage_kind())
 4703|  4.86M|            {
 4704|  4.86M|                case json_storage_kind::array:
  ------------------
  |  Branch (4704:17): [True: 4.86M, False: 0]
  ------------------
 4705|  4.86M|                    cast<array_storage>().value().push_back(std::move(val));
 4706|  4.86M|                    break;
 4707|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4707:17): [True: 0, False: 4.86M]
  ------------------
 4708|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4709|      0|                    break;
 4710|      0|                default:
  ------------------
  |  Branch (4710:17): [True: 0, False: 4.86M]
  ------------------
 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|  4.86M|            }
 4713|  4.86M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1453|  36.3M|        {
 1454|  36.3M|            if (this != &other)
  ------------------
  |  Branch (1454:17): [True: 36.3M, False: 0]
  ------------------
 1455|  36.3M|            {
 1456|  36.3M|                move_assignment(std::move(other));
 1457|  36.3M|            }
 1458|  36.3M|            return *this;
 1459|  36.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1415|  36.3M|        {
 1416|  36.3M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1416:17): [True: 36.3M, False: 0]
  |  Branch (1416:55): [True: 36.1M, False: 223k]
  ------------------
 1417|  36.1M|            {
 1418|  36.1M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1419|  36.1M|            }
 1420|   223k|            else
 1421|   223k|            {
 1422|   223k|                swap(other);
 1423|   223k|            }
 1424|  36.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1934|   223k|        {
 1935|   223k|            if (this == &other)
  ------------------
  |  Branch (1935:17): [True: 0, False: 223k]
  ------------------
 1936|      0|            {
 1937|      0|                return;
 1938|      0|            }
 1939|   223k|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1939:17): [True: 223k, False: 0]
  |  Branch (1939:55): [True: 0, False: 223k]
  ------------------
 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|   223k|            else
 1947|   223k|            {
 1948|   223k|                switch (storage_kind())
 1949|   223k|                {
 1950|   199k|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 199k, False: 23.7k]
  ------------------
 1951|  2.03k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 2.03k, False: 221k]
  ------------------
 1952|    963|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 963, False: 222k]
  ------------------
 1953|  4.40k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 4.40k, False: 218k]
  ------------------
 1954|  1.67k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 1.67k, False: 221k]
  ------------------
 1955|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 0, False: 223k]
  ------------------
 1956|  8.13k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 8.13k, False: 214k]
  ------------------
 1957|  6.53k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 6.53k, False: 216k]
  ------------------
 1958|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 223k]
  ------------------
 1959|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 0, False: 223k]
  ------------------
 1960|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 0, False: 223k]
  ------------------
 1961|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 223k]
  ------------------
 1962|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 223k]
  ------------------
 1963|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 223k]
  ------------------
 1964|      0|                    default:
  ------------------
  |  Branch (1964:21): [True: 0, False: 223k]
  ------------------
 1965|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1966|      0|                        break;
 1967|   223k|                }
 1968|   223k|            }
 1969|   223k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1170|   199k|        {
 1171|   199k|            switch (other.storage_kind())
 1172|   199k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 199k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 199k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 199k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 199k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 199k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 199k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 199k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 199k]
  ------------------
 1181|  28.8k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 28.8k, False: 170k]
  ------------------
 1182|  49.0k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 49.0k, False: 150k]
  ------------------
 1183|  72.5k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 72.5k, False: 126k]
  ------------------
 1184|  48.9k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 48.9k, False: 150k]
  ------------------
 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: 199k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 199k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 199k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|   199k|            }
 1191|   199k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  995|   199k|        {
  996|   199k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   199k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  995|  2.03k|        {
  996|  2.03k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1004|  4.97k|        {
 1005|  4.97k|            return cast(identity<T>());
 1006|  4.97k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1035|  4.97k|        {
 1036|  4.97k|            return boolean_;
 1037|  4.97k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  995|    963|        {
  996|    963|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|    963|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1004|  47.8k|        {
 1005|  47.8k|            return cast(identity<T>());
 1006|  47.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1045|  47.8k|        {
 1046|  47.8k|            return int64_;
 1047|  47.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  995|  4.40k|        {
  996|  4.40k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.40k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1004|  12.9k|        {
 1005|  12.9k|            return cast(identity<T>());
 1006|  12.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1055|  12.9k|        {
 1056|  12.9k|            return uint64_;
 1057|  12.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  995|  1.67k|        {
  996|  1.67k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.67k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1004|  27.9k|        {
 1005|  27.9k|            return cast(identity<T>());
 1006|  27.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1075|  27.9k|        {
 1076|  27.9k|            return float64_;
 1077|  27.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  995|  8.13k|        {
  996|  8.13k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  8.13k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1004|  31.0k|        {
 1005|  31.0k|            return cast(identity<T>());
 1006|  31.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1085|  31.0k|        {
 1086|  31.0k|            return short_str_;
 1087|  31.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  585|  6.53k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  586|  6.53k|            {
  587|  6.53k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  588|  6.53k|                data_[short_str_length_] = 0;
  589|  6.53k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  995|  6.53k|        {
  996|  6.53k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  6.53k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1156|  28.8k|        {
 1157|  28.8k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  28.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  28.8k|        {
 1163|  28.8k|            TypeR temp{other.cast<TypeR>()};
 1164|  28.8k|            other.construct<TypeL>(cast<TypeL>());
 1165|  28.8k|            construct<TypeR>(temp);
 1166|  28.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  49.0k|        {
 1157|  49.0k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  49.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  49.0k|        {
 1163|  49.0k|            TypeR temp{other.cast<TypeR>()};
 1164|  49.0k|            other.construct<TypeL>(cast<TypeL>());
 1165|  49.0k|            construct<TypeR>(temp);
 1166|  49.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1156|  72.5k|        {
 1157|  72.5k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  72.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  72.5k|        {
 1163|  72.5k|            TypeR temp{other.cast<TypeR>()};
 1164|  72.5k|            other.construct<TypeL>(cast<TypeL>());
 1165|  72.5k|            construct<TypeR>(temp);
 1166|  72.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1156|  48.9k|        {
 1157|  48.9k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  48.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  48.9k|        {
 1163|  48.9k|            TypeR temp{other.cast<TypeR>()};
 1164|  48.9k|            other.construct<TypeL>(cast<TypeL>());
 1165|  48.9k|            construct<TypeR>(temp);
 1166|  48.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1170|  2.03k|        {
 1171|  2.03k|            switch (other.storage_kind())
 1172|  2.03k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.03k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.03k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.03k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.03k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.03k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.03k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.03k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.03k]
  ------------------
 1181|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.03k]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.03k]
  ------------------
 1183|      0|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 2.03k]
  ------------------
 1184|  2.03k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 2.03k, 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.03k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.03k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.03k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.03k|            }
 1191|  2.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1156|  2.03k|        {
 1157|  2.03k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.03k|        {
 1163|  2.03k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.03k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.03k|            construct<TypeR>(temp);
 1166|  2.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1170|    963|        {
 1171|    963|            switch (other.storage_kind())
 1172|    963|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 963]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 963]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 963]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 963]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 963]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 963]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 963]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 963]
  ------------------
 1181|    270|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 270, False: 693]
  ------------------
 1182|    286|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 286, False: 677]
  ------------------
 1183|    198|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 198, False: 765]
  ------------------
 1184|    209|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 209, False: 754]
  ------------------
 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: 963]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 963]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 963]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|    963|            }
 1191|    963|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1156|    270|        {
 1157|    270|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    270|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    270|        {
 1163|    270|            TypeR temp{other.cast<TypeR>()};
 1164|    270|            other.construct<TypeL>(cast<TypeL>());
 1165|    270|            construct<TypeR>(temp);
 1166|    270|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    286|        {
 1157|    286|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    286|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    286|        {
 1163|    286|            TypeR temp{other.cast<TypeR>()};
 1164|    286|            other.construct<TypeL>(cast<TypeL>());
 1165|    286|            construct<TypeR>(temp);
 1166|    286|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1156|    198|        {
 1157|    198|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    198|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    198|        {
 1163|    198|            TypeR temp{other.cast<TypeR>()};
 1164|    198|            other.construct<TypeL>(cast<TypeL>());
 1165|    198|            construct<TypeR>(temp);
 1166|    198|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1156|    209|        {
 1157|    209|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    209|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    209|        {
 1163|    209|            TypeR temp{other.cast<TypeR>()};
 1164|    209|            other.construct<TypeL>(cast<TypeL>());
 1165|    209|            construct<TypeR>(temp);
 1166|    209|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1170|  4.40k|        {
 1171|  4.40k|            switch (other.storage_kind())
 1172|  4.40k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 4.40k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 4.40k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 4.40k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 4.40k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 4.40k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 4.40k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 4.40k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 4.40k]
  ------------------
 1181|    627|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 627, False: 3.77k]
  ------------------
 1182|    442|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 442, False: 3.96k]
  ------------------
 1183|  2.62k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 2.62k, False: 1.78k]
  ------------------
 1184|    714|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 714, False: 3.69k]
  ------------------
 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.40k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 4.40k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 4.40k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  4.40k|            }
 1191|  4.40k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1156|    627|        {
 1157|    627|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    627|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    627|        {
 1163|    627|            TypeR temp{other.cast<TypeR>()};
 1164|    627|            other.construct<TypeL>(cast<TypeL>());
 1165|    627|            construct<TypeR>(temp);
 1166|    627|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    442|        {
 1157|    442|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    442|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    442|        {
 1163|    442|            TypeR temp{other.cast<TypeR>()};
 1164|    442|            other.construct<TypeL>(cast<TypeL>());
 1165|    442|            construct<TypeR>(temp);
 1166|    442|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1156|  2.62k|        {
 1157|  2.62k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.62k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.62k|        {
 1163|  2.62k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.62k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.62k|            construct<TypeR>(temp);
 1166|  2.62k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1156|    714|        {
 1157|    714|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    714|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    714|        {
 1163|    714|            TypeR temp{other.cast<TypeR>()};
 1164|    714|            other.construct<TypeL>(cast<TypeL>());
 1165|    714|            construct<TypeR>(temp);
 1166|    714|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1170|  1.67k|        {
 1171|  1.67k|            switch (other.storage_kind())
 1172|  1.67k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.67k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 1.67k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 1.67k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 1.67k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 1.67k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.67k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.67k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.67k]
  ------------------
 1181|    294|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 294, False: 1.38k]
  ------------------
 1182|    652|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 652, False: 1.02k]
  ------------------
 1183|    199|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 199, False: 1.47k]
  ------------------
 1184|    530|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 530, False: 1.14k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 1.67k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 1.67k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 1.67k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  1.67k|            }
 1191|  1.67k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1156|    294|        {
 1157|    294|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    294|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    294|        {
 1163|    294|            TypeR temp{other.cast<TypeR>()};
 1164|    294|            other.construct<TypeL>(cast<TypeL>());
 1165|    294|            construct<TypeR>(temp);
 1166|    294|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    652|        {
 1157|    652|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    652|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    652|        {
 1163|    652|            TypeR temp{other.cast<TypeR>()};
 1164|    652|            other.construct<TypeL>(cast<TypeL>());
 1165|    652|            construct<TypeR>(temp);
 1166|    652|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1156|    199|        {
 1157|    199|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    199|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    199|        {
 1163|    199|            TypeR temp{other.cast<TypeR>()};
 1164|    199|            other.construct<TypeL>(cast<TypeL>());
 1165|    199|            construct<TypeR>(temp);
 1166|    199|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1156|    530|        {
 1157|    530|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    530|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    530|        {
 1163|    530|            TypeR temp{other.cast<TypeR>()};
 1164|    530|            other.construct<TypeL>(cast<TypeL>());
 1165|    530|            construct<TypeR>(temp);
 1166|    530|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1170|  8.13k|        {
 1171|  8.13k|            switch (other.storage_kind())
 1172|  8.13k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 8.13k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 8.13k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 8.13k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 8.13k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 8.13k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 8.13k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 8.13k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 8.13k]
  ------------------
 1181|    882|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 882, False: 7.25k]
  ------------------
 1182|  1.90k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 1.90k, False: 6.23k]
  ------------------
 1183|  5.03k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 5.03k, False: 3.09k]
  ------------------
 1184|    312|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 312, False: 7.82k]
  ------------------
 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.13k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 8.13k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 8.13k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  8.13k|            }
 1191|  8.13k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1156|    882|        {
 1157|    882|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    882|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    882|        {
 1163|    882|            TypeR temp{other.cast<TypeR>()};
 1164|    882|            other.construct<TypeL>(cast<TypeL>());
 1165|    882|            construct<TypeR>(temp);
 1166|    882|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  1.90k|        {
 1157|  1.90k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.90k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.90k|        {
 1163|  1.90k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.90k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.90k|            construct<TypeR>(temp);
 1166|  1.90k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1156|  5.03k|        {
 1157|  5.03k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  5.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  5.03k|        {
 1163|  5.03k|            TypeR temp{other.cast<TypeR>()};
 1164|  5.03k|            other.construct<TypeL>(cast<TypeL>());
 1165|  5.03k|            construct<TypeR>(temp);
 1166|  5.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1156|    312|        {
 1157|    312|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    312|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    312|        {
 1163|    312|            TypeR temp{other.cast<TypeR>()};
 1164|    312|            other.construct<TypeL>(cast<TypeL>());
 1165|    312|            construct<TypeR>(temp);
 1166|    312|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1170|  6.53k|        {
 1171|  6.53k|            switch (other.storage_kind())
 1172|  6.53k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 6.53k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 6.53k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 6.53k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 6.53k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 6.53k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 6.53k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 6.53k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 6.53k]
  ------------------
 1181|  5.23k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 5.23k, False: 1.30k]
  ------------------
 1182|    222|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 222, False: 6.31k]
  ------------------
 1183|    476|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 476, False: 6.05k]
  ------------------
 1184|    607|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 607, False: 5.92k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 6.53k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 6.53k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 6.53k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  6.53k|            }
 1191|  6.53k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1156|  5.23k|        {
 1157|  5.23k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  5.23k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  5.23k|        {
 1163|  5.23k|            TypeR temp{other.cast<TypeR>()};
 1164|  5.23k|            other.construct<TypeL>(cast<TypeL>());
 1165|  5.23k|            construct<TypeR>(temp);
 1166|  5.23k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    222|        {
 1157|    222|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    222|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    222|        {
 1163|    222|            TypeR temp{other.cast<TypeR>()};
 1164|    222|            other.construct<TypeL>(cast<TypeL>());
 1165|    222|            construct<TypeR>(temp);
 1166|    222|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1156|    476|        {
 1157|    476|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    476|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    476|        {
 1163|    476|            TypeR temp{other.cast<TypeR>()};
 1164|    476|            other.construct<TypeL>(cast<TypeL>());
 1165|    476|            construct<TypeR>(temp);
 1166|    476|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1156|    607|        {
 1157|    607|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    607|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    607|        {
 1163|    607|            TypeR temp{other.cast<TypeR>()};
 1164|    607|            other.construct<TypeL>(cast<TypeL>());
 1165|    607|            construct<TypeR>(temp);
 1166|    607|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr6nonstd19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2614|  9.55k|        {
 2615|  9.55k|            construct<uint64_storage>(val, tag);
 2616|  9.55k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  995|  9.55k|        {
  996|  9.55k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  9.55k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  9.55k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  9.55k|                  val_(val)
  518|  9.55k|            {
  519|  9.55k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr6nonstd17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2645|  39.0k|        {
 2646|  39.0k|            construct<int64_storage>(val, tag);
 2647|  39.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  995|  39.0k|        {
  996|  39.0k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  39.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  496|  39.0k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  497|  39.0k|                  val_(val)
  498|  39.0k|            {
  499|  39.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2602|  11.6k|        {
 2603|  11.6k|            construct<double_storage>(val, tag);
 2604|  11.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  995|  11.6k|        {
  996|  11.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  11.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  555|  11.6k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  556|  11.6k|                  val_(val)
  557|  11.6k|            {
  558|  11.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2401|  45.0k|        {
 2402|  45.0k|            auto ptr = create_array(Allocator());
 2403|  45.0k|            construct<array_storage>(ptr, tag);
 2404|  45.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  957|  45.0k|        {
  958|  45.0k|            using stor_allocator_type = typename array_storage::allocator_type;
  959|  45.0k|            stor_allocator_type stor_alloc(alloc);
  960|  45.0k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  961|  45.0k|            JSONCONS_TRY
  ------------------
  |  |   37|  45.0k|    #define JSONCONS_TRY try
  ------------------
  962|  45.0k|            {
  963|  45.0k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, nonstd::to_plain_pointer(ptr), 
  964|  45.0k|                    std::forward<Args>(args)...);
  965|  45.0k|            }
  966|  45.0k|            JSONCONS_CATCH(...)
  967|  45.0k|            {
  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|  45.0k|            return ptr;
  972|  45.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  45.0k|        {
  996|  45.0k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  45.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  722|  45.0k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  723|  45.0k|            {
  724|  45.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2691|  19.0M|        {
 2692|  19.0M|            construct<null_storage>(tag);
 2693|  19.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  995|  19.0M|        {
  996|  19.0M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  19.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2701|  3.05k|        {
 2702|  3.05k|            construct<bool_storage>(val,tag);
 2703|  3.05k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  995|  3.05k|        {
  996|  3.05k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  3.05k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|  3.05k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|  3.05k|                  val_(val)
  477|  3.05k|            {
  478|  3.05k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2549|  85.6k|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2550|  85.6k|        {
 2551|  85.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2579|  85.6k|        {
 2580|  85.6k|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2580:17): [True: 18.0k, False: 67.6k]
  ------------------
 2581|  18.0k|            {
 2582|  18.0k|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2583|  18.0k|            }
 2584|  67.6k|            else
 2585|  67.6k|            {
 2586|  67.6k|                auto ptr = create_long_string(alloc, s, length);
 2587|  67.6k|                construct<long_string_storage>(ptr, tag);
 2588|  67.6k|            }
 2589|  85.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  995|  18.0k|        {
  996|  18.0k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  18.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  18.0k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  18.0k|            {
  579|  18.0k|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   54|  18.0k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 18.0k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  580|  18.0k|                std::memcpy(data_,p,length*sizeof(char_type));
  581|  18.0k|                data_[length] = 0;
  582|  18.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  943|  67.6k|        {
  944|  67.6k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  945|  67.6k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  946|  67.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|  67.6k|        {
  996|  67.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  67.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  621|  67.6k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  622|  67.6k|            {
  623|  67.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  950|  68.4k|        {
  951|  68.4k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  952|  68.4k|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  953|  68.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  670|  68.4k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  671|  68.4k|            {
  672|  68.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr6nonstd18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2742|  68.4k|        {
 2743|  68.4k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2744|       |
 2745|  68.4k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2746|  68.4k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2747|  68.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  995|  68.4k|        {
  996|  68.4k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  68.4k|        }

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

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  56.4k|        {
  106|  56.4k|            flatten_and_destroy();
  107|  56.4k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  56.4k|        {
  249|  4.92M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 4.86M, False: 56.4k]
  ------------------
  250|  4.86M|            {
  251|  4.86M|                value_type current = std::move(data_.back());
  252|  4.86M|                data_.pop_back();
  253|  4.86M|                switch (current.storage_kind())
  254|  4.86M|                {
  255|  4.56k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 4.56k, False: 4.86M]
  ------------------
  256|  4.56k|                    {
  257|  4.56k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 5.01k, False: 4.56k]
  ------------------
  258|  5.01k|                        {
  259|  5.01k|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 832, False: 4.18k]
  |  Branch (259:85): [True: 578, False: 3.60k]
  ------------------
  260|  1.41k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 966, False: 444]
  ------------------
  261|    966|                            {
  262|    966|                                data_.push_back(std::move(item));
  263|    966|                            }
  264|  5.01k|                        }
  265|  4.56k|                        current.clear();                           
  266|  4.56k|                        break;
  267|      0|                    }
  268|  4.60k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 4.60k, False: 4.86M]
  ------------------
  269|  4.60k|                    {
  270|  4.60k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 5.82k, False: 4.60k]
  ------------------
  271|  5.82k|                        {
  272|  5.82k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 316, False: 5.50k]
  |  Branch (272:91): [True: 1.44k, False: 4.06k]
  ------------------
  273|  1.75k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 1.51k, False: 248]
  ------------------
  274|  1.51k|                            {
  275|  1.51k|                                data_.push_back(std::move(kv.value()));
  276|  1.51k|                            }
  277|  5.82k|                        }
  278|  4.60k|                        current.clear();                           
  279|  4.60k|                        break;
  280|      0|                    }
  281|  4.85M|                    default:
  ------------------
  |  Branch (281:21): [True: 4.85M, False: 9.16k]
  ------------------
  282|  4.85M|                        break;
  283|  4.86M|                }
  284|  4.86M|            }
  285|  56.4k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|  4.56k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|  4.56k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  5.31k|        {
  126|  5.31k|            return data_.empty();
  127|  5.31k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|  4.56k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  11.3k|            : allocator_holder<allocator_type>(alloc), 
   50|  11.3k|              data_(value_allocator_type(alloc))
   51|  11.3k|        {
   52|  11.3k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  4.02k|        {
  218|  4.02k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  4.02k|            return data_.back();
  220|  4.02k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  7.70k|        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|  4.86M|        {
  179|  4.86M|            data_.emplace_back(std::forward<T>(value));
  180|  4.86M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  45.0k|        json_array() = default;

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  4.97k|        : alloc_(alloc),
   75|  4.97k|          result_(),
   76|  4.97k|          name_(alloc),
   77|  4.97k|          item_stack_(alloc),
   78|  4.97k|          structure_stack_(temp_alloc)
   79|  4.97k|    {
   80|       |        //item_stack_.reserve(1000);
   81|       |        //structure_stack_.reserve(100);
   82|  4.97k|        structure_stack_.emplace_back(json_structure_kind::root_kind, 0);
   83|  4.97k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14json_structureC2ENS7_19json_structure_kindEm:
   51|  85.5k|            : structure_kind(type), structure_index(offset)
   52|  85.5k|        {
   53|  85.5k|        }
_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);
  ------------------
  |  |   54|  19.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 19.2k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  188|  19.2k|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::array_kind);
  ------------------
  |  |   54|  19.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 19.2k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  189|  19.2k|        const size_t structure_index = structure_stack_.back().structure_index;
  190|  19.2k|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   54|  19.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 19.2k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  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: 7.70k, False: 11.5k]
  ------------------
  197|  7.70k|        {
  198|  7.70k|            arr.reserve(size);
  199|  7.70k|            auto first = item_stack_.begin() + (structure_index+1);
  200|  7.70k|            auto last = first + size;
  201|  4.87M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (201:35): [True: 4.86M, False: 7.70k]
  ------------------
  202|  4.86M|            {
  203|  4.86M|                arr.push_back(std::move((*it).value));
  204|  4.86M|            }
  205|  7.70k|            item_stack_.erase(first, item_stack_.end());
  206|  7.70k|        }
  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;
  ------------------
  |  |  321|  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|  9.55k|    {
  312|  9.55k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (312:17): [True: 9.55k, False: 0]
  ------------------
  313|  9.55k|        {
  314|  6.10k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (314:13): [True: 6.10k, False: 3.44k]
  ------------------
  315|  6.10k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  316|  6.10k|                break;
  317|  3.44k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (317:13): [True: 3.44k, False: 6.10k]
  ------------------
  318|  3.44k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  319|  3.44k|                break;
  320|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (320:13): [True: 0, False: 9.55k]
  ------------------
  321|      0|                result_ = Json(value,tag);
  322|      0|                is_valid_ = true;
  323|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  324|  9.55k|        }
  325|  9.55k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  9.55k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  9.55k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  290|  39.0k|    {
  291|  39.0k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (291:17): [True: 39.0k, False: 0]
  ------------------
  292|  39.0k|        {
  293|  18.1k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (293:13): [True: 18.1k, False: 20.8k]
  ------------------
  294|  18.1k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  295|  18.1k|                break;
  296|  20.8k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (296:13): [True: 20.8k, False: 18.1k]
  ------------------
  297|  20.8k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  298|  20.8k|                break;
  299|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (299:13): [True: 0, False: 39.0k]
  ------------------
  300|      0|                result_ = Json(value,tag);
  301|      0|                is_valid_ = true;
  302|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  39.0k|        }
  304|  39.0k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  39.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  305|  39.0k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  353|  11.6k|    {
  354|  11.6k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (354:17): [True: 11.6k, False: 0]
  ------------------
  355|  11.6k|        {
  356|  8.07k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (356:13): [True: 8.07k, False: 3.57k]
  ------------------
  357|  8.07k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  358|  8.07k|                break;
  359|  3.57k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (359:13): [True: 3.57k, False: 8.07k]
  ------------------
  360|  3.57k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  361|  3.57k|                break;
  362|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (362:13): [True: 0, False: 11.6k]
  ------------------
  363|      0|                result_ = Json(value, tag);
  364|      0|                is_valid_ = true;
  365|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  11.6k|        }
  367|  11.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  11.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  11.6k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|     15|    {
  123|     15|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  35.4k|    {
  127|  35.4k|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (127:13): [True: 24.3k, False: 11.1k]
  ------------------
  128|  24.3k|        {
  129|  24.3k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  130|  24.3k|            item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  131|  24.3k|        }
  132|  11.1k|        else
  133|  11.1k|        {
  134|  11.1k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  135|  11.1k|            item_stack_.emplace_back(key_type(alloc_), 0, json_object_arg, tag);
  136|  11.1k|        }
  137|  35.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  35.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  138|  35.4k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  141|  26.6k|    {
  142|  26.6k|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   54|  26.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 26.6k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  143|  26.6k|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::object_kind);
  ------------------
  |  |   54|  26.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 26.6k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  144|  26.6k|        const size_t structure_index = structure_stack_.back().structure_index;
  145|  26.6k|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   54|  26.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 26.6k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  146|       |
  147|  26.6k|        const size_t size = item_stack_.size() - (structure_index + 1);
  148|  26.6k|        auto first = item_stack_.begin() + (structure_index+1);
  149|  26.6k|        auto& structure = structure_stack_[structure_stack_.size()-2];
  150|  26.6k|        auto& obj = item_stack_[structure_index].value;
  151|       |
  152|  26.6k|        if (size > 0)
  ------------------
  |  Branch (152:13): [True: 15.4k, False: 11.1k]
  ------------------
  153|  15.4k|        {
  154|  15.4k|            obj.template cast<typename Json::object_storage>().value().uninitialized_init(
  155|  15.4k|                &item_stack_[structure_index+1], size);
  156|  15.4k|            item_stack_.erase(first, item_stack_.end());
  157|  15.4k|        }
  158|       |
  159|  26.6k|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (159:13): [True: 2.03k, False: 24.5k]
  ------------------
  160|  2.03k|        {
  161|  2.03k|            result_ = std::move(item_stack_.front().value);
  162|  2.03k|            item_stack_.pop_back();
  163|  2.03k|            is_valid_ = true;
  164|  2.03k|        }
  165|       |
  166|  26.6k|        structure_stack_.pop_back();
  167|  26.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  26.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  168|  26.6k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  171|  45.0k|    {
  172|  45.0k|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (172:13): [True: 16.8k, False: 28.2k]
  ------------------
  173|  16.8k|        {
  174|  16.8k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  175|  16.8k|            item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  176|  16.8k|        }
  177|  28.2k|        else
  178|  28.2k|        {
  179|  28.2k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  180|  28.2k|            item_stack_.emplace_back(key_type(alloc_), 0, json_array_arg, tag);
  181|  28.2k|        }
  182|  45.0k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  45.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  183|  45.0k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  220|  9.28M|    {
  221|  9.28M|        name_ = key_type(name.data(),name.length(),alloc_);
  222|  9.28M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  9.28M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  223|  9.28M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  389|  19.0M|    {
  390|  19.0M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (390:17): [True: 19.0M, False: 0]
  ------------------
  391|  19.0M|        {
  392|  9.07M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (392:13): [True: 9.07M, False: 9.92M]
  ------------------
  393|  9.07M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  394|  9.07M|                break;
  395|  9.92M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (395:13): [True: 9.92M, False: 9.07M]
  ------------------
  396|  9.92M|                item_stack_.emplace_back(key_type(alloc_), 0, null_type(), tag);
  397|  9.92M|                break;
  398|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (398:13): [True: 0, False: 19.0M]
  ------------------
  399|      0|                result_ = Json(null_type(), tag);
  400|      0|                is_valid_ = true;
  401|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  402|  19.0M|        }
  403|  19.0M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  19.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  404|  19.0M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  371|  3.05k|    {
  372|  3.05k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (372:17): [True: 3.05k, False: 0]
  ------------------
  373|  3.05k|        {
  374|  1.40k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (374:13): [True: 1.40k, False: 1.65k]
  ------------------
  375|  1.40k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  376|  1.40k|                break;
  377|  1.65k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (377:13): [True: 1.65k, False: 1.40k]
  ------------------
  378|  1.65k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  379|  1.65k|                break;
  380|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (380:13): [True: 0, False: 3.05k]
  ------------------
  381|      0|                result_ = Json(value, tag);
  382|      0|                is_valid_ = true;
  383|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  384|  3.05k|        }
  385|  3.05k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.05k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  3.05k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  226|  85.6k|    {
  227|  85.6k|        auto& structure = structure_stack_.back();
  228|  85.6k|        switch (structure.structure_kind)
  ------------------
  |  Branch (228:17): [True: 85.6k, False: 0]
  ------------------
  229|  85.6k|        {
  230|  80.2k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (230:13): [True: 80.2k, False: 5.43k]
  ------------------
  231|  80.2k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  232|  80.2k|                break;
  233|  5.43k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (233:13): [True: 5.43k, False: 80.2k]
  ------------------
  234|  5.43k|                item_stack_.emplace_back(key_type(alloc_), 0, sv, tag);
  235|  5.43k|                break;
  236|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (236:13): [True: 0, False: 85.6k]
  ------------------
  237|      0|                result_ = Json(sv, tag, alloc_);
  238|      0|                is_valid_ = true;
  239|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  240|  85.6k|        }
  241|  85.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  85.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  242|  85.6k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  269|  68.4k|    {
  270|  68.4k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (270:17): [True: 68.4k, False: 0]
  ------------------
  271|  68.4k|        {
  272|  55.4k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (272:13): [True: 55.4k, False: 13.0k]
  ------------------
  273|  55.4k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, raw_tag);
  274|  55.4k|                break;
  275|  13.0k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (275:13): [True: 13.0k, False: 55.4k]
  ------------------
  276|  13.0k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, raw_tag);
  277|  13.0k|                break;
  278|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (278:13): [True: 0, False: 68.4k]
  ------------------
  279|      0|                result_ = Json(byte_string_arg, b, raw_tag, alloc_);
  280|      0|                is_valid_ = true;
  281|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  282|  68.4k|        }
  283|  68.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  68.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|  68.4k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|     15|    {
  109|     15|        return is_valid_;
  110|     15|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|     15|    {
  114|     15|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   54|     15|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 15]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  115|     15|        is_valid_ = false;
  116|     15|        return std::move(result_);
  117|     15|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  4.97k|{
 1065|  4.97k|    return json_visitor_adaptor<From, To>(to);
 1066|  4.97k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  4.97k|        : supertype(visitor)
  984|  4.97k|    {
  985|  4.97k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  4.97k|        : destination1_(std::addressof(visitor))
  722|  4.97k|    {
  723|  4.97k|    }
_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;
  ------------------
  |  |  321|  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|  9.55k|    {
  826|  9.55k|        destination1_->uint64_value(value, tag, context, ec);
  827|  9.55k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  9.55k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  9.55k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  39.0k|    {
  820|  39.0k|        destination1_->int64_value(value, tag, context, ec);
  821|  39.0k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  39.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  39.0k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  11.6k|    {
  814|  11.6k|        destination1_->double_value(value, tag, context, ec);
  815|  11.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  11.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  11.6k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|     15|    {
  739|     15|        destination1_->flush();
  740|     15|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  745|  35.4k|    {
  746|  35.4k|        destination1_->begin_object(tag, context, ec);
  747|  35.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  35.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  748|  35.4k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  26.6k|    {
  761|  26.6k|        destination1_->end_object(context, ec);
  762|  26.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  26.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  26.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|  45.0k|    {
  769|  45.0k|        destination1_->begin_array(tag, context, ec);
  770|  45.0k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  45.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  771|  45.0k|    }
_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|  9.28M|    {
  996|  9.28M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  9.28M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  9.37M|    {
  733|  9.37M|        return *destination1_;
  734|  9.37M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  19.0M|    {
  838|  19.0M|        destination1_->null_value(tag, context, ec);
  839|  19.0M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  19.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  19.0M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  3.05k|    {
  832|  3.05k|        destination1_->bool_value(value, tag, context, ec);
  833|  3.05k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.05k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  3.05k|    }
_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|  85.6k|    {
 1004|  85.6k|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  85.6k|    }
_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|  68.4k|    {
  802|  68.4k|        destination1_->byte_string_value(b, raw_tag, context, ec);
  803|  68.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  68.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|  68.4k|    }

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  9.95k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  9.95k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  19.1k|        {
  415|  19.1k|            visit_uint64(value, tag, context, ec);
  416|  19.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  19.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  19.1k|        }
_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;
  ------------------
  |  |  321|  38.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  38.4k|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  78.1k|        {
  424|  78.1k|            visit_int64(value, tag, context, ec);
  425|  78.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  78.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  78.1k|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  23.2k|        {
  442|  23.2k|            visit_double(value, tag, context, ec);
  443|  23.2k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  23.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  23.2k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|     30|        {
  109|     30|            visit_flush();
  110|     30|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  318|  70.9k|        {
  319|  70.9k|            visit_begin_object(tag, context, ec);
  320|  70.9k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  70.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  321|  70.9k|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  53.2k|        {
  334|  53.2k|            visit_end_object(context, ec);
  335|  53.2k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  53.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  53.2k|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  339|  90.1k|        {
  340|  90.1k|            visit_begin_array(tag, context, ec);
  341|  90.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  90.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  342|  90.1k|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  18.5M|        {
  358|  18.5M|            visit_key(name, context, ec);
  359|  18.5M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  18.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  18.5M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  38.0M|        {
  366|  38.0M|            visit_null(tag, context, ec);
  367|  38.0M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  38.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  38.0M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  6.10k|        {
  375|  6.10k|            visit_bool(value, tag, context, ec);
  376|  6.10k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  6.10k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  6.10k|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|   171k|        {
  384|   171k|            visit_string(value, tag, context, ec);
  385|   171k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   171k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|   171k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr6nonstd18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|   136k|        {
  406|   136k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|   136k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   136k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|   136k|        }

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|  61.6k|    {
  121|  61.6k|        return value_;
  122|  61.6k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  36.3M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  9.55k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  9.55k|    {
   45|  9.55k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  46.0M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  39.0k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  39.0k|    {
   45|  39.0k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  11.6k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  11.6k|    {
   45|  11.6k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  35.4k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  35.4k|    {
   45|  35.4k|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|  42.7k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|  42.7k|    {
   88|  42.7k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  45.0k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  45.0k|    {
   45|  45.0k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  19.0M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  19.0M|    {
   45|  19.0M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  3.05k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.05k|    {
   45|  3.05k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  85.6k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  85.6k|    {
   45|  85.6k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  68.4k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  68.4k|    {
   45|  68.4k|    }

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

_ZN8jsoncons6nonstd16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  67.6k|    {       
  242|  67.6k|        return (ptr);
  243|  67.6k|    }  
_ZN8jsoncons6nonstd16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|  68.4k|    {       
  242|  68.4k|        return (ptr);
  243|  68.4k|    }  
_ZN8jsoncons6nonstd16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  90.1k|    {       
  242|  90.1k|        return (ptr);
  243|  90.1k|    }  
_ZN8jsoncons6nonstd16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  70.9k|    {       
  242|  70.9k|        return (ptr);
  243|  70.9k|    }  
_ZN8jsoncons6nonstd16to_plain_pointerIcEEPT_S3_:
  241|   136k|    {       
  242|   136k|        return (ptr);
  243|   136k|    }  

_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|   111k|            : data_(data), size_(size)
   62|   111k|        {
   63|   111k|        }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4dataEv:
  111|   139k|        {
  112|   139k|            return data_;
  113|   139k|        }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4sizeEv:
  116|   281k|        {
  117|   281k|            return size_;
  118|   281k|        }
_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2Ev:
   58|  28.2k|        {
   59|  28.2k|        }

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  3.92k|        {
  159|  3.92k|            return data_.empty();
  160|  3.92k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  4.60k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  4.60k|        {
  169|  4.60k|            return data_.begin();
  170|  4.60k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  4.60k|        {
  174|  4.60k|            return data_.end();
  175|  4.60k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  35.4k|        {
  154|  35.4k|            flatten_and_destroy();
  155|  35.4k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|  35.4k|        {
  725|  35.4k|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 11.3k, False: 24.1k]
  ------------------
  726|  11.3k|            {
  727|  11.3k|                json_array<Json> temp(get_allocator());
  728|       |
  729|  11.3k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 36.9k, False: 11.3k]
  ------------------
  730|  36.9k|                {
  731|  36.9k|                    switch (kv.value().storage_kind())
  732|  36.9k|                    {
  733|  4.17k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 4.17k, False: 32.7k]
  ------------------
  734|  6.07k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 1.90k, False: 35.0k]
  ------------------
  735|  6.07k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 4.02k, False: 2.04k]
  ------------------
  736|  4.02k|                            {
  737|  4.02k|                                temp.emplace_back(std::move(kv.value()));
  738|  4.02k|                            }
  739|  6.07k|                            break;
  740|  30.8k|                        default:
  ------------------
  |  Branch (740:25): [True: 30.8k, False: 6.07k]
  ------------------
  741|  30.8k|                            break;
  742|  36.9k|                    }
  743|  36.9k|                }
  744|  11.3k|            }
  745|  35.4k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  35.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|  15.4k|        {
  278|  15.4k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 15.4k, False: 0]
  ------------------
  279|  15.4k|            {
  280|  15.4k|                data_.reserve(count);
  281|       |
  282|  15.4k|                std::sort(items, items+count, compare);
  283|  15.4k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  6.98M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 6.97M, False: 15.4k]
  ------------------
  286|  6.97M|                {
  287|  6.97M|                    auto& item = items[i];
  288|  6.97M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 27.3k, False: 6.94M]
  ------------------
  289|  27.3k|                    {
  290|  27.3k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|  27.3k|                    }
  292|  6.97M|                }
  293|  15.4k|            }
  294|  15.4k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|   162M|        {
  269|   162M|            int comp = item1.name.compare(item2.name); 
  270|   162M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 841k, False: 161M]
  ------------------
  271|   161M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 161M, False: 361k]
  ------------------
  272|       |
  273|   361k|            return false;
  274|   161M|        }

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  176|  4.97k|        : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  177|  4.97k|          chunk_size_(default_max_chunk_size)
  178|  4.97k|    {
  179|  4.97k|        chunk_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, chunk_size_);
  180|  4.97k|        data_end_ = chunk_;
  181|  4.97k|    }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   57|  4.97k|      : std::basic_istream<CharT>(&nb_)
   58|  4.97k|    {
   59|  4.97k|    }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   43|  4.97k|        null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  193|  4.97k|    {
  194|  4.97k|        if (chunk_)
  ------------------
  |  Branch (194:13): [True: 4.97k, False: 0]
  ------------------
  195|  4.97k|        {
  196|  4.97k|            std::allocator_traits<char_allocator_type>::deallocate(alloc_, chunk_, chunk_size_);
  197|  4.97k|        }
  198|  4.97k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|  4.96k|    {
  282|  4.96k|        return position_;
  283|  4.96k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  4.97k|    {
  277|  4.97k|        return stream_ptr_->bad();  
  278|  4.97k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  377|  77.0M|    {
  378|  77.0M|        std::size_t len = 0;
  379|  77.0M|        if (remaining_ > 0)
  ------------------
  |  Branch (379:13): [True: 77.0M, False: 10.4k]
  ------------------
  380|  77.0M|        {
  381|  77.0M|            len = (std::min)(remaining_, length);
  382|  77.0M|            std::memcpy(p, data_end_, len*sizeof(value_type));
  383|  77.0M|            data_end_ += len;
  384|  77.0M|            remaining_ -= len;
  385|  77.0M|            position_ += len;
  386|  77.0M|        }
  387|  77.0M|        if (length - len == 0)
  ------------------
  |  Branch (387:13): [True: 77.0M, False: 12.2k]
  ------------------
  388|  77.0M|        {
  389|  77.0M|            return len;
  390|  77.0M|        }
  391|  12.2k|        else if (length - len < chunk_size_)
  ------------------
  |  Branch (391:18): [True: 12.2k, False: 0]
  ------------------
  392|  12.2k|        {
  393|  12.2k|            data_end_ = chunk_;
  394|  12.2k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  395|  12.2k|            if (remaining_ > 0)
  ------------------
  |  Branch (395:17): [True: 10.6k, False: 1.61k]
  ------------------
  396|  10.6k|            {
  397|  10.6k|                std::size_t len2 = (std::min)(remaining_, length-len);
  398|  10.6k|                std::memcpy(p+len, data_end_, len2*sizeof(value_type));
  399|  10.6k|                data_end_ += len2;
  400|  10.6k|                remaining_ -= len2;
  401|  10.6k|                position_ += len2;
  402|  10.6k|                len += len2;
  403|  10.6k|            }
  404|  12.2k|            return len;
  405|  12.2k|        }
  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|  77.0M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  442|  13.1k|    {
  443|  13.1k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (443:13): [True: 1.62k, False: 11.5k]
  ------------------
  444|  1.62k|        {
  445|  1.62k|            return 0;
  446|  1.62k|        }
  447|       |
  448|  11.5k|        JSONCONS_TRY
  ------------------
  |  |   37|  11.5k|    #define JSONCONS_TRY try
  ------------------
  449|  11.5k|        {
  450|  11.5k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  451|  11.5k|            std::size_t length = static_cast<std::size_t>(count);
  452|       |
  453|  11.5k|            if (length < chunk_size)
  ------------------
  |  Branch (453:17): [True: 4.94k, False: 6.56k]
  ------------------
  454|  4.94k|            {
  455|  4.94k|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  456|  4.94k|            }
  457|  11.5k|            return length;
  458|  11.5k|        }
  459|  11.5k|        JSONCONS_CATCH(const std::exception&)     
  460|  11.5k|        {
  461|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  462|      0|            return 0;
  463|      0|        }
  464|  11.5k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_12basic_stringIcNS1_11char_traitsIcEENS2_IcEEEEEENS_6nonstd4spanIKhLm18446744073709551615EEEmOT_:
  352|  2.72k|    {
  353|  2.72k|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   79|  2.72k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1.04k, False: 1.68k]
  |  |  ------------------
  ------------------
  354|  1.04k|        {
  355|  1.04k|            return span<const value_type>{};
  356|  1.04k|        }
  357|  1.68k|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 136, False: 1.54k]
  |  Branch (357:32): [True: 18, False: 118]
  ------------------
  358|     18|        {
  359|     18|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|     18|            data_end_ = chunk_;
  361|     18|        }
  362|  1.68k|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 382, False: 1.30k]
  ------------------
  363|    382|        {
  364|    382|            buffer.clear();
  365|    382|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    382|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    382|        }
  368|       |
  369|  1.30k|        const value_type* data = data_end_;
  370|  1.30k|        data_end_ += length;
  371|  1.30k|        remaining_ -= length;
  372|  1.30k|        position_ += length;
  373|  1.30k|        return span<const value_type>(data, length);
  374|  1.68k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_12basic_stringIcNS2_11char_traitsIcEENS3_IcEEEEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr6nonstd7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSG_m:
  746|    382|    {
  747|    382|        std::size_t unread = length;
  748|       |
  749|  1.46k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 1.31k, False: 147]
  |  Branch (749:30): [True: 1.08k, False: 235]
  ------------------
  750|  1.08k|        {
  751|  1.08k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 445, False: 635]
  |  Branch (751:44): [True: 444, False: 1]
  ------------------
  752|    444|            {
  753|    444|                std::size_t n = source.chunk_size();
  754|    444|                std::size_t offset = buffer.size();
  755|    444|                buffer.resize(offset+n);
  756|    444|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|    444|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|    444|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 62, False: 382]
  |  |  ------------------
  ------------------
  758|     62|                {
  759|     62|                    buffer.resize(offset+actual);
  760|     62|                }
  761|    444|                unread -= actual;
  762|    444|            }
  763|    636|            else
  764|    636|            {
  765|    636|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|    636|                std::size_t offset = buffer.size();
  767|    636|                buffer.resize(offset+n);
  768|    636|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|    636|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|    636|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 100, False: 536]
  |  |  ------------------
  ------------------
  770|    100|                {
  771|    100|                    buffer.resize(offset + actual);
  772|    100|                }
  773|    636|                unread -= actual;
  774|    636|            }
  775|  1.08k|        }
  776|    382|        return length - unread;
  777|    382|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  3.23k|    {
  272|  3.23k|        return remaining_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 1.40k, False: 1.83k]
  |  Branch (272:35): [True: 548, False: 855]
  ------------------
  273|  3.23k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9remainingEv:
  346|  2.68k|    {
  347|  2.68k|        return remaining_;
  348|  2.68k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|  3.54k|    {
  262|  3.54k|        return chunk_size_;
  263|  3.54k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11read_bufferEPhm:
  435|    845|    {
  436|    845|        auto len = fill_buffer(chunk, chunk_size);
  437|    845|        position_ += len;
  438|    845|        return len;
  439|    845|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_6vectorIhS3_EEEENS_6nonstd4spanIKhLm18446744073709551615EEEmOT_:
  352|  68.8k|    {
  353|  68.8k|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   79|  68.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 27.2k, False: 41.5k]
  |  |  ------------------
  ------------------
  354|  27.2k|        {
  355|  27.2k|            return span<const value_type>{};
  356|  27.2k|        }
  357|  41.5k|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 168, False: 41.4k]
  |  Branch (357:32): [True: 53, False: 115]
  ------------------
  358|     53|        {
  359|     53|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|     53|            data_end_ = chunk_;
  361|     53|        }
  362|  41.5k|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 577, False: 41.0k]
  ------------------
  363|    577|        {
  364|    577|            buffer.clear();
  365|    577|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    577|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    577|        }
  368|       |
  369|  41.0k|        const value_type* data = data_end_;
  370|  41.0k|        data_end_ += length;
  371|  41.0k|        remaining_ -= length;
  372|  41.0k|        position_ += length;
  373|  41.0k|        return span<const value_type>(data, length);
  374|  41.5k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr6nonstd7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSD_m:
  746|    577|    {
  747|    577|        std::size_t unread = length;
  748|       |
  749|  2.18k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 1.92k, False: 264]
  |  Branch (749:30): [True: 1.60k, False: 313]
  ------------------
  750|  1.60k|        {
  751|  1.60k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 410, False: 1.19k]
  |  Branch (751:44): [True: 401, False: 9]
  ------------------
  752|    401|            {
  753|    401|                std::size_t n = source.chunk_size();
  754|    401|                std::size_t offset = buffer.size();
  755|    401|                buffer.resize(offset+n);
  756|    401|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|    401|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|    401|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 55, False: 346]
  |  |  ------------------
  ------------------
  758|     55|                {
  759|     55|                    buffer.resize(offset+actual);
  760|     55|                }
  761|    401|                unread -= actual;
  762|    401|            }
  763|  1.20k|            else
  764|  1.20k|            {
  765|  1.20k|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|  1.20k|                std::size_t offset = buffer.size();
  767|  1.20k|                buffer.resize(offset+n);
  768|  1.20k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|  1.20k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|  1.20k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 186, False: 1.02k]
  |  |  ------------------
  ------------------
  770|    186|                {
  771|    186|                    buffer.resize(offset + actual);
  772|    186|                }
  773|  1.20k|                unread -= actual;
  774|  1.20k|            }
  775|  1.60k|        }
  776|    577|        return length - unread;
  777|    577|    }

_ZN8jsoncons6binary16little_to_nativeIiNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|   176k|    {
  198|   176k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 176k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|   176k|        T val;
  203|   176k|        std::memcpy(&val,first,sizeof(T));
  204|   176k|        return val;
  205|   176k|    }
_ZN8jsoncons6binary16little_to_nativeIdNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|  11.6k|    {
  198|  11.6k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 11.6k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|  11.6k|        T val;
  203|  11.6k|        std::memcpy(&val,first,sizeof(T));
  204|  11.6k|        return val;
  205|  11.6k|    }
_ZN8jsoncons6binary16little_to_nativeImNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|  28.1k|    {
  198|  28.1k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 28.1k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|  28.1k|        T val;
  203|  28.1k|        std::memcpy(&val,first,sizeof(T));
  204|  28.1k|        return val;
  205|  28.1k|    }
_ZN8jsoncons6binary16little_to_nativeIlNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|  14.5k|    {
  198|  14.5k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 14.5k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|  14.5k|        T val;
  203|  14.5k|        std::memcpy(&val,first,sizeof(T));
  204|  14.5k|        return val;
  205|  14.5k|    }

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

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

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

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr6nonstd8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  9.29M|    {
 1148|  9.29M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  9.29M|        const uint8_t* end = it + length;
 1150|       |
 1151|  9.29M|        unicode_errc  result{};
 1152|  12.8M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 3.53M, False: 9.29M]
  ------------------
 1153|  3.53M|        {
 1154|  3.53M|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 2.84M, False: 686k]
  ------------------
 1155|  2.84M|            {
 1156|  19.8M|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  326|  5.69M|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (326:32): [True: 2.84M, False: 4.88k]
  |  |  |  Branch (326:34): [True: 2.84M, False: 1.74k]
  |  |  |  Branch (326:36): [True: 2.84M, False: 2.10k]
  |  |  |  Branch (326:38): [True: 2.83M, False: 1.83k]
  |  |  |  Branch (326:40): [True: 2.83M, False: 2.79k]
  |  |  |  Branch (326:42): [True: 2.83M, False: 2.66k]
  |  |  |  Branch (326:44): [True: 2.83M, False: 1.96k]
  |  |  |  Branch (326:46): [True: 2.82M, False: 2.43k]
  |  |  ------------------
  ------------------
 1157|  2.82M|                continue;
 1158|  19.8M|            }
 1159|   706k|    non_ascii:
 1160|   706k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|   706k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 43, False: 706k]
  ------------------
 1162|     43|            {
 1163|     43|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     43|            }
 1165|   706k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 168, False: 706k]
  ------------------
 1166|    168|            {
 1167|    168|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    168|            }
 1169|   706k|            it += len;
 1170|   706k|        }
 1171|  9.29M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  9.29M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|   706k|    {
  306|   706k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|   706k|        const uint8_t* end = it+length;
  308|       |
  309|   706k|        uint8_t byte;
  310|   706k|        switch (length) {
  311|     31|        default:
  ------------------
  |  Branch (311:9): [True: 31, False: 706k]
  ------------------
  312|     31|            return unicode_errc::over_long_utf8_sequence;
  313|  5.17k|        case 4:
  ------------------
  |  Branch (313:9): [True: 5.17k, False: 701k]
  ------------------
  314|  5.17k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 7, False: 5.16k]
  ------------------
  315|      7|                return unicode_errc::bad_continuation_byte;
  316|  5.16k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|  5.16k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  12.4k|        case 3:
  ------------------
  |  Branch (317:9): [True: 7.27k, False: 699k]
  ------------------
  318|  12.4k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 12, False: 12.4k]
  ------------------
  319|     12|                return unicode_errc::bad_continuation_byte;
  320|  12.4k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|  12.4k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  20.9k|        case 2:
  ------------------
  |  Branch (321:9): [True: 8.50k, False: 698k]
  ------------------
  322|  20.9k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 37, False: 20.8k]
  ------------------
  323|     37|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  20.8k|            switch (*it) 
  326|  20.8k|            {
  327|       |                // no fall-through in this inner switch
  328|  1.22k|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 1.22k, False: 19.6k]
  |  Branch (328:32): [True: 8, False: 1.21k]
  ------------------
  329|  1.21k|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 1.13k, False: 19.7k]
  |  Branch (329:32): [True: 2, False: 1.13k]
  ------------------
  330|  1.13k|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 353, False: 20.5k]
  |  Branch (330:32): [True: 6, False: 347]
  ------------------
  331|    797|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 797, False: 20.0k]
  |  Branch (331:32): [True: 3, False: 794]
  ------------------
  332|  17.3k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 17.3k, False: 3.51k]
  |  Branch (332:32): [True: 0, False: 17.3k]
  ------------------
  333|  20.8k|            }
  334|       |
  335|  20.8k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|  20.8k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|   706k|        case 1:
  ------------------
  |  Branch (336:9): [True: 685k, False: 20.9k]
  ------------------
  337|   706k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 20.9k, False: 685k]
  |  Branch (337:32): [True: 61, False: 20.8k]
  ------------------
  338|     61|                return unicode_errc::source_illegal;
  339|   706k|            break;
  340|   706k|        }
  341|   706k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 1, False: 706k]
  ------------------
  342|      1|            return unicode_errc::source_illegal;
  343|       |
  344|   706k|        return unicode_errc();
  345|   706k|    }

_ZN8jsoncons4bson3TP1C2Ev:
   78|  9.27k|        constexpr TP1() : low(0), high(0) {}
_ZN8jsoncons4bson19decimal128_to_charsEPcS1_RKNS0_3TP1E:
  335|  9.27k|    {
  336|  9.27k|        static const std::string bson_decimal128_inf = "Infinity";
  337|  9.27k|        static const std::string bson_decimal128_nan = "NaN";
  338|       |
  339|  9.27k|        static constexpr uint32_t combination_mask = 0x1f;   /* Extract least significant 5 bits */
  340|  9.27k|        static constexpr uint32_t exponent_mask = 0x3fff;    /* Extract least significant 14 bits */
  341|  9.27k|        static constexpr uint32_t combination_infinity = 30; /* Value of combination field for Inf */
  342|  9.27k|        static constexpr uint32_t combination_nan = 31;      /* Value of combination field for NaN */
  343|  9.27k|        static constexpr uint32_t exponent_bias = 6176;      /* decimal128 exponent bias */
  344|       |
  345|  9.27k|        char* str_out = first;      /* output pointer in string */
  346|  9.27k|        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|  9.27k|        uint32_t high;                   /* bits 0 - 31 */
  351|  9.27k|        uint32_t midh;                   /* bits 32 - 63 */
  352|  9.27k|        uint32_t midl;                   /* bits 64 - 95 */
  353|  9.27k|        uint32_t low;                    /* bits 96 - 127 */
  354|  9.27k|        uint32_t combination;            /* bits 1 - 5 */
  355|  9.27k|        uint32_t biased_exponent;        /* decoded biased exponent (14 bits) */
  356|  9.27k|        uint32_t significand_digits = 0; /* the number of significand digits */
  357|  9.27k|        uint32_t significand[36] = {0};  /* the base-10 digits in the significand */
  358|  9.27k|        uint32_t *significand_read = significand; /* read pointer into significand */
  359|  9.27k|        int32_t exponent;                         /* unbiased exponent */
  360|  9.27k|        int32_t scientific_exponent; /* the exponent if scientific notation is
  361|       |                                      * used */
  362|  9.27k|        bool is_zero = false;        /* true if the number is zero */
  363|       | 
  364|  9.27k|        uint8_t significand_msb; /* the most signifcant significand bits (50-46) */
  365|  9.27k|        bson_uint128_t
  366|  9.27k|           significand128; /* temporary storage for significand decoding */
  367|       | 
  368|  9.27k|        memset (significand_str, 0, sizeof (significand_str));
  369|       | 
  370|  9.27k|        if ((int64_t) dec.high < 0) { /* negative */
  ------------------
  |  Branch (370:13): [True: 1.16k, False: 8.10k]
  ------------------
  371|  1.16k|           *(str_out++) = '-';
  372|  1.16k|        }
  373|       | 
  374|  9.27k|        low = (uint32_t) dec.low, midl = (uint32_t) (dec.low >> 32),
  375|  9.27k|        midh = (uint32_t) dec.high, high = (uint32_t) (dec.high >> 32);
  376|       | 
  377|       |        /* Decode combination field and exponent */
  378|  9.27k|        combination = (high >> 26) & combination_mask;
  379|       | 
  380|  9.27k|        if (JSONCONS_UNLIKELY ((combination >> 3) == 3)) {
  ------------------
  |  |   79|  9.27k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 887, False: 8.38k]
  |  |  ------------------
  ------------------
  381|       |           /* Check for 'special' values */
  382|    887|           if (combination == combination_infinity) { /* Infinity */
  ------------------
  |  Branch (382:16): [True: 194, False: 693]
  ------------------
  383|    194|               if (last-str_out >= static_cast<ptrdiff_t >(bson_decimal128_inf.size())) 
  ------------------
  |  Branch (383:20): [True: 194, False: 0]
  ------------------
  384|    194|               {
  385|    194|                   std::memcpy(str_out, bson_decimal128_inf.data(), bson_decimal128_inf.size());
  386|    194|                   str_out += bson_decimal128_inf.size();
  387|    194|               }
  388|    194|               *str_out = 0;
  389|       |              //strcpy_s (str_out, last-str_out, bson_decimal128_inf.c_str());
  390|    194|              return decimal128_to_chars_result{str_out, std::errc{}};
  391|    693|           } else if (combination == combination_nan) { /* NaN */
  ------------------
  |  Branch (391:23): [True: 430, False: 263]
  ------------------
  392|       |               /* first, not str_out, to erase the sign */
  393|    430|               str_out = first;
  394|    430|               if (last-str_out >= static_cast<ptrdiff_t >(bson_decimal128_nan.size())) 
  ------------------
  |  Branch (394:20): [True: 430, False: 0]
  ------------------
  395|    430|               {
  396|    430|                   std::memcpy(str_out, bson_decimal128_nan.data(), bson_decimal128_nan.size());
  397|    430|                   str_out += bson_decimal128_nan.size();
  398|    430|               }
  399|    430|               *str_out = 0;
  400|       |              //strcpy_s (first, last-first, bson_decimal128_nan.c_str());
  401|       |              /* we don't care about the NaN payload. */
  402|    430|               return decimal128_to_chars_result{str_out, std::errc{}};
  403|    430|           } else {
  404|    263|              biased_exponent = (high >> 15) & exponent_mask;
  405|    263|              significand_msb = 0x8 + ((high >> 14) & 0x1);
  406|    263|           }
  407|  8.38k|        } else {
  408|  8.38k|           significand_msb = (high >> 14) & 0x7;
  409|  8.38k|           biased_exponent = (high >> 17) & exponent_mask;
  410|  8.38k|        }
  411|       | 
  412|  8.64k|        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|  8.64k|        significand128.parts[0] = (high & 0x3fff) + ((significand_msb & 0xf) << 14);
  419|  8.64k|        significand128.parts[1] = midh;
  420|  8.64k|        significand128.parts[2] = midl;
  421|  8.64k|        significand128.parts[3] = low;
  422|       | 
  423|  8.64k|        if (significand128.parts[0] == 0 && significand128.parts[1] == 0 &&
  ------------------
  |  Branch (423:13): [True: 1.71k, False: 6.93k]
  |  Branch (423:45): [True: 995, False: 723]
  ------------------
  424|    995|            significand128.parts[2] == 0 && significand128.parts[3] == 0) {
  ------------------
  |  Branch (424:13): [True: 660, False: 335]
  |  Branch (424:45): [True: 207, False: 453]
  ------------------
  425|    207|           is_zero = true;
  426|  8.44k|        } else if (significand128.parts[0] >= (1 << 17)) {
  ------------------
  |  Branch (426:20): [True: 263, False: 8.17k]
  ------------------
  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|    263|           is_zero = true;
  434|  8.17k|        } else {
  435|  40.8k|           for (int k = 3; k >= 0; k--) {
  ------------------
  |  Branch (435:28): [True: 32.7k, False: 8.17k]
  ------------------
  436|  32.7k|              uint32_t least_digits = 0;
  437|  32.7k|              detail::bson_uint128_divide1B (
  438|  32.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|  32.7k|              if (!least_digits) {
  ------------------
  |  Branch (442:19): [True: 1.55k, False: 31.1k]
  ------------------
  443|  1.55k|                 continue;
  444|  1.55k|              }
  445|       | 
  446|   311k|              for (int j = 8; j >= 0; j--) {
  ------------------
  |  Branch (446:31): [True: 280k, False: 31.1k]
  ------------------
  447|   280k|                 significand[k * 9 + j] = least_digits % 10;
  448|   280k|                 least_digits /= 10;
  449|   280k|              }
  450|  31.1k|           }
  451|  8.17k|        }
  452|       | 
  453|       |        /* Output format options: */
  454|       |        /* Scientific - [-]d.dddE(+/-)dd or [-]dE(+/-)dd */
  455|       |        /* Regular    - ddd.ddd */
  456|       | 
  457|  8.64k|        if (is_zero) {
  ------------------
  |  Branch (457:13): [True: 470, False: 8.17k]
  ------------------
  458|    470|           significand_digits = 1;
  459|    470|           *significand_read = 0;
  460|  8.17k|        } else {
  461|  8.17k|           significand_digits = 36;
  462|  61.2k|           while (!(*significand_read)) {
  ------------------
  |  Branch (462:19): [True: 53.0k, False: 8.17k]
  ------------------
  463|  53.0k|              significand_digits--;
  464|  53.0k|              significand_read++;
  465|  53.0k|           }
  466|  8.17k|        }
  467|       | 
  468|  8.64k|        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|  8.64k|        if (scientific_exponent < -6 || exponent > 0) {
  ------------------
  |  Branch (478:13): [True: 6.61k, False: 2.03k]
  |  Branch (478:41): [True: 1.11k, False: 913]
  ------------------
  479|       |           /* Scientific format */
  480|  7.73k|           *(str_out++) = char(*(significand_read++)) + '0';
  481|  7.73k|           significand_digits--;
  482|       | 
  483|  7.73k|           if (significand_digits) {
  ------------------
  |  Branch (483:16): [True: 7.26k, False: 467]
  ------------------
  484|  7.26k|              *(str_out++) = '.';
  485|  7.26k|           }
  486|       | 
  487|   215k|           for (std::size_t i = 0; i < significand_digits && (str_out - first) < 36; i++) {
  ------------------
  |  Branch (487:36): [True: 207k, False: 7.73k]
  |  Branch (487:62): [True: 207k, False: 1]
  ------------------
  488|   207k|              *(str_out++) = char(*(significand_read++)) + '0';
  489|   207k|           }
  490|       |           /* Exponent */
  491|  7.73k|           *(str_out++) = 'E';
  492|       |
  493|  7.73k|           std::string s;
  494|  7.73k|           if (scientific_exponent >= 0) {
  ------------------
  |  Branch (494:16): [True: 1.11k, False: 6.61k]
  ------------------
  495|  1.11k|               s.push_back('+');
  496|  1.11k|           }
  497|  7.73k|           jsoncons::from_integer(scientific_exponent, s);
  498|  7.73k|           if (str_out + s.size() < last) 
  ------------------
  |  Branch (498:16): [True: 7.03k, False: 701]
  ------------------
  499|  7.03k|           {
  500|  7.03k|               std::memcpy(str_out, s.data(), s.size());
  501|  7.03k|           }
  502|    701|           else
  503|    701|           {
  504|    701|               return decimal128_to_chars_result{str_out, std::errc::value_too_large};
  505|    701|           }
  506|  7.03k|           str_out += s.size();
  507|  7.03k|        } else {
  508|       |           /* Regular format with no decimal place */
  509|    913|           if (exponent >= 0) {
  ------------------
  |  Branch (509:16): [True: 319, False: 594]
  ------------------
  510|  8.45k|              for (std::size_t i = 0; i < significand_digits && (str_out - first) < 36; i++) {
  ------------------
  |  Branch (510:39): [True: 8.13k, False: 319]
  |  Branch (510:65): [True: 8.13k, False: 0]
  ------------------
  511|  8.13k|                 *(str_out++) = char(*(significand_read++)) + '0';
  512|  8.13k|              }
  513|    594|           } else {
  514|    594|              int32_t radix_position = significand_digits + exponent;
  515|       | 
  516|    594|              if (radix_position > 0) { /* non-zero digits before radix */
  ------------------
  |  Branch (516:19): [True: 222, False: 372]
  ------------------
  517|    222|                 for (int32_t i = 0;
  518|  1.45k|                      i < radix_position && (str_out < last);
  ------------------
  |  Branch (518:23): [True: 1.22k, False: 222]
  |  Branch (518:45): [True: 1.22k, False: 0]
  ------------------
  519|  1.22k|                      i++) {
  520|  1.22k|                    *(str_out++) = char(*(significand_read++)) + '0';
  521|  1.22k|                 }
  522|    372|              } else { /* leading zero before radix point */
  523|    372|                 *(str_out++) = '0';
  524|    372|              }
  525|       | 
  526|    594|              *(str_out++) = '.';
  527|  1.72k|              while (radix_position++ < 0) { /* add leading zeros after radix */
  ------------------
  |  Branch (527:22): [True: 1.12k, False: 594]
  ------------------
  528|  1.12k|                 *(str_out++) = '0';
  529|  1.12k|              }
  530|       | 
  531|    594|              for (std::size_t i = 0;
  532|  17.8k|                   (i < significand_digits - (std::max) (radix_position - 1, 0)) &&
  ------------------
  |  Branch (532:20): [True: 17.2k, False: 573]
  |  Branch (532:20): [True: 17.2k, False: 594]
  ------------------
  533|  17.2k|                   (str_out < last);
  ------------------
  |  Branch (533:20): [True: 17.2k, False: 21]
  ------------------
  534|  17.2k|                   i++) {
  535|  17.2k|                 *(str_out++) = char(*(significand_read++)) + '0';
  536|  17.2k|              }
  537|    594|           }
  538|    913|        }
  539|  7.94k|        return decimal128_to_chars_result{str_out, std::errc{}};
  540|  8.64k|    }
_ZN8jsoncons4bson6detail21bson_uint128_divide1BENS0_14bson_uint128_tEPS2_Pj:
  178|  32.7k|        {
  179|  32.7k|            static constexpr uint32_t DIVISOR = 1000 * 1000 * 1000;
  180|  32.7k|            uint64_t _rem = 0;
  181|  32.7k|            int i = 0;
  182|       |            
  183|  32.7k|            if (!value.parts[0] && !value.parts[1] && !value.parts[2] &&
  ------------------
  |  Branch (183:17): [True: 26.0k, False: 6.66k]
  |  Branch (183:36): [True: 18.1k, False: 7.86k]
  |  Branch (183:55): [True: 10.1k, False: 8.03k]
  ------------------
  184|  10.1k|                !value.parts[3]) {
  ------------------
  |  Branch (184:17): [True: 1.55k, False: 8.59k]
  ------------------
  185|  1.55k|               *quotient = value;
  186|  1.55k|               *rem = 0;
  187|  1.55k|               return;
  188|  1.55k|            }
  189|       |            
  190|   155k|            for (i = 0; i <= 3; i++) {
  ------------------
  |  Branch (190:25): [True: 124k, False: 31.1k]
  ------------------
  191|   124k|               _rem <<= 32; /* Adjust remainder to match value of next dividend */
  192|   124k|               _rem += value.parts[i]; /* Add the divided to _rem */
  193|   124k|               value.parts[i] = (uint32_t) (_rem / DIVISOR);
  194|   124k|               _rem %= DIVISOR; /* Store the remainder */
  195|   124k|            }
  196|       |            
  197|  31.1k|            *quotient = value;
  198|  31.1k|            *rem = (uint32_t) _rem;
  199|  31.1k|        }

_ZN8jsoncons4bson15make_error_codeENS0_9bson_errcE:
  100|  4.96k|{
  101|  4.96k|    return std::error_code(static_cast<int>(result),bson_error_category());
  102|  4.96k|}
_ZN8jsoncons4bson19bson_error_categoryEv:
   93|  4.96k|{
   94|  4.96k|  static bson_error_category_impl instance;
   95|  4.96k|  return instance;
   96|  4.96k|}
_ZNK8jsoncons4bson24bson_error_category_impl7messageEi:
   48|  4.96k|    {
   49|  4.96k|        switch (static_cast<bson_errc>(ev))
   50|  4.96k|        {
   51|  1.89k|            case bson_errc::unexpected_eof:
  ------------------
  |  Branch (51:13): [True: 1.89k, False: 3.06k]
  ------------------
   52|  1.89k|                return "Unexpected end of file";
   53|      0|            case bson_errc::source_error:
  ------------------
  |  Branch (53:13): [True: 0, False: 4.96k]
  ------------------
   54|      0|                return "Source error";
   55|    211|            case bson_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (55:13): [True: 211, False: 4.75k]
  ------------------
   56|    211|                return "Illegal UTF-8 encoding in text string";
   57|      2|            case bson_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (57:13): [True: 2, False: 4.96k]
  ------------------
   58|      2|                return "Data item nesting exceeds limit in options";
   59|      0|            case bson_errc::unmatched_end_object:
  ------------------
  |  Branch (59:13): [True: 0, False: 4.96k]
  ------------------
   60|      0|                return "Unmatched end object";
   61|      0|            case bson_errc::unmatched_end_array:
  ------------------
  |  Branch (61:13): [True: 0, False: 4.96k]
  ------------------
   62|      0|                return "Unmatched end array";
   63|     34|            case bson_errc::string_length_is_non_positive:
  ------------------
  |  Branch (63:13): [True: 34, False: 4.92k]
  ------------------
   64|     34|                return "Request for the length of a string returned a non-positive result";
   65|     33|            case bson_errc::length_is_negative:
  ------------------
  |  Branch (65:13): [True: 33, False: 4.93k]
  ------------------
   66|     33|                return "Request for the length of a binary returned a negative result";
   67|    115|            case bson_errc::unknown_type:
  ------------------
  |  Branch (67:13): [True: 115, False: 4.84k]
  ------------------
   68|    115|                return "Unknown type in input";
   69|      0|            case bson_errc::number_too_large:
  ------------------
  |  Branch (69:13): [True: 0, False: 4.96k]
  ------------------
   70|      0|                return "Number too large";
   71|      0|            case bson_errc::invalid_decimal128_string:
  ------------------
  |  Branch (71:13): [True: 0, False: 4.96k]
  ------------------
   72|      0|                return "Invalid decimal128 string";
   73|      0|            case bson_errc::datetime_too_large:
  ------------------
  |  Branch (73:13): [True: 0, False: 4.96k]
  ------------------
   74|      0|                return "datetime too large";
   75|      0|            case bson_errc::datetime_too_small:
  ------------------
  |  Branch (75:13): [True: 0, False: 4.96k]
  ------------------
   76|      0|                return "datetime too small";
   77|      0|            case bson_errc::expected_bson_document:
  ------------------
  |  Branch (77:13): [True: 0, False: 4.96k]
  ------------------
   78|      0|                return "Expected BSON document";
   79|      0|            case bson_errc::bad_regex:
  ------------------
  |  Branch (79:13): [True: 0, False: 4.96k]
  ------------------
   80|      0|                return "Invalid regex string";
   81|     18|            case bson_errc::expected_boolean:
  ------------------
  |  Branch (81:13): [True: 18, False: 4.94k]
  ------------------
   82|     18|                return "Expected a boolean value";
   83|  2.65k|            case bson_errc::size_mismatch:
  ------------------
  |  Branch (83:13): [True: 2.65k, False: 2.31k]
  ------------------
   84|  2.65k|                return "Document or array size doesn't match bytes read";
   85|      0|            default:
  ------------------
  |  Branch (85:13): [True: 0, False: 4.96k]
  ------------------
   86|      0|                return "Unknown BSON parser error";
   87|  4.96k|        }
   88|  4.96k|    }

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

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

_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_19bson_decode_optionsERKS7_:
   85|  4.97k|       : source_(std::forward<Sourceable>(source)), 
   86|  4.97k|         max_nesting_depth_(options.max_nesting_depth()),
   87|  4.97k|         bytes_buffer_(temp_alloc),
   88|  4.97k|         name_buffer_(temp_alloc),
   89|  4.97k|         text_buffer_(temp_alloc),
   90|  4.97k|         state_stack_(temp_alloc)
   91|  4.97k|    {
   92|  4.97k|        state_stack_.emplace_back(parse_mode::root,0,0);
   93|  4.97k|    }
_ZN8jsoncons4bson11parse_stateC2ENS0_10parse_modeEmmh:
   48|  90.4k|        : mode(mode_), length(length_), pos(pos_), type(type_)
   49|  90.4k|    {
   50|  90.4k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  149|  4.96k|    {
  150|  4.96k|        return 0;
  151|  4.96k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  154|  4.96k|    {
  155|  4.96k|        return source_.position();
  156|  4.96k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
  101|  4.97k|    {
  102|  4.97k|        more_ = true;
  103|  4.97k|        done_ = false;
  104|  4.97k|        bytes_buffer_.clear();
  105|  4.97k|        name_buffer_.clear();
  106|  4.97k|        text_buffer_.clear();
  107|  4.97k|        state_stack_.clear();
  108|  4.97k|        state_stack_.emplace_back(parse_mode::root,0,0);
  109|  4.97k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  169|  4.97k|    {
  170|  4.97k|        if (JSONCONS_UNLIKELY(source_.is_error()))
  ------------------
  |  |   79|  4.97k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 4.97k]
  |  |  ------------------
  ------------------
  171|      0|        {
  172|      0|            ec = bson_errc::source_error;
  173|      0|            more_ = false;
  174|      0|            return;
  175|      0|        }
  176|       |        
  177|  28.6M|        while (!done_ && more_)
  ------------------
  |  Branch (177:16): [True: 28.6M, False: 15]
  |  Branch (177:26): [True: 28.6M, False: 4]
  ------------------
  178|  28.6M|        {
  179|  28.6M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (179:21): [True: 28.6M, False: 0]
  ------------------
  180|  28.6M|            {
  181|  4.97k|                case parse_mode::root:
  ------------------
  |  Branch (181:17): [True: 4.97k, False: 28.6M]
  ------------------
  182|  4.97k|                    state_stack_.back().mode = parse_mode::accept;
  183|  4.97k|                    begin_document(visitor, ec);
  184|  4.97k|                    break;
  185|  9.31M|                case parse_mode::document:
  ------------------
  |  Branch (185:17): [True: 9.31M, False: 19.3M]
  ------------------
  186|  9.31M|                {
  187|  9.31M|                    uint8_t type;
  188|  9.31M|                    std::size_t n = source_.read(&type, 1);
  189|  9.31M|                    state_stack_.back().pos += n;
  190|  9.31M|                    if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   79|  9.31M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 751, False: 9.31M]
  |  |  ------------------
  ------------------
  191|    751|                    {
  192|    751|                        ec = bson_errc::unexpected_eof;
  193|    751|                        more_ = false;
  194|    751|                        return;
  195|    751|                    }
  196|  9.31M|                    if (type != 0x00)
  ------------------
  |  Branch (196:25): [True: 9.28M, False: 26.6k]
  ------------------
  197|  9.28M|                    {
  198|  9.28M|                        read_e_name(visitor,jsoncons::bson::container_type::document,ec);
  199|  9.28M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  9.28M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 279, False: 9.28M]
  |  |  ------------------
  ------------------
  200|    279|                        {
  201|    279|                            more_ = false;
  202|    279|                            return;
  203|    279|                        }
  204|  9.28M|                        state_stack_.back().mode = parse_mode::value;
  205|  9.28M|                        state_stack_.back().type = type;
  206|  9.28M|                    }
  207|  26.6k|                    else
  208|  26.6k|                    {
  209|  26.6k|                        end_document(visitor,ec);
  210|  26.6k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  26.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2.25k, False: 24.3k]
  |  |  ------------------
  ------------------
  211|  2.25k|                        {
  212|  2.25k|                            more_ = false;
  213|  2.25k|                            return;
  214|  2.25k|                        }
  215|  26.6k|                    }
  216|  9.31M|                    break;
  217|  9.31M|                }
  218|  10.0M|                case parse_mode::array:
  ------------------
  |  Branch (218:17): [True: 10.0M, False: 18.6M]
  ------------------
  219|  10.0M|                {
  220|  10.0M|                    uint8_t type;
  221|  10.0M|                    std::size_t n = source_.read(&type, 1);
  222|  10.0M|                    state_stack_.back().pos += n;
  223|  10.0M|                    if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   79|  10.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 239, False: 10.0M]
  |  |  ------------------
  ------------------
  224|    239|                    {
  225|    239|                        ec = bson_errc::unexpected_eof;
  226|    239|                        more_ = false;
  227|    239|                        return;
  228|    239|                    }
  229|  10.0M|                    if (type != 0x00)
  ------------------
  |  Branch (229:25): [True: 10.0M, False: 19.2k]
  ------------------
  230|  10.0M|                    {
  231|  10.0M|                        read_e_name(visitor,jsoncons::bson::container_type::array,ec);
  232|  10.0M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  10.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 46, False: 10.0M]
  |  |  ------------------
  ------------------
  233|     46|                        {
  234|     46|                            more_ = false;
  235|     46|                            return;
  236|     46|                        }
  237|  10.0M|                        read_value(visitor, type, ec);
  238|  10.0M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  10.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 87, False: 10.0M]
  |  |  ------------------
  ------------------
  239|     87|                        {
  240|     87|                            more_ = false;
  241|     87|                            return;
  242|     87|                        }
  243|  10.0M|                    }
  244|  19.2k|                    else
  245|  19.2k|                    {
  246|  19.2k|                        end_array(visitor,ec);
  247|  19.2k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  19.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 397, False: 18.8k]
  |  |  ------------------
  ------------------
  248|    397|                        {
  249|    397|                            more_ = false;
  250|    397|                            return;
  251|    397|                        }
  252|  19.2k|                    }
  253|  10.0M|                    break;
  254|  10.0M|                }
  255|  10.0M|                case parse_mode::value:
  ------------------
  |  Branch (255:17): [True: 9.28M, False: 19.3M]
  ------------------
  256|  9.28M|                    state_stack_.back().mode = parse_mode::document;
  257|  9.28M|                    read_value(visitor,state_stack_.back().type,ec);
  258|  9.28M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  9.28M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 905, False: 9.28M]
  |  |  ------------------
  ------------------
  259|    905|                    {
  260|    905|                        more_ = false;
  261|    905|                        return;
  262|    905|                    }
  263|  9.28M|                    break;
  264|  9.28M|                case parse_mode::accept:
  ------------------
  |  Branch (264:17): [True: 15, False: 28.6M]
  ------------------
  265|     15|                {
  266|     15|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   54|     15|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 15]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  267|     15|                    state_stack_.clear();
  268|     15|                    more_ = false;
  269|     15|                    done_ = true;
  270|     15|                    visitor.flush();
  271|     15|                    break;
  272|     15|                }
  273|  28.6M|            }
  274|  28.6M|        }
  275|  4.97k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE14begin_documentERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  280|  35.5k|    {
  281|  35.5k|        if (JSONCONS_UNLIKELY(static_cast<int>(state_stack_.size()) > max_nesting_depth_))
  ------------------
  |  |   79|  35.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1, False: 35.5k]
  |  |  ------------------
  ------------------
  282|      1|        {
  283|      1|            ec = bson_errc::max_nesting_depth_exceeded;
  284|      1|            more_ = false;
  285|      1|            return;
  286|      1|        } 
  287|       |
  288|  35.5k|        uint8_t buf[sizeof(int32_t)]; 
  289|  35.5k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  290|  35.5k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   79|  35.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 32, False: 35.4k]
  |  |  ------------------
  ------------------
  291|     32|        {
  292|     32|            ec = bson_errc::unexpected_eof;
  293|     32|            more_ = false;
  294|     32|            return;
  295|     32|        }
  296|       |
  297|  35.4k|        auto length = binary::little_to_native<int32_t>(buf, sizeof(buf));
  298|       |
  299|  35.4k|        visitor.begin_object(semantic_tag::none, *this, ec);
  300|  35.4k|        more_ = !cursor_mode_;
  301|  35.4k|        state_stack_.emplace_back(parse_mode::document,length,n);
  302|  35.4k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_e_nameERNS_18basic_json_visitorIcEENS0_14container_typeERNS3_10error_codeE:
  374|  19.2M|    {
  375|  19.2M|        name_buffer_.clear();
  376|  19.2M|        read_cstring(name_buffer_, ec);
  377|  19.2M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  19.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 124, False: 19.2M]
  |  |  ------------------
  ------------------
  378|    124|        {
  379|    124|            return;
  380|    124|        }
  381|  19.2M|        if (type == jsoncons::bson::container_type::document)
  ------------------
  |  Branch (381:13): [True: 9.28M, False: 10.0M]
  ------------------
  382|  9.28M|        {
  383|  9.28M|            auto result = unicode_traits::validate(name_buffer_.data(),name_buffer_.size());
  384|  9.28M|            if (JSONCONS_UNLIKELY(result.ec != unicode_traits::unicode_errc()))
  ------------------
  |  |   79|  9.28M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 201, False: 9.28M]
  |  |  ------------------
  ------------------
  385|    201|            {
  386|    201|                ec = bson_errc::invalid_utf8_text_string;
  387|    201|                more_ = false;
  388|    201|                return;
  389|    201|            }
  390|  9.28M|            visitor.key(jsoncons::basic_string_view<char>(name_buffer_.data(),name_buffer_.length()), *this, ec);
  391|  9.28M|            more_ = !cursor_mode_;
  392|  9.28M|        }
  393|  19.2M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12read_cstringERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
  677|  19.4M|    {
  678|  19.4M|        uint8_t c = 0xff;
  679|  57.4M|        while (true)
  ------------------
  |  Branch (679:16): [True: 57.4M, Folded]
  ------------------
  680|  57.4M|        {
  681|  57.4M|            std::size_t n = source_.read(&c, 1);
  682|  57.4M|            state_stack_.back().pos += n;
  683|  57.4M|            if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   79|  57.4M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 181, False: 57.4M]
  |  |  ------------------
  ------------------
  684|    181|            {
  685|    181|                ec = bson_errc::unexpected_eof;
  686|    181|                more_ = false;
  687|    181|                return;
  688|    181|            }
  689|  57.4M|            if (c == 0)
  ------------------
  |  Branch (689:17): [True: 19.4M, False: 37.9M]
  ------------------
  690|  19.4M|            {
  691|  19.4M|                break;
  692|  19.4M|            }
  693|  37.9M|            buffer.push_back(c);
  694|  37.9M|        }
  695|  19.4M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12end_documentERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  305|  26.6k|    {
  306|  26.6k|        JSONCONS_ASSERT(state_stack_.size() >= 2);
  ------------------
  |  |   54|  26.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 26.6k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  307|       |
  308|  26.6k|        visitor.end_object(*this,ec);
  309|  26.6k|        more_ = !cursor_mode_;
  310|  26.6k|        if (level() == mark_level_)
  ------------------
  |  Branch (310:13): [True: 0, False: 26.6k]
  ------------------
  311|      0|        {
  312|      0|            more_ = false;
  313|      0|        }
  314|  26.6k|        if (JSONCONS_UNLIKELY(state_stack_.back().pos != state_stack_.back().length))
  ------------------
  |  |   79|  26.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2.25k, False: 24.3k]
  |  |  ------------------
  ------------------
  315|  2.25k|        {
  316|  2.25k|            ec = bson_errc::size_mismatch;
  317|  2.25k|            more_ = false;
  318|  2.25k|            return;
  319|  2.25k|        }
  320|  24.3k|        std::size_t pos = state_stack_.back().pos;
  321|  24.3k|        state_stack_.pop_back();
  322|  24.3k|        state_stack_.back().pos += pos;
  323|  24.3k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5levelEv:
  124|  45.8k|    {
  125|  45.8k|        return static_cast<int>(state_stack_.size());
  126|  45.8k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10read_valueERNS_18basic_json_visitorIcEEhRNS3_10error_codeE:
  396|  19.2M|    {
  397|  19.2M|        switch (type)
  398|  19.2M|        {
  399|  11.6k|            case jsoncons::bson::bson_type::double_type:
  ------------------
  |  Branch (399:13): [True: 11.6k, False: 19.2M]
  ------------------
  400|  11.6k|            {
  401|  11.6k|                uint8_t buf[sizeof(double)]; 
  402|  11.6k|                std::size_t n = source_.read(buf, sizeof(double));
  403|  11.6k|                state_stack_.back().pos += n;
  404|  11.6k|                if (JSONCONS_UNLIKELY(n != sizeof(double)))
  ------------------
  |  |   79|  11.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 9, False: 11.6k]
  |  |  ------------------
  ------------------
  405|      9|                {
  406|      9|                    ec = bson_errc::unexpected_eof;
  407|      9|                    more_ = false;
  408|      9|                    return;
  409|      9|                }
  410|  11.6k|                double res = binary::little_to_native<double>(buf, sizeof(buf));
  411|  11.6k|                visitor.double_value(res, semantic_tag::none, *this, ec);
  412|  11.6k|                more_ = !cursor_mode_;
  413|  11.6k|                break;
  414|  11.6k|            }
  415|    307|            case jsoncons::bson::bson_type::symbol_type:
  ------------------
  |  Branch (415:13): [True: 307, False: 19.2M]
  ------------------
  416|  1.21k|            case jsoncons::bson::bson_type::min_key_type:
  ------------------
  |  Branch (416:13): [True: 910, False: 19.2M]
  ------------------
  417|  1.76k|            case jsoncons::bson::bson_type::max_key_type:
  ------------------
  |  Branch (417:13): [True: 544, False: 19.2M]
  ------------------
  418|  2.50k|            case jsoncons::bson::bson_type::string_type:
  ------------------
  |  Branch (418:13): [True: 741, False: 19.2M]
  ------------------
  419|  2.50k|            {
  420|  2.50k|                auto sv = read_string(ec);
  421|  2.50k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.50k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 303, False: 2.19k]
  |  |  ------------------
  ------------------
  422|    303|                {
  423|    303|                    return;
  424|    303|                }
  425|  2.19k|                auto result = unicode_traits::validate(sv.data(), sv.size());
  426|  2.19k|                if (JSONCONS_UNLIKELY(result.ec != unicode_traits::unicode_errc()))
  ------------------
  |  |   79|  2.19k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 7, False: 2.19k]
  |  |  ------------------
  ------------------
  427|      7|                {
  428|      7|                    ec = bson_errc::invalid_utf8_text_string;
  429|      7|                    more_ = false;
  430|      7|                    return;
  431|      7|                }
  432|  2.19k|                visitor.string_value(sv, semantic_tag::none, *this, ec);
  433|  2.19k|                more_ = !cursor_mode_;
  434|  2.19k|                break;
  435|  2.19k|            }
  436|    296|            case jsoncons::bson::bson_type::javascript_type:
  ------------------
  |  Branch (436:13): [True: 296, False: 19.2M]
  ------------------
  437|    296|            {
  438|    296|                auto sv = read_string(ec);
  439|    296|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|    296|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 26, False: 270]
  |  |  ------------------
  ------------------
  440|     26|                {
  441|     26|                    return;
  442|     26|                }
  443|    270|                auto result = unicode_traits::validate(sv.data(), sv.size());
  444|    270|                if (JSONCONS_UNLIKELY(result.ec != unicode_traits::unicode_errc()))
  ------------------
  |  |   79|    270|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 3, False: 267]
  |  |  ------------------
  ------------------
  445|      3|                {
  446|      3|                    ec = bson_errc::invalid_utf8_text_string;
  447|      3|                    more_ = false;
  448|      3|                    return;
  449|      3|                }
  450|    267|                visitor.string_value(sv, semantic_tag::code, *this, ec);
  451|    267|                more_ = !cursor_mode_;
  452|    267|                break;
  453|    270|            }
  454|  69.5k|            case jsoncons::bson::bson_type::regex_type:
  ------------------
  |  Branch (454:13): [True: 69.5k, False: 19.2M]
  ------------------
  455|  69.5k|            {
  456|  69.5k|                text_buffer_.clear();
  457|  69.5k|                text_buffer_.push_back('/');
  458|  69.5k|                read_cstring(text_buffer_, ec);
  459|  69.5k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  69.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 35, False: 69.5k]
  |  |  ------------------
  ------------------
  460|     35|                {
  461|     35|                    return;
  462|     35|                }
  463|  69.5k|                text_buffer_.push_back('/');
  464|  69.5k|                read_cstring(text_buffer_, ec);
  465|  69.5k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  69.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 22, False: 69.4k]
  |  |  ------------------
  ------------------
  466|     22|                {
  467|     22|                    return;
  468|     22|                }
  469|  69.4k|                visitor.string_value(text_buffer_, semantic_tag::regex, *this, ec);
  470|  69.4k|                more_ = !cursor_mode_;
  471|  69.4k|                break;
  472|  69.5k|            }
  473|  30.5k|            case jsoncons::bson::bson_type::document_type: 
  ------------------
  |  Branch (473:13): [True: 30.5k, False: 19.2M]
  ------------------
  474|  30.5k|            {
  475|  30.5k|                begin_document(visitor,ec);
  476|  30.5k|                break;
  477|  69.5k|            }
  478|       |
  479|  45.0k|            case jsoncons::bson::bson_type::array_type: 
  ------------------
  |  Branch (479:13): [True: 45.0k, False: 19.2M]
  ------------------
  480|  45.0k|            {
  481|  45.0k|                begin_array(visitor,ec);
  482|  45.0k|                break;
  483|  69.5k|            }
  484|  4.28k|            case jsoncons::bson::bson_type::undefined_type: 
  ------------------
  |  Branch (484:13): [True: 4.28k, False: 19.2M]
  ------------------
  485|  4.28k|                {
  486|  4.28k|                    visitor.null_value(semantic_tag::undefined, *this, ec);
  487|  4.28k|                    more_ = !cursor_mode_;
  488|  4.28k|                    break;
  489|  69.5k|                }
  490|  18.9M|            case jsoncons::bson::bson_type::null_type: 
  ------------------
  |  Branch (490:13): [True: 18.9M, False: 298k]
  ------------------
  491|  18.9M|            {
  492|  18.9M|                visitor.null_value(semantic_tag::none, *this, ec);
  493|  18.9M|                more_ = !cursor_mode_;
  494|  18.9M|                break;
  495|  69.5k|            }
  496|  3.07k|            case jsoncons::bson::bson_type::bool_type:
  ------------------
  |  Branch (496:13): [True: 3.07k, False: 19.2M]
  ------------------
  497|  3.07k|            {
  498|  3.07k|                uint8_t c;
  499|  3.07k|                std::size_t n = source_.read(&c, 1);
  500|  3.07k|                state_stack_.back().pos += n;
  501|  3.07k|                if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   79|  3.07k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 3, False: 3.07k]
  |  |  ------------------
  ------------------
  502|      3|                {
  503|      3|                    ec = bson_errc::unexpected_eof;
  504|      3|                    more_ = false;
  505|      3|                    return;
  506|      3|                }
  507|  3.07k|                if (JSONCONS_UNLIKELY(!(c == 0 || c == 1)))
  ------------------
  |  |   79|  3.41k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 18, False: 3.05k]
  |  |  |  Branch (79:50): [True: 2.72k, False: 347]
  |  |  |  Branch (79:50): [True: 329, False: 18]
  |  |  ------------------
  ------------------
  508|     18|                {
  509|     18|                    ec = bson_errc::expected_boolean;
  510|     18|                    more_ = false;
  511|     18|                    return;
  512|     18|                }
  513|  3.05k|                visitor.bool_value(c != 0, semantic_tag::none, *this, ec);
  514|  3.05k|                more_ = !cursor_mode_;
  515|  3.05k|                break;
  516|  3.07k|            }
  517|  24.5k|            case jsoncons::bson::bson_type::int32_type: 
  ------------------
  |  Branch (517:13): [True: 24.5k, False: 19.2M]
  ------------------
  518|  24.5k|            {
  519|  24.5k|                uint8_t buf[sizeof(int32_t)]; 
  520|  24.5k|                std::size_t n = source_.read(buf, sizeof(int32_t));
  521|  24.5k|                state_stack_.back().pos += n;
  522|  24.5k|                if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   79|  24.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 6, False: 24.5k]
  |  |  ------------------
  ------------------
  523|      6|                {
  524|      6|                    ec = bson_errc::unexpected_eof;
  525|      6|                    more_ = false;
  526|      6|                    return;
  527|      6|                }
  528|  24.5k|                auto val = binary::little_to_native<int32_t>(buf, sizeof(buf));
  529|  24.5k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  530|  24.5k|                more_ = !cursor_mode_;
  531|  24.5k|                break;
  532|  24.5k|            }
  533|       |
  534|  9.55k|            case jsoncons::bson::bson_type::timestamp_type: 
  ------------------
  |  Branch (534:13): [True: 9.55k, False: 19.2M]
  ------------------
  535|  9.55k|            {
  536|  9.55k|                uint8_t buf[sizeof(uint64_t)]; 
  537|  9.55k|                std::size_t n = source_.read(buf, sizeof(uint64_t));
  538|  9.55k|                state_stack_.back().pos += n;
  539|  9.55k|                if (JSONCONS_UNLIKELY(n != sizeof(uint64_t)))
  ------------------
  |  |   79|  9.55k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 5, False: 9.55k]
  |  |  ------------------
  ------------------
  540|      5|                {
  541|      5|                    ec = bson_errc::unexpected_eof;
  542|      5|                    more_ = false;
  543|      5|                    return;
  544|      5|                }
  545|  9.55k|                auto val = binary::little_to_native<uint64_t>(buf, sizeof(buf));
  546|  9.55k|                visitor.uint64_value(val, semantic_tag::none, *this, ec);
  547|  9.55k|                more_ = !cursor_mode_;
  548|  9.55k|                break;
  549|  9.55k|            }
  550|       |
  551|  7.58k|            case jsoncons::bson::bson_type::int64_type: 
  ------------------
  |  Branch (551:13): [True: 7.58k, False: 19.2M]
  ------------------
  552|  7.58k|            {
  553|  7.58k|                uint8_t buf[sizeof(int64_t)]; 
  554|  7.58k|                std::size_t n = source_.read(buf, sizeof(int64_t));
  555|  7.58k|                state_stack_.back().pos += n;
  556|  7.58k|                if (JSONCONS_UNLIKELY(n != sizeof(int64_t)))
  ------------------
  |  |   79|  7.58k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 5, False: 7.57k]
  |  |  ------------------
  ------------------
  557|      5|                {
  558|      5|                    ec = bson_errc::unexpected_eof;
  559|      5|                    more_ = false;
  560|      5|                    return;
  561|      5|                }
  562|  7.57k|                auto val = binary::little_to_native<int64_t>(buf, sizeof(buf));
  563|  7.57k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  564|  7.57k|                more_ = !cursor_mode_;
  565|  7.57k|                break;
  566|  7.58k|            }
  567|       |
  568|  6.93k|            case jsoncons::bson::bson_type::datetime_type: 
  ------------------
  |  Branch (568:13): [True: 6.93k, False: 19.2M]
  ------------------
  569|  6.93k|            {
  570|  6.93k|                uint8_t buf[sizeof(int64_t)]; 
  571|  6.93k|                std::size_t n = source_.read(buf, sizeof(int64_t));
  572|  6.93k|                state_stack_.back().pos += n;
  573|  6.93k|                if (JSONCONS_UNLIKELY(n != sizeof(int64_t)))
  ------------------
  |  |   79|  6.93k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 7, False: 6.93k]
  |  |  ------------------
  ------------------
  574|      7|                {
  575|      7|                    ec = bson_errc::unexpected_eof;
  576|      7|                    more_ = false;
  577|      7|                    return;
  578|      7|                }
  579|  6.93k|                auto val = binary::little_to_native<int64_t>(buf, sizeof(buf));
  580|  6.93k|                visitor.int64_value(val, semantic_tag::epoch_milli, *this, ec);
  581|  6.93k|                more_ = !cursor_mode_;
  582|  6.93k|                break;
  583|  6.93k|            }
  584|  68.8k|            case jsoncons::bson::bson_type::binary_type: 
  ------------------
  |  Branch (584:13): [True: 68.8k, False: 19.2M]
  ------------------
  585|  68.8k|            {
  586|  68.8k|                uint8_t buf[sizeof(int32_t)]; 
  587|  68.8k|                std::size_t n = source_.read(buf, sizeof(int32_t));
  588|  68.8k|                state_stack_.back().pos += n;
  589|  68.8k|                if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   79|  68.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 6, False: 68.8k]
  |  |  ------------------
  ------------------
  590|      6|                {
  591|      6|                    ec = bson_errc::unexpected_eof;
  592|      6|                    more_ = false;
  593|      6|                    return;
  594|      6|                }
  595|  68.8k|                const auto len = binary::little_to_native<int32_t>(buf, sizeof(buf));
  596|  68.8k|                if (JSONCONS_UNLIKELY(len < 0))
  ------------------
  |  |   79|  68.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 33, False: 68.8k]
  |  |  ------------------
  ------------------
  597|     33|                {
  598|     33|                    ec = bson_errc::length_is_negative;
  599|     33|                    more_ = false;
  600|     33|                    return;
  601|     33|                }
  602|  68.8k|                uint8_t subtype;
  603|  68.8k|                n = source_.read(&subtype, 1);
  604|  68.8k|                state_stack_.back().pos += n;
  605|  68.8k|                if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   79|  68.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 7, False: 68.8k]
  |  |  ------------------
  ------------------
  606|      7|                {
  607|      7|                    ec = bson_errc::unexpected_eof;
  608|      7|                    more_ = false;
  609|      7|                    return;
  610|      7|                }
  611|       |
  612|  68.8k|                auto data = source_.read_span(len, bytes_buffer_);
  613|  68.8k|                if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   79|  68.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 313, False: 68.4k]
  |  |  ------------------
  ------------------
  614|    313|                {
  615|    313|                    ec = bson_errc::unexpected_eof;
  616|    313|                    more_ = false;
  617|    313|                    return;
  618|    313|                }
  619|  68.4k|                state_stack_.back().pos += data.size();
  620|       |
  621|  68.4k|                visitor.byte_string_value(byte_string_view(data.data(), data.size()), subtype, *this, ec);
  622|  68.4k|                more_ = !cursor_mode_;
  623|  68.4k|                break;
  624|  68.8k|            }
  625|  9.28k|            case jsoncons::bson::bson_type::decimal128_type: 
  ------------------
  |  Branch (625:13): [True: 9.28k, False: 19.2M]
  ------------------
  626|  9.28k|            {
  627|  9.28k|                uint8_t buf[sizeof(uint64_t)*2]; 
  628|  9.28k|                std::size_t n = source_.read(buf, sizeof(buf));
  629|  9.28k|                state_stack_.back().pos += n;
  630|  9.28k|                if (JSONCONS_UNLIKELY(n != sizeof(buf)))
  ------------------
  |  |   79|  9.28k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 15, False: 9.27k]
  |  |  ------------------
  ------------------
  631|     15|                {
  632|     15|                    ec = bson_errc::unexpected_eof;
  633|     15|                    more_ = false;
  634|     15|                    return;
  635|     15|                }
  636|       |
  637|  9.27k|                decimal128_t dec;
  638|  9.27k|                dec.low = binary::little_to_native<uint64_t>(buf, sizeof(uint64_t));
  639|  9.27k|                dec.high = binary::little_to_native<uint64_t>(buf+sizeof(uint64_t), sizeof(uint64_t));
  640|       |
  641|  9.27k|                text_buffer_.clear();
  642|  9.27k|                text_buffer_.resize(bson::decimal128_limits::buf_size);
  643|  9.27k|                auto r = bson::decimal128_to_chars(&text_buffer_[0], &text_buffer_[0]+text_buffer_.size(), dec);
  644|  9.27k|                visitor.string_value(string_view(text_buffer_.data(),static_cast<std::size_t>(r.ptr-text_buffer_.data())), semantic_tag::float128, *this, ec);
  645|  9.27k|                more_ = !cursor_mode_;
  646|  9.27k|                break;
  647|  9.28k|            }
  648|  4.46k|            case jsoncons::bson::bson_type::object_id_type: 
  ------------------
  |  Branch (648:13): [True: 4.46k, False: 19.2M]
  ------------------
  649|  4.46k|            {
  650|  4.46k|                uint8_t buf[12]; 
  651|  4.46k|                std::size_t n = source_.read(buf, sizeof(buf));
  652|  4.46k|                state_stack_.back().pos += n;
  653|  4.46k|                if (JSONCONS_UNLIKELY(n != sizeof(buf)))
  ------------------
  |  |   79|  4.46k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 8, False: 4.46k]
  |  |  ------------------
  ------------------
  654|      8|                {
  655|      8|                    ec = bson_errc::unexpected_eof;
  656|      8|                    more_ = false;
  657|      8|                    return;
  658|      8|                }
  659|       |
  660|  4.46k|                oid_t oid(buf);
  661|  4.46k|                to_string(oid, text_buffer_);
  662|       |
  663|  4.46k|                visitor.string_value(text_buffer_, semantic_tag::id, *this, ec);
  664|  4.46k|                more_ = !cursor_mode_;
  665|  4.46k|                break;
  666|  4.46k|            }
  667|    115|            default:
  ------------------
  |  Branch (667:13): [True: 115, False: 19.2M]
  ------------------
  668|    115|            {
  669|    115|                ec = bson_errc::unknown_type;
  670|    115|                more_ = false;
  671|    115|                return;
  672|  4.46k|            }
  673|  19.2M|        }
  674|  19.2M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_stringERNS3_10error_codeE:
  698|  2.79k|    {
  699|  2.79k|        std::size_t offset = 0;
  700|       |
  701|  2.79k|        uint8_t buf[sizeof(int32_t)]; 
  702|  2.79k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  703|  2.79k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   79|  2.79k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 42, False: 2.75k]
  |  |  ------------------
  ------------------
  704|     42|        {
  705|     42|            ec = bson_errc::unexpected_eof;
  706|     42|            more_ = false;
  707|     42|            return string_view{};
  708|     42|        }
  709|  2.75k|        offset += n;
  710|       |
  711|  2.75k|        auto len = binary::little_to_native<int32_t>(buf, sizeof(buf));
  712|  2.75k|        if (JSONCONS_UNLIKELY(len < 1))
  ------------------
  |  |   79|  2.75k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 34, False: 2.72k]
  |  |  ------------------
  ------------------
  713|     34|        {
  714|     34|            ec = bson_errc::string_length_is_non_positive;
  715|     34|            more_ = false;
  716|     34|            return string_view{};
  717|     34|        }
  718|       |
  719|  2.72k|        std::size_t size = static_cast<std::size_t>(len) - static_cast<std::size_t>(1);
  720|  2.72k|        auto data = source_.read_span(size, text_buffer_);
  721|  2.72k|        if (JSONCONS_UNLIKELY(data.size() != size))
  ------------------
  |  |   79|  2.72k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 235, False: 2.48k]
  |  |  ------------------
  ------------------
  722|    235|        {
  723|    235|            ec = bson_errc::unexpected_eof;
  724|    235|            more_ = false;
  725|    235|            return string_view{};
  726|    235|        }
  727|  2.48k|        offset += data.size();
  728|       |
  729|  2.48k|        uint8_t c;
  730|  2.48k|        if (JSONCONS_UNLIKELY(source_.read(&c, 1) != 1))
  ------------------
  |  |   79|  2.48k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 18, False: 2.46k]
  |  |  ------------------
  ------------------
  731|     18|        {
  732|     18|            ec = bson_errc::unexpected_eof;
  733|     18|            more_ = false;
  734|     18|            return string_view{};
  735|     18|        }
  736|  2.46k|        ++offset;
  737|       |
  738|  2.46k|        state_stack_.back().pos += offset;
  739|  2.46k|        return string_view{reinterpret_cast<const char*>(data.data()), data.size()};
  740|  2.48k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  326|  45.0k|    {
  327|  45.0k|        if (JSONCONS_UNLIKELY(static_cast<int>(state_stack_.size()) > max_nesting_depth_))
  ------------------
  |  |   79|  45.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1, False: 45.0k]
  |  |  ------------------
  ------------------
  328|      1|        {
  329|      1|            ec = bson_errc::max_nesting_depth_exceeded;
  330|      1|            more_ = false;
  331|      1|            return;
  332|      1|        } 
  333|  45.0k|        uint8_t buf[sizeof(int32_t)]; 
  334|  45.0k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  335|  45.0k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   79|  45.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 16, False: 45.0k]
  |  |  ------------------
  ------------------
  336|     16|        {
  337|     16|            ec = bson_errc::unexpected_eof;
  338|     16|            more_ = false;
  339|     16|            return;
  340|     16|        }
  341|  45.0k|        auto length = binary::little_to_native<int32_t>(buf, sizeof(buf));
  342|       |
  343|  45.0k|        visitor.begin_array(semantic_tag::none, *this, ec);
  344|  45.0k|        more_ = !cursor_mode_;
  345|  45.0k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  45.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 45.0k]
  |  |  ------------------
  ------------------
  346|      0|        {
  347|      0|            return;
  348|      0|        }
  349|  45.0k|        state_stack_.emplace_back(parse_mode::array, length, n);
  350|  45.0k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  353|  19.2k|    {
  354|  19.2k|        JSONCONS_ASSERT(state_stack_.size() >= 2);
  ------------------
  |  |   54|  19.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 19.2k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  355|       |
  356|  19.2k|        visitor.end_array(*this, ec);
  357|  19.2k|        more_ = !cursor_mode_;
  358|  19.2k|        if (level() == mark_level_)
  ------------------
  |  Branch (358:13): [True: 0, False: 19.2k]
  ------------------
  359|      0|        {
  360|      0|            more_ = false;
  361|      0|        }
  362|  19.2k|        if (JSONCONS_UNLIKELY(state_stack_.back().pos != state_stack_.back().length))
  ------------------
  |  |   79|  19.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 397, False: 18.8k]
  |  |  ------------------
  ------------------
  363|    397|        {
  364|    397|            ec = bson_errc::size_mismatch;
  365|    397|            more_ = false;
  366|    397|            return;
  367|    397|        }
  368|  18.8k|        std::size_t pos = state_stack_.back().pos;
  369|  18.8k|        state_stack_.pop_back();
  370|  18.8k|        state_stack_.back().pos += pos;
  371|  18.8k|    }

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

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

