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

_ZNK8jsoncons16allocator_holderINSt3__19allocatorIcEEE13get_allocatorEv:
   30|   143k|    {
   31|   143k|        return alloc_;
   32|   143k|    }
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2ERKS3_:
   25|  11.4k|        : alloc_(alloc)
   26|  11.4k|        {}
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2Ev:
   20|  83.3k|    allocator_holder() = default;

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2774|  92.6M|        {
 2775|  92.6M|             destroy();
 2776|  92.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  898|  92.6M|        {
  899|  92.6M|            switch (storage_kind())
  900|  92.6M|            {
  901|  58.2k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (901:17): [True: 58.2k, False: 92.5M]
  ------------------
  902|  58.2k|                {
  903|  58.2k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (903:25): [True: 58.2k, False: 0]
  ------------------
  904|  58.2k|                    {
  905|  58.2k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  906|  58.2k|                    }
  907|  58.2k|                    break;
  908|      0|                }
  909|  67.7k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (909:17): [True: 67.7k, False: 92.5M]
  ------------------
  910|  67.7k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (910:25): [True: 67.7k, False: 0]
  ------------------
  911|  67.7k|                    {
  912|  67.7k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  913|  67.7k|                    }
  914|  67.7k|                    break;
  915|  42.8k|                case json_storage_kind::array:
  ------------------
  |  Branch (915:17): [True: 42.8k, False: 92.5M]
  ------------------
  916|  42.8k|                {
  917|  42.8k|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (917:25): [True: 42.8k, False: 0]
  ------------------
  918|  42.8k|                    {
  919|  42.8k|                        auto& stor = cast<array_storage>();
  920|  42.8k|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  921|  42.8k|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  922|  42.8k|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  923|  42.8k|                    }
  924|  42.8k|                    break;
  925|      0|                }
  926|  40.4k|                case json_storage_kind::object:
  ------------------
  |  Branch (926:17): [True: 40.4k, False: 92.5M]
  ------------------
  927|  40.4k|                {
  928|  40.4k|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (928:25): [True: 40.4k, False: 0]
  ------------------
  929|  40.4k|                    {
  930|  40.4k|                        auto& stor = cast<object_storage>();
  931|  40.4k|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  932|  40.4k|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  933|  40.4k|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  934|  40.4k|                    }
  935|  40.4k|                    break;
  936|      0|                }
  937|  92.3M|                default:
  ------------------
  |  Branch (937:17): [True: 92.3M, False: 209k]
  ------------------
  938|  92.3M|                    break;
  939|  92.6M|            }
  940|  92.6M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1462|   273M|        {
 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|   273M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1468|   273M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1004|   517k|        {
 1005|   517k|            return cast(identity<T>());
 1006|   517k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1095|   517k|        {
 1096|   517k|            return long_str_;
 1097|   517k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1004|   490k|        {
 1005|   490k|            return cast(identity<T>());
 1006|   490k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1105|   490k|        {
 1106|   490k|            return byte_str_;
 1107|   490k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1004|  7.02M|        {
 1005|  7.02M|            return cast(identity<T>());
 1006|  7.02M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1125|  7.02M|        {
 1126|  7.02M|            return array_;
 1127|  7.02M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2307|  71.0M|        {
 2308|  71.0M|            uninitialized_move(std::move(other));
 2309|  71.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1302|  71.0M|        {
 1303|  71.0M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1303:17): [True: 70.6M, False: 426k]
  ------------------
 1304|  70.6M|            {
 1305|  70.6M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1306|  70.6M|            }
 1307|   426k|            else
 1308|   426k|            {
 1309|   426k|                switch (other.storage_kind())
 1310|   426k|                {
 1311|   126k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1311:21): [True: 126k, False: 300k]
  ------------------
 1312|   126k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1313|   126k|                        other.construct<null_storage>();
 1314|   126k|                        break;
 1315|   112k|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1315:21): [True: 112k, False: 314k]
  ------------------
 1316|   112k|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1317|   112k|                        other.construct<null_storage>();
 1318|   112k|                        break;
 1319|  86.6k|                    case json_storage_kind::array:
  ------------------
  |  Branch (1319:21): [True: 86.6k, False: 339k]
  ------------------
 1320|  86.6k|                        construct<array_storage>(other.cast<array_storage>());
 1321|  86.6k|                        other.construct<null_storage>();
 1322|  86.6k|                        break;
 1323|   101k|                    case json_storage_kind::object:
  ------------------
  |  Branch (1323:21): [True: 101k, False: 324k]
  ------------------
 1324|   101k|                        construct<object_storage>(other.cast<object_storage>());
 1325|   101k|                        other.construct<null_storage>();
 1326|   101k|                        break;
 1327|      0|                    default:
  ------------------
  |  Branch (1327:21): [True: 0, False: 426k]
  ------------------
 1328|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1329|      0|                        break;
 1330|   426k|                }
 1331|   426k|            }
 1332|  71.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  995|   171k|        {
  996|   171k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   171k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  626|   216k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  627|   216k|            {
  628|   216k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  995|   426k|        {
  996|   426k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   426k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1004|  21.8M|        {
 1005|  21.8M|            return cast(identity<T>());
 1006|  21.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1015|  21.8M|        {
 1016|  21.8M|            return null_;
 1017|  21.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  450|  21.5M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  451|  21.5M|            {
  452|  21.5M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  995|   143k|        {
  996|   143k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   143k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  675|   174k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  676|   174k|            {
  677|   174k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  995|   169k|        {
  996|   169k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   169k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  727|   251k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  728|   251k|            {
  729|   251k|            }
_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|   203k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  778|   203k|            {
  779|   203k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4759|  4.13k|        {
 4760|  4.13k|            switch (storage_kind())
 4761|  4.13k|            {
 4762|  4.13k|                case json_storage_kind::array:
  ------------------
  |  Branch (4762:17): [True: 4.13k, False: 0]
  ------------------
 4763|  4.13k|                    return array_range_type(cast<array_storage>().value().begin(),
 4764|  4.13k|                        cast<array_storage>().value().end());
 4765|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4765:17): [True: 0, False: 4.13k]
  ------------------
 4766|      0|                    return cast<json_ref_storage>().value().array_range();
 4767|      0|                default:
  ------------------
  |  Branch (4767:17): [True: 0, False: 4.13k]
  ------------------
 4768|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4769|  4.13k|            }
 4770|  4.13k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  6.55M|            {
  751|  6.55M|                return *ptr_;
  752|  6.55M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|  4.13k|            : first_(first), last_(last)
  349|  4.13k|        {
  350|  4.13k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|  4.13k|        {
  354|  4.13k|            return first_;
  355|  4.13k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|  4.13k|        {
  358|  4.13k|            return last_;
  359|  4.13k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3425|  9.33k|        {
 3426|  9.33k|            switch (storage_kind())
 3427|  9.33k|            {
 3428|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 9.33k]
  ------------------
 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.33k]
  ------------------
 3432|      0|                    return cast<short_string_storage>().length() == 0;
 3433|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3433:17): [True: 0, False: 9.33k]
  ------------------
 3434|      0|                    return cast<long_string_storage>().length() == 0;
 3435|  5.79k|                case json_storage_kind::array:
  ------------------
  |  Branch (3435:17): [True: 5.79k, False: 3.54k]
  ------------------
 3436|  5.79k|                    return cast<array_storage>().value().empty();
 3437|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3437:17): [True: 0, False: 9.33k]
  ------------------
 3438|      0|                    return true;
 3439|  3.54k|                case json_storage_kind::object:
  ------------------
  |  Branch (3439:17): [True: 3.54k, False: 5.79k]
  ------------------
 3440|  3.54k|                    return cast<object_storage>().value().empty();
 3441|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3441:17): [True: 0, False: 9.33k]
  ------------------
 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.33k]
  ------------------
 3444|      0|                    return cast<json_ref_storage>().value().empty();
 3445|      0|                default:
  ------------------
  |  Branch (3445:17): [True: 0, False: 9.33k]
  ------------------
 3446|      0|                    return false;
 3447|  9.33k|            }
 3448|  9.33k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1010|  5.79k|        {
 1011|  5.79k|            return cast(identity<T>());
 1012|  5.79k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  5.79k|        {
 1131|  5.79k|            return array_;
 1132|  5.79k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  5.79k|            {
  756|  5.79k|                return *ptr_;
  757|  5.79k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1010|  3.54k|        {
 1011|  3.54k|            return cast(identity<T>());
 1012|  3.54k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|  3.54k|        {
 1121|  3.54k|            return object_;
 1122|  3.54k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  801|  3.54k|            {
  802|  3.54k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|  3.54k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.54k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  803|  3.54k|                return *ptr_;
  804|  3.54k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4156|  8.13k|        {
 4157|  8.13k|            switch (storage_kind())
 4158|  8.13k|            {
 4159|  4.13k|                case json_storage_kind::array:
  ------------------
  |  Branch (4159:17): [True: 4.13k, False: 4.00k]
  ------------------
 4160|  4.13k|                    cast<array_storage>().value().clear();
 4161|  4.13k|                    break;
 4162|  4.00k|                case json_storage_kind::object:
  ------------------
  |  Branch (4162:17): [True: 4.00k, False: 4.13k]
  ------------------
 4163|  4.00k|                    cast<object_storage>().value().clear();
 4164|  4.00k|                    break;
 4165|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4165:17): [True: 0, False: 8.13k]
  ------------------
 4166|      0|                    cast<json_ref_storage>().value().clear();
 4167|      0|                    break;
 4168|      0|                default:
  ------------------
  |  Branch (4168:17): [True: 0, False: 8.13k]
  ------------------
 4169|      0|                    break;
 4170|  8.13k|            }
 4171|  8.13k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  795|  26.6k|            {
  796|  26.6k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|  26.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 26.6k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  797|  26.6k|                return *ptr_;
  798|  26.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4725|  4.00k|        {
 4726|  4.00k|            switch (storage_kind())
 4727|  4.00k|            {
 4728|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4728:17): [True: 0, False: 4.00k]
  ------------------
 4729|      0|                    return object_range_type(object_iterator(), object_iterator());
 4730|  4.00k|                case json_storage_kind::object:
  ------------------
  |  Branch (4730:17): [True: 4.00k, False: 0]
  ------------------
 4731|  4.00k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4732|  4.00k|                                                  object_iterator(cast<object_storage>().value().end()));
 4733|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4733:17): [True: 0, False: 4.00k]
  ------------------
 4734|      0|                    return cast<json_ref_storage>().value().object_range();
 4735|      0|                default:
  ------------------
  |  Branch (4735:17): [True: 0, False: 4.00k]
  ------------------
 4736|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4737|  4.00k|            }
 4738|  4.00k|        }
_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.00k|            : first_(first), last_(last)
  349|  4.00k|        {
  350|  4.00k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|  8.01k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|  8.01k|            {
  120|  8.01k|            }
_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.00k|        {
  354|  4.00k|            return first_;
  355|  4.00k|        }
_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.00k|        {
  358|  4.00k|            return last_;
  359|  4.00k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|  8.84k|            {
  219|  8.84k|                return !(*this == rhs);
  220|  8.84k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|  8.84k|            {
  210|  8.84k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   77|  17.6k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 8.84k, False: 0]
  |  |  |  Branch (77:48): [True: 8.84k, False: 0]
  |  |  |  Branch (77:48): [True: 8.84k, False: 0]
  |  |  ------------------
  ------------------
  211|  8.84k|                {
  212|  8.84k|                    return current_ == rhs.current_;
  213|  8.84k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|  8.84k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  4.83k|            {
  141|  4.83k|                return *current_;
  142|  4.83k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  4.83k|            {
  151|  4.83k|                ++current_;
  152|  4.83k|                return *this;
  153|  4.83k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1004|   453k|        {
 1005|   453k|            return cast(identity<T>());
 1006|   453k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1115|   453k|        {
 1116|   453k|            return object_;
 1117|   453k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2275|  5.00k|        {
 2276|  5.00k|            construct<empty_object_storage>(semantic_tag::none);
 2277|  5.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  995|  5.00k|        {
  996|  5.00k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  5.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1004|  9.09k|        {
 1005|  9.09k|            return cast(identity<T>());
 1006|  9.09k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1025|  9.09k|        {
 1026|  9.09k|            return empty_object_;
 1027|  9.09k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  462|  5.00k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|  5.00k|            {
  464|  5.00k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3484|  6.77k|        {
 3485|  6.77k|            if (n > 0)
  ------------------
  |  Branch (3485:17): [True: 6.77k, False: 0]
  ------------------
 3486|  6.77k|            {
 3487|  6.77k|                switch (storage_kind())
 3488|  6.77k|                {
 3489|  6.77k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3489:21): [True: 6.77k, False: 0]
  ------------------
 3490|  6.77k|                        cast<array_storage>().value().reserve(n);
 3491|  6.77k|                        break;
 3492|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3492:21): [True: 0, False: 6.77k]
  ------------------
 3493|      0|                        create_object_implicitly();
 3494|      0|                        cast<object_storage>().value().reserve(n);
 3495|      0|                        break;
 3496|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3496:21): [True: 0, False: 6.77k]
  ------------------
 3497|      0|                        cast<object_storage>().value().reserve(n);
 3498|      0|                        break;
 3499|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3499:21): [True: 0, False: 6.77k]
  ------------------
 3500|      0|                        cast<json_ref_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    default:
  ------------------
  |  Branch (3502:21): [True: 0, False: 6.77k]
  ------------------
 3503|      0|                        break;
 3504|  6.77k|                }
 3505|  6.77k|            }
 3506|  6.77k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2320|  40.4k|        {
 2321|  40.4k|            auto ptr = create_object(alloc);
 2322|  40.4k|            construct<object_storage>(ptr, tag);
 2323|  40.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  976|  40.4k|        {
  977|  40.4k|            using stor_allocator_type = typename object_storage::allocator_type;
  978|  40.4k|            stor_allocator_type stor_alloc(alloc);
  979|  40.4k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  980|  40.4k|            JSONCONS_TRY
  ------------------
  |  |   37|  40.4k|    #define JSONCONS_TRY try
  ------------------
  981|  40.4k|            {
  982|  40.4k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  983|  40.4k|                    std::forward<Args>(args)...);
  984|  40.4k|            }
  985|  40.4k|            JSONCONS_CATCH(...)
  986|  40.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|  40.4k|            return ptr;
  991|  40.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  40.4k|        {
  996|  40.4k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  40.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  772|  40.4k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  773|  40.4k|            {
  774|  40.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4701|  6.53M|        {
 4702|  6.53M|            switch (storage_kind())
 4703|  6.53M|            {
 4704|  6.53M|                case json_storage_kind::array:
  ------------------
  |  Branch (4704:17): [True: 6.53M, False: 0]
  ------------------
 4705|  6.53M|                    cast<array_storage>().value().push_back(std::move(val));
 4706|  6.53M|                    break;
 4707|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4707:17): [True: 0, False: 6.53M]
  ------------------
 4708|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4709|      0|                    break;
 4710|      0|                default:
  ------------------
  |  Branch (4710:17): [True: 0, False: 6.53M]
  ------------------
 4711|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Attempting to insert into a value that is not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4712|  6.53M|            }
 4713|  6.53M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1453|  47.7M|        {
 1454|  47.7M|            if (this != &other)
  ------------------
  |  Branch (1454:17): [True: 47.7M, False: 0]
  ------------------
 1455|  47.7M|            {
 1456|  47.7M|                move_assignment(std::move(other));
 1457|  47.7M|            }
 1458|  47.7M|            return *this;
 1459|  47.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1415|  47.7M|        {
 1416|  47.7M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1416:17): [True: 47.7M, False: 0]
  |  Branch (1416:55): [True: 47.5M, False: 210k]
  ------------------
 1417|  47.5M|            {
 1418|  47.5M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1419|  47.5M|            }
 1420|   210k|            else
 1421|   210k|            {
 1422|   210k|                swap(other);
 1423|   210k|            }
 1424|  47.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1934|   210k|        {
 1935|   210k|            if (this == &other)
  ------------------
  |  Branch (1935:17): [True: 0, False: 210k]
  ------------------
 1936|      0|            {
 1937|      0|                return;
 1938|      0|            }
 1939|   210k|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1939:17): [True: 210k, False: 0]
  |  Branch (1939:55): [True: 0, False: 210k]
  ------------------
 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|   210k|            else
 1947|   210k|            {
 1948|   210k|                switch (storage_kind())
 1949|   210k|                {
 1950|   182k|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 182k, False: 28.0k]
  ------------------
 1951|  2.04k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 2.04k, False: 208k]
  ------------------
 1952|  5.74k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 5.74k, False: 204k]
  ------------------
 1953|  5.61k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 5.61k, False: 204k]
  ------------------
 1954|  2.60k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 2.60k, False: 207k]
  ------------------
 1955|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 0, False: 210k]
  ------------------
 1956|  3.55k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 3.55k, False: 206k]
  ------------------
 1957|  8.51k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 8.51k, False: 201k]
  ------------------
 1958|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 210k]
  ------------------
 1959|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 0, False: 210k]
  ------------------
 1960|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 0, False: 210k]
  ------------------
 1961|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 210k]
  ------------------
 1962|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 210k]
  ------------------
 1963|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 210k]
  ------------------
 1964|      0|                    default:
  ------------------
  |  Branch (1964:21): [True: 0, False: 210k]
  ------------------
 1965|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1966|      0|                        break;
 1967|   210k|                }
 1968|   210k|            }
 1969|   210k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1170|   182k|        {
 1171|   182k|            switch (other.storage_kind())
 1172|   182k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 182k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 182k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 182k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 182k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 182k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 182k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 182k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 182k]
  ------------------
 1181|  34.4k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 34.4k, False: 147k]
  ------------------
 1182|  26.8k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 26.8k, False: 155k]
  ------------------
 1183|  75.2k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 75.2k, False: 106k]
  ------------------
 1184|  45.5k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 45.5k, False: 136k]
  ------------------
 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: 182k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 182k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 182k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|   182k|            }
 1191|   182k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  995|   182k|        {
  996|   182k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   182k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  995|  2.04k|        {
  996|  2.04k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1004|  39.9k|        {
 1005|  39.9k|            return cast(identity<T>());
 1006|  39.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1035|  39.9k|        {
 1036|  39.9k|            return boolean_;
 1037|  39.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  995|  5.74k|        {
  996|  5.74k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  5.74k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1004|   125k|        {
 1005|   125k|            return cast(identity<T>());
 1006|   125k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1045|   125k|        {
 1046|   125k|            return int64_;
 1047|   125k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  995|  5.61k|        {
  996|  5.61k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  5.61k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1004|  20.5k|        {
 1005|  20.5k|            return cast(identity<T>());
 1006|  20.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1055|  20.5k|        {
 1056|  20.5k|            return uint64_;
 1057|  20.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  995|  2.60k|        {
  996|  2.60k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.60k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1004|  25.3k|        {
 1005|  25.3k|            return cast(identity<T>());
 1006|  25.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1075|  25.3k|        {
 1076|  25.3k|            return float64_;
 1077|  25.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  995|  3.55k|        {
  996|  3.55k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  3.55k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1004|  71.1k|        {
 1005|  71.1k|            return cast(identity<T>());
 1006|  71.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1085|  71.1k|        {
 1086|  71.1k|            return short_str_;
 1087|  71.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  585|  8.51k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  586|  8.51k|            {
  587|  8.51k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  588|  8.51k|                data_[short_str_length_] = 0;
  589|  8.51k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  995|  8.51k|        {
  996|  8.51k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  8.51k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1156|  34.4k|        {
 1157|  34.4k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  34.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  34.4k|        {
 1163|  34.4k|            TypeR temp{other.cast<TypeR>()};
 1164|  34.4k|            other.construct<TypeL>(cast<TypeL>());
 1165|  34.4k|            construct<TypeR>(temp);
 1166|  34.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  26.8k|        {
 1157|  26.8k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  26.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  26.8k|        {
 1163|  26.8k|            TypeR temp{other.cast<TypeR>()};
 1164|  26.8k|            other.construct<TypeL>(cast<TypeL>());
 1165|  26.8k|            construct<TypeR>(temp);
 1166|  26.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1156|  75.2k|        {
 1157|  75.2k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  75.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  75.2k|        {
 1163|  75.2k|            TypeR temp{other.cast<TypeR>()};
 1164|  75.2k|            other.construct<TypeL>(cast<TypeL>());
 1165|  75.2k|            construct<TypeR>(temp);
 1166|  75.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1156|  45.5k|        {
 1157|  45.5k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  45.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  45.5k|        {
 1163|  45.5k|            TypeR temp{other.cast<TypeR>()};
 1164|  45.5k|            other.construct<TypeL>(cast<TypeL>());
 1165|  45.5k|            construct<TypeR>(temp);
 1166|  45.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1170|  2.04k|        {
 1171|  2.04k|            switch (other.storage_kind())
 1172|  2.04k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.04k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.04k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.04k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.04k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.04k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.04k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.04k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.04k]
  ------------------
 1181|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.04k]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.04k]
  ------------------
 1183|      0|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 2.04k]
  ------------------
 1184|  2.04k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 2.04k, False: 0]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 2.04k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.04k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.04k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.04k|            }
 1191|  2.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1156|  2.04k|        {
 1157|  2.04k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.04k|        {
 1163|  2.04k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.04k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.04k|            construct<TypeR>(temp);
 1166|  2.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1170|  5.74k|        {
 1171|  5.74k|            switch (other.storage_kind())
 1172|  5.74k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 5.74k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 5.74k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 5.74k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 5.74k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 5.74k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 5.74k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 5.74k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 5.74k]
  ------------------
 1181|  1.08k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 1.08k, False: 4.66k]
  ------------------
 1182|  2.25k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 2.25k, False: 3.49k]
  ------------------
 1183|  1.53k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.53k, False: 4.21k]
  ------------------
 1184|    876|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 876, False: 4.86k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 5.74k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 5.74k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 5.74k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  5.74k|            }
 1191|  5.74k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1156|  1.08k|        {
 1157|  1.08k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.08k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.08k|        {
 1163|  1.08k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.08k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.08k|            construct<TypeR>(temp);
 1166|  1.08k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  2.25k|        {
 1157|  2.25k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.25k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.25k|        {
 1163|  2.25k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.25k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.25k|            construct<TypeR>(temp);
 1166|  2.25k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1156|  1.53k|        {
 1157|  1.53k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.53k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.53k|        {
 1163|  1.53k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.53k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.53k|            construct<TypeR>(temp);
 1166|  1.53k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1156|    876|        {
 1157|    876|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    876|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    876|        {
 1163|    876|            TypeR temp{other.cast<TypeR>()};
 1164|    876|            other.construct<TypeL>(cast<TypeL>());
 1165|    876|            construct<TypeR>(temp);
 1166|    876|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1170|  5.61k|        {
 1171|  5.61k|            switch (other.storage_kind())
 1172|  5.61k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 5.61k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 5.61k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 5.61k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 5.61k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 5.61k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 5.61k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 5.61k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 5.61k]
  ------------------
 1181|    983|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 983, False: 4.63k]
  ------------------
 1182|    236|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 236, False: 5.38k]
  ------------------
 1183|  3.45k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 3.45k, False: 2.16k]
  ------------------
 1184|    941|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 941, False: 4.67k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 5.61k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 5.61k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 5.61k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  5.61k|            }
 1191|  5.61k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1156|    983|        {
 1157|    983|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    983|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    983|        {
 1163|    983|            TypeR temp{other.cast<TypeR>()};
 1164|    983|            other.construct<TypeL>(cast<TypeL>());
 1165|    983|            construct<TypeR>(temp);
 1166|    983|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    236|        {
 1157|    236|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    236|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    236|        {
 1163|    236|            TypeR temp{other.cast<TypeR>()};
 1164|    236|            other.construct<TypeL>(cast<TypeL>());
 1165|    236|            construct<TypeR>(temp);
 1166|    236|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1156|  3.45k|        {
 1157|  3.45k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  3.45k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  3.45k|        {
 1163|  3.45k|            TypeR temp{other.cast<TypeR>()};
 1164|  3.45k|            other.construct<TypeL>(cast<TypeL>());
 1165|  3.45k|            construct<TypeR>(temp);
 1166|  3.45k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1156|    941|        {
 1157|    941|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    941|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    941|        {
 1163|    941|            TypeR temp{other.cast<TypeR>()};
 1164|    941|            other.construct<TypeL>(cast<TypeL>());
 1165|    941|            construct<TypeR>(temp);
 1166|    941|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1170|  2.60k|        {
 1171|  2.60k|            switch (other.storage_kind())
 1172|  2.60k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.60k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.60k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.60k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.60k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.60k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.60k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.60k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.60k]
  ------------------
 1181|  1.48k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 1.48k, False: 1.12k]
  ------------------
 1182|    229|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 229, False: 2.37k]
  ------------------
 1183|    600|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 600, False: 2.00k]
  ------------------
 1184|    296|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 296, False: 2.30k]
  ------------------
 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.60k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.60k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.60k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.60k|            }
 1191|  2.60k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  1.48k|        {
 1157|  1.48k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.48k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.48k|        {
 1163|  1.48k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.48k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.48k|            construct<TypeR>(temp);
 1166|  1.48k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    229|        {
 1157|    229|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    229|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    229|        {
 1163|    229|            TypeR temp{other.cast<TypeR>()};
 1164|    229|            other.construct<TypeL>(cast<TypeL>());
 1165|    229|            construct<TypeR>(temp);
 1166|    229|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1156|    600|        {
 1157|    600|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    600|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    600|        {
 1163|    600|            TypeR temp{other.cast<TypeR>()};
 1164|    600|            other.construct<TypeL>(cast<TypeL>());
 1165|    600|            construct<TypeR>(temp);
 1166|    600|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1156|    296|        {
 1157|    296|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    296|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    296|        {
 1163|    296|            TypeR temp{other.cast<TypeR>()};
 1164|    296|            other.construct<TypeL>(cast<TypeL>());
 1165|    296|            construct<TypeR>(temp);
 1166|    296|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1170|  3.55k|        {
 1171|  3.55k|            switch (other.storage_kind())
 1172|  3.55k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 3.55k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 3.55k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 3.55k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 3.55k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 3.55k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 3.55k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 3.55k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 3.55k]
  ------------------
 1181|    531|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 531, False: 3.01k]
  ------------------
 1182|  1.60k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 1.60k, False: 1.94k]
  ------------------
 1183|    900|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 900, False: 2.65k]
  ------------------
 1184|    517|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 517, False: 3.03k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 3.55k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 3.55k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 3.55k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  3.55k|            }
 1191|  3.55k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1156|    531|        {
 1157|    531|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    531|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    531|        {
 1163|    531|            TypeR temp{other.cast<TypeR>()};
 1164|    531|            other.construct<TypeL>(cast<TypeL>());
 1165|    531|            construct<TypeR>(temp);
 1166|    531|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  1.60k|        {
 1157|  1.60k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.60k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.60k|        {
 1163|  1.60k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.60k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.60k|            construct<TypeR>(temp);
 1166|  1.60k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1156|    900|        {
 1157|    900|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    900|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    900|        {
 1163|    900|            TypeR temp{other.cast<TypeR>()};
 1164|    900|            other.construct<TypeL>(cast<TypeL>());
 1165|    900|            construct<TypeR>(temp);
 1166|    900|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1156|    517|        {
 1157|    517|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    517|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    517|        {
 1163|    517|            TypeR temp{other.cast<TypeR>()};
 1164|    517|            other.construct<TypeL>(cast<TypeL>());
 1165|    517|            construct<TypeR>(temp);
 1166|    517|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1170|  8.51k|        {
 1171|  8.51k|            switch (other.storage_kind())
 1172|  8.51k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 8.51k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 8.51k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 8.51k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 8.51k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 8.51k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 8.51k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 8.51k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 8.51k]
  ------------------
 1181|  6.77k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 6.77k, False: 1.74k]
  ------------------
 1182|    238|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 238, False: 8.27k]
  ------------------
 1183|    802|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 802, False: 7.71k]
  ------------------
 1184|    701|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 701, False: 7.81k]
  ------------------
 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.51k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 8.51k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 8.51k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  8.51k|            }
 1191|  8.51k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1156|  6.77k|        {
 1157|  6.77k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  6.77k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  6.77k|        {
 1163|  6.77k|            TypeR temp{other.cast<TypeR>()};
 1164|  6.77k|            other.construct<TypeL>(cast<TypeL>());
 1165|  6.77k|            construct<TypeR>(temp);
 1166|  6.77k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    238|        {
 1157|    238|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    238|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    238|        {
 1163|    238|            TypeR temp{other.cast<TypeR>()};
 1164|    238|            other.construct<TypeL>(cast<TypeL>());
 1165|    238|            construct<TypeR>(temp);
 1166|    238|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1156|    802|        {
 1157|    802|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    802|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    802|        {
 1163|    802|            TypeR temp{other.cast<TypeR>()};
 1164|    802|            other.construct<TypeL>(cast<TypeL>());
 1165|    802|            construct<TypeR>(temp);
 1166|    802|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1156|    701|        {
 1157|    701|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    701|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    701|        {
 1163|    701|            TypeR temp{other.cast<TypeR>()};
 1164|    701|            other.construct<TypeL>(cast<TypeL>());
 1165|    701|            construct<TypeR>(temp);
 1166|    701|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2614|  15.2k|        {
 2615|  15.2k|            construct<uint64_storage>(val, tag);
 2616|  15.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  995|  15.2k|        {
  996|  15.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  15.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  15.2k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  15.2k|                  val_(val)
  518|  15.2k|            {
  519|  15.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2645|   114k|        {
 2646|   114k|            construct<int64_storage>(val, tag);
 2647|   114k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  995|   114k|        {
  996|   114k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   114k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  496|   114k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  497|   114k|                  val_(val)
  498|   114k|            {
  499|   114k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2602|  18.2k|        {
 2603|  18.2k|            construct<double_storage>(val, tag);
 2604|  18.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  995|  18.2k|        {
  996|  18.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  18.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  555|  18.2k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  556|  18.2k|                  val_(val)
  557|  18.2k|            {
  558|  18.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2401|  42.8k|        {
 2402|  42.8k|            auto ptr = create_array(Allocator());
 2403|  42.8k|            construct<array_storage>(ptr, tag);
 2404|  42.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  957|  42.8k|        {
  958|  42.8k|            using stor_allocator_type = typename array_storage::allocator_type;
  959|  42.8k|            stor_allocator_type stor_alloc(alloc);
  960|  42.8k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  961|  42.8k|            JSONCONS_TRY
  ------------------
  |  |   37|  42.8k|    #define JSONCONS_TRY try
  ------------------
  962|  42.8k|            {
  963|  42.8k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  964|  42.8k|                    std::forward<Args>(args)...);
  965|  42.8k|            }
  966|  42.8k|            JSONCONS_CATCH(...)
  967|  42.8k|            {
  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|  42.8k|            return ptr;
  972|  42.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  42.8k|        {
  996|  42.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  42.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  722|  42.8k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  723|  42.8k|            {
  724|  42.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2691|  21.0M|        {
 2692|  21.0M|            construct<null_storage>(tag);
 2693|  21.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  995|  21.0M|        {
  996|  21.0M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  21.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2701|  28.4k|        {
 2702|  28.4k|            construct<bool_storage>(val,tag);
 2703|  28.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  995|  28.4k|        {
  996|  28.4k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  28.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|  28.4k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|  28.4k|                  val_(val)
  477|  28.4k|            {
  478|  28.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2549|   112k|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2550|   112k|        {
 2551|   112k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2579|   112k|        {
 2580|   112k|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2580:17): [True: 54.1k, False: 58.2k]
  ------------------
 2581|  54.1k|            {
 2582|  54.1k|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2583|  54.1k|            }
 2584|  58.2k|            else
 2585|  58.2k|            {
 2586|  58.2k|                auto ptr = create_long_string(alloc, s, length);
 2587|  58.2k|                construct<long_string_storage>(ptr, tag);
 2588|  58.2k|            }
 2589|   112k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  995|  54.1k|        {
  996|  54.1k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  54.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  54.1k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  54.1k|            {
  579|  54.1k|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   49|  54.1k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 54.1k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  580|  54.1k|                std::memcpy(data_,p,length*sizeof(char_type));
  581|  54.1k|                data_[length] = 0;
  582|  54.1k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  943|  58.2k|        {
  944|  58.2k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  945|  58.2k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  946|  58.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|  58.2k|        {
  996|  58.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  58.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  621|  58.2k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  622|  58.2k|            {
  623|  58.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  950|  67.7k|        {
  951|  67.7k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  952|  67.7k|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  953|  67.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  670|  67.7k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  671|  67.7k|            {
  672|  67.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2742|  67.7k|        {
 2743|  67.7k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2744|       |
 2745|  67.7k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2746|  67.7k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2747|  67.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  995|  67.7k|        {
  996|  67.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  67.7k|        }

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

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

_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|   110k|            : data_(data), size_(size)
   62|   110k|        {
   63|   110k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|   140k|        {
  112|   140k|            return data_;
  113|   140k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|   285k|        {
  117|   285k|            return size_;
  118|   285k|        }
_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2Ev:
   58|  30.3k|        {
   59|  30.3k|        }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  54.3k|        {
  106|  54.3k|            flatten_and_destroy();
  107|  54.3k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  54.3k|        {
  249|  6.59M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 6.53M, False: 54.3k]
  ------------------
  250|  6.53M|            {
  251|  6.53M|                value_type current = std::move(data_.back());
  252|  6.53M|                data_.pop_back();
  253|  6.53M|                switch (current.storage_kind())
  254|  6.53M|                {
  255|  4.13k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 4.13k, False: 6.53M]
  ------------------
  256|  4.13k|                    {
  257|  4.13k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 4.67k, False: 4.13k]
  ------------------
  258|  4.67k|                        {
  259|  4.67k|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 835, False: 3.83k]
  |  Branch (259:85): [True: 578, False: 3.25k]
  ------------------
  260|  1.41k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 970, False: 443]
  ------------------
  261|    970|                            {
  262|    970|                                data_.push_back(std::move(item));
  263|    970|                            }
  264|  4.67k|                        }
  265|  4.13k|                        current.clear();                           
  266|  4.13k|                        break;
  267|      0|                    }
  268|  4.00k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 4.00k, False: 6.53M]
  ------------------
  269|  4.00k|                    {
  270|  4.00k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 4.83k, False: 4.00k]
  ------------------
  271|  4.83k|                        {
  272|  4.83k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 353, False: 4.48k]
  |  Branch (272:91): [True: 1.07k, False: 3.40k]
  ------------------
  273|  1.42k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 1.15k, False: 270]
  ------------------
  274|  1.15k|                            {
  275|  1.15k|                                data_.push_back(std::move(kv.value()));
  276|  1.15k|                            }
  277|  4.83k|                        }
  278|  4.00k|                        current.clear();                           
  279|  4.00k|                        break;
  280|      0|                    }
  281|  6.52M|                    default:
  ------------------
  |  Branch (281:21): [True: 6.52M, False: 8.13k]
  ------------------
  282|  6.52M|                        break;
  283|  6.53M|                }
  284|  6.53M|            }
  285|  54.3k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|  4.13k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|  4.13k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  5.79k|        {
  126|  5.79k|            return data_.empty();
  127|  5.79k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|  4.13k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  11.4k|            : allocator_holder<allocator_type>(alloc), 
   50|  11.4k|              data_(value_allocator_type(alloc))
   51|  11.4k|        {
   52|  11.4k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  3.52k|        {
  218|  3.52k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  3.52k|            return data_.back();
  220|  3.52k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  6.77k|        void reserve(std::size_t n) {data_.reserve(n);}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE9push_backIS6_S5_EENS3_9enable_ifIXsr3std16allocator_traitsIT0_E15is_always_equalE5valueEvE4typeEOT_:
  178|  6.53M|        {
  179|  6.53M|            data_.emplace_back(std::forward<T>(value));
  180|  6.53M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  42.8k|        json_array() = default;

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  5.00k|        : alloc_(alloc),
   75|  5.00k|          result_(),
   76|  5.00k|          name_(alloc),
   77|  5.00k|          item_stack_(alloc),
   78|  5.00k|          structure_stack_(temp_alloc)
   79|  5.00k|    {
   80|       |        //item_stack_.reserve(1000);
   81|       |        //structure_stack_.reserve(100);
   82|  5.00k|        structure_stack_.emplace_back(json_structure_kind::root_kind, 0);
   83|  5.00k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14json_structureC2ENS7_19json_structure_kindEm:
   51|  88.3k|            : structure_kind(type), structure_index(offset)
   52|  88.3k|        {
   53|  88.3k|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  186|  19.5k|    {
  187|  19.5k|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   49|  19.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 19.5k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  188|  19.5k|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::array_kind);
  ------------------
  |  |   49|  19.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 19.5k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  189|  19.5k|        const size_t structure_index = structure_stack_.back().structure_index;
  190|  19.5k|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   49|  19.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 19.5k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  191|       |
  192|  19.5k|        auto& structure = structure_stack_[structure_stack_.size()-2];
  193|  19.5k|        auto& arr = item_stack_[structure_index].value;
  194|  19.5k|        const size_t size = item_stack_.size() - (structure_index + 1);
  195|       |
  196|  19.5k|        if (size > 0)
  ------------------
  |  Branch (196:13): [True: 6.77k, False: 12.7k]
  ------------------
  197|  6.77k|        {
  198|  6.77k|            arr.reserve(size);
  199|  6.77k|            auto first = item_stack_.begin() + (structure_index+1);
  200|  6.77k|            auto last = first + size;
  201|  6.54M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (201:35): [True: 6.53M, False: 6.77k]
  ------------------
  202|  6.53M|            {
  203|  6.53M|                arr.push_back(std::move((*it).value));
  204|  6.53M|            }
  205|  6.77k|            item_stack_.erase(first, item_stack_.end());
  206|  6.77k|        }
  207|       |
  208|  19.5k|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (208:13): [True: 0, False: 19.5k]
  ------------------
  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.5k|        structure_stack_.pop_back();
  216|  19.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  19.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  19.5k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  311|  15.2k|    {
  312|  15.2k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (312:17): [True: 15.2k, False: 0]
  ------------------
  313|  15.2k|        {
  314|  9.07k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (314:13): [True: 9.07k, False: 6.22k]
  ------------------
  315|  9.07k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  316|  9.07k|                break;
  317|  6.22k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (317:13): [True: 6.22k, False: 9.07k]
  ------------------
  318|  6.22k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  319|  6.22k|                break;
  320|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (320:13): [True: 0, False: 15.2k]
  ------------------
  321|      0|                result_ = Json(value,tag);
  322|      0|                is_valid_ = true;
  323|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  324|  15.2k|        }
  325|  15.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  15.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  15.2k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  290|   114k|    {
  291|   114k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (291:17): [True: 114k, False: 0]
  ------------------
  292|   114k|        {
  293|  64.4k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (293:13): [True: 64.4k, False: 49.7k]
  ------------------
  294|  64.4k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  295|  64.4k|                break;
  296|  49.7k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (296:13): [True: 49.7k, False: 64.4k]
  ------------------
  297|  49.7k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  298|  49.7k|                break;
  299|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (299:13): [True: 0, False: 114k]
  ------------------
  300|      0|                result_ = Json(value,tag);
  301|      0|                is_valid_ = true;
  302|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|   114k|        }
  304|   114k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   114k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  305|   114k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  353|  18.2k|    {
  354|  18.2k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (354:17): [True: 18.2k, False: 0]
  ------------------
  355|  18.2k|        {
  356|  10.5k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (356:13): [True: 10.5k, False: 7.68k]
  ------------------
  357|  10.5k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  358|  10.5k|                break;
  359|  7.68k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (359:13): [True: 7.68k, False: 10.5k]
  ------------------
  360|  7.68k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  361|  7.68k|                break;
  362|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (362:13): [True: 0, False: 18.2k]
  ------------------
  363|      0|                result_ = Json(value, tag);
  364|      0|                is_valid_ = true;
  365|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  18.2k|        }
  367|  18.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  18.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  18.2k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|     16|    {
  123|     16|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  40.4k|    {
  127|  40.4k|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (127:13): [True: 28.2k, False: 12.2k]
  ------------------
  128|  28.2k|        {
  129|  28.2k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  130|  28.2k|            item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  131|  28.2k|        }
  132|  12.2k|        else
  133|  12.2k|        {
  134|  12.2k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  135|  12.2k|            item_stack_.emplace_back(key_type(alloc_), 0, json_object_arg, tag);
  136|  12.2k|        }
  137|  40.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  40.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  138|  40.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);
  ------------------
  |  |   49|  26.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 26.6k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  143|  26.6k|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::object_kind);
  ------------------
  |  |   49|  26.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 26.6k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  144|  26.6k|        const size_t structure_index = structure_stack_.back().structure_index;
  145|  26.6k|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   49|  26.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 26.6k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  146|       |
  147|  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: 14.6k, False: 11.9k]
  ------------------
  153|  14.6k|        {
  154|  14.6k|            obj.template cast<typename Json::object_storage>().value().uninitialized_init(
  155|  14.6k|                &item_stack_[structure_index+1], size);
  156|  14.6k|            item_stack_.erase(first, item_stack_.end());
  157|  14.6k|        }
  158|       |
  159|  26.6k|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (159:13): [True: 2.04k, False: 24.5k]
  ------------------
  160|  2.04k|        {
  161|  2.04k|            result_ = std::move(item_stack_.front().value);
  162|  2.04k|            item_stack_.pop_back();
  163|  2.04k|            is_valid_ = true;
  164|  2.04k|        }
  165|       |
  166|  26.6k|        structure_stack_.pop_back();
  167|  26.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  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|  42.8k|    {
  172|  42.8k|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (172:13): [True: 19.9k, False: 22.9k]
  ------------------
  173|  19.9k|        {
  174|  19.9k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  175|  19.9k|            item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  176|  19.9k|        }
  177|  22.9k|        else
  178|  22.9k|        {
  179|  22.9k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  180|  22.9k|            item_stack_.emplace_back(key_type(alloc_), 0, json_array_arg, tag);
  181|  22.9k|        }
  182|  42.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  42.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  183|  42.8k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  220|  12.3M|    {
  221|  12.3M|        name_ = key_type(name.data(),name.length(),alloc_);
  222|  12.3M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  12.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  223|  12.3M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  389|  21.0M|    {
  390|  21.0M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (390:17): [True: 21.0M, False: 0]
  ------------------
  391|  21.0M|        {
  392|  11.9M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (392:13): [True: 11.9M, False: 9.09M]
  ------------------
  393|  11.9M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  394|  11.9M|                break;
  395|  9.09M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (395:13): [True: 9.09M, False: 11.9M]
  ------------------
  396|  9.09M|                item_stack_.emplace_back(key_type(alloc_), 0, null_type(), tag);
  397|  9.09M|                break;
  398|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (398:13): [True: 0, False: 21.0M]
  ------------------
  399|      0|                result_ = Json(null_type(), tag);
  400|      0|                is_valid_ = true;
  401|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  402|  21.0M|        }
  403|  21.0M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  21.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  404|  21.0M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  371|  28.4k|    {
  372|  28.4k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (372:17): [True: 28.4k, False: 0]
  ------------------
  373|  28.4k|        {
  374|  21.0k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (374:13): [True: 21.0k, False: 7.41k]
  ------------------
  375|  21.0k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  376|  21.0k|                break;
  377|  7.41k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (377:13): [True: 7.41k, False: 21.0k]
  ------------------
  378|  7.41k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  379|  7.41k|                break;
  380|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (380:13): [True: 0, False: 28.4k]
  ------------------
  381|      0|                result_ = Json(value, tag);
  382|      0|                is_valid_ = true;
  383|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  384|  28.4k|        }
  385|  28.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  28.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  28.4k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  226|   112k|    {
  227|   112k|        auto& structure = structure_stack_.back();
  228|   112k|        switch (structure.structure_kind)
  ------------------
  |  Branch (228:17): [True: 112k, False: 0]
  ------------------
  229|   112k|        {
  230|  98.6k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (230:13): [True: 98.6k, False: 13.7k]
  ------------------
  231|  98.6k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  232|  98.6k|                break;
  233|  13.7k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (233:13): [True: 13.7k, False: 98.6k]
  ------------------
  234|  13.7k|                item_stack_.emplace_back(key_type(alloc_), 0, sv, tag);
  235|  13.7k|                break;
  236|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (236:13): [True: 0, False: 112k]
  ------------------
  237|      0|                result_ = Json(sv, tag, alloc_);
  238|      0|                is_valid_ = true;
  239|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  240|   112k|        }
  241|   112k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   112k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  242|   112k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  269|  67.7k|    {
  270|  67.7k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (270:17): [True: 67.7k, False: 0]
  ------------------
  271|  67.7k|        {
  272|  53.2k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (272:13): [True: 53.2k, False: 14.4k]
  ------------------
  273|  53.2k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, raw_tag);
  274|  53.2k|                break;
  275|  14.4k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (275:13): [True: 14.4k, False: 53.2k]
  ------------------
  276|  14.4k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, raw_tag);
  277|  14.4k|                break;
  278|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (278:13): [True: 0, False: 67.7k]
  ------------------
  279|      0|                result_ = Json(byte_string_arg, b, raw_tag, alloc_);
  280|      0|                is_valid_ = true;
  281|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  282|  67.7k|        }
  283|  67.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  67.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|  67.7k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|     16|    {
  109|     16|        return is_valid_;
  110|     16|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|     16|    {
  114|     16|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   49|     16|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 16]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  115|     16|        is_valid_ = false;
  116|     16|        return std::move(result_);
  117|     16|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  5.00k|{
 1065|  5.00k|    return json_visitor_adaptor<From, To>(to);
 1066|  5.00k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  5.00k|        : supertype(visitor)
  984|  5.00k|    {
  985|  5.00k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  5.00k|        : destination1_(std::addressof(visitor))
  722|  5.00k|    {
  723|  5.00k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  19.5k|    {
  784|  19.5k|        destination1_->end_array(context, ec);
  785|  19.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  19.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  19.5k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  15.2k|    {
  826|  15.2k|        destination1_->uint64_value(value, tag, context, ec);
  827|  15.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  15.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  15.2k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|   114k|    {
  820|   114k|        destination1_->int64_value(value, tag, context, ec);
  821|   114k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   114k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|   114k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  18.2k|    {
  814|  18.2k|        destination1_->double_value(value, tag, context, ec);
  815|  18.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  18.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  18.2k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|     16|    {
  739|     16|        destination1_->flush();
  740|     16|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  745|  40.4k|    {
  746|  40.4k|        destination1_->begin_object(tag, context, ec);
  747|  40.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  40.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  748|  40.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;
  ------------------
  |  |  276|  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|  42.8k|    {
  769|  42.8k|        destination1_->begin_array(tag, context, ec);
  770|  42.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  42.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  771|  42.8k|    }
_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|  12.3M|    {
  996|  12.3M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  12.3M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  12.4M|    {
  733|  12.4M|        return *destination1_;
  734|  12.4M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  21.0M|    {
  838|  21.0M|        destination1_->null_value(tag, context, ec);
  839|  21.0M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  21.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  21.0M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  28.4k|    {
  832|  28.4k|        destination1_->bool_value(value, tag, context, ec);
  833|  28.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  28.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  28.4k|    }
_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|   112k|    {
 1004|   112k|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|   112k|    }
_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|  67.7k|    {
  802|  67.7k|        destination1_->byte_string_value(b, raw_tag, context, ec);
  803|  67.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  67.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|  67.7k|    }

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  10.0k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  10.0k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  30.5k|        {
  415|  30.5k|            visit_uint64(value, tag, context, ec);
  416|  30.5k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  30.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  30.5k|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  39.1k|        {
  352|  39.1k|            visit_end_array(context, ec);
  353|  39.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  39.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  39.1k|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|   228k|        {
  424|   228k|            visit_int64(value, tag, context, ec);
  425|   228k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   228k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|   228k|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  36.5k|        {
  442|  36.5k|            visit_double(value, tag, context, ec);
  443|  36.5k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  36.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  36.5k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|     32|        {
  109|     32|            visit_flush();
  110|     32|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  318|  80.9k|        {
  319|  80.9k|            visit_begin_object(tag, context, ec);
  320|  80.9k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  80.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  321|  80.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;
  ------------------
  |  |  276|  53.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  53.2k|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  339|  85.7k|        {
  340|  85.7k|            visit_begin_array(tag, context, ec);
  341|  85.7k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  85.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  342|  85.7k|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  24.6M|        {
  358|  24.6M|            visit_key(name, context, ec);
  359|  24.6M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  24.6M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  24.6M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  42.1M|        {
  366|  42.1M|            visit_null(tag, context, ec);
  367|  42.1M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  42.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  42.1M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  56.9k|        {
  375|  56.9k|            visit_bool(value, tag, context, ec);
  376|  56.9k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  56.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  56.9k|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|   224k|        {
  384|   224k|            visit_string(value, tag, context, ec);
  385|   224k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   224k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|   224k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|   135k|        {
  406|   135k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|   135k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   135k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|   135k|        }

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|  66.0k|    {
  121|  66.0k|        return value_;
  122|  66.0k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  47.7M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  15.2k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  15.2k|    {
   45|  15.2k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  54.8M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   114k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   114k|    {
   45|   114k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  18.2k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  18.2k|    {
   45|  18.2k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  40.4k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  40.4k|    {
   45|  40.4k|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|  48.9k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|  48.9k|    {
   88|  48.9k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  42.8k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  42.8k|    {
   45|  42.8k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  21.0M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  21.0M|    {
   45|  21.0M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  28.4k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  28.4k|    {
   45|  28.4k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|   112k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   112k|    {
   45|   112k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  67.7k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  67.7k|    {
   45|  67.7k|    }

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  3.54k|        {
  159|  3.54k|            return data_.empty();
  160|  3.54k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  4.00k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  4.00k|        {
  169|  4.00k|            return data_.begin();
  170|  4.00k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  4.00k|        {
  174|  4.00k|            return data_.end();
  175|  4.00k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  40.4k|        {
  154|  40.4k|            flatten_and_destroy();
  155|  40.4k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|  40.4k|        {
  725|  40.4k|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 11.4k, False: 29.0k]
  ------------------
  726|  11.4k|            {
  727|  11.4k|                json_array<Json> temp(get_allocator());
  728|       |
  729|  11.4k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 44.1k, False: 11.4k]
  ------------------
  730|  44.1k|                {
  731|  44.1k|                    switch (kv.value().storage_kind())
  732|  44.1k|                    {
  733|  4.60k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 4.60k, False: 39.5k]
  ------------------
  734|  6.49k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 1.89k, False: 42.2k]
  ------------------
  735|  6.49k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 3.52k, False: 2.97k]
  ------------------
  736|  3.52k|                            {
  737|  3.52k|                                temp.emplace_back(std::move(kv.value()));
  738|  3.52k|                            }
  739|  6.49k|                            break;
  740|  37.6k|                        default:
  ------------------
  |  Branch (740:25): [True: 37.6k, False: 6.49k]
  ------------------
  741|  37.6k|                            break;
  742|  44.1k|                    }
  743|  44.1k|                }
  744|  11.4k|            }
  745|  40.4k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  40.4k|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  14.6k|        {
  278|  14.6k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 14.6k, False: 0]
  ------------------
  279|  14.6k|            {
  280|  14.6k|                data_.reserve(count);
  281|       |
  282|  14.6k|                std::sort(items, items+count, compare);
  283|  14.6k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  9.34M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 9.33M, False: 14.6k]
  ------------------
  286|  9.33M|                {
  287|  9.33M|                    auto& item = items[i];
  288|  9.33M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 34.3k, False: 9.29M]
  ------------------
  289|  34.3k|                    {
  290|  34.3k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|  34.3k|                    }
  292|  9.33M|                }
  293|  14.6k|            }
  294|  14.6k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|   221M|        {
  269|   221M|            int comp = item1.name.compare(item2.name); 
  270|   221M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 1.65M, False: 219M]
  ------------------
  271|   219M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 219M, False: 473k]
  ------------------
  272|       |
  273|   473k|            return false;
  274|   219M|        }

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  176|  5.00k|        : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  177|  5.00k|          chunk_size_(default_max_chunk_size)
  178|  5.00k|    {
  179|  5.00k|        chunk_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, chunk_size_);
  180|  5.00k|        data_end_ = chunk_;
  181|  5.00k|    }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   57|  5.00k|      : std::basic_istream<CharT>(&nb_)
   58|  5.00k|    {
   59|  5.00k|    }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   43|  5.00k|        null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  193|  5.00k|    {
  194|  5.00k|        if (chunk_)
  ------------------
  |  Branch (194:13): [True: 5.00k, False: 0]
  ------------------
  195|  5.00k|        {
  196|  5.00k|            std::allocator_traits<char_allocator_type>::deallocate(alloc_, chunk_, chunk_size_);
  197|  5.00k|        }
  198|  5.00k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|  4.99k|    {
  282|  4.99k|        return position_;
  283|  4.99k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  5.00k|    {
  277|  5.00k|        return stream_ptr_->bad();  
  278|  5.00k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  377|  84.0M|    {
  378|  84.0M|        std::size_t len = 0;
  379|  84.0M|        if (remaining_ > 0)
  ------------------
  |  Branch (379:13): [True: 84.0M, False: 10.9k]
  ------------------
  380|  84.0M|        {
  381|  84.0M|            len = (std::min)(remaining_, length);
  382|  84.0M|            std::memcpy(p, data_end_, len*sizeof(value_type));
  383|  84.0M|            data_end_ += len;
  384|  84.0M|            remaining_ -= len;
  385|  84.0M|            position_ += len;
  386|  84.0M|        }
  387|  84.0M|        if (length - len == 0)
  ------------------
  |  Branch (387:13): [True: 84.0M, False: 12.7k]
  ------------------
  388|  84.0M|        {
  389|  84.0M|            return len;
  390|  84.0M|        }
  391|  12.7k|        else if (length - len < chunk_size_)
  ------------------
  |  Branch (391:18): [True: 12.7k, False: 0]
  ------------------
  392|  12.7k|        {
  393|  12.7k|            data_end_ = chunk_;
  394|  12.7k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  395|  12.7k|            if (remaining_ > 0)
  ------------------
  |  Branch (395:17): [True: 11.0k, False: 1.69k]
  ------------------
  396|  11.0k|            {
  397|  11.0k|                std::size_t len2 = (std::min)(remaining_, length-len);
  398|  11.0k|                std::memcpy(p+len, data_end_, len2*sizeof(value_type));
  399|  11.0k|                data_end_ += len2;
  400|  11.0k|                remaining_ -= len2;
  401|  11.0k|                position_ += len2;
  402|  11.0k|                len += len2;
  403|  11.0k|            }
  404|  12.7k|            return len;
  405|  12.7k|        }
  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|  84.0M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  442|  13.7k|    {
  443|  13.7k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (443:13): [True: 1.71k, False: 12.0k]
  ------------------
  444|  1.71k|        {
  445|  1.71k|            return 0;
  446|  1.71k|        }
  447|       |
  448|  12.0k|        JSONCONS_TRY
  ------------------
  |  |   37|  12.0k|    #define JSONCONS_TRY try
  ------------------
  449|  12.0k|        {
  450|  12.0k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  451|  12.0k|            std::size_t length = static_cast<std::size_t>(count);
  452|       |
  453|  12.0k|            if (length < chunk_size)
  ------------------
  |  Branch (453:17): [True: 4.98k, False: 7.05k]
  ------------------
  454|  4.98k|            {
  455|  4.98k|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  456|  4.98k|            }
  457|  12.0k|            return length;
  458|  12.0k|        }
  459|  12.0k|        JSONCONS_CATCH(const std::exception&)     
  460|  12.0k|        {
  461|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  462|      0|            return 0;
  463|      0|        }
  464|  12.0k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_12basic_stringIcNS1_11char_traitsIcEENS2_IcEEEEEENS_6detail4spanIKhLm18446744073709551615EEEmOT_:
  352|  5.03k|    {
  353|  5.03k|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   78|  5.03k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.17k, False: 3.86k]
  |  |  ------------------
  ------------------
  354|  1.17k|        {
  355|  1.17k|            return span<const value_type>{};
  356|  1.17k|        }
  357|  3.86k|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 150, False: 3.71k]
  |  Branch (357:32): [True: 34, False: 116]
  ------------------
  358|     34|        {
  359|     34|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|     34|            data_end_ = chunk_;
  361|     34|        }
  362|  3.86k|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 436, False: 3.42k]
  ------------------
  363|    436|        {
  364|    436|            buffer.clear();
  365|    436|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    436|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    436|        }
  368|       |
  369|  3.42k|        const value_type* data = data_end_;
  370|  3.42k|        data_end_ += length;
  371|  3.42k|        remaining_ -= length;
  372|  3.42k|        position_ += length;
  373|  3.42k|        return span<const value_type>(data, length);
  374|  3.86k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_12basic_stringIcNS2_11char_traitsIcEENS3_IcEEEEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSG_m:
  746|    436|    {
  747|    436|        std::size_t unread = length;
  748|       |
  749|  1.58k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 1.38k, False: 195]
  |  Branch (749:30): [True: 1.14k, False: 241]
  ------------------
  750|  1.14k|        {
  751|  1.14k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 489, False: 658]
  |  Branch (751:44): [True: 488, False: 1]
  ------------------
  752|    488|            {
  753|    488|                std::size_t n = source.chunk_size();
  754|    488|                std::size_t offset = buffer.size();
  755|    488|                buffer.resize(offset+n);
  756|    488|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|    488|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|    488|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 55, False: 433]
  |  |  ------------------
  ------------------
  758|     55|                {
  759|     55|                    buffer.resize(offset+actual);
  760|     55|                }
  761|    488|                unread -= actual;
  762|    488|            }
  763|    659|            else
  764|    659|            {
  765|    659|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|    659|                std::size_t offset = buffer.size();
  767|    659|                buffer.resize(offset+n);
  768|    659|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|    659|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|    659|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 106, False: 553]
  |  |  ------------------
  ------------------
  770|    106|                {
  771|    106|                    buffer.resize(offset + actual);
  772|    106|                }
  773|    659|                unread -= actual;
  774|    659|            }
  775|  1.14k|        }
  776|    436|        return length - unread;
  777|    436|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  3.35k|    {
  272|  3.35k|        return remaining_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 1.52k, False: 1.82k]
  |  Branch (272:35): [True: 573, False: 956]
  ------------------
  273|  3.35k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9remainingEv:
  346|  2.77k|    {
  347|  2.77k|        return remaining_;
  348|  2.77k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|  3.73k|    {
  262|  3.73k|        return chunk_size_;
  263|  3.73k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11read_bufferEPhm:
  435|    953|    {
  436|    953|        auto len = fill_buffer(chunk, chunk_size);
  437|    953|        position_ += len;
  438|    953|        return len;
  439|    953|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_6vectorIhS3_EEEENS_6detail4spanIKhLm18446744073709551615EEEmOT_:
  352|  68.0k|    {
  353|  68.0k|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   78|  68.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 29.1k, False: 38.9k]
  |  |  ------------------
  ------------------
  354|  29.1k|        {
  355|  29.1k|            return span<const value_type>{};
  356|  29.1k|        }
  357|  38.9k|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 180, False: 38.7k]
  |  Branch (357:32): [True: 62, False: 118]
  ------------------
  358|     62|        {
  359|     62|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|     62|            data_end_ = chunk_;
  361|     62|        }
  362|  38.9k|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 601, False: 38.3k]
  ------------------
  363|    601|        {
  364|    601|            buffer.clear();
  365|    601|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    601|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    601|        }
  368|       |
  369|  38.3k|        const value_type* data = data_end_;
  370|  38.3k|        data_end_ += length;
  371|  38.3k|        remaining_ -= length;
  372|  38.3k|        position_ += length;
  373|  38.3k|        return span<const value_type>(data, length);
  374|  38.9k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSD_m:
  746|    601|    {
  747|    601|        std::size_t unread = length;
  748|       |
  749|  2.23k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 1.96k, False: 269]
  |  Branch (749:30): [True: 1.63k, False: 332]
  ------------------
  750|  1.63k|        {
  751|  1.63k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 467, False: 1.16k]
  |  Branch (751:44): [True: 465, False: 2]
  ------------------
  752|    465|            {
  753|    465|                std::size_t n = source.chunk_size();
  754|    465|                std::size_t offset = buffer.size();
  755|    465|                buffer.resize(offset+n);
  756|    465|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|    465|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|    465|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 66, False: 399]
  |  |  ------------------
  ------------------
  758|     66|                {
  759|     66|                    buffer.resize(offset+actual);
  760|     66|                }
  761|    465|                unread -= actual;
  762|    465|            }
  763|  1.16k|            else
  764|  1.16k|            {
  765|  1.16k|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|  1.16k|                std::size_t offset = buffer.size();
  767|  1.16k|                buffer.resize(offset+n);
  768|  1.16k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|  1.16k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|  1.16k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 194, False: 972]
  |  |  ------------------
  ------------------
  770|    194|                {
  771|    194|                    buffer.resize(offset + actual);
  772|    194|                }
  773|  1.16k|                unread -= actual;
  774|  1.16k|            }
  775|  1.63k|        }
  776|    601|        return length - unread;
  777|    601|    }

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

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

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  58.2k|    {       
  242|  58.2k|        return (ptr);
  243|  58.2k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|  67.7k|    {       
  242|  67.7k|        return (ptr);
  243|  67.7k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  85.7k|    {       
  242|  85.7k|        return (ptr);
  243|  85.7k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  80.9k|    {       
  242|  80.9k|        return (ptr);
  243|  80.9k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|   126k|    {       
  242|   126k|        return (ptr);
  243|   126k|    }  

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  12.3M|    {
 1148|  12.3M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  12.3M|        const uint8_t* end = it + length;
 1150|       |
 1151|  12.3M|        unicode_errc  result{};
 1152|  16.4M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 4.10M, False: 12.3M]
  ------------------
 1153|  4.10M|        {
 1154|  4.10M|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 3.31M, False: 795k]
  ------------------
 1155|  3.31M|            {
 1156|  23.1M|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  281|  6.62M|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (281:32): [True: 3.30M, False: 4.32k]
  |  |  |  Branch (281:34): [True: 3.30M, False: 1.28k]
  |  |  |  Branch (281:36): [True: 3.30M, False: 1.75k]
  |  |  |  Branch (281:38): [True: 3.30M, False: 1.57k]
  |  |  |  Branch (281:40): [True: 3.30M, False: 2.52k]
  |  |  |  Branch (281:42): [True: 3.29M, False: 2.63k]
  |  |  |  Branch (281:44): [True: 3.29M, False: 1.24k]
  |  |  |  Branch (281:46): [True: 3.29M, False: 2.11k]
  |  |  ------------------
  ------------------
 1157|  3.29M|                continue;
 1158|  23.1M|            }
 1159|   813k|    non_ascii:
 1160|   813k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|   813k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 42, False: 813k]
  ------------------
 1162|     42|            {
 1163|     42|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     42|            }
 1165|   813k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 159, False: 813k]
  ------------------
 1166|    159|            {
 1167|    159|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    159|            }
 1169|   813k|            it += len;
 1170|   813k|        }
 1171|  12.3M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  12.3M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|   813k|    {
  306|   813k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|   813k|        const uint8_t* end = it+length;
  308|       |
  309|   813k|        uint8_t byte;
  310|   813k|        switch (length) {
  311|     28|        default:
  ------------------
  |  Branch (311:9): [True: 28, False: 813k]
  ------------------
  312|     28|            return unicode_errc::over_long_utf8_sequence;
  313|  5.23k|        case 4:
  ------------------
  |  Branch (313:9): [True: 5.23k, False: 807k]
  ------------------
  314|  5.23k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 10, False: 5.22k]
  ------------------
  315|     10|                return unicode_errc::bad_continuation_byte;
  316|  5.22k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  5.22k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  11.8k|        case 3:
  ------------------
  |  Branch (317:9): [True: 6.59k, False: 806k]
  ------------------
  318|  11.8k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 9, False: 11.8k]
  ------------------
  319|      9|                return unicode_errc::bad_continuation_byte;
  320|  11.8k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  11.8k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  17.8k|        case 2:
  ------------------
  |  Branch (321:9): [True: 6.04k, False: 807k]
  ------------------
  322|  17.8k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 35, False: 17.8k]
  ------------------
  323|     35|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  17.8k|            switch (*it) 
  326|  17.8k|            {
  327|       |                // no fall-through in this inner switch
  328|  1.45k|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 1.45k, False: 16.3k]
  |  Branch (328:32): [True: 6, False: 1.44k]
  ------------------
  329|  1.44k|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 1.12k, False: 16.7k]
  |  Branch (329:32): [True: 2, False: 1.11k]
  ------------------
  330|  1.11k|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 366, False: 17.4k]
  |  Branch (330:32): [True: 6, False: 360]
  ------------------
  331|    776|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 776, False: 17.0k]
  |  Branch (331:32): [True: 3, False: 773]
  ------------------
  332|  14.1k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 14.1k, False: 3.71k]
  |  Branch (332:32): [True: 0, False: 14.1k]
  ------------------
  333|  17.8k|            }
  334|       |
  335|  17.8k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  17.8k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|   813k|        case 1:
  ------------------
  |  Branch (336:9): [True: 795k, False: 17.9k]
  ------------------
  337|   813k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 17.8k, False: 795k]
  |  Branch (337:32): [True: 59, False: 17.8k]
  ------------------
  338|     59|                return unicode_errc::source_illegal;
  339|   813k|            break;
  340|   813k|        }
  341|   813k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 1, False: 813k]
  ------------------
  342|      1|            return unicode_errc::source_illegal;
  343|       |
  344|   813k|        return unicode_errc();
  345|   813k|    }

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

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

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

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

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

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

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

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

