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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2774|   120M|        {
 2775|   120M|             destroy();
 2776|   120M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  898|   120M|        {
  899|   120M|            switch (storage_kind())
  900|   120M|            {
  901|  12.2k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (901:17): [True: 12.2k, False: 120M]
  ------------------
  902|  12.2k|                {
  903|  12.2k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (903:25): [True: 12.2k, False: 0]
  ------------------
  904|  12.2k|                    {
  905|  12.2k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  906|  12.2k|                    }
  907|  12.2k|                    break;
  908|      0|                }
  909|  1.14M|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (909:17): [True: 1.14M, False: 119M]
  ------------------
  910|  1.14M|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (910:25): [True: 1.14M, False: 0]
  ------------------
  911|  1.14M|                    {
  912|  1.14M|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  913|  1.14M|                    }
  914|  1.14M|                    break;
  915|  3.96M|                case json_storage_kind::array:
  ------------------
  |  Branch (915:17): [True: 3.96M, False: 116M]
  ------------------
  916|  3.96M|                {
  917|  3.96M|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (917:25): [True: 3.96M, False: 0]
  ------------------
  918|  3.96M|                    {
  919|  3.96M|                        auto& stor = cast<array_storage>();
  920|  3.96M|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  921|  3.96M|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  922|  3.96M|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  923|  3.96M|                    }
  924|  3.96M|                    break;
  925|      0|                }
  926|  1.97M|                case json_storage_kind::object:
  ------------------
  |  Branch (926:17): [True: 1.97M, False: 118M]
  ------------------
  927|  1.97M|                {
  928|  1.97M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (928:25): [True: 1.97M, False: 0]
  ------------------
  929|  1.97M|                    {
  930|  1.97M|                        auto& stor = cast<object_storage>();
  931|  1.97M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  932|  1.97M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  933|  1.97M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  934|  1.97M|                    }
  935|  1.97M|                    break;
  936|      0|                }
  937|   113M|                default:
  ------------------
  |  Branch (937:17): [True: 113M, False: 7.10M]
  ------------------
  938|   113M|                    break;
  939|   120M|            }
  940|   120M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1462|   287M|        {
 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|   287M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1468|   287M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1004|   129k|        {
 1005|   129k|            return cast(identity<T>());
 1006|   129k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1095|   129k|        {
 1096|   129k|            return long_str_;
 1097|   129k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1004|  6.68M|        {
 1005|  6.68M|            return cast(identity<T>());
 1006|  6.68M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1105|  6.68M|        {
 1106|  6.68M|            return byte_str_;
 1107|  6.68M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1004|  36.8M|        {
 1005|  36.8M|            return cast(identity<T>());
 1006|  36.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1125|  36.8M|        {
 1126|  36.8M|            return array_;
 1127|  36.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2307|  79.7M|        {
 2308|  79.7M|            uninitialized_move(std::move(other));
 2309|  79.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1302|  79.7M|        {
 1303|  79.7M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1303:17): [True: 65.8M, False: 13.8M]
  ------------------
 1304|  65.8M|            {
 1305|  65.8M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1306|  65.8M|            }
 1307|  13.8M|            else
 1308|  13.8M|            {
 1309|  13.8M|                switch (other.storage_kind())
 1310|  13.8M|                {
 1311|  28.3k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1311:21): [True: 28.3k, False: 13.8M]
  ------------------
 1312|  28.3k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1313|  28.3k|                        other.construct<null_storage>();
 1314|  28.3k|                        break;
 1315|  1.56M|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1315:21): [True: 1.56M, False: 12.3M]
  ------------------
 1316|  1.56M|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1317|  1.56M|                        other.construct<null_storage>();
 1318|  1.56M|                        break;
 1319|  8.69M|                    case json_storage_kind::array:
  ------------------
  |  Branch (1319:21): [True: 8.69M, False: 5.18M]
  ------------------
 1320|  8.69M|                        construct<array_storage>(other.cast<array_storage>());
 1321|  8.69M|                        other.construct<null_storage>();
 1322|  8.69M|                        break;
 1323|  3.59M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1323:21): [True: 3.59M, False: 10.2M]
  ------------------
 1324|  3.59M|                        construct<object_storage>(other.cast<object_storage>());
 1325|  3.59M|                        other.construct<null_storage>();
 1326|  3.59M|                        break;
 1327|      0|                    default:
  ------------------
  |  Branch (1327:21): [True: 0, False: 13.8M]
  ------------------
 1328|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1329|      0|                        break;
 1330|  13.8M|                }
 1331|  13.8M|            }
 1332|  79.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  995|  46.4k|        {
  996|  46.4k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  46.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  626|  64.5k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  627|  64.5k|            {
  628|  64.5k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  995|  13.8M|        {
  996|  13.8M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  13.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1004|  18.5M|        {
 1005|  18.5M|            return cast(identity<T>());
 1006|  18.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1015|  18.5M|        {
 1016|  18.5M|            return null_;
 1017|  18.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  450|  15.1M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  451|  15.1M|            {
  452|  15.1M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  995|  1.62M|        {
  996|  1.62M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.62M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  675|  1.68M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  676|  1.68M|            {
  677|  1.68M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  995|  10.3M|        {
  996|  10.3M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  10.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  727|  11.9M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  728|  11.9M|            {
  729|  11.9M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  995|  4.09M|        {
  996|  4.09M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.09M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  777|  4.60M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  778|  4.60M|            {
  779|  4.60M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4759|   394k|        {
 4760|   394k|            switch (storage_kind())
 4761|   394k|            {
 4762|   394k|                case json_storage_kind::array:
  ------------------
  |  Branch (4762:17): [True: 394k, False: 0]
  ------------------
 4763|   394k|                    return array_range_type(cast<array_storage>().value().begin(),
 4764|   394k|                        cast<array_storage>().value().end());
 4765|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4765:17): [True: 0, False: 394k]
  ------------------
 4766|      0|                    return cast<json_ref_storage>().value().array_range();
 4767|      0|                default:
  ------------------
  |  Branch (4767:17): [True: 0, False: 394k]
  ------------------
 4768|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4769|   394k|            }
 4770|   394k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  4.29M|            {
  751|  4.29M|                return *ptr_;
  752|  4.29M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|   394k|            : first_(first), last_(last)
  349|   394k|        {
  350|   394k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|   394k|        {
  354|   394k|            return first_;
  355|   394k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|   394k|        {
  358|   394k|            return last_;
  359|   394k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3425|  75.9k|        {
 3426|  75.9k|            switch (storage_kind())
 3427|  75.9k|            {
 3428|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 75.9k]
  ------------------
 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: 75.9k]
  ------------------
 3432|      0|                    return cast<short_string_storage>().length() == 0;
 3433|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3433:17): [True: 0, False: 75.9k]
  ------------------
 3434|      0|                    return cast<long_string_storage>().length() == 0;
 3435|  40.3k|                case json_storage_kind::array:
  ------------------
  |  Branch (3435:17): [True: 40.3k, False: 35.6k]
  ------------------
 3436|  40.3k|                    return cast<array_storage>().value().empty();
 3437|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3437:17): [True: 0, False: 75.9k]
  ------------------
 3438|      0|                    return true;
 3439|  35.6k|                case json_storage_kind::object:
  ------------------
  |  Branch (3439:17): [True: 35.6k, False: 40.3k]
  ------------------
 3440|  35.6k|                    return cast<object_storage>().value().empty();
 3441|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3441:17): [True: 0, False: 75.9k]
  ------------------
 3442|      0|                    return cast<const_json_ref_storage>().value().empty();
 3443|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3443:17): [True: 0, False: 75.9k]
  ------------------
 3444|      0|                    return cast<json_ref_storage>().value().empty();
 3445|      0|                default:
  ------------------
  |  Branch (3445:17): [True: 0, False: 75.9k]
  ------------------
 3446|      0|                    return false;
 3447|  75.9k|            }
 3448|  75.9k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1010|  40.3k|        {
 1011|  40.3k|            return cast(identity<T>());
 1012|  40.3k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  40.3k|        {
 1131|  40.3k|            return array_;
 1132|  40.3k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  40.3k|            {
  756|  40.3k|                return *ptr_;
  757|  40.3k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1010|  35.6k|        {
 1011|  35.6k|            return cast(identity<T>());
 1012|  35.6k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|  35.6k|        {
 1121|  35.6k|            return object_;
 1122|  35.6k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  801|  35.6k|            {
  802|  35.6k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|  35.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 35.6k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  803|  35.6k|                return *ptr_;
  804|  35.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4156|   445k|        {
 4157|   445k|            switch (storage_kind())
 4158|   445k|            {
 4159|   394k|                case json_storage_kind::array:
  ------------------
  |  Branch (4159:17): [True: 394k, False: 51.5k]
  ------------------
 4160|   394k|                    cast<array_storage>().value().clear();
 4161|   394k|                    break;
 4162|  51.5k|                case json_storage_kind::object:
  ------------------
  |  Branch (4162:17): [True: 51.5k, False: 394k]
  ------------------
 4163|  51.5k|                    cast<object_storage>().value().clear();
 4164|  51.5k|                    break;
 4165|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4165:17): [True: 0, False: 445k]
  ------------------
 4166|      0|                    cast<json_ref_storage>().value().clear();
 4167|      0|                    break;
 4168|      0|                default:
  ------------------
  |  Branch (4168:17): [True: 0, False: 445k]
  ------------------
 4169|      0|                    break;
 4170|   445k|            }
 4171|   445k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  795|   202k|            {
  796|   202k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|   202k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 202k]
  |  |  ------------------
  |  |   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|   202k|                return *ptr_;
  798|   202k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4725|  51.5k|        {
 4726|  51.5k|            switch (storage_kind())
 4727|  51.5k|            {
 4728|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4728:17): [True: 0, False: 51.5k]
  ------------------
 4729|      0|                    return object_range_type(object_iterator(), object_iterator());
 4730|  51.5k|                case json_storage_kind::object:
  ------------------
  |  Branch (4730:17): [True: 51.5k, False: 0]
  ------------------
 4731|  51.5k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4732|  51.5k|                                                  object_iterator(cast<object_storage>().value().end()));
 4733|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4733:17): [True: 0, False: 51.5k]
  ------------------
 4734|      0|                    return cast<json_ref_storage>().value().object_range();
 4735|      0|                default:
  ------------------
  |  Branch (4735:17): [True: 0, False: 51.5k]
  ------------------
 4736|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4737|  51.5k|            }
 4738|  51.5k|        }
_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|  51.5k|            : first_(first), last_(last)
  349|  51.5k|        {
  350|  51.5k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|   103k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|   103k|            {
  120|   103k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  353|  51.5k|        {
  354|  51.5k|            return first_;
  355|  51.5k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  357|  51.5k|        {
  358|  51.5k|            return last_;
  359|  51.5k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|   136k|            {
  219|   136k|                return !(*this == rhs);
  220|   136k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|   136k|            {
  210|   136k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   77|   272k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 136k, False: 0]
  |  |  |  Branch (77:48): [True: 136k, False: 0]
  |  |  |  Branch (77:48): [True: 136k, False: 0]
  |  |  ------------------
  ------------------
  211|   136k|                {
  212|   136k|                    return current_ == rhs.current_;
  213|   136k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|   136k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  84.8k|            {
  141|  84.8k|                return *current_;
  142|  84.8k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  84.8k|            {
  151|  84.8k|                ++current_;
  152|  84.8k|                return *this;
  153|  84.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1004|  14.3M|        {
 1005|  14.3M|            return cast(identity<T>());
 1006|  14.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1115|  14.3M|        {
 1116|  14.3M|            return object_;
 1117|  14.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2275|  7.06k|        {
 2276|  7.06k|            construct<empty_object_storage>(semantic_tag::none);
 2277|  7.06k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  995|  7.06k|        {
  996|  7.06k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  7.06k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1004|  11.5k|        {
 1005|  11.5k|            return cast(identity<T>());
 1006|  11.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1025|  11.5k|        {
 1026|  11.5k|            return empty_object_;
 1027|  11.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  462|  7.06k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|  7.06k|            {
  464|  7.06k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3484|  32.2k|        {
 3485|  32.2k|            if (n > 0)
  ------------------
  |  Branch (3485:17): [True: 32.2k, False: 0]
  ------------------
 3486|  32.2k|            {
 3487|  32.2k|                switch (storage_kind())
 3488|  32.2k|                {
 3489|  32.2k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3489:21): [True: 32.2k, False: 0]
  ------------------
 3490|  32.2k|                        cast<array_storage>().value().reserve(n);
 3491|  32.2k|                        break;
 3492|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3492:21): [True: 0, False: 32.2k]
  ------------------
 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: 32.2k]
  ------------------
 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: 32.2k]
  ------------------
 3500|      0|                        cast<json_ref_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    default:
  ------------------
  |  Branch (3502:21): [True: 0, False: 32.2k]
  ------------------
 3503|      0|                        break;
 3504|  32.2k|                }
 3505|  32.2k|            }
 3506|  32.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2320|  1.97M|        {
 2321|  1.97M|            auto ptr = create_object(alloc);
 2322|  1.97M|            construct<object_storage>(ptr, tag);
 2323|  1.97M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  976|  1.97M|        {
  977|  1.97M|            using stor_allocator_type = typename object_storage::allocator_type;
  978|  1.97M|            stor_allocator_type stor_alloc(alloc);
  979|  1.97M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  980|  1.97M|            JSONCONS_TRY
  ------------------
  |  |   37|  1.97M|    #define JSONCONS_TRY try
  ------------------
  981|  1.97M|            {
  982|  1.97M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  983|  1.97M|                    std::forward<Args>(args)...);
  984|  1.97M|            }
  985|  1.97M|            JSONCONS_CATCH(...)
  986|  1.97M|            {
  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.97M|            return ptr;
  991|  1.97M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  1.97M|        {
  996|  1.97M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.97M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  772|  1.97M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  773|  1.97M|            {
  774|  1.97M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4701|  3.08M|        {
 4702|  3.08M|            switch (storage_kind())
 4703|  3.08M|            {
 4704|  3.08M|                case json_storage_kind::array:
  ------------------
  |  Branch (4704:17): [True: 3.08M, False: 0]
  ------------------
 4705|  3.08M|                    cast<array_storage>().value().push_back(std::move(val));
 4706|  3.08M|                    break;
 4707|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4707:17): [True: 0, False: 3.08M]
  ------------------
 4708|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4709|      0|                    break;
 4710|      0|                default:
  ------------------
  |  Branch (4710:17): [True: 0, False: 3.08M]
  ------------------
 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|  3.08M|            }
 4713|  3.08M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1453|  27.9M|        {
 1454|  27.9M|            if (this != &other)
  ------------------
  |  Branch (1454:17): [True: 27.9M, False: 0]
  ------------------
 1455|  27.9M|            {
 1456|  27.9M|                move_assignment(std::move(other));
 1457|  27.9M|            }
 1458|  27.9M|            return *this;
 1459|  27.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1415|  27.9M|        {
 1416|  27.9M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1416:17): [True: 27.9M, False: 0]
  |  Branch (1416:55): [True: 25.7M, False: 2.19M]
  ------------------
 1417|  25.7M|            {
 1418|  25.7M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1419|  25.7M|            }
 1420|  2.19M|            else
 1421|  2.19M|            {
 1422|  2.19M|                swap(other);
 1423|  2.19M|            }
 1424|  27.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1934|  2.19M|        {
 1935|  2.19M|            if (this == &other)
  ------------------
  |  Branch (1935:17): [True: 0, False: 2.19M]
  ------------------
 1936|      0|            {
 1937|      0|                return;
 1938|      0|            }
 1939|  2.19M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1939:17): [True: 2.19M, False: 0]
  |  Branch (1939:55): [True: 0, False: 2.19M]
  ------------------
 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.19M|            else
 1947|  2.19M|            {
 1948|  2.19M|                switch (storage_kind())
 1949|  2.19M|                {
 1950|  1.69M|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 1.69M, False: 496k]
  ------------------
 1951|  2.26k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 2.26k, False: 2.18M]
  ------------------
 1952|  41.2k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 41.2k, False: 2.15M]
  ------------------
 1953|  51.2k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 51.2k, False: 2.14M]
  ------------------
 1954|   395k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 395k, False: 1.79M]
  ------------------
 1955|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 0, False: 2.19M]
  ------------------
 1956|  1.63k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 1.63k, False: 2.18M]
  ------------------
 1957|  5.34k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 5.34k, False: 2.18M]
  ------------------
 1958|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 2.19M]
  ------------------
 1959|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 0, False: 2.19M]
  ------------------
 1960|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 0, False: 2.19M]
  ------------------
 1961|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 2.19M]
  ------------------
 1962|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 2.19M]
  ------------------
 1963|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 2.19M]
  ------------------
 1964|      0|                    default:
  ------------------
  |  Branch (1964:21): [True: 0, False: 2.19M]
  ------------------
 1965|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1966|      0|                        break;
 1967|  2.19M|                }
 1968|  2.19M|            }
 1969|  2.19M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1170|  1.69M|        {
 1171|  1.69M|            switch (other.storage_kind())
 1172|  1.69M|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.69M]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 1.69M]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 1.69M]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 1.69M]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 1.69M]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.69M]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.69M]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.69M]
  ------------------
 1181|  5.12k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 5.12k, False: 1.68M]
  ------------------
 1182|  31.6k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 31.6k, False: 1.66M]
  ------------------
 1183|  1.29M|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.29M, False: 396k]
  ------------------
 1184|   360k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 360k, False: 1.33M]
  ------------------
 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.69M]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 1.69M]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 1.69M]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  1.69M|            }
 1191|  1.69M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  995|  1.69M|        {
  996|  1.69M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.69M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  995|  2.26k|        {
  996|  2.26k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.26k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1004|  7.37M|        {
 1005|  7.37M|            return cast(identity<T>());
 1006|  7.37M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1035|  7.37M|        {
 1036|  7.37M|            return boolean_;
 1037|  7.37M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  995|  41.2k|        {
  996|  41.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  41.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1004|  4.56M|        {
 1005|  4.56M|            return cast(identity<T>());
 1006|  4.56M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1045|  4.56M|        {
 1046|  4.56M|            return int64_;
 1047|  4.56M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  995|  51.2k|        {
  996|  51.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  51.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1004|  19.8M|        {
 1005|  19.8M|            return cast(identity<T>());
 1006|  19.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1055|  19.8M|        {
 1056|  19.8M|            return uint64_;
 1057|  19.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  995|   395k|        {
  996|   395k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   395k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1004|  37.5k|        {
 1005|  37.5k|            return cast(identity<T>());
 1006|  37.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1075|  37.5k|        {
 1076|  37.5k|            return float64_;
 1077|  37.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  995|  1.63k|        {
  996|  1.63k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.63k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1004|  1.73M|        {
 1005|  1.73M|            return cast(identity<T>());
 1006|  1.73M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1085|  1.73M|        {
 1086|  1.73M|            return short_str_;
 1087|  1.73M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  585|  5.34k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  586|  5.34k|            {
  587|  5.34k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  588|  5.34k|                data_[short_str_length_] = 0;
  589|  5.34k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  995|  5.34k|        {
  996|  5.34k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  5.34k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1156|  5.12k|        {
 1157|  5.12k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  5.12k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  5.12k|        {
 1163|  5.12k|            TypeR temp{other.cast<TypeR>()};
 1164|  5.12k|            other.construct<TypeL>(cast<TypeL>());
 1165|  5.12k|            construct<TypeR>(temp);
 1166|  5.12k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  31.6k|        {
 1157|  31.6k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  31.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  31.6k|        {
 1163|  31.6k|            TypeR temp{other.cast<TypeR>()};
 1164|  31.6k|            other.construct<TypeL>(cast<TypeL>());
 1165|  31.6k|            construct<TypeR>(temp);
 1166|  31.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1156|  1.29M|        {
 1157|  1.29M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.29M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.29M|        {
 1163|  1.29M|            TypeR temp{other.cast<TypeR>()};
 1164|  1.29M|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.29M|            construct<TypeR>(temp);
 1166|  1.29M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1156|   360k|        {
 1157|   360k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   360k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   360k|        {
 1163|   360k|            TypeR temp{other.cast<TypeR>()};
 1164|   360k|            other.construct<TypeL>(cast<TypeL>());
 1165|   360k|            construct<TypeR>(temp);
 1166|   360k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1170|  2.26k|        {
 1171|  2.26k|            switch (other.storage_kind())
 1172|  2.26k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.26k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.26k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.26k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.26k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.26k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.26k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.26k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.26k]
  ------------------
 1181|    717|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 717, False: 1.54k]
  ------------------
 1182|      3|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 3, False: 2.25k]
  ------------------
 1183|    244|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 244, False: 2.01k]
  ------------------
 1184|  1.29k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 1.29k, False: 964]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 2.26k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.26k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.26k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.26k|            }
 1191|  2.26k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1156|    717|        {
 1157|    717|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    717|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    717|        {
 1163|    717|            TypeR temp{other.cast<TypeR>()};
 1164|    717|            other.construct<TypeL>(cast<TypeL>());
 1165|    717|            construct<TypeR>(temp);
 1166|    717|        }
_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|    244|        {
 1157|    244|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    244|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_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_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1156|  1.29k|        {
 1157|  1.29k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.29k|        {
 1163|  1.29k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.29k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.29k|            construct<TypeR>(temp);
 1166|  1.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1170|  41.2k|        {
 1171|  41.2k|            switch (other.storage_kind())
 1172|  41.2k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 41.2k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 41.2k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 41.2k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 41.2k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 41.2k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 41.2k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 41.2k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 41.2k]
  ------------------
 1181|    343|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 343, False: 40.8k]
  ------------------
 1182|  1.02k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 1.02k, False: 40.1k]
  ------------------
 1183|  33.5k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 33.5k, False: 7.70k]
  ------------------
 1184|  6.34k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 6.34k, False: 34.8k]
  ------------------
 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: 41.2k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 41.2k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 41.2k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  41.2k|            }
 1191|  41.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1156|    343|        {
 1157|    343|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    343|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    343|        {
 1163|    343|            TypeR temp{other.cast<TypeR>()};
 1164|    343|            other.construct<TypeL>(cast<TypeL>());
 1165|    343|            construct<TypeR>(temp);
 1166|    343|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  1.02k|        {
 1157|  1.02k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.02k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.02k|        {
 1163|  1.02k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.02k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.02k|            construct<TypeR>(temp);
 1166|  1.02k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1156|  33.5k|        {
 1157|  33.5k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  33.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  33.5k|        {
 1163|  33.5k|            TypeR temp{other.cast<TypeR>()};
 1164|  33.5k|            other.construct<TypeL>(cast<TypeL>());
 1165|  33.5k|            construct<TypeR>(temp);
 1166|  33.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1156|  6.34k|        {
 1157|  6.34k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  6.34k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  6.34k|        {
 1163|  6.34k|            TypeR temp{other.cast<TypeR>()};
 1164|  6.34k|            other.construct<TypeL>(cast<TypeL>());
 1165|  6.34k|            construct<TypeR>(temp);
 1166|  6.34k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1170|  51.2k|        {
 1171|  51.2k|            switch (other.storage_kind())
 1172|  51.2k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 51.2k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 51.2k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 51.2k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 51.2k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 51.2k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 51.2k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 51.2k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 51.2k]
  ------------------
 1181|  2.57k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 2.57k, False: 48.7k]
  ------------------
 1182|  3.40k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 3.40k, False: 47.8k]
  ------------------
 1183|  25.5k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 25.5k, False: 25.7k]
  ------------------
 1184|  19.7k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 19.7k, False: 31.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: 51.2k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 51.2k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 51.2k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  51.2k|            }
 1191|  51.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  2.57k|        {
 1157|  2.57k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.57k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.57k|        {
 1163|  2.57k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.57k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.57k|            construct<TypeR>(temp);
 1166|  2.57k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  3.40k|        {
 1157|  3.40k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  3.40k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  3.40k|        {
 1163|  3.40k|            TypeR temp{other.cast<TypeR>()};
 1164|  3.40k|            other.construct<TypeL>(cast<TypeL>());
 1165|  3.40k|            construct<TypeR>(temp);
 1166|  3.40k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1156|  25.5k|        {
 1157|  25.5k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  25.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  25.5k|        {
 1163|  25.5k|            TypeR temp{other.cast<TypeR>()};
 1164|  25.5k|            other.construct<TypeL>(cast<TypeL>());
 1165|  25.5k|            construct<TypeR>(temp);
 1166|  25.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1156|  19.7k|        {
 1157|  19.7k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  19.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  19.7k|        {
 1163|  19.7k|            TypeR temp{other.cast<TypeR>()};
 1164|  19.7k|            other.construct<TypeL>(cast<TypeL>());
 1165|  19.7k|            construct<TypeR>(temp);
 1166|  19.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1170|   395k|        {
 1171|   395k|            switch (other.storage_kind())
 1172|   395k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 395k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 395k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 395k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 395k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 395k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 395k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 395k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 395k]
  ------------------
 1181|  8.64k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 8.64k, False: 386k]
  ------------------
 1182|  21.2k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 21.2k, False: 373k]
  ------------------
 1183|   251k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 251k, False: 143k]
  ------------------
 1184|   113k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 113k, False: 281k]
  ------------------
 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: 395k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 395k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 395k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|   395k|            }
 1191|   395k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  8.64k|        {
 1157|  8.64k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  8.64k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  8.64k|        {
 1163|  8.64k|            TypeR temp{other.cast<TypeR>()};
 1164|  8.64k|            other.construct<TypeL>(cast<TypeL>());
 1165|  8.64k|            construct<TypeR>(temp);
 1166|  8.64k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  21.2k|        {
 1157|  21.2k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  21.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  21.2k|        {
 1163|  21.2k|            TypeR temp{other.cast<TypeR>()};
 1164|  21.2k|            other.construct<TypeL>(cast<TypeL>());
 1165|  21.2k|            construct<TypeR>(temp);
 1166|  21.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1156|   251k|        {
 1157|   251k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   251k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   251k|        {
 1163|   251k|            TypeR temp{other.cast<TypeR>()};
 1164|   251k|            other.construct<TypeL>(cast<TypeL>());
 1165|   251k|            construct<TypeR>(temp);
 1166|   251k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1156|   113k|        {
 1157|   113k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   113k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   113k|        {
 1163|   113k|            TypeR temp{other.cast<TypeR>()};
 1164|   113k|            other.construct<TypeL>(cast<TypeL>());
 1165|   113k|            construct<TypeR>(temp);
 1166|   113k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1170|  1.63k|        {
 1171|  1.63k|            switch (other.storage_kind())
 1172|  1.63k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.63k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 1.63k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 1.63k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 1.63k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 1.63k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.63k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.63k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.63k]
  ------------------
 1181|    226|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 226, False: 1.41k]
  ------------------
 1182|    398|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 398, False: 1.23k]
  ------------------
 1183|    574|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 574, False: 1.06k]
  ------------------
 1184|    439|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 439, False: 1.19k]
  ------------------
 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.63k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 1.63k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 1.63k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  1.63k|            }
 1191|  1.63k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1156|    226|        {
 1157|    226|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    226|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    226|        {
 1163|    226|            TypeR temp{other.cast<TypeR>()};
 1164|    226|            other.construct<TypeL>(cast<TypeL>());
 1165|    226|            construct<TypeR>(temp);
 1166|    226|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    398|        {
 1157|    398|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    398|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    398|        {
 1163|    398|            TypeR temp{other.cast<TypeR>()};
 1164|    398|            other.construct<TypeL>(cast<TypeL>());
 1165|    398|            construct<TypeR>(temp);
 1166|    398|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1156|    574|        {
 1157|    574|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    574|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    574|        {
 1163|    574|            TypeR temp{other.cast<TypeR>()};
 1164|    574|            other.construct<TypeL>(cast<TypeL>());
 1165|    574|            construct<TypeR>(temp);
 1166|    574|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1156|    439|        {
 1157|    439|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    439|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    439|        {
 1163|    439|            TypeR temp{other.cast<TypeR>()};
 1164|    439|            other.construct<TypeL>(cast<TypeL>());
 1165|    439|            construct<TypeR>(temp);
 1166|    439|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1170|  5.34k|        {
 1171|  5.34k|            switch (other.storage_kind())
 1172|  5.34k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 5.34k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 5.34k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 5.34k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 5.34k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 5.34k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 5.34k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 5.34k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 5.34k]
  ------------------
 1181|    466|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 466, False: 4.87k]
  ------------------
 1182|    646|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 646, False: 4.69k]
  ------------------
 1183|  1.78k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.78k, False: 3.55k]
  ------------------
 1184|  2.44k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 2.44k, 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.34k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 5.34k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 5.34k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  5.34k|            }
 1191|  5.34k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1156|    466|        {
 1157|    466|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    466|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    466|        {
 1163|    466|            TypeR temp{other.cast<TypeR>()};
 1164|    466|            other.construct<TypeL>(cast<TypeL>());
 1165|    466|            construct<TypeR>(temp);
 1166|    466|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    646|        {
 1157|    646|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    646|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    646|        {
 1163|    646|            TypeR temp{other.cast<TypeR>()};
 1164|    646|            other.construct<TypeL>(cast<TypeL>());
 1165|    646|            construct<TypeR>(temp);
 1166|    646|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1156|  1.78k|        {
 1157|  1.78k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.78k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.78k|        {
 1163|  1.78k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.78k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.78k|            construct<TypeR>(temp);
 1166|  1.78k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1156|  2.44k|        {
 1157|  2.44k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.44k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.44k|        {
 1163|  2.44k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.44k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.44k|            construct<TypeR>(temp);
 1166|  2.44k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2614|  19.1M|        {
 2615|  19.1M|            construct<uint64_storage>(val, tag);
 2616|  19.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  995|  19.1M|        {
  996|  19.1M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  19.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  19.1M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  19.1M|                  val_(val)
  518|  19.1M|            {
  519|  19.1M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2645|  4.46M|        {
 2646|  4.46M|            construct<int64_storage>(val, tag);
 2647|  4.46M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  995|  4.46M|        {
  996|  4.46M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.46M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  496|  4.46M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  497|  4.46M|                  val_(val)
  498|  4.46M|            {
  499|  4.46M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2602|  34.2k|        {
 2603|  34.2k|            construct<double_storage>(val, tag);
 2604|  34.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  995|  34.2k|        {
  996|  34.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  34.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  555|  34.2k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  556|  34.2k|                  val_(val)
  557|  34.2k|            {
  558|  34.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2401|  3.96M|        {
 2402|  3.96M|            auto ptr = create_array(Allocator());
 2403|  3.96M|            construct<array_storage>(ptr, tag);
 2404|  3.96M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  957|  3.96M|        {
  958|  3.96M|            using stor_allocator_type = typename array_storage::allocator_type;
  959|  3.96M|            stor_allocator_type stor_alloc(alloc);
  960|  3.96M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  961|  3.96M|            JSONCONS_TRY
  ------------------
  |  |   37|  3.96M|    #define JSONCONS_TRY try
  ------------------
  962|  3.96M|            {
  963|  3.96M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  964|  3.96M|                    std::forward<Args>(args)...);
  965|  3.96M|            }
  966|  3.96M|            JSONCONS_CATCH(...)
  967|  3.96M|            {
  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.96M|            return ptr;
  972|  3.96M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  3.96M|        {
  996|  3.96M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  3.96M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  722|  3.96M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  723|  3.96M|            {
  724|  3.96M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2691|  1.28M|        {
 2692|  1.28M|            construct<null_storage>(tag);
 2693|  1.28M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  995|  1.28M|        {
  996|  1.28M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.28M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2701|  7.29M|        {
 2702|  7.29M|            construct<bool_storage>(val,tag);
 2703|  7.29M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  995|  7.29M|        {
  996|  7.29M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  7.29M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|  7.29M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|  7.29M|                  val_(val)
  477|  7.29M|            {
  478|  7.29M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2549|  1.73M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2550|  1.73M|        {
 2551|  1.73M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2579|  1.73M|        {
 2580|  1.73M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2580:17): [True: 1.72M, False: 12.2k]
  ------------------
 2581|  1.72M|            {
 2582|  1.72M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2583|  1.72M|            }
 2584|  12.2k|            else
 2585|  12.2k|            {
 2586|  12.2k|                auto ptr = create_long_string(alloc, s, length);
 2587|  12.2k|                construct<long_string_storage>(ptr, tag);
 2588|  12.2k|            }
 2589|  1.73M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  995|  1.72M|        {
  996|  1.72M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.72M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  1.72M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  1.72M|            {
  579|  1.72M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   49|  1.72M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 1.72M]
  |  |  ------------------
  |  |   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.72M|                std::memcpy(data_,p,length*sizeof(char_type));
  581|  1.72M|                data_[length] = 0;
  582|  1.72M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  943|  12.2k|        {
  944|  12.2k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  945|  12.2k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  946|  12.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|  12.2k|        {
  996|  12.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  12.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  621|  12.2k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  622|  12.2k|            {
  623|  12.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2711|    790|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2712|    790|        {
 2713|    790|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2719|   187k|        {
 2720|   187k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2721|       |            
 2722|   187k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2723|   187k|            construct<byte_string_storage>(ptr, tag);
 2724|   187k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  950|  1.14M|        {
  951|  1.14M|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  952|  1.14M|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  953|  1.14M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|   187k|        {
  996|   187k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   187k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  670|  1.14M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  671|  1.14M|            {
  672|  1.14M|            }
_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|   958k|        {
 2743|   958k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2744|       |
 2745|   958k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2746|   958k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2747|   958k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  995|   958k|        {
  996|   958k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   958k|        }
_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|  12.2k|    {
  244|  12.2k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  245|  12.2k|        return std::launder(reinterpret_cast<T>(u));
  246|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  247|       |        return __builtin_launder(reinterpret_cast<T>(u));
  248|       |    #else
  249|       |        return reinterpret_cast<T>(u);
  250|       |    #endif
  251|  12.2k|    }
_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEET_PT0_:
  243|  1.14M|    {
  244|  1.14M|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  245|  1.14M|        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|  1.14M|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  243|  12.2k|    {
  244|  12.2k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  245|  12.2k|        return std::launder(reinterpret_cast<T>(u));
  246|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  247|       |        return __builtin_launder(reinterpret_cast<T>(u));
  248|       |    #else
  249|       |        return reinterpret_cast<T>(u);
  250|       |    #endif
  251|  12.2k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  243|  1.14M|    {
  244|  1.14M|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  245|  1.14M|        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|  1.14M|    }

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

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

_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|  2.59M|            : data_(data), size_(size)
   62|  2.59M|        {
   63|  2.59M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|  7.05M|        {
  112|  7.05M|            return data_;
  113|  7.05M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|  10.8M|        {
  117|  10.8M|            return size_;
  118|  10.8M|        }
_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2Ev:
   58|  2.35M|        {
   59|  2.35M|        }

_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  855|  7.06k|            : destination_(std::addressof(visitor)), 
  856|  7.06k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  857|  7.06k|        {
  858|  7.06k|            level_stack_.emplace_back(json_target_kind::destination,json_structure_kind::root); // root
  859|  7.06k|        }
_ZN8jsoncons21basic_generic_visitorIcEC2Ev:
   52|  7.06k|    basic_generic_visitor() = default;
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  294|  6.17M|    {
  295|  6.17M|        visit_begin_array(length, tag, context, ec);
  296|  6.17M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.17M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  297|  6.17M|    }
_ZN8jsoncons21basic_generic_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  363|  40.0M|    {
  364|  40.0M|        visit_uint64(value, tag, context, ec);
  365|  40.0M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  40.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  40.0M|    }
_ZN8jsoncons21basic_generic_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  300|  6.14M|    {
  301|  6.14M|        visit_end_array(context, ec);
  302|  6.14M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.14M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  6.14M|    }
_ZN8jsoncons21basic_generic_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  372|  8.13M|    {
  373|  8.13M|        visit_int64(value, tag, context, ec);
  374|  8.13M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.13M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  375|  8.13M|    }
_ZN8jsoncons21basic_generic_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  390|   103k|    {
  391|   103k|        visit_double(value, tag, context, ec);
  392|   103k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   103k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  393|   103k|    }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structureC2ENS4_16json_target_kindENS4_19json_structure_kindE:
  798|  8.53M|                : target_kind_(state), structure_kind_(type), even_odd_(type == json_structure_kind::object ? 0 : 1)
  ------------------
  |  Branch (798:73): [True: 2.35M, False: 6.18M]
  ------------------
  799|  8.53M|            {
  800|  8.53M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1008|  6.17M|        {
 1009|  6.17M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1009:17): [True: 844k, False: 5.33M]
  ------------------
 1010|   844k|            {
 1011|   844k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1011:21): [True: 495k, False: 348k]
  |  Branch (1011:86): [True: 492k, False: 3.12k]
  ------------------
 1012|   492k|                {
 1013|   492k|                    key_buffer_.push_back(',');
 1014|   492k|                }
 1015|   844k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1016|   844k|                key_buffer_.push_back('[');
 1017|   844k|            }
 1018|  5.33M|            else
 1019|  5.33M|            {
 1020|  5.33M|                switch (level_stack_.back().target_kind())
 1021|  5.33M|                {
 1022|  1.36M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1022:21): [True: 1.36M, False: 3.96M]
  ------------------
 1023|  1.36M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1023:29): [True: 863k, False: 497k]
  |  Branch (1023:65): [True: 837k, False: 26.0k]
  ------------------
 1024|   837k|                        {
 1025|   837k|                            key_buffer_.push_back(',');
 1026|   837k|                        }
 1027|  1.36M|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1028|  1.36M|                        key_buffer_.push_back('[');
 1029|  1.36M|                        break;
 1030|  3.96M|                    default:
  ------------------
  |  Branch (1030:21): [True: 3.96M, False: 1.36M]
  ------------------
 1031|  3.96M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1032|  3.96M|                        destination_->begin_array(length, tag, context, ec);
 1033|  3.96M|                        break;
 1034|  5.33M|                }
 1035|  5.33M|            }
 1036|  6.17M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.17M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1037|  6.17M|        }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure6is_keyEv:
  815|   259M|            {
  816|   259M|                return even_odd_ == 0;
  817|   259M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure11target_kindEv:
  825|   168M|            {
  826|   168M|                return target_kind_;
  827|   168M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure5countEv:
  830|  36.1M|            {
  831|  36.1M|                return count_;
  832|  36.1M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure9is_objectEv:
  820|   125M|            {
  821|   125M|                return structure_kind_ == json_structure_kind::object;
  822|   125M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1040|  6.14M|        {
 1041|  6.14M|            switch (level_stack_.back().target_kind())
 1042|  6.14M|            {
 1043|  2.19M|                case json_target_kind::buffer:
  ------------------
  |  Branch (1043:17): [True: 2.19M, False: 3.94M]
  ------------------
 1044|  2.19M|                    key_buffer_.push_back(']');
 1045|  2.19M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  2.19M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.19M]
  |  |  ------------------
  |  |   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|  2.19M|                    level_stack_.pop_back();
 1047|  2.19M|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (1047:25): [True: 347k, False: 1.85M]
  ------------------
 1048|   347k|                    {
 1049|   347k|                        destination_->key(key_buffer_, context, ec);
 1050|   347k|                        key_buffer_.clear();
 1051|   347k|                    }
 1052|  1.85M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1052:30): [True: 494k, False: 1.35M]
  ------------------
 1053|   494k|                    {
 1054|   494k|                        key_buffer_.push_back(':');
 1055|   494k|                    }
 1056|  2.19M|                    level_stack_.back().advance();
 1057|  2.19M|                    break;
 1058|  3.94M|                default:
  ------------------
  |  Branch (1058:17): [True: 3.94M, False: 2.19M]
  ------------------
 1059|  3.94M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  3.94M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.94M]
  |  |  ------------------
  |  |   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.94M|                    level_stack_.pop_back();
 1061|  3.94M|                    level_stack_.back().advance();
 1062|  3.94M|                    destination_->end_array(context, ec);
 1063|  3.94M|                    break;
 1064|  6.14M|            }
 1065|  6.14M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.14M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1066|  6.14M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure7advanceEv:
  803|  89.4M|            {
  804|  89.4M|                if (!is_key())
  ------------------
  |  Branch (804:21): [True: 77.0M, False: 12.3M]
  ------------------
  805|  77.0M|                {
  806|  77.0M|                    ++count_;
  807|  77.0M|                }
  808|  89.4M|                if (is_object())
  ------------------
  |  Branch (808:21): [True: 24.6M, False: 64.7M]
  ------------------
  809|  24.6M|                {
  810|  24.6M|                    even_odd_ = !even_odd_;
  811|  24.6M|                }
  812|  89.4M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1233|  40.0M|        {
 1234|  40.0M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1234:17): [True: 9.07M, False: 31.0M]
  |  Branch (1234:49): [True: 11.9M, False: 19.1M]
  ------------------
 1235|  20.9M|            {
 1236|  20.9M|                key_.clear();
 1237|  20.9M|                jsoncons::from_integer(value,key_);
 1238|  20.9M|            }
 1239|       |
 1240|  40.0M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1240:17): [True: 9.07M, False: 31.0M]
  ------------------
 1241|  9.07M|            {
 1242|  9.07M|                switch (level_stack_.back().target_kind())
 1243|  9.07M|                {
 1244|  4.77M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1244:21): [True: 4.77M, False: 4.29M]
  ------------------
 1245|  4.77M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1245:29): [True: 4.75M, False: 20.4k]
  ------------------
 1246|  4.75M|                        {
 1247|  4.75M|                            key_buffer_.push_back(',');
 1248|  4.75M|                        }
 1249|  4.77M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1250|  4.77M|                        key_buffer_.push_back(':');
 1251|  4.77M|                        break;
 1252|  4.29M|                    default:
  ------------------
  |  Branch (1252:21): [True: 4.29M, False: 4.77M]
  ------------------
 1253|  4.29M|                        destination_->key(key_, context, ec);
 1254|  4.29M|                        break;
 1255|  9.07M|                }
 1256|  9.07M|            }
 1257|  31.0M|            else
 1258|  31.0M|            {
 1259|  31.0M|                switch (level_stack_.back().target_kind())
 1260|  31.0M|                {
 1261|  11.9M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1261:21): [True: 11.9M, False: 19.1M]
  ------------------
 1262|  11.9M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1262:29): [True: 7.13M, False: 4.76M]
  |  Branch (1262:65): [True: 7.12M, False: 14.8k]
  ------------------
 1263|  7.12M|                        {
 1264|  7.12M|                            key_buffer_.push_back(',');
 1265|  7.12M|                        }
 1266|  11.9M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1267|  11.9M|                        break;
 1268|  19.1M|                    default:
  ------------------
  |  Branch (1268:21): [True: 19.1M, False: 11.9M]
  ------------------
 1269|  19.1M|                        destination_->uint64_value(value, tag, context, ec);
 1270|  19.1M|                        break;
 1271|  31.0M|                }
 1272|  31.0M|            }
 1273|       |
 1274|  40.0M|            level_stack_.back().advance();
 1275|  40.0M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  40.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1276|  40.0M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1279|  8.13M|        {
 1280|  8.13M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1280:17): [True: 537k, False: 7.59M]
  |  Branch (1280:49): [True: 3.12M, False: 4.46M]
  ------------------
 1281|  3.66M|            {
 1282|  3.66M|                key_.clear();
 1283|  3.66M|                jsoncons::from_integer(value,key_);
 1284|  3.66M|            }
 1285|       |
 1286|  8.13M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1286:17): [True: 537k, False: 7.59M]
  ------------------
 1287|   537k|            {
 1288|   537k|                switch (level_stack_.back().target_kind())
 1289|   537k|                {
 1290|   278k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1290:21): [True: 278k, False: 258k]
  ------------------
 1291|   278k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1291:29): [True: 269k, False: 9.37k]
  ------------------
 1292|   269k|                        {
 1293|   269k|                            key_buffer_.push_back(',');
 1294|   269k|                        }
 1295|   278k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1296|   278k|                        key_buffer_.push_back(':');
 1297|   278k|                        break;
 1298|   258k|                    default:
  ------------------
  |  Branch (1298:21): [True: 258k, False: 278k]
  ------------------
 1299|   258k|                        destination_->key(key_, context, ec);
 1300|   258k|                        break;
 1301|   537k|                }
 1302|   537k|            }
 1303|  7.59M|            else
 1304|  7.59M|            {
 1305|  7.59M|                switch (level_stack_.back().target_kind())
 1306|  7.59M|                {
 1307|  3.12M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1307:21): [True: 3.12M, False: 4.46M]
  ------------------
 1308|  3.12M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1308:29): [True: 2.85M, False: 279k]
  |  Branch (1308:65): [True: 2.84M, False: 1.96k]
  ------------------
 1309|  2.84M|                        {
 1310|  2.84M|                            key_buffer_.push_back(',');
 1311|  2.84M|                        }
 1312|  3.12M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1313|  3.12M|                        break;
 1314|  4.46M|                    default:
  ------------------
  |  Branch (1314:21): [True: 4.46M, False: 3.12M]
  ------------------
 1315|  4.46M|                        destination_->int64_value(value, tag, context, ec);
 1316|  4.46M|                        break;
 1317|  7.59M|                }
 1318|  7.59M|            }
 1319|       |
 1320|  8.13M|            level_stack_.back().advance();
 1321|  8.13M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.13M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1322|  8.13M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1374|   103k|        {
 1375|   103k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1375:17): [True: 27.3k, False: 76.4k]
  |  Branch (1375:49): [True: 42.1k, False: 34.2k]
  ------------------
 1376|  69.5k|            {
 1377|  69.5k|                key_.clear();
 1378|  69.5k|                string_sink<string_type> sink(key_);
 1379|  69.5k|                jsoncons::write_double f{float_chars_format::general,0};
 1380|  69.5k|                f(value, sink);
 1381|  69.5k|            }
 1382|       |
 1383|   103k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1383:17): [True: 27.3k, False: 76.4k]
  ------------------
 1384|  27.3k|            {
 1385|  27.3k|                switch (level_stack_.back().target_kind())
 1386|  27.3k|                {
 1387|  17.4k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1387:21): [True: 17.4k, False: 9.91k]
  ------------------
 1388|  17.4k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1388:29): [True: 11.5k, False: 5.94k]
  ------------------
 1389|  11.5k|                        {
 1390|  11.5k|                            key_buffer_.push_back(',');
 1391|  11.5k|                        }
 1392|  17.4k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1393|  17.4k|                        key_buffer_.push_back(':');
 1394|  17.4k|                        break;
 1395|  9.91k|                    default:
  ------------------
  |  Branch (1395:21): [True: 9.91k, False: 17.4k]
  ------------------
 1396|  9.91k|                        destination_->key(key_, context, ec);
 1397|  9.91k|                        break;
 1398|  27.3k|                }
 1399|  27.3k|            }
 1400|  76.4k|            else
 1401|  76.4k|            {
 1402|  76.4k|                switch (level_stack_.back().target_kind())
 1403|  76.4k|                {
 1404|  42.1k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1404:21): [True: 42.1k, False: 34.2k]
  ------------------
 1405|  42.1k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1405:29): [True: 28.7k, False: 13.4k]
  |  Branch (1405:65): [True: 27.0k, False: 1.66k]
  ------------------
 1406|  27.0k|                        {
 1407|  27.0k|                            key_buffer_.push_back(',');
 1408|  27.0k|                        }
 1409|  42.1k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1410|  42.1k|                        break;
 1411|  34.2k|                    default:
  ------------------
  |  Branch (1411:21): [True: 34.2k, False: 42.1k]
  ------------------
 1412|  34.2k|                        destination_->double_value(value, tag, context, ec);
 1413|  34.2k|                        break;
 1414|  76.4k|                }
 1415|  76.4k|            }
 1416|       |
 1417|   103k|            level_stack_.back().advance();
 1418|   103k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   103k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1419|   103k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  881|  2.35k|        {
  882|  2.35k|            destination_->flush();
  883|  2.35k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  914|  2.35M|        {
  915|  2.35M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (915:17): [True: 158k, False: 2.19M]
  ------------------
  916|   158k|            {
  917|   158k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (917:21): [True: 28.8k, False: 129k]
  |  Branch (917:86): [True: 14.3k, False: 14.4k]
  ------------------
  918|  14.3k|                {
  919|  14.3k|                    key_buffer_.push_back(',');
  920|  14.3k|                }
  921|   158k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  922|   158k|                key_buffer_.push_back('{');
  923|   158k|            }
  924|  2.19M|            else
  925|  2.19M|            {
  926|  2.19M|                switch (level_stack_.back().target_kind())
  927|  2.19M|                {
  928|   220k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (928:21): [True: 220k, False: 1.97M]
  ------------------
  929|   220k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (929:29): [True: 182k, False: 37.9k]
  |  Branch (929:65): [True: 178k, False: 3.21k]
  ------------------
  930|   178k|                        {
  931|   178k|                            key_buffer_.push_back(',');
  932|   178k|                        }
  933|   220k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  934|   220k|                        key_buffer_.push_back('{');
  935|   220k|                        break;
  936|  1.97M|                    default:
  ------------------
  |  Branch (936:21): [True: 1.97M, False: 220k]
  ------------------
  937|  1.97M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  938|  1.97M|                        destination_->begin_object(length, tag, context, ec);
  939|  1.97M|                        break;
  940|  2.19M|                }
  941|  2.19M|            }
  942|  2.35M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.35M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  943|  2.35M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  946|  2.33M|        {
  947|  2.33M|            switch (level_stack_.back().target_kind())
  948|  2.33M|            {
  949|   366k|                case json_target_kind::buffer:
  ------------------
  |  Branch (949:17): [True: 366k, False: 1.96M]
  ------------------
  950|   366k|                    key_buffer_.push_back('}');
  951|   366k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|   366k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 366k]
  |  |  ------------------
  |  |   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|   366k|                    level_stack_.pop_back();
  953|       |                    
  954|   366k|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (954:25): [True: 129k, False: 237k]
  ------------------
  955|   129k|                    {
  956|   129k|                        destination_->key(key_buffer_,context, ec);
  957|   129k|                        key_buffer_.clear();
  958|   129k|                    }
  959|   237k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (959:30): [True: 23.7k, False: 213k]
  ------------------
  960|  23.7k|                    {
  961|  23.7k|                        key_buffer_.push_back(':');
  962|  23.7k|                    }
  963|   366k|                    level_stack_.back().advance();
  964|   366k|                    break;
  965|  1.96M|                default:
  ------------------
  |  Branch (965:17): [True: 1.96M, False: 366k]
  ------------------
  966|  1.96M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  1.96M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 1.96M]
  |  |  ------------------
  |  |   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.96M|                    level_stack_.pop_back();
  968|  1.96M|                    level_stack_.back().advance();
  969|  1.96M|                    destination_->end_object(context, ec);
  970|  1.96M|                    break;
  971|  2.33M|            }
  972|  2.33M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.33M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  973|  2.33M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1475|  2.04M|        {
 1476|  2.04M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1476:17): [True: 317k, False: 1.72M]
  |  Branch (1476:49): [True: 441k, False: 1.28M]
  ------------------
 1477|   758k|            {
 1478|   758k|                key_.clear(); 
 1479|   758k|                key_.insert(key_.begin(), json_literals<char_type>::null_literal.begin(), json_literals<char_type>::null_literal.end());
 1480|   758k|            }
 1481|       |
 1482|  2.04M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1482:17): [True: 317k, False: 1.72M]
  ------------------
 1483|   317k|            {
 1484|   317k|                switch (level_stack_.back().target_kind())
 1485|   317k|                {
 1486|   154k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1486:21): [True: 154k, False: 162k]
  ------------------
 1487|   154k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1487:29): [True: 154k, False: 842]
  ------------------
 1488|   154k|                        {
 1489|   154k|                            key_buffer_.push_back(',');
 1490|   154k|                        }
 1491|   154k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1492|   154k|                        key_buffer_.push_back(':');
 1493|   154k|                        break;
 1494|   162k|                    default:
  ------------------
  |  Branch (1494:21): [True: 162k, False: 154k]
  ------------------
 1495|   162k|                        destination_->key(key_, context, ec);
 1496|   162k|                        break;
 1497|   317k|                }
 1498|   317k|            }
 1499|  1.72M|            else
 1500|  1.72M|            {
 1501|  1.72M|                switch (level_stack_.back().target_kind())
 1502|  1.72M|                {
 1503|   441k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1503:21): [True: 441k, False: 1.28M]
  ------------------
 1504|   441k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1504:29): [True: 285k, False: 155k]
  |  Branch (1504:65): [True: 285k, False: 700]
  ------------------
 1505|   285k|                        {
 1506|   285k|                            key_buffer_.push_back(',');
 1507|   285k|                        }
 1508|   441k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1509|   441k|                        break;
 1510|  1.28M|                    default:
  ------------------
  |  Branch (1510:21): [True: 1.28M, False: 441k]
  ------------------
 1511|  1.28M|                        destination_->null_value(tag, context, ec);
 1512|  1.28M|                        break;
 1513|  1.72M|                }
 1514|  1.72M|            }
 1515|       |
 1516|  2.04M|            level_stack_.back().advance();
 1517|  2.04M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.04M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1518|  2.04M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1422|  26.7M|        {
 1423|  26.7M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1423:17): [True: 955k, False: 25.7M]
  |  Branch (1423:49): [True: 18.4M, False: 7.29M]
  ------------------
 1424|  19.4M|            {
 1425|  19.4M|                key_.clear(); 
 1426|  19.4M|                if (value)
  ------------------
  |  Branch (1426:21): [True: 71.4k, False: 19.3M]
  ------------------
 1427|  71.4k|                {
 1428|  71.4k|                    key_.insert(key_.begin(), json_literals<char_type>::true_literal.begin(), json_literals<char_type>::true_literal.end());
 1429|  71.4k|                }
 1430|  19.3M|                else
 1431|  19.3M|                {
 1432|  19.3M|                    key_.insert(key_.begin(), json_literals<char_type>::false_literal.begin(), json_literals<char_type>::false_literal.end());
 1433|  19.3M|                }
 1434|  19.4M|            }
 1435|       |
 1436|  26.7M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1436:17): [True: 955k, False: 25.7M]
  ------------------
 1437|   955k|            {
 1438|   955k|                switch (level_stack_.back().target_kind())
 1439|   955k|                {
 1440|   563k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1440:21): [True: 563k, False: 391k]
  ------------------
 1441|   563k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1441:29): [True: 555k, False: 8.53k]
  ------------------
 1442|   555k|                        {
 1443|   555k|                            key_buffer_.push_back(',');
 1444|   555k|                        }
 1445|   563k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1446|   563k|                        key_buffer_.push_back(':');
 1447|   563k|                        break;
 1448|   391k|                    default:
  ------------------
  |  Branch (1448:21): [True: 391k, False: 563k]
  ------------------
 1449|   391k|                        destination_->key(key_, context, ec);
 1450|   391k|                        break;
 1451|   955k|                }
 1452|   955k|            }
 1453|  25.7M|            else
 1454|  25.7M|            {
 1455|  25.7M|                switch (level_stack_.back().target_kind())
 1456|  25.7M|                {
 1457|  18.4M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1457:21): [True: 18.4M, False: 7.29M]
  ------------------
 1458|  18.4M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1458:29): [True: 17.9M, False: 567k]
  |  Branch (1458:65): [True: 17.9M, False: 2.73k]
  ------------------
 1459|  17.9M|                        {
 1460|  17.9M|                            key_buffer_.push_back(',');
 1461|  17.9M|                        }
 1462|  18.4M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1463|  18.4M|                        break;
 1464|  7.29M|                    default:
  ------------------
  |  Branch (1464:21): [True: 7.29M, False: 18.4M]
  ------------------
 1465|  7.29M|                        destination_->bool_value(value, tag, context, ec);
 1466|  7.29M|                        break;
 1467|  25.7M|                }
 1468|  25.7M|            }
 1469|       |
 1470|  26.7M|            level_stack_.back().advance();
 1471|  26.7M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  26.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1472|  26.7M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1072|  2.15M|        {
 1073|  2.15M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1073:17): [True: 188k, False: 1.96M]
  ------------------
 1074|   188k|            {
 1075|   188k|                switch (level_stack_.back().target_kind())
 1076|   188k|                {
 1077|  87.3k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1077:21): [True: 87.3k, False: 101k]
  ------------------
 1078|  87.3k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1078:29): [True: 85.2k, False: 2.12k]
  ------------------
 1079|  85.2k|                        {
 1080|  85.2k|                            key_buffer_.push_back(',');
 1081|  85.2k|                        }
 1082|  87.3k|                        key_buffer_.push_back('\"');
 1083|  87.3k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1084|  87.3k|                        key_buffer_.push_back('\"');
 1085|  87.3k|                        key_buffer_.push_back(':');
 1086|  87.3k|                        break;
 1087|   101k|                    default:
  ------------------
  |  Branch (1087:21): [True: 101k, False: 87.3k]
  ------------------
 1088|   101k|                        destination_->key(value, context, ec);
 1089|   101k|                        break;
 1090|   188k|                }
 1091|   188k|            }
 1092|  1.96M|            else
 1093|  1.96M|            {
 1094|  1.96M|                switch (level_stack_.back().target_kind())
 1095|  1.96M|                {
 1096|   228k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1096:21): [True: 228k, False: 1.73M]
  ------------------
 1097|   228k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1097:29): [True: 148k, False: 79.7k]
  |  Branch (1097:65): [True: 147k, False: 970]
  ------------------
 1098|   147k|                        {
 1099|   147k|                            key_buffer_.push_back(',');
 1100|   147k|                        }
 1101|   228k|                        key_buffer_.push_back('\"');
 1102|   228k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1103|   228k|                        key_buffer_.push_back('\"');
 1104|   228k|                        break;
 1105|  1.73M|                    default:
  ------------------
  |  Branch (1105:21): [True: 1.73M, False: 228k]
  ------------------
 1106|  1.73M|                        destination_->string_value(value, tag, context, ec);
 1107|  1.73M|                        break;
 1108|  1.96M|                }
 1109|  1.96M|            }
 1110|       |
 1111|  2.15M|            level_stack_.back().advance();
 1112|  2.15M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.15M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1113|  2.15M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1119|   259k|        {
 1120|   259k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1120:17): [True: 47.9k, False: 211k]
  |  Branch (1120:49): [True: 23.5k, False: 187k]
  ------------------
 1121|  71.5k|            {
 1122|  71.5k|                key_.clear();
 1123|  71.5k|                switch (tag)
 1124|  71.5k|                {
 1125|      0|                    case semantic_tag::base64:
  ------------------
  |  Branch (1125:21): [True: 0, False: 71.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: 71.5k]
  ------------------
 1129|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1130|      0|                        break;
 1131|  71.5k|                    default:
  ------------------
  |  Branch (1131:21): [True: 71.5k, False: 0]
  ------------------
 1132|  71.5k|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1133|  71.5k|                        break;
 1134|  71.5k|                }
 1135|  71.5k|            }
 1136|       |
 1137|   259k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1137:17): [True: 47.9k, False: 211k]
  ------------------
 1138|  47.9k|            {
 1139|  47.9k|                switch (level_stack_.back().target_kind())
 1140|  47.9k|                {
 1141|  7.57k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1141:21): [True: 7.57k, False: 40.3k]
  ------------------
 1142|  7.57k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1142:29): [True: 5.91k, False: 1.66k]
  ------------------
 1143|  5.91k|                        {
 1144|  5.91k|                            key_buffer_.push_back(',');
 1145|  5.91k|                        }
 1146|  7.57k|                        key_buffer_.push_back('\"');
 1147|  7.57k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1148|  7.57k|                        key_buffer_.push_back('\"');
 1149|  7.57k|                        key_buffer_.push_back(':');
 1150|  7.57k|                        break;
 1151|  40.3k|                    default:
  ------------------
  |  Branch (1151:21): [True: 40.3k, False: 7.57k]
  ------------------
 1152|  40.3k|                        destination_->key(key_, context, ec);
 1153|  40.3k|                        break;
 1154|  47.9k|                }
 1155|  47.9k|            }
 1156|   211k|            else
 1157|   211k|            {
 1158|   211k|                switch (level_stack_.back().target_kind())
 1159|   211k|                {
 1160|  23.5k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1160:21): [True: 23.5k, False: 187k]
  ------------------
 1161|  23.5k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1161:29): [True: 15.7k, False: 7.87k]
  |  Branch (1161:65): [True: 14.5k, False: 1.18k]
  ------------------
 1162|  14.5k|                        {
 1163|  14.5k|                            key_buffer_.push_back(',');
 1164|  14.5k|                        }
 1165|  23.5k|                        key_buffer_.push_back('\"');
 1166|  23.5k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1167|  23.5k|                        key_buffer_.push_back('\"');
 1168|  23.5k|                        break;
 1169|   187k|                    default:
  ------------------
  |  Branch (1169:21): [True: 187k, False: 23.5k]
  ------------------
 1170|   187k|                        destination_->byte_string_value(value, tag, context, ec);
 1171|   187k|                        break;
 1172|   211k|                }
 1173|   211k|            }
 1174|       |
 1175|   259k|            level_stack_.back().advance();
 1176|   259k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   259k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1177|   259k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1183|  1.44M|        {
 1184|  1.44M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1184:17): [True: 201k, False: 1.24M]
  |  Branch (1184:49): [True: 283k, False: 958k]
  ------------------
 1185|   485k|            {
 1186|   485k|                key_.clear();
 1187|   485k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1188|   485k|            }
 1189|       |
 1190|  1.44M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1190:17): [True: 201k, False: 1.24M]
  ------------------
 1191|   201k|            {
 1192|   201k|                switch (level_stack_.back().target_kind())
 1193|   201k|                {
 1194|  49.8k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1194:21): [True: 49.8k, False: 151k]
  ------------------
 1195|  49.8k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1195:29): [True: 48.4k, False: 1.37k]
  ------------------
 1196|  48.4k|                        {
 1197|  48.4k|                            key_buffer_.push_back(',');
 1198|  48.4k|                        }
 1199|  49.8k|                        key_buffer_.push_back('\"');
 1200|  49.8k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1201|  49.8k|                        key_buffer_.push_back('\"');
 1202|  49.8k|                        key_buffer_.push_back(':');
 1203|  49.8k|                        break;
 1204|   151k|                    default:
  ------------------
  |  Branch (1204:21): [True: 151k, False: 49.8k]
  ------------------
 1205|   151k|                        destination_->key(key_, context, ec);
 1206|   151k|                        break;
 1207|   201k|                }
 1208|   201k|            }
 1209|  1.24M|            else
 1210|  1.24M|            {
 1211|  1.24M|                switch (level_stack_.back().target_kind())
 1212|  1.24M|                {
 1213|   283k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1213:21): [True: 283k, False: 958k]
  ------------------
 1214|   283k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1214:29): [True: 234k, False: 49.3k]
  |  Branch (1214:65): [True: 233k, False: 877]
  ------------------
 1215|   233k|                        {
 1216|   233k|                            key_buffer_.push_back(',');
 1217|   233k|                        }
 1218|   283k|                        key_buffer_.push_back('\"');
 1219|   283k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1220|   283k|                        key_buffer_.push_back('\"');
 1221|   283k|                        break;
 1222|   958k|                    default:
  ------------------
  |  Branch (1222:21): [True: 958k, False: 283k]
  ------------------
 1223|   958k|                        destination_->byte_string_value(value, raw_tag, context, ec);
 1224|   958k|                        break;
 1225|  1.24M|                }
 1226|  1.24M|            }
 1227|       |
 1228|  1.44M|            level_stack_.back().advance();
 1229|  1.44M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.44M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1230|  1.44M|        }
_ZN8jsoncons21basic_generic_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  276|  2.35M|    {
  277|  2.35M|        visit_begin_object(length, tag, context, ec);
  278|  2.35M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.35M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  279|  2.35M|    }
_ZN8jsoncons21basic_generic_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  332|  2.15M|    {
  333|  2.15M|        visit_string(value, tag, context, ec);
  334|  2.15M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.15M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  335|  2.15M|    }
_ZN8jsoncons21basic_generic_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  314|  2.04M|    {
  315|  2.04M|        visit_null(tag, context, ec);
  316|  2.04M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.04M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  317|  2.04M|    }
_ZN8jsoncons21basic_generic_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  323|  26.7M|    {
  324|  26.7M|        visit_bool(value, tag, context, ec);
  325|  26.7M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  26.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  26.7M|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  343|   259k|    {
  344|   259k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  345|   259k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   259k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  346|   259k|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  354|  1.44M|    {
  355|  1.44M|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  356|  1.44M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.44M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  357|  1.44M|    }
_ZN8jsoncons21basic_generic_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  282|  2.33M|    {
  283|  2.33M|        visit_end_object(context, ec);
  284|  2.33M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.33M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  285|  2.33M|    }
_ZN8jsoncons21basic_generic_visitorIcE5flushEv:
   57|  2.35k|    {
   58|  2.35k|        visit_flush();
   59|  2.35k|    }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  3.98M|        {
  106|  3.98M|            flatten_and_destroy();
  107|  3.98M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  3.98M|        {
  249|  5.73M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 1.75M, False: 3.98M]
  ------------------
  250|  1.75M|            {
  251|  1.75M|                value_type current = std::move(data_.back());
  252|  1.75M|                data_.pop_back();
  253|  1.75M|                switch (current.storage_kind())
  254|  1.75M|                {
  255|   394k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 394k, False: 1.35M]
  ------------------
  256|   394k|                    {
  257|   394k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 1.38M, False: 394k]
  ------------------
  258|  1.38M|                        {
  259|  1.38M|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 24.8k, False: 1.35M]
  |  Branch (259:85): [True: 8.70k, False: 1.35M]
  ------------------
  260|  33.5k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 22.5k, False: 11.0k]
  ------------------
  261|  22.5k|                            {
  262|  22.5k|                                data_.push_back(std::move(item));
  263|  22.5k|                            }
  264|  1.38M|                        }
  265|   394k|                        current.clear();                           
  266|   394k|                        break;
  267|      0|                    }
  268|  51.5k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 51.5k, False: 1.69M]
  ------------------
  269|  51.5k|                    {
  270|  51.5k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 84.8k, False: 51.5k]
  ------------------
  271|  84.8k|                        {
  272|  84.8k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 7.18k, False: 77.6k]
  |  Branch (272:91): [True: 19.7k, False: 57.9k]
  ------------------
  273|  26.9k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 22.2k, False: 4.66k]
  ------------------
  274|  22.2k|                            {
  275|  22.2k|                                data_.push_back(std::move(kv.value()));
  276|  22.2k|                            }
  277|  84.8k|                        }
  278|  51.5k|                        current.clear();                           
  279|  51.5k|                        break;
  280|      0|                    }
  281|  1.30M|                    default:
  ------------------
  |  Branch (281:21): [True: 1.30M, False: 445k]
  ------------------
  282|  1.30M|                        break;
  283|  1.75M|                }
  284|  1.75M|            }
  285|  3.98M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|   394k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|   394k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  40.3k|        {
  126|  40.3k|            return data_.empty();
  127|  40.3k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|   394k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  17.9k|            : allocator_holder<allocator_type>(alloc), 
   50|  17.9k|              data_(value_allocator_type(alloc))
   51|  17.9k|        {
   52|  17.9k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  7.56k|        {
  218|  7.56k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  7.56k|            return data_.back();
  220|  7.56k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  32.2k|        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|  3.08M|        {
  179|  3.08M|            data_.emplace_back(std::forward<T>(value));
  180|  3.08M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  3.96M|        json_array() = default;

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  7.06k|        : alloc_(alloc),
   75|  7.06k|          result_(),
   76|  7.06k|          name_(alloc),
   77|  7.06k|          item_stack_(alloc),
   78|  7.06k|          structure_stack_(temp_alloc)
   79|  7.06k|    {
   80|       |        //item_stack_.reserve(1000);
   81|       |        //structure_stack_.reserve(100);
   82|  7.06k|        structure_stack_.emplace_back(json_structure_kind::root_kind, 0);
   83|  7.06k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14json_structureC2ENS7_19json_structure_kindEm:
   51|  5.95M|            : structure_kind(type), structure_index(offset)
   52|  5.95M|        {
   53|  5.95M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  186|  3.94M|    {
  187|  3.94M|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   49|  3.94M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.94M]
  |  |  ------------------
  |  |   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.94M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::array_kind);
  ------------------
  |  |   49|  3.94M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.94M]
  |  |  ------------------
  |  |   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.94M|        const size_t structure_index = structure_stack_.back().structure_index;
  190|  3.94M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   49|  3.94M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.94M]
  |  |  ------------------
  |  |   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.94M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  193|  3.94M|        auto& arr = item_stack_[structure_index].value;
  194|  3.94M|        const size_t size = item_stack_.size() - (structure_index + 1);
  195|       |
  196|  3.94M|        if (size > 0)
  ------------------
  |  Branch (196:13): [True: 32.2k, False: 3.91M]
  ------------------
  197|  32.2k|        {
  198|  32.2k|            arr.reserve(size);
  199|  32.2k|            auto first = item_stack_.begin() + (structure_index+1);
  200|  32.2k|            auto last = first + size;
  201|  3.11M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (201:35): [True: 3.08M, False: 32.2k]
  ------------------
  202|  3.08M|            {
  203|  3.08M|                arr.push_back(std::move((*it).value));
  204|  3.08M|            }
  205|  32.2k|            item_stack_.erase(first, item_stack_.end());
  206|  32.2k|        }
  207|       |
  208|  3.94M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (208:13): [True: 244, False: 3.94M]
  ------------------
  209|    244|        {
  210|    244|            result_ = std::move(item_stack_.front().value);
  211|    244|            item_stack_.pop_back();
  212|    244|            is_valid_ = true;
  213|    244|        }
  214|       |
  215|  3.94M|        structure_stack_.pop_back();
  216|  3.94M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.94M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  3.94M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  311|  19.1M|    {
  312|  19.1M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (312:17): [True: 19.1M, False: 0]
  ------------------
  313|  19.1M|        {
  314|  4.26M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (314:13): [True: 4.26M, False: 14.8M]
  ------------------
  315|  4.26M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  316|  4.26M|                break;
  317|  14.8M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (317:13): [True: 14.8M, False: 4.26M]
  ------------------
  318|  14.8M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  319|  14.8M|                break;
  320|      9|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (320:13): [True: 9, False: 19.1M]
  ------------------
  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.1M|        }
  325|  19.1M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  19.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  19.1M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  290|  4.46M|    {
  291|  4.46M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (291:17): [True: 4.46M, False: 0]
  ------------------
  292|  4.46M|        {
  293|   246k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (293:13): [True: 246k, False: 4.21M]
  ------------------
  294|   246k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  295|   246k|                break;
  296|  4.21M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (296:13): [True: 4.21M, False: 246k]
  ------------------
  297|  4.21M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  298|  4.21M|                break;
  299|      5|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (299:13): [True: 5, False: 4.46M]
  ------------------
  300|      5|                result_ = Json(value,tag);
  301|      5|                is_valid_ = true;
  302|      5|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      5|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  4.46M|        }
  304|  4.46M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.46M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  305|  4.46M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  353|  34.2k|    {
  354|  34.2k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (354:17): [True: 34.2k, False: 0]
  ------------------
  355|  34.2k|        {
  356|  5.82k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (356:13): [True: 5.82k, False: 28.4k]
  ------------------
  357|  5.82k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  358|  5.82k|                break;
  359|  28.4k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (359:13): [True: 28.4k, False: 5.82k]
  ------------------
  360|  28.4k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  361|  28.4k|                break;
  362|      2|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (362:13): [True: 2, False: 34.2k]
  ------------------
  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.2k|        }
  367|  34.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  34.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  34.2k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|  2.35k|    {
  123|  2.35k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  1.97M|    {
  127|  1.97M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (127:13): [True: 157k, False: 1.81M]
  ------------------
  128|   157k|        {
  129|   157k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  130|   157k|            item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  131|   157k|        }
  132|  1.81M|        else
  133|  1.81M|        {
  134|  1.81M|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  135|  1.81M|            item_stack_.emplace_back(key_type(alloc_), 0, json_object_arg, tag);
  136|  1.81M|        }
  137|  1.97M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.97M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  138|  1.97M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  141|  1.96M|    {
  142|  1.96M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   49|  1.96M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 1.96M]
  |  |  ------------------
  |  |   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.96M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::object_kind);
  ------------------
  |  |   49|  1.96M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 1.96M]
  |  |  ------------------
  |  |   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.96M|        const size_t structure_index = structure_stack_.back().structure_index;
  145|  1.96M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   49|  1.96M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 1.96M]
  |  |  ------------------
  |  |   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.96M|        const size_t size = item_stack_.size() - (structure_index + 1);
  148|  1.96M|        auto first = item_stack_.begin() + (structure_index+1);
  149|  1.96M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  150|  1.96M|        auto& obj = item_stack_[structure_index].value;
  151|       |
  152|  1.96M|        if (size > 0)
  ------------------
  |  Branch (152:13): [True: 47.6k, False: 1.91M]
  ------------------
  153|  47.6k|        {
  154|  47.6k|            obj.template cast<typename Json::object_storage>().value().uninitialized_init(
  155|  47.6k|                &item_stack_[structure_index+1], size);
  156|  47.6k|            item_stack_.erase(first, item_stack_.end());
  157|  47.6k|        }
  158|       |
  159|  1.96M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (159:13): [True: 1.29k, False: 1.96M]
  ------------------
  160|  1.29k|        {
  161|  1.29k|            result_ = std::move(item_stack_.front().value);
  162|  1.29k|            item_stack_.pop_back();
  163|  1.29k|            is_valid_ = true;
  164|  1.29k|        }
  165|       |
  166|  1.96M|        structure_stack_.pop_back();
  167|  1.96M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.96M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  168|  1.96M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  171|  3.96M|    {
  172|  3.96M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (172:13): [True: 350k, False: 3.61M]
  ------------------
  173|   350k|        {
  174|   350k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  175|   350k|            item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  176|   350k|        }
  177|  3.61M|        else
  178|  3.61M|        {
  179|  3.61M|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  180|  3.61M|            item_stack_.emplace_back(key_type(alloc_), 0, json_array_arg, tag);
  181|  3.61M|        }
  182|  3.96M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.96M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  183|  3.96M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  220|  5.88M|    {
  221|  5.88M|        name_ = key_type(name.data(),name.length(),alloc_);
  222|  5.88M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.88M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  223|  5.88M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  389|  1.28M|    {
  390|  1.28M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (390:17): [True: 1.28M, False: 0]
  ------------------
  391|  1.28M|        {
  392|   163k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (392:13): [True: 163k, False: 1.11M]
  ------------------
  393|   163k|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  394|   163k|                break;
  395|  1.11M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (395:13): [True: 1.11M, False: 163k]
  ------------------
  396|  1.11M|                item_stack_.emplace_back(key_type(alloc_), 0, null_type(), tag);
  397|  1.11M|                break;
  398|      1|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (398:13): [True: 1, False: 1.28M]
  ------------------
  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.28M|        }
  403|  1.28M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.28M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  404|  1.28M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  371|  7.29M|    {
  372|  7.29M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (372:17): [True: 7.29M, False: 0]
  ------------------
  373|  7.29M|        {
  374|   394k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (374:13): [True: 394k, False: 6.90M]
  ------------------
  375|   394k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  376|   394k|                break;
  377|  6.90M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (377:13): [True: 6.90M, False: 394k]
  ------------------
  378|  6.90M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  379|  6.90M|                break;
  380|      2|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (380:13): [True: 2, False: 7.29M]
  ------------------
  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.29M|        }
  385|  7.29M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  7.29M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  7.29M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  226|  1.73M|    {
  227|  1.73M|        auto& structure = structure_stack_.back();
  228|  1.73M|        switch (structure.structure_kind)
  ------------------
  |  Branch (228:17): [True: 1.73M, False: 0]
  ------------------
  229|  1.73M|        {
  230|  96.6k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (230:13): [True: 96.6k, False: 1.64M]
  ------------------
  231|  96.6k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  232|  96.6k|                break;
  233|  1.64M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (233:13): [True: 1.64M, False: 97.3k]
  ------------------
  234|  1.64M|                item_stack_.emplace_back(key_type(alloc_), 0, sv, tag);
  235|  1.64M|                break;
  236|    790|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (236:13): [True: 790, False: 1.73M]
  ------------------
  237|    790|                result_ = Json(sv, tag, alloc_);
  238|    790|                is_valid_ = true;
  239|    790|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|    790|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  240|  1.73M|        }
  241|  1.73M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.73M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  242|  1.73M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  248|   187k|    {
  249|   187k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (249:17): [True: 187k, False: 0]
  ------------------
  250|   187k|        {
  251|  49.3k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (251:13): [True: 49.3k, False: 138k]
  ------------------
  252|  49.3k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, tag);
  253|  49.3k|                break;
  254|   138k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (254:13): [True: 138k, False: 49.3k]
  ------------------
  255|   138k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, tag);
  256|   138k|                break;
  257|      1|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (257:13): [True: 1, False: 187k]
  ------------------
  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|   187k|        }
  262|   187k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   187k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  263|   187k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  269|   958k|    {
  270|   958k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (270:17): [True: 958k, False: 0]
  ------------------
  271|   958k|        {
  272|   149k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (272:13): [True: 149k, False: 808k]
  ------------------
  273|   149k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, raw_tag);
  274|   149k|                break;
  275|   808k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (275:13): [True: 808k, False: 149k]
  ------------------
  276|   808k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, raw_tag);
  277|   808k|                break;
  278|      2|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (278:13): [True: 2, False: 958k]
  ------------------
  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|   958k|        }
  283|   958k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   958k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|   958k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|  2.35k|    {
  109|  2.35k|        return is_valid_;
  110|  2.35k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|  2.35k|    {
  114|  2.35k|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   49|  2.35k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.35k]
  |  |  ------------------
  |  |   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.35k|        is_valid_ = false;
  116|  2.35k|        return std::move(result_);
  117|  2.35k|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  7.06k|{
 1065|  7.06k|    return json_visitor_adaptor<From, To>(to);
 1066|  7.06k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  7.06k|        : supertype(visitor)
  984|  7.06k|    {
  985|  7.06k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  7.06k|        : destination1_(std::addressof(visitor))
  722|  7.06k|    {
  723|  7.06k|    }
_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.96M|    {
  778|  3.96M|        destination1_->begin_array(length, tag, context, ec);
  779|  3.96M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.96M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|  3.96M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  3.94M|    {
  784|  3.94M|        destination1_->end_array(context, ec);
  785|  3.94M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.94M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  3.94M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  19.1M|    {
  826|  19.1M|        destination1_->uint64_value(value, tag, context, ec);
  827|  19.1M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  19.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  19.1M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  4.46M|    {
  820|  4.46M|        destination1_->int64_value(value, tag, context, ec);
  821|  4.46M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.46M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  4.46M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  34.2k|    {
  814|  34.2k|        destination1_->double_value(value, tag, context, ec);
  815|  34.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  34.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  34.2k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|  2.35k|    {
  739|  2.35k|        destination1_->flush();
  740|  2.35k|    }
_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.97M|    {
  755|  1.97M|        destination1_->begin_object(length, tag, context, ec);
  756|  1.97M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.97M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  1.97M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  1.96M|    {
  761|  1.96M|        destination1_->end_object(context, ec);
  762|  1.96M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.96M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  1.96M|    }
_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.88M|    {
  996|  5.88M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  5.88M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  7.62M|    {
  733|  7.62M|        return *destination1_;
  734|  7.62M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  1.28M|    {
  838|  1.28M|        destination1_->null_value(tag, context, ec);
  839|  1.28M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.28M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  1.28M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  7.29M|    {
  832|  7.29M|        destination1_->bool_value(value, tag, context, ec);
  833|  7.29M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  7.29M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  7.29M|    }
_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.73M|    {
 1004|  1.73M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  1.73M|    }
_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|   187k|    {
  793|   187k|        destination1_->byte_string_value(b, tag, context, ec);
  794|   187k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   187k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  795|   187k|    }
_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|   958k|    {
  802|   958k|        destination1_->byte_string_value(b, raw_tag, context, ec);
  803|   958k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   958k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|   958k|    }

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  21.1k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  28.2k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|  3.96M|        {
  561|  3.96M|            visit_begin_array(tag, context, ec);
  562|  3.96M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.96M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  3.96M|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  1.97M|        {
  545|  1.97M|            visit_begin_object(tag, context, ec);
  546|  1.97M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.97M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  1.97M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  7.93M|        {
  346|  7.93M|            visit_begin_array(length, tag, context, ec);
  347|  7.93M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  7.93M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  7.93M|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  38.2M|        {
  415|  38.2M|            visit_uint64(value, tag, context, ec);
  416|  38.2M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  38.2M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  38.2M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  7.89M|        {
  352|  7.89M|            visit_end_array(context, ec);
  353|  7.89M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  7.89M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  7.89M|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  8.92M|        {
  424|  8.92M|            visit_int64(value, tag, context, ec);
  425|  8.92M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.92M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  8.92M|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  68.4k|        {
  442|  68.4k|            visit_double(value, tag, context, ec);
  443|  68.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  68.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  68.4k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|  4.70k|        {
  109|  4.70k|            visit_flush();
  110|  4.70k|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  3.94M|        {
  328|  3.94M|            visit_begin_object(length, tag, context, ec);
  329|  3.94M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.94M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  3.94M|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  3.93M|        {
  334|  3.93M|            visit_end_object(context, ec);
  335|  3.93M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.93M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  3.93M|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  11.7M|        {
  358|  11.7M|            visit_key(name, context, ec);
  359|  11.7M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  11.7M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  2.56M|        {
  366|  2.56M|            visit_null(tag, context, ec);
  367|  2.56M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.56M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  2.56M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  14.5M|        {
  375|  14.5M|            visit_bool(value, tag, context, ec);
  376|  14.5M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  14.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  14.5M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  3.47M|        {
  384|  3.47M|            visit_string(value, tag, context, ec);
  385|  3.47M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.47M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  3.47M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  394|   375k|        {
  395|   375k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  396|   375k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   375k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  397|   375k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|  1.91M|        {
  406|  1.91M|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|  1.91M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.91M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|  1.91M|        }
_ZN8jsoncons26basic_default_json_visitorIcEC2Ev:
  811|  7.06k|        basic_default_json_visitor() = default;

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|   346k|    {
  121|   346k|        return value_;
  122|   346k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  27.9M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  19.1M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  19.1M|    {
   45|  19.1M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  74.0M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.46M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.46M|    {
   45|  4.46M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  34.2k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  34.2k|    {
   45|  34.2k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.97M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.97M|    {
   45|  1.97M|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|   196k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|   196k|    {
   88|   196k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  3.96M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.96M|    {
   45|  3.96M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.28M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.28M|    {
   45|  1.28M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  7.29M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  7.29M|    {
   45|  7.29M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  1.73M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.73M|    {
   45|  1.73M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   187k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   187k|    {
   45|   187k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   958k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   958k|    {
   45|   958k|    }

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

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  35.6k|        {
  159|  35.6k|            return data_.empty();
  160|  35.6k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  51.5k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  51.5k|        {
  169|  51.5k|            return data_.begin();
  170|  51.5k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  51.5k|        {
  174|  51.5k|            return data_.end();
  175|  51.5k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  1.97M|        {
  154|  1.97M|            flatten_and_destroy();
  155|  1.97M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|  1.97M|        {
  725|  1.97M|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 17.9k, False: 1.95M]
  ------------------
  726|  17.9k|            {
  727|  17.9k|                json_array<Json> temp(get_allocator());
  728|       |
  729|  17.9k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 112k, False: 17.9k]
  ------------------
  730|   112k|                {
  731|   112k|                    switch (kv.value().storage_kind())
  732|   112k|                    {
  733|  8.32k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 8.32k, False: 103k]
  ------------------
  734|  15.5k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 7.20k, False: 104k]
  ------------------
  735|  15.5k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 7.56k, False: 7.97k]
  ------------------
  736|  7.56k|                            {
  737|  7.56k|                                temp.emplace_back(std::move(kv.value()));
  738|  7.56k|                            }
  739|  15.5k|                            break;
  740|  96.5k|                        default:
  ------------------
  |  Branch (740:25): [True: 96.5k, False: 15.5k]
  ------------------
  741|  96.5k|                            break;
  742|   112k|                    }
  743|   112k|                }
  744|  17.9k|            }
  745|  1.97M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  1.97M|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  47.6k|        {
  278|  47.6k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 47.6k, False: 0]
  ------------------
  279|  47.6k|            {
  280|  47.6k|                data_.reserve(count);
  281|       |
  282|  47.6k|                std::sort(items, items+count, compare);
  283|  47.6k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  4.51M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 4.46M, False: 47.6k]
  ------------------
  286|  4.46M|                {
  287|  4.46M|                    auto& item = items[i];
  288|  4.46M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 149k, False: 4.32M]
  ------------------
  289|   149k|                    {
  290|   149k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|   149k|                    }
  292|  4.46M|                }
  293|  47.6k|            }
  294|  47.6k|        }
_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.16M, False: 97.9M]
  ------------------
  271|  97.9M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 96.1M, False: 1.82M]
  ------------------
  272|       |
  273|  1.82M|            return false;
  274|  97.9M|        }

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

_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: 43.7k, False: 64.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|  49.4k|    {
  999|  49.4k|        auto this_view = get_storage_view();
 1000|  49.4k|        size_type len0 = this_view.size();
 1001|  49.4k|        word_type dig = this_view[0];
 1002|  49.4k|        word_type carry = 0;
 1003|       |
 1004|  49.4k|        resize(this_view.size() + 1);
 1005|  49.4k|        this_view = get_storage_view();
 1006|       |
 1007|  49.4k|        size_type i = 0;
 1008|  88.9k|        for (; i < len0; i++ )
  ------------------
  |  Branch (1008:16): [True: 39.4k, False: 49.4k]
  ------------------
 1009|  39.4k|        {
 1010|  39.4k|            word_type hi;
 1011|  39.4k|            word_type lo;
 1012|  39.4k|            DDproduct( dig, y, hi, lo );
 1013|  39.4k|            this_view[i] = lo + carry;
 1014|  39.4k|            dig = this_view[i+1];
 1015|  39.4k|            carry = hi + (this_view[i] < lo);
 1016|  39.4k|        }
 1017|  49.4k|        this_view[i] = carry;
 1018|  49.4k|        reduce();
 1019|  49.4k|        return *this;
 1020|  49.4k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  718|   768k|    {
  719|   768k|        return storage_.get_storage_view();
  720|   768k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  520|  1.10M|    {
  521|  1.10M|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (521:16): [True: 355k, False: 746k]
  ------------------
  522|   355k|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  523|  1.10M|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  524|  1.10M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   64|  1.10M|            : data_(data), size_(size)
   65|  1.10M|        {
   66|  1.10M|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   84|  1.70M|        {
   85|  1.70M|            return size_;
   86|  1.70M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   69|   708k|        {
   70|   708k|            return data_[i];
   71|   708k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  818|   126k|    {
  819|   126k|        storage_.resize(new_length);
  820|   126k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  534|   250k|    {
  535|   250k|        size_type old_length = common_.size_;
  536|   250k|        reserve(new_length);
  537|   250k|        common_.size_ = new_length;
  538|       |
  539|   250k|        if (old_length < new_length)
  ------------------
  |  Branch (539:13): [True: 153k, False: 96.5k]
  ------------------
  540|   153k|        {
  541|   153k|            if (is_allocated())
  ------------------
  |  Branch (541:17): [True: 27.3k, False: 126k]
  ------------------
  542|  27.3k|            {
  543|  27.3k|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  544|  27.3k|            }
  545|   126k|            else
  546|   126k|            {
  547|   126k|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   49|   126k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 126k]
  |  |  ------------------
  |  |   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|   328k|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (548:48): [True: 201k, False: 126k]
  ------------------
  549|   201k|                {
  550|   201k|                    inlined_.values_[i] = 0;
  551|   201k|                }
  552|   126k|            }
  553|   153k|        }
  554|   250k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  452|   250k|    {
  453|   250k|       if (capacity() < n)
  ------------------
  |  Branch (453:12): [True: 27.3k, False: 223k]
  ------------------
  454|  27.3k|       {
  455|  27.3k|           if (!is_allocated())
  ------------------
  |  Branch (455:16): [True: 27.3k, False: 0]
  ------------------
  456|  27.3k|           {
  457|  27.3k|               size_type size = inlined_.size_;
  458|  27.3k|               size_type is_neg = inlined_.is_negative_;
  459|  27.3k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  460|       |
  461|  27.3k|               ::new (&allocated_) allocated_storage();
  462|  27.3k|               allocated_.reserve(n, get_allocator());
  463|  27.3k|               allocated_.size_ = size;
  464|  27.3k|               allocated_.is_negative_ = is_neg;
  465|  27.3k|               if (n >= 1)
  ------------------
  |  Branch (465:20): [True: 27.3k, False: 0]
  ------------------
  466|  27.3k|               {
  467|  27.3k|                   allocated_.data_[0] = values[0];
  468|  27.3k|               }
  469|  27.3k|               if (n >= 2)
  ------------------
  |  Branch (469:20): [True: 27.3k, False: 0]
  ------------------
  470|  27.3k|               {
  471|  27.3k|                   allocated_.data_[1] = values[1];
  472|  27.3k|               }
  473|  27.3k|           }
  474|      0|           else
  475|      0|           {
  476|      0|               allocated_.reserve(n, get_allocator());
  477|      0|           }
  478|  27.3k|       }
  479|   250k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  505|   250k|    {
  506|   250k|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (506:16): [True: 54.7k, False: 195k]
  ------------------
  507|   250k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  203|  27.3k|            : is_allocated_(true),
  204|  27.3k|            is_negative_(false)
  205|  27.3k|        {
  206|  27.3k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  255|  27.3k|        {
  256|  27.3k|            JSONCONS_ASSERT(n < max_size);
  ------------------
  |  |   49|  27.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 27.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 ))); }
  ------------------
  257|  27.3k|            size_type capacity_new = round_up(n);
  258|       |
  259|  27.3k|            real_allocator_type alloc(a);
  260|  27.3k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  261|  27.3k|            if (size_ > 0)
  ------------------
  |  Branch (261:17): [True: 0, False: 27.3k]
  ------------------
  262|      0|            {
  263|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  264|      0|            }
  265|  27.3k|            if (data_ != nullptr)
  ------------------
  |  Branch (265:17): [True: 0, False: 27.3k]
  ------------------
  266|      0|            {
  267|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  268|      0|            }
  269|  27.3k|            capacity_ = capacity_new;
  270|  27.3k|            data_ = data_new;
  271|  27.3k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  275|  27.3k|        {
  276|  27.3k|            size_type remainder = i % mem_unit;
  277|  27.3k|            size_type off = mem_unit - remainder;
  278|  27.3k|            bool testoff = i < max_size - off;
  279|  27.3k|            JSONCONS_ASSERT(testoff);
  ------------------
  |  |   49|  27.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 27.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 ))); }
  ------------------
  280|       |
  281|  27.3k|            return i + off;
  282|  27.3k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  482|   534k|    {
  483|   534k|        return static_cast<const word_allocator_type&>(*this);
  484|   534k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  500|  1.18M|    {
  501|  1.18M|        return common_.is_allocated_;
  502|  1.18M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1781|  67.2k|    {
 1782|  67.2k|        word_type hiA = A >> word_type_half_bits, loA = A & r_mask,
 1783|  67.2k|                   hiB = B >> word_type_half_bits, loB = B & r_mask;
 1784|       |
 1785|  67.2k|        lo = loA * loB;
 1786|  67.2k|        hi = hiA * hiB;
 1787|  67.2k|        word_type mid1 = loA * hiB;
 1788|  67.2k|        word_type mid2 = hiA * loB;
 1789|  67.2k|        word_type old = lo;
 1790|  67.2k|        lo += mid1 << word_type_half_bits;
 1791|  67.2k|            hi += (lo < old) + (mid1 >> word_type_half_bits);
 1792|  67.2k|        old = lo;
 1793|  67.2k|        lo += mid2 << word_type_half_bits;
 1794|  67.2k|            hi += (lo < old) + (mid2 >> word_type_half_bits);
 1795|  67.2k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 1917|   210k|    {
 1918|   210k|        storage_.reduce();
 1919|   210k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  429|   210k|    {
  430|   210k|        if (common_.size_ > 0)
  ------------------
  |  Branch (430:13): [True: 210k, False: 0]
  ------------------
  431|   210k|        {
  432|   210k|            auto this_view = get_storage_view();
  433|   210k|            word_type* p = this_view.end() - 1;
  434|   210k|            word_type* first = this_view.begin();
  435|   322k|            while ( p >= first )
  ------------------
  |  Branch (435:21): [True: 289k, False: 33.8k]
  ------------------
  436|   289k|            {
  437|   289k|                if ( *p )
  ------------------
  |  Branch (437:22): [True: 176k, False: 112k]
  ------------------
  438|   176k|                {
  439|   176k|                    break;
  440|   176k|                }
  441|   112k|                --common_.size_;
  442|   112k|                --p;
  443|   112k|            }
  444|   210k|        }
  445|   210k|        if (common_.size_ == 0)
  ------------------
  |  Branch (445:13): [True: 33.8k, False: 176k]
  ------------------
  446|  33.8k|        {
  447|  33.8k|            common_.is_negative_ = false;
  448|  33.8k|        }
  449|   210k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
   93|   210k|        {
   94|   210k|            return data_ + size_;
   95|   210k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
   88|   210k|        {
   89|   210k|            return data_;
   90|   210k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLImEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  889|  11.9k|    {
  890|  11.9k|        if ( is_negative())
  ------------------
  |  Branch (890:14): [True: 0, False: 11.9k]
  ------------------
  891|      0|            return *this -= -basic_bigint<Allocator>(y);
  892|       |
  893|  11.9k|        word_type d;
  894|  11.9k|        word_type carry = 0;
  895|       |
  896|  11.9k|        auto this_view = get_storage_view();
  897|  11.9k|        resize(this_view.size() + 1);
  898|       |
  899|  11.9k|        this_view = get_storage_view();
  900|  11.9k|        const size_type this_size = this_view.size();
  901|  11.9k|        size_type y_size = 1;
  902|       |
  903|  11.9k|        d = this_view[0] + carry;
  904|  11.9k|        carry = d < carry;
  905|  11.9k|        this_view[0] = d + y;
  906|  11.9k|        if (this_view[0] < d)
  ------------------
  |  Branch (906:13): [True: 0, False: 11.9k]
  ------------------
  907|      0|            carry = 1;
  908|       |
  909|  11.9k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (909:36): [True: 10.6k, False: 1.36k]
  |  Branch (909:53): [True: 0, False: 10.6k]
  ------------------
  910|      0|        {
  911|      0|            d = this_view[i] + carry;
  912|      0|            carry = d < carry;
  913|      0|            this_view[i] = d;
  914|      0|        }
  915|  11.9k|        reduce();
  916|  11.9k|        return *this;
  917|  11.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  728|   660k|    {
  729|   660k|        return storage_.is_negative();
  730|   660k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  510|   660k|    {
  511|   660k|        return common_.is_negative_;
  512|   660k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  835|  5.89k|    {
  836|  5.89k|        basic_bigint<Allocator> v(*this);
  837|  5.89k|        v.set_negative(!v.is_negative());
  838|  5.89k|        return v;
  839|  5.89k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  671|  55.3k|        : storage_(other.storage_)
  672|  55.3k|    {
  673|  55.3k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  299|  55.3k|        : word_allocator_type(other.get_allocator())
  300|  55.3k|    {
  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|  55.3k|        if (!other.is_allocated())
  ------------------
  |  Branch (305:13): [True: 28.0k, False: 27.3k]
  ------------------
  306|  28.0k|        {
  307|  28.0k|            ::new (&inlined_) inlined_storage(other.inlined_);
  308|  28.0k|        }
  309|  27.3k|        else
  310|  27.3k|        {
  311|  27.3k|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  312|  27.3k|        }
  313|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  314|       |# pragma GCC diagnostic pop
  315|       |#endif
  316|  55.3k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  178|   153k|            : is_allocated_(false),
  179|   153k|            is_negative_(stor.is_negative_),
  180|   153k|            size_(stor.size_)
  181|   153k|        {
  182|   153k|            values_[0] = stor.values_[0];
  183|   153k|            values_[1] = stor.values_[1];
  184|   153k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  209|   109k|            : is_allocated_(true),
  210|   109k|              is_negative_(stor.is_negative_),
  211|   109k|              size_(stor.size_),
  212|   109k|              capacity_(stor.capacity_)
  213|   109k|        {
  214|   109k|            real_allocator_type alloc(a);
  215|       |
  216|   109k|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  217|   109k|            JSONCONS_TRY
  ------------------
  |  |   37|   109k|    #define JSONCONS_TRY try
  ------------------
  218|   109k|            {
  219|   109k|                std::allocator_traits<real_allocator_type>::construct(alloc, ext_traits::to_plain_pointer(data_));
  220|   109k|            }
  221|   109k|            JSONCONS_CATCH(...)
  222|   109k|            {
  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|   109k|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   49|   109k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 109k]
  |  |  ------------------
  |  |   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|   109k|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  229|   109k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  733|   308k|    {
  734|   308k|        storage_.set_negative(value);
  735|   308k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  515|   308k|    {
  516|   308k|        common_.is_negative_ = value;
  517|   308k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE12write_stringIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1359|  49.4k|    {
 1360|  49.4k|        basic_bigint<Allocator> v(*this);
 1361|  49.4k|        auto v_view = v.get_storage_view();
 1362|       |
 1363|  49.4k|        size_type len = (v_view.size() * word_type_bits / 3) + 2;
 1364|  49.4k|        data.reserve(len);
 1365|       |
 1366|  49.4k|        if ( v_view.size() == 0 )
  ------------------
  |  Branch (1366:14): [True: 9.10k, False: 40.3k]
  ------------------
 1367|  9.10k|        {
 1368|  9.10k|            data.push_back('0');
 1369|  9.10k|        }
 1370|  40.3k|        else
 1371|  40.3k|        {
 1372|  40.3k|            word_type r;
 1373|  40.3k|            basic_bigint<Allocator> R(get_allocator());
 1374|  40.3k|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1375|       |
 1376|  40.3k|            do
 1377|  75.7k|            {
 1378|  75.7k|                v.divide( LP10, v, R, true );
 1379|  75.7k|                v_view = v.get_storage_view();
 1380|       |
 1381|  75.7k|                auto R_view = R.get_storage_view();
 1382|  75.7k|                r = (R_view.size() ? R_view[0] : 0);
  ------------------
  |  Branch (1382:22): [True: 59.1k, False: 16.6k]
  ------------------
 1383|   973k|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1383:38): [True: 938k, False: 35.3k]
  ------------------
 1384|   938k|                {
 1385|   938k|                    data.push_back(char(r % 10u + '0'));
 1386|   938k|                    r /= 10u;
 1387|   938k|                    if ( r + v_view.size() == 0 )
  ------------------
  |  Branch (1387:26): [True: 40.3k, False: 897k]
  ------------------
 1388|  40.3k|                        break;
 1389|   938k|                }
 1390|  75.7k|            } 
 1391|  75.7k|            while ( v_view.size() > 0);
  ------------------
  |  Branch (1391:21): [True: 35.3k, False: 40.3k]
  ------------------
 1392|       |
 1393|  40.3k|            if (is_negative())
  ------------------
  |  Branch (1393:17): [True: 5.89k, False: 34.4k]
  ------------------
 1394|  5.89k|            {
 1395|  5.89k|                data.push_back('-');
 1396|  5.89k|            }
 1397|  40.3k|            std::reverse(data.begin(),data.end());
 1398|  40.3k|        }
 1399|  49.4k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  713|   287k|    {
  714|   287k|        return storage_.get_allocator();
  715|   287k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  644|  40.3k|        : storage_(alloc)
  645|  40.3k|    {
  646|  40.3k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  293|  40.3k|        : word_allocator_type(alloc)
  294|  40.3k|    {
  295|  40.3k|        ::new (&inlined_) inlined_storage();
  296|  40.3k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  113|  40.3k|            : is_allocated_(false),
  114|  40.3k|            is_negative_(false),
  115|  40.3k|            size_(0),
  116|  40.3k|            values_{0, 0}
  117|  40.3k|        {
  118|  40.3k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1675|  75.7k|    {
 1676|  75.7k|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1677|  75.7k|        auto denom_view = denom.get_storage_view();
 1678|       |
 1679|  75.7k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1679:13): [True: 0, False: 75.7k]
  ------------------
 1680|      0|        {
 1681|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1682|      0|        }
 1683|  75.7k|        bool quot_neg = is_negative() ^ denom.is_negative();
 1684|  75.7k|        bool rem_neg = is_negative();
 1685|  75.7k|        basic_bigint<Allocator> num(*this, get_allocator());
 1686|  75.7k|        num.set_negative(false);
 1687|  75.7k|        denom.set_negative(false);
 1688|  75.7k|        if ( num < denom )
  ------------------
  |  Branch (1688:14): [True: 40.3k, False: 35.3k]
  ------------------
 1689|  40.3k|        {
 1690|  40.3k|            quot = word_type(0);
 1691|  40.3k|            quot.set_negative(quot_neg);
 1692|  40.3k|            rem = num;
 1693|  40.3k|            rem.set_negative(rem_neg);
 1694|  40.3k|            return;
 1695|  40.3k|        }
 1696|       |
 1697|  35.3k|        auto num_view = num.get_storage_view();
 1698|  35.3k|        auto quot_view = quot.get_storage_view();
 1699|  35.3k|        auto this_view = get_storage_view();
 1700|       |
 1701|  35.3k|        if ( denom_view.size() == 1 && num_view.size() == 1 )
  ------------------
  |  Branch (1701:14): [True: 35.3k, False: 0]
  |  Branch (1701:40): [True: 7.55k, False: 27.8k]
  ------------------
 1702|  7.55k|        {
 1703|  7.55k|            quot = word_type( num_view[0]/denom_view[0] );
 1704|  7.55k|            rem = word_type( num_view[0]%denom_view[0] );
 1705|  7.55k|            quot.set_negative(quot_neg);
 1706|  7.55k|            rem.set_negative(rem_neg);
 1707|  7.55k|            return;
 1708|  7.55k|        }
 1709|  27.8k|        if (denom_view.size() == 1 && (denom_view[0] & l_mask) == 0 )
  ------------------
  |  Branch (1709:13): [True: 27.8k, False: 0]
  |  Branch (1709:39): [True: 0, False: 27.8k]
  ------------------
 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|  27.8k|        basic_bigint<Allocator> num0(num, get_allocator());
 1732|  27.8k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1733|  27.8k|        int x = 0;
 1734|  27.8k|        bool second_done = normalize(denom, num, x);
 1735|  27.8k|        denom_view = denom.get_storage_view();
 1736|  27.8k|        num_view = num.get_storage_view();
 1737|       |
 1738|  27.8k|        size_type l = denom_view.size() - 1;
 1739|  27.8k|        size_type n = num_view.size() - 1;
 1740|  27.8k|        quot.resize(n - l);
 1741|  27.8k|        quot_view = quot.get_storage_view();
 1742|  55.6k|        for (size_type i = quot_view.size(); i-- > 0; )
  ------------------
  |  Branch (1742:46): [True: 27.8k, False: 27.8k]
  ------------------
 1743|  27.8k|        {
 1744|  27.8k|            quot_view[i] = 0;
 1745|  27.8k|        }
 1746|  27.8k|        rem = num;
 1747|  27.8k|        auto rem_view = rem.get_storage_view();
 1748|  27.8k|        if ( rem_view[n] >= denom_view[l] )
  ------------------
  |  Branch (1748:14): [True: 0, False: 27.8k]
  ------------------
 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|  27.8k|        word_type d = denom_view[l];
 1757|       |
 1758|  55.6k|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1758:32): [True: 27.8k, False: 27.8k]
  ------------------
 1759|  27.8k|        {
 1760|  27.8k|            word_type q = DDquotient(rem_view[k], rem_view[k-1], d);
 1761|  27.8k|            subtractmul( rem_view.data() + (k - l - 1), denom_view.data(), l + 1, q );
 1762|  27.8k|            quot_view[k - l - 1] = q;
 1763|  27.8k|        }
 1764|  27.8k|        quot.reduce();
 1765|  27.8k|        quot.set_negative(quot_neg);
 1766|  27.8k|        if (remDesired)
  ------------------
  |  Branch (1766:13): [True: 27.8k, False: 0]
  ------------------
 1767|  27.8k|        {
 1768|  27.8k|            unnormalize(rem, x, second_done);
 1769|  27.8k|            rem.set_negative(rem_neg);
 1770|  27.8k|        }
 1771|  27.8k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  676|   207k|        : storage_(other.storage_, alloc)
  677|   207k|    {
  678|   207k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  319|   207k|        : word_allocator_type(alloc)
  320|   207k|    {
  321|   207k|        if (!other.is_allocated())
  ------------------
  |  Branch (321:13): [True: 125k, False: 82.1k]
  ------------------
  322|   125k|        {
  323|   125k|            ::new (&inlined_) inlined_storage(other.inlined_);
  324|   125k|        }
  325|  82.1k|        else
  326|  82.1k|        {
  327|  82.1k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  328|  82.1k|        }
  329|   207k|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1476|  75.7k|    {
 1477|  75.7k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1477:15): [True: 40.3k, False: 35.3k]
  ------------------
 1478|  75.7k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1641|   113k|    {
 1642|   113k|        auto this_view = get_storage_view();
 1643|   113k|        auto y_view = y.get_storage_view();
 1644|       |
 1645|   113k|        const size_type y_size = y_view.size();
 1646|   113k|        if ( this_view.size() == 0 && y_size == 0 )
  ------------------
  |  Branch (1646:14): [True: 8.69k, False: 104k]
  |  Branch (1646:39): [True: 8.69k, False: 0]
  ------------------
 1647|  8.69k|            return 0;
 1648|   104k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1648:14): [True: 5.89k, False: 98.6k]
  ------------------
 1649|  5.89k|            return y.is_negative() - is_negative();
 1650|  98.6k|        int code = 0;
 1651|  98.6k|        if ( this_view.size() < y_size)
  ------------------
  |  Branch (1651:14): [True: 0, False: 98.6k]
  ------------------
 1652|      0|            code = -1;
 1653|  98.6k|        else if ( this_view.size() > y_size)
  ------------------
  |  Branch (1653:19): [True: 50.7k, False: 47.9k]
  ------------------
 1654|  50.7k|            code = +1;
 1655|  47.9k|        else
 1656|  47.9k|        {
 1657|  49.9k|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1657:50): [True: 47.9k, False: 1.98k]
  ------------------
 1658|  47.9k|            {
 1659|  47.9k|                if (this_view[i] > y_view[i])
  ------------------
  |  Branch (1659:21): [True: 5.56k, False: 42.3k]
  ------------------
 1660|  5.56k|                {
 1661|  5.56k|                    code = 1;
 1662|  5.56k|                    break;
 1663|  5.56k|                }
 1664|  42.3k|                else if (this_view[i] < y_view[i])
  ------------------
  |  Branch (1664:26): [True: 40.3k, False: 1.98k]
  ------------------
 1665|  40.3k|                {
 1666|  40.3k|                    code = -1;
 1667|  40.3k|                    break;
 1668|  40.3k|                }
 1669|  47.9k|            }
 1670|  47.9k|        }
 1671|  98.6k|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1671:16): [True: 0, False: 98.6k]
  ------------------
 1672|   104k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  842|   123k|    {
  843|   123k|        storage_ = y.storage_;
  844|   123k|        return *this;
  845|   123k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  366|   123k|    {
  367|   123k|        if (this != &other)
  ------------------
  |  Branch (367:13): [True: 123k, False: 0]
  ------------------
  368|   123k|        {
  369|   123k|            auto other_view = other.get_storage_view();
  370|   123k|            resize(other_view.size());
  371|   123k|            auto this_view = get_storage_view();
  372|   123k|            if (other_view.size() > 0)
  ------------------
  |  Branch (372:17): [True: 81.3k, False: 42.3k]
  ------------------
  373|  81.3k|            {
  374|  81.3k|                common_.is_negative_ = other.common_.is_negative_;
  375|  81.3k|                std::memcpy(this_view.data(), other_view.data(), size_type(other_view.size()*sizeof(word_type)));
  376|  81.3k|            }
  377|   123k|        }
  378|   123k|        return *this;
  379|   123k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  527|   397k|    {
  528|   397k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (528:16): [True: 136k, False: 260k]
  ------------------
  529|   136k|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  530|   397k|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  531|   397k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   64|   397k|            : data_(data), size_(size)
   65|   397k|        {
   66|   397k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   79|  81.3k|        {
   80|  81.3k|            return data_;
   81|  81.3k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  723|   273k|    {
  724|   273k|        return storage_.get_storage_view();
  725|   273k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   84|   812k|        {
   85|   812k|            return size_;
   86|   812k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   69|   185k|        {
   70|   185k|            return data_[i];
   71|   185k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 1872|  27.8k|    {
 1873|  27.8k|        auto denom_view = denom.get_storage_view();
 1874|  27.8k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1874:13): [True: 0, False: 27.8k]
  ------------------
 1875|      0|        {
 1876|      0|            return false;
 1877|      0|        }
 1878|  27.8k|        size_type r = denom_view.size() - 1;
 1879|  27.8k|        word_type y = denom_view[r];
 1880|       |
 1881|  27.8k|        x = 0;
 1882|  27.8k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (1882:17): [True: 0, False: 27.8k]
  ------------------
 1883|      0|        {
 1884|      0|            y <<= 1;
 1885|      0|            x++;
 1886|      0|        }
 1887|  27.8k|        denom <<= x;
 1888|  27.8k|        num <<= x;
 1889|       |
 1890|  27.8k|        denom_view = denom.get_storage_view();
 1891|  27.8k|        if ( r > 0 && denom_view[r] < denom_view[r-1] )
  ------------------
  |  Branch (1891:14): [True: 0, False: 27.8k]
  |  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|  27.8k|        return false;
 1898|  27.8k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1117|  55.6k|    {
 1118|  55.6k|        auto this_view = get_storage_view();
 1119|  55.6k|        size_type q = k / word_type_bits;
 1120|  55.6k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1120:14): [True: 0, False: 55.6k]
  ------------------
 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|  55.6k|        if ( k )  // 0 < k < word_type_bits:
  ------------------
  |  Branch (1128:14): [True: 0, False: 55.6k]
  ------------------
 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|  55.6k|        reduce();
 1142|  55.6k|        return *this;
 1143|  55.6k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1799|  27.8k|    {
 1800|  27.8k|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1801|  27.8k|                   dHi = d >> word_type_half_bits, dLo = d & r_mask;
 1802|  27.8k|        qHi = A/(dHi + 1);
 1803|       |        // This initial guess of qHi may be too small.
 1804|  27.8k|        middle = qHi * dLo;
 1805|  27.8k|        left = qHi * dHi;
 1806|  27.8k|        x = B - (middle << word_type_half_bits);
 1807|  27.8k|        A -= (middle >> word_type_half_bits) + left + (x > B);
 1808|  27.8k|        B = x;
 1809|  27.8k|        dLo1 = dLo << word_type_half_bits;
 1810|       |        // Increase qHi if necessary:
 1811|  27.8k|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1811:17): [True: 0, False: 27.8k]
  |  Branch (1811:29): [True: 0, False: 27.8k]
  |  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|  27.8k|        qLo = ((A << word_type_half_bits) | (B >> word_type_half_bits))/(dHi + 1);
 1819|       |        // This initial guess of qLo may be too small.
 1820|  27.8k|        right = qLo * dLo;
 1821|  27.8k|        middle = qLo * dHi;
 1822|  27.8k|        x = B - right;
 1823|  27.8k|        A -= (x > B);
 1824|  27.8k|        B = x;
 1825|  27.8k|        x = B - (middle << word_type_half_bits);
 1826|  27.8k|            A -= (middle >> word_type_half_bits) + (x > B);
 1827|  27.8k|        B = x;
 1828|       |        // Increase qLo if necessary:
 1829|  45.1k|        while ( A || B >= d )
  ------------------
  |  Branch (1829:17): [True: 0, False: 45.1k]
  |  Branch (1829:22): [True: 17.3k, False: 27.8k]
  ------------------
 1830|  17.3k|        {
 1831|  17.3k|            x = B - d;
 1832|  17.3k|            A -= (x > B);
 1833|  17.3k|            B = x;
 1834|  17.3k|            qLo++;
 1835|  17.3k|        }
 1836|  27.8k|        return (qHi << word_type_half_bits) + qLo;
 1837|  27.8k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1841|  27.8k|    {
 1842|  27.8k|        word_type hi, lo, d, carry = 0;
 1843|  27.8k|        size_type i;
 1844|  55.6k|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1844:22): [True: 27.8k, False: 27.8k]
  ------------------
 1845|  27.8k|        {
 1846|  27.8k|            DDproduct( b[i], q, hi, lo );
 1847|  27.8k|            d = a[i];
 1848|  27.8k|            a[i] -= lo;
 1849|  27.8k|            if ( a[i] > d )
  ------------------
  |  Branch (1849:18): [True: 4.94k, False: 22.8k]
  ------------------
 1850|  4.94k|                carry++;
 1851|  27.8k|            d = a[i + 1];
 1852|  27.8k|            a[i + 1] -= hi + carry;
 1853|  27.8k|            carry = a[i + 1] > d;
 1854|  27.8k|        }
 1855|  27.8k|        if ( carry ) // q was too large
  ------------------
  |  Branch (1855:14): [True: 0, False: 27.8k]
  ------------------
 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|  27.8k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   79|   137k|        {
   80|   137k|            return data_;
   81|   137k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 1901|  27.8k|    {
 1902|  27.8k|        if (secondDone)
  ------------------
  |  Branch (1902:13): [True: 0, False: 27.8k]
  ------------------
 1903|      0|        {
 1904|      0|            rem /= max_word;
 1905|      0|        }
 1906|  27.8k|        if ( x > 0 )
  ------------------
  |  Branch (1906:14): [True: 0, False: 27.8k]
  ------------------
 1907|      0|        {
 1908|      0|            rem >>= x;
 1909|      0|        }
 1910|  27.8k|        else
 1911|  27.8k|        {
 1912|  27.8k|            rem.reduce();
 1913|  27.8k|        }
 1914|  27.8k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  708|   491k|    {
  709|   491k|        storage_.destroy();
  710|   491k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  487|   491k|    {
  488|   491k|        if (is_allocated())
  ------------------
  |  Branch (488:13): [True: 136k, False: 354k]
  ------------------
  489|   136k|        {
  490|   136k|            allocated_.destroy(get_allocator());
  491|   136k|            allocated_.~allocated_storage();
  492|   136k|        }
  493|   354k|        else
  494|   354k|        {
  495|   354k|            inlined_.~inlined_storage();
  496|   354k|        }
  497|   491k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  246|   136k|        {
  247|   136k|            if (data_ != nullptr)
  ------------------
  |  Branch (247:17): [True: 136k, False: 0]
  ------------------
  248|   136k|            {
  249|   136k|                real_allocator_type alloc(a);
  250|   136k|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  251|   136k|            }
  252|   136k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IlEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|  75.0k|        : storage_(n, alloc)
  694|  75.0k|    {
  695|  75.0k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IlEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|  75.0k|        : word_allocator_type(alloc)
  361|  75.0k|    {
  362|  75.0k|        ::new (&inlined_) inlined_storage(n);
  363|  75.0k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IlEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  125|  75.0k|            : is_allocated_(false),
  126|  75.0k|            is_negative_(n < 0),
  127|  75.0k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (127:19): [True: 46.2k, False: 28.8k]
  ------------------
  128|  75.0k|        {
  129|  75.0k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (129:26): [True: 5.89k, False: 69.1k]
  ------------------
  130|  75.0k|            values_[1] = 0;
  131|  75.0k|        }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEEl:
 1481|  37.5k|    {
 1482|  37.5k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1482:15): [True: 5.89k, False: 31.6k]
  ------------------
 1483|  37.5k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IjEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|  5.89k|        : storage_(n, alloc)
  694|  5.89k|    {
  695|  5.89k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IjEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|  5.89k|        : word_allocator_type(alloc)
  361|  5.89k|    {
  362|  5.89k|        ::new (&inlined_) inlined_storage(n);
  363|  5.89k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IjEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  138|  5.89k|            : is_allocated_(false),
  139|  5.89k|            is_negative_(false),
  140|  5.89k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 1.45k, False: 4.43k]
  ------------------
  141|  5.89k|        {
  142|  5.89k|            values_[0] = n;
  143|  5.89k|            values_[1] = 0;
  144|  5.89k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  954|  5.89k|    {
  955|  5.89k|        auto y_view = y.get_storage_view();
  956|       |
  957|  5.89k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (957:14): [True: 5.89k, False: 0]
  ------------------
  958|  5.89k|            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.89k|    {
  921|  5.89k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (921:14): [True: 0, False: 5.89k]
  ------------------
  922|      0|            return *this -= -y;
  923|       |
  924|  5.89k|        auto y_view = y.get_storage_view();
  925|       |        
  926|  5.89k|        word_type d;
  927|  5.89k|        word_type carry = 0;
  928|       |
  929|  5.89k|        auto this_view = get_storage_view();
  930|  5.89k|        resize( (std::max)(y_view.size(), this_view.size()) + 1 );
  931|  5.89k|        this_view = get_storage_view();
  932|       |
  933|  5.89k|        const size_t this_size = this_view.size();
  934|  5.89k|        const size_t y_size = y_view.size();
  935|  10.3k|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (935:31): [True: 4.43k, False: 5.89k]
  ------------------
  936|  4.43k|        {
  937|  4.43k|            d = this_view[i] + carry;
  938|  4.43k|            carry = d < carry;
  939|  4.43k|            this_view[i] = d + y_view[i];
  940|  4.43k|            if (this_view[i] < d)
  ------------------
  |  Branch (940:17): [True: 632, False: 3.80k]
  ------------------
  941|    632|                carry = 1;
  942|  4.43k|        }
  943|  6.52k|        for (size_type i = y_size; i < this_size && carry != 0; i++ )
  ------------------
  |  Branch (943:36): [True: 6.08k, False: 439]
  |  Branch (943:53): [True: 632, False: 5.45k]
  ------------------
  944|    632|        {
  945|    632|            d = this_view[i] + carry;
  946|    632|            carry = d < carry;
  947|    632|            this_view[i] = d;
  948|    632|        }
  949|  5.89k|        reduce();
  950|  5.89k|        return *this;
  951|  5.89k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLIjEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  889|  31.6k|    {
  890|  31.6k|        if ( is_negative())
  ------------------
  |  Branch (890:14): [True: 0, False: 31.6k]
  ------------------
  891|      0|            return *this -= -basic_bigint<Allocator>(y);
  892|       |
  893|  31.6k|        word_type d;
  894|  31.6k|        word_type carry = 0;
  895|       |
  896|  31.6k|        auto this_view = get_storage_view();
  897|  31.6k|        resize(this_view.size() + 1);
  898|       |
  899|  31.6k|        this_view = get_storage_view();
  900|  31.6k|        const size_type this_size = this_view.size();
  901|  31.6k|        size_type y_size = 1;
  902|       |
  903|  31.6k|        d = this_view[0] + carry;
  904|  31.6k|        carry = d < carry;
  905|  31.6k|        this_view[0] = d + y;
  906|  31.6k|        if (this_view[0] < d)
  ------------------
  |  Branch (906:13): [True: 3.18k, False: 28.4k]
  ------------------
  907|  3.18k|            carry = 1;
  908|       |
  909|  34.7k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (909:36): [True: 26.0k, False: 8.72k]
  |  Branch (909:53): [True: 3.18k, False: 22.8k]
  ------------------
  910|  3.18k|        {
  911|  3.18k|            d = this_view[i] + carry;
  912|  3.18k|            carry = d < carry;
  913|  3.18k|            this_view[i] = d;
  914|  3.18k|        }
  915|  31.6k|        reduce();
  916|  31.6k|        return *this;
  917|  31.6k|    }

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

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

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  12.2k|    {       
  242|  12.2k|        return (ptr);
  243|  12.2k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|  1.14M|    {       
  242|  1.14M|        return (ptr);
  243|  1.14M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  7.93M|    {       
  242|  7.93M|        return (ptr);
  243|  7.93M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  3.94M|    {       
  242|  3.94M|        return (ptr);
  243|  3.94M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|  1.15M|    {       
  242|  1.15M|        return (ptr);
  243|  1.15M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerImEEPT_S3_:
  241|   109k|    {       
  242|   109k|        return (ptr);
  243|   109k|    }  

_ZN8jsoncons16decstr_to_doubleEPKcmRd:
  866|  4.36k|{
  867|  4.36k|    const char* cur = s+length;
  868|  4.36k|    char *end = nullptr;
  869|  4.36k|    val = strtod(s, &end);
  870|  4.36k|    const char* str_end = end;
  871|  4.36k|    if (JSONCONS_UNLIKELY(end < cur))
  ------------------
  |  |   78|  4.36k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 4.36k]
  |  |  ------------------
  ------------------
  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.36k|    if (JSONCONS_UNLIKELY(val <= -HUGE_VAL || val >= HUGE_VAL))
  ------------------
  |  |   78|  8.73k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 4.36k]
  |  |  |  Branch (78:50): [True: 0, False: 4.36k]
  |  |  |  Branch (78:50): [True: 0, False: 4.36k]
  |  |  ------------------
  ------------------
  888|      0|    {
  889|      0|        return to_number_result<char>{str_end, std::errc::result_out_of_range};
  890|      0|    }
  891|  4.36k|    return to_number_result<char>{str_end};
  892|  4.36k|}
_ZN8jsoncons16to_number_resultIcEC2EPKc:
  137|  4.36k|        : ptr(ptr_), ec(std::errc{})
  138|  4.36k|    {
  139|  4.36k|    }

_ZN8jsoncons14unicode_traits8validateIhEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  2.10M|    {
 1148|  2.10M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  2.10M|        const uint8_t* end = it + length;
 1150|       |
 1151|  2.10M|        unicode_errc  result{};
 1152|  2.15M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 50.5k, False: 2.10M]
  ------------------
 1153|  50.5k|        {
 1154|  50.5k|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 37.9k, False: 12.5k]
  ------------------
 1155|  37.9k|            {
 1156|   251k|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  281|  75.9k|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (281:32): [True: 36.8k, False: 1.14k]
  |  |  |  Branch (281:34): [True: 36.5k, False: 332]
  |  |  |  Branch (281:36): [True: 36.1k, False: 384]
  |  |  |  Branch (281:38): [True: 35.8k, False: 241]
  |  |  |  Branch (281:40): [True: 35.6k, False: 235]
  |  |  |  Branch (281:42): [True: 35.3k, False: 275]
  |  |  |  Branch (281:44): [True: 35.1k, False: 230]
  |  |  |  Branch (281:46): [True: 34.9k, False: 213]
  |  |  ------------------
  ------------------
 1157|  34.9k|                continue;
 1158|   251k|            }
 1159|  15.5k|    non_ascii:
 1160|  15.5k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  15.5k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 34, False: 15.5k]
  ------------------
 1162|     34|            {
 1163|     34|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     34|            }
 1165|  15.5k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 188, False: 15.3k]
  ------------------
 1166|    188|            {
 1167|    188|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    188|            }
 1169|  15.3k|            it += len;
 1170|  15.3k|        }
 1171|  2.10M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  2.10M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  15.5k|    {
  306|  15.5k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  15.5k|        const uint8_t* end = it+length;
  308|       |
  309|  15.5k|        uint8_t byte;
  310|  15.5k|        switch (length) {
  311|     21|        default:
  ------------------
  |  Branch (311:9): [True: 21, False: 15.5k]
  ------------------
  312|     21|            return unicode_errc::over_long_utf8_sequence;
  313|    539|        case 4:
  ------------------
  |  Branch (313:9): [True: 539, False: 15.0k]
  ------------------
  314|    539|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 14, False: 525]
  ------------------
  315|     14|                return unicode_errc::bad_continuation_byte;
  316|    525|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|    525|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  1.45k|        case 3:
  ------------------
  |  Branch (317:9): [True: 927, False: 14.6k]
  ------------------
  318|  1.45k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 8, False: 1.44k]
  ------------------
  319|      8|                return unicode_errc::bad_continuation_byte;
  320|  1.44k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.44k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  3.43k|        case 2:
  ------------------
  |  Branch (321:9): [True: 1.99k, False: 13.5k]
  ------------------
  322|  3.43k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 56, False: 3.37k]
  ------------------
  323|     56|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  3.37k|            switch (*it) 
  326|  3.37k|            {
  327|       |                // no fall-through in this inner switch
  328|    572|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 572, False: 2.80k]
  |  Branch (328:32): [True: 7, False: 565]
  ------------------
  329|    565|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 281, False: 3.09k]
  |  Branch (329:32): [True: 1, False: 280]
  ------------------
  330|    280|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 205, False: 3.17k]
  |  Branch (330:32): [True: 5, False: 200]
  ------------------
  331|    245|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 245, False: 3.13k]
  |  Branch (331:32): [True: 3, False: 242]
  ------------------
  332|  2.07k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 2.07k, False: 1.30k]
  |  Branch (332:32): [True: 0, False: 2.07k]
  ------------------
  333|  3.37k|            }
  334|       |
  335|  3.36k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  3.36k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  15.4k|        case 1:
  ------------------
  |  Branch (336:9): [True: 12.0k, False: 3.47k]
  ------------------
  337|  15.4k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 3.43k, False: 12.0k]
  |  Branch (337:32): [True: 72, False: 3.36k]
  ------------------
  338|     72|                return unicode_errc::source_illegal;
  339|  15.3k|            break;
  340|  15.5k|        }
  341|  15.3k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 1, False: 15.3k]
  ------------------
  342|      1|            return unicode_errc::source_illegal;
  343|       |
  344|  15.3k|        return unicode_errc();
  345|  15.3k|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  20.9M|{
   43|  20.9M|    using char_type = typename Result::value_type;
   44|       |
   45|  20.9M|    char_type buf[255];
   46|  20.9M|    char_type *p = buf;
   47|  20.9M|    const char_type* last = buf+255;
   48|       |
   49|  20.9M|    bool is_negative = value < 0;
   50|       |
   51|  20.9M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 20.9M]
  ------------------
   52|      0|    {
   53|      0|        do
   54|      0|        {
   55|      0|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|      0|        }
   57|      0|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 0, False: 0]
  |  Branch (57:33): [True: 0, False: 0]
  ------------------
   58|      0|    }
   59|  20.9M|    else
   60|  20.9M|    {
   61|       |
   62|  20.9M|        do
   63|  25.6M|        {
   64|  25.6M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  25.6M|        }
   66|  25.6M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 4.70M, False: 20.9M]
  |  Branch (66:33): [True: 4.70M, False: 0]
  ------------------
   67|  20.9M|    }
   68|  20.9M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  20.9M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 20.9M]
  |  |  ------------------
  |  |   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|  20.9M|    std::size_t count = (p - buf);
   71|  20.9M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 20.9M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  46.6M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 25.6M, False: 20.9M]
  ------------------
   77|  25.6M|    {
   78|  25.6M|        result.push_back(*p);
   79|  25.6M|    }
   80|       |
   81|  20.9M|    return count;
   82|  20.9M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  3.66M|{
   43|  3.66M|    using char_type = typename Result::value_type;
   44|       |
   45|  3.66M|    char_type buf[255];
   46|  3.66M|    char_type *p = buf;
   47|  3.66M|    const char_type* last = buf+255;
   48|       |
   49|  3.66M|    bool is_negative = value < 0;
   50|       |
   51|  3.66M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 3.66M, False: 913]
  ------------------
   52|  3.66M|    {
   53|  3.66M|        do
   54|  7.32M|        {
   55|  7.32M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  7.32M|        }
   57|  7.32M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 3.66M, False: 3.66M]
  |  Branch (57:33): [True: 3.66M, False: 0]
  ------------------
   58|  3.66M|    }
   59|    913|    else
   60|    913|    {
   61|       |
   62|    913|        do
   63|  6.15k|        {
   64|  6.15k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  6.15k|        }
   66|  6.15k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 5.24k, False: 913]
  |  Branch (66:33): [True: 5.24k, False: 0]
  ------------------
   67|    913|    }
   68|  3.66M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  3.66M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.66M]
  |  |  ------------------
  |  |   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|  3.66M|    std::size_t count = (p - buf);
   71|  3.66M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 3.66M, False: 913]
  ------------------
   72|  3.66M|    {
   73|  3.66M|        result.push_back('-');
   74|  3.66M|        ++count;
   75|  3.66M|    }
   76|  11.0M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 7.33M, False: 3.66M]
  ------------------
   77|  7.33M|    {
   78|  7.33M|        result.push_back(*p);
   79|  7.33M|    }
   80|       |
   81|  3.66M|    return count;
   82|  3.66M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|  69.5k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|  69.5k|    {
  489|  69.5k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|  69.5k|        struct lconv *lc = localeconv();
  491|  69.5k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 69.5k, False: 0]
  |  Branch (491:30): [True: 69.5k, False: 0]
  ------------------
  492|  69.5k|        {
  493|  69.5k|            decimal_point_ = lc->decimal_point[0];
  494|  69.5k|        }
  495|  69.5k|#endif
  496|  69.5k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|  69.5k|    {
  504|  69.5k|        std::size_t count = 0;
  505|       |
  506|  69.5k|        char number_buffer[200];
  507|  69.5k|        int length = 0;
  508|       |
  509|  69.5k|        switch (float_format_)
  510|  69.5k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 69.5k]
  ------------------
  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: 69.5k]
  ------------------
  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|  69.5k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 69.5k, False: 0]
  ------------------
  552|  69.5k|            {
  553|  69.5k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 69.5k]
  ------------------
  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|  69.5k|                else
  563|  69.5k|                {
  564|  69.5k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 69.5k]
  ------------------
  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|  69.5k|                }             
  569|  69.5k|                break;
  570|  69.5k|            }
  571|  69.5k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 69.5k]
  ------------------
  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|  69.5k|        }
  575|  69.5k|        return count;
  576|  69.5k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  4.36k|{
  244|  4.36k|    const char *sbeg = buffer;
  245|  4.36k|    const char *send = sbeg + length;
  246|       |
  247|  4.36k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 4.36k, False: 0]
  ------------------
  248|  4.36k|    {
  249|  4.36k|        bool needs_dot = true;
  250|  73.8k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 69.5k, False: 4.36k]
  ------------------
  251|  69.5k|        {
  252|  69.5k|            switch (*q)
  253|  69.5k|            {
  254|  2.32k|            case '-':
  ------------------
  |  Branch (254:13): [True: 2.32k, False: 67.1k]
  ------------------
  255|  5.03k|            case '0':
  ------------------
  |  Branch (255:13): [True: 2.71k, False: 66.8k]
  ------------------
  256|  12.5k|            case '1':
  ------------------
  |  Branch (256:13): [True: 7.53k, False: 61.9k]
  ------------------
  257|  17.2k|            case '2':
  ------------------
  |  Branch (257:13): [True: 4.66k, False: 64.8k]
  ------------------
  258|  21.1k|            case '3':
  ------------------
  |  Branch (258:13): [True: 3.87k, False: 65.6k]
  ------------------
  259|  26.7k|            case '4':
  ------------------
  |  Branch (259:13): [True: 5.64k, False: 63.8k]
  ------------------
  260|  36.8k|            case '5':
  ------------------
  |  Branch (260:13): [True: 10.0k, False: 59.4k]
  ------------------
  261|  41.3k|            case '6':
  ------------------
  |  Branch (261:13): [True: 4.46k, False: 65.0k]
  ------------------
  262|  47.7k|            case '7':
  ------------------
  |  Branch (262:13): [True: 6.41k, False: 63.1k]
  ------------------
  263|  52.8k|            case '8':
  ------------------
  |  Branch (263:13): [True: 5.14k, False: 64.3k]
  ------------------
  264|  57.3k|            case '9':
  ------------------
  |  Branch (264:13): [True: 4.43k, False: 65.0k]
  ------------------
  265|  59.8k|            case '+':
  ------------------
  |  Branch (265:13): [True: 2.48k, False: 67.0k]
  ------------------
  266|  59.8k|                result.push_back(*q);
  267|  59.8k|                break;
  268|  2.77k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 2.77k, False: 66.7k]
  ------------------
  269|  2.77k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 69.5k]
  ------------------
  270|  2.77k|                result.push_back('e');
  271|  2.77k|                needs_dot = false;
  272|  2.77k|                break;
  273|  6.94k|            default:
  ------------------
  |  Branch (273:13): [True: 6.94k, False: 62.5k]
  ------------------
  274|  6.94k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 3.03k, False: 3.90k]
  ------------------
  275|  3.03k|                {
  276|  3.03k|                    needs_dot = false;
  277|  3.03k|                    result.push_back('.');
  278|  3.03k|                }
  279|  6.94k|                break;
  280|  69.5k|            }
  281|  69.5k|        }
  282|  4.36k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 1.33k, False: 3.03k]
  ------------------
  283|  1.33k|        {
  284|  1.33k|            result.push_back('.');
  285|  1.33k|            result.push_back('0');
  286|  1.33k|        }
  287|  4.36k|    }
  288|  4.36k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKciiiiRT_:
  171|  63.4k|{
  172|  63.4k|    int nb_digits = length;
  173|  63.4k|    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|  63.4k|    int kk = nb_digits + k;
  179|       |
  180|  63.4k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 42.5k, False: 20.8k]
  |  Branch (180:28): [True: 33.1k, False: 9.46k]
  ------------------
  181|  33.1k|    {
  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|   269k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 236k, False: 33.1k]
  ------------------
  186|   236k|        {
  187|   236k|            result.push_back(buffer[i]);
  188|   236k|        }
  189|  35.2k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 2.07k, False: 33.1k]
  ------------------
  190|  2.07k|        {
  191|  2.07k|            result.push_back('0');
  192|  2.07k|        }
  193|  33.1k|        result.push_back('.');
  194|  33.1k|        result.push_back('0');
  195|  33.1k|    } 
  196|  30.3k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 15.9k, False: 14.3k]
  |  Branch (196:24): [True: 6.47k, False: 9.46k]
  ------------------
  197|  6.47k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  29.2k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 22.8k, False: 6.47k]
  ------------------
  200|  22.8k|        {
  201|  22.8k|            result.push_back(buffer[i]);
  202|  22.8k|        }
  203|  6.47k|        result.push_back('.');
  204|  72.6k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 66.1k, False: 6.47k]
  ------------------
  205|  66.1k|        {
  206|  66.1k|            result.push_back(buffer[i]);
  207|  66.1k|        }
  208|  6.47k|    } 
  209|  23.8k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 10.8k, False: 12.9k]
  |  Branch (209:30): [True: 1.40k, False: 9.46k]
  ------------------
  210|  1.40k|    {
  211|  1.40k|        offset = 2 - kk;
  212|       |
  213|  1.40k|        result.push_back('0');
  214|  1.40k|        result.push_back('.');
  215|  3.78k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 2.38k, False: 1.40k]
  ------------------
  216|  2.38k|            result.push_back('0');
  217|  17.7k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 16.3k, False: 1.40k]
  ------------------
  218|  16.3k|        {
  219|  16.3k|            result.push_back(buffer[i]);
  220|  16.3k|        }
  221|  1.40k|    } 
  222|  22.4k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 1.92k, False: 20.5k]
  ------------------
  223|  1.92k|    {
  224|  1.92k|        result.push_back(buffer[0]);
  225|  1.92k|        result.push_back('e');
  226|  1.92k|        fill_exponent(kk - 1, result);
  227|  1.92k|    } 
  228|  20.5k|    else
  229|  20.5k|    {
  230|  20.5k|        result.push_back(buffer[0]);
  231|  20.5k|        result.push_back('.');
  232|   325k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 304k, False: 20.5k]
  ------------------
  233|   304k|        {
  234|   304k|            result.push_back(buffer[i]);
  235|   304k|        }
  236|  20.5k|        result.push_back('e');
  237|  20.5k|        fill_exponent(kk - 1, result);
  238|  20.5k|    }
  239|  63.4k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  22.4k|{
  137|  22.4k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 12.9k, False: 9.46k]
  ------------------
  138|  12.9k|    {
  139|  12.9k|        result.push_back('-');
  140|  12.9k|        K = -K;
  141|  12.9k|    }
  142|  9.46k|    else
  143|  9.46k|    {
  144|  9.46k|        result.push_back('+'); // compatibility with sprintf
  145|  9.46k|    }
  146|       |
  147|  22.4k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 2.01k, False: 20.4k]
  ------------------
  148|  2.01k|    {
  149|  2.01k|        result.push_back('0'); // compatibility with sprintf
  150|  2.01k|        result.push_back((char)('0' + K));
  151|  2.01k|    }
  152|  20.4k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 12.1k, False: 8.25k]
  ------------------
  153|  12.1k|    {
  154|  12.1k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  12.1k|        result.push_back((char)('0' + K));
  156|  12.1k|    }
  157|  8.25k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 8.25k, False: 0]
  ------------------
  158|  8.25k|    {
  159|  8.25k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  8.25k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  8.25k|        result.push_back((char)('0' + K));
  162|  8.25k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  22.4k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|  69.5k|{
  476|  69.5k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|  69.5k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|  69.5k|{
  367|  69.5k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 1.75k, False: 67.8k]
  ------------------
  368|  1.75k|    {
  369|  1.75k|        result.push_back('0');
  370|  1.75k|        result.push_back('.');
  371|  1.75k|        result.push_back('0');
  372|  1.75k|        return true;
  373|  1.75k|    }
  374|       |
  375|  67.8k|    int length = 0;
  376|  67.8k|    int k;
  377|       |
  378|  67.8k|    char buffer[100];
  379|       |
  380|  67.8k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 55.7k, False: 12.0k]
  ------------------
  381|  67.8k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 63.4k, False: 4.36k]
  ------------------
  382|  63.4k|    {
  383|  63.4k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 53.7k, False: 9.68k]
  ------------------
  384|  53.7k|        {
  385|  53.7k|            result.push_back('-');
  386|  53.7k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|  63.4k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|  63.4k|        return true;
  391|  63.4k|    }
  392|  4.36k|    else
  393|  4.36k|    {
  394|  4.36k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  4.36k|    }
  396|  67.8k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  4.36k|{
  330|  4.36k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 4.36k]
  ------------------
  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.36k|    char buffer[100];
  339|  4.36k|    int precision = std::numeric_limits<double>::digits10;
  340|  4.36k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  4.36k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 4.36k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  4.36k|    double x{0};
  346|  4.36k|    auto res = decstr_to_double(buffer, length, x);
  347|  4.36k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 4.36k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  4.36k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 3.17k, False: 1.19k]
  ------------------
  352|  3.17k|    {
  353|  3.17k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  3.17k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  3.17k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 3.17k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  3.17k|    }
  360|  4.36k|    dump_buffer(buffer, length, decimal_point, result);
  361|  4.36k|    return true;
  362|  4.36k|}

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

_ZN8jsoncons7msgpack15make_error_codeENS0_12msgpack_errcE:
   82|  4.70k|{
   83|  4.70k|    return std::error_code(static_cast<int>(e),msgpack_error_category());
   84|  4.70k|}
_ZN8jsoncons7msgpack22msgpack_error_categoryEv:
   75|  4.70k|{
   76|  4.70k|  static msgpack_error_category_impl instance;
   77|  4.70k|  return instance;
   78|  4.70k|}
_ZNK8jsoncons7msgpack27msgpack_error_category_impl7messageEi:
   42|  4.70k|    {
   43|  4.70k|        switch (static_cast<msgpack_errc>(ev))
   44|  4.70k|        {
   45|  4.45k|            case msgpack_errc::unexpected_eof:
  ------------------
  |  Branch (45:13): [True: 4.45k, False: 253]
  ------------------
   46|  4.45k|                return "Unexpected end of file";
   47|      0|            case msgpack_errc::source_error:
  ------------------
  |  Branch (47:13): [True: 0, False: 4.70k]
  ------------------
   48|      0|                return "Source error";
   49|    222|            case msgpack_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (49:13): [True: 222, False: 4.48k]
  ------------------
   50|    222|                return "Illegal UTF-8 encoding in text string";
   51|      0|            case msgpack_errc::array_length_required:
  ------------------
  |  Branch (51:13): [True: 0, False: 4.70k]
  ------------------
   52|      0|                return "MessagePack encoder requires array length";
   53|      0|            case msgpack_errc::object_length_required:
  ------------------
  |  Branch (53:13): [True: 0, False: 4.70k]
  ------------------
   54|      0|                return "MessagePack encoder requires object length";
   55|      0|            case msgpack_errc::too_many_items:
  ------------------
  |  Branch (55:13): [True: 0, False: 4.70k]
  ------------------
   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.70k]
  ------------------
   58|      0|                return "Too few items were added to a MessagePack object or array";
   59|      6|            case msgpack_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (59:13): [True: 6, False: 4.70k]
  ------------------
   60|      6|                return "Data item nesting exceeds limit in options";
   61|      0|            case msgpack_errc::length_is_negative:
  ------------------
  |  Branch (61:13): [True: 0, False: 4.70k]
  ------------------
   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.70k]
  ------------------
   64|      0|                return "Invalid timestamp";
   65|     25|            case msgpack_errc::unknown_type:
  ------------------
  |  Branch (65:13): [True: 25, False: 4.68k]
  ------------------
   66|     25|                return "Unknown type in input";
   67|      0|            default:
  ------------------
  |  Branch (67:13): [True: 0, False: 4.70k]
  ------------------
   68|      0|                return "Unknown MessagePack parser error";
   69|  4.70k|        }
   70|  4.70k|    }

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

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

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

