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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2774|   112M|        {
 2775|   112M|             destroy();
 2776|   112M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  898|   112M|        {
  899|   112M|            switch (storage_kind())
  900|   112M|            {
  901|  10.0k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (901:17): [True: 10.0k, False: 112M]
  ------------------
  902|  10.0k|                {
  903|  10.0k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (903:25): [True: 10.0k, False: 0]
  ------------------
  904|  10.0k|                    {
  905|  10.0k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  906|  10.0k|                    }
  907|  10.0k|                    break;
  908|      0|                }
  909|  1.08M|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (909:17): [True: 1.08M, False: 111M]
  ------------------
  910|  1.08M|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (910:25): [True: 1.08M, False: 0]
  ------------------
  911|  1.08M|                    {
  912|  1.08M|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  913|  1.08M|                    }
  914|  1.08M|                    break;
  915|  3.85M|                case json_storage_kind::array:
  ------------------
  |  Branch (915:17): [True: 3.85M, False: 108M]
  ------------------
  916|  3.85M|                {
  917|  3.85M|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (917:25): [True: 3.85M, False: 0]
  ------------------
  918|  3.85M|                    {
  919|  3.85M|                        auto& stor = cast<array_storage>();
  920|  3.85M|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  921|  3.85M|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, nonstd::to_plain_pointer(stor.ptr_));
  922|  3.85M|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  923|  3.85M|                    }
  924|  3.85M|                    break;
  925|      0|                }
  926|  1.06M|                case json_storage_kind::object:
  ------------------
  |  Branch (926:17): [True: 1.06M, False: 111M]
  ------------------
  927|  1.06M|                {
  928|  1.06M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (928:25): [True: 1.06M, False: 0]
  ------------------
  929|  1.06M|                    {
  930|  1.06M|                        auto& stor = cast<object_storage>();
  931|  1.06M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  932|  1.06M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, nonstd::to_plain_pointer(stor.ptr_));
  933|  1.06M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  934|  1.06M|                    }
  935|  1.06M|                    break;
  936|      0|                }
  937|   106M|                default:
  ------------------
  |  Branch (937:17): [True: 106M, False: 6.01M]
  ------------------
  938|   106M|                    break;
  939|   112M|            }
  940|   112M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1462|   271M|        {
 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|   271M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1468|   271M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1004|   112k|        {
 1005|   112k|            return cast(identity<T>());
 1006|   112k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1095|   112k|        {
 1096|   112k|            return long_str_;
 1097|   112k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1004|  5.31M|        {
 1005|  5.31M|            return cast(identity<T>());
 1006|  5.31M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1105|  5.31M|        {
 1106|  5.31M|            return byte_str_;
 1107|  5.31M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1004|  35.4M|        {
 1005|  35.4M|            return cast(identity<T>());
 1006|  35.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1125|  35.4M|        {
 1126|  35.4M|            return array_;
 1127|  35.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2307|  74.7M|        {
 2308|  74.7M|            uninitialized_move(std::move(other));
 2309|  74.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1302|  74.7M|        {
 1303|  74.7M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1303:17): [True: 63.0M, False: 11.6M]
  ------------------
 1304|  63.0M|            {
 1305|  63.0M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1306|  63.0M|            }
 1307|  11.6M|            else
 1308|  11.6M|            {
 1309|  11.6M|                switch (other.storage_kind())
 1310|  11.6M|                {
 1311|  23.3k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1311:21): [True: 23.3k, False: 11.6M]
  ------------------
 1312|  23.3k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1313|  23.3k|                        other.construct<null_storage>();
 1314|  23.3k|                        break;
 1315|   977k|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1315:21): [True: 977k, False: 10.7M]
  ------------------
 1316|   977k|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1317|   977k|                        other.construct<null_storage>();
 1318|   977k|                        break;
 1319|  8.33M|                    case json_storage_kind::array:
  ------------------
  |  Branch (1319:21): [True: 8.33M, False: 3.34M]
  ------------------
 1320|  8.33M|                        construct<array_storage>(other.cast<array_storage>());
 1321|  8.33M|                        other.construct<null_storage>();
 1322|  8.33M|                        break;
 1323|  2.34M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1323:21): [True: 2.34M, False: 9.33M]
  ------------------
 1324|  2.34M|                        construct<object_storage>(other.cast<object_storage>());
 1325|  2.34M|                        other.construct<null_storage>();
 1326|  2.34M|                        break;
 1327|      0|                    default:
  ------------------
  |  Branch (1327:21): [True: 0, False: 11.6M]
  ------------------
 1328|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1329|      0|                        break;
 1330|  11.6M|                }
 1331|  11.6M|            }
 1332|  74.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  995|  41.1k|        {
  996|  41.1k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  41.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  626|  58.9k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  627|  58.9k|            {
  628|  58.9k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  995|  11.6M|        {
  996|  11.6M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  11.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1004|  15.8M|        {
 1005|  15.8M|            return cast(identity<T>());
 1006|  15.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1015|  15.8M|        {
 1016|  15.8M|            return null_;
 1017|  15.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  450|  12.3M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  451|  12.3M|            {
  452|  12.3M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  995|  1.03M|        {
  996|  1.03M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  675|  1.09M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  676|  1.09M|            {
  677|  1.09M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  995|  10.1M|        {
  996|  10.1M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  10.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  727|  11.9M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  728|  11.9M|            {
  729|  11.9M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  995|  2.72M|        {
  996|  2.72M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.72M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  777|  3.10M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  778|  3.10M|            {
  779|  3.10M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4759|   380k|        {
 4760|   380k|            switch (storage_kind())
 4761|   380k|            {
 4762|   380k|                case json_storage_kind::array:
  ------------------
  |  Branch (4762:17): [True: 380k, False: 0]
  ------------------
 4763|   380k|                    return array_range_type(cast<array_storage>().value().begin(),
 4764|   380k|                        cast<array_storage>().value().end());
 4765|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4765:17): [True: 0, False: 380k]
  ------------------
 4766|      0|                    return cast<json_ref_storage>().value().array_range();
 4767|      0|                default:
  ------------------
  |  Branch (4767:17): [True: 0, False: 380k]
  ------------------
 4768|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4769|   380k|            }
 4770|   380k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  3.62M|            {
  751|  3.62M|                return *ptr_;
  752|  3.62M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|   380k|            : first_(first), last_(last)
  349|   380k|        {
  350|   380k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|   380k|        {
  354|   380k|            return first_;
  355|   380k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|   380k|        {
  358|   380k|            return last_;
  359|   380k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3425|  58.6k|        {
 3426|  58.6k|            switch (storage_kind())
 3427|  58.6k|            {
 3428|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 58.6k]
  ------------------
 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: 58.6k]
  ------------------
 3432|      0|                    return cast<short_string_storage>().length() == 0;
 3433|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3433:17): [True: 0, False: 58.6k]
  ------------------
 3434|      0|                    return cast<long_string_storage>().length() == 0;
 3435|  33.1k|                case json_storage_kind::array:
  ------------------
  |  Branch (3435:17): [True: 33.1k, False: 25.5k]
  ------------------
 3436|  33.1k|                    return cast<array_storage>().value().empty();
 3437|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3437:17): [True: 0, False: 58.6k]
  ------------------
 3438|      0|                    return true;
 3439|  25.5k|                case json_storage_kind::object:
  ------------------
  |  Branch (3439:17): [True: 25.5k, False: 33.1k]
  ------------------
 3440|  25.5k|                    return cast<object_storage>().value().empty();
 3441|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3441:17): [True: 0, False: 58.6k]
  ------------------
 3442|      0|                    return cast<const_json_ref_storage>().value().empty();
 3443|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3443:17): [True: 0, False: 58.6k]
  ------------------
 3444|      0|                    return cast<json_ref_storage>().value().empty();
 3445|      0|                default:
  ------------------
  |  Branch (3445:17): [True: 0, False: 58.6k]
  ------------------
 3446|      0|                    return false;
 3447|  58.6k|            }
 3448|  58.6k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1010|  33.1k|        {
 1011|  33.1k|            return cast(identity<T>());
 1012|  33.1k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  33.1k|        {
 1131|  33.1k|            return array_;
 1132|  33.1k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  33.1k|            {
  756|  33.1k|                return *ptr_;
  757|  33.1k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1010|  25.5k|        {
 1011|  25.5k|            return cast(identity<T>());
 1012|  25.5k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|  25.5k|        {
 1121|  25.5k|            return object_;
 1122|  25.5k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  801|  25.5k|            {
  802|  25.5k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   54|  25.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 25.5k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  803|  25.5k|                return *ptr_;
  804|  25.5k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4156|   419k|        {
 4157|   419k|            switch (storage_kind())
 4158|   419k|            {
 4159|   380k|                case json_storage_kind::array:
  ------------------
  |  Branch (4159:17): [True: 380k, False: 38.6k]
  ------------------
 4160|   380k|                    cast<array_storage>().value().clear();
 4161|   380k|                    break;
 4162|  38.6k|                case json_storage_kind::object:
  ------------------
  |  Branch (4162:17): [True: 38.6k, False: 380k]
  ------------------
 4163|  38.6k|                    cast<object_storage>().value().clear();
 4164|  38.6k|                    break;
 4165|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4165:17): [True: 0, False: 419k]
  ------------------
 4166|      0|                    cast<json_ref_storage>().value().clear();
 4167|      0|                    break;
 4168|      0|                default:
  ------------------
  |  Branch (4168:17): [True: 0, False: 419k]
  ------------------
 4169|      0|                    break;
 4170|   419k|            }
 4171|   419k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  795|   150k|            {
  796|   150k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   54|   150k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 150k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  797|   150k|                return *ptr_;
  798|   150k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4725|  38.6k|        {
 4726|  38.6k|            switch (storage_kind())
 4727|  38.6k|            {
 4728|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4728:17): [True: 0, False: 38.6k]
  ------------------
 4729|      0|                    return object_range_type(object_iterator(), object_iterator());
 4730|  38.6k|                case json_storage_kind::object:
  ------------------
  |  Branch (4730:17): [True: 38.6k, False: 0]
  ------------------
 4731|  38.6k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4732|  38.6k|                                                  object_iterator(cast<object_storage>().value().end()));
 4733|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4733:17): [True: 0, False: 38.6k]
  ------------------
 4734|      0|                    return cast<json_ref_storage>().value().object_range();
 4735|      0|                default:
  ------------------
  |  Branch (4735:17): [True: 0, False: 38.6k]
  ------------------
 4736|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4737|  38.6k|            }
 4738|  38.6k|        }
_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|  38.6k|            : first_(first), last_(last)
  349|  38.6k|        {
  350|  38.6k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|  77.2k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|  77.2k|            {
  120|  77.2k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  353|  38.6k|        {
  354|  38.6k|            return first_;
  355|  38.6k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  357|  38.6k|        {
  358|  38.6k|            return last_;
  359|  38.6k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|  97.6k|            {
  219|  97.6k|                return !(*this == rhs);
  220|  97.6k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|  97.6k|            {
  210|  97.6k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   78|   195k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 97.6k, False: 0]
  |  |  |  Branch (78:48): [True: 97.6k, False: 0]
  |  |  |  Branch (78:48): [True: 97.6k, False: 0]
  |  |  ------------------
  ------------------
  211|  97.6k|                {
  212|  97.6k|                    return current_ == rhs.current_;
  213|  97.6k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|  97.6k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  59.0k|            {
  141|  59.0k|                return *current_;
  142|  59.0k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  59.0k|            {
  151|  59.0k|                ++current_;
  152|  59.0k|                return *this;
  153|  59.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1004|  8.79M|        {
 1005|  8.79M|            return cast(identity<T>());
 1006|  8.79M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1115|  8.79M|        {
 1116|  8.79M|            return object_;
 1117|  8.79M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2275|  6.97k|        {
 2276|  6.97k|            construct<empty_object_storage>(semantic_tag::none);
 2277|  6.97k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  995|  6.97k|        {
  996|  6.97k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  6.97k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1004|  11.4k|        {
 1005|  11.4k|            return cast(identity<T>());
 1006|  11.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1025|  11.4k|        {
 1026|  11.4k|            return empty_object_;
 1027|  11.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  462|  6.97k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|  6.97k|            {
  464|  6.97k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3484|  24.6k|        {
 3485|  24.6k|            if (n > 0)
  ------------------
  |  Branch (3485:17): [True: 24.6k, False: 0]
  ------------------
 3486|  24.6k|            {
 3487|  24.6k|                switch (storage_kind())
 3488|  24.6k|                {
 3489|  24.6k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3489:21): [True: 24.6k, False: 0]
  ------------------
 3490|  24.6k|                        cast<array_storage>().value().reserve(n);
 3491|  24.6k|                        break;
 3492|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3492:21): [True: 0, False: 24.6k]
  ------------------
 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: 24.6k]
  ------------------
 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: 24.6k]
  ------------------
 3500|      0|                        cast<json_ref_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    default:
  ------------------
  |  Branch (3502:21): [True: 0, False: 24.6k]
  ------------------
 3503|      0|                        break;
 3504|  24.6k|                }
 3505|  24.6k|            }
 3506|  24.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2320|  1.06M|        {
 2321|  1.06M|            auto ptr = create_object(alloc);
 2322|  1.06M|            construct<object_storage>(ptr, tag);
 2323|  1.06M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  976|  1.06M|        {
  977|  1.06M|            using stor_allocator_type = typename object_storage::allocator_type;
  978|  1.06M|            stor_allocator_type stor_alloc(alloc);
  979|  1.06M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  980|  1.06M|            JSONCONS_TRY
  ------------------
  |  |   37|  1.06M|    #define JSONCONS_TRY try
  ------------------
  981|  1.06M|            {
  982|  1.06M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, nonstd::to_plain_pointer(ptr), 
  983|  1.06M|                    std::forward<Args>(args)...);
  984|  1.06M|            }
  985|  1.06M|            JSONCONS_CATCH(...)
  986|  1.06M|            {
  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|  1.06M|            return ptr;
  991|  1.06M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  1.06M|        {
  996|  1.06M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.06M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  772|  1.06M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  773|  1.06M|            {
  774|  1.06M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4701|  2.46M|        {
 4702|  2.46M|            switch (storage_kind())
 4703|  2.46M|            {
 4704|  2.46M|                case json_storage_kind::array:
  ------------------
  |  Branch (4704:17): [True: 2.46M, False: 0]
  ------------------
 4705|  2.46M|                    cast<array_storage>().value().push_back(std::move(val));
 4706|  2.46M|                    break;
 4707|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4707:17): [True: 0, False: 2.46M]
  ------------------
 4708|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4709|      0|                    break;
 4710|      0|                default:
  ------------------
  |  Branch (4710:17): [True: 0, False: 2.46M]
  ------------------
 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|  2.46M|            }
 4713|  2.46M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1453|  27.8M|        {
 1454|  27.8M|            if (this != &other)
  ------------------
  |  Branch (1454:17): [True: 27.8M, False: 0]
  ------------------
 1455|  27.8M|            {
 1456|  27.8M|                move_assignment(std::move(other));
 1457|  27.8M|            }
 1458|  27.8M|            return *this;
 1459|  27.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1415|  27.8M|        {
 1416|  27.8M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1416:17): [True: 27.8M, False: 0]
  |  Branch (1416:55): [True: 25.5M, False: 2.25M]
  ------------------
 1417|  25.5M|            {
 1418|  25.5M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1419|  25.5M|            }
 1420|  2.25M|            else
 1421|  2.25M|            {
 1422|  2.25M|                swap(other);
 1423|  2.25M|            }
 1424|  27.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1934|  2.25M|        {
 1935|  2.25M|            if (this == &other)
  ------------------
  |  Branch (1935:17): [True: 0, False: 2.25M]
  ------------------
 1936|      0|            {
 1937|      0|                return;
 1938|      0|            }
 1939|  2.25M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1939:17): [True: 2.25M, False: 0]
  |  Branch (1939:55): [True: 0, False: 2.25M]
  ------------------
 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|  2.25M|            else
 1947|  2.25M|            {
 1948|  2.25M|                switch (storage_kind())
 1949|  2.25M|                {
 1950|  1.74M|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 1.74M, False: 512k]
  ------------------
 1951|  2.23k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 2.23k, False: 2.25M]
  ------------------
 1952|  44.5k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 44.5k, False: 2.21M]
  ------------------
 1953|  49.0k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 49.0k, False: 2.20M]
  ------------------
 1954|   408k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 408k, False: 1.84M]
  ------------------
 1955|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 0, False: 2.25M]
  ------------------
 1956|  2.39k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 2.39k, False: 2.25M]
  ------------------
 1957|  5.83k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 5.83k, False: 2.24M]
  ------------------
 1958|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 2.25M]
  ------------------
 1959|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 0, False: 2.25M]
  ------------------
 1960|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 0, False: 2.25M]
  ------------------
 1961|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 2.25M]
  ------------------
 1962|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 2.25M]
  ------------------
 1963|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 2.25M]
  ------------------
 1964|      0|                    default:
  ------------------
  |  Branch (1964:21): [True: 0, False: 2.25M]
  ------------------
 1965|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1966|      0|                        break;
 1967|  2.25M|                }
 1968|  2.25M|            }
 1969|  2.25M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1170|  1.74M|        {
 1171|  1.74M|            switch (other.storage_kind())
 1172|  1.74M|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.74M]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 1.74M]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 1.74M]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 1.74M]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 1.74M]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.74M]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.74M]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.74M]
  ------------------
 1181|  5.20k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 5.20k, False: 1.73M]
  ------------------
 1182|  30.8k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 30.8k, False: 1.71M]
  ------------------
 1183|  1.43M|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.43M, False: 307k]
  ------------------
 1184|   271k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 271k, False: 1.47M]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 1.74M]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 1.74M]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 1.74M]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  1.74M|            }
 1191|  1.74M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  995|  1.74M|        {
  996|  1.74M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.74M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  995|  2.23k|        {
  996|  2.23k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.23k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1004|  4.40M|        {
 1005|  4.40M|            return cast(identity<T>());
 1006|  4.40M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1035|  4.40M|        {
 1036|  4.40M|            return boolean_;
 1037|  4.40M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  995|  44.5k|        {
  996|  44.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  44.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1004|  4.49M|        {
 1005|  4.49M|            return cast(identity<T>());
 1006|  4.49M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1045|  4.49M|        {
 1046|  4.49M|            return int64_;
 1047|  4.49M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  995|  49.0k|        {
  996|  49.0k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  49.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1004|  19.9M|        {
 1005|  19.9M|            return cast(identity<T>());
 1006|  19.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1055|  19.9M|        {
 1056|  19.9M|            return uint64_;
 1057|  19.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  995|   408k|        {
  996|   408k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   408k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1004|  20.4k|        {
 1005|  20.4k|            return cast(identity<T>());
 1006|  20.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1075|  20.4k|        {
 1076|  20.4k|            return float64_;
 1077|  20.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  995|  2.39k|        {
  996|  2.39k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.39k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1004|  3.56M|        {
 1005|  3.56M|            return cast(identity<T>());
 1006|  3.56M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1085|  3.56M|        {
 1086|  3.56M|            return short_str_;
 1087|  3.56M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  585|  5.83k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  586|  5.83k|            {
  587|  5.83k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  588|  5.83k|                data_[short_str_length_] = 0;
  589|  5.83k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  995|  5.83k|        {
  996|  5.83k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  5.83k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1156|  5.20k|        {
 1157|  5.20k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  5.20k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  5.20k|        {
 1163|  5.20k|            TypeR temp{other.cast<TypeR>()};
 1164|  5.20k|            other.construct<TypeL>(cast<TypeL>());
 1165|  5.20k|            construct<TypeR>(temp);
 1166|  5.20k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  30.8k|        {
 1157|  30.8k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  30.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  30.8k|        {
 1163|  30.8k|            TypeR temp{other.cast<TypeR>()};
 1164|  30.8k|            other.construct<TypeL>(cast<TypeL>());
 1165|  30.8k|            construct<TypeR>(temp);
 1166|  30.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1156|  1.43M|        {
 1157|  1.43M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.43M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.43M|        {
 1163|  1.43M|            TypeR temp{other.cast<TypeR>()};
 1164|  1.43M|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.43M|            construct<TypeR>(temp);
 1166|  1.43M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1156|   271k|        {
 1157|   271k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   271k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   271k|        {
 1163|   271k|            TypeR temp{other.cast<TypeR>()};
 1164|   271k|            other.construct<TypeL>(cast<TypeL>());
 1165|   271k|            construct<TypeR>(temp);
 1166|   271k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1170|  2.23k|        {
 1171|  2.23k|            switch (other.storage_kind())
 1172|  2.23k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.23k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.23k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.23k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.23k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.23k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.23k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.23k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.23k]
  ------------------
 1181|    729|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 729, False: 1.50k]
  ------------------
 1182|      2|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 2, False: 2.23k]
  ------------------
 1183|    233|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 233, False: 2.00k]
  ------------------
 1184|  1.27k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 1.27k, False: 964]
  ------------------
 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.23k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.23k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.23k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.23k|            }
 1191|  2.23k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1156|    729|        {
 1157|    729|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    729|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    729|        {
 1163|    729|            TypeR temp{other.cast<TypeR>()};
 1164|    729|            other.construct<TypeL>(cast<TypeL>());
 1165|    729|            construct<TypeR>(temp);
 1166|    729|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvRS5_:
 1156|      2|        {
 1157|      2|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|      2|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|      2|        {
 1163|      2|            TypeR temp{other.cast<TypeR>()};
 1164|      2|            other.construct<TypeL>(cast<TypeL>());
 1165|      2|            construct<TypeR>(temp);
 1166|      2|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1156|    233|        {
 1157|    233|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    233|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    233|        {
 1163|    233|            TypeR temp{other.cast<TypeR>()};
 1164|    233|            other.construct<TypeL>(cast<TypeL>());
 1165|    233|            construct<TypeR>(temp);
 1166|    233|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1156|  1.27k|        {
 1157|  1.27k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.27k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.27k|        {
 1163|  1.27k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.27k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.27k|            construct<TypeR>(temp);
 1166|  1.27k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1170|  44.5k|        {
 1171|  44.5k|            switch (other.storage_kind())
 1172|  44.5k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 44.5k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 44.5k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 44.5k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 44.5k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 44.5k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 44.5k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 44.5k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 44.5k]
  ------------------
 1181|    335|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 335, False: 44.2k]
  ------------------
 1182|    935|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 935, False: 43.6k]
  ------------------
 1183|  36.3k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 36.3k, False: 8.27k]
  ------------------
 1184|  7.00k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 7.00k, False: 37.5k]
  ------------------
 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: 44.5k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 44.5k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 44.5k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  44.5k|            }
 1191|  44.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1156|    335|        {
 1157|    335|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    335|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    335|        {
 1163|    335|            TypeR temp{other.cast<TypeR>()};
 1164|    335|            other.construct<TypeL>(cast<TypeL>());
 1165|    335|            construct<TypeR>(temp);
 1166|    335|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    935|        {
 1157|    935|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    935|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    935|        {
 1163|    935|            TypeR temp{other.cast<TypeR>()};
 1164|    935|            other.construct<TypeL>(cast<TypeL>());
 1165|    935|            construct<TypeR>(temp);
 1166|    935|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1156|  36.3k|        {
 1157|  36.3k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  36.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  36.3k|        {
 1163|  36.3k|            TypeR temp{other.cast<TypeR>()};
 1164|  36.3k|            other.construct<TypeL>(cast<TypeL>());
 1165|  36.3k|            construct<TypeR>(temp);
 1166|  36.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1156|  7.00k|        {
 1157|  7.00k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  7.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  7.00k|        {
 1163|  7.00k|            TypeR temp{other.cast<TypeR>()};
 1164|  7.00k|            other.construct<TypeL>(cast<TypeL>());
 1165|  7.00k|            construct<TypeR>(temp);
 1166|  7.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1170|  49.0k|        {
 1171|  49.0k|            switch (other.storage_kind())
 1172|  49.0k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 49.0k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 49.0k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 49.0k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 49.0k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 49.0k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 49.0k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 49.0k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 49.0k]
  ------------------
 1181|  2.58k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 2.58k, False: 46.4k]
  ------------------
 1182|  4.18k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 4.18k, False: 44.8k]
  ------------------
 1183|  27.8k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 27.8k, False: 21.1k]
  ------------------
 1184|  14.3k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 14.3k, False: 34.6k]
  ------------------
 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: 49.0k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 49.0k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 49.0k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  49.0k|            }
 1191|  49.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  2.58k|        {
 1157|  2.58k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.58k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.58k|        {
 1163|  2.58k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.58k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.58k|            construct<TypeR>(temp);
 1166|  2.58k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  4.18k|        {
 1157|  4.18k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  4.18k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  4.18k|        {
 1163|  4.18k|            TypeR temp{other.cast<TypeR>()};
 1164|  4.18k|            other.construct<TypeL>(cast<TypeL>());
 1165|  4.18k|            construct<TypeR>(temp);
 1166|  4.18k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1156|  27.8k|        {
 1157|  27.8k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  27.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  27.8k|        {
 1163|  27.8k|            TypeR temp{other.cast<TypeR>()};
 1164|  27.8k|            other.construct<TypeL>(cast<TypeL>());
 1165|  27.8k|            construct<TypeR>(temp);
 1166|  27.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1156|  14.3k|        {
 1157|  14.3k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  14.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  14.3k|        {
 1163|  14.3k|            TypeR temp{other.cast<TypeR>()};
 1164|  14.3k|            other.construct<TypeL>(cast<TypeL>());
 1165|  14.3k|            construct<TypeR>(temp);
 1166|  14.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1170|   408k|        {
 1171|   408k|            switch (other.storage_kind())
 1172|   408k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 408k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 408k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 408k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 408k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 408k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 408k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 408k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 408k]
  ------------------
 1181|  8.26k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 8.26k, False: 400k]
  ------------------
 1182|  19.0k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 19.0k, False: 389k]
  ------------------
 1183|   299k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 299k, False: 109k]
  ------------------
 1184|  81.8k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 81.8k, False: 326k]
  ------------------
 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: 408k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 408k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 408k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|   408k|            }
 1191|   408k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  8.26k|        {
 1157|  8.26k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  8.26k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  8.26k|        {
 1163|  8.26k|            TypeR temp{other.cast<TypeR>()};
 1164|  8.26k|            other.construct<TypeL>(cast<TypeL>());
 1165|  8.26k|            construct<TypeR>(temp);
 1166|  8.26k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  19.0k|        {
 1157|  19.0k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  19.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  19.0k|        {
 1163|  19.0k|            TypeR temp{other.cast<TypeR>()};
 1164|  19.0k|            other.construct<TypeL>(cast<TypeL>());
 1165|  19.0k|            construct<TypeR>(temp);
 1166|  19.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1156|   299k|        {
 1157|   299k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   299k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   299k|        {
 1163|   299k|            TypeR temp{other.cast<TypeR>()};
 1164|   299k|            other.construct<TypeL>(cast<TypeL>());
 1165|   299k|            construct<TypeR>(temp);
 1166|   299k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1156|  81.8k|        {
 1157|  81.8k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  81.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  81.8k|        {
 1163|  81.8k|            TypeR temp{other.cast<TypeR>()};
 1164|  81.8k|            other.construct<TypeL>(cast<TypeL>());
 1165|  81.8k|            construct<TypeR>(temp);
 1166|  81.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1170|  2.39k|        {
 1171|  2.39k|            switch (other.storage_kind())
 1172|  2.39k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.39k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.39k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.39k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.39k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.39k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.39k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.39k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.39k]
  ------------------
 1181|    236|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 236, False: 2.16k]
  ------------------
 1182|  1.25k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 1.25k, False: 1.14k]
  ------------------
 1183|    538|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 538, False: 1.85k]
  ------------------
 1184|    373|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 373, False: 2.02k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 2.39k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.39k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.39k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.39k|            }
 1191|  2.39k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1156|    236|        {
 1157|    236|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    236|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_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_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  1.25k|        {
 1157|  1.25k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.25k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.25k|        {
 1163|  1.25k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.25k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.25k|            construct<TypeR>(temp);
 1166|  1.25k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1156|    538|        {
 1157|    538|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    538|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    538|        {
 1163|    538|            TypeR temp{other.cast<TypeR>()};
 1164|    538|            other.construct<TypeL>(cast<TypeL>());
 1165|    538|            construct<TypeR>(temp);
 1166|    538|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1156|    373|        {
 1157|    373|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    373|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    373|        {
 1163|    373|            TypeR temp{other.cast<TypeR>()};
 1164|    373|            other.construct<TypeL>(cast<TypeL>());
 1165|    373|            construct<TypeR>(temp);
 1166|    373|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1170|  5.83k|        {
 1171|  5.83k|            switch (other.storage_kind())
 1172|  5.83k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 5.83k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 5.83k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 5.83k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 5.83k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 5.83k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 5.83k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 5.83k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 5.83k]
  ------------------
 1181|    447|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 447, False: 5.38k]
  ------------------
 1182|  1.43k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 1.43k, False: 4.39k]
  ------------------
 1183|  1.70k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.70k, False: 4.13k]
  ------------------
 1184|  2.25k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 2.25k, False: 3.57k]
  ------------------
 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.83k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 5.83k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 5.83k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  5.83k|            }
 1191|  5.83k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1156|    447|        {
 1157|    447|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    447|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    447|        {
 1163|    447|            TypeR temp{other.cast<TypeR>()};
 1164|    447|            other.construct<TypeL>(cast<TypeL>());
 1165|    447|            construct<TypeR>(temp);
 1166|    447|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  1.43k|        {
 1157|  1.43k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.43k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.43k|        {
 1163|  1.43k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.43k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.43k|            construct<TypeR>(temp);
 1166|  1.43k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1156|  1.70k|        {
 1157|  1.70k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.70k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.70k|        {
 1163|  1.70k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.70k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.70k|            construct<TypeR>(temp);
 1166|  1.70k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_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_20short_string_storageENS5_14object_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__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr6nonstd19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2614|  19.1M|        {
 2615|  19.1M|            construct<uint64_storage>(val, tag);
 2616|  19.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  995|  19.1M|        {
  996|  19.1M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  19.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  19.1M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  19.1M|                  val_(val)
  518|  19.1M|            {
  519|  19.1M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr6nonstd17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2645|  4.39M|        {
 2646|  4.39M|            construct<int64_storage>(val, tag);
 2647|  4.39M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  995|  4.39M|        {
  996|  4.39M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.39M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  496|  4.39M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  497|  4.39M|                  val_(val)
  498|  4.39M|            {
  499|  4.39M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2602|  15.6k|        {
 2603|  15.6k|            construct<double_storage>(val, tag);
 2604|  15.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  995|  15.6k|        {
  996|  15.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  15.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  555|  15.6k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  556|  15.6k|                  val_(val)
  557|  15.6k|            {
  558|  15.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2401|  3.85M|        {
 2402|  3.85M|            auto ptr = create_array(Allocator());
 2403|  3.85M|            construct<array_storage>(ptr, tag);
 2404|  3.85M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  957|  3.85M|        {
  958|  3.85M|            using stor_allocator_type = typename array_storage::allocator_type;
  959|  3.85M|            stor_allocator_type stor_alloc(alloc);
  960|  3.85M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  961|  3.85M|            JSONCONS_TRY
  ------------------
  |  |   37|  3.85M|    #define JSONCONS_TRY try
  ------------------
  962|  3.85M|            {
  963|  3.85M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, nonstd::to_plain_pointer(ptr), 
  964|  3.85M|                    std::forward<Args>(args)...);
  965|  3.85M|            }
  966|  3.85M|            JSONCONS_CATCH(...)
  967|  3.85M|            {
  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|  3.85M|            return ptr;
  972|  3.85M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  3.85M|        {
  996|  3.85M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  3.85M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  722|  3.85M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  723|  3.85M|            {
  724|  3.85M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2691|   644k|        {
 2692|   644k|            construct<null_storage>(tag);
 2693|   644k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  995|   644k|        {
  996|   644k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   644k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2701|  4.31M|        {
 2702|  4.31M|            construct<bool_storage>(val,tag);
 2703|  4.31M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  995|  4.31M|        {
  996|  4.31M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.31M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|  4.31M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|  4.31M|                  val_(val)
  477|  4.31M|            {
  478|  4.31M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2549|  3.55M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2550|  3.55M|        {
 2551|  3.55M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2579|  3.56M|        {
 2580|  3.56M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2580:17): [True: 3.55M, False: 10.0k]
  ------------------
 2581|  3.55M|            {
 2582|  3.55M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2583|  3.55M|            }
 2584|  10.0k|            else
 2585|  10.0k|            {
 2586|  10.0k|                auto ptr = create_long_string(alloc, s, length);
 2587|  10.0k|                construct<long_string_storage>(ptr, tag);
 2588|  10.0k|            }
 2589|  3.56M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  995|  3.55M|        {
  996|  3.55M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  3.55M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  3.55M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  3.55M|            {
  579|  3.55M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   54|  3.55M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 3.55M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  580|  3.55M|                std::memcpy(data_,p,length*sizeof(char_type));
  581|  3.55M|                data_[length] = 0;
  582|  3.55M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  943|  10.0k|        {
  944|  10.0k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  945|  10.0k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  946|  10.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|  10.0k|        {
  996|  10.0k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  10.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  621|  10.0k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  622|  10.0k|            {
  623|  10.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2711|    806|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2712|    806|        {
 2713|    806|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr6nonstd18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2719|   143k|        {
 2720|   143k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2721|       |            
 2722|   143k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2723|   143k|            construct<byte_string_storage>(ptr, tag);
 2724|   143k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  950|  1.08M|        {
  951|  1.08M|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  952|  1.08M|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  953|  1.08M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|   143k|        {
  996|   143k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   143k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  670|  1.08M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  671|  1.08M|            {
  672|  1.08M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr6nonstd18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2731|      1|        {
 2732|      1|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2733|       |
 2734|      1|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0);
 2735|      1|            construct<byte_string_storage>(ptr, tag);
 2736|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr6nonstd18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2742|   938k|        {
 2743|   938k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2744|       |
 2745|   938k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2746|   938k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2747|   938k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  995|   938k|        {
  996|   938k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   938k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mRKS4_NS2_9enable_ifIXsr6nonstd18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2754|      1|        {
 2755|      1|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2756|       |
 2757|      1|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), raw_tag);
 2758|      1|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2759|      1|        }

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

_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  855|  6.97k|            : destination_(std::addressof(visitor)), 
  856|  6.97k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  857|  6.97k|        {
  858|  6.97k|            level_stack_.emplace_back(json_target_kind::destination,json_structure_kind::root); // root
  859|  6.97k|        }
_ZN8jsoncons21basic_generic_visitorIcEC2Ev:
   52|  6.97k|    basic_generic_visitor() = default;
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  294|  6.70M|    {
  295|  6.70M|        visit_begin_array(length, tag, context, ec);
  296|  6.70M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  6.70M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  297|  6.70M|    }
_ZN8jsoncons21basic_generic_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  363|  39.1M|    {
  364|  39.1M|        visit_uint64(value, tag, context, ec);
  365|  39.1M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  39.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  39.1M|    }
_ZN8jsoncons21basic_generic_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  300|  6.67M|    {
  301|  6.67M|        visit_end_array(context, ec);
  302|  6.67M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  6.67M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  6.67M|    }
_ZN8jsoncons21basic_generic_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  372|  7.24M|    {
  373|  7.24M|        visit_int64(value, tag, context, ec);
  374|  7.24M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  7.24M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  375|  7.24M|    }
_ZN8jsoncons21basic_generic_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  390|  81.2k|    {
  391|  81.2k|        visit_double(value, tag, context, ec);
  392|  81.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  81.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  393|  81.2k|    }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structureC2ENS4_16json_target_kindENS4_19json_structure_kindE:
  798|  8.26M|                : target_kind_(state), structure_kind_(type), even_odd_(type == json_structure_kind::object ? 0 : 1)
  ------------------
  |  Branch (798:73): [True: 1.55M, False: 6.70M]
  ------------------
  799|  8.26M|            {
  800|  8.26M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1008|  6.70M|        {
 1009|  6.70M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1009:17): [True: 770k, False: 5.93M]
  ------------------
 1010|   770k|            {
 1011|   770k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1011:21): [True: 418k, False: 352k]
  |  Branch (1011:86): [True: 415k, False: 3.07k]
  ------------------
 1012|   415k|                {
 1013|   415k|                    key_buffer_.push_back(',');
 1014|   415k|                }
 1015|   770k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1016|   770k|                key_buffer_.push_back('[');
 1017|   770k|            }
 1018|  5.93M|            else
 1019|  5.93M|            {
 1020|  5.93M|                switch (level_stack_.back().target_kind())
 1021|  5.93M|                {
 1022|  2.07M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1022:21): [True: 2.07M, False: 3.85M]
  ------------------
 1023|  2.07M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1023:29): [True: 1.65M, False: 418k]
  |  Branch (1023:65): [True: 1.62M, False: 24.9k]
  ------------------
 1024|  1.62M|                        {
 1025|  1.62M|                            key_buffer_.push_back(',');
 1026|  1.62M|                        }
 1027|  2.07M|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1028|  2.07M|                        key_buffer_.push_back('[');
 1029|  2.07M|                        break;
 1030|  3.85M|                    default:
  ------------------
  |  Branch (1030:21): [True: 3.85M, False: 2.07M]
  ------------------
 1031|  3.85M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1032|  3.85M|                        destination_->begin_array(length, tag, context, ec);
 1033|  3.85M|                        break;
 1034|  5.93M|                }
 1035|  5.93M|            }
 1036|  6.70M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  6.70M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1037|  6.70M|        }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure6is_keyEv:
  815|   251M|            {
  816|   251M|                return even_odd_ == 0;
  817|   251M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure11target_kindEv:
  825|   162M|            {
  826|   162M|                return target_kind_;
  827|   162M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure5countEv:
  830|  37.5M|            {
  831|  37.5M|                return count_;
  832|  37.5M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure9is_objectEv:
  820|   124M|            {
  821|   124M|                return structure_kind_ == json_structure_kind::object;
  822|   124M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1040|  6.67M|        {
 1041|  6.67M|            switch (level_stack_.back().target_kind())
 1042|  6.67M|            {
 1043|  2.83M|                case json_target_kind::buffer:
  ------------------
  |  Branch (1043:17): [True: 2.83M, False: 3.83M]
  ------------------
 1044|  2.83M|                    key_buffer_.push_back(']');
 1045|  2.83M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   54|  2.83M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 2.83M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1046|  2.83M|                    level_stack_.pop_back();
 1047|  2.83M|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (1047:25): [True: 351k, False: 2.48M]
  ------------------
 1048|   351k|                    {
 1049|   351k|                        destination_->key(key_buffer_, context, ec);
 1050|   351k|                        key_buffer_.clear();
 1051|   351k|                    }
 1052|  2.48M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1052:30): [True: 417k, False: 2.06M]
  ------------------
 1053|   417k|                    {
 1054|   417k|                        key_buffer_.push_back(':');
 1055|   417k|                    }
 1056|  2.83M|                    level_stack_.back().advance();
 1057|  2.83M|                    break;
 1058|  3.83M|                default:
  ------------------
  |  Branch (1058:17): [True: 3.83M, False: 2.83M]
  ------------------
 1059|  3.83M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   54|  3.83M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 3.83M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1060|  3.83M|                    level_stack_.pop_back();
 1061|  3.83M|                    level_stack_.back().advance();
 1062|  3.83M|                    destination_->end_array(context, ec);
 1063|  3.83M|                    break;
 1064|  6.67M|            }
 1065|  6.67M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  6.67M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1066|  6.67M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure7advanceEv:
  803|  86.8M|            {
  804|  86.8M|                if (!is_key())
  ------------------
  |  Branch (804:21): [True: 75.5M, False: 11.2M]
  ------------------
  805|  75.5M|                {
  806|  75.5M|                    ++count_;
  807|  75.5M|                }
  808|  86.8M|                if (is_object())
  ------------------
  |  Branch (808:21): [True: 22.5M, False: 64.3M]
  ------------------
  809|  22.5M|                {
  810|  22.5M|                    even_odd_ = !even_odd_;
  811|  22.5M|                }
  812|  86.8M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1233|  39.1M|        {
 1234|  39.1M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1234:17): [True: 8.40M, False: 30.7M]
  |  Branch (1234:49): [True: 11.6M, False: 19.1M]
  ------------------
 1235|  20.0M|            {
 1236|  20.0M|                key_.clear();
 1237|  20.0M|                jsoncons::from_integer(value,key_);
 1238|  20.0M|            }
 1239|       |
 1240|  39.1M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1240:17): [True: 8.40M, False: 30.7M]
  ------------------
 1241|  8.40M|            {
 1242|  8.40M|                switch (level_stack_.back().target_kind())
 1243|  8.40M|                {
 1244|  3.86M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1244:21): [True: 3.86M, False: 4.54M]
  ------------------
 1245|  3.86M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1245:29): [True: 3.84M, False: 18.3k]
  ------------------
 1246|  3.84M|                        {
 1247|  3.84M|                            key_buffer_.push_back(',');
 1248|  3.84M|                        }
 1249|  3.86M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1250|  3.86M|                        key_buffer_.push_back(':');
 1251|  3.86M|                        break;
 1252|  4.54M|                    default:
  ------------------
  |  Branch (1252:21): [True: 4.54M, False: 3.86M]
  ------------------
 1253|  4.54M|                        destination_->key(key_, context, ec);
 1254|  4.54M|                        break;
 1255|  8.40M|                }
 1256|  8.40M|            }
 1257|  30.7M|            else
 1258|  30.7M|            {
 1259|  30.7M|                switch (level_stack_.back().target_kind())
 1260|  30.7M|                {
 1261|  11.6M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1261:21): [True: 11.6M, False: 19.1M]
  ------------------
 1262|  11.6M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1262:29): [True: 7.77M, False: 3.85M]
  |  Branch (1262:65): [True: 7.76M, False: 14.8k]
  ------------------
 1263|  7.76M|                        {
 1264|  7.76M|                            key_buffer_.push_back(',');
 1265|  7.76M|                        }
 1266|  11.6M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1267|  11.6M|                        break;
 1268|  19.1M|                    default:
  ------------------
  |  Branch (1268:21): [True: 19.1M, False: 11.6M]
  ------------------
 1269|  19.1M|                        destination_->uint64_value(value, tag, context, ec);
 1270|  19.1M|                        break;
 1271|  30.7M|                }
 1272|  30.7M|            }
 1273|       |
 1274|  39.1M|            level_stack_.back().advance();
 1275|  39.1M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  39.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1276|  39.1M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1279|  7.24M|        {
 1280|  7.24M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1280:17): [True: 485k, False: 6.75M]
  |  Branch (1280:49): [True: 2.36M, False: 4.39M]
  ------------------
 1281|  2.84M|            {
 1282|  2.84M|                key_.clear();
 1283|  2.84M|                jsoncons::from_integer(value,key_);
 1284|  2.84M|            }
 1285|       |
 1286|  7.24M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1286:17): [True: 485k, False: 6.75M]
  ------------------
 1287|   485k|            {
 1288|   485k|                switch (level_stack_.back().target_kind())
 1289|   485k|                {
 1290|   249k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1290:21): [True: 249k, False: 235k]
  ------------------
 1291|   249k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1291:29): [True: 240k, False: 9.33k]
  ------------------
 1292|   240k|                        {
 1293|   240k|                            key_buffer_.push_back(',');
 1294|   240k|                        }
 1295|   249k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1296|   249k|                        key_buffer_.push_back(':');
 1297|   249k|                        break;
 1298|   235k|                    default:
  ------------------
  |  Branch (1298:21): [True: 235k, False: 249k]
  ------------------
 1299|   235k|                        destination_->key(key_, context, ec);
 1300|   235k|                        break;
 1301|   485k|                }
 1302|   485k|            }
 1303|  6.75M|            else
 1304|  6.75M|            {
 1305|  6.75M|                switch (level_stack_.back().target_kind())
 1306|  6.75M|                {
 1307|  2.36M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1307:21): [True: 2.36M, False: 4.39M]
  ------------------
 1308|  2.36M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1308:29): [True: 2.11M, False: 249k]
  |  Branch (1308:65): [True: 2.11M, False: 1.42k]
  ------------------
 1309|  2.11M|                        {
 1310|  2.11M|                            key_buffer_.push_back(',');
 1311|  2.11M|                        }
 1312|  2.36M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1313|  2.36M|                        break;
 1314|  4.39M|                    default:
  ------------------
  |  Branch (1314:21): [True: 4.39M, False: 2.36M]
  ------------------
 1315|  4.39M|                        destination_->int64_value(value, tag, context, ec);
 1316|  4.39M|                        break;
 1317|  6.75M|                }
 1318|  6.75M|            }
 1319|       |
 1320|  7.24M|            level_stack_.back().advance();
 1321|  7.24M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  7.24M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1322|  7.24M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1374|  81.2k|        {
 1375|  81.2k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1375:17): [True: 25.9k, False: 55.2k]
  |  Branch (1375:49): [True: 39.6k, False: 15.6k]
  ------------------
 1376|  65.6k|            {
 1377|  65.6k|                key_.clear();
 1378|  65.6k|                string_sink<string_type> sink(key_);
 1379|  65.6k|                jsoncons::write_double f{float_chars_format::general,0};
 1380|  65.6k|                f(value, sink);
 1381|  65.6k|            }
 1382|       |
 1383|  81.2k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1383:17): [True: 25.9k, False: 55.2k]
  ------------------
 1384|  25.9k|            {
 1385|  25.9k|                switch (level_stack_.back().target_kind())
 1386|  25.9k|                {
 1387|  18.2k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1387:21): [True: 18.2k, False: 7.75k]
  ------------------
 1388|  18.2k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1388:29): [True: 13.2k, False: 4.95k]
  ------------------
 1389|  13.2k|                        {
 1390|  13.2k|                            key_buffer_.push_back(',');
 1391|  13.2k|                        }
 1392|  18.2k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1393|  18.2k|                        key_buffer_.push_back(':');
 1394|  18.2k|                        break;
 1395|  7.75k|                    default:
  ------------------
  |  Branch (1395:21): [True: 7.75k, False: 18.2k]
  ------------------
 1396|  7.75k|                        destination_->key(key_, context, ec);
 1397|  7.75k|                        break;
 1398|  25.9k|                }
 1399|  25.9k|            }
 1400|  55.2k|            else
 1401|  55.2k|            {
 1402|  55.2k|                switch (level_stack_.back().target_kind())
 1403|  55.2k|                {
 1404|  39.6k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1404:21): [True: 39.6k, False: 15.6k]
  ------------------
 1405|  39.6k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1405:29): [True: 25.6k, False: 14.0k]
  |  Branch (1405:65): [True: 24.2k, False: 1.36k]
  ------------------
 1406|  24.2k|                        {
 1407|  24.2k|                            key_buffer_.push_back(',');
 1408|  24.2k|                        }
 1409|  39.6k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1410|  39.6k|                        break;
 1411|  15.6k|                    default:
  ------------------
  |  Branch (1411:21): [True: 15.6k, False: 39.6k]
  ------------------
 1412|  15.6k|                        destination_->double_value(value, tag, context, ec);
 1413|  15.6k|                        break;
 1414|  55.2k|                }
 1415|  55.2k|            }
 1416|       |
 1417|  81.2k|            level_stack_.back().advance();
 1418|  81.2k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  81.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1419|  81.2k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  881|  2.33k|        {
  882|  2.33k|            destination_->flush();
  883|  2.33k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  914|  1.55M|        {
  915|  1.55M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (915:17): [True: 133k, False: 1.42M]
  ------------------
  916|   133k|            {
  917|   133k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (917:21): [True: 27.9k, False: 105k]
  |  Branch (917:86): [True: 16.0k, False: 11.8k]
  ------------------
  918|  16.0k|                {
  919|  16.0k|                    key_buffer_.push_back(',');
  920|  16.0k|                }
  921|   133k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  922|   133k|                key_buffer_.push_back('{');
  923|   133k|            }
  924|  1.42M|            else
  925|  1.42M|            {
  926|  1.42M|                switch (level_stack_.back().target_kind())
  927|  1.42M|                {
  928|   358k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (928:21): [True: 358k, False: 1.06M]
  ------------------
  929|   358k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (929:29): [True: 317k, False: 40.4k]
  |  Branch (929:65): [True: 314k, False: 3.42k]
  ------------------
  930|   314k|                        {
  931|   314k|                            key_buffer_.push_back(',');
  932|   314k|                        }
  933|   358k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  934|   358k|                        key_buffer_.push_back('{');
  935|   358k|                        break;
  936|  1.06M|                    default:
  ------------------
  |  Branch (936:21): [True: 1.06M, False: 358k]
  ------------------
  937|  1.06M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  938|  1.06M|                        destination_->begin_object(length, tag, context, ec);
  939|  1.06M|                        break;
  940|  1.42M|                }
  941|  1.42M|            }
  942|  1.55M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.55M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  943|  1.55M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  946|  1.53M|        {
  947|  1.53M|            switch (level_stack_.back().target_kind())
  948|  1.53M|            {
  949|   479k|                case json_target_kind::buffer:
  ------------------
  |  Branch (949:17): [True: 479k, False: 1.06M]
  ------------------
  950|   479k|                    key_buffer_.push_back('}');
  951|   479k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   54|   479k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 479k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  952|   479k|                    level_stack_.pop_back();
  953|       |                    
  954|   479k|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (954:25): [True: 104k, False: 375k]
  ------------------
  955|   104k|                    {
  956|   104k|                        destination_->key(key_buffer_,context, ec);
  957|   104k|                        key_buffer_.clear();
  958|   104k|                    }
  959|   375k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (959:30): [True: 23.7k, False: 351k]
  ------------------
  960|  23.7k|                    {
  961|  23.7k|                        key_buffer_.push_back(':');
  962|  23.7k|                    }
  963|   479k|                    level_stack_.back().advance();
  964|   479k|                    break;
  965|  1.06M|                default:
  ------------------
  |  Branch (965:17): [True: 1.06M, False: 479k]
  ------------------
  966|  1.06M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   54|  1.06M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 1.06M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  967|  1.06M|                    level_stack_.pop_back();
  968|  1.06M|                    level_stack_.back().advance();
  969|  1.06M|                    destination_->end_object(context, ec);
  970|  1.06M|                    break;
  971|  1.53M|            }
  972|  1.53M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.53M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  973|  1.53M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1475|  1.40M|        {
 1476|  1.40M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1476:17): [True: 255k, False: 1.14M]
  |  Branch (1476:49): [True: 504k, False: 644k]
  ------------------
 1477|   759k|            {
 1478|   759k|                key_.clear(); 
 1479|   759k|                key_.insert(key_.begin(), json_literals<char_type>::null_literal.begin(), json_literals<char_type>::null_literal.end());
 1480|   759k|            }
 1481|       |
 1482|  1.40M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1482:17): [True: 255k, False: 1.14M]
  ------------------
 1483|   255k|            {
 1484|   255k|                switch (level_stack_.back().target_kind())
 1485|   255k|                {
 1486|   144k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1486:21): [True: 144k, False: 111k]
  ------------------
 1487|   144k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1487:29): [True: 143k, False: 880]
  ------------------
 1488|   143k|                        {
 1489|   143k|                            key_buffer_.push_back(',');
 1490|   143k|                        }
 1491|   144k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1492|   144k|                        key_buffer_.push_back(':');
 1493|   144k|                        break;
 1494|   111k|                    default:
  ------------------
  |  Branch (1494:21): [True: 111k, False: 144k]
  ------------------
 1495|   111k|                        destination_->key(key_, context, ec);
 1496|   111k|                        break;
 1497|   255k|                }
 1498|   255k|            }
 1499|  1.14M|            else
 1500|  1.14M|            {
 1501|  1.14M|                switch (level_stack_.back().target_kind())
 1502|  1.14M|                {
 1503|   504k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1503:21): [True: 504k, False: 644k]
  ------------------
 1504|   504k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1504:29): [True: 359k, False: 145k]
  |  Branch (1504:65): [True: 358k, False: 737]
  ------------------
 1505|   358k|                        {
 1506|   358k|                            key_buffer_.push_back(',');
 1507|   358k|                        }
 1508|   504k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1509|   504k|                        break;
 1510|   644k|                    default:
  ------------------
  |  Branch (1510:21): [True: 644k, False: 504k]
  ------------------
 1511|   644k|                        destination_->null_value(tag, context, ec);
 1512|   644k|                        break;
 1513|  1.14M|                }
 1514|  1.14M|            }
 1515|       |
 1516|  1.40M|            level_stack_.back().advance();
 1517|  1.40M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1518|  1.40M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1422|  25.1M|        {
 1423|  25.1M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1423:17): [True: 850k, False: 24.2M]
  |  Branch (1423:49): [True: 19.9M, False: 4.31M]
  ------------------
 1424|  20.8M|            {
 1425|  20.8M|                key_.clear(); 
 1426|  20.8M|                if (value)
  ------------------
  |  Branch (1426:21): [True: 64.5k, False: 20.7M]
  ------------------
 1427|  64.5k|                {
 1428|  64.5k|                    key_.insert(key_.begin(), json_literals<char_type>::true_literal.begin(), json_literals<char_type>::true_literal.end());
 1429|  64.5k|                }
 1430|  20.7M|                else
 1431|  20.7M|                {
 1432|  20.7M|                    key_.insert(key_.begin(), json_literals<char_type>::false_literal.begin(), json_literals<char_type>::false_literal.end());
 1433|  20.7M|                }
 1434|  20.8M|            }
 1435|       |
 1436|  25.1M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1436:17): [True: 850k, False: 24.2M]
  ------------------
 1437|   850k|            {
 1438|   850k|                switch (level_stack_.back().target_kind())
 1439|   850k|                {
 1440|   544k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1440:21): [True: 544k, False: 305k]
  ------------------
 1441|   544k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1441:29): [True: 536k, False: 8.39k]
  ------------------
 1442|   536k|                        {
 1443|   536k|                            key_buffer_.push_back(',');
 1444|   536k|                        }
 1445|   544k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1446|   544k|                        key_buffer_.push_back(':');
 1447|   544k|                        break;
 1448|   305k|                    default:
  ------------------
  |  Branch (1448:21): [True: 305k, False: 544k]
  ------------------
 1449|   305k|                        destination_->key(key_, context, ec);
 1450|   305k|                        break;
 1451|   850k|                }
 1452|   850k|            }
 1453|  24.2M|            else
 1454|  24.2M|            {
 1455|  24.2M|                switch (level_stack_.back().target_kind())
 1456|  24.2M|                {
 1457|  19.9M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1457:21): [True: 19.9M, False: 4.31M]
  ------------------
 1458|  19.9M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1458:29): [True: 19.4M, False: 548k]
  |  Branch (1458:65): [True: 19.3M, False: 2.51k]
  ------------------
 1459|  19.3M|                        {
 1460|  19.3M|                            key_buffer_.push_back(',');
 1461|  19.3M|                        }
 1462|  19.9M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1463|  19.9M|                        break;
 1464|  4.31M|                    default:
  ------------------
  |  Branch (1464:21): [True: 4.31M, False: 19.9M]
  ------------------
 1465|  4.31M|                        destination_->bool_value(value, tag, context, ec);
 1466|  4.31M|                        break;
 1467|  24.2M|                }
 1468|  24.2M|            }
 1469|       |
 1470|  25.1M|            level_stack_.back().advance();
 1471|  25.1M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  25.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1472|  25.1M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1072|  4.18M|        {
 1073|  4.18M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1073:17): [True: 192k, False: 3.98M]
  ------------------
 1074|   192k|            {
 1075|   192k|                switch (level_stack_.back().target_kind())
 1076|   192k|                {
 1077|  76.5k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1077:21): [True: 76.5k, False: 115k]
  ------------------
 1078|  76.5k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1078:29): [True: 74.3k, False: 2.19k]
  ------------------
 1079|  74.3k|                        {
 1080|  74.3k|                            key_buffer_.push_back(',');
 1081|  74.3k|                        }
 1082|  76.5k|                        key_buffer_.push_back('\"');
 1083|  76.5k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1084|  76.5k|                        key_buffer_.push_back('\"');
 1085|  76.5k|                        key_buffer_.push_back(':');
 1086|  76.5k|                        break;
 1087|   115k|                    default:
  ------------------
  |  Branch (1087:21): [True: 115k, False: 76.5k]
  ------------------
 1088|   115k|                        destination_->key(value, context, ec);
 1089|   115k|                        break;
 1090|   192k|                }
 1091|   192k|            }
 1092|  3.98M|            else
 1093|  3.98M|            {
 1094|  3.98M|                switch (level_stack_.back().target_kind())
 1095|  3.98M|                {
 1096|   428k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1096:21): [True: 428k, False: 3.56M]
  ------------------
 1097|   428k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1097:29): [True: 359k, False: 69.5k]
  |  Branch (1097:65): [True: 358k, False: 1.01k]
  ------------------
 1098|   358k|                        {
 1099|   358k|                            key_buffer_.push_back(',');
 1100|   358k|                        }
 1101|   428k|                        key_buffer_.push_back('\"');
 1102|   428k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1103|   428k|                        key_buffer_.push_back('\"');
 1104|   428k|                        break;
 1105|  3.56M|                    default:
  ------------------
  |  Branch (1105:21): [True: 3.56M, False: 428k]
  ------------------
 1106|  3.56M|                        destination_->string_value(value, tag, context, ec);
 1107|  3.56M|                        break;
 1108|  3.98M|                }
 1109|  3.98M|            }
 1110|       |
 1111|  4.18M|            level_stack_.back().advance();
 1112|  4.18M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.18M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1113|  4.18M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1119|   201k|        {
 1120|   201k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1120:17): [True: 22.2k, False: 179k]
  |  Branch (1120:49): [True: 36.1k, False: 143k]
  ------------------
 1121|  58.3k|            {
 1122|  58.3k|                key_.clear();
 1123|  58.3k|                switch (tag)
 1124|  58.3k|                {
 1125|      0|                    case semantic_tag::base64:
  ------------------
  |  Branch (1125:21): [True: 0, False: 58.3k]
  ------------------
 1126|      0|                        bytes_to_base64(value.begin(), value.end(), key_);
 1127|      0|                        break;
 1128|      0|                    case semantic_tag::base16:
  ------------------
  |  Branch (1128:21): [True: 0, False: 58.3k]
  ------------------
 1129|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1130|      0|                        break;
 1131|  58.3k|                    default:
  ------------------
  |  Branch (1131:21): [True: 58.3k, False: 0]
  ------------------
 1132|  58.3k|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1133|  58.3k|                        break;
 1134|  58.3k|                }
 1135|  58.3k|            }
 1136|       |
 1137|   201k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1137:17): [True: 22.2k, False: 179k]
  ------------------
 1138|  22.2k|            {
 1139|  22.2k|                switch (level_stack_.back().target_kind())
 1140|  22.2k|                {
 1141|  6.39k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1141:21): [True: 6.39k, False: 15.8k]
  ------------------
 1142|  6.39k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1142:29): [True: 4.92k, False: 1.46k]
  ------------------
 1143|  4.92k|                        {
 1144|  4.92k|                            key_buffer_.push_back(',');
 1145|  4.92k|                        }
 1146|  6.39k|                        key_buffer_.push_back('\"');
 1147|  6.39k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1148|  6.39k|                        key_buffer_.push_back('\"');
 1149|  6.39k|                        key_buffer_.push_back(':');
 1150|  6.39k|                        break;
 1151|  15.8k|                    default:
  ------------------
  |  Branch (1151:21): [True: 15.8k, False: 6.39k]
  ------------------
 1152|  15.8k|                        destination_->key(key_, context, ec);
 1153|  15.8k|                        break;
 1154|  22.2k|                }
 1155|  22.2k|            }
 1156|   179k|            else
 1157|   179k|            {
 1158|   179k|                switch (level_stack_.back().target_kind())
 1159|   179k|                {
 1160|  36.1k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1160:21): [True: 36.1k, False: 143k]
  ------------------
 1161|  36.1k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1161:29): [True: 28.9k, False: 7.22k]
  |  Branch (1161:65): [True: 28.0k, False: 918]
  ------------------
 1162|  28.0k|                        {
 1163|  28.0k|                            key_buffer_.push_back(',');
 1164|  28.0k|                        }
 1165|  36.1k|                        key_buffer_.push_back('\"');
 1166|  36.1k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1167|  36.1k|                        key_buffer_.push_back('\"');
 1168|  36.1k|                        break;
 1169|   143k|                    default:
  ------------------
  |  Branch (1169:21): [True: 143k, False: 36.1k]
  ------------------
 1170|   143k|                        destination_->byte_string_value(value, tag, context, ec);
 1171|   143k|                        break;
 1172|   179k|                }
 1173|   179k|            }
 1174|       |
 1175|   201k|            level_stack_.back().advance();
 1176|   201k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   201k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1177|   201k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1183|  1.26M|        {
 1184|  1.26M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1184:17): [True: 157k, False: 1.10M]
  |  Branch (1184:49): [True: 167k, False: 938k]
  ------------------
 1185|   325k|            {
 1186|   325k|                key_.clear();
 1187|   325k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1188|   325k|            }
 1189|       |
 1190|  1.26M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1190:17): [True: 157k, False: 1.10M]
  ------------------
 1191|   157k|            {
 1192|   157k|                switch (level_stack_.back().target_kind())
 1193|   157k|                {
 1194|  43.1k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1194:21): [True: 43.1k, False: 114k]
  ------------------
 1195|  43.1k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1195:29): [True: 41.8k, False: 1.28k]
  ------------------
 1196|  41.8k|                        {
 1197|  41.8k|                            key_buffer_.push_back(',');
 1198|  41.8k|                        }
 1199|  43.1k|                        key_buffer_.push_back('\"');
 1200|  43.1k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1201|  43.1k|                        key_buffer_.push_back('\"');
 1202|  43.1k|                        key_buffer_.push_back(':');
 1203|  43.1k|                        break;
 1204|   114k|                    default:
  ------------------
  |  Branch (1204:21): [True: 114k, False: 43.1k]
  ------------------
 1205|   114k|                        destination_->key(key_, context, ec);
 1206|   114k|                        break;
 1207|   157k|                }
 1208|   157k|            }
 1209|  1.10M|            else
 1210|  1.10M|            {
 1211|  1.10M|                switch (level_stack_.back().target_kind())
 1212|  1.10M|                {
 1213|   167k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1213:21): [True: 167k, False: 938k]
  ------------------
 1214|   167k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1214:29): [True: 125k, False: 42.7k]
  |  Branch (1214:65): [True: 124k, False: 633]
  ------------------
 1215|   124k|                        {
 1216|   124k|                            key_buffer_.push_back(',');
 1217|   124k|                        }
 1218|   167k|                        key_buffer_.push_back('\"');
 1219|   167k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1220|   167k|                        key_buffer_.push_back('\"');
 1221|   167k|                        break;
 1222|   938k|                    default:
  ------------------
  |  Branch (1222:21): [True: 938k, False: 167k]
  ------------------
 1223|   938k|                        destination_->byte_string_value(value, raw_tag, context, ec);
 1224|   938k|                        break;
 1225|  1.10M|                }
 1226|  1.10M|            }
 1227|       |
 1228|  1.26M|            level_stack_.back().advance();
 1229|  1.26M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.26M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1230|  1.26M|        }
_ZN8jsoncons21basic_generic_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  276|  1.55M|    {
  277|  1.55M|        visit_begin_object(length, tag, context, ec);
  278|  1.55M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.55M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  279|  1.55M|    }
_ZN8jsoncons21basic_generic_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  332|  4.18M|    {
  333|  4.18M|        visit_string(value, tag, context, ec);
  334|  4.18M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.18M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  335|  4.18M|    }
_ZN8jsoncons21basic_generic_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  314|  1.40M|    {
  315|  1.40M|        visit_null(tag, context, ec);
  316|  1.40M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  317|  1.40M|    }
_ZN8jsoncons21basic_generic_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  323|  25.1M|    {
  324|  25.1M|        visit_bool(value, tag, context, ec);
  325|  25.1M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  25.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  25.1M|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr6nonstd18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  343|   201k|    {
  344|   201k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  345|   201k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   201k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  346|   201k|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr6nonstd18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  354|  1.26M|    {
  355|  1.26M|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  356|  1.26M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.26M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  357|  1.26M|    }
_ZN8jsoncons21basic_generic_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  282|  1.53M|    {
  283|  1.53M|        visit_end_object(context, ec);
  284|  1.53M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.53M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  285|  1.53M|    }
_ZN8jsoncons21basic_generic_visitorIcE5flushEv:
   57|  2.33k|    {
   58|  2.33k|        visit_flush();
   59|  2.33k|    }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  3.87M|        {
  106|  3.87M|            flatten_and_destroy();
  107|  3.87M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  3.87M|        {
  249|  5.16M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 1.28M, False: 3.87M]
  ------------------
  250|  1.28M|            {
  251|  1.28M|                value_type current = std::move(data_.back());
  252|  1.28M|                data_.pop_back();
  253|  1.28M|                switch (current.storage_kind())
  254|  1.28M|                {
  255|   380k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 380k, False: 906k]
  ------------------
  256|   380k|                    {
  257|   380k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 1.21M, False: 380k]
  ------------------
  258|  1.21M|                        {
  259|  1.21M|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 18.8k, False: 1.19M]
  |  Branch (259:85): [True: 7.45k, False: 1.18M]
  ------------------
  260|  26.3k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 17.5k, False: 8.74k]
  ------------------
  261|  17.5k|                            {
  262|  17.5k|                                data_.push_back(std::move(item));
  263|  17.5k|                            }
  264|  1.21M|                        }
  265|   380k|                        current.clear();                           
  266|   380k|                        break;
  267|      0|                    }
  268|  38.6k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 38.6k, False: 1.24M]
  ------------------
  269|  38.6k|                    {
  270|  38.6k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 59.0k, False: 38.6k]
  ------------------
  271|  59.0k|                        {
  272|  59.0k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 6.50k, False: 52.5k]
  |  Branch (272:91): [True: 12.2k, False: 40.2k]
  ------------------
  273|  18.7k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 14.4k, False: 4.36k]
  ------------------
  274|  14.4k|                            {
  275|  14.4k|                                data_.push_back(std::move(kv.value()));
  276|  14.4k|                            }
  277|  59.0k|                        }
  278|  38.6k|                        current.clear();                           
  279|  38.6k|                        break;
  280|      0|                    }
  281|   867k|                    default:
  ------------------
  |  Branch (281:21): [True: 867k, False: 419k]
  ------------------
  282|   867k|                        break;
  283|  1.28M|                }
  284|  1.28M|            }
  285|  3.87M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|   380k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|   380k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  33.1k|        {
  126|  33.1k|            return data_.empty();
  127|  33.1k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|   380k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  14.7k|            : allocator_holder<allocator_type>(alloc), 
   50|  14.7k|              data_(value_allocator_type(alloc))
   51|  14.7k|        {
   52|  14.7k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  4.79k|        {
  218|  4.79k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  4.79k|            return data_.back();
  220|  4.79k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  24.6k|        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|  2.46M|        {
  179|  2.46M|            data_.emplace_back(std::forward<T>(value));
  180|  2.46M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  3.85M|        json_array() = default;

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  6.97k|        : alloc_(alloc),
   75|  6.97k|          result_(),
   76|  6.97k|          name_(alloc),
   77|  6.97k|          item_stack_(alloc),
   78|  6.97k|          structure_stack_(temp_alloc)
   79|  6.97k|    {
   80|       |        //item_stack_.reserve(1000);
   81|       |        //structure_stack_.reserve(100);
   82|  6.97k|        structure_stack_.emplace_back(json_structure_kind::root_kind, 0);
   83|  6.97k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14json_structureC2ENS7_19json_structure_kindEm:
   51|  4.93M|            : structure_kind(type), structure_index(offset)
   52|  4.93M|        {
   53|  4.93M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  186|  3.83M|    {
  187|  3.83M|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   54|  3.83M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 3.83M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  188|  3.83M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::array_kind);
  ------------------
  |  |   54|  3.83M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 3.83M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  189|  3.83M|        const size_t structure_index = structure_stack_.back().structure_index;
  190|  3.83M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   54|  3.83M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 3.83M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  191|       |
  192|  3.83M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  193|  3.83M|        auto& arr = item_stack_[structure_index].value;
  194|  3.83M|        const size_t size = item_stack_.size() - (structure_index + 1);
  195|       |
  196|  3.83M|        if (size > 0)
  ------------------
  |  Branch (196:13): [True: 24.6k, False: 3.81M]
  ------------------
  197|  24.6k|        {
  198|  24.6k|            arr.reserve(size);
  199|  24.6k|            auto first = item_stack_.begin() + (structure_index+1);
  200|  24.6k|            auto last = first + size;
  201|  2.48M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (201:35): [True: 2.46M, False: 24.6k]
  ------------------
  202|  2.46M|            {
  203|  2.46M|                arr.push_back(std::move((*it).value));
  204|  2.46M|            }
  205|  24.6k|            item_stack_.erase(first, item_stack_.end());
  206|  24.6k|        }
  207|       |
  208|  3.83M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (208:13): [True: 233, False: 3.83M]
  ------------------
  209|    233|        {
  210|    233|            result_ = std::move(item_stack_.front().value);
  211|    233|            item_stack_.pop_back();
  212|    233|            is_valid_ = true;
  213|    233|        }
  214|       |
  215|  3.83M|        structure_stack_.pop_back();
  216|  3.83M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.83M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  3.83M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  311|  19.1M|    {
  312|  19.1M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (312:17): [True: 19.1M, False: 0]
  ------------------
  313|  19.1M|        {
  314|  4.53M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (314:13): [True: 4.53M, False: 14.6M]
  ------------------
  315|  4.53M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  316|  4.53M|                break;
  317|  14.6M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (317:13): [True: 14.6M, False: 4.53M]
  ------------------
  318|  14.6M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  319|  14.6M|                break;
  320|     10|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (320:13): [True: 10, False: 19.1M]
  ------------------
  321|     10|                result_ = Json(value,tag);
  322|     10|                is_valid_ = true;
  323|     10|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|     10|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  324|  19.1M|        }
  325|  19.1M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  19.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  19.1M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  290|  4.39M|    {
  291|  4.39M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (291:17): [True: 4.39M, False: 0]
  ------------------
  292|  4.39M|        {
  293|   226k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (293:13): [True: 226k, False: 4.16M]
  ------------------
  294|   226k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  295|   226k|                break;
  296|  4.16M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (296:13): [True: 4.16M, False: 226k]
  ------------------
  297|  4.16M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  298|  4.16M|                break;
  299|      6|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (299:13): [True: 6, False: 4.39M]
  ------------------
  300|      6|                result_ = Json(value,tag);
  301|      6|                is_valid_ = true;
  302|      6|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      6|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  4.39M|        }
  304|  4.39M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.39M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  305|  4.39M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  353|  15.6k|    {
  354|  15.6k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (354:17): [True: 15.6k, False: 0]
  ------------------
  355|  15.6k|        {
  356|  4.21k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (356:13): [True: 4.21k, False: 11.4k]
  ------------------
  357|  4.21k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  358|  4.21k|                break;
  359|  11.4k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (359:13): [True: 11.4k, False: 4.21k]
  ------------------
  360|  11.4k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  361|  11.4k|                break;
  362|      2|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (362:13): [True: 2, False: 15.6k]
  ------------------
  363|      2|                result_ = Json(value, tag);
  364|      2|                is_valid_ = true;
  365|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  15.6k|        }
  367|  15.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  15.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  15.6k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|  2.33k|    {
  123|  2.33k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  1.06M|    {
  127|  1.06M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (127:13): [True: 124k, False: 943k]
  ------------------
  128|   124k|        {
  129|   124k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  130|   124k|            item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  131|   124k|        }
  132|   943k|        else
  133|   943k|        {
  134|   943k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  135|   943k|            item_stack_.emplace_back(key_type(alloc_), 0, json_object_arg, tag);
  136|   943k|        }
  137|  1.06M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.06M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  138|  1.06M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  141|  1.06M|    {
  142|  1.06M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   54|  1.06M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 1.06M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  143|  1.06M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::object_kind);
  ------------------
  |  |   54|  1.06M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 1.06M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  144|  1.06M|        const size_t structure_index = structure_stack_.back().structure_index;
  145|  1.06M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   54|  1.06M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 1.06M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  146|       |
  147|  1.06M|        const size_t size = item_stack_.size() - (structure_index + 1);
  148|  1.06M|        auto first = item_stack_.begin() + (structure_index+1);
  149|  1.06M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  150|  1.06M|        auto& obj = item_stack_[structure_index].value;
  151|       |
  152|  1.06M|        if (size > 0)
  ------------------
  |  Branch (152:13): [True: 34.4k, False: 1.02M]
  ------------------
  153|  34.4k|        {
  154|  34.4k|            obj.template cast<typename Json::object_storage>().value().uninitialized_init(
  155|  34.4k|                &item_stack_[structure_index+1], size);
  156|  34.4k|            item_stack_.erase(first, item_stack_.end());
  157|  34.4k|        }
  158|       |
  159|  1.06M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (159:13): [True: 1.27k, False: 1.05M]
  ------------------
  160|  1.27k|        {
  161|  1.27k|            result_ = std::move(item_stack_.front().value);
  162|  1.27k|            item_stack_.pop_back();
  163|  1.27k|            is_valid_ = true;
  164|  1.27k|        }
  165|       |
  166|  1.06M|        structure_stack_.pop_back();
  167|  1.06M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.06M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  168|  1.06M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  171|  3.85M|    {
  172|  3.85M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (172:13): [True: 352k, False: 3.50M]
  ------------------
  173|   352k|        {
  174|   352k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  175|   352k|            item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  176|   352k|        }
  177|  3.50M|        else
  178|  3.50M|        {
  179|  3.50M|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  180|  3.50M|            item_stack_.emplace_back(key_type(alloc_), 0, json_array_arg, tag);
  181|  3.50M|        }
  182|  3.85M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.85M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  183|  3.85M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  220|  5.91M|    {
  221|  5.91M|        name_ = key_type(name.data(),name.length(),alloc_);
  222|  5.91M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  5.91M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  223|  5.91M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  389|   644k|    {
  390|   644k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (390:17): [True: 644k, False: 0]
  ------------------
  391|   644k|        {
  392|   111k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (392:13): [True: 111k, False: 533k]
  ------------------
  393|   111k|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  394|   111k|                break;
  395|   533k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (395:13): [True: 533k, False: 111k]
  ------------------
  396|   533k|                item_stack_.emplace_back(key_type(alloc_), 0, null_type(), tag);
  397|   533k|                break;
  398|      1|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (398:13): [True: 1, False: 644k]
  ------------------
  399|      1|                result_ = Json(null_type(), tag);
  400|      1|                is_valid_ = true;
  401|      1|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      1|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  402|   644k|        }
  403|   644k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   644k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  404|   644k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  371|  4.31M|    {
  372|  4.31M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (372:17): [True: 4.31M, False: 0]
  ------------------
  373|  4.31M|        {
  374|   308k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (374:13): [True: 308k, False: 4.01M]
  ------------------
  375|   308k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  376|   308k|                break;
  377|  4.01M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (377:13): [True: 4.01M, False: 308k]
  ------------------
  378|  4.01M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  379|  4.01M|                break;
  380|      2|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (380:13): [True: 2, False: 4.31M]
  ------------------
  381|      2|                result_ = Json(value, tag);
  382|      2|                is_valid_ = true;
  383|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  384|  4.31M|        }
  385|  4.31M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.31M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  4.31M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  226|  3.56M|    {
  227|  3.56M|        auto& structure = structure_stack_.back();
  228|  3.56M|        switch (structure.structure_kind)
  ------------------
  |  Branch (228:17): [True: 3.56M, False: 0]
  ------------------
  229|  3.56M|        {
  230|   113k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (230:13): [True: 113k, False: 3.44M]
  ------------------
  231|   113k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  232|   113k|                break;
  233|  3.44M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (233:13): [True: 3.44M, False: 114k]
  ------------------
  234|  3.44M|                item_stack_.emplace_back(key_type(alloc_), 0, sv, tag);
  235|  3.44M|                break;
  236|    806|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (236:13): [True: 806, False: 3.55M]
  ------------------
  237|    806|                result_ = Json(sv, tag, alloc_);
  238|    806|                is_valid_ = true;
  239|    806|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|    806|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  240|  3.56M|        }
  241|  3.55M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.55M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  242|  3.56M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  248|   143k|    {
  249|   143k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (249:17): [True: 143k, False: 0]
  ------------------
  250|   143k|        {
  251|  20.4k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (251:13): [True: 20.4k, False: 122k]
  ------------------
  252|  20.4k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, tag);
  253|  20.4k|                break;
  254|   122k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (254:13): [True: 122k, False: 20.4k]
  ------------------
  255|   122k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, tag);
  256|   122k|                break;
  257|      1|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (257:13): [True: 1, False: 143k]
  ------------------
  258|      1|                result_ = Json(byte_string_arg, b, tag, alloc_);
  259|      1|                is_valid_ = true;
  260|      1|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      1|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  261|   143k|        }
  262|   143k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   143k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  263|   143k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  269|   938k|    {
  270|   938k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (270:17): [True: 938k, False: 0]
  ------------------
  271|   938k|        {
  272|   113k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (272:13): [True: 113k, False: 824k]
  ------------------
  273|   113k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, raw_tag);
  274|   113k|                break;
  275|   824k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (275:13): [True: 824k, False: 113k]
  ------------------
  276|   824k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, raw_tag);
  277|   824k|                break;
  278|      1|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (278:13): [True: 1, False: 938k]
  ------------------
  279|      1|                result_ = Json(byte_string_arg, b, raw_tag, alloc_);
  280|      1|                is_valid_ = true;
  281|      1|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|      1|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  282|   938k|        }
  283|   938k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   938k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|   938k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|  2.33k|    {
  109|  2.33k|        return is_valid_;
  110|  2.33k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|  2.33k|    {
  114|  2.33k|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   54|  2.33k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 2.33k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  115|  2.33k|        is_valid_ = false;
  116|  2.33k|        return std::move(result_);
  117|  2.33k|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  6.97k|{
 1065|  6.97k|    return json_visitor_adaptor<From, To>(to);
 1066|  6.97k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  6.97k|        : supertype(visitor)
  984|  6.97k|    {
  985|  6.97k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  6.97k|        : destination1_(std::addressof(visitor))
  722|  6.97k|    {
  723|  6.97k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  777|  3.85M|    {
  778|  3.85M|        destination1_->begin_array(length, tag, context, ec);
  779|  3.85M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.85M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|  3.85M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  3.83M|    {
  784|  3.83M|        destination1_->end_array(context, ec);
  785|  3.83M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.83M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  3.83M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  19.1M|    {
  826|  19.1M|        destination1_->uint64_value(value, tag, context, ec);
  827|  19.1M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  19.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  19.1M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  4.39M|    {
  820|  4.39M|        destination1_->int64_value(value, tag, context, ec);
  821|  4.39M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.39M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  4.39M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  15.6k|    {
  814|  15.6k|        destination1_->double_value(value, tag, context, ec);
  815|  15.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  15.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  15.6k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|  2.33k|    {
  739|  2.33k|        destination1_->flush();
  740|  2.33k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|  1.06M|    {
  755|  1.06M|        destination1_->begin_object(length, tag, context, ec);
  756|  1.06M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.06M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  1.06M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  1.06M|    {
  761|  1.06M|        destination1_->end_object(context, ec);
  762|  1.06M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.06M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  1.06M|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE9visit_keyERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEERKNS_11ser_contextERNS6_10error_codeE:
  995|  5.91M|    {
  996|  5.91M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  5.91M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  9.47M|    {
  733|  9.47M|        return *destination1_;
  734|  9.47M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|   644k|    {
  838|   644k|        destination1_->null_value(tag, context, ec);
  839|   644k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   644k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|   644k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  4.31M|    {
  832|  4.31M|        destination1_->bool_value(value, tag, context, ec);
  833|  4.31M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.31M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  4.31M|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE12visit_stringERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
 1003|  3.56M|    {
 1004|  3.56M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  3.56M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  792|   143k|    {
  793|   143k|        destination1_->byte_string_value(b, tag, context, ec);
  794|   143k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   143k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  795|   143k|    }
_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|   938k|    {
  802|   938k|        destination1_->byte_string_value(b, raw_tag, context, ec);
  803|   938k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   938k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|   938k|    }

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  20.9k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  27.9k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|  3.85M|        {
  561|  3.85M|            visit_begin_array(tag, context, ec);
  562|  3.85M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  3.85M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  3.85M|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  1.06M|        {
  545|  1.06M|            visit_begin_object(tag, context, ec);
  546|  1.06M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.06M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  1.06M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  7.71M|        {
  346|  7.71M|            visit_begin_array(length, tag, context, ec);
  347|  7.71M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  7.71M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  7.71M|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  38.2M|        {
  415|  38.2M|            visit_uint64(value, tag, context, ec);
  416|  38.2M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  38.2M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  38.2M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  7.67M|        {
  352|  7.67M|            visit_end_array(context, ec);
  353|  7.67M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  7.67M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  7.67M|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  8.78M|        {
  424|  8.78M|            visit_int64(value, tag, context, ec);
  425|  8.78M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  8.78M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  8.78M|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  31.2k|        {
  442|  31.2k|            visit_double(value, tag, context, ec);
  443|  31.2k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  31.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  31.2k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|  4.67k|        {
  109|  4.67k|            visit_flush();
  110|  4.67k|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  2.13M|        {
  328|  2.13M|            visit_begin_object(length, tag, context, ec);
  329|  2.13M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.13M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  2.13M|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  2.12M|        {
  334|  2.12M|            visit_end_object(context, ec);
  335|  2.12M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.12M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  2.12M|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  11.8M|        {
  358|  11.8M|            visit_key(name, context, ec);
  359|  11.8M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  11.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  11.8M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  1.28M|        {
  366|  1.28M|            visit_null(tag, context, ec);
  367|  1.28M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.28M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  1.28M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  8.63M|        {
  375|  8.63M|            visit_bool(value, tag, context, ec);
  376|  8.63M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  8.63M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  8.63M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  7.12M|        {
  384|  7.12M|            visit_string(value, tag, context, ec);
  385|  7.12M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  7.12M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  7.12M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr6nonstd18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  394|   286k|        {
  395|   286k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  396|   286k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   286k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  397|   286k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr6nonstd18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|  1.87M|        {
  406|  1.87M|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|  1.87M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.87M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|  1.87M|        }
_ZN8jsoncons26basic_default_json_visitorIcEC2Ev:
  811|  6.97k|        basic_default_json_visitor() = default;

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|   267k|    {
  121|   267k|        return value_;
  122|   267k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  27.8M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  19.1M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  19.1M|    {
   45|  19.1M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  70.1M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.39M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.39M|    {
   45|  4.39M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  15.6k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  15.6k|    {
   45|  15.6k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.06M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.06M|    {
   45|  1.06M|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|   163k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|   163k|    {
   88|   163k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  3.85M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.85M|    {
   45|  3.85M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   644k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   644k|    {
   45|   644k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.31M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.31M|    {
   45|  4.31M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  3.55M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.55M|    {
   45|  3.55M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   143k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   143k|    {
   45|   143k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   938k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   938k|    {
   45|   938k|    }

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

_ZN8jsoncons6nonstd16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  10.0k|    {       
  242|  10.0k|        return (ptr);
  243|  10.0k|    }  
_ZN8jsoncons6nonstd16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|  1.08M|    {       
  242|  1.08M|        return (ptr);
  243|  1.08M|    }  
_ZN8jsoncons6nonstd16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  7.71M|    {       
  242|  7.71M|        return (ptr);
  243|  7.71M|    }  
_ZN8jsoncons6nonstd16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  2.13M|    {       
  242|  2.13M|        return (ptr);
  243|  2.13M|    }  
_ZN8jsoncons6nonstd16to_plain_pointerIcEEPT_S3_:
  241|  1.09M|    {       
  242|  1.09M|        return (ptr);
  243|  1.09M|    }  
_ZN8jsoncons6nonstd16to_plain_pointerImEEPT_S3_:
  241|  77.0k|    {       
  242|  77.0k|        return (ptr);
  243|  77.0k|    }  

_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|  2.35M|            : data_(data), size_(size)
   62|  2.35M|        {
   63|  2.35M|        }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4dataEv:
  111|  10.8M|        {
  112|  10.8M|            return data_;
  113|  10.8M|        }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4sizeEv:
  116|  16.4M|        {
  117|  16.4M|            return size_;
  118|  16.4M|        }
_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2Ev:
   58|  4.34M|        {
   59|  4.34M|        }

_ZN8jsoncons6nonstd4u128C2Em:
   29|  97.2k|    constexpr u128(uint64_t lo) : hi(0), lo(lo) {}
_ZNK8jsoncons6nonstd4u128mlERKS1_:
  103|  32.4k|    u128 operator*(const u128& rhs) const {
  104|       |        // Split components into 32-bit chunks to avoid 64-bit overflow during multiplication
  105|  32.4k|        uint64_t a3 = hi >> 32;
  106|  32.4k|        uint64_t a2 = hi & 0xFFFFFFFFFFFFFFULL; // lower 32 bits of hi
  107|  32.4k|        uint64_t a1 = lo >> 32;
  108|  32.4k|        uint64_t a0 = lo & 0xFFFFFFFFULL;
  109|       |
  110|  32.4k|        uint64_t b3 = rhs.hi >> 32;
  111|  32.4k|        uint64_t b2 = rhs.hi & 0xFFFFFFFFFFFFFFULL;
  112|  32.4k|        uint64_t b1 = rhs.lo >> 32;
  113|  32.4k|        uint64_t b0 = rhs.lo & 0xFFFFFFFFULL;
  114|       |
  115|       |        // Long multiplication matrix
  116|       |        // We only care about terms that fit in the final 128 bits.
  117|       |        // Chunks exceeding indices that add up to 3 (e.g., a2*b2, a3*b1) drop out of range.
  118|       |
  119|  32.4k|        uint64_t c0 = a0 * b0;
  120|  32.4k|        uint64_t c1 = a0 * b1 + a1 * b0;
  121|  32.4k|        uint64_t c2 = a0 * b2 + a1 * b1 + a2 * b0;
  122|  32.4k|        uint64_t c3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0;
  123|       |
  124|       |        // Carry propagation
  125|  32.4k|        c1 += (c0 >> 32);
  126|  32.4k|        c2 += (c1 >> 32);
  127|  32.4k|        c3 += (c2 >> 32);
  128|       |
  129|       |        // Reconstruct hi and lo 64-bit values
  130|  32.4k|        uint64_t new_low = (c0 & 0xFFFFFFFFULL) | (c1 << 32);
  131|  32.4k|        uint64_t new_high = (c2 & 0xFFFFFFFFULL) | (c3 << 32);
  132|       |
  133|  32.4k|        return {new_high, new_low};
  134|  32.4k|    }
_ZN8jsoncons6nonstd4u128C2Emm:
   30|  97.2k|    constexpr u128(uint64_t hi, uint64_t lo) : hi(hi), lo(lo) {}
_ZNK8jsoncons6nonstd4u128plERKS1_:
   41|  32.4k|    u128 operator+(const u128& rhs) const {
   42|  32.4k|        uint64_t new_low = lo + rhs.lo;
   43|       |        // Carry occurs if the result wrapped around and is less than one of the inputs
   44|  32.4k|        uint64_t carry = (new_low < lo) ? 1 : 0;
  ------------------
  |  Branch (44:26): [True: 0, False: 32.4k]
  ------------------
   45|  32.4k|        uint64_t new_high = hi + rhs.hi + carry;
   46|  32.4k|        return {new_high, new_low};
   47|  32.4k|    }
_ZNK8jsoncons6nonstd4u128cvmEv:
  146|  51.6k|    explicit operator uint64_t() const {
  147|  51.6k|        return lo;
  148|  51.6k|    }
_ZNK8jsoncons6nonstd4u128rsEj:
   87|  32.4k|    u128 operator>>(unsigned int shift) const {
   88|  32.4k|        if (shift == 0) return *this;
  ------------------
  |  Branch (88:13): [True: 0, False: 32.4k]
  ------------------
   89|  32.4k|        if (shift >= 128) return {0, 0};
  ------------------
  |  Branch (89:13): [True: 0, False: 32.4k]
  ------------------
   90|       |
   91|  32.4k|        if (shift >= 64) {
  ------------------
  |  Branch (91:13): [True: 32.4k, False: 0]
  ------------------
   92|  32.4k|            return {0, hi >> (shift - 64)};
   93|  32.4k|        }
   94|      0|        else {
   95|      0|            return {
   96|      0|                hi >> shift,
   97|      0|                (lo >> shift) | (hi << (64 - shift))
   98|      0|            };
   99|      0|        }
  100|  32.4k|    }
_ZNK8jsoncons6nonstd4u128cvbEv:
   32|  32.4k|    explicit operator bool() const {
   33|  32.4k|        return hi != 0 || lo != 0;
  ------------------
  |  Branch (33:16): [True: 0, False: 32.4k]
  |  Branch (33:27): [True: 19.2k, False: 13.1k]
  ------------------
   34|  32.4k|    }

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

_ZN8jsoncons11string_sinkINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEC2ERS7_:
  256|  65.6k|            : buf_ptr(std::addressof(buf))
  257|  65.6k|        {
  258|  65.6k|        }
_ZN8jsoncons11string_sinkINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE9push_backEc:
  287|   962k|        {
  288|   962k|            buf_ptr->push_back(ch);
  289|   962k|        }

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  25.5k|        {
  159|  25.5k|            return data_.empty();
  160|  25.5k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  38.6k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  38.6k|        {
  169|  38.6k|            return data_.begin();
  170|  38.6k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  38.6k|        {
  174|  38.6k|            return data_.end();
  175|  38.6k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  1.06M|        {
  154|  1.06M|            flatten_and_destroy();
  155|  1.06M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|  1.06M|        {
  725|  1.06M|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 14.7k, False: 1.05M]
  ------------------
  726|  14.7k|            {
  727|  14.7k|                json_array<Json> temp(get_allocator());
  728|       |
  729|  14.7k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 104k, False: 14.7k]
  ------------------
  730|   104k|                {
  731|   104k|                    switch (kv.value().storage_kind())
  732|   104k|                    {
  733|  7.72k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 7.72k, False: 96.6k]
  ------------------
  734|  13.5k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 5.80k, False: 98.6k]
  ------------------
  735|  13.5k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 4.79k, False: 8.72k]
  ------------------
  736|  4.79k|                            {
  737|  4.79k|                                temp.emplace_back(std::move(kv.value()));
  738|  4.79k|                            }
  739|  13.5k|                            break;
  740|  90.8k|                        default:
  ------------------
  |  Branch (740:25): [True: 90.8k, False: 13.5k]
  ------------------
  741|  90.8k|                            break;
  742|   104k|                    }
  743|   104k|                }
  744|  14.7k|            }
  745|  1.06M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  1.06M|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  34.4k|        {
  278|  34.4k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 34.4k, False: 0]
  ------------------
  279|  34.4k|            {
  280|  34.4k|                data_.reserve(count);
  281|       |
  282|  34.4k|                std::sort(items, items+count, compare);
  283|  34.4k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  4.46M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 4.43M, False: 34.4k]
  ------------------
  286|  4.43M|                {
  287|  4.43M|                    auto& item = items[i];
  288|  4.43M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 129k, False: 4.30M]
  ------------------
  289|   129k|                    {
  290|   129k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|   129k|                    }
  292|  4.43M|                }
  293|  34.4k|            }
  294|  34.4k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|   101M|        {
  269|   101M|            int comp = item1.name.compare(item2.name); 
  270|   101M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 2.10M, False: 99.4M]
  ------------------
  271|  99.4M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 97.6M, False: 1.80M]
  ------------------
  272|       |
  273|  1.80M|            return false;
  274|  99.4M|        }

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  176|  6.97k|        : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  177|  6.97k|          chunk_size_(default_max_chunk_size)
  178|  6.97k|    {
  179|  6.97k|        chunk_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, chunk_size_);
  180|  6.97k|        data_end_ = chunk_;
  181|  6.97k|    }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   57|  6.97k|      : std::basic_istream<CharT>(&nb_)
   58|  6.97k|    {
   59|  6.97k|    }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   43|  6.97k|        null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  193|  6.97k|    {
  194|  6.97k|        if (chunk_)
  ------------------
  |  Branch (194:13): [True: 6.97k, False: 0]
  ------------------
  195|  6.97k|        {
  196|  6.97k|            std::allocator_traits<char_allocator_type>::deallocate(alloc_, chunk_, chunk_size_);
  197|  6.97k|        }
  198|  6.97k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|  4.64k|    {
  282|  4.64k|        return position_;
  283|  4.64k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  86.9M|    {
  277|  86.9M|        return stream_ptr_->bad();  
  278|  86.9M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  377|  88.7M|    {
  378|  88.7M|        std::size_t len = 0;
  379|  88.7M|        if (remaining_ > 0)
  ------------------
  |  Branch (379:13): [True: 88.7M, False: 15.7k]
  ------------------
  380|  88.7M|        {
  381|  88.7M|            len = (std::min)(remaining_, length);
  382|  88.7M|            std::memcpy(p, data_end_, len*sizeof(value_type));
  383|  88.7M|            data_end_ += len;
  384|  88.7M|            remaining_ -= len;
  385|  88.7M|            position_ += len;
  386|  88.7M|        }
  387|  88.7M|        if (length - len == 0)
  ------------------
  |  Branch (387:13): [True: 88.7M, False: 17.5k]
  ------------------
  388|  88.7M|        {
  389|  88.7M|            return len;
  390|  88.7M|        }
  391|  17.5k|        else if (length - len < chunk_size_)
  ------------------
  |  Branch (391:18): [True: 17.5k, False: 0]
  ------------------
  392|  17.5k|        {
  393|  17.5k|            data_end_ = chunk_;
  394|  17.5k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  395|  17.5k|            if (remaining_ > 0)
  ------------------
  |  Branch (395:17): [True: 13.4k, False: 4.11k]
  ------------------
  396|  13.4k|            {
  397|  13.4k|                std::size_t len2 = (std::min)(remaining_, length-len);
  398|  13.4k|                std::memcpy(p+len, data_end_, len2*sizeof(value_type));
  399|  13.4k|                data_end_ += len2;
  400|  13.4k|                remaining_ -= len2;
  401|  13.4k|                position_ += len2;
  402|  13.4k|                len += len2;
  403|  13.4k|            }
  404|  17.5k|            return len;
  405|  17.5k|        }
  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|  88.7M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  442|  18.1k|    {
  443|  18.1k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (443:13): [True: 4.16k, False: 14.0k]
  ------------------
  444|  4.16k|        {
  445|  4.16k|            return 0;
  446|  4.16k|        }
  447|       |
  448|  14.0k|        JSONCONS_TRY
  ------------------
  |  |   37|  14.0k|    #define JSONCONS_TRY try
  ------------------
  449|  14.0k|        {
  450|  14.0k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  451|  14.0k|            std::size_t length = static_cast<std::size_t>(count);
  452|       |
  453|  14.0k|            if (length < chunk_size)
  ------------------
  |  Branch (453:17): [True: 6.96k, False: 7.05k]
  ------------------
  454|  6.96k|            {
  455|  6.96k|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  456|  6.96k|            }
  457|  14.0k|            return length;
  458|  14.0k|        }
  459|  14.0k|        JSONCONS_CATCH(const std::exception&)     
  460|  14.0k|        {
  461|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  462|      0|            return 0;
  463|      0|        }
  464|  14.0k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_6vectorIhS3_EEEENS_6nonstd4spanIKhLm18446744073709551615EEEmOT_:
  352|  5.60M|    {
  353|  5.60M|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   79|  5.60M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4.34M, False: 1.26M]
  |  |  ------------------
  ------------------
  354|  4.34M|        {
  355|  4.34M|            return span<const value_type>{};
  356|  4.34M|        }
  357|  1.26M|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 324, False: 1.26M]
  |  Branch (357:32): [True: 164, False: 160]
  ------------------
  358|    164|        {
  359|    164|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|    164|            data_end_ = chunk_;
  361|    164|        }
  362|  1.26M|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 834, False: 1.26M]
  ------------------
  363|    834|        {
  364|    834|            buffer.clear();
  365|    834|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    834|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    834|        }
  368|       |
  369|  1.26M|        const value_type* data = data_end_;
  370|  1.26M|        data_end_ += length;
  371|  1.26M|        remaining_ -= length;
  372|  1.26M|        position_ += length;
  373|  1.26M|        return span<const value_type>(data, length);
  374|  1.26M|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr6nonstd7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSD_m:
  746|    834|    {
  747|    834|        std::size_t unread = length;
  748|       |
  749|  3.05k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 2.73k, False: 328]
  |  Branch (749:30): [True: 2.22k, False: 506]
  ------------------
  750|  2.22k|        {
  751|  2.22k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 483, False: 1.74k]
  |  Branch (751:44): [True: 482, False: 1]
  ------------------
  752|    482|            {
  753|    482|                std::size_t n = source.chunk_size();
  754|    482|                std::size_t offset = buffer.size();
  755|    482|                buffer.resize(offset+n);
  756|    482|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|    482|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|    482|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 59, False: 423]
  |  |  ------------------
  ------------------
  758|     59|                {
  759|     59|                    buffer.resize(offset+actual);
  760|     59|                }
  761|    482|                unread -= actual;
  762|    482|            }
  763|  1.74k|            else
  764|  1.74k|            {
  765|  1.74k|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|  1.74k|                std::size_t offset = buffer.size();
  767|  1.74k|                buffer.resize(offset+n);
  768|  1.74k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|  1.74k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|  1.74k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 266, False: 1.47k]
  |  |  ------------------
  ------------------
  770|    266|                {
  771|    266|                    buffer.resize(offset + actual);
  772|    266|                }
  773|  1.74k|                unread -= actual;
  774|  1.74k|            }
  775|  2.22k|        }
  776|    834|        return length - unread;
  777|    834|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  2.73k|    {
  272|  2.73k|        return remaining_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 989, False: 1.74k]
  |  Branch (272:35): [True: 506, False: 483]
  ------------------
  273|  2.73k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9remainingEv:
  346|  2.22k|    {
  347|  2.22k|        return remaining_;
  348|  2.22k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|  2.70k|    {
  262|  2.70k|        return chunk_size_;
  263|  2.70k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11read_bufferEPhm:
  435|    482|    {
  436|    482|        auto len = fill_buffer(chunk, chunk_size);
  437|    482|        position_ += len;
  438|    482|        return len;
  439|    482|    }

_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ImEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  672|  95.8k|        : storage_(n, alloc)
  673|  95.8k|    {
  674|  95.8k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ImEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  363|  95.8k|        : word_allocator_type(alloc)
  364|  95.8k|    {
  365|  95.8k|        ::new (&inlined_) inlined_storage(n);
  366|  95.8k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ImEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  141|  95.8k|            : is_allocated_(false),
  142|  95.8k|            is_negative_(false),
  143|  95.8k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (143:19): [True: 37.7k, False: 58.1k]
  ------------------
  144|  95.8k|        {
  145|  95.8k|            values_[0] = n;
  146|  95.8k|            values_[1] = 0;
  147|  95.8k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLImEENS1_9enable_ifIXsr6nonstd19is_unsigned_integerIT_EE5valueERS4_E4typeES7_:
 1030|  38.8k|    {
 1031|  38.8k|        auto words = get_words();
 1032|  38.8k|        size_type len = words.size();
 1033|  38.8k|        if (len == 0 || m == 0)
  ------------------
  |  Branch (1033:13): [True: 6.44k, False: 32.4k]
  |  Branch (1033:25): [True: 0, False: 32.4k]
  ------------------
 1034|  6.44k|        {
 1035|  6.44k|            resize(0);
 1036|  6.44k|            return *this;
 1037|  6.44k|        }
 1038|       |
 1039|  32.4k|        dword_type carry = 0;
 1040|  32.4k|        size_t i = 0;
 1041|  64.8k|        for (; i < len; ++i) {
  ------------------
  |  Branch (1041:16): [True: 32.4k, False: 32.4k]
  ------------------
 1042|  32.4k|            dword_type x = dword_type(words[i]) * m + carry;
 1043|  32.4k|            words[i] = static_cast<word_type>(x);
 1044|  32.4k|            carry = x >> 64;
 1045|  32.4k|        }
 1046|       |
 1047|  32.4k|        if (carry)
  ------------------
  |  Branch (1047:13): [True: 19.2k, False: 13.1k]
  ------------------
 1048|  19.2k|        {
 1049|  19.2k|            resize(len+1);
 1050|  19.2k|            words = get_words();
 1051|  19.2k|            words[i] = static_cast<word_type>(carry);
 1052|  19.2k|        }
 1053|       |
 1054|       |        /*
 1055|       |        word_type dig = words[0];
 1056|       |        word_type carry = 0;
 1057|       |
 1058|       |        resize(words.size() + 1);
 1059|       |        words = get_words();
 1060|       |
 1061|       |        size_type i = 0;
 1062|       |        for (; i < len; i++ )
 1063|       |        {
 1064|       |            word_type hi;
 1065|       |            word_type lo;
 1066|       |            DDproduct( dig, y, hi, lo );
 1067|       |            words[i] = lo + carry;
 1068|       |            dig = words[i+1];
 1069|       |            carry = hi + (words[i] < lo);
 1070|       |        }
 1071|       |        words[i] = carry;
 1072|       |        reduce(); 
 1073|       |        */ 
 1074|  32.4k|        return *this;
 1075|  38.8k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE9get_wordsEv:
  697|   570k|    {
  698|   570k|        return storage_.get_words();
  699|   570k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE9get_wordsEv:
  523|   792k|    {
  524|   792k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (524:16): [True: 250k, False: 542k]
  ------------------
  525|   250k|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  526|   792k|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  527|   792k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   67|   792k|            : data_(data), size_(size)
   68|   792k|        {
   69|   792k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   87|  1.29M|        {
   88|  1.29M|            return size_;
   89|  1.29M|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  850|  84.5k|    {
  851|  84.5k|        storage_.resize(new_length);
  852|  84.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  537|   187k|    {
  538|   187k|        size_type old_length = common_.size_;
  539|   187k|        reserve(new_length);
  540|   187k|        common_.size_ = new_length;
  541|       |
  542|   187k|        if (old_length < new_length)
  ------------------
  |  Branch (542:13): [True: 101k, False: 86.6k]
  ------------------
  543|   101k|        {
  544|   101k|            if (is_allocated())
  ------------------
  |  Branch (544:17): [True: 19.2k, False: 81.9k]
  ------------------
  545|  19.2k|            {
  546|  19.2k|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  547|  19.2k|            }
  548|  81.9k|            else
  549|  81.9k|            {
  550|  81.9k|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   54|  81.9k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 81.9k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  551|   213k|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (551:48): [True: 131k, False: 81.9k]
  ------------------
  552|   131k|                {
  553|   131k|                    inlined_.values_[i] = 0;
  554|   131k|                }
  555|  81.9k|            }
  556|   101k|        }
  557|   187k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  455|   187k|    {
  456|   187k|       if (capacity() < n)
  ------------------
  |  Branch (456:12): [True: 19.2k, False: 168k]
  ------------------
  457|  19.2k|       {
  458|  19.2k|           if (!is_allocated())
  ------------------
  |  Branch (458:16): [True: 19.2k, False: 0]
  ------------------
  459|  19.2k|           {
  460|  19.2k|               size_type size = inlined_.size_;
  461|  19.2k|               size_type is_neg = inlined_.is_negative_;
  462|  19.2k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  463|       |
  464|  19.2k|               ::new (&allocated_) allocated_storage();
  465|  19.2k|               allocated_.reserve(n, get_allocator());
  466|  19.2k|               allocated_.size_ = size;
  467|  19.2k|               allocated_.is_negative_ = is_neg;
  468|  19.2k|               if (n >= 1)
  ------------------
  |  Branch (468:20): [True: 19.2k, False: 0]
  ------------------
  469|  19.2k|               {
  470|  19.2k|                   allocated_.data_[0] = values[0];
  471|  19.2k|               }
  472|  19.2k|               if (n >= 2)
  ------------------
  |  Branch (472:20): [True: 19.2k, False: 0]
  ------------------
  473|  19.2k|               {
  474|  19.2k|                   allocated_.data_[1] = values[1];
  475|  19.2k|               }
  476|  19.2k|           }
  477|      0|           else
  478|      0|           {
  479|      0|               allocated_.reserve(n, get_allocator());
  480|      0|           }
  481|  19.2k|       }
  482|   187k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  508|   187k|    {
  509|   187k|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (509:16): [True: 38.5k, False: 149k]
  ------------------
  510|   187k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  206|  19.2k|            : is_allocated_(true),
  207|  19.2k|            is_negative_(false)
  208|  19.2k|        {
  209|  19.2k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  258|  19.2k|        {
  259|  19.2k|            JSONCONS_ASSERT(n < max_size);
  ------------------
  |  |   54|  19.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 19.2k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  260|  19.2k|            size_type capacity_new = round_up(n);
  261|       |
  262|  19.2k|            real_allocator_type alloc(a);
  263|  19.2k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  264|  19.2k|            if (size_ > 0)
  ------------------
  |  Branch (264:17): [True: 0, False: 19.2k]
  ------------------
  265|      0|            {
  266|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  267|      0|            }
  268|  19.2k|            if (data_ != nullptr)
  ------------------
  |  Branch (268:17): [True: 0, False: 19.2k]
  ------------------
  269|      0|            {
  270|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  271|      0|            }
  272|  19.2k|            capacity_ = capacity_new;
  273|  19.2k|            data_ = data_new;
  274|  19.2k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  278|  19.2k|        {
  279|  19.2k|            size_type remainder = i % mem_unit;
  280|  19.2k|            size_type off = mem_unit - remainder;
  281|  19.2k|            bool testoff = i < max_size - off;
  282|  19.2k|            JSONCONS_ASSERT(testoff);
  ------------------
  |  |   54|  19.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 19.2k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  283|       |
  284|  19.2k|            return i + off;
  285|  19.2k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  485|   402k|    {
  486|   402k|        return static_cast<const word_allocator_type&>(*this);
  487|   402k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  503|   897k|    {
  504|   897k|        return common_.is_allocated_;
  505|   897k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   72|   465k|        {
   73|   465k|            return data_[i];
   74|   465k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLImEENS1_9enable_ifIXaasr6nonstd19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  921|  12.5k|    {
  922|  12.5k|        if ( is_negative())
  ------------------
  |  Branch (922:14): [True: 0, False: 12.5k]
  ------------------
  923|      0|            return *this -= -basic_bigint<Allocator>(y);
  924|       |
  925|  12.5k|        word_type d;
  926|  12.5k|        word_type carry = 0;
  927|       |
  928|  12.5k|        auto words = get_words();
  929|  12.5k|        resize(words.size() + 1);
  930|       |
  931|  12.5k|        words = get_words();
  932|  12.5k|        const size_type this_size = words.size();
  933|  12.5k|        size_type y_size = 1;
  934|       |
  935|  12.5k|        d = words[0] + carry;
  936|  12.5k|        carry = d < carry;
  937|  12.5k|        words[0] = d + y;
  938|  12.5k|        if (words[0] < d)
  ------------------
  |  Branch (938:13): [True: 0, False: 12.5k]
  ------------------
  939|      0|            carry = 1;
  940|       |
  941|  12.5k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (941:36): [True: 11.6k, False: 923]
  |  Branch (941:53): [True: 0, False: 11.6k]
  ------------------
  942|      0|        {
  943|      0|            d = words[i] + carry;
  944|      0|            carry = d < carry;
  945|      0|            words[i] = d;
  946|      0|        }
  947|  12.5k|        reduce();
  948|  12.5k|        return *this;
  949|  12.5k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  707|   529k|    {
  708|   529k|        return storage_.is_negative();
  709|   529k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  513|   529k|    {
  514|   529k|        return common_.is_negative_;
  515|   529k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  867|  4.99k|    {
  868|  4.99k|        basic_bigint<Allocator> v(*this);
  869|  4.99k|        v.set_negative(!v.is_negative());
  870|  4.99k|        return v;
  871|  4.99k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  650|  38.1k|        : storage_(other.storage_)
  651|  38.1k|    {
  652|  38.1k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  302|  38.1k|        : word_allocator_type(other.get_allocator())
  303|  38.1k|    {
  304|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  305|       |# pragma GCC diagnostic push
  306|       |# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
  307|       |#endif
  308|  38.1k|        if (!other.is_allocated())
  ------------------
  |  Branch (308:13): [True: 18.8k, False: 19.2k]
  ------------------
  309|  18.8k|        {
  310|  18.8k|            ::new (&inlined_) inlined_storage(other.inlined_);
  311|  18.8k|        }
  312|  19.2k|        else
  313|  19.2k|        {
  314|  19.2k|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  315|  19.2k|        }
  316|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  317|       |# pragma GCC diagnostic pop
  318|       |#endif
  319|  38.1k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  181|   124k|            : is_allocated_(false),
  182|   124k|            is_negative_(stor.is_negative_),
  183|   124k|            size_(stor.size_)
  184|   124k|        {
  185|   124k|            values_[0] = stor.values_[0];
  186|   124k|            values_[1] = stor.values_[1];
  187|   124k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  212|  77.0k|            : is_allocated_(true),
  213|  77.0k|              is_negative_(stor.is_negative_),
  214|  77.0k|              size_(stor.size_),
  215|  77.0k|              capacity_(stor.capacity_)
  216|  77.0k|        {
  217|  77.0k|            real_allocator_type alloc(a);
  218|       |
  219|  77.0k|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  220|  77.0k|            JSONCONS_TRY
  ------------------
  |  |   37|  77.0k|    #define JSONCONS_TRY try
  ------------------
  221|  77.0k|            {
  222|  77.0k|                std::allocator_traits<real_allocator_type>::construct(alloc, nonstd::to_plain_pointer(data_));
  223|  77.0k|            }
  224|  77.0k|            JSONCONS_CATCH(...)
  225|  77.0k|            {
  226|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  227|      0|                data_ = nullptr;
  228|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  229|      0|            }
  230|  77.0k|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   54|  77.0k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 77.0k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  231|  77.0k|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  232|  77.0k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  728|   251k|    {
  729|   251k|        storage_.set_negative(value);
  730|   251k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  518|   251k|    {
  519|   251k|        common_.is_negative_ = value;
  520|   251k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 2039|   118k|    {
 2040|   118k|        storage_.reduce();
 2041|   118k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  432|   118k|    {
  433|   118k|        if (common_.size_ > 0)
  ------------------
  |  Branch (433:13): [True: 118k, False: 0]
  ------------------
  434|   118k|        {
  435|   118k|            auto words = get_words();
  436|   118k|            word_type* p = words.end() - 1;
  437|   118k|            word_type* first = words.begin();
  438|   186k|            while ( p >= first )
  ------------------
  |  Branch (438:21): [True: 170k, False: 15.7k]
  ------------------
  439|   170k|            {
  440|   170k|                if ( *p )
  ------------------
  |  Branch (440:22): [True: 103k, False: 67.3k]
  ------------------
  441|   103k|                {
  442|   103k|                    break;
  443|   103k|                }
  444|  67.3k|                --common_.size_;
  445|  67.3k|                --p;
  446|  67.3k|            }
  447|   118k|        }
  448|   118k|        if (common_.size_ == 0)
  ------------------
  |  Branch (448:13): [True: 15.7k, False: 103k]
  ------------------
  449|  15.7k|        {
  450|  15.7k|            common_.is_negative_ = false;
  451|  15.7k|        }
  452|   118k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
   96|   118k|        {
   97|   118k|            return data_ + size_;
   98|   118k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
   91|   118k|        {
   92|   118k|            return data_;
   93|   118k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16append_to_bufferIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1414|  38.8k|    {
 1415|  38.8k|        if (is_zero())
  ------------------
  |  Branch (1415:13): [True: 5.74k, False: 33.1k]
  ------------------
 1416|  5.74k|        {
 1417|  5.74k|            buf.push_back('0');
 1418|  5.74k|            return;
 1419|  5.74k|        }
 1420|  33.1k|        if (is_negative())
  ------------------
  |  Branch (1420:13): [True: 4.99k, False: 28.1k]
  ------------------
 1421|  4.99k|        {
 1422|  4.99k|            buf.push_back('-');
 1423|  4.99k|        }
 1424|  33.1k|        std::size_t pos = buf.size();
 1425|  33.1k|        basic_bigint<Allocator> v(*this);
 1426|  33.1k|        auto v_words = v.get_words();
 1427|       |
 1428|  33.1k|        size_type len = (v_words.size() * word_bits / 3) + 2;
 1429|  33.1k|        buf.reserve(len);
 1430|       |
 1431|  33.1k|        if ( v_words.size() == 0 )
  ------------------
  |  Branch (1431:14): [True: 0, False: 33.1k]
  ------------------
 1432|      0|        {
 1433|      0|            buf.push_back('0');
 1434|      0|        }
 1435|  33.1k|        else
 1436|  33.1k|        {
 1437|  33.1k|            word_type r;
 1438|  33.1k|            basic_bigint<Allocator> R(get_allocator());
 1439|  33.1k|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1440|       |
 1441|  33.1k|            do
 1442|  61.6k|            {
 1443|  61.6k|                v.divide( LP10, v, R, true );
 1444|  61.6k|                v_words = v.get_words();
 1445|       |
 1446|  61.6k|                auto R_words = R.get_words();
 1447|  61.6k|                r = (R_words.size() ? R_words[0] : 0);
  ------------------
  |  Branch (1447:22): [True: 48.0k, False: 13.6k]
  ------------------
 1448|   778k|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1448:38): [True: 750k, False: 28.5k]
  ------------------
 1449|   750k|                {
 1450|   750k|                    buf.push_back(char(r % 10u + '0'));
 1451|   750k|                    r /= 10u;
 1452|   750k|                    if ( r + v_words.size() == 0 )
  ------------------
  |  Branch (1452:26): [True: 33.1k, False: 717k]
  ------------------
 1453|  33.1k|                        break;
 1454|   750k|                }
 1455|  61.6k|            } 
 1456|  61.6k|            while ( v_words.size() > 0);
  ------------------
  |  Branch (1456:21): [True: 28.5k, False: 33.1k]
  ------------------
 1457|       |
 1458|  33.1k|            std::reverse(buf.begin()+pos,buf.end());
 1459|  33.1k|        }
 1460|  33.1k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7is_zeroEv:
 2160|  38.8k|    bool is_zero() const {
 2161|  38.8k|        return get_words().size() == 0;
 2162|  38.8k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9get_wordsEv:
  702|   253k|    {
  703|   253k|        return storage_.get_words();
  704|   253k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE9get_wordsEv:
  530|   356k|    {
  531|   356k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (531:16): [True: 115k, False: 241k]
  ------------------
  532|   115k|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  533|   356k|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  534|   356k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   67|   356k|            : data_(data), size_(size)
   68|   356k|        {
   69|   356k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   87|   694k|        {
   88|   694k|            return size_;
   89|   694k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  692|   229k|    {
  693|   229k|        return storage_.get_allocator();
  694|   229k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  623|  33.1k|        : storage_(alloc)
  624|  33.1k|    {
  625|  33.1k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  296|  33.1k|        : word_allocator_type(alloc)
  297|  33.1k|    {
  298|  33.1k|        ::new (&inlined_) inlined_storage();
  299|  33.1k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  116|  33.1k|            : is_allocated_(false),
  117|  33.1k|            is_negative_(false),
  118|  33.1k|            size_(0),
  119|  33.1k|            values_{0, 0}
  120|  33.1k|        {
  121|  33.1k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1796|  61.6k|    {
 1797|  61.6k|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1798|  61.6k|        auto denom_words = denom.get_words();
 1799|       |
 1800|  61.6k|        if (denom_words.size() == 0)
  ------------------
  |  Branch (1800:13): [True: 0, False: 61.6k]
  ------------------
 1801|      0|        {
 1802|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1803|      0|        }
 1804|  61.6k|        bool quot_neg = is_negative() ^ denom.is_negative();
 1805|  61.6k|        bool rem_neg = is_negative();
 1806|  61.6k|        basic_bigint<Allocator> num(*this, get_allocator());
 1807|  61.6k|        num.set_negative(false);
 1808|  61.6k|        denom.set_negative(false);
 1809|  61.6k|        if ( num < denom )
  ------------------
  |  Branch (1809:14): [True: 33.1k, False: 28.5k]
  ------------------
 1810|  33.1k|        {
 1811|  33.1k|            quot = word_type(0);
 1812|  33.1k|            quot.set_negative(quot_neg);
 1813|  33.1k|            rem = num;
 1814|  33.1k|            rem.set_negative(rem_neg);
 1815|  33.1k|            return;
 1816|  33.1k|        }
 1817|       |
 1818|  28.5k|        auto num_words = num.get_words();
 1819|  28.5k|        auto quot_words = quot.get_words();
 1820|  28.5k|        auto words = get_words();
 1821|       |
 1822|  28.5k|        if ( denom_words.size() == 1 && num_words.size() == 1 )
  ------------------
  |  Branch (1822:14): [True: 28.5k, False: 0]
  |  Branch (1822:41): [True: 8.54k, False: 19.9k]
  ------------------
 1823|  8.54k|        {
 1824|  8.54k|            quot = word_type( num_words[0]/denom_words[0] );
 1825|  8.54k|            rem = word_type( num_words[0]%denom_words[0] );
 1826|  8.54k|            quot.set_negative(quot_neg);
 1827|  8.54k|            rem.set_negative(rem_neg);
 1828|  8.54k|            return;
 1829|  8.54k|        }
 1830|  19.9k|        if (denom_words.size() == 1 && (denom_words[0] & l_mask) == 0 )
  ------------------
  |  Branch (1830:13): [True: 19.9k, False: 0]
  |  Branch (1830:40): [True: 0, False: 19.9k]
  ------------------
 1831|      0|        {
 1832|       |            // Denominator fits into a half word
 1833|      0|            word_type divisor = denom_words[0], dHi = 0, q1, r, q2, dividend;
 1834|      0|            quot.resize(words.size());
 1835|      0|            quot_words = quot.get_words();
 1836|      0|            for (size_type i=words.size(); i-- > 0; )
  ------------------
  |  Branch (1836:44): [True: 0, False: 0]
  ------------------
 1837|      0|            {
 1838|      0|                dividend = (dHi << word_half_bits) | (words[i] >> word_half_bits);
 1839|      0|                q1 = dividend/divisor;
 1840|      0|                r = dividend % divisor;
 1841|      0|                dividend = (r << word_half_bits) | (words[i] & r_mask);
 1842|      0|                q2 = dividend/divisor;
 1843|      0|                dHi = dividend % divisor;
 1844|      0|                quot_words[i] = (q1 << word_half_bits) | q2;
 1845|      0|            }
 1846|      0|            quot.reduce();
 1847|      0|            rem = dHi;
 1848|      0|            quot.set_negative(quot_neg);
 1849|      0|            rem.set_negative(rem_neg);
 1850|      0|            return;
 1851|      0|        }
 1852|  19.9k|        basic_bigint<Allocator> num0(num, get_allocator());
 1853|  19.9k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1854|  19.9k|        int x = 0;
 1855|  19.9k|        bool second_done = normalize(denom, num, x);
 1856|  19.9k|        denom_words = denom.get_words();
 1857|  19.9k|        num_words = num.get_words();
 1858|       |
 1859|  19.9k|        size_type l = denom_words.size() - 1;
 1860|  19.9k|        size_type n = num_words.size() - 1;
 1861|  19.9k|        quot.resize(n - l);
 1862|  19.9k|        quot_words = quot.get_words();
 1863|  39.9k|        for (size_type i = quot_words.size(); i-- > 0; )
  ------------------
  |  Branch (1863:47): [True: 19.9k, False: 19.9k]
  ------------------
 1864|  19.9k|        {
 1865|  19.9k|            quot_words[i] = 0;
 1866|  19.9k|        }
 1867|  19.9k|        rem = num;
 1868|  19.9k|        auto rem_words = rem.get_words();
 1869|  19.9k|        if ( rem_words[n] >= denom_words[l] )
  ------------------
  |  Branch (1869:14): [True: 0, False: 19.9k]
  ------------------
 1870|      0|        {
 1871|      0|            rem.resize(rem_words.size() + 1);
 1872|      0|            rem_words = rem.get_words();
 1873|      0|            n++;
 1874|      0|            quot.resize(quot_words.size() + 1);
 1875|      0|            quot_words = quot.get_words();
 1876|      0|        }
 1877|  19.9k|        word_type d = denom_words[l];
 1878|       |
 1879|  39.9k|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1879:32): [True: 19.9k, False: 19.9k]
  ------------------
 1880|  19.9k|        {
 1881|  19.9k|            word_type q = DDquotient(rem_words[k], rem_words[k-1], d);
 1882|  19.9k|            subtractmul( rem_words.data() + (k - l - 1), denom_words.data(), l + 1, q );
 1883|  19.9k|            quot_words[k - l - 1] = q;
 1884|  19.9k|        }
 1885|  19.9k|        quot.reduce();
 1886|  19.9k|        quot.set_negative(quot_neg);
 1887|  19.9k|        if (remDesired)
  ------------------
  |  Branch (1887:13): [True: 19.9k, False: 0]
  ------------------
 1888|  19.9k|        {
 1889|  19.9k|            unnormalize(rem, x, second_done);
 1890|  19.9k|            rem.set_negative(rem_neg);
 1891|  19.9k|        }
 1892|  19.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  655|   163k|        : storage_(other.storage_, alloc)
  656|   163k|    {
  657|   163k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  322|   163k|        : word_allocator_type(alloc)
  323|   163k|    {
  324|   163k|        if (!other.is_allocated())
  ------------------
  |  Branch (324:13): [True: 105k, False: 57.7k]
  ------------------
  325|   105k|        {
  326|   105k|            ::new (&inlined_) inlined_storage(other.inlined_);
  327|   105k|        }
  328|  57.7k|        else
  329|  57.7k|        {
  330|  57.7k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  331|  57.7k|        }
  332|   163k|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1537|  61.6k|    {
 1538|  61.6k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1538:15): [True: 33.1k, False: 28.5k]
  ------------------
 1539|  61.6k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1702|  87.9k|    {
 1703|  87.9k|        auto words = get_words();
 1704|  87.9k|        auto y_words = y.get_words();
 1705|       |
 1706|  87.9k|        const size_type y_size = y_words.size();
 1707|  87.9k|        if ( words.size() == 0 && y_size == 0 )
  ------------------
  |  Branch (1707:14): [True: 5.52k, False: 82.4k]
  |  Branch (1707:35): [True: 5.52k, False: 0]
  ------------------
 1708|  5.52k|            return 0;
 1709|  82.4k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1709:14): [True: 4.99k, False: 77.4k]
  ------------------
 1710|  4.99k|            return y.is_negative() - is_negative();
 1711|  77.4k|        int code = 0;
 1712|  77.4k|        if ( words.size() < y_size)
  ------------------
  |  Branch (1712:14): [True: 0, False: 77.4k]
  ------------------
 1713|      0|            code = -1;
 1714|  77.4k|        else if ( words.size() > y_size)
  ------------------
  |  Branch (1714:19): [True: 35.7k, False: 41.6k]
  ------------------
 1715|  35.7k|            code = +1;
 1716|  41.6k|        else
 1717|  41.6k|        {
 1718|  45.3k|            for (size_type i = words.size(); i-- > 0; )
  ------------------
  |  Branch (1718:46): [True: 41.6k, False: 3.67k]
  ------------------
 1719|  41.6k|            {
 1720|  41.6k|                if (words[i] > y_words[i])
  ------------------
  |  Branch (1720:21): [True: 4.87k, False: 36.7k]
  ------------------
 1721|  4.87k|                {
 1722|  4.87k|                    code = 1;
 1723|  4.87k|                    break;
 1724|  4.87k|                }
 1725|  36.7k|                else if (words[i] < y_words[i])
  ------------------
  |  Branch (1725:26): [True: 33.1k, False: 3.67k]
  ------------------
 1726|  33.1k|                {
 1727|  33.1k|                    code = -1;
 1728|  33.1k|                    break;
 1729|  33.1k|                }
 1730|  41.6k|            }
 1731|  41.6k|        }
 1732|  77.4k|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1732:16): [True: 0, False: 77.4k]
  ------------------
 1733|  82.4k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  874|   103k|    {
  875|   103k|        storage_ = y.storage_;
  876|   103k|        return *this;
  877|   103k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  369|   103k|    {
  370|   103k|        if (this != &other)
  ------------------
  |  Branch (370:13): [True: 103k, False: 0]
  ------------------
  371|   103k|        {
  372|   103k|            auto other_words = other.get_words();
  373|   103k|            resize(other_words.size());
  374|   103k|            auto words = get_words();
  375|   103k|            if (other_words.size() > 0)
  ------------------
  |  Branch (375:17): [True: 66.5k, False: 36.7k]
  ------------------
  376|  66.5k|            {
  377|  66.5k|                common_.is_negative_ = other.common_.is_negative_;
  378|  66.5k|                std::memcpy(words.data(), other_words.data(), size_type(other_words.size()*sizeof(word_type)));
  379|  66.5k|            }
  380|   103k|        }
  381|   103k|        return *this;
  382|   103k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   82|  66.5k|        {
   83|  66.5k|            return data_;
   84|  66.5k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   72|   160k|        {
   73|   160k|            return data_[i];
   74|   160k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 1994|  19.9k|    {
 1995|  19.9k|        auto denom_words = denom.get_words();
 1996|  19.9k|        if (denom_words.size() == 0)
  ------------------
  |  Branch (1996:13): [True: 0, False: 19.9k]
  ------------------
 1997|      0|        {
 1998|      0|            return false;
 1999|      0|        }
 2000|  19.9k|        size_type r = denom_words.size() - 1;
 2001|  19.9k|        word_type y = denom_words[r];
 2002|       |
 2003|  19.9k|        x = 0;
 2004|  19.9k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (2004:17): [True: 0, False: 19.9k]
  ------------------
 2005|      0|        {
 2006|      0|            y <<= 1;
 2007|      0|            x++;
 2008|      0|        }
 2009|  19.9k|        denom <<= x;
 2010|  19.9k|        num <<= x;
 2011|       |
 2012|  19.9k|        denom_words = denom.get_words();
 2013|  19.9k|        if ( r > 0 && denom_words[r] < denom_words[r-1] )
  ------------------
  |  Branch (2013:14): [True: 0, False: 19.9k]
  |  Branch (2013:23): [True: 0, False: 0]
  ------------------
 2014|      0|        {
 2015|      0|            denom *= max_word;
 2016|      0|            num *= max_word;
 2017|      0|            return true;
 2018|      0|        }
 2019|  19.9k|        return false;
 2020|  19.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1172|  39.9k|    {
 1173|  39.9k|        auto words = get_words();
 1174|  39.9k|        size_type q = k / word_bits;
 1175|  39.9k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1175:14): [True: 0, False: 39.9k]
  ------------------
 1176|      0|        {
 1177|      0|            resize(words.size() + q);
 1178|      0|            words = get_words();
 1179|      0|            for (size_type i = words.size(); i-- > 0; )
  ------------------
  |  Branch (1179:46): [True: 0, False: 0]
  ------------------
 1180|      0|                words[i] = ( i < q ? 0 : words[i - q]);
  ------------------
  |  Branch (1180:30): [True: 0, False: 0]
  ------------------
 1181|      0|            k %= word_bits;
 1182|      0|        }
 1183|  39.9k|        if ( k )  // 0 < k < word_bits:
  ------------------
  |  Branch (1183:14): [True: 0, False: 39.9k]
  ------------------
 1184|      0|        {
 1185|      0|            size_type k1 = word_bits - k;
 1186|      0|            word_type mask = (word_type(1) << k) - word_type(1);
 1187|      0|            resize( words.size() + 1 );
 1188|      0|            words = get_words();
 1189|      0|            for (size_type i = words.size(); i-- > 0; )
  ------------------
  |  Branch (1189:46): [True: 0, False: 0]
  ------------------
 1190|      0|            {
 1191|      0|                words[i] <<= k;
 1192|      0|                if ( i > 0 )
  ------------------
  |  Branch (1192:22): [True: 0, False: 0]
  ------------------
 1193|      0|                    words[i] |= (words[i-1] >> k1) & mask;
 1194|      0|            }
 1195|      0|        }
 1196|  39.9k|        reduce();
 1197|  39.9k|        return *this;
 1198|  39.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1921|  19.9k|    {
 1922|  19.9k|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1923|  19.9k|                   dHi = d >> word_half_bits, dLo = d & r_mask;
 1924|  19.9k|        qHi = A/(dHi + 1);
 1925|       |        // This initial guess of qHi may be too small.
 1926|  19.9k|        middle = qHi * dLo;
 1927|  19.9k|        left = qHi * dHi;
 1928|  19.9k|        x = B - (middle << word_half_bits);
 1929|  19.9k|        A -= (middle >> word_half_bits) + left + (x > B);
 1930|  19.9k|        B = x;
 1931|  19.9k|        dLo1 = dLo << word_half_bits;
 1932|       |        // Increase qHi if necessary:
 1933|  19.9k|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1933:17): [True: 0, False: 19.9k]
  |  Branch (1933:29): [True: 0, False: 19.9k]
  |  Branch (1933:41): [True: 0, False: 0]
  ------------------
 1934|      0|        {
 1935|      0|            x = B - dLo1;
 1936|      0|            A -= dHi + (x > B);
 1937|      0|            B = x;
 1938|      0|            qHi++;
 1939|      0|        }
 1940|  19.9k|        qLo = ((A << word_half_bits) | (B >> word_half_bits))/(dHi + 1);
 1941|       |        // This initial guess of qLo may be too small.
 1942|  19.9k|        right = qLo * dLo;
 1943|  19.9k|        middle = qLo * dHi;
 1944|  19.9k|        x = B - right;
 1945|  19.9k|        A -= (x > B);
 1946|  19.9k|        B = x;
 1947|  19.9k|        x = B - (middle << word_half_bits);
 1948|  19.9k|            A -= (middle >> word_half_bits) + (x > B);
 1949|  19.9k|        B = x;
 1950|       |        // Increase qLo if necessary:
 1951|  31.8k|        while ( A || B >= d )
  ------------------
  |  Branch (1951:17): [True: 0, False: 31.8k]
  |  Branch (1951:22): [True: 11.8k, False: 19.9k]
  ------------------
 1952|  11.8k|        {
 1953|  11.8k|            x = B - d;
 1954|  11.8k|            A -= (x > B);
 1955|  11.8k|            B = x;
 1956|  11.8k|            qLo++;
 1957|  11.8k|        }
 1958|  19.9k|        return (qHi << word_half_bits) + qLo;
 1959|  19.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1963|  19.9k|    {
 1964|  19.9k|        word_type hi, lo, d, carry = 0;
 1965|  19.9k|        size_type i;
 1966|  39.9k|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1966:22): [True: 19.9k, False: 19.9k]
  ------------------
 1967|  19.9k|        {
 1968|  19.9k|            DDproduct( b[i], q, hi, lo );
 1969|  19.9k|            d = a[i];
 1970|  19.9k|            a[i] -= lo;
 1971|  19.9k|            if ( a[i] > d )
  ------------------
  |  Branch (1971:18): [True: 3.75k, False: 16.2k]
  ------------------
 1972|  3.75k|                carry++;
 1973|  19.9k|            d = a[i + 1];
 1974|  19.9k|            a[i + 1] -= hi + carry;
 1975|  19.9k|            carry = a[i + 1] > d;
 1976|  19.9k|        }
 1977|  19.9k|        if ( carry ) // q was too large
  ------------------
  |  Branch (1977:14): [True: 0, False: 19.9k]
  ------------------
 1978|      0|        {
 1979|      0|            q--;
 1980|      0|            carry = 0;
 1981|      0|            for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1981:26): [True: 0, False: 0]
  ------------------
 1982|      0|            {
 1983|      0|                d = a[i] + carry;
 1984|      0|                carry = d < carry;
 1985|      0|                a[i] = d + b[i];
 1986|      0|                if ( a[i] < d )
  ------------------
  |  Branch (1986:22): [True: 0, False: 0]
  ------------------
 1987|      0|                    carry = 1;
 1988|      0|            }
 1989|      0|            a[n] = 0;
 1990|      0|        }
 1991|  19.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1903|  19.9k|    {
 1904|  19.9k|        word_type hiA = A >> word_half_bits, loA = A & r_mask,
 1905|  19.9k|                   hiB = B >> word_half_bits, loB = B & r_mask;
 1906|       |
 1907|  19.9k|        lo = loA * loB;
 1908|  19.9k|        hi = hiA * hiB;
 1909|  19.9k|        word_type mid1 = loA * hiB;
 1910|  19.9k|        word_type mid2 = hiA * loB;
 1911|  19.9k|        word_type old = lo;
 1912|  19.9k|        lo += mid1 << word_half_bits;
 1913|  19.9k|            hi += (lo < old) + (mid1 >> word_half_bits);
 1914|  19.9k|        old = lo;
 1915|  19.9k|        lo += mid2 << word_half_bits;
 1916|  19.9k|            hi += (lo < old) + (mid2 >> word_half_bits);
 1917|  19.9k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   82|   106k|        {
   83|   106k|            return data_;
   84|   106k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 2023|  19.9k|    {
 2024|  19.9k|        if (secondDone)
  ------------------
  |  Branch (2024:13): [True: 0, False: 19.9k]
  ------------------
 2025|      0|        {
 2026|      0|            rem /= max_word;
 2027|      0|        }
 2028|  19.9k|        if ( x > 0 )
  ------------------
  |  Branch (2028:14): [True: 0, False: 19.9k]
  ------------------
 2029|      0|        {
 2030|      0|            rem >>= x;
 2031|      0|        }
 2032|  19.9k|        else
 2033|  19.9k|        {
 2034|  19.9k|            rem.reduce();
 2035|  19.9k|        }
 2036|  19.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  687|   387k|    {
  688|   387k|        storage_.destroy();
  689|   387k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  490|   387k|    {
  491|   387k|        if (is_allocated())
  ------------------
  |  Branch (491:13): [True: 96.2k, False: 291k]
  ------------------
  492|  96.2k|        {
  493|  96.2k|            allocated_.destroy(get_allocator());
  494|  96.2k|            allocated_.~allocated_storage();
  495|  96.2k|        }
  496|   291k|        else
  497|   291k|        {
  498|   291k|            inlined_.~inlined_storage();
  499|   291k|        }
  500|   387k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  249|  96.2k|        {
  250|  96.2k|            if (data_ != nullptr)
  ------------------
  |  Branch (250:17): [True: 96.2k, False: 0]
  ------------------
  251|  96.2k|            {
  252|  96.2k|                real_allocator_type alloc(a);
  253|  96.2k|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  254|  96.2k|            }
  255|  96.2k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IlEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  672|  52.6k|        : storage_(n, alloc)
  673|  52.6k|    {
  674|  52.6k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IlEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  363|  52.6k|        : word_allocator_type(alloc)
  364|  52.6k|    {
  365|  52.6k|        ::new (&inlined_) inlined_storage(n);
  366|  52.6k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IlEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  128|  52.6k|            : is_allocated_(false),
  129|  52.6k|            is_negative_(n < 0),
  130|  52.6k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (130:19): [True: 31.8k, False: 20.7k]
  ------------------
  131|  52.6k|        {
  132|  52.6k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (132:26): [True: 4.99k, False: 47.6k]
  ------------------
  133|  52.6k|            values_[1] = 0;
  134|  52.6k|        }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEEl:
 1542|  26.3k|    {
 1543|  26.3k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1543:15): [True: 4.99k, False: 21.3k]
  ------------------
 1544|  26.3k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IjEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  672|  4.99k|        : storage_(n, alloc)
  673|  4.99k|    {
  674|  4.99k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IjEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  363|  4.99k|        : word_allocator_type(alloc)
  364|  4.99k|    {
  365|  4.99k|        ::new (&inlined_) inlined_storage(n);
  366|  4.99k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IjEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  141|  4.99k|            : is_allocated_(false),
  142|  4.99k|            is_negative_(false),
  143|  4.99k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (143:19): [True: 955, False: 4.04k]
  ------------------
  144|  4.99k|        {
  145|  4.99k|            values_[0] = n;
  146|  4.99k|            values_[1] = 0;
  147|  4.99k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  986|  4.99k|    {
  987|  4.99k|        auto y_words = y.get_words();
  988|       |
  989|  4.99k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (989:14): [True: 4.99k, False: 0]
  ------------------
  990|  4.99k|            return *this += -y;
  991|      0|        if ( (!is_negative() && y > *this) || (is_negative() && y < *this) )
  ------------------
  |  Branch (991:15): [True: 0, False: 0]
  |  Branch (991:33): [True: 0, False: 0]
  |  Branch (991:48): [True: 0, False: 0]
  |  Branch (991:65): [True: 0, False: 0]
  ------------------
  992|      0|            return *this = -(y - *this);
  993|      0|        word_type borrow = 0;
  994|      0|        word_type d;
  995|      0|        auto words = get_words();
  996|      0|        const size_type this_size = words.size();
  997|      0|        const size_type y_size = y_words.size();
  998|       |
  999|      0|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (999:31): [True: 0, False: 0]
  ------------------
 1000|      0|        {
 1001|      0|            d = words[i] - borrow;
 1002|      0|            borrow = d > words[i];
 1003|      0|            words[i] = d - y_words[i];
 1004|      0|            if ( words[i] > d )
  ------------------
  |  Branch (1004:18): [True: 0, False: 0]
  ------------------
 1005|      0|                borrow = 1;
 1006|      0|        }
 1007|      0|        for (size_type i = y_size; i < this_size && borrow != 0; i++ )
  ------------------
  |  Branch (1007:36): [True: 0, False: 0]
  |  Branch (1007:53): [True: 0, False: 0]
  ------------------
 1008|      0|        {
 1009|      0|            d = words[i] - borrow;
 1010|      0|            borrow = d > words[i];
 1011|      0|            words[i] = d;
 1012|      0|        }
 1013|      0|        reduce();
 1014|      0|        return *this;
 1015|      0|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLERKS4_:
  952|  4.99k|    {
  953|  4.99k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (953:14): [True: 0, False: 4.99k]
  ------------------
  954|      0|            return *this -= -y;
  955|       |
  956|  4.99k|        auto y_words = y.get_words();
  957|       |        
  958|  4.99k|        word_type d;
  959|  4.99k|        word_type carry = 0;
  960|       |
  961|  4.99k|        auto words = get_words();
  962|  4.99k|        resize( (std::max)(y_words.size(), words.size()) + 1 );
  963|  4.99k|        words = get_words();
  964|       |
  965|  4.99k|        const size_t this_size = words.size();
  966|  4.99k|        const size_t y_size = y_words.size();
  967|  9.04k|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (967:31): [True: 4.04k, False: 4.99k]
  ------------------
  968|  4.04k|        {
  969|  4.04k|            d = words[i] + carry;
  970|  4.04k|            carry = d < carry;
  971|  4.04k|            words[i] = d + y_words[i];
  972|  4.04k|            if (words[i] < d)
  ------------------
  |  Branch (972:17): [True: 898, False: 3.14k]
  ------------------
  973|    898|                carry = 1;
  974|  4.04k|        }
  975|  5.89k|        for (size_type i = y_size; i < this_size && carry != 0; i++ )
  ------------------
  |  Branch (975:36): [True: 5.20k, False: 697]
  |  Branch (975:53): [True: 898, False: 4.30k]
  ------------------
  976|    898|        {
  977|    898|            d = words[i] + carry;
  978|    898|            carry = d < carry;
  979|    898|            words[i] = d;
  980|    898|        }
  981|  4.99k|        reduce();
  982|  4.99k|        return *this;
  983|  4.99k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLIjEENS1_9enable_ifIXaasr6nonstd19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  921|  21.3k|    {
  922|  21.3k|        if ( is_negative())
  ------------------
  |  Branch (922:14): [True: 0, False: 21.3k]
  ------------------
  923|      0|            return *this -= -basic_bigint<Allocator>(y);
  924|       |
  925|  21.3k|        word_type d;
  926|  21.3k|        word_type carry = 0;
  927|       |
  928|  21.3k|        auto words = get_words();
  929|  21.3k|        resize(words.size() + 1);
  930|       |
  931|  21.3k|        words = get_words();
  932|  21.3k|        const size_type this_size = words.size();
  933|  21.3k|        size_type y_size = 1;
  934|       |
  935|  21.3k|        d = words[0] + carry;
  936|  21.3k|        carry = d < carry;
  937|  21.3k|        words[0] = d + y;
  938|  21.3k|        if (words[0] < d)
  ------------------
  |  Branch (938:13): [True: 1.86k, False: 19.4k]
  ------------------
  939|  1.86k|            carry = 1;
  940|       |
  941|  23.1k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (941:36): [True: 17.6k, False: 5.55k]
  |  Branch (941:53): [True: 1.86k, False: 15.7k]
  ------------------
  942|  1.86k|        {
  943|  1.86k|            d = words[i] + carry;
  944|  1.86k|            carry = d < carry;
  945|  1.86k|            words[i] = d;
  946|  1.86k|        }
  947|  21.3k|        reduce();
  948|  21.3k|        return *this;
  949|  21.3k|    }

_ZN8jsoncons6binary13big_to_nativeIfNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  66.8k|    {
  183|  66.8k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 66.8k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  66.8k|        T val;
  188|  66.8k|        std::memcpy(&val,first,sizeof(T));
  189|  66.8k|        return byte_swap(val);
  190|  66.8k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|  66.8k|    {
   65|  66.8k|        uint32_t x;
   66|  66.8k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|  66.8k|        uint32_t y = byte_swap(x);
   68|  66.8k|        T val2;
   69|  66.8k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|  66.8k|        return val2;
   71|  66.8k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|   105k|    {
   40|   105k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|   105k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  463|   105k|#  define JSONCONS_BYTE_SWAP_32 __builtin_bswap32
  ------------------
   42|       |    #else
   43|       |        uint32_t tmp = ((static_cast<uint32_t>(val) << 8) & 0xff00ff00) | ((static_cast<uint32_t>(val) >> 8) & 0xff00ff);
   44|       |        return (tmp << 16) | (tmp >> 16);
   45|       |    #endif
   46|   105k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  14.3k|    {
  183|  14.3k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 14.3k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  14.3k|        T val;
  188|  14.3k|        std::memcpy(&val,first,sizeof(T));
  189|  14.3k|        return byte_swap(val);
  190|  14.3k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  14.3k|    {
   77|  14.3k|        uint64_t x;
   78|  14.3k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  14.3k|        uint64_t y = byte_swap(x);
   80|  14.3k|        T val2;
   81|  14.3k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  14.3k|        return val2;
   83|  14.3k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  28.6k|    {
   52|  28.6k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  28.6k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  462|  28.6k|#  define JSONCONS_BYTE_SWAP_64 __builtin_bswap64
  ------------------
   54|       |    #else
   55|       |        uint64_t tmp = ((static_cast<uint64_t>(val) & 0x00000000ffffffffull) << 32) | ((static_cast<uint64_t>(val) & 0xffffffff00000000ull) >> 32);
   56|       |        tmp = ((tmp & 0x0000ffff0000ffffull) << 16) | ((tmp & 0xffff0000ffff0000ull) >> 16);
   57|       |        return ((tmp & 0x00ff00ff00ff00ffull) << 8)  | ((tmp & 0xff00ff00ff00ff00ull) >> 8);
   58|       |    #endif
   59|  28.6k|    }
_ZN8jsoncons6binary13big_to_nativeItNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  22.1k|    {
  183|  22.1k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 22.1k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  22.1k|        T val;
  188|  22.1k|        std::memcpy(&val,first,sizeof(T));
  189|  22.1k|        return byte_swap(val);
  190|  22.1k|    }
_ZN8jsoncons6binary9byte_swapItEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  22.1k|    {
   29|  22.1k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  22.1k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  467|  22.1k|#      define JSONCONS_BYTE_SWAP_16    __builtin_bswap16
  ------------------
   31|       |    #else
   32|       |        return (static_cast<uint16_t>(val) >> 8) | (static_cast<uint16_t>(val) << 8);
   33|       |    #endif
   34|  22.1k|    }
_ZN8jsoncons6binary13big_to_nativeIjNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  38.8k|    {
  183|  38.8k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 38.8k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  38.8k|        T val;
  188|  38.8k|        std::memcpy(&val,first,sizeof(T));
  189|  38.8k|        return byte_swap(val);
  190|  38.8k|    }
_ZN8jsoncons6binary13big_to_nativeImNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  14.3k|    {
  183|  14.3k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 14.3k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  14.3k|        T val;
  188|  14.3k|        std::memcpy(&val,first,sizeof(T));
  189|  14.3k|        return byte_swap(val);
  190|  14.3k|    }
_ZN8jsoncons6binary13big_to_nativeIaNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  1.30M|    {
  183|  1.30M|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 1.30M]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  1.30M|        T val;
  188|  1.30M|        std::memcpy(&val,first,sizeof(T));
  189|  1.30M|        return byte_swap(val);
  190|  1.30M|    }
_ZN8jsoncons6binary9byte_swapIaEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|  1.30M|    {
   22|  1.30M|        return val;
   23|  1.30M|    }
_ZN8jsoncons6binary13big_to_nativeIsNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  71.1k|    {
  183|  71.1k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 71.1k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  71.1k|        T val;
  188|  71.1k|        std::memcpy(&val,first,sizeof(T));
  189|  71.1k|        return byte_swap(val);
  190|  71.1k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  71.1k|    {
   29|  71.1k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  71.1k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  467|  71.1k|#      define JSONCONS_BYTE_SWAP_16    __builtin_bswap16
  ------------------
   31|       |    #else
   32|       |        return (static_cast<uint16_t>(val) >> 8) | (static_cast<uint16_t>(val) << 8);
   33|       |    #endif
   34|  71.1k|    }
_ZN8jsoncons6binary13big_to_nativeIiNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  5.54k|    {
  183|  5.54k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 5.54k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  5.54k|        T val;
  188|  5.54k|        std::memcpy(&val,first,sizeof(T));
  189|  5.54k|        return byte_swap(val);
  190|  5.54k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  5.54k|    {
   40|  5.54k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  5.54k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  463|  5.54k|#  define JSONCONS_BYTE_SWAP_32 __builtin_bswap32
  ------------------
   42|       |    #else
   43|       |        uint32_t tmp = ((static_cast<uint32_t>(val) << 8) & 0xff00ff00) | ((static_cast<uint32_t>(val) >> 8) & 0xff00ff);
   44|       |        return (tmp << 16) | (tmp >> 16);
   45|       |    #endif
   46|  5.54k|    }
_ZN8jsoncons6binary13big_to_nativeIlNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  27.6k|    {
  183|  27.6k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 27.6k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  27.6k|        T val;
  188|  27.6k|        std::memcpy(&val,first,sizeof(T));
  189|  27.6k|        return byte_swap(val);
  190|  27.6k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  27.6k|    {
   52|  27.6k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  27.6k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  462|  27.6k|#  define JSONCONS_BYTE_SWAP_64 __builtin_bswap64
  ------------------
   54|       |    #else
   55|       |        uint64_t tmp = ((static_cast<uint64_t>(val) & 0x00000000ffffffffull) << 32) | ((static_cast<uint64_t>(val) & 0xffffffff00000000ull) >> 32);
   56|       |        tmp = ((tmp & 0x0000ffff0000ffffull) << 16) | ((tmp & 0xffff0000ffff0000ull) >> 16);
   57|       |        return ((tmp & 0x00ff00ff00ff00ffull) << 8)  | ((tmp & 0xff00ff00ff00ff00ull) >> 8);
   58|       |    #endif
   59|  27.6k|    }
_ZN8jsoncons6binary13big_to_nativeIhNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   232k|    {
  183|   232k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 232k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   232k|        T val;
  188|   232k|        std::memcpy(&val,first,sizeof(T));
  189|   232k|        return byte_swap(val);
  190|   232k|    }
_ZN8jsoncons6binary9byte_swapIhEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|   232k|    {
   22|   232k|        return val;
   23|   232k|    }

_ZNK8jsoncons16byte_string_view4dataEv:
  399|  4.71M|        {
  400|  4.71M|            return data_;
  401|  4.71M|        }
_ZNK8jsoncons16byte_string_view4sizeEv:
  403|  4.71M|        {
  404|  4.71M|            return size_;
  405|  4.71M|        }
_ZN8jsoncons16byte_string_viewC2EPKhm:
  362|  5.09M|            : data_(data), size_(length)
  363|  5.09M|        {
  364|  5.09M|        }
_ZN8jsoncons6detail23bytes_to_base64_genericIPKhNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEENS4_9enable_ifIXsr3std7is_sameINS4_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESD_SD_PKcRT0_:
   44|   384k|    {
   45|   384k|        std::size_t count = 0;
   46|   384k|        unsigned char a3[3];
   47|   384k|        unsigned char a4[4];
   48|   384k|        unsigned char fill = alphabet[64];
   49|   384k|        int i = 0;
   50|   384k|        int j = 0;
   51|       |
   52|  7.12M|        while (first != last)
  ------------------
  |  Branch (52:16): [True: 6.74M, False: 384k]
  ------------------
   53|  6.74M|        {
   54|  6.74M|            a3[i++] = *first++;
   55|  6.74M|            if (i == 3)
  ------------------
  |  Branch (55:17): [True: 2.13M, False: 4.61M]
  ------------------
   56|  2.13M|            {
   57|  2.13M|                a4[0] = (a3[0] & 0xfc) >> 2;
   58|  2.13M|                a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   59|  2.13M|                a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   60|  2.13M|                a4[3] = a3[2] & 0x3f;
   61|       |
   62|  10.6M|                for (i = 0; i < 4; i++) 
  ------------------
  |  Branch (62:29): [True: 8.52M, False: 2.13M]
  ------------------
   63|  8.52M|                {
   64|  8.52M|                    result.push_back(alphabet[a4[i]]);
   65|  8.52M|                    ++count;
   66|  8.52M|                }
   67|  2.13M|                i = 0;
   68|  2.13M|            }
   69|  6.74M|        }
   70|       |
   71|   384k|        if (i > 0)
  ------------------
  |  Branch (71:13): [True: 324k, False: 59.5k]
  ------------------
   72|   324k|        {
   73|   946k|            for (j = i; j < 3; ++j) 
  ------------------
  |  Branch (73:25): [True: 622k, False: 324k]
  ------------------
   74|   622k|            {
   75|   622k|                a3[j] = 0;
   76|   622k|            }
   77|       |
   78|   324k|            a4[0] = (a3[0] & 0xfc) >> 2;
   79|   324k|            a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   80|   324k|            a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   81|       |
   82|  1.00M|            for (j = 0; j < i + 1; ++j) 
  ------------------
  |  Branch (82:25): [True: 675k, False: 324k]
  ------------------
   83|   675k|            {
   84|   675k|                result.push_back(alphabet[a4[j]]);
   85|   675k|                ++count;
   86|   675k|            }
   87|       |
   88|   324k|            if (fill != 0)
  ------------------
  |  Branch (88:17): [True: 0, False: 324k]
  ------------------
   89|      0|            {
   90|      0|                while (i++ < 3) 
  ------------------
  |  Branch (90:24): [True: 0, False: 0]
  ------------------
   91|      0|                {
   92|      0|                    result.push_back(fill);
   93|      0|                    ++count;
   94|      0|                }
   95|      0|            }
   96|   324k|        }
   97|       |
   98|   384k|        return count;
   99|   384k|    }
_ZNK8jsoncons16byte_string_view5beginEv:
  409|   384k|        {
  410|   384k|            return data_;
  411|   384k|        }
_ZNK8jsoncons16byte_string_view3endEv:
  413|   384k|        {
  414|   384k|            return data_ + size_;
  415|   384k|        }
_ZN8jsoncons18bytes_to_base64urlIPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  177|   384k|    {
  178|   384k|        static constexpr char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  179|   384k|                                                      "abcdefghijklmnopqrstuvwxyz"
  180|   384k|                                                      "0123456789-_"
  181|   384k|                                                      "\0";
  182|   384k|        return detail::bytes_to_base64_generic(first, last, alphabet, result);
  183|   384k|    }

_ZN8jsoncons6detail6grisu3EdPcPiS2_:
  293|  63.7k|{
  294|  63.7k|    diy_fp_t w_m, w_p;
  295|  63.7k|    int q = 64, alpha = -59, gamma = -56;
  296|  63.7k|    normalized_boundaries(v, &w_m, &w_p);
  297|  63.7k|    diy_fp_t w = normalize_diy_fp(double2diy_fp(v));
  298|  63.7k|    int mk = k_comp(w_p.e + q, alpha, gamma);
  299|  63.7k|    diy_fp_t c_mk = cached_power(mk);
  300|  63.7k|    diy_fp_t W  = multiply(w,   c_mk);
  301|  63.7k|    diy_fp_t Wp = multiply(w_p, c_mk);
  302|  63.7k|    diy_fp_t Wm = multiply(w_m, c_mk);
  303|  63.7k|    *K = -mk;
  304|  63.7k|    bool result = digit_gen(Wm, W, Wp, buffer, length, K);
  305|  63.7k|    buffer[*length] = 0;
  306|  63.7k|    return result;
  307|  63.7k|}
_ZN8jsoncons6detail21normalized_boundariesEdPNS0_8diy_fp_tES2_:
  188|  63.7k|{
  189|  63.7k|    diy_fp_t v = double2diy_fp(d);
  190|  63.7k|    diy_fp_t pl, mi;
  191|  63.7k|    bool significand_is_zero = v.f == dp_hidden_bit;
  192|  63.7k|    pl.f  = (v.f << 1) + 1; pl.e  = v.e - 1;
  193|  63.7k|    pl = normalize_boundary(pl);
  194|  63.7k|    if (significand_is_zero)
  ------------------
  |  Branch (194:9): [True: 1.29k, False: 62.4k]
  ------------------
  195|  1.29k|    {
  196|  1.29k|        mi.f = (v.f << 2) - 1;
  197|  1.29k|        mi.e = v.e - 2;
  198|  1.29k|    } else
  199|  62.4k|    {
  200|  62.4k|        mi.f = (v.f << 1) - 1;
  201|  62.4k|        mi.e = v.e - 1;
  202|  62.4k|    }
  203|  63.7k|    int x = mi.e - pl.e;
  204|  63.7k|    mi.f <<= x;
  205|  63.7k|    mi.e = pl.e;
  206|  63.7k|    *out_m_plus = pl;
  207|  63.7k|    *out_m_minus = mi;
  208|  63.7k|}
_ZN8jsoncons6detail18normalize_boundaryENS0_8diy_fp_tE:
  171|  63.7k|{
  172|  63.7k|    diy_fp_t res = in;
  173|       |    /* Normalize now */
  174|       |    /* the original number could have been a denormal. */
  175|   197k|    while (!(res.f & (dp_hidden_bit << 1)))
  ------------------
  |  Branch (175:12): [True: 133k, False: 63.7k]
  ------------------
  176|   133k|    {
  177|   133k|        res.f <<= 1;
  178|   133k|        res.e--;
  179|   133k|    }
  180|       |    /* do the final shifts in one go. Don't forget the hidden bit (the '-1') */
  181|  63.7k|    res.f <<= (diy_significand_size - dp_significand_size - 2);
  182|  63.7k|    res.e = res.e - (diy_significand_size - dp_significand_size - 2);
  183|  63.7k|    return res;
  184|  63.7k|}
_ZN8jsoncons6detail16normalize_diy_fpENS0_8diy_fp_tE:
  134|  63.7k|{
  135|  63.7k|    diy_fp_t res = in;
  136|       |    /* Normalize now */
  137|       |    /* the original number could have been a denormal. */
  138|   197k|    while (!(res.f & dp_hidden_bit))
  ------------------
  |  Branch (138:12): [True: 133k, False: 63.7k]
  ------------------
  139|   133k|    {
  140|   133k|        res.f <<= 1;
  141|   133k|        res.e--;
  142|   133k|    }
  143|       |    /* do the final shifts in one go. Don't forget the hidden bit (the '-1') */
  144|  63.7k|    res.f <<= (diy_significand_size - dp_significand_size - 1);
  145|  63.7k|    res.e = res.e - (diy_significand_size - dp_significand_size - 1);
  146|  63.7k|    return res;
  147|  63.7k|}
_ZN8jsoncons6detail13double2diy_fpEd:
  151|   127k|{
  152|   127k|    uint64_t d64 = double_to_uint64(d);
  153|   127k|    int biased_e = (d64 & dp_exponent_mask) >> dp_significand_size;
  154|   127k|    uint64_t significand = (d64 & dp_significand_mask);
  155|   127k|    diy_fp_t res;
  156|   127k|    if (biased_e != 0)
  ------------------
  |  Branch (156:9): [True: 120k, False: 6.83k]
  ------------------
  157|   120k|    {
  158|   120k|        res.f = significand + dp_hidden_bit;
  159|   120k|        res.e = biased_e - dp_exponent_bias;
  160|   120k|    } 
  161|  6.83k|    else
  162|  6.83k|    {
  163|  6.83k|        res.f = significand;
  164|  6.83k|        res.e = dp_min_exponent + 1;
  165|  6.83k|    }
  166|   127k|    return res;
  167|   127k|}
_ZN8jsoncons6detail16double_to_uint64Ed:
  120|   127k|uint64_t double_to_uint64(double d) {uint64_t d64; std::memcpy(&d64,&d,sizeof(double)); return d64; }
_ZN8jsoncons6detail6k_compEiii:
   82|  63.7k|{
   83|  63.7k|    constexpr double d_1_log2_10 = 0.30102999566398114; //  1 / lg(10)
   84|  63.7k|    int x = alpha - e + 63;
   85|  63.7k|    return static_cast<int>(std::ceil(x * d_1_log2_10));
   86|  63.7k|}
_ZN8jsoncons6detail12cached_powerEi:
   97|  63.7k|{
   98|  63.7k|    diy_fp_t res;
   99|  63.7k|    int index = 343 + k;
  100|  63.7k|    res.f = powers_ten[index];
  101|  63.7k|    res.e = powers_ten_e[index];
  102|  63.7k|    return res;
  103|  63.7k|}
_ZN8jsoncons6detail8multiplyENS0_8diy_fp_tES1_:
   65|   191k|{
   66|   191k|    uint64_t a, b, c, d, ac, bc, ad, bd, tmp;
   67|   191k|    diy_fp_t r; uint64_t M32 = 0xFFFFFFFF;
   68|   191k|    a = x.f >> 32; b = x.f & M32;
   69|   191k|    c = y.f >> 32; d = y.f & M32;
   70|   191k|    ac = a * c; bc = b * c; ad = a * d; bd = b * d;
   71|   191k|    tmp = (bd >> 32) + (ad & M32) + (bc & M32);
   72|   191k|    tmp += 1U << 31; /// mult_round
   73|   191k|    r.f = ac + (ad >> 32) + (bc >> 32) + (tmp >> 32);
   74|   191k|    r.e = x.e + y.e + 64;
   75|   191k|    return r;
   76|   191k|}
_ZN8jsoncons6detail9digit_genENS0_8diy_fp_tES1_S1_PcPiS3_:
  250|  63.7k|{
  251|  63.7k|    static constexpr uint32_t TEN2 = 100;
  252|       |
  253|  63.7k|    uint32_t div, p1; uint64_t p2, tmp, unit = 1;
  254|  63.7k|    int d, kappa;
  255|  63.7k|    diy_fp_t one, wp_W, Delta;
  256|  63.7k|    Delta = minus(Wp, Wm); Delta.f += 2 * unit;
  257|  63.7k|    wp_W = minus(Wp, W); wp_W.f += unit;
  258|  63.7k|    one.f = ((uint64_t)1) << -Wp.e; one.e = Wp.e;
  259|  63.7k|    p1 = static_cast<uint32_t>((Wp.f + 1) >> -one.e);
  260|  63.7k|    p2 = (Wp.f + 1) & (one.f - 1);
  261|  63.7k|    *len = 0; kappa = 3; div = TEN2;
  262|   249k|    while (kappa > 0)
  ------------------
  |  Branch (262:12): [True: 189k, False: 60.6k]
  ------------------
  263|   189k|    {
  264|   189k|        d = p1 / div;
  265|   189k|        if (d || *len) buffer[(*len)++] = (char)('0' + d);
  ------------------
  |  Branch (265:13): [True: 131k, False: 57.8k]
  |  Branch (265:18): [True: 3.68k, False: 54.1k]
  ------------------
  266|   189k|        p1 %= div; kappa--;
  267|   189k|        tmp = (((uint64_t)p1) << -one.e) + p2;
  268|   189k|        if (tmp < Delta.f)
  ------------------
  |  Branch (268:13): [True: 3.02k, False: 186k]
  ------------------
  269|  3.02k|        {
  270|  3.02k|            *K += kappa;
  271|  3.02k|            return round_weed(buffer, *len, wp_W.f, Delta.f, tmp,
  272|  3.02k|                              ((uint64_t)div) << -one.e, unit);
  273|  3.02k|        }
  274|   186k|        div /= 10;
  275|   186k|    }
  276|   576k|    while (1)
  ------------------
  |  Branch (276:12): [True: 576k, Folded]
  ------------------
  277|   576k|    {
  278|   576k|        p2 *= 10; Delta.f *= 10; unit *= 10;
  279|   576k|        d = static_cast<int>(p2 >> -one.e);
  280|   576k|        if (d || *len) buffer[(*len)++] = (char)('0' + d);
  ------------------
  |  Branch (280:13): [True: 514k, False: 62.3k]
  |  Branch (280:18): [True: 62.3k, False: 0]
  ------------------
  281|   576k|        p2 &= one.f - 1; kappa--;
  282|   576k|        if (p2 < Delta.f)
  ------------------
  |  Branch (282:13): [True: 60.6k, False: 516k]
  ------------------
  283|  60.6k|        {
  284|  60.6k|            *K += kappa;
  285|  60.6k|            return round_weed(buffer, *len, wp_W.f * unit, Delta.f, p2,
  286|  60.6k|                              one.f, unit);
  287|  60.6k|        }
  288|   576k|    }
  289|  60.6k|}
_ZN8jsoncons6detail5minusENS0_8diy_fp_tES1_:
   56|   127k|{
   57|   127k|    assert(x.e == y.e);
  ------------------
  |  Branch (57:5): [True: 127k, False: 0]
  ------------------
   58|   127k|    assert(x.f >= y.f);
  ------------------
  |  Branch (58:5): [True: 127k, False: 0]
  ------------------
   59|   127k|    diy_fp_t r = { x.f = x.f - y.f, x.e };
   60|   127k|    return r;
   61|   127k|}
_ZN8jsoncons6detail10round_weedEPcimmmmm:
  230|  63.7k|{
  231|  63.7k|    uint64_t wp_Wup = wp_W - ulp;
  232|  63.7k|    uint64_t wp_Wdown = wp_W + ulp;
  233|  80.3k|    while (rest < wp_Wup &&  /// round1
  ------------------
  |  Branch (233:12): [True: 30.5k, False: 49.8k]
  ------------------
  234|  30.5k|           Delta - rest >= ten_kappa &&
  ------------------
  |  Branch (234:12): [True: 24.5k, False: 5.97k]
  ------------------
  235|  24.5k|           (rest + ten_kappa < wp_Wup || /// closer
  ------------------
  |  Branch (235:13): [True: 11.8k, False: 12.7k]
  ------------------
  236|  12.7k|            wp_Wup - rest >= rest + ten_kappa - wp_Wup))
  ------------------
  |  Branch (236:13): [True: 4.82k, False: 7.92k]
  ------------------
  237|  16.6k|    {
  238|  16.6k|        buffer[len - 1]--; rest += ten_kappa;
  239|  16.6k|    }
  240|  63.7k|    if (rest < wp_Wdown && /// round2
  ------------------
  |  Branch (240:9): [True: 45.7k, False: 17.9k]
  ------------------
  241|  45.7k|        Delta - rest >= ten_kappa &&
  ------------------
  |  Branch (241:9): [True: 8.13k, False: 37.6k]
  ------------------
  242|  8.13k|        (rest + ten_kappa < wp_Wdown ||
  ------------------
  |  Branch (242:10): [True: 0, False: 8.13k]
  ------------------
  243|  8.13k|         wp_Wdown - rest > rest + ten_kappa - wp_Wdown)) return 0;
  ------------------
  |  Branch (243:10): [True: 1.55k, False: 6.58k]
  ------------------
  244|  62.1k|    return 2 * ulp <= rest && rest <= Delta - 4 * ulp; /// weed
  ------------------
  |  Branch (244:12): [True: 60.7k, False: 1.38k]
  |  Branch (244:31): [True: 60.2k, False: 543]
  ------------------
  245|  63.7k|}

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

_ZN8jsoncons16decstr_to_doubleEPKcmRd:
  889|  3.48k|{
  890|  3.48k|    const char* cur = s+length;
  891|  3.48k|    char *end = nullptr;
  892|  3.48k|    val = strtod(s, &end);
  893|  3.48k|    const char* str_end = end;
  894|  3.48k|    if (JSONCONS_UNLIKELY(end < cur))
  ------------------
  |  |   79|  3.48k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 3.48k]
  |  |  ------------------
  ------------------
  895|      0|    {
  896|      0|        if (*end == '.')
  ------------------
  |  Branch (896:13): [True: 0, False: 0]
  ------------------
  897|      0|        {
  898|      0|            std::string buf{s, length};
  899|      0|            char* dot_ptr = &buf[0] + (cur - end - 1);
  900|      0|            *dot_ptr = ',';
  901|      0|            end = nullptr;
  902|      0|            val = strtod(buf.c_str(), &end);
  903|      0|            str_end = s + (end - &buf[0]);
  904|      0|        }
  905|      0|        if (JSONCONS_UNLIKELY(str_end != cur))
  ------------------
  |  |   79|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  906|      0|        {
  907|      0|            return to_number_result<char>{str_end,std::errc::invalid_argument};
  908|      0|        }
  909|      0|    }
  910|  3.48k|    if (JSONCONS_UNLIKELY(val <= -HUGE_VAL || val >= HUGE_VAL))
  ------------------
  |  |   79|  6.96k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 3.48k]
  |  |  |  Branch (79:50): [True: 0, False: 3.48k]
  |  |  |  Branch (79:50): [True: 0, False: 3.48k]
  |  |  ------------------
  ------------------
  911|      0|    {
  912|      0|        return to_number_result<char>{str_end, std::errc::result_out_of_range};
  913|      0|    }
  914|  3.48k|    return to_number_result<char>{str_end};
  915|  3.48k|}
_ZN8jsoncons16to_number_resultIcEC2EPKc:
  160|  3.48k|        : ptr(ptr_), ec(std::errc{})
  161|  3.48k|    {
  162|  3.48k|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr6nonstd10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  20.0M|{
   43|  20.0M|    using char_type = typename Result::value_type;
   44|       |
   45|  20.0M|    char_type buf[255];
   46|  20.0M|    char_type *p = buf;
   47|  20.0M|    const char_type* last = buf+255;
   48|       |
   49|  20.0M|    bool is_negative = value < 0;
   50|       |
   51|  20.0M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 20.0M]
  ------------------
   52|      0|    {
   53|      0|        do
   54|      0|        {
   55|      0|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|      0|        }
   57|      0|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 0, False: 0]
  |  Branch (57:33): [True: 0, False: 0]
  ------------------
   58|      0|    }
   59|  20.0M|    else
   60|  20.0M|    {
   61|       |
   62|  20.0M|        do
   63|  24.1M|        {
   64|  24.1M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  24.1M|        }
   66|  24.1M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 4.06M, False: 20.0M]
  |  Branch (66:33): [True: 4.06M, False: 0]
  ------------------
   67|  20.0M|    }
   68|  20.0M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   54|  20.0M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 20.0M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  20.0M|    std::size_t count = (p - buf);
   71|  20.0M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 20.0M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  44.1M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 24.1M, False: 20.0M]
  ------------------
   77|  24.1M|    {
   78|  24.1M|        result.push_back(*p);
   79|  24.1M|    }
   80|       |
   81|  20.0M|    return count;
   82|  20.0M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr6nonstd10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  2.84M|{
   43|  2.84M|    using char_type = typename Result::value_type;
   44|       |
   45|  2.84M|    char_type buf[255];
   46|  2.84M|    char_type *p = buf;
   47|  2.84M|    const char_type* last = buf+255;
   48|       |
   49|  2.84M|    bool is_negative = value < 0;
   50|       |
   51|  2.84M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 2.84M, False: 903]
  ------------------
   52|  2.84M|    {
   53|  2.84M|        do
   54|  5.43M|        {
   55|  5.43M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  5.43M|        }
   57|  5.43M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 2.59M, False: 2.84M]
  |  Branch (57:33): [True: 2.59M, False: 0]
  ------------------
   58|  2.84M|    }
   59|    903|    else
   60|    903|    {
   61|       |
   62|    903|        do
   63|  5.68k|        {
   64|  5.68k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  5.68k|        }
   66|  5.68k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 4.77k, False: 903]
  |  Branch (66:33): [True: 4.77k, False: 0]
  ------------------
   67|    903|    }
   68|  2.84M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   54|  2.84M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 2.84M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  2.84M|    std::size_t count = (p - buf);
   71|  2.84M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 2.84M, False: 903]
  ------------------
   72|  2.84M|    {
   73|  2.84M|        result.push_back('-');
   74|  2.84M|        ++count;
   75|  2.84M|    }
   76|  8.29M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 5.44M, False: 2.84M]
  ------------------
   77|  5.44M|    {
   78|  5.44M|        result.push_back(*p);
   79|  5.44M|    }
   80|       |
   81|  2.84M|    return count;
   82|  2.84M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|  65.6k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|  65.6k|    {
  489|  65.6k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|  65.6k|        struct lconv *lc = localeconv();
  491|  65.6k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 65.6k, False: 0]
  |  Branch (491:30): [True: 65.6k, False: 0]
  ------------------
  492|  65.6k|        {
  493|  65.6k|            decimal_point_ = lc->decimal_point[0];
  494|  65.6k|        }
  495|  65.6k|#endif
  496|  65.6k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|  65.6k|    {
  504|  65.6k|        std::size_t count = 0;
  505|       |
  506|  65.6k|        char number_buffer[200];
  507|  65.6k|        int length = 0;
  508|       |
  509|  65.6k|        switch (float_format_)
  510|  65.6k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 65.6k]
  ------------------
  512|      0|            {
  513|      0|                if (precision_ > 0)
  ------------------
  |  Branch (513:21): [True: 0, False: 0]
  ------------------
  514|      0|                {
  515|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*f", precision_, val);
  516|      0|                    if (length < 0)
  ------------------
  |  Branch (516:25): [True: 0, False: 0]
  ------------------
  517|      0|                    {
  518|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  519|      0|                    }
  520|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  521|      0|                }
  522|      0|                else
  523|      0|                {
  524|      0|                    if (!dtoa_fixed(val, decimal_point_, result))
  ------------------
  |  Branch (524:25): [True: 0, False: 0]
  ------------------
  525|      0|                    {
  526|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  527|      0|                    }
  528|      0|                }
  529|      0|            }
  530|      0|            break;
  531|      0|        case float_chars_format::scientific:
  ------------------
  |  Branch (531:9): [True: 0, False: 65.6k]
  ------------------
  532|      0|            {
  533|      0|                if (precision_ > 0)
  ------------------
  |  Branch (533:21): [True: 0, False: 0]
  ------------------
  534|      0|                {
  535|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*e", precision_, val);
  536|      0|                    if (length < 0)
  ------------------
  |  Branch (536:25): [True: 0, False: 0]
  ------------------
  537|      0|                    {
  538|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  539|      0|                    }
  540|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  541|      0|                }
  542|      0|                else
  543|      0|                {
  544|      0|                    if (!dtoa_scientific(val, decimal_point_, result))
  ------------------
  |  Branch (544:25): [True: 0, False: 0]
  ------------------
  545|      0|                    {
  546|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  547|      0|                    }
  548|      0|                }
  549|      0|            }
  550|      0|            break;
  551|  65.6k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 65.6k, False: 0]
  ------------------
  552|  65.6k|            {
  553|  65.6k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 65.6k]
  ------------------
  554|      0|                {
  555|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*g", precision_, val);
  556|      0|                    if (length < 0)
  ------------------
  |  Branch (556:25): [True: 0, False: 0]
  ------------------
  557|      0|                    {
  558|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  559|      0|                    }
  560|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  561|      0|                }
  562|  65.6k|                else
  563|  65.6k|                {
  564|  65.6k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 65.6k]
  ------------------
  565|      0|                    {
  566|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  567|      0|                    }
  568|  65.6k|                }             
  569|  65.6k|                break;
  570|  65.6k|            }
  571|  65.6k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 65.6k]
  ------------------
  572|      0|                JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  573|      0|                break;
  574|  65.6k|        }
  575|  65.6k|        return count;
  576|  65.6k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  3.48k|{
  244|  3.48k|    const char *sbeg = buffer;
  245|  3.48k|    const char *send = sbeg + length;
  246|       |
  247|  3.48k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 3.48k, False: 0]
  ------------------
  248|  3.48k|    {
  249|  3.48k|        bool needs_dot = true;
  250|  58.0k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 54.5k, False: 3.48k]
  ------------------
  251|  54.5k|        {
  252|  54.5k|            switch (*q)
  253|  54.5k|            {
  254|  1.88k|            case '-':
  ------------------
  |  Branch (254:13): [True: 1.88k, False: 52.6k]
  ------------------
  255|  3.98k|            case '0':
  ------------------
  |  Branch (255:13): [True: 2.10k, False: 52.4k]
  ------------------
  256|  9.77k|            case '1':
  ------------------
  |  Branch (256:13): [True: 5.78k, False: 48.7k]
  ------------------
  257|  13.5k|            case '2':
  ------------------
  |  Branch (257:13): [True: 3.77k, False: 50.7k]
  ------------------
  258|  16.5k|            case '3':
  ------------------
  |  Branch (258:13): [True: 3.00k, False: 51.5k]
  ------------------
  259|  20.7k|            case '4':
  ------------------
  |  Branch (259:13): [True: 4.21k, False: 50.3k]
  ------------------
  260|  28.6k|            case '5':
  ------------------
  |  Branch (260:13): [True: 7.91k, False: 46.6k]
  ------------------
  261|  32.1k|            case '6':
  ------------------
  |  Branch (261:13): [True: 3.42k, False: 51.1k]
  ------------------
  262|  37.0k|            case '7':
  ------------------
  |  Branch (262:13): [True: 4.94k, False: 49.5k]
  ------------------
  263|  41.6k|            case '8':
  ------------------
  |  Branch (263:13): [True: 4.55k, False: 49.9k]
  ------------------
  264|  45.1k|            case '9':
  ------------------
  |  Branch (264:13): [True: 3.53k, False: 50.9k]
  ------------------
  265|  46.9k|            case '+':
  ------------------
  |  Branch (265:13): [True: 1.85k, False: 52.6k]
  ------------------
  266|  46.9k|                result.push_back(*q);
  267|  46.9k|                break;
  268|  2.09k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 2.09k, False: 52.4k]
  ------------------
  269|  2.09k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 54.5k]
  ------------------
  270|  2.09k|                result.push_back('e');
  271|  2.09k|                needs_dot = false;
  272|  2.09k|                break;
  273|  5.45k|            default:
  ------------------
  |  Branch (273:13): [True: 5.45k, False: 49.0k]
  ------------------
  274|  5.45k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 2.27k, False: 3.17k]
  ------------------
  275|  2.27k|                {
  276|  2.27k|                    needs_dot = false;
  277|  2.27k|                    result.push_back('.');
  278|  2.27k|                }
  279|  5.45k|                break;
  280|  54.5k|            }
  281|  54.5k|        }
  282|  3.48k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 1.20k, False: 2.27k]
  ------------------
  283|  1.20k|        {
  284|  1.20k|            result.push_back('.');
  285|  1.20k|            result.push_back('0');
  286|  1.20k|        }
  287|  3.48k|    }
  288|  3.48k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKciiiiRT_:
  171|  60.2k|{
  172|  60.2k|    int nb_digits = length;
  173|  60.2k|    int offset;
  174|       |    /* v = buffer * 10^k
  175|       |       kk is such that 10^(kk-1) <= v < 10^kk
  176|       |       this way kk gives the position of the decimal point.
  177|       |    */
  178|  60.2k|    int kk = nb_digits + k;
  179|       |
  180|  60.2k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 41.7k, False: 18.4k]
  |  Branch (180:28): [True: 29.3k, False: 12.4k]
  ------------------
  181|  29.3k|    {
  182|       |        /* the first digits are already in. Add some 0s and call it a day. */
  183|       |        /* the max_exp is a personal choice. Only 16 digits could possibly be relevant.
  184|       |         * Basically we want to print 12340000000 rather than 1234.0e7 or 1.234e10 */
  185|   240k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 211k, False: 29.3k]
  ------------------
  186|   211k|        {
  187|   211k|            result.push_back(buffer[i]);
  188|   211k|        }
  189|  31.3k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 2.00k, False: 29.3k]
  ------------------
  190|  2.00k|        {
  191|  2.00k|            result.push_back('0');
  192|  2.00k|        }
  193|  29.3k|        result.push_back('.');
  194|  29.3k|        result.push_back('0');
  195|  29.3k|    } 
  196|  30.8k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 18.1k, False: 12.7k]
  |  Branch (196:24): [True: 5.76k, False: 12.4k]
  ------------------
  197|  5.76k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  26.8k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 21.1k, False: 5.76k]
  ------------------
  200|  21.1k|        {
  201|  21.1k|            result.push_back(buffer[i]);
  202|  21.1k|        }
  203|  5.76k|        result.push_back('.');
  204|  62.5k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 56.7k, False: 5.76k]
  ------------------
  205|  56.7k|        {
  206|  56.7k|            result.push_back(buffer[i]);
  207|  56.7k|        }
  208|  5.76k|    } 
  209|  25.1k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 13.4k, False: 11.6k]
  |  Branch (209:30): [True: 1.03k, False: 12.4k]
  ------------------
  210|  1.03k|    {
  211|  1.03k|        offset = 2 - kk;
  212|       |
  213|  1.03k|        result.push_back('0');
  214|  1.03k|        result.push_back('.');
  215|  2.42k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 1.38k, False: 1.03k]
  ------------------
  216|  1.38k|            result.push_back('0');
  217|  12.6k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 11.5k, False: 1.03k]
  ------------------
  218|  11.5k|        {
  219|  11.5k|            result.push_back(buffer[i]);
  220|  11.5k|        }
  221|  1.03k|    } 
  222|  24.0k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 1.84k, False: 22.2k]
  ------------------
  223|  1.84k|    {
  224|  1.84k|        result.push_back(buffer[0]);
  225|  1.84k|        result.push_back('e');
  226|  1.84k|        fill_exponent(kk - 1, result);
  227|  1.84k|    } 
  228|  22.2k|    else
  229|  22.2k|    {
  230|  22.2k|        result.push_back(buffer[0]);
  231|  22.2k|        result.push_back('.');
  232|   353k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 331k, False: 22.2k]
  ------------------
  233|   331k|        {
  234|   331k|            result.push_back(buffer[i]);
  235|   331k|        }
  236|  22.2k|        result.push_back('e');
  237|  22.2k|        fill_exponent(kk - 1, result);
  238|  22.2k|    }
  239|  60.2k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  24.0k|{
  137|  24.0k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 11.6k, False: 12.4k]
  ------------------
  138|  11.6k|    {
  139|  11.6k|        result.push_back('-');
  140|  11.6k|        K = -K;
  141|  11.6k|    }
  142|  12.4k|    else
  143|  12.4k|    {
  144|  12.4k|        result.push_back('+'); // compatibility with sprintf
  145|  12.4k|    }
  146|       |
  147|  24.0k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 1.84k, False: 22.2k]
  ------------------
  148|  1.84k|    {
  149|  1.84k|        result.push_back('0'); // compatibility with sprintf
  150|  1.84k|        result.push_back((char)('0' + K));
  151|  1.84k|    }
  152|  22.2k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 15.0k, False: 7.14k]
  ------------------
  153|  15.0k|    {
  154|  15.0k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  15.0k|        result.push_back((char)('0' + K));
  156|  15.0k|    }
  157|  7.14k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 7.14k, False: 0]
  ------------------
  158|  7.14k|    {
  159|  7.14k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  7.14k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  7.14k|        result.push_back((char)('0' + K));
  162|  7.14k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  24.0k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|  65.6k|{
  476|  65.6k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|  65.6k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|  65.6k|{
  367|  65.6k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 1.93k, False: 63.7k]
  ------------------
  368|  1.93k|    {
  369|  1.93k|        result.push_back('0');
  370|  1.93k|        result.push_back('.');
  371|  1.93k|        result.push_back('0');
  372|  1.93k|        return true;
  373|  1.93k|    }
  374|       |
  375|  63.7k|    int length = 0;
  376|  63.7k|    int k;
  377|       |
  378|  63.7k|    char buffer[100];
  379|       |
  380|  63.7k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 52.8k, False: 10.8k]
  ------------------
  381|  63.7k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 60.2k, False: 3.48k]
  ------------------
  382|  60.2k|    {
  383|  60.2k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 51.2k, False: 9.00k]
  ------------------
  384|  51.2k|        {
  385|  51.2k|            result.push_back('-');
  386|  51.2k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|  60.2k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|  60.2k|        return true;
  391|  60.2k|    }
  392|  3.48k|    else
  393|  3.48k|    {
  394|  3.48k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  3.48k|    }
  396|  63.7k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  3.48k|{
  330|  3.48k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 3.48k]
  ------------------
  331|      0|    {
  332|      0|        result.push_back('0');
  333|      0|        result.push_back('.');
  334|      0|        result.push_back('0');
  335|      0|        return true;
  336|      0|    }
  337|       |
  338|  3.48k|    char buffer[100];
  339|  3.48k|    int precision = std::numeric_limits<double>::digits10;
  340|  3.48k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  3.48k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 3.48k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  3.48k|    double x{0};
  346|  3.48k|    auto res = decstr_to_double(buffer, length, x);
  347|  3.48k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 3.48k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  3.48k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 2.54k, False: 937]
  ------------------
  352|  2.54k|    {
  353|  2.54k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  2.54k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  2.54k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 2.54k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  2.54k|    }
  360|  3.48k|    dump_buffer(buffer, length, decimal_point, result);
  361|  3.48k|    return true;
  362|  3.48k|}

_ZN8jsoncons14unicode_traits8validateIhEENSt3__19enable_ifIXsr6nonstd8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  4.14M|    {
 1148|  4.14M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  4.14M|        const uint8_t* end = it + length;
 1150|       |
 1151|  4.14M|        unicode_errc  result{};
 1152|  4.21M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 67.3k, False: 4.14M]
  ------------------
 1153|  67.3k|        {
 1154|  67.3k|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 57.3k, False: 10.0k]
  ------------------
 1155|  57.3k|            {
 1156|   387k|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  326|   114k|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (326:32): [True: 56.2k, False: 1.03k]
  |  |  |  Branch (326:34): [True: 55.9k, False: 308]
  |  |  |  Branch (326:36): [True: 55.6k, False: 350]
  |  |  |  Branch (326:38): [True: 55.3k, False: 231]
  |  |  |  Branch (326:40): [True: 55.1k, False: 275]
  |  |  |  Branch (326:42): [True: 54.8k, False: 261]
  |  |  |  Branch (326:44): [True: 54.6k, False: 229]
  |  |  |  Branch (326:46): [True: 54.4k, False: 209]
  |  |  ------------------
  ------------------
 1157|  54.4k|                continue;
 1158|   387k|            }
 1159|  12.9k|    non_ascii:
 1160|  12.9k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  12.9k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 27, False: 12.9k]
  ------------------
 1162|     27|            {
 1163|     27|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     27|            }
 1165|  12.9k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 215, False: 12.7k]
  ------------------
 1166|    215|            {
 1167|    215|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    215|            }
 1169|  12.7k|            it += len;
 1170|  12.7k|        }
 1171|  4.14M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  4.14M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  12.9k|    {
  306|  12.9k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  12.9k|        const uint8_t* end = it+length;
  308|       |
  309|  12.9k|        uint8_t byte;
  310|  12.9k|        switch (length) {
  311|     26|        default:
  ------------------
  |  Branch (311:9): [True: 26, False: 12.8k]
  ------------------
  312|     26|            return unicode_errc::over_long_utf8_sequence;
  313|    604|        case 4:
  ------------------
  |  Branch (313:9): [True: 604, False: 12.3k]
  ------------------
  314|    604|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 11, False: 593]
  ------------------
  315|     11|                return unicode_errc::bad_continuation_byte;
  316|    593|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|    593|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  1.26k|        case 3:
  ------------------
  |  Branch (317:9): [True: 669, False: 12.2k]
  ------------------
  318|  1.26k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 12, False: 1.25k]
  ------------------
  319|     12|                return unicode_errc::bad_continuation_byte;
  320|  1.25k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|  1.25k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  3.22k|        case 2:
  ------------------
  |  Branch (321:9): [True: 1.97k, False: 10.9k]
  ------------------
  322|  3.22k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 62, False: 3.16k]
  ------------------
  323|     62|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  3.16k|            switch (*it) 
  326|  3.16k|            {
  327|       |                // no fall-through in this inner switch
  328|    320|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 320, False: 2.84k]
  |  Branch (328:32): [True: 6, False: 314]
  ------------------
  329|    314|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 272, False: 2.89k]
  |  Branch (329:32): [True: 1, False: 271]
  ------------------
  330|    271|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 203, False: 2.96k]
  |  Branch (330:32): [True: 5, False: 198]
  ------------------
  331|    308|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 308, False: 2.85k]
  |  Branch (331:32): [True: 4, False: 304]
  ------------------
  332|  2.06k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 2.06k, False: 1.10k]
  |  Branch (332:32): [True: 0, False: 2.06k]
  ------------------
  333|  3.16k|            }
  334|       |
  335|  3.15k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|  3.15k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  12.7k|        case 1:
  ------------------
  |  Branch (336:9): [True: 9.64k, False: 3.27k]
  ------------------
  337|  12.7k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 3.23k, False: 9.55k]
  |  Branch (337:32): [True: 87, False: 3.14k]
  ------------------
  338|     87|                return unicode_errc::source_illegal;
  339|  12.7k|            break;
  340|  12.9k|        }
  341|  12.7k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 1, False: 12.7k]
  ------------------
  342|      1|            return unicode_errc::source_illegal;
  343|       |
  344|  12.7k|        return unicode_errc();
  345|  12.7k|    }

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

_ZN8jsoncons7msgpack15make_error_codeENS0_12msgpack_errcE:
   88|  4.64k|{
   89|  4.64k|    return std::error_code(static_cast<int>(e),msgpack_error_category());
   90|  4.64k|}
_ZN8jsoncons7msgpack22msgpack_error_categoryEv:
   81|  4.64k|{
   82|  4.64k|  static msgpack_error_category_impl instance;
   83|  4.64k|  return instance;
   84|  4.64k|}
_ZNK8jsoncons7msgpack27msgpack_error_category_impl7messageEi:
   44|  4.64k|    {
   45|  4.64k|        switch (static_cast<msgpack_errc>(ev))
   46|  4.64k|        {
   47|  4.36k|            case msgpack_errc::unexpected_eof:
  ------------------
  |  Branch (47:13): [True: 4.36k, False: 273]
  ------------------
   48|  4.36k|                return "Unexpected end of file";
   49|      0|            case msgpack_errc::source_error:
  ------------------
  |  Branch (49:13): [True: 0, False: 4.64k]
  ------------------
   50|      0|                return "Source error";
   51|    242|            case msgpack_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (51:13): [True: 242, False: 4.39k]
  ------------------
   52|    242|                return "Illegal UTF-8 encoding in text string";
   53|      0|            case msgpack_errc::array_length_required:
  ------------------
  |  Branch (53:13): [True: 0, False: 4.64k]
  ------------------
   54|      0|                return "MessagePack encoder requires array length";
   55|      0|            case msgpack_errc::object_length_required:
  ------------------
  |  Branch (55:13): [True: 0, False: 4.64k]
  ------------------
   56|      0|                return "MessagePack encoder requires object length";
   57|      0|            case msgpack_errc::too_many_items:
  ------------------
  |  Branch (57:13): [True: 0, False: 4.64k]
  ------------------
   58|      0|                return "Too many items were added to a MessagePack object or array";
   59|      0|            case msgpack_errc::too_few_items:
  ------------------
  |  Branch (59:13): [True: 0, False: 4.64k]
  ------------------
   60|      0|                return "Too few items were added to a MessagePack object or array";
   61|      4|            case msgpack_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (61:13): [True: 4, False: 4.63k]
  ------------------
   62|      4|                return "Data item nesting exceeds limit in options";
   63|      0|            case msgpack_errc::unmatched_end_object:
  ------------------
  |  Branch (63:13): [True: 0, False: 4.64k]
  ------------------
   64|      0|                return "Unmatched end object";
   65|      0|            case msgpack_errc::unmatched_end_array:
  ------------------
  |  Branch (65:13): [True: 0, False: 4.64k]
  ------------------
   66|      0|                return "Unmatched end array";
   67|      0|            case msgpack_errc::length_is_negative:
  ------------------
  |  Branch (67:13): [True: 0, False: 4.64k]
  ------------------
   68|      0|                return "Request for the length of an array, map or string returned a negative result";
   69|      0|            case msgpack_errc::invalid_timestamp:
  ------------------
  |  Branch (69:13): [True: 0, False: 4.64k]
  ------------------
   70|      0|                return "Invalid timestamp";
   71|     27|            case msgpack_errc::unknown_type:
  ------------------
  |  Branch (71:13): [True: 27, False: 4.61k]
  ------------------
   72|     27|                return "Unknown type in input";
   73|      0|            default:
  ------------------
  |  Branch (73:13): [True: 0, False: 4.64k]
  ------------------
   74|      0|                return "Unknown MessagePack parser error";
   75|  4.64k|        }
   76|  4.64k|    }

_ZNK8jsoncons7msgpack22msgpack_options_common17max_nesting_depthEv:
   31|  6.97k|    {
   32|  6.97k|        return max_nesting_depth_;
   33|  6.97k|    }
_ZN8jsoncons7msgpack22msgpack_decode_optionsC1Ev:
   40|  6.97k|    msgpack_decode_options() = default;
_ZN8jsoncons7msgpack22msgpack_options_commonC2Ev:
   23|  6.97k|    msgpack_options_common() = default;
_ZN8jsoncons7msgpack22msgpack_options_commonD2Ev:
   26|  6.97k|    virtual ~msgpack_options_common() = default;

_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_22msgpack_decode_optionsERKS7_:
   86|  6.97k|       : source_(std::forward<Sourceable>(source)),
   87|  6.97k|         max_nesting_depth_(options.max_nesting_depth()),
   88|  6.97k|         text_buffer_(alloc),
   89|  6.97k|         bytes_buffer_(alloc),
   90|  6.97k|         state_stack_(alloc)
   91|  6.97k|    {
   92|  6.97k|        state_stack_.emplace_back(parse_mode::root,0);
   93|  6.97k|    }
_ZN8jsoncons7msgpack11parse_stateC2ENS0_10parse_modeEm:
   46|  8.27M|        : mode(mode), length(length)
   47|  8.27M|    {
   48|  8.27M|    }
_ZNK8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  149|  4.64k|    {
  150|  4.64k|        return 0;
  151|  4.64k|    }
_ZNK8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  154|  4.64k|    {
  155|  4.64k|        return source_.position();
  156|  4.64k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
  101|  6.97k|    {
  102|  6.97k|        more_ = true;
  103|  6.97k|        done_ = false;
  104|  6.97k|        text_buffer_.clear();
  105|  6.97k|        bytes_buffer_.clear();
  106|  6.97k|        state_stack_.clear();
  107|  6.97k|        state_stack_.emplace_back(parse_mode::root,0);
  108|  6.97k|        nesting_depth_ = 0;
  109|  6.97k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  159|  6.97k|    {
  160|  95.1M|        while (!done_ && more_)
  ------------------
  |  Branch (160:16): [True: 95.1M, False: 2.33k]
  |  Branch (160:26): [True: 95.1M, False: 0]
  ------------------
  161|  95.1M|        {
  162|  95.1M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (162:21): [True: 95.1M, False: 0]
  ------------------
  163|  95.1M|            {
  164|  71.0M|                case parse_mode::array:
  ------------------
  |  Branch (164:17): [True: 71.0M, False: 24.1M]
  ------------------
  165|  71.0M|                {
  166|  71.0M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (166:25): [True: 64.3M, False: 6.67M]
  ------------------
  167|  64.3M|                    {
  168|  64.3M|                        ++state_stack_.back().index;
  169|  64.3M|                        read_item(visitor, ec);
  170|  64.3M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  64.3M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1.39k, False: 64.3M]
  |  |  ------------------
  ------------------
  171|  1.39k|                        {
  172|  1.39k|                            return;
  173|  1.39k|                        }
  174|  64.3M|                    }
  175|  6.67M|                    else
  176|  6.67M|                    {
  177|  6.67M|                        end_array(visitor, ec);
  178|  6.67M|                    }
  179|  71.0M|                    break;
  180|  71.0M|                }
  181|  71.0M|                case parse_mode::map_key:
  ------------------
  |  Branch (181:17): [True: 12.8M, False: 82.3M]
  ------------------
  182|  12.8M|                {
  183|  12.8M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (183:25): [True: 11.3M, False: 1.53M]
  ------------------
  184|  11.3M|                    {
  185|  11.3M|                        ++state_stack_.back().index;
  186|  11.3M|                        state_stack_.back().mode = parse_mode::map_value;
  187|  11.3M|                        read_item(visitor, ec);
  188|  11.3M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  11.3M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1.00k, False: 11.3M]
  |  |  ------------------
  ------------------
  189|  1.00k|                        {
  190|  1.00k|                            return;
  191|  1.00k|                        }
  192|  11.3M|                    }
  193|  1.53M|                    else
  194|  1.53M|                    {
  195|  1.53M|                        end_object(visitor, ec);
  196|  1.53M|                    }
  197|  12.8M|                    break;
  198|  12.8M|                }
  199|  12.8M|                case parse_mode::map_value:
  ------------------
  |  Branch (199:17): [True: 11.2M, False: 83.8M]
  ------------------
  200|  11.2M|                {
  201|  11.2M|                    state_stack_.back().mode = parse_mode::map_key;
  202|  11.2M|                    read_item(visitor, ec);
  203|  11.2M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  11.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1.83k, False: 11.2M]
  |  |  ------------------
  ------------------
  204|  1.83k|                    {
  205|  1.83k|                        return;
  206|  1.83k|                    }
  207|  11.2M|                    break;
  208|  11.2M|                }
  209|  11.2M|                case parse_mode::root:
  ------------------
  |  Branch (209:17): [True: 6.97k, False: 95.1M]
  ------------------
  210|  6.97k|                {
  211|  6.97k|                    state_stack_.back().mode = parse_mode::accept;
  212|  6.97k|                    read_item(visitor, ec);
  213|  6.97k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  6.97k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 403, False: 6.57k]
  |  |  ------------------
  ------------------
  214|    403|                    {
  215|    403|                        return;
  216|    403|                    }
  217|  6.57k|                    break;
  218|  6.97k|                }
  219|  6.57k|                case parse_mode::accept:
  ------------------
  |  Branch (219:17): [True: 2.33k, False: 95.1M]
  ------------------
  220|  2.33k|                {
  221|  2.33k|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   54|  2.33k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 2.33k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  222|  2.33k|                    state_stack_.clear();
  223|  2.33k|                    more_ = false;
  224|  2.33k|                    done_ = true;
  225|  2.33k|                    visitor.flush();
  226|  2.33k|                    break;
  227|  2.33k|                }
  228|  95.1M|            }
  229|  95.1M|        }
  230|  6.97k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_itemERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  234|  86.9M|    {
  235|  86.9M|        if (source_.is_error())
  ------------------
  |  Branch (235:13): [True: 0, False: 86.9M]
  ------------------
  236|      0|        {
  237|      0|            ec = msgpack_errc::source_error;
  238|      0|            more_ = false;
  239|      0|            return;
  240|      0|        }   
  241|       |
  242|  86.9M|        uint8_t type;
  243|  86.9M|        if (source_.read(&type, 1) == 0)
  ------------------
  |  Branch (243:13): [True: 3.57k, False: 86.9M]
  ------------------
  244|  3.57k|        {
  245|  3.57k|            ec = msgpack_errc::unexpected_eof;
  246|  3.57k|            more_ = false;
  247|  3.57k|            return;
  248|  3.57k|        }
  249|       |
  250|  86.9M|        if (type <= 0xbf)
  ------------------
  |  Branch (250:13): [True: 51.5M, False: 35.3M]
  ------------------
  251|  51.5M|        {
  252|  51.5M|            if (type <= 0x7f) 
  ------------------
  |  Branch (252:17): [True: 39.1M, False: 12.3M]
  ------------------
  253|  39.1M|            {
  254|       |                // positive fixint
  255|  39.1M|                visitor.uint64_value(type, semantic_tag::none, *this, ec);
  256|  39.1M|                more_ = !cursor_mode_;
  257|  39.1M|            }
  258|  12.3M|            else if (type <= 0x8f) 
  ------------------
  |  Branch (258:22): [True: 1.54M, False: 10.8M]
  ------------------
  259|  1.54M|            {
  260|  1.54M|                begin_object(visitor,type,ec); // fixmap
  261|  1.54M|            }
  262|  10.8M|            else if (type <= 0x9f) 
  ------------------
  |  Branch (262:22): [True: 6.69M, False: 4.14M]
  ------------------
  263|  6.69M|            {
  264|  6.69M|                begin_array(visitor,type,ec); // fixarray
  265|  6.69M|            }
  266|  4.14M|            else 
  267|  4.14M|            {
  268|       |                // fixstr
  269|  4.14M|                const size_t len = type & 0x1f;
  270|       |
  271|  4.14M|                auto data = source_.read_span(len, bytes_buffer_);
  272|  4.14M|                if (data.size() != static_cast<std::size_t>(len))
  ------------------
  |  Branch (272:21): [True: 78, False: 4.14M]
  ------------------
  273|     78|                {
  274|     78|                    ec = msgpack_errc::unexpected_eof;
  275|     78|                    more_ = false;
  276|     78|                    return;
  277|     78|                }
  278|       |
  279|  4.14M|                auto result = unicode_traits::validate(data.data(), data.size());
  280|  4.14M|                if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (280:21): [True: 205, False: 4.14M]
  ------------------
  281|    205|                {
  282|    205|                    ec = msgpack_errc::invalid_utf8_text_string;
  283|    205|                    more_ = false;
  284|    205|                    return;
  285|    205|                }
  286|  4.14M|                visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  287|  4.14M|                    semantic_tag::none, *this, ec);
  288|  4.14M|                more_ = !cursor_mode_;
  289|  4.14M|            }
  290|  51.5M|        }
  291|  35.3M|        else if (type >= 0xe0) 
  ------------------
  |  Branch (291:18): [True: 7.16M, False: 28.2M]
  ------------------
  292|  7.16M|        {
  293|       |            // negative fixint
  294|  7.16M|            visitor.int64_value(static_cast<int8_t>(type), semantic_tag::none, *this, ec);
  295|  7.16M|            more_ = !cursor_mode_;
  296|  7.16M|        }
  297|  28.2M|        else
  298|  28.2M|        {
  299|  28.2M|            switch (type)
  300|  28.2M|            {
  301|  1.40M|                case jsoncons::msgpack::msgpack_type::nil_type: 
  ------------------
  |  Branch (301:17): [True: 1.40M, False: 26.8M]
  ------------------
  302|  1.40M|                {
  303|  1.40M|                    visitor.null_value(semantic_tag::none, *this, ec);
  304|  1.40M|                    more_ = !cursor_mode_;
  305|  1.40M|                    break;
  306|      0|                }
  307|   136k|                case jsoncons::msgpack::msgpack_type::true_type:
  ------------------
  |  Branch (307:17): [True: 136k, False: 28.0M]
  ------------------
  308|   136k|                {
  309|   136k|                    visitor.bool_value(true, semantic_tag::none, *this, ec);
  310|   136k|                    more_ = !cursor_mode_;
  311|   136k|                    break;
  312|      0|                }
  313|  24.9M|                case jsoncons::msgpack::msgpack_type::false_type:
  ------------------
  |  Branch (313:17): [True: 24.9M, False: 3.24M]
  ------------------
  314|  24.9M|                {
  315|  24.9M|                    visitor.bool_value(false, semantic_tag::none, *this, ec);
  316|  24.9M|                    more_ = !cursor_mode_;
  317|  24.9M|                    break;
  318|      0|                }
  319|  66.9k|                case jsoncons::msgpack::msgpack_type::float32_type: 
  ------------------
  |  Branch (319:17): [True: 66.9k, False: 28.1M]
  ------------------
  320|  66.9k|                {
  321|  66.9k|                    uint8_t buf[sizeof(float)];
  322|  66.9k|                    if (source_.read(buf, sizeof(float)) != sizeof(float))
  ------------------
  |  Branch (322:25): [True: 28, False: 66.8k]
  ------------------
  323|     28|                    {
  324|     28|                        ec = msgpack_errc::unexpected_eof;
  325|     28|                        more_ = false;
  326|     28|                        return;
  327|     28|                    }
  328|  66.8k|                    float val = binary::big_to_native<float>(buf, sizeof(buf));
  329|  66.8k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  330|  66.8k|                    more_ = !cursor_mode_;
  331|  66.8k|                    break;
  332|  66.9k|                }
  333|       |
  334|  14.4k|                case jsoncons::msgpack::msgpack_type::float64_type: 
  ------------------
  |  Branch (334:17): [True: 14.4k, False: 28.2M]
  ------------------
  335|  14.4k|                {
  336|  14.4k|                    uint8_t buf[sizeof(double)];
  337|  14.4k|                    if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (337:25): [True: 14, False: 14.3k]
  ------------------
  338|     14|                    {
  339|     14|                        ec = msgpack_errc::unexpected_eof;
  340|     14|                        more_ = false;
  341|     14|                        return;
  342|     14|                    }
  343|  14.3k|                    double val = binary::big_to_native<double>(buf, sizeof(buf));
  344|  14.3k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  345|  14.3k|                    more_ = !cursor_mode_;
  346|  14.3k|                    break;
  347|  14.4k|                }
  348|       |
  349|  5.51k|                case jsoncons::msgpack::msgpack_type::uint8_type: 
  ------------------
  |  Branch (349:17): [True: 5.51k, False: 28.2M]
  ------------------
  350|  5.51k|                {
  351|  5.51k|                    uint8_t b;
  352|  5.51k|                    if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (352:25): [True: 1, False: 5.51k]
  ------------------
  353|      1|                    {
  354|      1|                        ec = msgpack_errc::unexpected_eof;
  355|      1|                        more_ = false;
  356|      1|                        return;
  357|      1|                    }
  358|  5.51k|                    visitor.uint64_value(b, semantic_tag::none, *this, ec);
  359|  5.51k|                    more_ = !cursor_mode_;
  360|  5.51k|                    break;
  361|  5.51k|                }
  362|       |
  363|  1.05k|                case jsoncons::msgpack::msgpack_type::uint16_type: 
  ------------------
  |  Branch (363:17): [True: 1.05k, False: 28.2M]
  ------------------
  364|  1.05k|                {
  365|  1.05k|                    uint8_t buf[sizeof(uint16_t)];
  366|  1.05k|                    if (source_.read(buf, sizeof(uint16_t)) !=sizeof(uint16_t)) 
  ------------------
  |  Branch (366:25): [True: 3, False: 1.05k]
  ------------------
  367|      3|                    {
  368|      3|                        ec = msgpack_errc::unexpected_eof;
  369|      3|                        more_ = false;
  370|      3|                        return;
  371|      3|                    }
  372|  1.05k|                    uint16_t val = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  373|  1.05k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  374|  1.05k|                    more_ = !cursor_mode_;
  375|  1.05k|                    break;
  376|  1.05k|                }
  377|       |
  378|  8.00k|                case jsoncons::msgpack::msgpack_type::uint32_type: 
  ------------------
  |  Branch (378:17): [True: 8.00k, False: 28.2M]
  ------------------
  379|  8.00k|                {
  380|  8.00k|                    uint8_t buf[sizeof(uint32_t)];
  381|  8.00k|                    if (source_.read(buf, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (381:25): [True: 4, False: 8.00k]
  ------------------
  382|      4|                    {
  383|      4|                        ec = msgpack_errc::unexpected_eof;
  384|      4|                        more_ = false;
  385|      4|                        return;
  386|      4|                    }
  387|  8.00k|                    uint32_t val = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  388|  8.00k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  389|  8.00k|                    more_ = !cursor_mode_;
  390|  8.00k|                    break;
  391|  8.00k|                }
  392|       |
  393|  1.74k|                case jsoncons::msgpack::msgpack_type::uint64_type: 
  ------------------
  |  Branch (393:17): [True: 1.74k, False: 28.2M]
  ------------------
  394|  1.74k|                {
  395|  1.74k|                    uint8_t buf[sizeof(uint64_t)];
  396|  1.74k|                    if (source_.read(buf, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (396:25): [True: 8, False: 1.73k]
  ------------------
  397|      8|                    {
  398|      8|                        ec = msgpack_errc::unexpected_eof;
  399|      8|                        more_ = false;
  400|      8|                        return;
  401|      8|                    }
  402|  1.73k|                    uint64_t val = binary::big_to_native<uint64_t>(buf, sizeof(buf));
  403|  1.73k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  404|  1.73k|                    more_ = !cursor_mode_;
  405|  1.73k|                    break;
  406|  1.74k|                }
  407|       |
  408|  1.03k|                case jsoncons::msgpack::msgpack_type::int8_type: 
  ------------------
  |  Branch (408:17): [True: 1.03k, False: 28.2M]
  ------------------
  409|  1.03k|                {
  410|  1.03k|                    uint8_t buf[sizeof(int8_t)];
  411|  1.03k|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (411:25): [True: 1, False: 1.03k]
  ------------------
  412|      1|                    {
  413|      1|                        ec = msgpack_errc::unexpected_eof;
  414|      1|                        more_ = false;
  415|      1|                        return;
  416|      1|                    }
  417|  1.03k|                    int8_t val = binary::big_to_native<int8_t>(buf, sizeof(buf));
  418|  1.03k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  419|  1.03k|                    more_ = !cursor_mode_;
  420|  1.03k|                    break;
  421|  1.03k|                }
  422|       |
  423|  71.1k|                case jsoncons::msgpack::msgpack_type::int16_type: 
  ------------------
  |  Branch (423:17): [True: 71.1k, False: 28.1M]
  ------------------
  424|  71.1k|                {
  425|  71.1k|                    uint8_t buf[sizeof(int16_t)];
  426|  71.1k|                    if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (426:25): [True: 4, False: 71.1k]
  ------------------
  427|      4|                    {
  428|      4|                        ec = msgpack_errc::unexpected_eof;
  429|      4|                        more_ = false;
  430|      4|                        return;
  431|      4|                    }
  432|  71.1k|                    int16_t val = binary::big_to_native<int16_t>(buf, sizeof(buf));
  433|  71.1k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  434|  71.1k|                    more_ = !cursor_mode_;
  435|  71.1k|                    break;
  436|  71.1k|                }
  437|       |
  438|  5.54k|                case jsoncons::msgpack::msgpack_type::int32_type: 
  ------------------
  |  Branch (438:17): [True: 5.54k, False: 28.2M]
  ------------------
  439|  5.54k|                {
  440|  5.54k|                    uint8_t buf[sizeof(int32_t)];
  441|  5.54k|                    if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (441:25): [True: 5, False: 5.54k]
  ------------------
  442|      5|                    {
  443|      5|                        ec = msgpack_errc::unexpected_eof;
  444|      5|                        more_ = false;
  445|      5|                        return;
  446|      5|                    }
  447|  5.54k|                    int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  448|  5.54k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  449|  5.54k|                    more_ = !cursor_mode_;
  450|  5.54k|                    break;
  451|  5.54k|                }
  452|       |
  453|  1.32k|                case jsoncons::msgpack::msgpack_type::int64_type: 
  ------------------
  |  Branch (453:17): [True: 1.32k, False: 28.2M]
  ------------------
  454|  1.32k|                {
  455|  1.32k|                    uint8_t buf[sizeof(int64_t)];
  456|  1.32k|                    if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (456:25): [True: 6, False: 1.31k]
  ------------------
  457|      6|                    {
  458|      6|                        ec = msgpack_errc::unexpected_eof;
  459|      6|                        more_ = false;
  460|      6|                        return;
  461|      6|                    }
  462|  1.31k|                    int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  463|  1.31k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  464|  1.31k|                    more_ = !cursor_mode_;
  465|  1.31k|                    break;
  466|  1.32k|                }
  467|       |
  468|    373|                case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (468:17): [True: 373, False: 28.2M]
  ------------------
  469|  1.26k|                case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (469:17): [True: 888, False: 28.2M]
  ------------------
  470|  1.40k|                case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (470:17): [True: 140, False: 28.2M]
  ------------------
  471|  1.40k|                {
  472|  1.40k|                    std::size_t len = get_size(type, ec);
  473|  1.40k|                    if (!more_)
  ------------------
  |  Branch (473:25): [True: 23, False: 1.37k]
  ------------------
  474|     23|                    {
  475|     23|                        return;
  476|     23|                    }
  477|       |
  478|  1.37k|                    auto data = source_.read_span(len, bytes_buffer_);
  479|  1.37k|                    if (data.size() != static_cast<std::size_t>(len))
  ------------------
  |  Branch (479:25): [True: 104, False: 1.27k]
  ------------------
  480|    104|                    {
  481|    104|                        ec = msgpack_errc::unexpected_eof;
  482|    104|                        more_ = false;
  483|    104|                        return;
  484|    104|                    }
  485|       |
  486|  1.27k|                    auto result = unicode_traits::validate(data.data(), data.size());
  487|  1.27k|                    if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (487:25): [True: 37, False: 1.23k]
  ------------------
  488|     37|                    {
  489|     37|                        ec = msgpack_errc::invalid_utf8_text_string;
  490|     37|                        more_ = false;
  491|     37|                        return;
  492|     37|                    }
  493|  1.23k|                    visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  494|  1.23k|                        semantic_tag::none, *this, ec);
  495|  1.23k|                    more_ = !cursor_mode_;
  496|  1.23k|                    break;
  497|  1.27k|                }
  498|       |
  499|   201k|                case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (499:17): [True: 201k, False: 28.0M]
  ------------------
  500|   201k|                case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (500:17): [True: 629, False: 28.2M]
  ------------------
  501|   201k|                case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (501:17): [True: 289, False: 28.2M]
  ------------------
  502|   201k|                {
  503|   201k|                    std::size_t len = get_size(type,ec);
  504|   201k|                    if (!more_)
  ------------------
  |  Branch (504:25): [True: 34, False: 201k]
  ------------------
  505|     34|                    {
  506|     34|                        return;
  507|     34|                    }
  508|   201k|                    auto data = source_.read_span(len, bytes_buffer_);
  509|   201k|                    if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   79|   201k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 135, False: 201k]
  |  |  ------------------
  ------------------
  510|    135|                    {
  511|    135|                        ec = msgpack_errc::unexpected_eof;
  512|    135|                        more_ = false;
  513|    135|                        return;
  514|    135|                    }
  515|       |
  516|   201k|                    visitor.byte_string_value(byte_string_view(data.data(),data.size()), 
  517|   201k|                        semantic_tag::none, 
  518|   201k|                        *this,
  519|   201k|                        ec);
  520|   201k|                    more_ = !cursor_mode_;
  521|   201k|                    break;
  522|   201k|                }
  523|  1.07M|                case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (523:17): [True: 1.07M, False: 27.1M]
  ------------------
  524|  1.09M|                case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (524:17): [True: 27.7k, False: 28.2M]
  ------------------
  525|  1.18M|                case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (525:17): [True: 89.5k, False: 28.1M]
  ------------------
  526|  1.20M|                case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (526:17): [True: 14.1k, False: 28.2M]
  ------------------
  527|  1.27M|                case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (527:17): [True: 68.6k, False: 28.1M]
  ------------------
  528|  1.30M|                case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (528:17): [True: 31.5k, False: 28.1M]
  ------------------
  529|  1.30M|                case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (529:17): [True: 495, False: 28.2M]
  ------------------
  530|  1.30M|                case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (530:17): [True: 307, False: 28.2M]
  ------------------
  531|  1.30M|                {
  532|  1.30M|                    std::size_t len = get_size(type,ec);
  533|  1.30M|                    if (!more_)
  ------------------
  |  Branch (533:25): [True: 31, False: 1.30M]
  ------------------
  534|     31|                    {
  535|     31|                        return;
  536|     31|                    }
  537|       |
  538|       |                    // type
  539|  1.30M|                    uint8_t buf[sizeof(int8_t)];
  540|  1.30M|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (540:25): [True: 50, False: 1.30M]
  ------------------
  541|     50|                    {
  542|     50|                        ec = msgpack_errc::unexpected_eof;
  543|     50|                        more_ = false;
  544|     50|                        return;
  545|     50|                    }
  546|       |
  547|  1.30M|                    int8_t ext_type = binary::big_to_native<int8_t>(buf, sizeof(buf));
  548|       |
  549|  1.30M|                    bool is_timestamp = false; 
  550|  1.30M|                    if (ext_type == -1)
  ------------------
  |  Branch (550:25): [True: 40.3k, False: 1.26M]
  ------------------
  551|  40.3k|                    {
  552|  40.3k|                        is_timestamp = true;;
  553|  40.3k|                    }
  554|       |
  555|       |                    // payload
  556|  1.30M|                    if (is_timestamp && len == 4)
  ------------------
  |  Branch (556:25): [True: 40.3k, False: 1.26M]
  |  Branch (556:41): [True: 268, False: 40.1k]
  ------------------
  557|    268|                    {
  558|    268|                        uint8_t buf32[sizeof(uint32_t)];
  559|    268|                        if (source_.read(buf32, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (559:29): [True: 3, False: 265]
  ------------------
  560|      3|                        {
  561|      3|                            ec = msgpack_errc::unexpected_eof;
  562|      3|                            more_ = false;
  563|      3|                            return;
  564|      3|                        }
  565|    265|                        uint32_t val = binary::big_to_native<uint32_t>(buf32, sizeof(buf32));
  566|    265|                        visitor.uint64_value(val, semantic_tag::epoch_second, *this, ec);
  567|    265|                        more_ = !cursor_mode_;
  568|    265|                    }
  569|  1.30M|                    else if (is_timestamp && len == 8)
  ------------------
  |  Branch (569:30): [True: 40.1k, False: 1.26M]
  |  Branch (569:46): [True: 12.5k, False: 27.5k]
  ------------------
  570|  12.5k|                    {
  571|  12.5k|                        uint8_t buf64[sizeof(uint64_t)];
  572|  12.5k|                        if (source_.read(buf64, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (572:29): [True: 13, False: 12.5k]
  ------------------
  573|     13|                        {
  574|     13|                            ec = msgpack_errc::unexpected_eof;
  575|     13|                            more_ = false;
  576|     13|                            return;
  577|     13|                        }
  578|  12.5k|                        uint64_t data64 = binary::big_to_native<uint64_t>(buf64, sizeof(buf64));
  579|  12.5k|                        uint64_t sec = data64 & 0x00000003ffffffffL;
  580|  12.5k|                        uint64_t nsec = data64 >> 34;
  581|       |
  582|  12.5k|                        bigint nano(sec);
  583|  12.5k|                        nano *= uint64_t(nanos_in_second);
  584|  12.5k|                        nano += nsec;
  585|  12.5k|                        text_buffer_.clear();
  586|  12.5k|                        nano.append_to_buffer(text_buffer_);
  587|  12.5k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  588|  12.5k|                        more_ = !cursor_mode_;
  589|  12.5k|                        if (!more_) return;
  ------------------
  |  Branch (589:29): [True: 0, False: 12.5k]
  ------------------
  590|  12.5k|                    }
  591|  1.29M|                    else if (is_timestamp && len == 12)
  ------------------
  |  Branch (591:30): [True: 27.5k, False: 1.26M]
  |  Branch (591:46): [True: 26.3k, False: 1.21k]
  ------------------
  592|  26.3k|                    {
  593|  26.3k|                        uint8_t buf1[sizeof(uint32_t)];
  594|  26.3k|                        if (source_.read(buf1, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (594:29): [True: 3, False: 26.3k]
  ------------------
  595|      3|                        {
  596|      3|                            ec = msgpack_errc::unexpected_eof;
  597|      3|                            more_ = false;
  598|      3|                            return;
  599|      3|                        }
  600|  26.3k|                        uint32_t nsec = binary::big_to_native<uint32_t>(buf1, sizeof(buf1));
  601|       |
  602|  26.3k|                        uint8_t buf2[sizeof(int64_t)];
  603|  26.3k|                        if (source_.read(buf2, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (603:29): [True: 9, False: 26.3k]
  ------------------
  604|      9|                        {
  605|      9|                            ec = msgpack_errc::unexpected_eof;
  606|      9|                            more_ = false;
  607|      9|                            return;
  608|      9|                        }
  609|  26.3k|                        int64_t sec = binary::big_to_native<int64_t>(buf2, sizeof(buf2));
  610|       |
  611|  26.3k|                        bigint nano(sec);
  612|       |
  613|  26.3k|                        nano *= uint64_t(nanos_in_second);
  614|       |
  615|  26.3k|                        if (nano < 0)
  ------------------
  |  Branch (615:29): [True: 4.99k, False: 21.3k]
  ------------------
  616|  4.99k|                        {
  617|  4.99k|                            nano -= nsec;
  618|  4.99k|                        }
  619|  21.3k|                        else
  620|  21.3k|                        {
  621|  21.3k|                            nano += nsec;
  622|  21.3k|                        }
  623|       |
  624|  26.3k|                        text_buffer_.clear();
  625|  26.3k|                        nano.append_to_buffer(text_buffer_);
  626|  26.3k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  627|  26.3k|                        more_ = !cursor_mode_;
  628|  26.3k|                        if (!more_) return;
  ------------------
  |  Branch (628:29): [True: 0, False: 26.3k]
  ------------------
  629|  26.3k|                    }
  630|  1.26M|                    else
  631|  1.26M|                    {
  632|  1.26M|                        auto data = source_.read_span(len, bytes_buffer_);
  633|  1.26M|                        if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   79|  1.26M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 189, False: 1.26M]
  |  |  ------------------
  ------------------
  634|    189|                        {
  635|    189|                            ec = msgpack_errc::unexpected_eof;
  636|    189|                            more_ = false;
  637|    189|                            return;
  638|    189|                        }
  639|       |
  640|  1.26M|                        visitor.byte_string_value(byte_string_view(data.data(),data.size()), 
  641|  1.26M|                                                          static_cast<uint8_t>(ext_type), 
  642|  1.26M|                                                          *this,
  643|  1.26M|                                                          ec);
  644|  1.26M|                        more_ = !cursor_mode_;
  645|  1.26M|                    }
  646|  1.30M|                    break;
  647|  1.30M|                }
  648|       |
  649|  1.30M|                case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (649:17): [True: 5.49k, False: 28.2M]
  ------------------
  650|  7.34k|                case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (650:17): [True: 1.85k, False: 28.2M]
  ------------------
  651|  7.34k|                {
  652|  7.34k|                    begin_array(visitor,type,ec);
  653|  7.34k|                    break;
  654|  5.49k|                }
  655|       |
  656|  13.6k|                case jsoncons::msgpack::msgpack_type::map16_type : 
  ------------------
  |  Branch (656:17): [True: 13.6k, False: 28.2M]
  ------------------
  657|  15.3k|                case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (657:17): [True: 1.70k, False: 28.2M]
  ------------------
  658|  15.3k|                {
  659|  15.3k|                    begin_object(visitor, type, ec);
  660|  15.3k|                    break;
  661|  13.6k|                }
  662|       |
  663|     27|                default:
  ------------------
  |  Branch (663:17): [True: 27, False: 28.2M]
  ------------------
  664|     27|                {
  665|     27|                    ec = msgpack_errc::unknown_type;
  666|     27|                    more_ = false;
  667|     27|                    return;
  668|  13.6k|                }
  669|  28.2M|            }
  670|  28.2M|        }
  671|  86.9M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12begin_objectERNS_21basic_generic_visitorIcEEhRNS3_10error_codeE:
  701|  1.55M|    {
  702|  1.55M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   79|  1.55M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 3, False: 1.55M]
  |  |  ------------------
  ------------------
  703|      3|        {
  704|      3|            ec = msgpack_errc::max_nesting_depth_exceeded;
  705|      3|            more_ = false;
  706|      3|            return;
  707|      3|        } 
  708|  1.55M|        std::size_t length = get_size(type, ec);
  709|  1.55M|        if (!more_)
  ------------------
  |  Branch (709:13): [True: 28, False: 1.55M]
  ------------------
  710|     28|        {
  711|     28|            return;
  712|     28|        }
  713|  1.55M|        state_stack_.emplace_back(parse_mode::map_key,length);
  714|  1.55M|        visitor.begin_object(length, semantic_tag::none, *this, ec);
  715|  1.55M|        more_ = !cursor_mode_;
  716|  1.55M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_21basic_generic_visitorIcEEhRNS3_10error_codeE:
  674|  6.70M|    {
  675|  6.70M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   79|  6.70M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1, False: 6.70M]
  |  |  ------------------
  ------------------
  676|      1|        {
  677|      1|            ec = msgpack_errc::max_nesting_depth_exceeded;
  678|      1|            more_ = false;
  679|      1|            return;
  680|      1|        } 
  681|  6.70M|        std::size_t length = get_size(type, ec);
  682|  6.70M|        if (!more_)
  ------------------
  |  Branch (682:13): [True: 22, False: 6.70M]
  ------------------
  683|     22|        {
  684|     22|            return;
  685|     22|        }
  686|  6.70M|        state_stack_.emplace_back(parse_mode::array,length);
  687|  6.70M|        visitor.begin_array(length, semantic_tag::none, *this, ec);
  688|  6.70M|        more_ = !cursor_mode_;
  689|  6.70M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE8get_sizeEhRNS3_10error_codeE:
  727|  9.76M|    {
  728|  9.76M|        switch (type)
  729|  9.76M|        {
  730|    373|            case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (730:13): [True: 373, False: 9.76M]
  ------------------
  731|   201k|            case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (731:13): [True: 201k, False: 9.56M]
  ------------------
  732|   232k|            case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (732:13): [True: 31.5k, False: 9.73M]
  ------------------
  733|   232k|            {
  734|   232k|                uint8_t buf[sizeof(int8_t)];
  735|   232k|                if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (735:21): [True: 31, False: 232k]
  ------------------
  736|     31|                {
  737|     31|                    ec = msgpack_errc::unexpected_eof;
  738|     31|                    more_ = false;
  739|     31|                    return 0;
  740|     31|                }
  741|   232k|                uint8_t len = binary::big_to_native<uint8_t>(buf, sizeof(buf));
  742|   232k|                return static_cast<std::size_t>(len);
  743|   232k|            }
  744|       |
  745|    888|            case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (745:13): [True: 888, False: 9.76M]
  ------------------
  746|  1.51k|            case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (746:13): [True: 629, False: 9.76M]
  ------------------
  747|  2.01k|            case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (747:13): [True: 495, False: 9.76M]
  ------------------
  748|  7.50k|            case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (748:13): [True: 5.49k, False: 9.76M]
  ------------------
  749|  21.1k|            case jsoncons::msgpack::msgpack_type::map16_type:
  ------------------
  |  Branch (749:13): [True: 13.6k, False: 9.75M]
  ------------------
  750|  21.1k|            {
  751|  21.1k|                uint8_t buf[sizeof(int16_t)];
  752|  21.1k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (752:21): [True: 53, False: 21.1k]
  ------------------
  753|     53|                {
  754|     53|                    ec = msgpack_errc::unexpected_eof;
  755|     53|                    more_ = false;
  756|     53|                    return 0;
  757|     53|                }
  758|  21.1k|                uint16_t len = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  759|  21.1k|                return static_cast<std::size_t>(len);
  760|  21.1k|            }
  761|       |
  762|    140|            case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (762:13): [True: 140, False: 9.76M]
  ------------------
  763|    429|            case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (763:13): [True: 289, False: 9.76M]
  ------------------
  764|    736|            case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (764:13): [True: 307, False: 9.76M]
  ------------------
  765|  2.59k|            case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (765:13): [True: 1.85k, False: 9.76M]
  ------------------
  766|  4.29k|            case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (766:13): [True: 1.70k, False: 9.76M]
  ------------------
  767|  4.29k|            {
  768|  4.29k|                uint8_t buf[sizeof(int32_t)];
  769|  4.29k|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (769:21): [True: 54, False: 4.24k]
  ------------------
  770|     54|                {
  771|     54|                    ec = msgpack_errc::unexpected_eof;
  772|     54|                    more_ = false;
  773|     54|                    return 0;
  774|     54|                }
  775|  4.24k|                uint32_t len = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  776|  4.24k|                return static_cast<std::size_t>(len);
  777|  4.29k|            }
  778|  1.07M|            case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (778:13): [True: 1.07M, False: 8.69M]
  ------------------
  779|  1.07M|                return 1;
  780|  27.7k|            case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (780:13): [True: 27.7k, False: 9.74M]
  ------------------
  781|  27.7k|                return 2;
  782|  89.5k|            case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (782:13): [True: 89.5k, False: 9.67M]
  ------------------
  783|  89.5k|                return 4;
  784|  14.1k|            case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (784:13): [True: 14.1k, False: 9.75M]
  ------------------
  785|  14.1k|                return 8;
  786|  68.6k|            case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (786:13): [True: 68.6k, False: 9.69M]
  ------------------
  787|  68.6k|                return 16;
  788|  8.23M|            default:
  ------------------
  |  Branch (788:13): [True: 8.23M, False: 1.52M]
  ------------------
  789|  8.23M|                if ((type > 0x8f && type <= 0x9f) // fixarray
  ------------------
  |  Branch (789:22): [True: 6.69M, False: 1.54M]
  |  Branch (789:37): [True: 6.69M, False: 0]
  ------------------
  790|  1.54M|                    || (type > 0x7f && type <= 0x8f) // fixmap
  ------------------
  |  Branch (790:25): [True: 1.54M, False: 0]
  |  Branch (790:40): [True: 1.54M, False: 0]
  ------------------
  791|  8.23M|        )
  792|  8.23M|                {
  793|  8.23M|                    return type & 0x0f;
  794|  8.23M|                }
  795|      0|                else
  796|      0|                {
  797|      0|                    ec = msgpack_errc::unknown_type;
  798|      0|                    more_ = false;
  799|      0|                    return 0;
  800|      0|                }
  801|      0|                break;
  802|  9.76M|        }
  803|  9.76M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  692|  6.67M|    {
  693|  6.67M|        --nesting_depth_;
  694|       |
  695|  6.67M|        visitor.end_array(*this, ec);
  696|  6.67M|        more_ = !cursor_mode_;
  697|  6.67M|        state_stack_.pop_back();
  698|  6.67M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10end_objectERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  719|  1.53M|    {
  720|  1.53M|        --nesting_depth_;
  721|  1.53M|        visitor.end_object(*this, ec);
  722|  1.53M|        more_ = !cursor_mode_;
  723|  1.53M|        state_stack_.pop_back();
  724|  1.53M|    }

_ZN8jsoncons7msgpack20basic_msgpack_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RNS_18basic_json_visitorIcEERKNS0_22msgpack_decode_optionsERKS7_:
   51|  6.97k|       : parser_(std::forward<Sourceable>(source), options, alloc),
   52|  6.97k|         adaptor_(visitor, alloc), visitor_(adaptor_)
   53|  6.97k|    {
   54|  6.97k|    }
_ZN8jsoncons7msgpack20basic_msgpack_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4readERNS3_10error_codeE:
   87|  6.97k|    {
   88|  6.97k|        parser_.reset();
   89|  6.97k|        parser_.parse(visitor_, ec);
   90|  6.97k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  6.97k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4.64k, False: 2.33k]
  |  |  ------------------
  ------------------
   91|  4.64k|        {
   92|  4.64k|            return;
   93|  4.64k|        }
   94|  6.97k|    }
_ZNK8jsoncons7msgpack20basic_msgpack_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
   97|  4.64k|    {
   98|  4.64k|        return parser_.line();
   99|  4.64k|    }
_ZNK8jsoncons7msgpack20basic_msgpack_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  102|  4.64k|    {
  103|  4.64k|        return parser_.column();
  104|  4.64k|    }

