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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2774|   119M|        {
 2775|   119M|             destroy();
 2776|   119M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  898|   119M|        {
  899|   119M|            switch (storage_kind())
  900|   119M|            {
  901|  11.5k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (901:17): [True: 11.5k, False: 119M]
  ------------------
  902|  11.5k|                {
  903|  11.5k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (903:25): [True: 11.5k, False: 0]
  ------------------
  904|  11.5k|                    {
  905|  11.5k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  906|  11.5k|                    }
  907|  11.5k|                    break;
  908|      0|                }
  909|   977k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (909:17): [True: 977k, False: 118M]
  ------------------
  910|   977k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (910:25): [True: 977k, False: 0]
  ------------------
  911|   977k|                    {
  912|   977k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  913|   977k|                    }
  914|   977k|                    break;
  915|  3.83M|                case json_storage_kind::array:
  ------------------
  |  Branch (915:17): [True: 3.83M, False: 116M]
  ------------------
  916|  3.83M|                {
  917|  3.83M|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (917:25): [True: 3.83M, False: 0]
  ------------------
  918|  3.83M|                    {
  919|  3.83M|                        auto& stor = cast<array_storage>();
  920|  3.83M|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  921|  3.83M|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  922|  3.83M|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  923|  3.83M|                    }
  924|  3.83M|                    break;
  925|      0|                }
  926|  1.09M|                case json_storage_kind::object:
  ------------------
  |  Branch (926:17): [True: 1.09M, False: 118M]
  ------------------
  927|  1.09M|                {
  928|  1.09M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (928:25): [True: 1.09M, False: 0]
  ------------------
  929|  1.09M|                    {
  930|  1.09M|                        auto& stor = cast<object_storage>();
  931|  1.09M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  932|  1.09M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  933|  1.09M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  934|  1.09M|                    }
  935|  1.09M|                    break;
  936|      0|                }
  937|   113M|                default:
  ------------------
  |  Branch (937:17): [True: 113M, False: 5.91M]
  ------------------
  938|   113M|                    break;
  939|   119M|            }
  940|   119M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1462|   283M|        {
 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|   283M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1468|   283M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1004|   123k|        {
 1005|   123k|            return cast(identity<T>());
 1006|   123k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1095|   123k|        {
 1096|   123k|            return long_str_;
 1097|   123k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1004|  5.12M|        {
 1005|  5.12M|            return cast(identity<T>());
 1006|  5.12M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1105|  5.12M|        {
 1106|  5.12M|            return byte_str_;
 1107|  5.12M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1004|  35.6M|        {
 1005|  35.6M|            return cast(identity<T>());
 1006|  35.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1125|  35.6M|        {
 1126|  35.6M|            return array_;
 1127|  35.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2307|  79.4M|        {
 2308|  79.4M|            uninitialized_move(std::move(other));
 2309|  79.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1302|  79.4M|        {
 1303|  79.4M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1303:17): [True: 67.5M, False: 11.9M]
  ------------------
 1304|  67.5M|            {
 1305|  67.5M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1306|  67.5M|            }
 1307|  11.9M|            else
 1308|  11.9M|            {
 1309|  11.9M|                switch (other.storage_kind())
 1310|  11.9M|                {
 1311|  26.2k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1311:21): [True: 26.2k, False: 11.9M]
  ------------------
 1312|  26.2k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1313|  26.2k|                        other.construct<null_storage>();
 1314|  26.2k|                        break;
 1315|  1.04M|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1315:21): [True: 1.04M, False: 10.9M]
  ------------------
 1316|  1.04M|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1317|  1.04M|                        other.construct<null_storage>();
 1318|  1.04M|                        break;
 1319|  8.43M|                    case json_storage_kind::array:
  ------------------
  |  Branch (1319:21): [True: 8.43M, False: 3.51M]
  ------------------
 1320|  8.43M|                        construct<array_storage>(other.cast<array_storage>());
 1321|  8.43M|                        other.construct<null_storage>();
 1322|  8.43M|                        break;
 1323|  2.44M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1323:21): [True: 2.44M, False: 9.50M]
  ------------------
 1324|  2.44M|                        construct<object_storage>(other.cast<object_storage>());
 1325|  2.44M|                        other.construct<null_storage>();
 1326|  2.44M|                        break;
 1327|      0|                    default:
  ------------------
  |  Branch (1327:21): [True: 0, False: 11.9M]
  ------------------
 1328|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1329|      0|                        break;
 1330|  11.9M|                }
 1331|  11.9M|            }
 1332|  79.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  995|  44.6k|        {
  996|  44.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  44.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  626|  62.9k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  627|  62.9k|            {
  628|  62.9k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  995|  11.9M|        {
  996|  11.9M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  11.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1004|  16.6M|        {
 1005|  16.6M|            return cast(identity<T>());
 1006|  16.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1015|  16.6M|        {
 1016|  16.6M|            return null_;
 1017|  16.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  450|  13.3M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  451|  13.3M|            {
  452|  13.3M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  995|  1.09M|        {
  996|  1.09M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.09M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  675|  1.15M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  676|  1.15M|            {
  677|  1.15M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  995|  9.99M|        {
  996|  9.99M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  9.99M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  727|  11.5M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  728|  11.5M|            {
  729|  11.5M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  995|  2.94M|        {
  996|  2.94M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.94M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  777|  3.45M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  778|  3.45M|            {
  779|  3.45M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4759|   392k|        {
 4760|   392k|            switch (storage_kind())
 4761|   392k|            {
 4762|   392k|                case json_storage_kind::array:
  ------------------
  |  Branch (4762:17): [True: 392k, False: 0]
  ------------------
 4763|   392k|                    return array_range_type(cast<array_storage>().value().begin(),
 4764|   392k|                        cast<array_storage>().value().end());
 4765|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4765:17): [True: 0, False: 392k]
  ------------------
 4766|      0|                    return cast<json_ref_storage>().value().array_range();
 4767|      0|                default:
  ------------------
  |  Branch (4767:17): [True: 0, False: 392k]
  ------------------
 4768|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4769|   392k|            }
 4770|   392k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  4.18M|            {
  751|  4.18M|                return *ptr_;
  752|  4.18M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|   392k|            : first_(first), last_(last)
  349|   392k|        {
  350|   392k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|   392k|        {
  354|   392k|            return first_;
  355|   392k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|   392k|        {
  358|   392k|            return last_;
  359|   392k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3425|  68.2k|        {
 3426|  68.2k|            switch (storage_kind())
 3427|  68.2k|            {
 3428|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 68.2k]
  ------------------
 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: 68.2k]
  ------------------
 3432|      0|                    return cast<short_string_storage>().length() == 0;
 3433|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3433:17): [True: 0, False: 68.2k]
  ------------------
 3434|      0|                    return cast<long_string_storage>().length() == 0;
 3435|  38.8k|                case json_storage_kind::array:
  ------------------
  |  Branch (3435:17): [True: 38.8k, False: 29.3k]
  ------------------
 3436|  38.8k|                    return cast<array_storage>().value().empty();
 3437|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3437:17): [True: 0, False: 68.2k]
  ------------------
 3438|      0|                    return true;
 3439|  29.3k|                case json_storage_kind::object:
  ------------------
  |  Branch (3439:17): [True: 29.3k, False: 38.8k]
  ------------------
 3440|  29.3k|                    return cast<object_storage>().value().empty();
 3441|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3441:17): [True: 0, False: 68.2k]
  ------------------
 3442|      0|                    return cast<const_json_ref_storage>().value().empty();
 3443|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3443:17): [True: 0, False: 68.2k]
  ------------------
 3444|      0|                    return cast<json_ref_storage>().value().empty();
 3445|      0|                default:
  ------------------
  |  Branch (3445:17): [True: 0, False: 68.2k]
  ------------------
 3446|      0|                    return false;
 3447|  68.2k|            }
 3448|  68.2k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1010|  38.8k|        {
 1011|  38.8k|            return cast(identity<T>());
 1012|  38.8k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  38.8k|        {
 1131|  38.8k|            return array_;
 1132|  38.8k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  38.8k|            {
  756|  38.8k|                return *ptr_;
  757|  38.8k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1010|  29.3k|        {
 1011|  29.3k|            return cast(identity<T>());
 1012|  29.3k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|  29.3k|        {
 1121|  29.3k|            return object_;
 1122|  29.3k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  801|  29.3k|            {
  802|  29.3k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|  29.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 29.3k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  803|  29.3k|                return *ptr_;
  804|  29.3k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4156|   441k|        {
 4157|   441k|            switch (storage_kind())
 4158|   441k|            {
 4159|   392k|                case json_storage_kind::array:
  ------------------
  |  Branch (4159:17): [True: 392k, False: 49.4k]
  ------------------
 4160|   392k|                    cast<array_storage>().value().clear();
 4161|   392k|                    break;
 4162|  49.4k|                case json_storage_kind::object:
  ------------------
  |  Branch (4162:17): [True: 49.4k, False: 392k]
  ------------------
 4163|  49.4k|                    cast<object_storage>().value().clear();
 4164|  49.4k|                    break;
 4165|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4165:17): [True: 0, False: 441k]
  ------------------
 4166|      0|                    cast<json_ref_storage>().value().clear();
 4167|      0|                    break;
 4168|      0|                default:
  ------------------
  |  Branch (4168:17): [True: 0, False: 441k]
  ------------------
 4169|      0|                    break;
 4170|   441k|            }
 4171|   441k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  795|   188k|            {
  796|   188k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|   188k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 188k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  797|   188k|                return *ptr_;
  798|   188k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4725|  49.4k|        {
 4726|  49.4k|            switch (storage_kind())
 4727|  49.4k|            {
 4728|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4728:17): [True: 0, False: 49.4k]
  ------------------
 4729|      0|                    return object_range_type(object_iterator(), object_iterator());
 4730|  49.4k|                case json_storage_kind::object:
  ------------------
  |  Branch (4730:17): [True: 49.4k, False: 0]
  ------------------
 4731|  49.4k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4732|  49.4k|                                                  object_iterator(cast<object_storage>().value().end()));
 4733|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4733:17): [True: 0, False: 49.4k]
  ------------------
 4734|      0|                    return cast<json_ref_storage>().value().object_range();
 4735|      0|                default:
  ------------------
  |  Branch (4735:17): [True: 0, False: 49.4k]
  ------------------
 4736|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4737|  49.4k|            }
 4738|  49.4k|        }
_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|  49.4k|            : first_(first), last_(last)
  349|  49.4k|        {
  350|  49.4k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|  98.8k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|  98.8k|            {
  120|  98.8k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  353|  49.4k|        {
  354|  49.4k|            return first_;
  355|  49.4k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  357|  49.4k|        {
  358|  49.4k|            return last_;
  359|  49.4k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|   118k|            {
  219|   118k|                return !(*this == rhs);
  220|   118k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|   118k|            {
  210|   118k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   77|   236k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 118k, False: 0]
  |  |  |  Branch (77:48): [True: 118k, False: 0]
  |  |  |  Branch (77:48): [True: 118k, False: 0]
  |  |  ------------------
  ------------------
  211|   118k|                {
  212|   118k|                    return current_ == rhs.current_;
  213|   118k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|   118k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  68.8k|            {
  141|  68.8k|                return *current_;
  142|  68.8k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  68.8k|            {
  151|  68.8k|                ++current_;
  152|  68.8k|                return *this;
  153|  68.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1004|  9.35M|        {
 1005|  9.35M|            return cast(identity<T>());
 1006|  9.35M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1115|  9.35M|        {
 1116|  9.35M|            return object_;
 1117|  9.35M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2275|  7.20k|        {
 2276|  7.20k|            construct<empty_object_storage>(semantic_tag::none);
 2277|  7.20k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  995|  7.20k|        {
  996|  7.20k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  7.20k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1004|  11.8k|        {
 1005|  11.8k|            return cast(identity<T>());
 1006|  11.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1025|  11.8k|        {
 1026|  11.8k|            return empty_object_;
 1027|  11.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  462|  7.20k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|  7.20k|            {
  464|  7.20k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3484|  30.7k|        {
 3485|  30.7k|            if (n > 0)
  ------------------
  |  Branch (3485:17): [True: 30.7k, False: 0]
  ------------------
 3486|  30.7k|            {
 3487|  30.7k|                switch (storage_kind())
 3488|  30.7k|                {
 3489|  30.7k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3489:21): [True: 30.7k, False: 0]
  ------------------
 3490|  30.7k|                        cast<array_storage>().value().reserve(n);
 3491|  30.7k|                        break;
 3492|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3492:21): [True: 0, False: 30.7k]
  ------------------
 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: 30.7k]
  ------------------
 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: 30.7k]
  ------------------
 3500|      0|                        cast<json_ref_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    default:
  ------------------
  |  Branch (3502:21): [True: 0, False: 30.7k]
  ------------------
 3503|      0|                        break;
 3504|  30.7k|                }
 3505|  30.7k|            }
 3506|  30.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2320|  1.09M|        {
 2321|  1.09M|            auto ptr = create_object(alloc);
 2322|  1.09M|            construct<object_storage>(ptr, tag);
 2323|  1.09M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  976|  1.09M|        {
  977|  1.09M|            using stor_allocator_type = typename object_storage::allocator_type;
  978|  1.09M|            stor_allocator_type stor_alloc(alloc);
  979|  1.09M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  980|  1.09M|            JSONCONS_TRY
  ------------------
  |  |   37|  1.09M|    #define JSONCONS_TRY try
  ------------------
  981|  1.09M|            {
  982|  1.09M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  983|  1.09M|                    std::forward<Args>(args)...);
  984|  1.09M|            }
  985|  1.09M|            JSONCONS_CATCH(...)
  986|  1.09M|            {
  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.09M|            return ptr;
  991|  1.09M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  1.09M|        {
  996|  1.09M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.09M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  772|  1.09M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  773|  1.09M|            {
  774|  1.09M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4701|  2.97M|        {
 4702|  2.97M|            switch (storage_kind())
 4703|  2.97M|            {
 4704|  2.97M|                case json_storage_kind::array:
  ------------------
  |  Branch (4704:17): [True: 2.97M, False: 0]
  ------------------
 4705|  2.97M|                    cast<array_storage>().value().push_back(std::move(val));
 4706|  2.97M|                    break;
 4707|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4707:17): [True: 0, False: 2.97M]
  ------------------
 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.97M]
  ------------------
 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.97M|            }
 4713|  2.97M|        }
_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.7M, False: 2.13M]
  ------------------
 1417|  25.7M|            {
 1418|  25.7M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1419|  25.7M|            }
 1420|  2.13M|            else
 1421|  2.13M|            {
 1422|  2.13M|                swap(other);
 1423|  2.13M|            }
 1424|  27.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1934|  2.13M|        {
 1935|  2.13M|            if (this == &other)
  ------------------
  |  Branch (1935:17): [True: 0, False: 2.13M]
  ------------------
 1936|      0|            {
 1937|      0|                return;
 1938|      0|            }
 1939|  2.13M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1939:17): [True: 2.13M, False: 0]
  |  Branch (1939:55): [True: 0, False: 2.13M]
  ------------------
 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.13M|            else
 1947|  2.13M|            {
 1948|  2.13M|                switch (storage_kind())
 1949|  2.13M|                {
 1950|  1.64M|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 1.64M, False: 486k]
  ------------------
 1951|  2.32k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 2.32k, False: 2.13M]
  ------------------
 1952|  39.6k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 39.6k, False: 2.09M]
  ------------------
 1953|  49.7k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 49.7k, False: 2.08M]
  ------------------
 1954|   387k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 387k, False: 1.74M]
  ------------------
 1955|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 0, False: 2.13M]
  ------------------
 1956|  1.70k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 1.70k, False: 2.13M]
  ------------------
 1957|  5.23k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 5.23k, False: 2.12M]
  ------------------
 1958|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 2.13M]
  ------------------
 1959|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 0, False: 2.13M]
  ------------------
 1960|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 0, False: 2.13M]
  ------------------
 1961|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 2.13M]
  ------------------
 1962|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 2.13M]
  ------------------
 1963|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 2.13M]
  ------------------
 1964|      0|                    default:
  ------------------
  |  Branch (1964:21): [True: 0, False: 2.13M]
  ------------------
 1965|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1966|      0|                        break;
 1967|  2.13M|                }
 1968|  2.13M|            }
 1969|  2.13M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1170|  1.64M|        {
 1171|  1.64M|            switch (other.storage_kind())
 1172|  1.64M|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.64M]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 1.64M]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 1.64M]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 1.64M]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 1.64M]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.64M]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.64M]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.64M]
  ------------------
 1181|  5.18k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 5.18k, False: 1.64M]
  ------------------
 1182|  28.6k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 28.6k, False: 1.61M]
  ------------------
 1183|  1.25M|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.25M, False: 395k]
  ------------------
 1184|   362k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 362k, False: 1.28M]
  ------------------
 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.64M]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 1.64M]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 1.64M]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  1.64M|            }
 1191|  1.64M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  995|  1.64M|        {
  996|  1.64M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.64M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  995|  2.32k|        {
  996|  2.32k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1004|  7.46M|        {
 1005|  7.46M|            return cast(identity<T>());
 1006|  7.46M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1035|  7.46M|        {
 1036|  7.46M|            return boolean_;
 1037|  7.46M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  995|  39.6k|        {
  996|  39.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  39.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1004|  4.30M|        {
 1005|  4.30M|            return cast(identity<T>());
 1006|  4.30M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1045|  4.30M|        {
 1046|  4.30M|            return int64_;
 1047|  4.30M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  995|  49.7k|        {
  996|  49.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  49.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1004|  20.5M|        {
 1005|  20.5M|            return cast(identity<T>());
 1006|  20.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1055|  20.5M|        {
 1056|  20.5M|            return uint64_;
 1057|  20.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  995|   387k|        {
  996|   387k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   387k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1004|  38.1k|        {
 1005|  38.1k|            return cast(identity<T>());
 1006|  38.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1075|  38.1k|        {
 1076|  38.1k|            return float64_;
 1077|  38.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  995|  1.70k|        {
  996|  1.70k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.70k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1004|  1.70M|        {
 1005|  1.70M|            return cast(identity<T>());
 1006|  1.70M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1085|  1.70M|        {
 1086|  1.70M|            return short_str_;
 1087|  1.70M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  585|  5.23k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  586|  5.23k|            {
  587|  5.23k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  588|  5.23k|                data_[short_str_length_] = 0;
  589|  5.23k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  995|  5.23k|        {
  996|  5.23k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  5.23k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1156|  5.18k|        {
 1157|  5.18k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  5.18k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  5.18k|        {
 1163|  5.18k|            TypeR temp{other.cast<TypeR>()};
 1164|  5.18k|            other.construct<TypeL>(cast<TypeL>());
 1165|  5.18k|            construct<TypeR>(temp);
 1166|  5.18k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  28.6k|        {
 1157|  28.6k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  28.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  28.6k|        {
 1163|  28.6k|            TypeR temp{other.cast<TypeR>()};
 1164|  28.6k|            other.construct<TypeL>(cast<TypeL>());
 1165|  28.6k|            construct<TypeR>(temp);
 1166|  28.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1156|  1.25M|        {
 1157|  1.25M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.25M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.25M|        {
 1163|  1.25M|            TypeR temp{other.cast<TypeR>()};
 1164|  1.25M|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.25M|            construct<TypeR>(temp);
 1166|  1.25M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1156|   362k|        {
 1157|   362k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   362k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   362k|        {
 1163|   362k|            TypeR temp{other.cast<TypeR>()};
 1164|   362k|            other.construct<TypeL>(cast<TypeL>());
 1165|   362k|            construct<TypeR>(temp);
 1166|   362k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1170|  2.32k|        {
 1171|  2.32k|            switch (other.storage_kind())
 1172|  2.32k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.32k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.32k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.32k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.32k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.32k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.32k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.32k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.32k]
  ------------------
 1181|    745|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 745, False: 1.57k]
  ------------------
 1182|      3|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 3, False: 2.32k]
  ------------------
 1183|    259|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 259, False: 2.06k]
  ------------------
 1184|  1.31k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 1.31k, False: 1.00k]
  ------------------
 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.32k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.32k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.32k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.32k|            }
 1191|  2.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1156|    745|        {
 1157|    745|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    745|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    745|        {
 1163|    745|            TypeR temp{other.cast<TypeR>()};
 1164|    745|            other.construct<TypeL>(cast<TypeL>());
 1165|    745|            construct<TypeR>(temp);
 1166|    745|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvRS5_:
 1156|      3|        {
 1157|      3|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|      3|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|      3|        {
 1163|      3|            TypeR temp{other.cast<TypeR>()};
 1164|      3|            other.construct<TypeL>(cast<TypeL>());
 1165|      3|            construct<TypeR>(temp);
 1166|      3|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1156|    259|        {
 1157|    259|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    259|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    259|        {
 1163|    259|            TypeR temp{other.cast<TypeR>()};
 1164|    259|            other.construct<TypeL>(cast<TypeL>());
 1165|    259|            construct<TypeR>(temp);
 1166|    259|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1156|  1.31k|        {
 1157|  1.31k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.31k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.31k|        {
 1163|  1.31k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.31k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.31k|            construct<TypeR>(temp);
 1166|  1.31k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1170|  39.6k|        {
 1171|  39.6k|            switch (other.storage_kind())
 1172|  39.6k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 39.6k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 39.6k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 39.6k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 39.6k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 39.6k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 39.6k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 39.6k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 39.6k]
  ------------------
 1181|    345|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 345, False: 39.3k]
  ------------------
 1182|    884|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 884, False: 38.7k]
  ------------------
 1183|  32.1k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 32.1k, False: 7.48k]
  ------------------
 1184|  6.25k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 6.25k, False: 33.4k]
  ------------------
 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: 39.6k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 39.6k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 39.6k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  39.6k|            }
 1191|  39.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1156|    345|        {
 1157|    345|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    345|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    345|        {
 1163|    345|            TypeR temp{other.cast<TypeR>()};
 1164|    345|            other.construct<TypeL>(cast<TypeL>());
 1165|    345|            construct<TypeR>(temp);
 1166|    345|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    884|        {
 1157|    884|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    884|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    884|        {
 1163|    884|            TypeR temp{other.cast<TypeR>()};
 1164|    884|            other.construct<TypeL>(cast<TypeL>());
 1165|    884|            construct<TypeR>(temp);
 1166|    884|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1156|  32.1k|        {
 1157|  32.1k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  32.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  32.1k|        {
 1163|  32.1k|            TypeR temp{other.cast<TypeR>()};
 1164|  32.1k|            other.construct<TypeL>(cast<TypeL>());
 1165|  32.1k|            construct<TypeR>(temp);
 1166|  32.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1156|  6.25k|        {
 1157|  6.25k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  6.25k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  6.25k|        {
 1163|  6.25k|            TypeR temp{other.cast<TypeR>()};
 1164|  6.25k|            other.construct<TypeL>(cast<TypeL>());
 1165|  6.25k|            construct<TypeR>(temp);
 1166|  6.25k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1170|  49.7k|        {
 1171|  49.7k|            switch (other.storage_kind())
 1172|  49.7k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 49.7k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 49.7k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 49.7k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 49.7k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 49.7k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 49.7k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 49.7k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 49.7k]
  ------------------
 1181|  2.70k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 2.70k, False: 47.0k]
  ------------------
 1182|  3.38k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 3.38k, False: 46.3k]
  ------------------
 1183|  24.4k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 24.4k, False: 25.2k]
  ------------------
 1184|  19.1k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 19.1k, False: 30.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: 49.7k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 49.7k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 49.7k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  49.7k|            }
 1191|  49.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  2.70k|        {
 1157|  2.70k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.70k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.70k|        {
 1163|  2.70k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.70k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.70k|            construct<TypeR>(temp);
 1166|  2.70k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  3.38k|        {
 1157|  3.38k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  3.38k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  3.38k|        {
 1163|  3.38k|            TypeR temp{other.cast<TypeR>()};
 1164|  3.38k|            other.construct<TypeL>(cast<TypeL>());
 1165|  3.38k|            construct<TypeR>(temp);
 1166|  3.38k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1156|  24.4k|        {
 1157|  24.4k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  24.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  24.4k|        {
 1163|  24.4k|            TypeR temp{other.cast<TypeR>()};
 1164|  24.4k|            other.construct<TypeL>(cast<TypeL>());
 1165|  24.4k|            construct<TypeR>(temp);
 1166|  24.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1156|  19.1k|        {
 1157|  19.1k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  19.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  19.1k|        {
 1163|  19.1k|            TypeR temp{other.cast<TypeR>()};
 1164|  19.1k|            other.construct<TypeL>(cast<TypeL>());
 1165|  19.1k|            construct<TypeR>(temp);
 1166|  19.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1170|   387k|        {
 1171|   387k|            switch (other.storage_kind())
 1172|   387k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 387k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 387k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 387k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 387k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 387k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 387k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 387k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 387k]
  ------------------
 1181|  8.65k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 8.65k, False: 379k]
  ------------------
 1182|  20.8k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 20.8k, False: 367k]
  ------------------
 1183|   245k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 245k, False: 142k]
  ------------------
 1184|   112k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 112k, False: 274k]
  ------------------
 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: 387k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 387k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 387k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|   387k|            }
 1191|   387k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  8.65k|        {
 1157|  8.65k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  8.65k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  8.65k|        {
 1163|  8.65k|            TypeR temp{other.cast<TypeR>()};
 1164|  8.65k|            other.construct<TypeL>(cast<TypeL>());
 1165|  8.65k|            construct<TypeR>(temp);
 1166|  8.65k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  20.8k|        {
 1157|  20.8k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  20.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  20.8k|        {
 1163|  20.8k|            TypeR temp{other.cast<TypeR>()};
 1164|  20.8k|            other.construct<TypeL>(cast<TypeL>());
 1165|  20.8k|            construct<TypeR>(temp);
 1166|  20.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1156|   245k|        {
 1157|   245k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   245k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   245k|        {
 1163|   245k|            TypeR temp{other.cast<TypeR>()};
 1164|   245k|            other.construct<TypeL>(cast<TypeL>());
 1165|   245k|            construct<TypeR>(temp);
 1166|   245k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1156|   112k|        {
 1157|   112k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   112k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   112k|        {
 1163|   112k|            TypeR temp{other.cast<TypeR>()};
 1164|   112k|            other.construct<TypeL>(cast<TypeL>());
 1165|   112k|            construct<TypeR>(temp);
 1166|   112k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1170|  1.70k|        {
 1171|  1.70k|            switch (other.storage_kind())
 1172|  1.70k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.70k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 1.70k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 1.70k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 1.70k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 1.70k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.70k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.70k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.70k]
  ------------------
 1181|    244|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 244, False: 1.45k]
  ------------------
 1182|    484|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 484, False: 1.21k]
  ------------------
 1183|    544|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 544, False: 1.15k]
  ------------------
 1184|    431|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 431, False: 1.27k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 1.70k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 1.70k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 1.70k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  1.70k|            }
 1191|  1.70k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1156|    244|        {
 1157|    244|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    244|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    244|        {
 1163|    244|            TypeR temp{other.cast<TypeR>()};
 1164|    244|            other.construct<TypeL>(cast<TypeL>());
 1165|    244|            construct<TypeR>(temp);
 1166|    244|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    484|        {
 1157|    484|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    484|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    484|        {
 1163|    484|            TypeR temp{other.cast<TypeR>()};
 1164|    484|            other.construct<TypeL>(cast<TypeL>());
 1165|    484|            construct<TypeR>(temp);
 1166|    484|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1156|    544|        {
 1157|    544|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    544|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    544|        {
 1163|    544|            TypeR temp{other.cast<TypeR>()};
 1164|    544|            other.construct<TypeL>(cast<TypeL>());
 1165|    544|            construct<TypeR>(temp);
 1166|    544|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1156|    431|        {
 1157|    431|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    431|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    431|        {
 1163|    431|            TypeR temp{other.cast<TypeR>()};
 1164|    431|            other.construct<TypeL>(cast<TypeL>());
 1165|    431|            construct<TypeR>(temp);
 1166|    431|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1170|  5.23k|        {
 1171|  5.23k|            switch (other.storage_kind())
 1172|  5.23k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 5.23k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 5.23k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 5.23k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 5.23k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 5.23k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 5.23k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 5.23k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 5.23k]
  ------------------
 1181|    462|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 462, False: 4.77k]
  ------------------
 1182|    713|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 713, False: 4.51k]
  ------------------
 1183|  1.73k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.73k, False: 3.50k]
  ------------------
 1184|  2.32k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 2.32k, False: 2.90k]
  ------------------
 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.23k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 5.23k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 5.23k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  5.23k|            }
 1191|  5.23k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1156|    462|        {
 1157|    462|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    462|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    462|        {
 1163|    462|            TypeR temp{other.cast<TypeR>()};
 1164|    462|            other.construct<TypeL>(cast<TypeL>());
 1165|    462|            construct<TypeR>(temp);
 1166|    462|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    713|        {
 1157|    713|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    713|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    713|        {
 1163|    713|            TypeR temp{other.cast<TypeR>()};
 1164|    713|            other.construct<TypeL>(cast<TypeL>());
 1165|    713|            construct<TypeR>(temp);
 1166|    713|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1156|  1.73k|        {
 1157|  1.73k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.73k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.73k|        {
 1163|  1.73k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.73k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.73k|            construct<TypeR>(temp);
 1166|  1.73k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1156|  2.32k|        {
 1157|  2.32k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.32k|        {
 1163|  2.32k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.32k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.32k|            construct<TypeR>(temp);
 1166|  2.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2614|  19.7M|        {
 2615|  19.7M|            construct<uint64_storage>(val, tag);
 2616|  19.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  995|  19.7M|        {
  996|  19.7M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  19.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  19.7M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  19.7M|                  val_(val)
  518|  19.7M|            {
  519|  19.7M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2645|  4.20M|        {
 2646|  4.20M|            construct<int64_storage>(val, tag);
 2647|  4.20M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  995|  4.20M|        {
  996|  4.20M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.20M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  496|  4.20M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  497|  4.20M|                  val_(val)
  498|  4.20M|            {
  499|  4.20M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2602|  34.7k|        {
 2603|  34.7k|            construct<double_storage>(val, tag);
 2604|  34.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  995|  34.7k|        {
  996|  34.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  34.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  555|  34.7k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  556|  34.7k|                  val_(val)
  557|  34.7k|            {
  558|  34.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2401|  3.83M|        {
 2402|  3.83M|            auto ptr = create_array(Allocator());
 2403|  3.83M|            construct<array_storage>(ptr, tag);
 2404|  3.83M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  957|  3.83M|        {
  958|  3.83M|            using stor_allocator_type = typename array_storage::allocator_type;
  959|  3.83M|            stor_allocator_type stor_alloc(alloc);
  960|  3.83M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  961|  3.83M|            JSONCONS_TRY
  ------------------
  |  |   37|  3.83M|    #define JSONCONS_TRY try
  ------------------
  962|  3.83M|            {
  963|  3.83M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  964|  3.83M|                    std::forward<Args>(args)...);
  965|  3.83M|            }
  966|  3.83M|            JSONCONS_CATCH(...)
  967|  3.83M|            {
  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.83M|            return ptr;
  972|  3.83M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  3.83M|        {
  996|  3.83M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  3.83M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  722|  3.83M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  723|  3.83M|            {
  724|  3.83M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2691|  1.42M|        {
 2692|  1.42M|            construct<null_storage>(tag);
 2693|  1.42M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  995|  1.42M|        {
  996|  1.42M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.42M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2701|  7.38M|        {
 2702|  7.38M|            construct<bool_storage>(val,tag);
 2703|  7.38M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  995|  7.38M|        {
  996|  7.38M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  7.38M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|  7.38M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|  7.38M|                  val_(val)
  477|  7.38M|            {
  478|  7.38M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2549|  1.70M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2550|  1.70M|        {
 2551|  1.70M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2579|  1.70M|        {
 2580|  1.70M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2580:17): [True: 1.69M, False: 11.5k]
  ------------------
 2581|  1.69M|            {
 2582|  1.69M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2583|  1.69M|            }
 2584|  11.5k|            else
 2585|  11.5k|            {
 2586|  11.5k|                auto ptr = create_long_string(alloc, s, length);
 2587|  11.5k|                construct<long_string_storage>(ptr, tag);
 2588|  11.5k|            }
 2589|  1.70M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  995|  1.69M|        {
  996|  1.69M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.69M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  1.69M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  1.69M|            {
  579|  1.69M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   49|  1.69M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 1.69M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  580|  1.69M|                std::memcpy(data_,p,length*sizeof(char_type));
  581|  1.69M|                data_[length] = 0;
  582|  1.69M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  943|  11.5k|        {
  944|  11.5k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  945|  11.5k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  946|  11.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|  11.5k|        {
  996|  11.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  11.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  621|  11.5k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  622|  11.5k|            {
  623|  11.5k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2711|    819|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2712|    819|        {
 2713|    819|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2719|   134k|        {
 2720|   134k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2721|       |            
 2722|   134k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2723|   134k|            construct<byte_string_storage>(ptr, tag);
 2724|   134k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  950|   977k|        {
  951|   977k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  952|   977k|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  953|   977k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|   134k|        {
  996|   134k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   134k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  670|   977k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  671|   977k|            {
  672|   977k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr10ext_traits18is_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_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2742|   842k|        {
 2743|   842k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2744|       |
 2745|   842k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2746|   842k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2747|   842k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  995|   842k|        {
  996|   842k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   842k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mRKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2754|      2|        {
 2755|      2|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2756|       |
 2757|      2|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), raw_tag);
 2758|      2|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2759|      2|        }

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

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

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

_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|  2.33M|            : data_(data), size_(size)
   62|  2.33M|        {
   63|  2.33M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|  6.63M|        {
  112|  6.63M|            return data_;
  113|  6.63M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|  10.2M|        {
  117|  10.2M|            return size_;
  118|  10.2M|        }
_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2Ev:
   58|  2.24M|        {
   59|  2.24M|        }

_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  855|  7.20k|            : destination_(std::addressof(visitor)), 
  856|  7.20k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  857|  7.20k|        {
  858|  7.20k|            level_stack_.emplace_back(json_target_kind::destination,json_structure_kind::root); // root
  859|  7.20k|        }
_ZN8jsoncons21basic_generic_visitorIcEC2Ev:
   52|  7.20k|    basic_generic_visitor() = default;
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  294|  6.99M|    {
  295|  6.99M|        visit_begin_array(length, tag, context, ec);
  296|  6.99M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.99M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  297|  6.99M|    }
_ZN8jsoncons21basic_generic_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  363|  40.7M|    {
  364|  40.7M|        visit_uint64(value, tag, context, ec);
  365|  40.7M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  40.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  40.7M|    }
_ZN8jsoncons21basic_generic_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  300|  6.97M|    {
  301|  6.97M|        visit_end_array(context, ec);
  302|  6.97M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.97M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  6.97M|    }
_ZN8jsoncons21basic_generic_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  372|  7.09M|    {
  373|  7.09M|        visit_int64(value, tag, context, ec);
  374|  7.09M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  7.09M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  375|  7.09M|    }
_ZN8jsoncons21basic_generic_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  390|   106k|    {
  391|   106k|        visit_double(value, tag, context, ec);
  392|   106k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   106k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  393|   106k|    }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structureC2ENS4_16json_target_kindENS4_19json_structure_kindE:
  798|  8.60M|                : target_kind_(state), structure_kind_(type), even_odd_(type == json_structure_kind::object ? 0 : 1)
  ------------------
  |  Branch (798:73): [True: 1.59M, False: 7.00M]
  ------------------
  799|  8.60M|            {
  800|  8.60M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1008|  6.99M|        {
 1009|  6.99M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1009:17): [True: 911k, False: 6.08M]
  ------------------
 1010|   911k|            {
 1011|   911k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1011:21): [True: 575k, False: 335k]
  |  Branch (1011:86): [True: 572k, False: 3.22k]
  ------------------
 1012|   572k|                {
 1013|   572k|                    key_buffer_.push_back(',');
 1014|   572k|                }
 1015|   911k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1016|   911k|                key_buffer_.push_back('[');
 1017|   911k|            }
 1018|  6.08M|            else
 1019|  6.08M|            {
 1020|  6.08M|                switch (level_stack_.back().target_kind())
 1021|  6.08M|                {
 1022|  2.25M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1022:21): [True: 2.25M, False: 3.83M]
  ------------------
 1023|  2.25M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1023:29): [True: 1.67M, False: 578k]
  |  Branch (1023:65): [True: 1.65M, False: 26.5k]
  ------------------
 1024|  1.65M|                        {
 1025|  1.65M|                            key_buffer_.push_back(',');
 1026|  1.65M|                        }
 1027|  2.25M|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1028|  2.25M|                        key_buffer_.push_back('[');
 1029|  2.25M|                        break;
 1030|  3.83M|                    default:
  ------------------
  |  Branch (1030:21): [True: 3.83M, False: 2.25M]
  ------------------
 1031|  3.83M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1032|  3.83M|                        destination_->begin_array(length, tag, context, ec);
 1033|  3.83M|                        break;
 1034|  6.08M|                }
 1035|  6.08M|            }
 1036|  6.99M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.99M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1037|  6.99M|        }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure6is_keyEv:
  815|   265M|            {
  816|   265M|                return even_odd_ == 0;
  817|   265M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure11target_kindEv:
  825|   172M|            {
  826|   172M|                return target_kind_;
  827|   172M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure5countEv:
  830|  38.2M|            {
  831|  38.2M|                return count_;
  832|  38.2M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure9is_objectEv:
  820|   129M|            {
  821|   129M|                return structure_kind_ == json_structure_kind::object;
  822|   129M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1040|  6.97M|        {
 1041|  6.97M|            switch (level_stack_.back().target_kind())
 1042|  6.97M|            {
 1043|  3.15M|                case json_target_kind::buffer:
  ------------------
  |  Branch (1043:17): [True: 3.15M, False: 3.81M]
  ------------------
 1044|  3.15M|                    key_buffer_.push_back(']');
 1045|  3.15M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  3.15M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.15M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1046|  3.15M|                    level_stack_.pop_back();
 1047|  3.15M|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (1047:25): [True: 335k, False: 2.82M]
  ------------------
 1048|   335k|                    {
 1049|   335k|                        destination_->key(key_buffer_, context, ec);
 1050|   335k|                        key_buffer_.clear();
 1051|   335k|                    }
 1052|  2.82M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1052:30): [True: 575k, False: 2.24M]
  ------------------
 1053|   575k|                    {
 1054|   575k|                        key_buffer_.push_back(':');
 1055|   575k|                    }
 1056|  3.15M|                    level_stack_.back().advance();
 1057|  3.15M|                    break;
 1058|  3.81M|                default:
  ------------------
  |  Branch (1058:17): [True: 3.81M, False: 3.15M]
  ------------------
 1059|  3.81M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  3.81M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.81M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1060|  3.81M|                    level_stack_.pop_back();
 1061|  3.81M|                    level_stack_.back().advance();
 1062|  3.81M|                    destination_->end_array(context, ec);
 1063|  3.81M|                    break;
 1064|  6.97M|            }
 1065|  6.97M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.97M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1066|  6.97M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure7advanceEv:
  803|  90.8M|            {
  804|  90.8M|                if (!is_key())
  ------------------
  |  Branch (804:21): [True: 78.5M, False: 12.2M]
  ------------------
  805|  78.5M|                {
  806|  78.5M|                    ++count_;
  807|  78.5M|                }
  808|  90.8M|                if (is_object())
  ------------------
  |  Branch (808:21): [True: 24.5M, False: 66.3M]
  ------------------
  809|  24.5M|                {
  810|  24.5M|                    even_odd_ = !even_odd_;
  811|  24.5M|                }
  812|  90.8M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1233|  40.7M|        {
 1234|  40.7M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1234:17): [True: 9.11M, False: 31.6M]
  |  Branch (1234:49): [True: 11.9M, False: 19.7M]
  ------------------
 1235|  21.0M|            {
 1236|  21.0M|                key_.clear();
 1237|  21.0M|                jsoncons::from_integer(value,key_);
 1238|  21.0M|            }
 1239|       |
 1240|  40.7M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1240:17): [True: 9.11M, False: 31.6M]
  ------------------
 1241|  9.11M|            {
 1242|  9.11M|                switch (level_stack_.back().target_kind())
 1243|  9.11M|                {
 1244|  4.80M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1244:21): [True: 4.80M, False: 4.31M]
  ------------------
 1245|  4.80M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1245:29): [True: 4.78M, False: 20.8k]
  ------------------
 1246|  4.78M|                        {
 1247|  4.78M|                            key_buffer_.push_back(',');
 1248|  4.78M|                        }
 1249|  4.80M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1250|  4.80M|                        key_buffer_.push_back(':');
 1251|  4.80M|                        break;
 1252|  4.31M|                    default:
  ------------------
  |  Branch (1252:21): [True: 4.31M, False: 4.80M]
  ------------------
 1253|  4.31M|                        destination_->key(key_, context, ec);
 1254|  4.31M|                        break;
 1255|  9.11M|                }
 1256|  9.11M|            }
 1257|  31.6M|            else
 1258|  31.6M|            {
 1259|  31.6M|                switch (level_stack_.back().target_kind())
 1260|  31.6M|                {
 1261|  11.9M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1261:21): [True: 11.9M, False: 19.7M]
  ------------------
 1262|  11.9M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1262:29): [True: 7.11M, False: 4.79M]
  |  Branch (1262:65): [True: 7.09M, False: 15.7k]
  ------------------
 1263|  7.09M|                        {
 1264|  7.09M|                            key_buffer_.push_back(',');
 1265|  7.09M|                        }
 1266|  11.9M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1267|  11.9M|                        break;
 1268|  19.7M|                    default:
  ------------------
  |  Branch (1268:21): [True: 19.7M, False: 11.9M]
  ------------------
 1269|  19.7M|                        destination_->uint64_value(value, tag, context, ec);
 1270|  19.7M|                        break;
 1271|  31.6M|                }
 1272|  31.6M|            }
 1273|       |
 1274|  40.7M|            level_stack_.back().advance();
 1275|  40.7M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  40.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1276|  40.7M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1279|  7.09M|        {
 1280|  7.09M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1280:17): [True: 496k, False: 6.59M]
  |  Branch (1280:49): [True: 2.38M, False: 4.20M]
  ------------------
 1281|  2.88M|            {
 1282|  2.88M|                key_.clear();
 1283|  2.88M|                jsoncons::from_integer(value,key_);
 1284|  2.88M|            }
 1285|       |
 1286|  7.09M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1286:17): [True: 496k, False: 6.59M]
  ------------------
 1287|   496k|            {
 1288|   496k|                switch (level_stack_.back().target_kind())
 1289|   496k|                {
 1290|   267k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1290:21): [True: 267k, False: 229k]
  ------------------
 1291|   267k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1291:29): [True: 259k, False: 8.10k]
  ------------------
 1292|   259k|                        {
 1293|   259k|                            key_buffer_.push_back(',');
 1294|   259k|                        }
 1295|   267k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1296|   267k|                        key_buffer_.push_back(':');
 1297|   267k|                        break;
 1298|   229k|                    default:
  ------------------
  |  Branch (1298:21): [True: 229k, False: 267k]
  ------------------
 1299|   229k|                        destination_->key(key_, context, ec);
 1300|   229k|                        break;
 1301|   496k|                }
 1302|   496k|            }
 1303|  6.59M|            else
 1304|  6.59M|            {
 1305|  6.59M|                switch (level_stack_.back().target_kind())
 1306|  6.59M|                {
 1307|  2.38M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1307:21): [True: 2.38M, False: 4.20M]
  ------------------
 1308|  2.38M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1308:29): [True: 2.11M, False: 269k]
  |  Branch (1308:65): [True: 2.11M, False: 1.91k]
  ------------------
 1309|  2.11M|                        {
 1310|  2.11M|                            key_buffer_.push_back(',');
 1311|  2.11M|                        }
 1312|  2.38M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1313|  2.38M|                        break;
 1314|  4.20M|                    default:
  ------------------
  |  Branch (1314:21): [True: 4.20M, False: 2.38M]
  ------------------
 1315|  4.20M|                        destination_->int64_value(value, tag, context, ec);
 1316|  4.20M|                        break;
 1317|  6.59M|                }
 1318|  6.59M|            }
 1319|       |
 1320|  7.09M|            level_stack_.back().advance();
 1321|  7.09M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  7.09M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1322|  7.09M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1374|   106k|        {
 1375|   106k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1375:17): [True: 29.4k, False: 76.8k]
  |  Branch (1375:49): [True: 42.0k, False: 34.7k]
  ------------------
 1376|  71.4k|            {
 1377|  71.4k|                key_.clear();
 1378|  71.4k|                string_sink<string_type> sink(key_);
 1379|  71.4k|                jsoncons::write_double f{float_chars_format::general,0};
 1380|  71.4k|                f(value, sink);
 1381|  71.4k|            }
 1382|       |
 1383|   106k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1383:17): [True: 29.4k, False: 76.8k]
  ------------------
 1384|  29.4k|            {
 1385|  29.4k|                switch (level_stack_.back().target_kind())
 1386|  29.4k|                {
 1387|  20.2k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1387:21): [True: 20.2k, False: 9.17k]
  ------------------
 1388|  20.2k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1388:29): [True: 13.0k, False: 7.22k]
  ------------------
 1389|  13.0k|                        {
 1390|  13.0k|                            key_buffer_.push_back(',');
 1391|  13.0k|                        }
 1392|  20.2k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1393|  20.2k|                        key_buffer_.push_back(':');
 1394|  20.2k|                        break;
 1395|  9.17k|                    default:
  ------------------
  |  Branch (1395:21): [True: 9.17k, False: 20.2k]
  ------------------
 1396|  9.17k|                        destination_->key(key_, context, ec);
 1397|  9.17k|                        break;
 1398|  29.4k|                }
 1399|  29.4k|            }
 1400|  76.8k|            else
 1401|  76.8k|            {
 1402|  76.8k|                switch (level_stack_.back().target_kind())
 1403|  76.8k|                {
 1404|  42.0k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1404:21): [True: 42.0k, False: 34.7k]
  ------------------
 1405|  42.0k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1405:29): [True: 27.5k, False: 14.5k]
  |  Branch (1405:65): [True: 25.7k, False: 1.73k]
  ------------------
 1406|  25.7k|                        {
 1407|  25.7k|                            key_buffer_.push_back(',');
 1408|  25.7k|                        }
 1409|  42.0k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1410|  42.0k|                        break;
 1411|  34.7k|                    default:
  ------------------
  |  Branch (1411:21): [True: 34.7k, False: 42.0k]
  ------------------
 1412|  34.7k|                        destination_->double_value(value, tag, context, ec);
 1413|  34.7k|                        break;
 1414|  76.8k|                }
 1415|  76.8k|            }
 1416|       |
 1417|   106k|            level_stack_.back().advance();
 1418|   106k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   106k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1419|   106k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  881|  2.41k|        {
  882|  2.41k|            destination_->flush();
  883|  2.41k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  914|  1.59M|        {
  915|  1.59M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (915:17): [True: 154k, False: 1.44M]
  ------------------
  916|   154k|            {
  917|   154k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (917:21): [True: 28.8k, False: 126k]
  |  Branch (917:86): [True: 15.4k, False: 13.3k]
  ------------------
  918|  15.4k|                {
  919|  15.4k|                    key_buffer_.push_back(',');
  920|  15.4k|                }
  921|   154k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  922|   154k|                key_buffer_.push_back('{');
  923|   154k|            }
  924|  1.44M|            else
  925|  1.44M|            {
  926|  1.44M|                switch (level_stack_.back().target_kind())
  927|  1.44M|                {
  928|   351k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (928:21): [True: 351k, False: 1.09M]
  ------------------
  929|   351k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (929:29): [True: 312k, False: 39.0k]
  |  Branch (929:65): [True: 309k, False: 3.48k]
  ------------------
  930|   309k|                        {
  931|   309k|                            key_buffer_.push_back(',');
  932|   309k|                        }
  933|   351k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  934|   351k|                        key_buffer_.push_back('{');
  935|   351k|                        break;
  936|  1.09M|                    default:
  ------------------
  |  Branch (936:21): [True: 1.09M, False: 351k]
  ------------------
  937|  1.09M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  938|  1.09M|                        destination_->begin_object(length, tag, context, ec);
  939|  1.09M|                        break;
  940|  1.44M|                }
  941|  1.44M|            }
  942|  1.59M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.59M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  943|  1.59M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  946|  1.57M|        {
  947|  1.57M|            switch (level_stack_.back().target_kind())
  948|  1.57M|            {
  949|   495k|                case json_target_kind::buffer:
  ------------------
  |  Branch (949:17): [True: 495k, False: 1.08M]
  ------------------
  950|   495k|                    key_buffer_.push_back('}');
  951|   495k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|   495k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 495k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  952|   495k|                    level_stack_.pop_back();
  953|       |                    
  954|   495k|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (954:25): [True: 125k, False: 370k]
  ------------------
  955|   125k|                    {
  956|   125k|                        destination_->key(key_buffer_,context, ec);
  957|   125k|                        key_buffer_.clear();
  958|   125k|                    }
  959|   370k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (959:30): [True: 24.8k, False: 345k]
  ------------------
  960|  24.8k|                    {
  961|  24.8k|                        key_buffer_.push_back(':');
  962|  24.8k|                    }
  963|   495k|                    level_stack_.back().advance();
  964|   495k|                    break;
  965|  1.08M|                default:
  ------------------
  |  Branch (965:17): [True: 1.08M, False: 495k]
  ------------------
  966|  1.08M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  1.08M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 1.08M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  967|  1.08M|                    level_stack_.pop_back();
  968|  1.08M|                    level_stack_.back().advance();
  969|  1.08M|                    destination_->end_object(context, ec);
  970|  1.08M|                    break;
  971|  1.57M|            }
  972|  1.57M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.57M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  973|  1.57M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1475|  2.18M|        {
 1476|  2.18M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1476:17): [True: 307k, False: 1.87M]
  |  Branch (1476:49): [True: 453k, False: 1.42M]
  ------------------
 1477|   761k|            {
 1478|   761k|                key_.clear(); 
 1479|   761k|                key_.insert(key_.begin(), json_literals<char_type>::null_literal.begin(), json_literals<char_type>::null_literal.end());
 1480|   761k|            }
 1481|       |
 1482|  2.18M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1482:17): [True: 307k, False: 1.87M]
  ------------------
 1483|   307k|            {
 1484|   307k|                switch (level_stack_.back().target_kind())
 1485|   307k|                {
 1486|   153k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1486:21): [True: 153k, False: 154k]
  ------------------
 1487|   153k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1487:29): [True: 152k, False: 1.03k]
  ------------------
 1488|   152k|                        {
 1489|   152k|                            key_buffer_.push_back(',');
 1490|   152k|                        }
 1491|   153k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1492|   153k|                        key_buffer_.push_back(':');
 1493|   153k|                        break;
 1494|   154k|                    default:
  ------------------
  |  Branch (1494:21): [True: 154k, False: 153k]
  ------------------
 1495|   154k|                        destination_->key(key_, context, ec);
 1496|   154k|                        break;
 1497|   307k|                }
 1498|   307k|            }
 1499|  1.87M|            else
 1500|  1.87M|            {
 1501|  1.87M|                switch (level_stack_.back().target_kind())
 1502|  1.87M|                {
 1503|   453k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1503:21): [True: 453k, False: 1.42M]
  ------------------
 1504|   453k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1504:29): [True: 300k, False: 153k]
  |  Branch (1504:65): [True: 299k, False: 1.00k]
  ------------------
 1505|   299k|                        {
 1506|   299k|                            key_buffer_.push_back(',');
 1507|   299k|                        }
 1508|   453k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1509|   453k|                        break;
 1510|  1.42M|                    default:
  ------------------
  |  Branch (1510:21): [True: 1.42M, False: 453k]
  ------------------
 1511|  1.42M|                        destination_->null_value(tag, context, ec);
 1512|  1.42M|                        break;
 1513|  1.87M|                }
 1514|  1.87M|            }
 1515|       |
 1516|  2.18M|            level_stack_.back().advance();
 1517|  2.18M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.18M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1518|  2.18M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1422|  28.4M|        {
 1423|  28.4M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1423:17): [True: 835k, False: 27.6M]
  |  Branch (1423:49): [True: 20.2M, False: 7.38M]
  ------------------
 1424|  21.1M|            {
 1425|  21.1M|                key_.clear(); 
 1426|  21.1M|                if (value)
  ------------------
  |  Branch (1426:21): [True: 83.0k, False: 21.0M]
  ------------------
 1427|  83.0k|                {
 1428|  83.0k|                    key_.insert(key_.begin(), json_literals<char_type>::true_literal.begin(), json_literals<char_type>::true_literal.end());
 1429|  83.0k|                }
 1430|  21.0M|                else
 1431|  21.0M|                {
 1432|  21.0M|                    key_.insert(key_.begin(), json_literals<char_type>::false_literal.begin(), json_literals<char_type>::false_literal.end());
 1433|  21.0M|                }
 1434|  21.1M|            }
 1435|       |
 1436|  28.4M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1436:17): [True: 835k, False: 27.6M]
  ------------------
 1437|   835k|            {
 1438|   835k|                switch (level_stack_.back().target_kind())
 1439|   835k|                {
 1440|   493k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1440:21): [True: 493k, False: 342k]
  ------------------
 1441|   493k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1441:29): [True: 485k, False: 8.32k]
  ------------------
 1442|   485k|                        {
 1443|   485k|                            key_buffer_.push_back(',');
 1444|   485k|                        }
 1445|   493k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1446|   493k|                        key_buffer_.push_back(':');
 1447|   493k|                        break;
 1448|   342k|                    default:
  ------------------
  |  Branch (1448:21): [True: 342k, False: 493k]
  ------------------
 1449|   342k|                        destination_->key(key_, context, ec);
 1450|   342k|                        break;
 1451|   835k|                }
 1452|   835k|            }
 1453|  27.6M|            else
 1454|  27.6M|            {
 1455|  27.6M|                switch (level_stack_.back().target_kind())
 1456|  27.6M|                {
 1457|  20.2M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1457:21): [True: 20.2M, False: 7.38M]
  ------------------
 1458|  20.2M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1458:29): [True: 19.7M, False: 497k]
  |  Branch (1458:65): [True: 19.7M, False: 2.80k]
  ------------------
 1459|  19.7M|                        {
 1460|  19.7M|                            key_buffer_.push_back(',');
 1461|  19.7M|                        }
 1462|  20.2M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1463|  20.2M|                        break;
 1464|  7.38M|                    default:
  ------------------
  |  Branch (1464:21): [True: 7.38M, False: 20.2M]
  ------------------
 1465|  7.38M|                        destination_->bool_value(value, tag, context, ec);
 1466|  7.38M|                        break;
 1467|  27.6M|                }
 1468|  27.6M|            }
 1469|       |
 1470|  28.4M|            level_stack_.back().advance();
 1471|  28.4M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  28.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1472|  28.4M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1072|  2.10M|        {
 1073|  2.10M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1073:17): [True: 176k, False: 1.92M]
  ------------------
 1074|   176k|            {
 1075|   176k|                switch (level_stack_.back().target_kind())
 1076|   176k|                {
 1077|  82.9k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1077:21): [True: 82.9k, False: 93.4k]
  ------------------
 1078|  82.9k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1078:29): [True: 80.9k, False: 2.00k]
  ------------------
 1079|  80.9k|                        {
 1080|  80.9k|                            key_buffer_.push_back(',');
 1081|  80.9k|                        }
 1082|  82.9k|                        key_buffer_.push_back('\"');
 1083|  82.9k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1084|  82.9k|                        key_buffer_.push_back('\"');
 1085|  82.9k|                        key_buffer_.push_back(':');
 1086|  82.9k|                        break;
 1087|  93.4k|                    default:
  ------------------
  |  Branch (1087:21): [True: 93.4k, False: 82.9k]
  ------------------
 1088|  93.4k|                        destination_->key(value, context, ec);
 1089|  93.4k|                        break;
 1090|   176k|                }
 1091|   176k|            }
 1092|  1.92M|            else
 1093|  1.92M|            {
 1094|  1.92M|                switch (level_stack_.back().target_kind())
 1095|  1.92M|                {
 1096|   226k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1096:21): [True: 226k, False: 1.70M]
  ------------------
 1097|   226k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1097:29): [True: 150k, False: 75.2k]
  |  Branch (1097:65): [True: 149k, False: 1.01k]
  ------------------
 1098|   149k|                        {
 1099|   149k|                            key_buffer_.push_back(',');
 1100|   149k|                        }
 1101|   226k|                        key_buffer_.push_back('\"');
 1102|   226k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1103|   226k|                        key_buffer_.push_back('\"');
 1104|   226k|                        break;
 1105|  1.70M|                    default:
  ------------------
  |  Branch (1105:21): [True: 1.70M, False: 226k]
  ------------------
 1106|  1.70M|                        destination_->string_value(value, tag, context, ec);
 1107|  1.70M|                        break;
 1108|  1.92M|                }
 1109|  1.92M|            }
 1110|       |
 1111|  2.10M|            level_stack_.back().advance();
 1112|  2.10M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.10M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1113|  2.10M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1119|   189k|        {
 1120|   189k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1120:17): [True: 32.4k, False: 156k]
  |  Branch (1120:49): [True: 22.1k, False: 134k]
  ------------------
 1121|  54.5k|            {
 1122|  54.5k|                key_.clear();
 1123|  54.5k|                switch (tag)
 1124|  54.5k|                {
 1125|      0|                    case semantic_tag::base64:
  ------------------
  |  Branch (1125:21): [True: 0, False: 54.5k]
  ------------------
 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: 54.5k]
  ------------------
 1129|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1130|      0|                        break;
 1131|  54.5k|                    default:
  ------------------
  |  Branch (1131:21): [True: 54.5k, False: 0]
  ------------------
 1132|  54.5k|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1133|  54.5k|                        break;
 1134|  54.5k|                }
 1135|  54.5k|            }
 1136|       |
 1137|   189k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1137:17): [True: 32.4k, False: 156k]
  ------------------
 1138|  32.4k|            {
 1139|  32.4k|                switch (level_stack_.back().target_kind())
 1140|  32.4k|                {
 1141|  7.37k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1141:21): [True: 7.37k, False: 25.0k]
  ------------------
 1142|  7.37k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1142:29): [True: 5.60k, False: 1.77k]
  ------------------
 1143|  5.60k|                        {
 1144|  5.60k|                            key_buffer_.push_back(',');
 1145|  5.60k|                        }
 1146|  7.37k|                        key_buffer_.push_back('\"');
 1147|  7.37k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1148|  7.37k|                        key_buffer_.push_back('\"');
 1149|  7.37k|                        key_buffer_.push_back(':');
 1150|  7.37k|                        break;
 1151|  25.0k|                    default:
  ------------------
  |  Branch (1151:21): [True: 25.0k, False: 7.37k]
  ------------------
 1152|  25.0k|                        destination_->key(key_, context, ec);
 1153|  25.0k|                        break;
 1154|  32.4k|                }
 1155|  32.4k|            }
 1156|   156k|            else
 1157|   156k|            {
 1158|   156k|                switch (level_stack_.back().target_kind())
 1159|   156k|                {
 1160|  22.1k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1160:21): [True: 22.1k, False: 134k]
  ------------------
 1161|  22.1k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1161:29): [True: 15.2k, False: 6.84k]
  |  Branch (1161:65): [True: 14.3k, False: 964]
  ------------------
 1162|  14.3k|                        {
 1163|  14.3k|                            key_buffer_.push_back(',');
 1164|  14.3k|                        }
 1165|  22.1k|                        key_buffer_.push_back('\"');
 1166|  22.1k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1167|  22.1k|                        key_buffer_.push_back('\"');
 1168|  22.1k|                        break;
 1169|   134k|                    default:
  ------------------
  |  Branch (1169:21): [True: 134k, False: 22.1k]
  ------------------
 1170|   134k|                        destination_->byte_string_value(value, tag, context, ec);
 1171|   134k|                        break;
 1172|   156k|                }
 1173|   156k|            }
 1174|       |
 1175|   189k|            level_stack_.back().advance();
 1176|   189k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   189k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1177|   189k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1183|  1.34M|        {
 1184|  1.34M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1184:17): [True: 212k, False: 1.13M]
  |  Branch (1184:49): [True: 293k, False: 842k]
  ------------------
 1185|   505k|            {
 1186|   505k|                key_.clear();
 1187|   505k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1188|   505k|            }
 1189|       |
 1190|  1.34M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1190:17): [True: 212k, False: 1.13M]
  ------------------
 1191|   212k|            {
 1192|   212k|                switch (level_stack_.back().target_kind())
 1193|   212k|                {
 1194|  66.1k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1194:21): [True: 66.1k, False: 146k]
  ------------------
 1195|  66.1k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1195:29): [True: 64.9k, False: 1.24k]
  ------------------
 1196|  64.9k|                        {
 1197|  64.9k|                            key_buffer_.push_back(',');
 1198|  64.9k|                        }
 1199|  66.1k|                        key_buffer_.push_back('\"');
 1200|  66.1k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1201|  66.1k|                        key_buffer_.push_back('\"');
 1202|  66.1k|                        key_buffer_.push_back(':');
 1203|  66.1k|                        break;
 1204|   146k|                    default:
  ------------------
  |  Branch (1204:21): [True: 146k, False: 66.1k]
  ------------------
 1205|   146k|                        destination_->key(key_, context, ec);
 1206|   146k|                        break;
 1207|   212k|                }
 1208|   212k|            }
 1209|  1.13M|            else
 1210|  1.13M|            {
 1211|  1.13M|                switch (level_stack_.back().target_kind())
 1212|  1.13M|                {
 1213|   293k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1213:21): [True: 293k, False: 842k]
  ------------------
 1214|   293k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1214:29): [True: 227k, False: 66.0k]
  |  Branch (1214:65): [True: 226k, False: 844]
  ------------------
 1215|   226k|                        {
 1216|   226k|                            key_buffer_.push_back(',');
 1217|   226k|                        }
 1218|   293k|                        key_buffer_.push_back('\"');
 1219|   293k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1220|   293k|                        key_buffer_.push_back('\"');
 1221|   293k|                        break;
 1222|   842k|                    default:
  ------------------
  |  Branch (1222:21): [True: 842k, False: 293k]
  ------------------
 1223|   842k|                        destination_->byte_string_value(value, raw_tag, context, ec);
 1224|   842k|                        break;
 1225|  1.13M|                }
 1226|  1.13M|            }
 1227|       |
 1228|  1.34M|            level_stack_.back().advance();
 1229|  1.34M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.34M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1230|  1.34M|        }
_ZN8jsoncons21basic_generic_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  276|  1.59M|    {
  277|  1.59M|        visit_begin_object(length, tag, context, ec);
  278|  1.59M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.59M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  279|  1.59M|    }
_ZN8jsoncons21basic_generic_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  332|  2.10M|    {
  333|  2.10M|        visit_string(value, tag, context, ec);
  334|  2.10M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.10M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  335|  2.10M|    }
_ZN8jsoncons21basic_generic_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  314|  2.18M|    {
  315|  2.18M|        visit_null(tag, context, ec);
  316|  2.18M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.18M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  317|  2.18M|    }
_ZN8jsoncons21basic_generic_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  323|  28.4M|    {
  324|  28.4M|        visit_bool(value, tag, context, ec);
  325|  28.4M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  28.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  28.4M|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  343|   189k|    {
  344|   189k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  345|   189k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   189k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  346|   189k|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  354|  1.34M|    {
  355|  1.34M|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  356|  1.34M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.34M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  357|  1.34M|    }
_ZN8jsoncons21basic_generic_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  282|  1.57M|    {
  283|  1.57M|        visit_end_object(context, ec);
  284|  1.57M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.57M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  285|  1.57M|    }
_ZN8jsoncons21basic_generic_visitorIcE5flushEv:
   57|  2.41k|    {
   58|  2.41k|        visit_flush();
   59|  2.41k|    }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  3.84M|        {
  106|  3.84M|            flatten_and_destroy();
  107|  3.84M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  3.84M|        {
  249|  5.59M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 1.74M, False: 3.84M]
  ------------------
  250|  1.74M|            {
  251|  1.74M|                value_type current = std::move(data_.back());
  252|  1.74M|                data_.pop_back();
  253|  1.74M|                switch (current.storage_kind())
  254|  1.74M|                {
  255|   392k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 392k, False: 1.35M]
  ------------------
  256|   392k|                    {
  257|   392k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 1.27M, False: 392k]
  ------------------
  258|  1.27M|                        {
  259|  1.27M|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 23.6k, False: 1.24M]
  |  Branch (259:85): [True: 8.60k, False: 1.24M]
  ------------------
  260|  32.2k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 21.8k, False: 10.4k]
  ------------------
  261|  21.8k|                            {
  262|  21.8k|                                data_.push_back(std::move(item));
  263|  21.8k|                            }
  264|  1.27M|                        }
  265|   392k|                        current.clear();                           
  266|   392k|                        break;
  267|      0|                    }
  268|  49.4k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 49.4k, False: 1.69M]
  ------------------
  269|  49.4k|                    {
  270|  49.4k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 68.8k, False: 49.4k]
  ------------------
  271|  68.8k|                        {
  272|  68.8k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 7.20k, False: 61.6k]
  |  Branch (272:91): [True: 15.0k, False: 46.6k]
  ------------------
  273|  22.2k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 17.7k, False: 4.51k]
  ------------------
  274|  17.7k|                            {
  275|  17.7k|                                data_.push_back(std::move(kv.value()));
  276|  17.7k|                            }
  277|  68.8k|                        }
  278|  49.4k|                        current.clear();                           
  279|  49.4k|                        break;
  280|      0|                    }
  281|  1.30M|                    default:
  ------------------
  |  Branch (281:21): [True: 1.30M, False: 441k]
  ------------------
  282|  1.30M|                        break;
  283|  1.74M|                }
  284|  1.74M|            }
  285|  3.84M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|   392k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|   392k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  38.8k|        {
  126|  38.8k|            return data_.empty();
  127|  38.8k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|   392k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  15.9k|            : allocator_holder<allocator_type>(alloc), 
   50|  15.9k|              data_(value_allocator_type(alloc))
   51|  15.9k|        {
   52|  15.9k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  6.22k|        {
  218|  6.22k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  6.22k|            return data_.back();
  220|  6.22k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  30.7k|        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.97M|        {
  179|  2.97M|            data_.emplace_back(std::forward<T>(value));
  180|  2.97M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  3.83M|        json_array() = default;

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

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  7.20k|{
 1065|  7.20k|    return json_visitor_adaptor<From, To>(to);
 1066|  7.20k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  7.20k|        : supertype(visitor)
  984|  7.20k|    {
  985|  7.20k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  7.20k|        : destination1_(std::addressof(visitor))
  722|  7.20k|    {
  723|  7.20k|    }
_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.83M|    {
  778|  3.83M|        destination1_->begin_array(length, tag, context, ec);
  779|  3.83M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.83M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|  3.83M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  3.81M|    {
  784|  3.81M|        destination1_->end_array(context, ec);
  785|  3.81M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.81M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  3.81M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  19.7M|    {
  826|  19.7M|        destination1_->uint64_value(value, tag, context, ec);
  827|  19.7M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  19.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  19.7M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  4.20M|    {
  820|  4.20M|        destination1_->int64_value(value, tag, context, ec);
  821|  4.20M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.20M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  4.20M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  34.7k|    {
  814|  34.7k|        destination1_->double_value(value, tag, context, ec);
  815|  34.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  34.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  34.7k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|  2.41k|    {
  739|  2.41k|        destination1_->flush();
  740|  2.41k|    }
_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.09M|    {
  755|  1.09M|        destination1_->begin_object(length, tag, context, ec);
  756|  1.09M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.09M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  1.09M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  1.08M|    {
  761|  1.08M|        destination1_->end_object(context, ec);
  762|  1.08M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.08M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  1.08M|    }
_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.77M|    {
  996|  5.77M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  5.77M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  7.47M|    {
  733|  7.47M|        return *destination1_;
  734|  7.47M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  1.42M|    {
  838|  1.42M|        destination1_->null_value(tag, context, ec);
  839|  1.42M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.42M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  1.42M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  7.38M|    {
  832|  7.38M|        destination1_->bool_value(value, tag, context, ec);
  833|  7.38M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  7.38M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  7.38M|    }
_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|  1.70M|    {
 1004|  1.70M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  1.70M|    }
_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|   134k|    {
  793|   134k|        destination1_->byte_string_value(b, tag, context, ec);
  794|   134k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   134k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  795|   134k|    }
_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|   842k|    {
  802|   842k|        destination1_->byte_string_value(b, raw_tag, context, ec);
  803|   842k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   842k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|   842k|    }

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  21.6k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  28.8k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|  3.83M|        {
  561|  3.83M|            visit_begin_array(tag, context, ec);
  562|  3.83M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.83M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  3.83M|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  1.09M|        {
  545|  1.09M|            visit_begin_object(tag, context, ec);
  546|  1.09M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.09M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  1.09M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  7.66M|        {
  346|  7.66M|            visit_begin_array(length, tag, context, ec);
  347|  7.66M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  7.66M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  7.66M|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  39.4M|        {
  415|  39.4M|            visit_uint64(value, tag, context, ec);
  416|  39.4M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  39.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  39.4M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  7.62M|        {
  352|  7.62M|            visit_end_array(context, ec);
  353|  7.62M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  7.62M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  7.62M|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  8.41M|        {
  424|  8.41M|            visit_int64(value, tag, context, ec);
  425|  8.41M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.41M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  8.41M|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  69.4k|        {
  442|  69.4k|            visit_double(value, tag, context, ec);
  443|  69.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  69.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  69.4k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|  4.83k|        {
  109|  4.83k|            visit_flush();
  110|  4.83k|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  2.18M|        {
  328|  2.18M|            visit_begin_object(length, tag, context, ec);
  329|  2.18M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.18M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  2.18M|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  2.16M|        {
  334|  2.16M|            visit_end_object(context, ec);
  335|  2.16M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.16M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  2.16M|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  11.5M|        {
  358|  11.5M|            visit_key(name, context, ec);
  359|  11.5M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  11.5M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  2.85M|        {
  366|  2.85M|            visit_null(tag, context, ec);
  367|  2.85M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.85M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  2.85M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  14.7M|        {
  375|  14.7M|            visit_bool(value, tag, context, ec);
  376|  14.7M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  14.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  14.7M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  3.40M|        {
  384|  3.40M|            visit_string(value, tag, context, ec);
  385|  3.40M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  3.40M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  394|   269k|        {
  395|   269k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  396|   269k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   269k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  397|   269k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|  1.68M|        {
  406|  1.68M|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|  1.68M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.68M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|  1.68M|        }
_ZN8jsoncons26basic_default_json_visitorIcEC2Ev:
  811|  7.20k|        basic_default_json_visitor() = default;

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|   294k|    {
  121|   294k|        return value_;
  122|   294k|    }
_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.7M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  19.7M|    {
   45|  19.7M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  73.9M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.20M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.20M|    {
   45|  4.20M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  34.7k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  34.7k|    {
   45|  34.7k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.09M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.09M|    {
   45|  1.09M|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|   172k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|   172k|    {
   88|   172k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  3.83M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.83M|    {
   45|  3.83M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.42M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.42M|    {
   45|  1.42M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  7.38M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  7.38M|    {
   45|  7.38M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  1.70M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.70M|    {
   45|  1.70M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   134k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   134k|    {
   45|   134k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   842k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   842k|    {
   45|   842k|    }

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

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  29.3k|        {
  159|  29.3k|            return data_.empty();
  160|  29.3k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  49.4k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  49.4k|        {
  169|  49.4k|            return data_.begin();
  170|  49.4k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  49.4k|        {
  174|  49.4k|            return data_.end();
  175|  49.4k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  1.09M|        {
  154|  1.09M|            flatten_and_destroy();
  155|  1.09M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|  1.09M|        {
  725|  1.09M|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 15.9k, False: 1.07M]
  ------------------
  726|  15.9k|            {
  727|  15.9k|                json_array<Json> temp(get_allocator());
  728|       |
  729|  15.9k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 103k, False: 15.9k]
  ------------------
  730|   103k|                {
  731|   103k|                    switch (kv.value().storage_kind())
  732|   103k|                    {
  733|  7.94k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 7.94k, False: 96.0k]
  ------------------
  734|  13.7k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 5.76k, False: 98.1k]
  ------------------
  735|  13.7k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 6.22k, False: 7.48k]
  ------------------
  736|  6.22k|                            {
  737|  6.22k|                                temp.emplace_back(std::move(kv.value()));
  738|  6.22k|                            }
  739|  13.7k|                            break;
  740|  90.2k|                        default:
  ------------------
  |  Branch (740:25): [True: 90.2k, False: 13.7k]
  ------------------
  741|  90.2k|                            break;
  742|   103k|                    }
  743|   103k|                }
  744|  15.9k|            }
  745|  1.09M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  1.09M|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  39.9k|        {
  278|  39.9k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 39.9k, False: 0]
  ------------------
  279|  39.9k|            {
  280|  39.9k|                data_.reserve(count);
  281|       |
  282|  39.9k|                std::sort(items, items+count, compare);
  283|  39.9k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  4.49M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 4.45M, False: 39.9k]
  ------------------
  286|  4.45M|                {
  287|  4.45M|                    auto& item = items[i];
  288|  4.45M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 132k, False: 4.32M]
  ------------------
  289|   132k|                    {
  290|   132k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|   132k|                    }
  292|  4.45M|                }
  293|  39.9k|            }
  294|  39.9k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|   100M|        {
  269|   100M|            int comp = item1.name.compare(item2.name); 
  270|   100M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 2.06M, False: 98.8M]
  ------------------
  271|  98.8M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 97.0M, False: 1.76M]
  ------------------
  272|       |
  273|  1.76M|            return false;
  274|  98.8M|        }

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  176|  7.20k|        : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  177|  7.20k|          chunk_size_(default_max_chunk_size)
  178|  7.20k|    {
  179|  7.20k|        chunk_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, chunk_size_);
  180|  7.20k|        data_end_ = chunk_;
  181|  7.20k|    }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   57|  7.20k|      : std::basic_istream<CharT>(&nb_)
   58|  7.20k|    {
   59|  7.20k|    }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   43|  7.20k|        null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  193|  7.20k|    {
  194|  7.20k|        if (chunk_)
  ------------------
  |  Branch (194:13): [True: 7.20k, False: 0]
  ------------------
  195|  7.20k|        {
  196|  7.20k|            std::allocator_traits<char_allocator_type>::deallocate(alloc_, chunk_, chunk_size_);
  197|  7.20k|        }
  198|  7.20k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|  4.78k|    {
  282|  4.78k|        return position_;
  283|  4.78k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  90.8M|    {
  277|  90.8M|        return stream_ptr_->bad();  
  278|  90.8M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  377|  92.8M|    {
  378|  92.8M|        std::size_t len = 0;
  379|  92.8M|        if (remaining_ > 0)
  ------------------
  |  Branch (379:13): [True: 92.8M, False: 16.4k]
  ------------------
  380|  92.8M|        {
  381|  92.8M|            len = (std::min)(remaining_, length);
  382|  92.8M|            std::memcpy(p, data_end_, len*sizeof(value_type));
  383|  92.8M|            data_end_ += len;
  384|  92.8M|            remaining_ -= len;
  385|  92.8M|            position_ += len;
  386|  92.8M|        }
  387|  92.8M|        if (length - len == 0)
  ------------------
  |  Branch (387:13): [True: 92.8M, False: 18.0k]
  ------------------
  388|  92.8M|        {
  389|  92.8M|            return len;
  390|  92.8M|        }
  391|  18.0k|        else if (length - len < chunk_size_)
  ------------------
  |  Branch (391:18): [True: 18.0k, False: 0]
  ------------------
  392|  18.0k|        {
  393|  18.0k|            data_end_ = chunk_;
  394|  18.0k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  395|  18.0k|            if (remaining_ > 0)
  ------------------
  |  Branch (395:17): [True: 13.8k, False: 4.25k]
  ------------------
  396|  13.8k|            {
  397|  13.8k|                std::size_t len2 = (std::min)(remaining_, length-len);
  398|  13.8k|                std::memcpy(p+len, data_end_, len2*sizeof(value_type));
  399|  13.8k|                data_end_ += len2;
  400|  13.8k|                remaining_ -= len2;
  401|  13.8k|                position_ += len2;
  402|  13.8k|                len += len2;
  403|  13.8k|            }
  404|  18.0k|            return len;
  405|  18.0k|        }
  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|  92.8M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  442|  18.7k|    {
  443|  18.7k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (443:13): [True: 4.32k, False: 14.4k]
  ------------------
  444|  4.32k|        {
  445|  4.32k|            return 0;
  446|  4.32k|        }
  447|       |
  448|  14.4k|        JSONCONS_TRY
  ------------------
  |  |   37|  14.4k|    #define JSONCONS_TRY try
  ------------------
  449|  14.4k|        {
  450|  14.4k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  451|  14.4k|            std::size_t length = static_cast<std::size_t>(count);
  452|       |
  453|  14.4k|            if (length < chunk_size)
  ------------------
  |  Branch (453:17): [True: 7.19k, False: 7.25k]
  ------------------
  454|  7.19k|            {
  455|  7.19k|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  456|  7.19k|            }
  457|  14.4k|            return length;
  458|  14.4k|        }
  459|  14.4k|        JSONCONS_CATCH(const std::exception&)     
  460|  14.4k|        {
  461|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  462|      0|            return 0;
  463|      0|        }
  464|  14.4k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_6vectorIhS3_EEEENS_6detail4spanIKhLm18446744073709551615EEEmOT_:
  352|  3.59M|    {
  353|  3.59M|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   78|  3.59M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2.24M, False: 1.35M]
  |  |  ------------------
  ------------------
  354|  2.24M|        {
  355|  2.24M|            return span<const value_type>{};
  356|  2.24M|        }
  357|  1.35M|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 349, False: 1.35M]
  |  Branch (357:32): [True: 197, False: 152]
  ------------------
  358|    197|        {
  359|    197|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|    197|            data_end_ = chunk_;
  361|    197|        }
  362|  1.35M|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 917, False: 1.35M]
  ------------------
  363|    917|        {
  364|    917|            buffer.clear();
  365|    917|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    917|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    917|        }
  368|       |
  369|  1.35M|        const value_type* data = data_end_;
  370|  1.35M|        data_end_ += length;
  371|  1.35M|        remaining_ -= length;
  372|  1.35M|        position_ += length;
  373|  1.35M|        return span<const value_type>(data, length);
  374|  1.35M|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSD_m:
  746|    917|    {
  747|    917|        std::size_t unread = length;
  748|       |
  749|  3.05k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 2.65k, False: 405]
  |  Branch (749:30): [True: 2.13k, False: 512]
  ------------------
  750|  2.13k|        {
  751|  2.13k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 483, False: 1.65k]
  |  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))
  ------------------
  |  |   78|    482|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 54, False: 428]
  |  |  ------------------
  ------------------
  758|     54|                {
  759|     54|                    buffer.resize(offset+actual);
  760|     54|                }
  761|    482|                unread -= actual;
  762|    482|            }
  763|  1.65k|            else
  764|  1.65k|            {
  765|  1.65k|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|  1.65k|                std::size_t offset = buffer.size();
  767|  1.65k|                buffer.resize(offset+n);
  768|  1.65k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|  1.65k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|  1.65k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 262, False: 1.39k]
  |  |  ------------------
  ------------------
  770|    262|                {
  771|    262|                    buffer.resize(offset + actual);
  772|    262|                }
  773|  1.65k|                unread -= actual;
  774|  1.65k|            }
  775|  2.13k|        }
  776|    917|        return length - unread;
  777|    917|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  2.65k|    {
  272|  2.65k|        return remaining_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 995, False: 1.65k]
  |  Branch (272:35): [True: 512, False: 483]
  ------------------
  273|  2.65k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9remainingEv:
  346|  2.13k|    {
  347|  2.13k|        return remaining_;
  348|  2.13k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|  2.62k|    {
  262|  2.62k|        return chunk_size_;
  263|  2.62k|    }
_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:
  693|   107k|        : storage_(n, alloc)
  694|   107k|    {
  695|   107k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ImEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|   107k|        : word_allocator_type(alloc)
  361|   107k|    {
  362|   107k|        ::new (&inlined_) inlined_storage(n);
  363|   107k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ImEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  138|   107k|            : is_allocated_(false),
  139|   107k|            is_negative_(false),
  140|   107k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 42.5k, False: 65.1k]
  ------------------
  141|   107k|        {
  142|   107k|            values_[0] = n;
  143|   107k|            values_[1] = 0;
  144|   107k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLImEENS1_9enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueERS4_E4typeES7_:
  998|  45.9k|    {
  999|  45.9k|        auto this_view = get_storage_view();
 1000|  45.9k|        size_type len0 = this_view.size();
 1001|  45.9k|        word_type dig = this_view[0];
 1002|  45.9k|        word_type carry = 0;
 1003|       |
 1004|  45.9k|        resize(this_view.size() + 1);
 1005|  45.9k|        this_view = get_storage_view();
 1006|       |
 1007|  45.9k|        size_type i = 0;
 1008|  83.1k|        for (; i < len0; i++ )
  ------------------
  |  Branch (1008:16): [True: 37.1k, False: 45.9k]
  ------------------
 1009|  37.1k|        {
 1010|  37.1k|            word_type hi;
 1011|  37.1k|            word_type lo;
 1012|  37.1k|            DDproduct( dig, y, hi, lo );
 1013|  37.1k|            this_view[i] = lo + carry;
 1014|  37.1k|            dig = this_view[i+1];
 1015|  37.1k|            carry = hi + (this_view[i] < lo);
 1016|  37.1k|        }
 1017|  45.9k|        this_view[i] = carry;
 1018|  45.9k|        reduce();
 1019|  45.9k|        return *this;
 1020|  45.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  718|   700k|    {
  719|   700k|        return storage_.get_storage_view();
  720|   700k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  520|  1.00M|    {
  521|  1.00M|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (521:16): [True: 305k, False: 700k]
  ------------------
  522|   305k|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  523|  1.00M|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  524|  1.00M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   64|  1.00M|            : data_(data), size_(size)
   65|  1.00M|        {
   66|  1.00M|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   84|  1.56M|        {
   85|  1.56M|            return size_;
   86|  1.56M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   69|   652k|        {
   70|   652k|            return data_[i];
   71|   652k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  818|   115k|    {
  819|   115k|        storage_.resize(new_length);
  820|   115k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  534|   233k|    {
  535|   233k|        size_type old_length = common_.size_;
  536|   233k|        reserve(new_length);
  537|   233k|        common_.size_ = new_length;
  538|       |
  539|   233k|        if (old_length < new_length)
  ------------------
  |  Branch (539:13): [True: 141k, False: 92.2k]
  ------------------
  540|   141k|        {
  541|   141k|            if (is_allocated())
  ------------------
  |  Branch (541:17): [True: 23.4k, False: 118k]
  ------------------
  542|  23.4k|            {
  543|  23.4k|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  544|  23.4k|            }
  545|   118k|            else
  546|   118k|            {
  547|   118k|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   49|   118k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 118k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  548|   303k|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (548:48): [True: 185k, False: 118k]
  ------------------
  549|   185k|                {
  550|   185k|                    inlined_.values_[i] = 0;
  551|   185k|                }
  552|   118k|            }
  553|   141k|        }
  554|   233k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  452|   233k|    {
  453|   233k|       if (capacity() < n)
  ------------------
  |  Branch (453:12): [True: 23.4k, False: 210k]
  ------------------
  454|  23.4k|       {
  455|  23.4k|           if (!is_allocated())
  ------------------
  |  Branch (455:16): [True: 23.4k, False: 0]
  ------------------
  456|  23.4k|           {
  457|  23.4k|               size_type size = inlined_.size_;
  458|  23.4k|               size_type is_neg = inlined_.is_negative_;
  459|  23.4k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  460|       |
  461|  23.4k|               ::new (&allocated_) allocated_storage();
  462|  23.4k|               allocated_.reserve(n, get_allocator());
  463|  23.4k|               allocated_.size_ = size;
  464|  23.4k|               allocated_.is_negative_ = is_neg;
  465|  23.4k|               if (n >= 1)
  ------------------
  |  Branch (465:20): [True: 23.4k, False: 0]
  ------------------
  466|  23.4k|               {
  467|  23.4k|                   allocated_.data_[0] = values[0];
  468|  23.4k|               }
  469|  23.4k|               if (n >= 2)
  ------------------
  |  Branch (469:20): [True: 23.4k, False: 0]
  ------------------
  470|  23.4k|               {
  471|  23.4k|                   allocated_.data_[1] = values[1];
  472|  23.4k|               }
  473|  23.4k|           }
  474|      0|           else
  475|      0|           {
  476|      0|               allocated_.reserve(n, get_allocator());
  477|      0|           }
  478|  23.4k|       }
  479|   233k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  505|   233k|    {
  506|   233k|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (506:16): [True: 46.9k, False: 186k]
  ------------------
  507|   233k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  203|  23.4k|            : is_allocated_(true),
  204|  23.4k|            is_negative_(false)
  205|  23.4k|        {
  206|  23.4k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  255|  23.4k|        {
  256|  23.4k|            JSONCONS_ASSERT(n < max_size);
  ------------------
  |  |   49|  23.4k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 23.4k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  257|  23.4k|            size_type capacity_new = round_up(n);
  258|       |
  259|  23.4k|            real_allocator_type alloc(a);
  260|  23.4k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  261|  23.4k|            if (size_ > 0)
  ------------------
  |  Branch (261:17): [True: 0, False: 23.4k]
  ------------------
  262|      0|            {
  263|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  264|      0|            }
  265|  23.4k|            if (data_ != nullptr)
  ------------------
  |  Branch (265:17): [True: 0, False: 23.4k]
  ------------------
  266|      0|            {
  267|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  268|      0|            }
  269|  23.4k|            capacity_ = capacity_new;
  270|  23.4k|            data_ = data_new;
  271|  23.4k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  275|  23.4k|        {
  276|  23.4k|            size_type remainder = i % mem_unit;
  277|  23.4k|            size_type off = mem_unit - remainder;
  278|  23.4k|            bool testoff = i < max_size - off;
  279|  23.4k|            JSONCONS_ASSERT(testoff);
  ------------------
  |  |   49|  23.4k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 23.4k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  280|       |
  281|  23.4k|            return i + off;
  282|  23.4k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  482|   481k|    {
  483|   481k|        return static_cast<const word_allocator_type&>(*this);
  484|   481k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  500|  1.09M|    {
  501|  1.09M|        return common_.is_allocated_;
  502|  1.09M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1781|  61.1k|    {
 1782|  61.1k|        word_type hiA = A >> word_type_half_bits, loA = A & r_mask,
 1783|  61.1k|                   hiB = B >> word_type_half_bits, loB = B & r_mask;
 1784|       |
 1785|  61.1k|        lo = loA * loB;
 1786|  61.1k|        hi = hiA * hiB;
 1787|  61.1k|        word_type mid1 = loA * hiB;
 1788|  61.1k|        word_type mid2 = hiA * loB;
 1789|  61.1k|        word_type old = lo;
 1790|  61.1k|        lo += mid1 << word_type_half_bits;
 1791|  61.1k|            hi += (lo < old) + (mid1 >> word_type_half_bits);
 1792|  61.1k|        old = lo;
 1793|  61.1k|        lo += mid2 << word_type_half_bits;
 1794|  61.1k|            hi += (lo < old) + (mid2 >> word_type_half_bits);
 1795|  61.1k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 1917|   187k|    {
 1918|   187k|        storage_.reduce();
 1919|   187k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  429|   187k|    {
  430|   187k|        if (common_.size_ > 0)
  ------------------
  |  Branch (430:13): [True: 187k, False: 0]
  ------------------
  431|   187k|        {
  432|   187k|            auto this_view = get_storage_view();
  433|   187k|            word_type* p = this_view.end() - 1;
  434|   187k|            word_type* first = this_view.begin();
  435|   290k|            while ( p >= first )
  ------------------
  |  Branch (435:21): [True: 262k, False: 28.3k]
  ------------------
  436|   262k|            {
  437|   262k|                if ( *p )
  ------------------
  |  Branch (437:22): [True: 159k, False: 102k]
  ------------------
  438|   159k|                {
  439|   159k|                    break;
  440|   159k|                }
  441|   102k|                --common_.size_;
  442|   102k|                --p;
  443|   102k|            }
  444|   187k|        }
  445|   187k|        if (common_.size_ == 0)
  ------------------
  |  Branch (445:13): [True: 28.3k, False: 159k]
  ------------------
  446|  28.3k|        {
  447|  28.3k|            common_.is_negative_ = false;
  448|  28.3k|        }
  449|   187k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
   93|   187k|        {
   94|   187k|            return data_ + size_;
   95|   187k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
   88|   187k|        {
   89|   187k|            return data_;
   90|   187k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLImEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  889|  13.5k|    {
  890|  13.5k|        if ( is_negative())
  ------------------
  |  Branch (890:14): [True: 0, False: 13.5k]
  ------------------
  891|      0|            return *this -= -basic_bigint<Allocator>(y);
  892|       |
  893|  13.5k|        word_type d;
  894|  13.5k|        word_type carry = 0;
  895|       |
  896|  13.5k|        auto this_view = get_storage_view();
  897|  13.5k|        resize(this_view.size() + 1);
  898|       |
  899|  13.5k|        this_view = get_storage_view();
  900|  13.5k|        const size_type this_size = this_view.size();
  901|  13.5k|        size_type y_size = 1;
  902|       |
  903|  13.5k|        d = this_view[0] + carry;
  904|  13.5k|        carry = d < carry;
  905|  13.5k|        this_view[0] = d + y;
  906|  13.5k|        if (this_view[0] < d)
  ------------------
  |  Branch (906:13): [True: 0, False: 13.5k]
  ------------------
  907|      0|            carry = 1;
  908|       |
  909|  13.5k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (909:36): [True: 12.2k, False: 1.32k]
  |  Branch (909:53): [True: 0, False: 12.2k]
  ------------------
  910|      0|        {
  911|      0|            d = this_view[i] + carry;
  912|      0|            carry = d < carry;
  913|      0|            this_view[i] = d;
  914|      0|        }
  915|  13.5k|        reduce();
  916|  13.5k|        return *this;
  917|  13.5k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  728|   611k|    {
  729|   611k|        return storage_.is_negative();
  730|   611k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  510|   611k|    {
  511|   611k|        return common_.is_negative_;
  512|   611k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  835|  5.43k|    {
  836|  5.43k|        basic_bigint<Allocator> v(*this);
  837|  5.43k|        v.set_negative(!v.is_negative());
  838|  5.43k|        return v;
  839|  5.43k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  671|  51.4k|        : storage_(other.storage_)
  672|  51.4k|    {
  673|  51.4k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  299|  51.4k|        : word_allocator_type(other.get_allocator())
  300|  51.4k|    {
  301|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  302|       |# pragma GCC diagnostic push
  303|       |# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
  304|       |#endif
  305|  51.4k|        if (!other.is_allocated())
  ------------------
  |  Branch (305:13): [True: 27.9k, False: 23.4k]
  ------------------
  306|  27.9k|        {
  307|  27.9k|            ::new (&inlined_) inlined_storage(other.inlined_);
  308|  27.9k|        }
  309|  23.4k|        else
  310|  23.4k|        {
  311|  23.4k|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  312|  23.4k|        }
  313|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  314|       |# pragma GCC diagnostic pop
  315|       |#endif
  316|  51.4k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  178|   147k|            : is_allocated_(false),
  179|   147k|            is_negative_(stor.is_negative_),
  180|   147k|            size_(stor.size_)
  181|   147k|        {
  182|   147k|            values_[0] = stor.values_[0];
  183|   147k|            values_[1] = stor.values_[1];
  184|   147k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  209|  93.9k|            : is_allocated_(true),
  210|  93.9k|              is_negative_(stor.is_negative_),
  211|  93.9k|              size_(stor.size_),
  212|  93.9k|              capacity_(stor.capacity_)
  213|  93.9k|        {
  214|  93.9k|            real_allocator_type alloc(a);
  215|       |
  216|  93.9k|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  217|  93.9k|            JSONCONS_TRY
  ------------------
  |  |   37|  93.9k|    #define JSONCONS_TRY try
  ------------------
  218|  93.9k|            {
  219|  93.9k|                std::allocator_traits<real_allocator_type>::construct(alloc, ext_traits::to_plain_pointer(data_));
  220|  93.9k|            }
  221|  93.9k|            JSONCONS_CATCH(...)
  222|  93.9k|            {
  223|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  224|      0|                data_ = nullptr;
  225|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  226|      0|            }
  227|  93.9k|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   49|  93.9k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 93.9k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  228|  93.9k|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  229|  93.9k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  733|   289k|    {
  734|   289k|        storage_.set_negative(value);
  735|   289k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  515|   289k|    {
  516|   289k|        common_.is_negative_ = value;
  517|   289k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE12write_stringIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1359|  45.9k|    {
 1360|  45.9k|        basic_bigint<Allocator> v(*this);
 1361|  45.9k|        auto v_view = v.get_storage_view();
 1362|       |
 1363|  45.9k|        size_type len = (v_view.size() * word_type_bits / 3) + 2;
 1364|  45.9k|        data.reserve(len);
 1365|       |
 1366|  45.9k|        if ( v_view.size() == 0 )
  ------------------
  |  Branch (1366:14): [True: 7.92k, False: 38.0k]
  ------------------
 1367|  7.92k|        {
 1368|  7.92k|            data.push_back('0');
 1369|  7.92k|        }
 1370|  38.0k|        else
 1371|  38.0k|        {
 1372|  38.0k|            word_type r;
 1373|  38.0k|            basic_bigint<Allocator> R(get_allocator());
 1374|  38.0k|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1375|       |
 1376|  38.0k|            do
 1377|  70.9k|            {
 1378|  70.9k|                v.divide( LP10, v, R, true );
 1379|  70.9k|                v_view = v.get_storage_view();
 1380|       |
 1381|  70.9k|                auto R_view = R.get_storage_view();
 1382|  70.9k|                r = (R_view.size() ? R_view[0] : 0);
  ------------------
  |  Branch (1382:22): [True: 56.2k, False: 14.7k]
  ------------------
 1383|   901k|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1383:38): [True: 868k, False: 32.9k]
  ------------------
 1384|   868k|                {
 1385|   868k|                    data.push_back(char(r % 10u + '0'));
 1386|   868k|                    r /= 10u;
 1387|   868k|                    if ( r + v_view.size() == 0 )
  ------------------
  |  Branch (1387:26): [True: 38.0k, False: 830k]
  ------------------
 1388|  38.0k|                        break;
 1389|   868k|                }
 1390|  70.9k|            } 
 1391|  70.9k|            while ( v_view.size() > 0);
  ------------------
  |  Branch (1391:21): [True: 32.9k, False: 38.0k]
  ------------------
 1392|       |
 1393|  38.0k|            if (is_negative())
  ------------------
  |  Branch (1393:17): [True: 5.43k, False: 32.6k]
  ------------------
 1394|  5.43k|            {
 1395|  5.43k|                data.push_back('-');
 1396|  5.43k|            }
 1397|  38.0k|            std::reverse(data.begin(),data.end());
 1398|  38.0k|        }
 1399|  45.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  713|   265k|    {
  714|   265k|        return storage_.get_allocator();
  715|   265k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  644|  38.0k|        : storage_(alloc)
  645|  38.0k|    {
  646|  38.0k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  293|  38.0k|        : word_allocator_type(alloc)
  294|  38.0k|    {
  295|  38.0k|        ::new (&inlined_) inlined_storage();
  296|  38.0k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  113|  38.0k|            : is_allocated_(false),
  114|  38.0k|            is_negative_(false),
  115|  38.0k|            size_(0),
  116|  38.0k|            values_{0, 0}
  117|  38.0k|        {
  118|  38.0k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1675|  70.9k|    {
 1676|  70.9k|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1677|  70.9k|        auto denom_view = denom.get_storage_view();
 1678|       |
 1679|  70.9k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1679:13): [True: 0, False: 70.9k]
  ------------------
 1680|      0|        {
 1681|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1682|      0|        }
 1683|  70.9k|        bool quot_neg = is_negative() ^ denom.is_negative();
 1684|  70.9k|        bool rem_neg = is_negative();
 1685|  70.9k|        basic_bigint<Allocator> num(*this, get_allocator());
 1686|  70.9k|        num.set_negative(false);
 1687|  70.9k|        denom.set_negative(false);
 1688|  70.9k|        if ( num < denom )
  ------------------
  |  Branch (1688:14): [True: 38.0k, False: 32.9k]
  ------------------
 1689|  38.0k|        {
 1690|  38.0k|            quot = word_type(0);
 1691|  38.0k|            quot.set_negative(quot_neg);
 1692|  38.0k|            rem = num;
 1693|  38.0k|            rem.set_negative(rem_neg);
 1694|  38.0k|            return;
 1695|  38.0k|        }
 1696|       |
 1697|  32.9k|        auto num_view = num.get_storage_view();
 1698|  32.9k|        auto quot_view = quot.get_storage_view();
 1699|  32.9k|        auto this_view = get_storage_view();
 1700|       |
 1701|  32.9k|        if ( denom_view.size() == 1 && num_view.size() == 1 )
  ------------------
  |  Branch (1701:14): [True: 32.9k, False: 0]
  |  Branch (1701:40): [True: 8.97k, False: 23.9k]
  ------------------
 1702|  8.97k|        {
 1703|  8.97k|            quot = word_type( num_view[0]/denom_view[0] );
 1704|  8.97k|            rem = word_type( num_view[0]%denom_view[0] );
 1705|  8.97k|            quot.set_negative(quot_neg);
 1706|  8.97k|            rem.set_negative(rem_neg);
 1707|  8.97k|            return;
 1708|  8.97k|        }
 1709|  23.9k|        if (denom_view.size() == 1 && (denom_view[0] & l_mask) == 0 )
  ------------------
  |  Branch (1709:13): [True: 23.9k, False: 0]
  |  Branch (1709:39): [True: 0, False: 23.9k]
  ------------------
 1710|      0|        {
 1711|       |            // Denominator fits into a half word
 1712|      0|            word_type divisor = denom_view[0], dHi = 0, q1, r, q2, dividend;
 1713|      0|            quot.resize(this_view.size());
 1714|      0|            quot_view = quot.get_storage_view();
 1715|      0|            for (size_type i=this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1715:48): [True: 0, False: 0]
  ------------------
 1716|      0|            {
 1717|      0|                dividend = (dHi << word_type_half_bits) | (this_view[i] >> word_type_half_bits);
 1718|      0|                q1 = dividend/divisor;
 1719|      0|                r = dividend % divisor;
 1720|      0|                dividend = (r << word_type_half_bits) | (this_view[i] & r_mask);
 1721|      0|                q2 = dividend/divisor;
 1722|      0|                dHi = dividend % divisor;
 1723|      0|                quot_view[i] = (q1 << word_type_half_bits) | q2;
 1724|      0|            }
 1725|      0|            quot.reduce();
 1726|      0|            rem = dHi;
 1727|      0|            quot.set_negative(quot_neg);
 1728|      0|            rem.set_negative(rem_neg);
 1729|      0|            return;
 1730|      0|        }
 1731|  23.9k|        basic_bigint<Allocator> num0(num, get_allocator());
 1732|  23.9k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1733|  23.9k|        int x = 0;
 1734|  23.9k|        bool second_done = normalize(denom, num, x);
 1735|  23.9k|        denom_view = denom.get_storage_view();
 1736|  23.9k|        num_view = num.get_storage_view();
 1737|       |
 1738|  23.9k|        size_type l = denom_view.size() - 1;
 1739|  23.9k|        size_type n = num_view.size() - 1;
 1740|  23.9k|        quot.resize(n - l);
 1741|  23.9k|        quot_view = quot.get_storage_view();
 1742|  47.9k|        for (size_type i = quot_view.size(); i-- > 0; )
  ------------------
  |  Branch (1742:46): [True: 23.9k, False: 23.9k]
  ------------------
 1743|  23.9k|        {
 1744|  23.9k|            quot_view[i] = 0;
 1745|  23.9k|        }
 1746|  23.9k|        rem = num;
 1747|  23.9k|        auto rem_view = rem.get_storage_view();
 1748|  23.9k|        if ( rem_view[n] >= denom_view[l] )
  ------------------
  |  Branch (1748:14): [True: 0, False: 23.9k]
  ------------------
 1749|      0|        {
 1750|      0|            rem.resize(rem_view.size() + 1);
 1751|      0|            rem_view = rem.get_storage_view();
 1752|      0|            n++;
 1753|      0|            quot.resize(quot_view.size() + 1);
 1754|      0|            quot_view = quot.get_storage_view();
 1755|      0|        }
 1756|  23.9k|        word_type d = denom_view[l];
 1757|       |
 1758|  47.9k|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1758:32): [True: 23.9k, False: 23.9k]
  ------------------
 1759|  23.9k|        {
 1760|  23.9k|            word_type q = DDquotient(rem_view[k], rem_view[k-1], d);
 1761|  23.9k|            subtractmul( rem_view.data() + (k - l - 1), denom_view.data(), l + 1, q );
 1762|  23.9k|            quot_view[k - l - 1] = q;
 1763|  23.9k|        }
 1764|  23.9k|        quot.reduce();
 1765|  23.9k|        quot.set_negative(quot_neg);
 1766|  23.9k|        if (remDesired)
  ------------------
  |  Branch (1766:13): [True: 23.9k, False: 0]
  ------------------
 1767|  23.9k|        {
 1768|  23.9k|            unnormalize(rem, x, second_done);
 1769|  23.9k|            rem.set_negative(rem_neg);
 1770|  23.9k|        }
 1771|  23.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  676|   189k|        : storage_(other.storage_, alloc)
  677|   189k|    {
  678|   189k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  319|   189k|        : word_allocator_type(alloc)
  320|   189k|    {
  321|   189k|        if (!other.is_allocated())
  ------------------
  |  Branch (321:13): [True: 119k, False: 70.4k]
  ------------------
  322|   119k|        {
  323|   119k|            ::new (&inlined_) inlined_storage(other.inlined_);
  324|   119k|        }
  325|  70.4k|        else
  326|  70.4k|        {
  327|  70.4k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  328|  70.4k|        }
  329|   189k|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1476|  70.9k|    {
 1477|  70.9k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1477:15): [True: 38.0k, False: 32.9k]
  ------------------
 1478|  70.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1641|   103k|    {
 1642|   103k|        auto this_view = get_storage_view();
 1643|   103k|        auto y_view = y.get_storage_view();
 1644|       |
 1645|   103k|        const size_type y_size = y_view.size();
 1646|   103k|        if ( this_view.size() == 0 && y_size == 0 )
  ------------------
  |  Branch (1646:14): [True: 7.47k, False: 95.8k]
  |  Branch (1646:39): [True: 7.47k, False: 0]
  ------------------
 1647|  7.47k|            return 0;
 1648|  95.8k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1648:14): [True: 5.43k, False: 90.4k]
  ------------------
 1649|  5.43k|            return y.is_negative() - is_negative();
 1650|  90.4k|        int code = 0;
 1651|  90.4k|        if ( this_view.size() < y_size)
  ------------------
  |  Branch (1651:14): [True: 0, False: 90.4k]
  ------------------
 1652|      0|            code = -1;
 1653|  90.4k|        else if ( this_view.size() > y_size)
  ------------------
  |  Branch (1653:19): [True: 43.4k, False: 47.0k]
  ------------------
 1654|  43.4k|            code = +1;
 1655|  47.0k|        else
 1656|  47.0k|        {
 1657|  50.1k|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1657:50): [True: 47.0k, False: 3.14k]
  ------------------
 1658|  47.0k|            {
 1659|  47.0k|                if (this_view[i] > y_view[i])
  ------------------
  |  Branch (1659:21): [True: 5.82k, False: 41.1k]
  ------------------
 1660|  5.82k|                {
 1661|  5.82k|                    code = 1;
 1662|  5.82k|                    break;
 1663|  5.82k|                }
 1664|  41.1k|                else if (this_view[i] < y_view[i])
  ------------------
  |  Branch (1664:26): [True: 38.0k, False: 3.14k]
  ------------------
 1665|  38.0k|                {
 1666|  38.0k|                    code = -1;
 1667|  38.0k|                    break;
 1668|  38.0k|                }
 1669|  47.0k|            }
 1670|  47.0k|        }
 1671|  90.4k|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1671:16): [True: 0, False: 90.4k]
  ------------------
 1672|  95.8k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  842|   118k|    {
  843|   118k|        storage_ = y.storage_;
  844|   118k|        return *this;
  845|   118k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  366|   118k|    {
  367|   118k|        if (this != &other)
  ------------------
  |  Branch (367:13): [True: 118k, False: 0]
  ------------------
  368|   118k|        {
  369|   118k|            auto other_view = other.get_storage_view();
  370|   118k|            resize(other_view.size());
  371|   118k|            auto this_view = get_storage_view();
  372|   118k|            if (other_view.size() > 0)
  ------------------
  |  Branch (372:17): [True: 76.8k, False: 41.1k]
  ------------------
  373|  76.8k|            {
  374|  76.8k|                common_.is_negative_ = other.common_.is_negative_;
  375|  76.8k|                std::memcpy(this_view.data(), other_view.data(), size_type(other_view.size()*sizeof(word_type)));
  376|  76.8k|            }
  377|   118k|        }
  378|   118k|        return *this;
  379|   118k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  527|   368k|    {
  528|   368k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (528:16): [True: 117k, False: 251k]
  ------------------
  529|   117k|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  530|   368k|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  531|   368k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   64|   368k|            : data_(data), size_(size)
   65|   368k|        {
   66|   368k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   79|  76.8k|        {
   80|  76.8k|            return data_;
   81|  76.8k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  723|   250k|    {
  724|   250k|        return storage_.get_storage_view();
  725|   250k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   84|   758k|        {
   85|   758k|            return size_;
   86|   758k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   69|   180k|        {
   70|   180k|            return data_[i];
   71|   180k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 1872|  23.9k|    {
 1873|  23.9k|        auto denom_view = denom.get_storage_view();
 1874|  23.9k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1874:13): [True: 0, False: 23.9k]
  ------------------
 1875|      0|        {
 1876|      0|            return false;
 1877|      0|        }
 1878|  23.9k|        size_type r = denom_view.size() - 1;
 1879|  23.9k|        word_type y = denom_view[r];
 1880|       |
 1881|  23.9k|        x = 0;
 1882|  23.9k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (1882:17): [True: 0, False: 23.9k]
  ------------------
 1883|      0|        {
 1884|      0|            y <<= 1;
 1885|      0|            x++;
 1886|      0|        }
 1887|  23.9k|        denom <<= x;
 1888|  23.9k|        num <<= x;
 1889|       |
 1890|  23.9k|        denom_view = denom.get_storage_view();
 1891|  23.9k|        if ( r > 0 && denom_view[r] < denom_view[r-1] )
  ------------------
  |  Branch (1891:14): [True: 0, False: 23.9k]
  |  Branch (1891:23): [True: 0, False: 0]
  ------------------
 1892|      0|        {
 1893|      0|            denom *= max_word;
 1894|      0|            num *= max_word;
 1895|      0|            return true;
 1896|      0|        }
 1897|  23.9k|        return false;
 1898|  23.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1117|  47.9k|    {
 1118|  47.9k|        auto this_view = get_storage_view();
 1119|  47.9k|        size_type q = k / word_type_bits;
 1120|  47.9k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1120:14): [True: 0, False: 47.9k]
  ------------------
 1121|      0|        {
 1122|      0|            resize(this_view.size() + q);
 1123|      0|            this_view = get_storage_view();
 1124|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1124:50): [True: 0, False: 0]
  ------------------
 1125|      0|                this_view[i] = ( i < q ? 0 : this_view[i - q]);
  ------------------
  |  Branch (1125:34): [True: 0, False: 0]
  ------------------
 1126|      0|            k %= word_type_bits;
 1127|      0|        }
 1128|  47.9k|        if ( k )  // 0 < k < word_type_bits:
  ------------------
  |  Branch (1128:14): [True: 0, False: 47.9k]
  ------------------
 1129|      0|        {
 1130|      0|            size_type k1 = word_type_bits - k;
 1131|      0|            word_type mask = (word_type(1) << k) - word_type(1);
 1132|      0|            resize( this_view.size() + 1 );
 1133|      0|            this_view = get_storage_view();
 1134|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1134:50): [True: 0, False: 0]
  ------------------
 1135|      0|            {
 1136|      0|                this_view[i] <<= k;
 1137|      0|                if ( i > 0 )
  ------------------
  |  Branch (1137:22): [True: 0, False: 0]
  ------------------
 1138|      0|                    this_view[i] |= (this_view[i-1] >> k1) & mask;
 1139|      0|            }
 1140|      0|        }
 1141|  47.9k|        reduce();
 1142|  47.9k|        return *this;
 1143|  47.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1799|  23.9k|    {
 1800|  23.9k|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1801|  23.9k|                   dHi = d >> word_type_half_bits, dLo = d & r_mask;
 1802|  23.9k|        qHi = A/(dHi + 1);
 1803|       |        // This initial guess of qHi may be too small.
 1804|  23.9k|        middle = qHi * dLo;
 1805|  23.9k|        left = qHi * dHi;
 1806|  23.9k|        x = B - (middle << word_type_half_bits);
 1807|  23.9k|        A -= (middle >> word_type_half_bits) + left + (x > B);
 1808|  23.9k|        B = x;
 1809|  23.9k|        dLo1 = dLo << word_type_half_bits;
 1810|       |        // Increase qHi if necessary:
 1811|  23.9k|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1811:17): [True: 0, False: 23.9k]
  |  Branch (1811:29): [True: 0, False: 23.9k]
  |  Branch (1811:41): [True: 0, False: 0]
  ------------------
 1812|      0|        {
 1813|      0|            x = B - dLo1;
 1814|      0|            A -= dHi + (x > B);
 1815|      0|            B = x;
 1816|      0|            qHi++;
 1817|      0|        }
 1818|  23.9k|        qLo = ((A << word_type_half_bits) | (B >> word_type_half_bits))/(dHi + 1);
 1819|       |        // This initial guess of qLo may be too small.
 1820|  23.9k|        right = qLo * dLo;
 1821|  23.9k|        middle = qLo * dHi;
 1822|  23.9k|        x = B - right;
 1823|  23.9k|        A -= (x > B);
 1824|  23.9k|        B = x;
 1825|  23.9k|        x = B - (middle << word_type_half_bits);
 1826|  23.9k|            A -= (middle >> word_type_half_bits) + (x > B);
 1827|  23.9k|        B = x;
 1828|       |        // Increase qLo if necessary:
 1829|  38.0k|        while ( A || B >= d )
  ------------------
  |  Branch (1829:17): [True: 0, False: 38.0k]
  |  Branch (1829:22): [True: 14.0k, False: 23.9k]
  ------------------
 1830|  14.0k|        {
 1831|  14.0k|            x = B - d;
 1832|  14.0k|            A -= (x > B);
 1833|  14.0k|            B = x;
 1834|  14.0k|            qLo++;
 1835|  14.0k|        }
 1836|  23.9k|        return (qHi << word_type_half_bits) + qLo;
 1837|  23.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1841|  23.9k|    {
 1842|  23.9k|        word_type hi, lo, d, carry = 0;
 1843|  23.9k|        size_type i;
 1844|  47.9k|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1844:22): [True: 23.9k, False: 23.9k]
  ------------------
 1845|  23.9k|        {
 1846|  23.9k|            DDproduct( b[i], q, hi, lo );
 1847|  23.9k|            d = a[i];
 1848|  23.9k|            a[i] -= lo;
 1849|  23.9k|            if ( a[i] > d )
  ------------------
  |  Branch (1849:18): [True: 4.70k, False: 19.2k]
  ------------------
 1850|  4.70k|                carry++;
 1851|  23.9k|            d = a[i + 1];
 1852|  23.9k|            a[i + 1] -= hi + carry;
 1853|  23.9k|            carry = a[i + 1] > d;
 1854|  23.9k|        }
 1855|  23.9k|        if ( carry ) // q was too large
  ------------------
  |  Branch (1855:14): [True: 0, False: 23.9k]
  ------------------
 1856|      0|        {
 1857|      0|            q--;
 1858|      0|            carry = 0;
 1859|      0|            for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1859:26): [True: 0, False: 0]
  ------------------
 1860|      0|            {
 1861|      0|                d = a[i] + carry;
 1862|      0|                carry = d < carry;
 1863|      0|                a[i] = d + b[i];
 1864|      0|                if ( a[i] < d )
  ------------------
  |  Branch (1864:22): [True: 0, False: 0]
  ------------------
 1865|      0|                    carry = 1;
 1866|      0|            }
 1867|      0|            a[n] = 0;
 1868|      0|        }
 1869|  23.9k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   79|   124k|        {
   80|   124k|            return data_;
   81|   124k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 1901|  23.9k|    {
 1902|  23.9k|        if (secondDone)
  ------------------
  |  Branch (1902:13): [True: 0, False: 23.9k]
  ------------------
 1903|      0|        {
 1904|      0|            rem /= max_word;
 1905|      0|        }
 1906|  23.9k|        if ( x > 0 )
  ------------------
  |  Branch (1906:14): [True: 0, False: 23.9k]
  ------------------
 1907|      0|        {
 1908|      0|            rem >>= x;
 1909|      0|        }
 1910|  23.9k|        else
 1911|  23.9k|        {
 1912|  23.9k|            rem.reduce();
 1913|  23.9k|        }
 1914|  23.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  708|   457k|    {
  709|   457k|        storage_.destroy();
  710|   457k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  487|   457k|    {
  488|   457k|        if (is_allocated())
  ------------------
  |  Branch (488:13): [True: 117k, False: 339k]
  ------------------
  489|   117k|        {
  490|   117k|            allocated_.destroy(get_allocator());
  491|   117k|            allocated_.~allocated_storage();
  492|   117k|        }
  493|   339k|        else
  494|   339k|        {
  495|   339k|            inlined_.~inlined_storage();
  496|   339k|        }
  497|   457k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  246|   117k|        {
  247|   117k|            if (data_ != nullptr)
  ------------------
  |  Branch (247:17): [True: 117k, False: 0]
  ------------------
  248|   117k|            {
  249|   117k|                real_allocator_type alloc(a);
  250|   117k|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  251|   117k|            }
  252|   117k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IlEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|  64.7k|        : storage_(n, alloc)
  694|  64.7k|    {
  695|  64.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IlEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|  64.7k|        : word_allocator_type(alloc)
  361|  64.7k|    {
  362|  64.7k|        ::new (&inlined_) inlined_storage(n);
  363|  64.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IlEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  125|  64.7k|            : is_allocated_(false),
  126|  64.7k|            is_negative_(n < 0),
  127|  64.7k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (127:19): [True: 39.8k, False: 24.9k]
  ------------------
  128|  64.7k|        {
  129|  64.7k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (129:26): [True: 5.43k, False: 59.3k]
  ------------------
  130|  64.7k|            values_[1] = 0;
  131|  64.7k|        }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEEl:
 1481|  32.3k|    {
 1482|  32.3k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1482:15): [True: 5.43k, False: 26.9k]
  ------------------
 1483|  32.3k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IjEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|  5.43k|        : storage_(n, alloc)
  694|  5.43k|    {
  695|  5.43k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IjEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|  5.43k|        : word_allocator_type(alloc)
  361|  5.43k|    {
  362|  5.43k|        ::new (&inlined_) inlined_storage(n);
  363|  5.43k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IjEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  138|  5.43k|            : is_allocated_(false),
  139|  5.43k|            is_negative_(false),
  140|  5.43k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 1.20k, False: 4.23k]
  ------------------
  141|  5.43k|        {
  142|  5.43k|            values_[0] = n;
  143|  5.43k|            values_[1] = 0;
  144|  5.43k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  954|  5.43k|    {
  955|  5.43k|        auto y_view = y.get_storage_view();
  956|       |
  957|  5.43k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (957:14): [True: 5.43k, False: 0]
  ------------------
  958|  5.43k|            return *this += -y;
  959|      0|        if ( (!is_negative() && y > *this) || (is_negative() && y < *this) )
  ------------------
  |  Branch (959:15): [True: 0, False: 0]
  |  Branch (959:33): [True: 0, False: 0]
  |  Branch (959:48): [True: 0, False: 0]
  |  Branch (959:65): [True: 0, False: 0]
  ------------------
  960|      0|            return *this = -(y - *this);
  961|      0|        word_type borrow = 0;
  962|      0|        word_type d;
  963|      0|        auto this_view = get_storage_view();
  964|      0|        const size_type this_size = this_view.size();
  965|      0|        const size_type y_size = y_view.size();
  966|       |
  967|      0|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (967:31): [True: 0, False: 0]
  ------------------
  968|      0|        {
  969|      0|            d = this_view[i] - borrow;
  970|      0|            borrow = d > this_view[i];
  971|      0|            this_view[i] = d - y_view[i];
  972|      0|            if ( this_view[i] > d )
  ------------------
  |  Branch (972:18): [True: 0, False: 0]
  ------------------
  973|      0|                borrow = 1;
  974|      0|        }
  975|      0|        for (size_type i = y_size; i < this_size && borrow != 0; i++ )
  ------------------
  |  Branch (975:36): [True: 0, False: 0]
  |  Branch (975:53): [True: 0, False: 0]
  ------------------
  976|      0|        {
  977|      0|            d = this_view[i] - borrow;
  978|      0|            borrow = d > this_view[i];
  979|      0|            this_view[i] = d;
  980|      0|        }
  981|      0|        reduce();
  982|      0|        return *this;
  983|      0|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLERKS4_:
  920|  5.43k|    {
  921|  5.43k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (921:14): [True: 0, False: 5.43k]
  ------------------
  922|      0|            return *this -= -y;
  923|       |
  924|  5.43k|        auto y_view = y.get_storage_view();
  925|       |        
  926|  5.43k|        word_type d;
  927|  5.43k|        word_type carry = 0;
  928|       |
  929|  5.43k|        auto this_view = get_storage_view();
  930|  5.43k|        resize( (std::max)(y_view.size(), this_view.size()) + 1 );
  931|  5.43k|        this_view = get_storage_view();
  932|       |
  933|  5.43k|        const size_t this_size = this_view.size();
  934|  5.43k|        const size_t y_size = y_view.size();
  935|  9.66k|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (935:31): [True: 4.23k, False: 5.43k]
  ------------------
  936|  4.23k|        {
  937|  4.23k|            d = this_view[i] + carry;
  938|  4.23k|            carry = d < carry;
  939|  4.23k|            this_view[i] = d + y_view[i];
  940|  4.23k|            if (this_view[i] < d)
  ------------------
  |  Branch (940:17): [True: 631, False: 3.59k]
  ------------------
  941|    631|                carry = 1;
  942|  4.23k|        }
  943|  6.06k|        for (size_type i = y_size; i < this_size && carry != 0; i++ )
  ------------------
  |  Branch (943:36): [True: 5.62k, False: 435]
  |  Branch (943:53): [True: 631, False: 4.99k]
  ------------------
  944|    631|        {
  945|    631|            d = this_view[i] + carry;
  946|    631|            carry = d < carry;
  947|    631|            this_view[i] = d;
  948|    631|        }
  949|  5.43k|        reduce();
  950|  5.43k|        return *this;
  951|  5.43k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLIjEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  889|  26.9k|    {
  890|  26.9k|        if ( is_negative())
  ------------------
  |  Branch (890:14): [True: 0, False: 26.9k]
  ------------------
  891|      0|            return *this -= -basic_bigint<Allocator>(y);
  892|       |
  893|  26.9k|        word_type d;
  894|  26.9k|        word_type carry = 0;
  895|       |
  896|  26.9k|        auto this_view = get_storage_view();
  897|  26.9k|        resize(this_view.size() + 1);
  898|       |
  899|  26.9k|        this_view = get_storage_view();
  900|  26.9k|        const size_type this_size = this_view.size();
  901|  26.9k|        size_type y_size = 1;
  902|       |
  903|  26.9k|        d = this_view[0] + carry;
  904|  26.9k|        carry = d < carry;
  905|  26.9k|        this_view[0] = d + y;
  906|  26.9k|        if (this_view[0] < d)
  ------------------
  |  Branch (906:13): [True: 2.94k, False: 24.0k]
  ------------------
  907|  2.94k|            carry = 1;
  908|       |
  909|  29.9k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (909:36): [True: 22.4k, False: 7.50k]
  |  Branch (909:53): [True: 2.94k, False: 19.4k]
  ------------------
  910|  2.94k|        {
  911|  2.94k|            d = this_view[i] + carry;
  912|  2.94k|            carry = d < carry;
  913|  2.94k|            this_view[i] = d;
  914|  2.94k|        }
  915|  26.9k|        reduce();
  916|  26.9k|        return *this;
  917|  26.9k|    }

_ZN8jsoncons6binary13big_to_nativeIfNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  96.3k|    {
  183|  96.3k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 96.3k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  96.3k|        T val;
  188|  96.3k|        std::memcpy(&val,first,sizeof(T));
  189|  96.3k|        return byte_swap(val);
  190|  96.3k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|  96.3k|    {
   65|  96.3k|        uint32_t x;
   66|  96.3k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|  96.3k|        uint32_t y = byte_swap(x);
   68|  96.3k|        T val2;
   69|  96.3k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|  96.3k|        return val2;
   71|  96.3k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|   142k|    {
   40|   142k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|   142k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|   142k|#  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|   142k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  9.85k|    {
  183|  9.85k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 9.85k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  9.85k|        T val;
  188|  9.85k|        std::memcpy(&val,first,sizeof(T));
  189|  9.85k|        return byte_swap(val);
  190|  9.85k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  9.85k|    {
   77|  9.85k|        uint64_t x;
   78|  9.85k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  9.85k|        uint64_t y = byte_swap(x);
   80|  9.85k|        T val2;
   81|  9.85k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  9.85k|        return val2;
   83|  9.85k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  25.5k|    {
   52|  25.5k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  25.5k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  25.5k|#  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|  25.5k|    }
_ZN8jsoncons6binary13big_to_nativeItNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  24.0k|    {
  183|  24.0k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 24.0k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  24.0k|        T val;
  188|  24.0k|        std::memcpy(&val,first,sizeof(T));
  189|  24.0k|        return byte_swap(val);
  190|  24.0k|    }
_ZN8jsoncons6binary9byte_swapItEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  24.0k|    {
   29|  24.0k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  24.0k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|  24.0k|#      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|  24.0k|    }
_ZN8jsoncons6binary13big_to_nativeIjNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  45.9k|    {
  183|  45.9k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 45.9k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  45.9k|        T val;
  188|  45.9k|        std::memcpy(&val,first,sizeof(T));
  189|  45.9k|        return byte_swap(val);
  190|  45.9k|    }
_ZN8jsoncons6binary13big_to_nativeImNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  15.6k|    {
  183|  15.6k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 15.6k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  15.6k|        T val;
  188|  15.6k|        std::memcpy(&val,first,sizeof(T));
  189|  15.6k|        return byte_swap(val);
  190|  15.6k|    }
_ZN8jsoncons6binary13big_to_nativeIaNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  1.39M|    {
  183|  1.39M|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 1.39M]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  1.39M|        T val;
  188|  1.39M|        std::memcpy(&val,first,sizeof(T));
  189|  1.39M|        return byte_swap(val);
  190|  1.39M|    }
_ZN8jsoncons6binary9byte_swapIaEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|  1.39M|    {
   22|  1.39M|        return val;
   23|  1.39M|    }
_ZN8jsoncons6binary13big_to_nativeIsNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   128k|    {
  183|   128k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 128k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   128k|        T val;
  188|   128k|        std::memcpy(&val,first,sizeof(T));
  189|   128k|        return byte_swap(val);
  190|   128k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|   128k|    {
   29|   128k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|   128k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|   128k|#      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|   128k|    }
_ZN8jsoncons6binary13big_to_nativeIiNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  5.96k|    {
  183|  5.96k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 5.96k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  5.96k|        T val;
  188|  5.96k|        std::memcpy(&val,first,sizeof(T));
  189|  5.96k|        return byte_swap(val);
  190|  5.96k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  5.96k|    {
   40|  5.96k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  5.96k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|  5.96k|#  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.96k|    }
_ZN8jsoncons6binary13big_to_nativeIlNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  33.8k|    {
  183|  33.8k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 33.8k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  33.8k|        T val;
  188|  33.8k|        std::memcpy(&val,first,sizeof(T));
  189|  33.8k|        return byte_swap(val);
  190|  33.8k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  33.8k|    {
   52|  33.8k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  33.8k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  33.8k|#  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|  33.8k|    }
_ZN8jsoncons6binary13big_to_nativeIhNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   225k|    {
  183|   225k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 225k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   225k|        T val;
  188|   225k|        std::memcpy(&val,first,sizeof(T));
  189|   225k|        return byte_swap(val);
  190|   225k|    }
_ZN8jsoncons6binary9byte_swapIhEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|   225k|    {
   22|   225k|        return val;
   23|   225k|    }

_ZNK8jsoncons16byte_string_view4dataEv:
  399|  4.46M|        {
  400|  4.46M|            return data_;
  401|  4.46M|        }
_ZNK8jsoncons16byte_string_view4sizeEv:
  403|  4.46M|        {
  404|  4.46M|            return size_;
  405|  4.46M|        }
_ZN8jsoncons16byte_string_viewC2EPKhm:
  362|  5.02M|            : data_(data), size_(length)
  363|  5.02M|        {
  364|  5.02M|        }
_ZN8jsoncons6detail23bytes_to_base64_genericIPKhNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEENS4_9enable_ifIXsr3std7is_sameINS4_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESD_SD_PKcRT0_:
   44|   560k|    {
   45|   560k|        std::size_t count = 0;
   46|   560k|        unsigned char a3[3];
   47|   560k|        unsigned char a4[4];
   48|   560k|        unsigned char fill = alphabet[64];
   49|   560k|        int i = 0;
   50|   560k|        int j = 0;
   51|       |
   52|  7.73M|        while (first != last)
  ------------------
  |  Branch (52:16): [True: 7.17M, False: 560k]
  ------------------
   53|  7.17M|        {
   54|  7.17M|            a3[i++] = *first++;
   55|  7.17M|            if (i == 3)
  ------------------
  |  Branch (55:17): [True: 2.21M, False: 4.96M]
  ------------------
   56|  2.21M|            {
   57|  2.21M|                a4[0] = (a3[0] & 0xfc) >> 2;
   58|  2.21M|                a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   59|  2.21M|                a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   60|  2.21M|                a4[3] = a3[2] & 0x3f;
   61|       |
   62|  11.0M|                for (i = 0; i < 4; i++) 
  ------------------
  |  Branch (62:29): [True: 8.86M, False: 2.21M]
  ------------------
   63|  8.86M|                {
   64|  8.86M|                    result.push_back(alphabet[a4[i]]);
   65|  8.86M|                    ++count;
   66|  8.86M|                }
   67|  2.21M|                i = 0;
   68|  2.21M|            }
   69|  7.17M|        }
   70|       |
   71|   560k|        if (i > 0)
  ------------------
  |  Branch (71:13): [True: 504k, False: 55.3k]
  ------------------
   72|   504k|        {
   73|  1.48M|            for (j = i; j < 3; ++j) 
  ------------------
  |  Branch (73:25): [True: 984k, False: 504k]
  ------------------
   74|   984k|            {
   75|   984k|                a3[j] = 0;
   76|   984k|            }
   77|       |
   78|   504k|            a4[0] = (a3[0] & 0xfc) >> 2;
   79|   504k|            a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   80|   504k|            a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   81|       |
   82|  1.53M|            for (j = 0; j < i + 1; ++j) 
  ------------------
  |  Branch (82:25): [True: 1.03M, False: 504k]
  ------------------
   83|  1.03M|            {
   84|  1.03M|                result.push_back(alphabet[a4[j]]);
   85|  1.03M|                ++count;
   86|  1.03M|            }
   87|       |
   88|   504k|            if (fill != 0)
  ------------------
  |  Branch (88:17): [True: 0, False: 504k]
  ------------------
   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|   504k|        }
   97|       |
   98|   560k|        return count;
   99|   560k|    }
_ZNK8jsoncons16byte_string_view5beginEv:
  409|   560k|        {
  410|   560k|            return data_;
  411|   560k|        }
_ZNK8jsoncons16byte_string_view3endEv:
  413|   560k|        {
  414|   560k|            return data_ + size_;
  415|   560k|        }
_ZN8jsoncons18bytes_to_base64urlIPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  177|   560k|    {
  178|   560k|        static constexpr char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  179|   560k|                                                      "abcdefghijklmnopqrstuvwxyz"
  180|   560k|                                                      "0123456789-_"
  181|   560k|                                                      "\0";
  182|   560k|        return detail::bytes_to_base64_generic(first, last, alphabet, result);
  183|   560k|    }

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  11.5k|    {       
  242|  11.5k|        return (ptr);
  243|  11.5k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|   977k|    {       
  242|   977k|        return (ptr);
  243|   977k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  7.66M|    {       
  242|  7.66M|        return (ptr);
  243|  7.66M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  2.18M|    {       
  242|  2.18M|        return (ptr);
  243|  2.18M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|   988k|    {       
  242|   988k|        return (ptr);
  243|   988k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerImEEPT_S3_:
  241|  93.9k|    {       
  242|  93.9k|        return (ptr);
  243|  93.9k|    }  

_ZN8jsoncons16decstr_to_doubleEPKcmRd:
  866|  4.60k|{
  867|  4.60k|    const char* cur = s+length;
  868|  4.60k|    char *end = nullptr;
  869|  4.60k|    val = strtod(s, &end);
  870|  4.60k|    const char* str_end = end;
  871|  4.60k|    if (JSONCONS_UNLIKELY(end < cur))
  ------------------
  |  |   78|  4.60k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 4.60k]
  |  |  ------------------
  ------------------
  872|      0|    {
  873|      0|        if (*end == '.')
  ------------------
  |  Branch (873:13): [True: 0, False: 0]
  ------------------
  874|      0|        {
  875|      0|            std::string buf{s, length};
  876|      0|            char* dot_ptr = &buf[0] + (cur - end - 1);
  877|      0|            *dot_ptr = ',';
  878|      0|            end = nullptr;
  879|      0|            val = strtod(buf.c_str(), &end);
  880|      0|            str_end = s + (end - &buf[0]);
  881|      0|        }
  882|      0|        if (JSONCONS_UNLIKELY(str_end != cur))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  883|      0|        {
  884|      0|            return to_number_result<char>{str_end,std::errc::invalid_argument};
  885|      0|        }
  886|      0|    }
  887|  4.60k|    if (JSONCONS_UNLIKELY(val <= -HUGE_VAL || val >= HUGE_VAL))
  ------------------
  |  |   78|  9.21k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 4.60k]
  |  |  |  Branch (78:50): [True: 0, False: 4.60k]
  |  |  |  Branch (78:50): [True: 0, False: 4.60k]
  |  |  ------------------
  ------------------
  888|      0|    {
  889|      0|        return to_number_result<char>{str_end, std::errc::result_out_of_range};
  890|      0|    }
  891|  4.60k|    return to_number_result<char>{str_end};
  892|  4.60k|}
_ZN8jsoncons16to_number_resultIcEC2EPKc:
  137|  4.60k|        : ptr(ptr_), ec(std::errc{})
  138|  4.60k|    {
  139|  4.60k|    }

_ZN8jsoncons14unicode_traits8validateIhEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  2.05M|    {
 1148|  2.05M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  2.05M|        const uint8_t* end = it + length;
 1150|       |
 1151|  2.05M|        unicode_errc  result{};
 1152|  2.11M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 52.8k, False: 2.05M]
  ------------------
 1153|  52.8k|        {
 1154|  52.8k|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 40.2k, False: 12.5k]
  ------------------
 1155|  40.2k|            {
 1156|   267k|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  281|  80.4k|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (281:32): [True: 39.0k, False: 1.12k]
  |  |  |  Branch (281:34): [True: 38.7k, False: 328]
  |  |  |  Branch (281:36): [True: 38.3k, False: 385]
  |  |  |  Branch (281:38): [True: 38.1k, False: 244]
  |  |  |  Branch (281:40): [True: 37.8k, False: 241]
  |  |  |  Branch (281:42): [True: 37.6k, False: 275]
  |  |  |  Branch (281:44): [True: 37.3k, False: 230]
  |  |  |  Branch (281:46): [True: 37.1k, False: 216]
  |  |  ------------------
  ------------------
 1157|  37.1k|                continue;
 1158|   267k|            }
 1159|  15.6k|    non_ascii:
 1160|  15.6k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  15.6k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 31, False: 15.6k]
  ------------------
 1162|     31|            {
 1163|     31|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     31|            }
 1165|  15.6k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 195, False: 15.4k]
  ------------------
 1166|    195|            {
 1167|    195|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    195|            }
 1169|  15.4k|            it += len;
 1170|  15.4k|        }
 1171|  2.05M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  2.05M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  15.6k|    {
  306|  15.6k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  15.6k|        const uint8_t* end = it+length;
  308|       |
  309|  15.6k|        uint8_t byte;
  310|  15.6k|        switch (length) {
  311|     26|        default:
  ------------------
  |  Branch (311:9): [True: 26, False: 15.5k]
  ------------------
  312|     26|            return unicode_errc::over_long_utf8_sequence;
  313|    543|        case 4:
  ------------------
  |  Branch (313:9): [True: 543, False: 15.0k]
  ------------------
  314|    543|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 12, False: 531]
  ------------------
  315|     12|                return unicode_errc::bad_continuation_byte;
  316|    531|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|    531|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  1.45k|        case 3:
  ------------------
  |  Branch (317:9): [True: 923, False: 14.6k]
  ------------------
  318|  1.45k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 11, False: 1.44k]
  ------------------
  319|     11|                return unicode_errc::bad_continuation_byte;
  320|  1.44k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.44k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  3.40k|        case 2:
  ------------------
  |  Branch (321:9): [True: 1.96k, False: 13.6k]
  ------------------
  322|  3.40k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 58, False: 3.35k]
  ------------------
  323|     58|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  3.35k|            switch (*it) 
  326|  3.35k|            {
  327|       |                // no fall-through in this inner switch
  328|    556|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 556, False: 2.79k]
  |  Branch (328:32): [True: 7, False: 549]
  ------------------
  329|    549|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 290, False: 3.06k]
  |  Branch (329:32): [True: 1, False: 289]
  ------------------
  330|    289|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 205, False: 3.14k]
  |  Branch (330:32): [True: 6, False: 199]
  ------------------
  331|    247|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 247, False: 3.10k]
  |  Branch (331:32): [True: 4, False: 243]
  ------------------
  332|  2.05k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 2.05k, False: 1.29k]
  |  Branch (332:32): [True: 0, False: 2.05k]
  ------------------
  333|  3.35k|            }
  334|       |
  335|  3.33k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  3.33k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  15.4k|        case 1:
  ------------------
  |  Branch (336:9): [True: 12.1k, False: 3.45k]
  ------------------
  337|  15.4k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 3.39k, False: 12.0k]
  |  Branch (337:32): [True: 69, False: 3.33k]
  ------------------
  338|     69|                return unicode_errc::source_illegal;
  339|  15.4k|            break;
  340|  15.6k|        }
  341|  15.4k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 1, False: 15.4k]
  ------------------
  342|      1|            return unicode_errc::source_illegal;
  343|       |
  344|  15.4k|        return unicode_errc();
  345|  15.4k|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  21.0M|{
   43|  21.0M|    using char_type = typename Result::value_type;
   44|       |
   45|  21.0M|    char_type buf[255];
   46|  21.0M|    char_type *p = buf;
   47|  21.0M|    const char_type* last = buf+255;
   48|       |
   49|  21.0M|    bool is_negative = value < 0;
   50|       |
   51|  21.0M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 21.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|  21.0M|    else
   60|  21.0M|    {
   61|       |
   62|  21.0M|        do
   63|  25.0M|        {
   64|  25.0M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  25.0M|        }
   66|  25.0M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 4.01M, False: 21.0M]
  |  Branch (66:33): [True: 4.01M, False: 0]
  ------------------
   67|  21.0M|    }
   68|  21.0M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  21.0M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 21.0M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  21.0M|    std::size_t count = (p - buf);
   71|  21.0M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 21.0M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  46.0M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 25.0M, False: 21.0M]
  ------------------
   77|  25.0M|    {
   78|  25.0M|        result.push_back(*p);
   79|  25.0M|    }
   80|       |
   81|  21.0M|    return count;
   82|  21.0M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  2.88M|{
   43|  2.88M|    using char_type = typename Result::value_type;
   44|       |
   45|  2.88M|    char_type buf[255];
   46|  2.88M|    char_type *p = buf;
   47|  2.88M|    const char_type* last = buf+255;
   48|       |
   49|  2.88M|    bool is_negative = value < 0;
   50|       |
   51|  2.88M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 2.88M, False: 768]
  ------------------
   52|  2.88M|    {
   53|  2.88M|        do
   54|  5.76M|        {
   55|  5.76M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  5.76M|        }
   57|  5.76M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 2.88M, False: 2.88M]
  |  Branch (57:33): [True: 2.88M, False: 0]
  ------------------
   58|  2.88M|    }
   59|    768|    else
   60|    768|    {
   61|       |
   62|    768|        do
   63|  5.40k|        {
   64|  5.40k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  5.40k|        }
   66|  5.40k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 4.63k, False: 768]
  |  Branch (66:33): [True: 4.63k, False: 0]
  ------------------
   67|    768|    }
   68|  2.88M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  2.88M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.88M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  2.88M|    std::size_t count = (p - buf);
   71|  2.88M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 2.88M, False: 768]
  ------------------
   72|  2.88M|    {
   73|  2.88M|        result.push_back('-');
   74|  2.88M|        ++count;
   75|  2.88M|    }
   76|  8.65M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 5.77M, False: 2.88M]
  ------------------
   77|  5.77M|    {
   78|  5.77M|        result.push_back(*p);
   79|  5.77M|    }
   80|       |
   81|  2.88M|    return count;
   82|  2.88M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|  71.4k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|  71.4k|    {
  489|  71.4k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|  71.4k|        struct lconv *lc = localeconv();
  491|  71.4k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 71.4k, False: 0]
  |  Branch (491:30): [True: 71.4k, False: 0]
  ------------------
  492|  71.4k|        {
  493|  71.4k|            decimal_point_ = lc->decimal_point[0];
  494|  71.4k|        }
  495|  71.4k|#endif
  496|  71.4k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|  71.4k|    {
  504|  71.4k|        std::size_t count = 0;
  505|       |
  506|  71.4k|        char number_buffer[200];
  507|  71.4k|        int length = 0;
  508|       |
  509|  71.4k|        switch (float_format_)
  510|  71.4k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 71.4k]
  ------------------
  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: 71.4k]
  ------------------
  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|  71.4k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 71.4k, False: 0]
  ------------------
  552|  71.4k|            {
  553|  71.4k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 71.4k]
  ------------------
  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|  71.4k|                else
  563|  71.4k|                {
  564|  71.4k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 71.4k]
  ------------------
  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|  71.4k|                }             
  569|  71.4k|                break;
  570|  71.4k|            }
  571|  71.4k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 71.4k]
  ------------------
  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|  71.4k|        }
  575|  71.4k|        return count;
  576|  71.4k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  4.60k|{
  244|  4.60k|    const char *sbeg = buffer;
  245|  4.60k|    const char *send = sbeg + length;
  246|       |
  247|  4.60k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 4.60k, False: 0]
  ------------------
  248|  4.60k|    {
  249|  4.60k|        bool needs_dot = true;
  250|  74.5k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 69.9k, False: 4.60k]
  ------------------
  251|  69.9k|        {
  252|  69.9k|            switch (*q)
  253|  69.9k|            {
  254|  2.57k|            case '-':
  ------------------
  |  Branch (254:13): [True: 2.57k, False: 67.4k]
  ------------------
  255|  5.42k|            case '0':
  ------------------
  |  Branch (255:13): [True: 2.84k, False: 67.1k]
  ------------------
  256|  12.7k|            case '1':
  ------------------
  |  Branch (256:13): [True: 7.33k, False: 62.6k]
  ------------------
  257|  17.5k|            case '2':
  ------------------
  |  Branch (257:13): [True: 4.78k, False: 65.2k]
  ------------------
  258|  21.2k|            case '3':
  ------------------
  |  Branch (258:13): [True: 3.67k, False: 66.3k]
  ------------------
  259|  26.8k|            case '4':
  ------------------
  |  Branch (259:13): [True: 5.59k, False: 64.3k]
  ------------------
  260|  36.8k|            case '5':
  ------------------
  |  Branch (260:13): [True: 10.0k, False: 59.9k]
  ------------------
  261|  41.3k|            case '6':
  ------------------
  |  Branch (261:13): [True: 4.43k, False: 65.5k]
  ------------------
  262|  47.4k|            case '7':
  ------------------
  |  Branch (262:13): [True: 6.17k, False: 63.8k]
  ------------------
  263|  52.6k|            case '8':
  ------------------
  |  Branch (263:13): [True: 5.15k, False: 64.8k]
  ------------------
  264|  57.0k|            case '9':
  ------------------
  |  Branch (264:13): [True: 4.45k, False: 65.5k]
  ------------------
  265|  59.5k|            case '+':
  ------------------
  |  Branch (265:13): [True: 2.43k, False: 67.5k]
  ------------------
  266|  59.5k|                result.push_back(*q);
  267|  59.5k|                break;
  268|  2.75k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 2.75k, False: 67.2k]
  ------------------
  269|  2.75k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 69.9k]
  ------------------
  270|  2.75k|                result.push_back('e');
  271|  2.75k|                needs_dot = false;
  272|  2.75k|                break;
  273|  7.69k|            default:
  ------------------
  |  Branch (273:13): [True: 7.69k, False: 62.2k]
  ------------------
  274|  7.69k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 2.99k, False: 4.69k]
  ------------------
  275|  2.99k|                {
  276|  2.99k|                    needs_dot = false;
  277|  2.99k|                    result.push_back('.');
  278|  2.99k|                }
  279|  7.69k|                break;
  280|  69.9k|            }
  281|  69.9k|        }
  282|  4.60k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 1.60k, False: 2.99k]
  ------------------
  283|  1.60k|        {
  284|  1.60k|            result.push_back('.');
  285|  1.60k|            result.push_back('0');
  286|  1.60k|        }
  287|  4.60k|    }
  288|  4.60k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKciiiiRT_:
  171|  65.0k|{
  172|  65.0k|    int nb_digits = length;
  173|  65.0k|    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|  65.0k|    int kk = nb_digits + k;
  179|       |
  180|  65.0k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 43.2k, False: 21.7k]
  |  Branch (180:28): [True: 33.8k, False: 9.44k]
  ------------------
  181|  33.8k|    {
  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|   276k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 242k, False: 33.8k]
  ------------------
  186|   242k|        {
  187|   242k|            result.push_back(buffer[i]);
  188|   242k|        }
  189|  36.0k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 2.20k, False: 33.8k]
  ------------------
  190|  2.20k|        {
  191|  2.20k|            result.push_back('0');
  192|  2.20k|        }
  193|  33.8k|        result.push_back('.');
  194|  33.8k|        result.push_back('0');
  195|  33.8k|    } 
  196|  31.2k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 15.5k, False: 15.6k]
  |  Branch (196:24): [True: 6.09k, False: 9.44k]
  ------------------
  197|  6.09k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  26.8k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 20.7k, False: 6.09k]
  ------------------
  200|  20.7k|        {
  201|  20.7k|            result.push_back(buffer[i]);
  202|  20.7k|        }
  203|  6.09k|        result.push_back('.');
  204|  70.5k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 64.4k, False: 6.09k]
  ------------------
  205|  64.4k|        {
  206|  64.4k|            result.push_back(buffer[i]);
  207|  64.4k|        }
  208|  6.09k|    } 
  209|  25.1k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 11.1k, False: 14.0k]
  |  Branch (209:30): [True: 1.65k, False: 9.44k]
  ------------------
  210|  1.65k|    {
  211|  1.65k|        offset = 2 - kk;
  212|       |
  213|  1.65k|        result.push_back('0');
  214|  1.65k|        result.push_back('.');
  215|  4.53k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 2.88k, False: 1.65k]
  ------------------
  216|  2.88k|            result.push_back('0');
  217|  21.6k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 19.9k, False: 1.65k]
  ------------------
  218|  19.9k|        {
  219|  19.9k|            result.push_back(buffer[i]);
  220|  19.9k|        }
  221|  1.65k|    } 
  222|  23.4k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 1.94k, False: 21.5k]
  ------------------
  223|  1.94k|    {
  224|  1.94k|        result.push_back(buffer[0]);
  225|  1.94k|        result.push_back('e');
  226|  1.94k|        fill_exponent(kk - 1, result);
  227|  1.94k|    } 
  228|  21.5k|    else
  229|  21.5k|    {
  230|  21.5k|        result.push_back(buffer[0]);
  231|  21.5k|        result.push_back('.');
  232|   343k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 321k, False: 21.5k]
  ------------------
  233|   321k|        {
  234|   321k|            result.push_back(buffer[i]);
  235|   321k|        }
  236|  21.5k|        result.push_back('e');
  237|  21.5k|        fill_exponent(kk - 1, result);
  238|  21.5k|    }
  239|  65.0k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  23.4k|{
  137|  23.4k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 14.0k, False: 9.44k]
  ------------------
  138|  14.0k|    {
  139|  14.0k|        result.push_back('-');
  140|  14.0k|        K = -K;
  141|  14.0k|    }
  142|  9.44k|    else
  143|  9.44k|    {
  144|  9.44k|        result.push_back('+'); // compatibility with sprintf
  145|  9.44k|    }
  146|       |
  147|  23.4k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 2.21k, False: 21.2k]
  ------------------
  148|  2.21k|    {
  149|  2.21k|        result.push_back('0'); // compatibility with sprintf
  150|  2.21k|        result.push_back((char)('0' + K));
  151|  2.21k|    }
  152|  21.2k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 12.4k, False: 8.85k]
  ------------------
  153|  12.4k|    {
  154|  12.4k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  12.4k|        result.push_back((char)('0' + K));
  156|  12.4k|    }
  157|  8.85k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 8.85k, False: 0]
  ------------------
  158|  8.85k|    {
  159|  8.85k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  8.85k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  8.85k|        result.push_back((char)('0' + K));
  162|  8.85k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  23.4k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|  71.4k|{
  476|  71.4k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|  71.4k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|  71.4k|{
  367|  71.4k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 1.81k, False: 69.6k]
  ------------------
  368|  1.81k|    {
  369|  1.81k|        result.push_back('0');
  370|  1.81k|        result.push_back('.');
  371|  1.81k|        result.push_back('0');
  372|  1.81k|        return true;
  373|  1.81k|    }
  374|       |
  375|  69.6k|    int length = 0;
  376|  69.6k|    int k;
  377|       |
  378|  69.6k|    char buffer[100];
  379|       |
  380|  69.6k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 57.2k, False: 12.4k]
  ------------------
  381|  69.6k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 65.0k, False: 4.60k]
  ------------------
  382|  65.0k|    {
  383|  65.0k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 54.9k, False: 10.1k]
  ------------------
  384|  54.9k|        {
  385|  54.9k|            result.push_back('-');
  386|  54.9k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|  65.0k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|  65.0k|        return true;
  391|  65.0k|    }
  392|  4.60k|    else
  393|  4.60k|    {
  394|  4.60k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  4.60k|    }
  396|  69.6k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  4.60k|{
  330|  4.60k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 4.60k]
  ------------------
  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|  4.60k|    char buffer[100];
  339|  4.60k|    int precision = std::numeric_limits<double>::digits10;
  340|  4.60k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  4.60k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 4.60k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  4.60k|    double x{0};
  346|  4.60k|    auto res = decstr_to_double(buffer, length, x);
  347|  4.60k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 4.60k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  4.60k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 3.36k, False: 1.23k]
  ------------------
  352|  3.36k|    {
  353|  3.36k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  3.36k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  3.36k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 3.36k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  3.36k|    }
  360|  4.60k|    dump_buffer(buffer, length, decimal_point, result);
  361|  4.60k|    return true;
  362|  4.60k|}

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

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

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

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

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

