LLVMFuzzerTestOneInput:
   13|  6.92k|{
   14|  6.92k|    try {
   15|  6.92k|        std::vector<uint8_t> bytes(data, data + size);
   16|  6.92k|        json j = msgpack::decode_msgpack<json>(bytes.begin(), bytes.end());
   17|  6.92k|    }
   18|  6.92k|    catch(const jsoncons::ser_error&) {}
   19|       |
   20|  6.92k|    return 0;
   21|  6.92k|}

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2774|  97.5M|        {
 2775|  97.5M|             destroy();
 2776|  97.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  898|  97.5M|        {
  899|  97.5M|            switch (storage_kind())
  900|  97.5M|            {
  901|  27.7k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (901:17): [True: 27.7k, False: 97.5M]
  ------------------
  902|  27.7k|                {
  903|  27.7k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (903:25): [True: 27.7k, False: 0]
  ------------------
  904|  27.7k|                    {
  905|  27.7k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  906|  27.7k|                    }
  907|  27.7k|                    break;
  908|      0|                }
  909|   269k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (909:17): [True: 269k, False: 97.3M]
  ------------------
  910|   269k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (910:25): [True: 269k, False: 0]
  ------------------
  911|   269k|                    {
  912|   269k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  913|   269k|                    }
  914|   269k|                    break;
  915|   683k|                case json_storage_kind::array:
  ------------------
  |  Branch (915:17): [True: 683k, False: 96.9M]
  ------------------
  916|   683k|                {
  917|   683k|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (917:25): [True: 683k, False: 0]
  ------------------
  918|   683k|                    {
  919|   683k|                        auto& stor = cast<array_storage>();
  920|   683k|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  921|   683k|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, nonstd::to_plain_pointer(stor.ptr_));
  922|   683k|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  923|   683k|                    }
  924|   683k|                    break;
  925|      0|                }
  926|   663k|                case json_storage_kind::object:
  ------------------
  |  Branch (926:17): [True: 663k, False: 96.9M]
  ------------------
  927|   663k|                {
  928|   663k|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (928:25): [True: 663k, False: 0]
  ------------------
  929|   663k|                    {
  930|   663k|                        auto& stor = cast<object_storage>();
  931|   663k|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  932|   663k|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, nonstd::to_plain_pointer(stor.ptr_));
  933|   663k|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  934|   663k|                    }
  935|   663k|                    break;
  936|      0|                }
  937|  95.9M|                default:
  ------------------
  |  Branch (937:17): [True: 95.9M, False: 1.64M]
  ------------------
  938|  95.9M|                    break;
  939|  97.5M|            }
  940|  97.5M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1462|   215M|        {
 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|   215M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1468|   215M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1004|   275k|        {
 1005|   275k|            return cast(identity<T>());
 1006|   275k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1095|   275k|        {
 1096|   275k|            return long_str_;
 1097|   275k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1004|  2.23M|        {
 1005|  2.23M|            return cast(identity<T>());
 1006|  2.23M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1105|  2.23M|        {
 1106|  2.23M|            return byte_str_;
 1107|  2.23M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1004|  10.3M|        {
 1005|  10.3M|            return cast(identity<T>());
 1006|  10.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1125|  10.3M|        {
 1126|  10.3M|            return array_;
 1127|  10.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2307|  65.1M|        {
 2308|  65.1M|            uninitialized_move(std::move(other));
 2309|  65.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1302|  65.1M|        {
 1303|  65.1M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1303:17): [True: 61.3M, False: 3.84M]
  ------------------
 1304|  61.3M|            {
 1305|  61.3M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1306|  61.3M|            }
 1307|  3.84M|            else
 1308|  3.84M|            {
 1309|  3.84M|                switch (other.storage_kind())
 1310|  3.84M|                {
 1311|  54.0k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1311:21): [True: 54.0k, False: 3.78M]
  ------------------
 1312|  54.0k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1313|  54.0k|                        other.construct<null_storage>();
 1314|  54.0k|                        break;
 1315|   519k|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1315:21): [True: 519k, False: 3.32M]
  ------------------
 1316|   519k|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1317|   519k|                        other.construct<null_storage>();
 1318|   519k|                        break;
 1319|  1.60M|                    case json_storage_kind::array:
  ------------------
  |  Branch (1319:21): [True: 1.60M, False: 2.23M]
  ------------------
 1320|  1.60M|                        construct<array_storage>(other.cast<array_storage>());
 1321|  1.60M|                        other.construct<null_storage>();
 1322|  1.60M|                        break;
 1323|  1.65M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1323:21): [True: 1.65M, False: 2.18M]
  ------------------
 1324|  1.65M|                        construct<object_storage>(other.cast<object_storage>());
 1325|  1.65M|                        other.construct<null_storage>();
 1326|  1.65M|                        break;
 1327|      0|                    default:
  ------------------
  |  Branch (1327:21): [True: 0, False: 3.84M]
  ------------------
 1328|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1329|      0|                        break;
 1330|  3.84M|                }
 1331|  3.84M|            }
 1332|  65.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  995|  96.1k|        {
  996|  96.1k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  96.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  626|   138k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  627|   138k|            {
  628|   138k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  995|  3.84M|        {
  996|  3.84M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  3.84M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1004|  5.79M|        {
 1005|  5.79M|            return cast(identity<T>());
 1006|  5.79M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1015|  5.79M|        {
 1016|  5.79M|            return null_;
 1017|  5.79M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  450|  4.28M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  451|  4.28M|            {
  452|  4.28M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  995|   714k|        {
  996|   714k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   714k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  675|   910k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  676|   910k|            {
  677|   910k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  995|  2.45M|        {
  996|  2.45M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.45M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  727|  3.30M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  728|  3.30M|            {
  729|  3.30M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  995|  2.09M|        {
  996|  2.09M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.09M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  777|  2.53M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  778|  2.53M|            {
  779|  2.53M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4759|   187k|        {
 4760|   187k|            switch (storage_kind())
 4761|   187k|            {
 4762|   187k|                case json_storage_kind::array:
  ------------------
  |  Branch (4762:17): [True: 187k, False: 0]
  ------------------
 4763|   187k|                    return array_range_type(cast<array_storage>().value().begin(),
 4764|   187k|                        cast<array_storage>().value().end());
 4765|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4765:17): [True: 0, False: 187k]
  ------------------
 4766|      0|                    return cast<json_ref_storage>().value().array_range();
 4767|      0|                default:
  ------------------
  |  Branch (4767:17): [True: 0, False: 187k]
  ------------------
 4768|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4769|   187k|            }
 4770|   187k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  3.35M|            {
  751|  3.35M|                return *ptr_;
  752|  3.35M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|   187k|            : first_(first), last_(last)
  349|   187k|        {
  350|   187k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|   187k|        {
  354|   187k|            return first_;
  355|   187k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|   187k|        {
  358|   187k|            return last_;
  359|   187k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3425|   352k|        {
 3426|   352k|            switch (storage_kind())
 3427|   352k|            {
 3428|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 352k]
  ------------------
 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: 352k]
  ------------------
 3432|      0|                    return cast<short_string_storage>().length() == 0;
 3433|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3433:17): [True: 0, False: 352k]
  ------------------
 3434|      0|                    return cast<long_string_storage>().length() == 0;
 3435|   147k|                case json_storage_kind::array:
  ------------------
  |  Branch (3435:17): [True: 147k, False: 205k]
  ------------------
 3436|   147k|                    return cast<array_storage>().value().empty();
 3437|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3437:17): [True: 0, False: 352k]
  ------------------
 3438|      0|                    return true;
 3439|   205k|                case json_storage_kind::object:
  ------------------
  |  Branch (3439:17): [True: 205k, False: 147k]
  ------------------
 3440|   205k|                    return cast<object_storage>().value().empty();
 3441|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3441:17): [True: 0, False: 352k]
  ------------------
 3442|      0|                    return cast<const_json_ref_storage>().value().empty();
 3443|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3443:17): [True: 0, False: 352k]
  ------------------
 3444|      0|                    return cast<json_ref_storage>().value().empty();
 3445|      0|                default:
  ------------------
  |  Branch (3445:17): [True: 0, False: 352k]
  ------------------
 3446|      0|                    return false;
 3447|   352k|            }
 3448|   352k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1010|   147k|        {
 1011|   147k|            return cast(identity<T>());
 1012|   147k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|   147k|        {
 1131|   147k|            return array_;
 1132|   147k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|   147k|            {
  756|   147k|                return *ptr_;
  757|   147k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1010|   205k|        {
 1011|   205k|            return cast(identity<T>());
 1012|   205k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|   205k|        {
 1121|   205k|            return object_;
 1122|   205k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  801|   205k|            {
  802|   205k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   54|   205k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 205k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  803|   205k|                return *ptr_;
  804|   205k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4156|   437k|        {
 4157|   437k|            switch (storage_kind())
 4158|   437k|            {
 4159|   187k|                case json_storage_kind::array:
  ------------------
  |  Branch (4159:17): [True: 187k, False: 250k]
  ------------------
 4160|   187k|                    cast<array_storage>().value().clear();
 4161|   187k|                    break;
 4162|   250k|                case json_storage_kind::object:
  ------------------
  |  Branch (4162:17): [True: 250k, False: 187k]
  ------------------
 4163|   250k|                    cast<object_storage>().value().clear();
 4164|   250k|                    break;
 4165|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4165:17): [True: 0, False: 437k]
  ------------------
 4166|      0|                    cast<json_ref_storage>().value().clear();
 4167|      0|                    break;
 4168|      0|                default:
  ------------------
  |  Branch (4168:17): [True: 0, False: 437k]
  ------------------
 4169|      0|                    break;
 4170|   437k|            }
 4171|   437k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  795|  1.12M|            {
  796|  1.12M|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   54|  1.12M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 1.12M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  797|  1.12M|                return *ptr_;
  798|  1.12M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4725|   250k|        {
 4726|   250k|            switch (storage_kind())
 4727|   250k|            {
 4728|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4728:17): [True: 0, False: 250k]
  ------------------
 4729|      0|                    return object_range_type(object_iterator(), object_iterator());
 4730|   250k|                case json_storage_kind::object:
  ------------------
  |  Branch (4730:17): [True: 250k, False: 0]
  ------------------
 4731|   250k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4732|   250k|                                                  object_iterator(cast<object_storage>().value().end()));
 4733|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4733:17): [True: 0, False: 250k]
  ------------------
 4734|      0|                    return cast<json_ref_storage>().value().object_range();
 4735|      0|                default:
  ------------------
  |  Branch (4735:17): [True: 0, False: 250k]
  ------------------
 4736|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4737|   250k|            }
 4738|   250k|        }
_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|   250k|            : first_(first), last_(last)
  349|   250k|        {
  350|   250k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|   500k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|   500k|            {
  120|   500k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  353|   250k|        {
  354|   250k|            return first_;
  355|   250k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  357|   250k|        {
  358|   250k|            return last_;
  359|   250k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|   717k|            {
  219|   717k|                return !(*this == rhs);
  220|   717k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|   717k|            {
  210|   717k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   78|  1.43M|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 717k, False: 0]
  |  |  |  Branch (78:48): [True: 717k, False: 0]
  |  |  |  Branch (78:48): [True: 717k, False: 0]
  |  |  ------------------
  ------------------
  211|   717k|                {
  212|   717k|                    return current_ == rhs.current_;
  213|   717k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|   717k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|   467k|            {
  141|   467k|                return *current_;
  142|   467k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|   467k|            {
  151|   467k|                ++current_;
  152|   467k|                return *this;
  153|   467k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1004|  7.30M|        {
 1005|  7.30M|            return cast(identity<T>());
 1006|  7.30M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1115|  7.30M|        {
 1116|  7.30M|            return object_;
 1117|  7.30M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2275|  6.92k|        {
 2276|  6.92k|            construct<empty_object_storage>(semantic_tag::none);
 2277|  6.92k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  995|  6.92k|        {
  996|  6.92k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  6.92k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1004|  10.9k|        {
 1005|  10.9k|            return cast(identity<T>());
 1006|  10.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1025|  10.9k|        {
 1026|  10.9k|            return empty_object_;
 1027|  10.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  462|  6.92k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|  6.92k|            {
  464|  6.92k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3484|   274k|        {
 3485|   274k|            if (n > 0)
  ------------------
  |  Branch (3485:17): [True: 274k, False: 0]
  ------------------
 3486|   274k|            {
 3487|   274k|                switch (storage_kind())
 3488|   274k|                {
 3489|   274k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3489:21): [True: 274k, False: 0]
  ------------------
 3490|   274k|                        cast<array_storage>().value().reserve(n);
 3491|   274k|                        break;
 3492|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3492:21): [True: 0, False: 274k]
  ------------------
 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: 274k]
  ------------------
 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: 274k]
  ------------------
 3500|      0|                        cast<json_ref_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    default:
  ------------------
  |  Branch (3502:21): [True: 0, False: 274k]
  ------------------
 3503|      0|                        break;
 3504|   274k|                }
 3505|   274k|            }
 3506|   274k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2320|   663k|        {
 2321|   663k|            auto ptr = create_object(alloc);
 2322|   663k|            construct<object_storage>(ptr, tag);
 2323|   663k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  976|   663k|        {
  977|   663k|            using stor_allocator_type = typename object_storage::allocator_type;
  978|   663k|            stor_allocator_type stor_alloc(alloc);
  979|   663k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  980|   663k|            JSONCONS_TRY
  ------------------
  |  |   37|   663k|    #define JSONCONS_TRY try
  ------------------
  981|   663k|            {
  982|   663k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, nonstd::to_plain_pointer(ptr), 
  983|   663k|                    std::forward<Args>(args)...);
  984|   663k|            }
  985|   663k|            JSONCONS_CATCH(...)
  986|   663k|            {
  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|   663k|            return ptr;
  991|   663k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|   663k|        {
  996|   663k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   663k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  772|   663k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  773|   663k|            {
  774|   663k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4701|  2.52M|        {
 4702|  2.52M|            switch (storage_kind())
 4703|  2.52M|            {
 4704|  2.52M|                case json_storage_kind::array:
  ------------------
  |  Branch (4704:17): [True: 2.52M, False: 0]
  ------------------
 4705|  2.52M|                    cast<array_storage>().value().push_back(std::move(val));
 4706|  2.52M|                    break;
 4707|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4707:17): [True: 0, False: 2.52M]
  ------------------
 4708|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4709|      0|                    break;
 4710|      0|                default:
  ------------------
  |  Branch (4710:17): [True: 0, False: 2.52M]
  ------------------
 4711|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Attempting to insert into a value that is not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4712|  2.52M|            }
 4713|  2.52M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1453|  16.7M|        {
 1454|  16.7M|            if (this != &other)
  ------------------
  |  Branch (1454:17): [True: 16.7M, False: 0]
  ------------------
 1455|  16.7M|            {
 1456|  16.7M|                move_assignment(std::move(other));
 1457|  16.7M|            }
 1458|  16.7M|            return *this;
 1459|  16.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1415|  16.7M|        {
 1416|  16.7M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1416:17): [True: 16.7M, False: 0]
  |  Branch (1416:55): [True: 15.2M, False: 1.52M]
  ------------------
 1417|  15.2M|            {
 1418|  15.2M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1419|  15.2M|            }
 1420|  1.52M|            else
 1421|  1.52M|            {
 1422|  1.52M|                swap(other);
 1423|  1.52M|            }
 1424|  16.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1934|  1.52M|        {
 1935|  1.52M|            if (this == &other)
  ------------------
  |  Branch (1935:17): [True: 0, False: 1.52M]
  ------------------
 1936|      0|            {
 1937|      0|                return;
 1938|      0|            }
 1939|  1.52M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1939:17): [True: 1.52M, False: 0]
  |  Branch (1939:55): [True: 0, False: 1.52M]
  ------------------
 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|  1.52M|            else
 1947|  1.52M|            {
 1948|  1.52M|                switch (storage_kind())
 1949|  1.52M|                {
 1950|   751k|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 751k, False: 770k]
  ------------------
 1951|  2.02k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 2.02k, False: 1.52M]
  ------------------
 1952|  18.5k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 18.5k, False: 1.50M]
  ------------------
 1953|   181k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 181k, False: 1.34M]
  ------------------
 1954|   532k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 532k, False: 989k]
  ------------------
 1955|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 0, False: 1.52M]
  ------------------
 1956|  23.0k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 23.0k, False: 1.49M]
  ------------------
 1957|  12.6k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 12.6k, False: 1.50M]
  ------------------
 1958|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 1.52M]
  ------------------
 1959|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 0, False: 1.52M]
  ------------------
 1960|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 0, False: 1.52M]
  ------------------
 1961|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 1.52M]
  ------------------
 1962|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 1.52M]
  ------------------
 1963|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 1.52M]
  ------------------
 1964|      0|                    default:
  ------------------
  |  Branch (1964:21): [True: 0, False: 1.52M]
  ------------------
 1965|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1966|      0|                        break;
 1967|  1.52M|                }
 1968|  1.52M|            }
 1969|  1.52M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1170|   751k|        {
 1171|   751k|            switch (other.storage_kind())
 1172|   751k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 751k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 751k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 751k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 751k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 751k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 751k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 751k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 751k]
  ------------------
 1181|  16.4k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 16.4k, False: 735k]
  ------------------
 1182|  77.1k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 77.1k, False: 674k]
  ------------------
 1183|   385k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 385k, False: 366k]
  ------------------
 1184|   272k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 272k, False: 479k]
  ------------------
 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: 751k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 751k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 751k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|   751k|            }
 1191|   751k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  995|   751k|        {
  996|   751k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   751k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  995|  2.02k|        {
  996|  2.02k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.02k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1004|  2.19M|        {
 1005|  2.19M|            return cast(identity<T>());
 1006|  2.19M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1035|  2.19M|        {
 1036|  2.19M|            return boolean_;
 1037|  2.19M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  995|  18.5k|        {
  996|  18.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  18.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1004|  4.89M|        {
 1005|  4.89M|            return cast(identity<T>());
 1006|  4.89M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1045|  4.89M|        {
 1046|  4.89M|            return int64_;
 1047|  4.89M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  995|   181k|        {
  996|   181k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   181k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1004|  18.1M|        {
 1005|  18.1M|            return cast(identity<T>());
 1006|  18.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1055|  18.1M|        {
 1056|  18.1M|            return uint64_;
 1057|  18.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  995|   532k|        {
  996|   532k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   532k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1004|   140k|        {
 1005|   140k|            return cast(identity<T>());
 1006|   140k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1075|   140k|        {
 1076|   140k|            return float64_;
 1077|   140k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  995|  23.0k|        {
  996|  23.0k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  23.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1004|  6.48M|        {
 1005|  6.48M|            return cast(identity<T>());
 1006|  6.48M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1085|  6.48M|        {
 1086|  6.48M|            return short_str_;
 1087|  6.48M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  585|  12.6k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  586|  12.6k|            {
  587|  12.6k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  588|  12.6k|                data_[short_str_length_] = 0;
  589|  12.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  995|  12.6k|        {
  996|  12.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  12.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1156|  16.4k|        {
 1157|  16.4k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  16.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  16.4k|        {
 1163|  16.4k|            TypeR temp{other.cast<TypeR>()};
 1164|  16.4k|            other.construct<TypeL>(cast<TypeL>());
 1165|  16.4k|            construct<TypeR>(temp);
 1166|  16.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  77.1k|        {
 1157|  77.1k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  77.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  77.1k|        {
 1163|  77.1k|            TypeR temp{other.cast<TypeR>()};
 1164|  77.1k|            other.construct<TypeL>(cast<TypeL>());
 1165|  77.1k|            construct<TypeR>(temp);
 1166|  77.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1156|   385k|        {
 1157|   385k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   385k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   385k|        {
 1163|   385k|            TypeR temp{other.cast<TypeR>()};
 1164|   385k|            other.construct<TypeL>(cast<TypeL>());
 1165|   385k|            construct<TypeR>(temp);
 1166|   385k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1156|   272k|        {
 1157|   272k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   272k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   272k|        {
 1163|   272k|            TypeR temp{other.cast<TypeR>()};
 1164|   272k|            other.construct<TypeL>(cast<TypeL>());
 1165|   272k|            construct<TypeR>(temp);
 1166|   272k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1170|  2.02k|        {
 1171|  2.02k|            switch (other.storage_kind())
 1172|  2.02k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.02k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.02k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.02k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.02k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.02k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.02k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.02k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.02k]
  ------------------
 1181|    656|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 656, False: 1.36k]
  ------------------
 1182|      3|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 3, False: 2.02k]
  ------------------
 1183|    203|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 203, False: 1.82k]
  ------------------
 1184|  1.16k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 1.16k, False: 862]
  ------------------
 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.02k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.02k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.02k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.02k|            }
 1191|  2.02k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1156|    656|        {
 1157|    656|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    656|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    656|        {
 1163|    656|            TypeR temp{other.cast<TypeR>()};
 1164|    656|            other.construct<TypeL>(cast<TypeL>());
 1165|    656|            construct<TypeR>(temp);
 1166|    656|        }
_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|    203|        {
 1157|    203|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    203|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    203|        {
 1163|    203|            TypeR temp{other.cast<TypeR>()};
 1164|    203|            other.construct<TypeL>(cast<TypeL>());
 1165|    203|            construct<TypeR>(temp);
 1166|    203|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1156|  1.16k|        {
 1157|  1.16k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.16k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.16k|        {
 1163|  1.16k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.16k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.16k|            construct<TypeR>(temp);
 1166|  1.16k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1170|  18.5k|        {
 1171|  18.5k|            switch (other.storage_kind())
 1172|  18.5k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 18.5k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 18.5k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 18.5k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 18.5k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 18.5k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 18.5k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 18.5k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 18.5k]
  ------------------
 1181|  2.10k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 2.10k, False: 16.4k]
  ------------------
 1182|  1.15k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 1.15k, False: 17.4k]
  ------------------
 1183|  8.55k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 8.55k, False: 10.0k]
  ------------------
 1184|  6.77k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 6.77k, False: 11.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: 18.5k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 18.5k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 18.5k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  18.5k|            }
 1191|  18.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1156|  2.10k|        {
 1157|  2.10k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.10k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.10k|        {
 1163|  2.10k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.10k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.10k|            construct<TypeR>(temp);
 1166|  2.10k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  1.15k|        {
 1157|  1.15k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.15k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.15k|        {
 1163|  1.15k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.15k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.15k|            construct<TypeR>(temp);
 1166|  1.15k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1156|  8.55k|        {
 1157|  8.55k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  8.55k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  8.55k|        {
 1163|  8.55k|            TypeR temp{other.cast<TypeR>()};
 1164|  8.55k|            other.construct<TypeL>(cast<TypeL>());
 1165|  8.55k|            construct<TypeR>(temp);
 1166|  8.55k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1156|  6.77k|        {
 1157|  6.77k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  6.77k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  6.77k|        {
 1163|  6.77k|            TypeR temp{other.cast<TypeR>()};
 1164|  6.77k|            other.construct<TypeL>(cast<TypeL>());
 1165|  6.77k|            construct<TypeR>(temp);
 1166|  6.77k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1170|   181k|        {
 1171|   181k|            switch (other.storage_kind())
 1172|   181k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 181k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 181k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 181k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 181k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 181k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 181k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 181k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 181k]
  ------------------
 1181|  8.20k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 8.20k, False: 173k]
  ------------------
 1182|  39.9k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 39.9k, False: 141k]
  ------------------
 1183|  88.4k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 88.4k, False: 93.0k]
  ------------------
 1184|  44.8k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 44.8k, False: 136k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 181k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 181k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 181k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|   181k|            }
 1191|   181k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  8.20k|        {
 1157|  8.20k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  8.20k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  8.20k|        {
 1163|  8.20k|            TypeR temp{other.cast<TypeR>()};
 1164|  8.20k|            other.construct<TypeL>(cast<TypeL>());
 1165|  8.20k|            construct<TypeR>(temp);
 1166|  8.20k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  39.9k|        {
 1157|  39.9k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  39.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  39.9k|        {
 1163|  39.9k|            TypeR temp{other.cast<TypeR>()};
 1164|  39.9k|            other.construct<TypeL>(cast<TypeL>());
 1165|  39.9k|            construct<TypeR>(temp);
 1166|  39.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1156|  88.4k|        {
 1157|  88.4k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  88.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  88.4k|        {
 1163|  88.4k|            TypeR temp{other.cast<TypeR>()};
 1164|  88.4k|            other.construct<TypeL>(cast<TypeL>());
 1165|  88.4k|            construct<TypeR>(temp);
 1166|  88.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1156|  44.8k|        {
 1157|  44.8k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  44.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  44.8k|        {
 1163|  44.8k|            TypeR temp{other.cast<TypeR>()};
 1164|  44.8k|            other.construct<TypeL>(cast<TypeL>());
 1165|  44.8k|            construct<TypeR>(temp);
 1166|  44.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1170|   532k|        {
 1171|   532k|            switch (other.storage_kind())
 1172|   532k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 532k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 532k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 532k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 532k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 532k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 532k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 532k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 532k]
  ------------------
 1181|  13.1k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 13.1k, False: 519k]
  ------------------
 1182|  75.6k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 75.6k, False: 457k]
  ------------------
 1183|   339k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 339k, False: 193k]
  ------------------
 1184|   105k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 105k, False: 427k]
  ------------------
 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: 532k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 532k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 532k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|   532k|            }
 1191|   532k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  13.1k|        {
 1157|  13.1k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  13.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  13.1k|        {
 1163|  13.1k|            TypeR temp{other.cast<TypeR>()};
 1164|  13.1k|            other.construct<TypeL>(cast<TypeL>());
 1165|  13.1k|            construct<TypeR>(temp);
 1166|  13.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  75.6k|        {
 1157|  75.6k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  75.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  75.6k|        {
 1163|  75.6k|            TypeR temp{other.cast<TypeR>()};
 1164|  75.6k|            other.construct<TypeL>(cast<TypeL>());
 1165|  75.6k|            construct<TypeR>(temp);
 1166|  75.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1156|   339k|        {
 1157|   339k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   339k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   339k|        {
 1163|   339k|            TypeR temp{other.cast<TypeR>()};
 1164|   339k|            other.construct<TypeL>(cast<TypeL>());
 1165|   339k|            construct<TypeR>(temp);
 1166|   339k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1156|   105k|        {
 1157|   105k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   105k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   105k|        {
 1163|   105k|            TypeR temp{other.cast<TypeR>()};
 1164|   105k|            other.construct<TypeL>(cast<TypeL>());
 1165|   105k|            construct<TypeR>(temp);
 1166|   105k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1170|  23.0k|        {
 1171|  23.0k|            switch (other.storage_kind())
 1172|  23.0k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 23.0k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 23.0k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 23.0k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 23.0k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 23.0k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 23.0k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 23.0k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 23.0k]
  ------------------
 1181|    221|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 221, False: 22.8k]
  ------------------
 1182|    450|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 450, False: 22.6k]
  ------------------
 1183|  20.9k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 20.9k, False: 2.07k]
  ------------------
 1184|  1.40k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 1.40k, False: 21.6k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 23.0k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 23.0k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 23.0k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  23.0k|            }
 1191|  23.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1156|    221|        {
 1157|    221|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    221|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    221|        {
 1163|    221|            TypeR temp{other.cast<TypeR>()};
 1164|    221|            other.construct<TypeL>(cast<TypeL>());
 1165|    221|            construct<TypeR>(temp);
 1166|    221|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    450|        {
 1157|    450|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    450|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    450|        {
 1163|    450|            TypeR temp{other.cast<TypeR>()};
 1164|    450|            other.construct<TypeL>(cast<TypeL>());
 1165|    450|            construct<TypeR>(temp);
 1166|    450|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1156|  20.9k|        {
 1157|  20.9k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  20.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  20.9k|        {
 1163|  20.9k|            TypeR temp{other.cast<TypeR>()};
 1164|  20.9k|            other.construct<TypeL>(cast<TypeL>());
 1165|  20.9k|            construct<TypeR>(temp);
 1166|  20.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1156|  1.40k|        {
 1157|  1.40k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.40k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.40k|        {
 1163|  1.40k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.40k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.40k|            construct<TypeR>(temp);
 1166|  1.40k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1170|  12.6k|        {
 1171|  12.6k|            switch (other.storage_kind())
 1172|  12.6k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 12.6k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 12.6k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 12.6k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 12.6k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 12.6k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 12.6k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 12.6k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 12.6k]
  ------------------
 1181|  1.18k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 1.18k, False: 11.4k]
  ------------------
 1182|  1.11k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 1.11k, False: 11.5k]
  ------------------
 1183|  5.14k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 5.14k, False: 7.47k]
  ------------------
 1184|  5.17k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 5.17k, False: 7.44k]
  ------------------
 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: 12.6k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 12.6k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 12.6k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  12.6k|            }
 1191|  12.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1156|  1.18k|        {
 1157|  1.18k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.18k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.18k|        {
 1163|  1.18k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.18k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.18k|            construct<TypeR>(temp);
 1166|  1.18k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  1.11k|        {
 1157|  1.11k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.11k|        {
 1163|  1.11k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.11k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.11k|            construct<TypeR>(temp);
 1166|  1.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1156|  5.14k|        {
 1157|  5.14k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  5.14k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  5.14k|        {
 1163|  5.14k|            TypeR temp{other.cast<TypeR>()};
 1164|  5.14k|            other.construct<TypeL>(cast<TypeL>());
 1165|  5.14k|            construct<TypeR>(temp);
 1166|  5.14k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1156|  5.17k|        {
 1157|  5.17k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  5.17k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  5.17k|        {
 1163|  5.17k|            TypeR temp{other.cast<TypeR>()};
 1164|  5.17k|            other.construct<TypeL>(cast<TypeL>());
 1165|  5.17k|            construct<TypeR>(temp);
 1166|  5.17k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr6nonstd19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2614|  17.0M|        {
 2615|  17.0M|            construct<uint64_storage>(val, tag);
 2616|  17.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  995|  17.0M|        {
  996|  17.0M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  17.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  17.0M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  17.0M|                  val_(val)
  518|  17.0M|            {
  519|  17.0M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr6nonstd17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2645|  4.52M|        {
 2646|  4.52M|            construct<int64_storage>(val, tag);
 2647|  4.52M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  995|  4.52M|        {
  996|  4.52M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.52M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  496|  4.52M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  497|  4.52M|                  val_(val)
  498|  4.52M|            {
  499|  4.52M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2602|  94.3k|        {
 2603|  94.3k|            construct<double_storage>(val, tag);
 2604|  94.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  995|  94.3k|        {
  996|  94.3k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  94.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  555|  94.3k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  556|  94.3k|                  val_(val)
  557|  94.3k|            {
  558|  94.3k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2401|   683k|        {
 2402|   683k|            auto ptr = create_array(Allocator());
 2403|   683k|            construct<array_storage>(ptr, tag);
 2404|   683k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  957|   683k|        {
  958|   683k|            using stor_allocator_type = typename array_storage::allocator_type;
  959|   683k|            stor_allocator_type stor_alloc(alloc);
  960|   683k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  961|   683k|            JSONCONS_TRY
  ------------------
  |  |   37|   683k|    #define JSONCONS_TRY try
  ------------------
  962|   683k|            {
  963|   683k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, nonstd::to_plain_pointer(ptr), 
  964|   683k|                    std::forward<Args>(args)...);
  965|   683k|            }
  966|   683k|            JSONCONS_CATCH(...)
  967|   683k|            {
  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|   683k|            return ptr;
  972|   683k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|   683k|        {
  996|   683k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   683k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  722|   683k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  723|   683k|            {
  724|   683k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2691|   447k|        {
 2692|   447k|            construct<null_storage>(tag);
 2693|   447k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  995|   447k|        {
  996|   447k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   447k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2701|  2.16M|        {
 2702|  2.16M|            construct<bool_storage>(val,tag);
 2703|  2.16M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  995|  2.16M|        {
  996|  2.16M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.16M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|  2.16M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|  2.16M|                  val_(val)
  477|  2.16M|            {
  478|  2.16M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2549|  6.48M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2550|  6.48M|        {
 2551|  6.48M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2579|  6.48M|        {
 2580|  6.48M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2580:17): [True: 6.45M, False: 27.7k]
  ------------------
 2581|  6.45M|            {
 2582|  6.45M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2583|  6.45M|            }
 2584|  27.7k|            else
 2585|  27.7k|            {
 2586|  27.7k|                auto ptr = create_long_string(alloc, s, length);
 2587|  27.7k|                construct<long_string_storage>(ptr, tag);
 2588|  27.7k|            }
 2589|  6.48M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  995|  6.45M|        {
  996|  6.45M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  6.45M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  6.45M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  6.45M|            {
  579|  6.45M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   54|  6.45M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 6.45M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  580|  6.45M|                std::memcpy(data_,p,length*sizeof(char_type));
  581|  6.45M|                data_[length] = 0;
  582|  6.45M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  943|  27.7k|        {
  944|  27.7k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  945|  27.7k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  946|  27.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|  27.7k|        {
  996|  27.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  27.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  621|  27.7k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  622|  27.7k|            {
  623|  27.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2711|    726|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2712|    726|        {
 2713|    726|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr6nonstd18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2719|   116k|        {
 2720|   116k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2721|       |            
 2722|   116k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2723|   116k|            construct<byte_string_storage>(ptr, tag);
 2724|   116k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  950|   269k|        {
  951|   269k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  952|   269k|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  953|   269k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|   116k|        {
  996|   116k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   116k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  670|   269k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  671|   269k|            {
  672|   269k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr6nonstd18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2731|      2|        {
 2732|      2|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2733|       |
 2734|      2|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0);
 2735|      2|            construct<byte_string_storage>(ptr, tag);
 2736|      2|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr6nonstd18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2742|   152k|        {
 2743|   152k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2744|       |
 2745|   152k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2746|   152k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2747|   152k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  995|   152k|        {
  996|   152k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   152k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mRKS4_NS2_9enable_ifIXsr6nonstd18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2754|      1|        {
 2755|      1|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2756|       |
 2757|      1|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), raw_tag);
 2758|      1|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2759|      1|        }

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

_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  855|  6.92k|            : destination_(std::addressof(visitor)), 
  856|  6.92k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  857|  6.92k|        {
  858|  6.92k|            level_stack_.emplace_back(json_target_kind::destination,json_structure_kind::root); // root
  859|  6.92k|        }
_ZN8jsoncons21basic_generic_visitorIcEC2Ev:
   52|  6.92k|    basic_generic_visitor() = default;
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  294|  2.04M|    {
  295|  2.04M|        visit_begin_array(length, tag, context, ec);
  296|  2.04M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.04M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  297|  2.04M|    }
_ZN8jsoncons21basic_generic_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  363|  37.3M|    {
  364|  37.3M|        visit_uint64(value, tag, context, ec);
  365|  37.3M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  37.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  37.3M|    }
_ZN8jsoncons21basic_generic_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  300|  2.01M|    {
  301|  2.01M|        visit_end_array(context, ec);
  302|  2.01M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.01M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  2.01M|    }
_ZN8jsoncons21basic_generic_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  372|  10.8M|    {
  373|  10.8M|        visit_int64(value, tag, context, ec);
  374|  10.8M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  10.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  375|  10.8M|    }
_ZN8jsoncons21basic_generic_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  390|   426k|    {
  391|   426k|        visit_double(value, tag, context, ec);
  392|   426k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   426k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  393|   426k|    }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structureC2ENS4_16json_target_kindENS4_19json_structure_kindE:
  798|  3.89M|                : target_kind_(state), structure_kind_(type), even_odd_(type == json_structure_kind::object ? 0 : 1)
  ------------------
  |  Branch (798:73): [True: 1.84M, False: 2.05M]
  ------------------
  799|  3.89M|            {
  800|  3.89M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1008|  2.04M|        {
 1009|  2.04M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1009:17): [True: 514k, False: 1.52M]
  ------------------
 1010|   514k|            {
 1011|   514k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1011:21): [True: 325k, False: 189k]
  |  Branch (1011:86): [True: 308k, False: 17.1k]
  ------------------
 1012|   308k|                {
 1013|   308k|                    key_buffer_.push_back(',');
 1014|   308k|                }
 1015|   514k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1016|   514k|                key_buffer_.push_back('[');
 1017|   514k|            }
 1018|  1.52M|            else
 1019|  1.52M|            {
 1020|  1.52M|                switch (level_stack_.back().target_kind())
 1021|  1.52M|                {
 1022|   845k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1022:21): [True: 845k, False: 683k]
  ------------------
 1023|   845k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1023:29): [True: 468k, False: 377k]
  |  Branch (1023:65): [True: 386k, False: 82.2k]
  ------------------
 1024|   386k|                        {
 1025|   386k|                            key_buffer_.push_back(',');
 1026|   386k|                        }
 1027|   845k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1028|   845k|                        key_buffer_.push_back('[');
 1029|   845k|                        break;
 1030|   683k|                    default:
  ------------------
  |  Branch (1030:21): [True: 683k, False: 845k]
  ------------------
 1031|   683k|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1032|   683k|                        destination_->begin_array(length, tag, context, ec);
 1033|   683k|                        break;
 1034|  1.52M|                }
 1035|  1.52M|            }
 1036|  2.04M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.04M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1037|  2.04M|        }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure6is_keyEv:
  815|   209M|            {
  816|   209M|                return even_odd_ == 0;
  817|   209M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure11target_kindEv:
  825|   125M|            {
  826|   125M|                return target_kind_;
  827|   125M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure5countEv:
  830|  26.8M|            {
  831|  26.8M|                return count_;
  832|  26.8M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure9is_objectEv:
  820|   103M|            {
  821|   103M|                return structure_kind_ == json_structure_kind::object;
  822|   103M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1040|  2.01M|        {
 1041|  2.01M|            switch (level_stack_.back().target_kind())
 1042|  2.01M|            {
 1043|  1.35M|                case json_target_kind::buffer:
  ------------------
  |  Branch (1043:17): [True: 1.35M, False: 663k]
  ------------------
 1044|  1.35M|                    key_buffer_.push_back(']');
 1045|  1.35M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   54|  1.35M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 1.35M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1046|  1.35M|                    level_stack_.pop_back();
 1047|  1.35M|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (1047:25): [True: 188k, False: 1.16M]
  ------------------
 1048|   188k|                    {
 1049|   188k|                        destination_->key(key_buffer_, context, ec);
 1050|   188k|                        key_buffer_.clear();
 1051|   188k|                    }
 1052|  1.16M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1052:30): [True: 323k, False: 838k]
  ------------------
 1053|   323k|                    {
 1054|   323k|                        key_buffer_.push_back(':');
 1055|   323k|                    }
 1056|  1.35M|                    level_stack_.back().advance();
 1057|  1.35M|                    break;
 1058|   663k|                default:
  ------------------
  |  Branch (1058:17): [True: 663k, False: 1.35M]
  ------------------
 1059|   663k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   54|   663k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 663k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1060|   663k|                    level_stack_.pop_back();
 1061|   663k|                    level_stack_.back().advance();
 1062|   663k|                    destination_->end_array(context, ec);
 1063|   663k|                    break;
 1064|  2.01M|            }
 1065|  2.01M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.01M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1066|  2.01M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure7advanceEv:
  803|  76.1M|            {
  804|  76.1M|                if (!is_key())
  ------------------
  |  Branch (804:21): [True: 59.2M, False: 16.9M]
  ------------------
  805|  59.2M|                {
  806|  59.2M|                    ++count_;
  807|  59.2M|                }
  808|  76.1M|                if (is_object())
  ------------------
  |  Branch (808:21): [True: 33.8M, False: 42.3M]
  ------------------
  809|  33.8M|                {
  810|  33.8M|                    even_odd_ = !even_odd_;
  811|  33.8M|                }
  812|  76.1M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1233|  37.3M|        {
 1234|  37.3M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1234:17): [True: 7.98M, False: 29.4M]
  |  Branch (1234:49): [True: 12.3M, False: 17.0M]
  ------------------
 1235|  20.3M|            {
 1236|  20.3M|                key_.clear();
 1237|  20.3M|                jsoncons::from_integer(value,key_);
 1238|  20.3M|            }
 1239|       |
 1240|  37.3M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1240:17): [True: 7.98M, False: 29.4M]
  ------------------
 1241|  7.98M|            {
 1242|  7.98M|                switch (level_stack_.back().target_kind())
 1243|  7.98M|                {
 1244|  5.02M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1244:21): [True: 5.02M, False: 2.95M]
  ------------------
 1245|  5.02M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1245:29): [True: 4.86M, False: 161k]
  ------------------
 1246|  4.86M|                        {
 1247|  4.86M|                            key_buffer_.push_back(',');
 1248|  4.86M|                        }
 1249|  5.02M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1250|  5.02M|                        key_buffer_.push_back(':');
 1251|  5.02M|                        break;
 1252|  2.95M|                    default:
  ------------------
  |  Branch (1252:21): [True: 2.95M, False: 5.02M]
  ------------------
 1253|  2.95M|                        destination_->key(key_, context, ec);
 1254|  2.95M|                        break;
 1255|  7.98M|                }
 1256|  7.98M|            }
 1257|  29.4M|            else
 1258|  29.4M|            {
 1259|  29.4M|                switch (level_stack_.back().target_kind())
 1260|  29.4M|                {
 1261|  12.3M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1261:21): [True: 12.3M, False: 17.0M]
  ------------------
 1262|  12.3M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1262:29): [True: 7.41M, False: 4.93M]
  |  Branch (1262:65): [True: 7.22M, False: 183k]
  ------------------
 1263|  7.22M|                        {
 1264|  7.22M|                            key_buffer_.push_back(',');
 1265|  7.22M|                        }
 1266|  12.3M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1267|  12.3M|                        break;
 1268|  17.0M|                    default:
  ------------------
  |  Branch (1268:21): [True: 17.0M, False: 12.3M]
  ------------------
 1269|  17.0M|                        destination_->uint64_value(value, tag, context, ec);
 1270|  17.0M|                        break;
 1271|  29.4M|                }
 1272|  29.4M|            }
 1273|       |
 1274|  37.3M|            level_stack_.back().advance();
 1275|  37.3M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  37.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1276|  37.3M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1279|  10.8M|        {
 1280|  10.8M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1280:17): [True: 2.63M, False: 8.22M]
  |  Branch (1280:49): [True: 3.69M, False: 4.52M]
  ------------------
 1281|  6.33M|            {
 1282|  6.33M|                key_.clear();
 1283|  6.33M|                jsoncons::from_integer(value,key_);
 1284|  6.33M|            }
 1285|       |
 1286|  10.8M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1286:17): [True: 2.63M, False: 8.22M]
  ------------------
 1287|  2.63M|            {
 1288|  2.63M|                switch (level_stack_.back().target_kind())
 1289|  2.63M|                {
 1290|  1.68M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1290:21): [True: 1.68M, False: 949k]
  ------------------
 1291|  1.68M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1291:29): [True: 1.64M, False: 40.3k]
  ------------------
 1292|  1.64M|                        {
 1293|  1.64M|                            key_buffer_.push_back(',');
 1294|  1.64M|                        }
 1295|  1.68M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1296|  1.68M|                        key_buffer_.push_back(':');
 1297|  1.68M|                        break;
 1298|   949k|                    default:
  ------------------
  |  Branch (1298:21): [True: 949k, False: 1.68M]
  ------------------
 1299|   949k|                        destination_->key(key_, context, ec);
 1300|   949k|                        break;
 1301|  2.63M|                }
 1302|  2.63M|            }
 1303|  8.22M|            else
 1304|  8.22M|            {
 1305|  8.22M|                switch (level_stack_.back().target_kind())
 1306|  8.22M|                {
 1307|  3.69M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1307:21): [True: 3.69M, False: 4.52M]
  ------------------
 1308|  3.69M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1308:29): [True: 1.98M, False: 1.71M]
  |  Branch (1308:65): [True: 1.96M, False: 21.8k]
  ------------------
 1309|  1.96M|                        {
 1310|  1.96M|                            key_buffer_.push_back(',');
 1311|  1.96M|                        }
 1312|  3.69M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1313|  3.69M|                        break;
 1314|  4.52M|                    default:
  ------------------
  |  Branch (1314:21): [True: 4.52M, False: 3.69M]
  ------------------
 1315|  4.52M|                        destination_->int64_value(value, tag, context, ec);
 1316|  4.52M|                        break;
 1317|  8.22M|                }
 1318|  8.22M|            }
 1319|       |
 1320|  10.8M|            level_stack_.back().advance();
 1321|  10.8M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  10.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1322|  10.8M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1374|   426k|        {
 1375|   426k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1375:17): [True: 129k, False: 297k]
  |  Branch (1375:49): [True: 202k, False: 94.3k]
  ------------------
 1376|   332k|            {
 1377|   332k|                key_.clear();
 1378|   332k|                string_sink<string_type> sink(key_);
 1379|   332k|                jsoncons::write_double f{float_chars_format::general,0};
 1380|   332k|                f(value, sink);
 1381|   332k|            }
 1382|       |
 1383|   426k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1383:17): [True: 129k, False: 297k]
  ------------------
 1384|   129k|            {
 1385|   129k|                switch (level_stack_.back().target_kind())
 1386|   129k|                {
 1387|  90.4k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1387:21): [True: 90.4k, False: 39.2k]
  ------------------
 1388|  90.4k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1388:29): [True: 79.9k, False: 10.4k]
  ------------------
 1389|  79.9k|                        {
 1390|  79.9k|                            key_buffer_.push_back(',');
 1391|  79.9k|                        }
 1392|  90.4k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1393|  90.4k|                        key_buffer_.push_back(':');
 1394|  90.4k|                        break;
 1395|  39.2k|                    default:
  ------------------
  |  Branch (1395:21): [True: 39.2k, False: 90.4k]
  ------------------
 1396|  39.2k|                        destination_->key(key_, context, ec);
 1397|  39.2k|                        break;
 1398|   129k|                }
 1399|   129k|            }
 1400|   297k|            else
 1401|   297k|            {
 1402|   297k|                switch (level_stack_.back().target_kind())
 1403|   297k|                {
 1404|   202k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1404:21): [True: 202k, False: 94.3k]
  ------------------
 1405|   202k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1405:29): [True: 146k, False: 55.9k]
  |  Branch (1405:65): [True: 38.9k, False: 107k]
  ------------------
 1406|  38.9k|                        {
 1407|  38.9k|                            key_buffer_.push_back(',');
 1408|  38.9k|                        }
 1409|   202k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1410|   202k|                        break;
 1411|  94.3k|                    default:
  ------------------
  |  Branch (1411:21): [True: 94.3k, False: 202k]
  ------------------
 1412|  94.3k|                        destination_->double_value(value, tag, context, ec);
 1413|  94.3k|                        break;
 1414|   297k|                }
 1415|   297k|            }
 1416|       |
 1417|   426k|            level_stack_.back().advance();
 1418|   426k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   426k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1419|   426k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  881|  2.11k|        {
  882|  2.11k|            destination_->flush();
  883|  2.11k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  914|  1.84M|        {
  915|  1.84M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (915:17): [True: 545k, False: 1.29M]
  ------------------
  916|   545k|            {
  917|   545k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (917:21): [True: 286k, False: 258k]
  |  Branch (917:86): [True: 112k, False: 173k]
  ------------------
  918|   112k|                {
  919|   112k|                    key_buffer_.push_back(',');
  920|   112k|                }
  921|   545k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  922|   545k|                key_buffer_.push_back('{');
  923|   545k|            }
  924|  1.29M|            else
  925|  1.29M|            {
  926|  1.29M|                switch (level_stack_.back().target_kind())
  927|  1.29M|                {
  928|   632k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (928:21): [True: 632k, False: 663k]
  ------------------
  929|   632k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (929:29): [True: 410k, False: 221k]
  |  Branch (929:65): [True: 358k, False: 52.0k]
  ------------------
  930|   358k|                        {
  931|   358k|                            key_buffer_.push_back(',');
  932|   358k|                        }
  933|   632k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  934|   632k|                        key_buffer_.push_back('{');
  935|   632k|                        break;
  936|   663k|                    default:
  ------------------
  |  Branch (936:21): [True: 663k, False: 632k]
  ------------------
  937|   663k|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  938|   663k|                        destination_->begin_object(length, tag, context, ec);
  939|   663k|                        break;
  940|  1.29M|                }
  941|  1.29M|            }
  942|  1.84M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.84M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  943|  1.84M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  946|  1.81M|        {
  947|  1.81M|            switch (level_stack_.back().target_kind())
  948|  1.81M|            {
  949|  1.16M|                case json_target_kind::buffer:
  ------------------
  |  Branch (949:17): [True: 1.16M, False: 654k]
  ------------------
  950|  1.16M|                    key_buffer_.push_back('}');
  951|  1.16M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   54|  1.16M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 1.16M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  952|  1.16M|                    level_stack_.pop_back();
  953|       |                    
  954|  1.16M|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (954:25): [True: 257k, False: 906k]
  ------------------
  955|   257k|                    {
  956|   257k|                        destination_->key(key_buffer_,context, ec);
  957|   257k|                        key_buffer_.clear();
  958|   257k|                    }
  959|   906k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (959:30): [True: 280k, False: 625k]
  ------------------
  960|   280k|                    {
  961|   280k|                        key_buffer_.push_back(':');
  962|   280k|                    }
  963|  1.16M|                    level_stack_.back().advance();
  964|  1.16M|                    break;
  965|   654k|                default:
  ------------------
  |  Branch (965:17): [True: 654k, False: 1.16M]
  ------------------
  966|   654k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   54|   654k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 654k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  967|   654k|                    level_stack_.pop_back();
  968|   654k|                    level_stack_.back().advance();
  969|   654k|                    destination_->end_object(context, ec);
  970|   654k|                    break;
  971|  1.81M|            }
  972|  1.81M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.81M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  973|  1.81M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1475|  1.18M|        {
 1476|  1.18M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1476:17): [True: 297k, False: 888k]
  |  Branch (1476:49): [True: 441k, False: 447k]
  ------------------
 1477|   739k|            {
 1478|   739k|                key_.clear(); 
 1479|   739k|                key_.insert(key_.begin(), json_literals<char_type>::null_literal.begin(), json_literals<char_type>::null_literal.end());
 1480|   739k|            }
 1481|       |
 1482|  1.18M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1482:17): [True: 297k, False: 888k]
  ------------------
 1483|   297k|            {
 1484|   297k|                switch (level_stack_.back().target_kind())
 1485|   297k|                {
 1486|   163k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1486:21): [True: 163k, False: 133k]
  ------------------
 1487|   163k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1487:29): [True: 102k, False: 61.6k]
  ------------------
 1488|   102k|                        {
 1489|   102k|                            key_buffer_.push_back(',');
 1490|   102k|                        }
 1491|   163k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1492|   163k|                        key_buffer_.push_back(':');
 1493|   163k|                        break;
 1494|   133k|                    default:
  ------------------
  |  Branch (1494:21): [True: 133k, False: 163k]
  ------------------
 1495|   133k|                        destination_->key(key_, context, ec);
 1496|   133k|                        break;
 1497|   297k|                }
 1498|   297k|            }
 1499|   888k|            else
 1500|   888k|            {
 1501|   888k|                switch (level_stack_.back().target_kind())
 1502|   888k|                {
 1503|   441k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1503:21): [True: 441k, False: 447k]
  ------------------
 1504|   441k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1504:29): [True: 255k, False: 185k]
  |  Branch (1504:65): [True: 255k, False: 706]
  ------------------
 1505|   255k|                        {
 1506|   255k|                            key_buffer_.push_back(',');
 1507|   255k|                        }
 1508|   441k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1509|   441k|                        break;
 1510|   447k|                    default:
  ------------------
  |  Branch (1510:21): [True: 447k, False: 441k]
  ------------------
 1511|   447k|                        destination_->null_value(tag, context, ec);
 1512|   447k|                        break;
 1513|   888k|                }
 1514|   888k|            }
 1515|       |
 1516|  1.18M|            level_stack_.back().advance();
 1517|  1.18M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.18M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1518|  1.18M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1422|  4.08M|        {
 1423|  4.08M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1423:17): [True: 529k, False: 3.55M]
  |  Branch (1423:49): [True: 1.39M, False: 2.16M]
  ------------------
 1424|  1.92M|            {
 1425|  1.92M|                key_.clear(); 
 1426|  1.92M|                if (value)
  ------------------
  |  Branch (1426:21): [True: 1.66M, False: 255k]
  ------------------
 1427|  1.66M|                {
 1428|  1.66M|                    key_.insert(key_.begin(), json_literals<char_type>::true_literal.begin(), json_literals<char_type>::true_literal.end());
 1429|  1.66M|                }
 1430|   255k|                else
 1431|   255k|                {
 1432|   255k|                    key_.insert(key_.begin(), json_literals<char_type>::false_literal.begin(), json_literals<char_type>::false_literal.end());
 1433|   255k|                }
 1434|  1.92M|            }
 1435|       |
 1436|  4.08M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1436:17): [True: 529k, False: 3.55M]
  ------------------
 1437|   529k|            {
 1438|   529k|                switch (level_stack_.back().target_kind())
 1439|   529k|                {
 1440|   392k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1440:21): [True: 392k, False: 137k]
  ------------------
 1441|   392k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1441:29): [True: 360k, False: 31.8k]
  ------------------
 1442|   360k|                        {
 1443|   360k|                            key_buffer_.push_back(',');
 1444|   360k|                        }
 1445|   392k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1446|   392k|                        key_buffer_.push_back(':');
 1447|   392k|                        break;
 1448|   137k|                    default:
  ------------------
  |  Branch (1448:21): [True: 137k, False: 392k]
  ------------------
 1449|   137k|                        destination_->key(key_, context, ec);
 1450|   137k|                        break;
 1451|   529k|                }
 1452|   529k|            }
 1453|  3.55M|            else
 1454|  3.55M|            {
 1455|  3.55M|                switch (level_stack_.back().target_kind())
 1456|  3.55M|                {
 1457|  1.39M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1457:21): [True: 1.39M, False: 2.16M]
  ------------------
 1458|  1.39M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1458:29): [True: 1.01M, False: 377k]
  |  Branch (1458:65): [True: 1.01M, False: 2.70k]
  ------------------
 1459|  1.01M|                        {
 1460|  1.01M|                            key_buffer_.push_back(',');
 1461|  1.01M|                        }
 1462|  1.39M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1463|  1.39M|                        break;
 1464|  2.16M|                    default:
  ------------------
  |  Branch (1464:21): [True: 2.16M, False: 1.39M]
  ------------------
 1465|  2.16M|                        destination_->bool_value(value, tag, context, ec);
 1466|  2.16M|                        break;
 1467|  3.55M|                }
 1468|  3.55M|            }
 1469|       |
 1470|  4.08M|            level_stack_.back().advance();
 1471|  4.08M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.08M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1472|  4.08M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1072|  17.4M|        {
 1073|  17.4M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1073:17): [True: 4.14M, False: 13.3M]
  ------------------
 1074|  4.14M|            {
 1075|  4.14M|                switch (level_stack_.back().target_kind())
 1076|  4.14M|                {
 1077|  4.03M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1077:21): [True: 4.03M, False: 105k]
  ------------------
 1078|  4.03M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1078:29): [True: 3.88M, False: 152k]
  ------------------
 1079|  3.88M|                        {
 1080|  3.88M|                            key_buffer_.push_back(',');
 1081|  3.88M|                        }
 1082|  4.03M|                        key_buffer_.push_back('\"');
 1083|  4.03M|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1084|  4.03M|                        key_buffer_.push_back('\"');
 1085|  4.03M|                        key_buffer_.push_back(':');
 1086|  4.03M|                        break;
 1087|   105k|                    default:
  ------------------
  |  Branch (1087:21): [True: 105k, False: 4.03M]
  ------------------
 1088|   105k|                        destination_->key(value, context, ec);
 1089|   105k|                        break;
 1090|  4.14M|                }
 1091|  4.14M|            }
 1092|  13.3M|            else
 1093|  13.3M|            {
 1094|  13.3M|                switch (level_stack_.back().target_kind())
 1095|  13.3M|                {
 1096|  6.83M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1096:21): [True: 6.83M, False: 6.48M]
  ------------------
 1097|  6.83M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1097:29): [True: 2.69M, False: 4.13M]
  |  Branch (1097:65): [True: 2.63M, False: 67.7k]
  ------------------
 1098|  2.63M|                        {
 1099|  2.63M|                            key_buffer_.push_back(',');
 1100|  2.63M|                        }
 1101|  6.83M|                        key_buffer_.push_back('\"');
 1102|  6.83M|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1103|  6.83M|                        key_buffer_.push_back('\"');
 1104|  6.83M|                        break;
 1105|  6.48M|                    default:
  ------------------
  |  Branch (1105:21): [True: 6.48M, False: 6.83M]
  ------------------
 1106|  6.48M|                        destination_->string_value(value, tag, context, ec);
 1107|  6.48M|                        break;
 1108|  13.3M|                }
 1109|  13.3M|            }
 1110|       |
 1111|  17.4M|            level_stack_.back().advance();
 1112|  17.4M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  17.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1113|  17.4M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1119|   473k|        {
 1120|   473k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1120:17): [True: 33.6k, False: 439k]
  |  Branch (1120:49): [True: 323k, False: 116k]
  ------------------
 1121|   357k|            {
 1122|   357k|                key_.clear();
 1123|   357k|                switch (tag)
 1124|   357k|                {
 1125|      0|                    case semantic_tag::base64:
  ------------------
  |  Branch (1125:21): [True: 0, False: 357k]
  ------------------
 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: 357k]
  ------------------
 1129|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1130|      0|                        break;
 1131|   357k|                    default:
  ------------------
  |  Branch (1131:21): [True: 357k, False: 0]
  ------------------
 1132|   357k|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1133|   357k|                        break;
 1134|   357k|                }
 1135|   357k|            }
 1136|       |
 1137|   473k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1137:17): [True: 33.6k, False: 439k]
  ------------------
 1138|  33.6k|            {
 1139|  33.6k|                switch (level_stack_.back().target_kind())
 1140|  33.6k|                {
 1141|  18.0k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1141:21): [True: 18.0k, False: 15.6k]
  ------------------
 1142|  18.0k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1142:29): [True: 17.5k, False: 458]
  ------------------
 1143|  17.5k|                        {
 1144|  17.5k|                            key_buffer_.push_back(',');
 1145|  17.5k|                        }
 1146|  18.0k|                        key_buffer_.push_back('\"');
 1147|  18.0k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1148|  18.0k|                        key_buffer_.push_back('\"');
 1149|  18.0k|                        key_buffer_.push_back(':');
 1150|  18.0k|                        break;
 1151|  15.6k|                    default:
  ------------------
  |  Branch (1151:21): [True: 15.6k, False: 18.0k]
  ------------------
 1152|  15.6k|                        destination_->key(key_, context, ec);
 1153|  15.6k|                        break;
 1154|  33.6k|                }
 1155|  33.6k|            }
 1156|   439k|            else
 1157|   439k|            {
 1158|   439k|                switch (level_stack_.back().target_kind())
 1159|   439k|                {
 1160|   323k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1160:21): [True: 323k, False: 116k]
  ------------------
 1161|   323k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1161:29): [True: 291k, False: 31.4k]
  |  Branch (1161:65): [True: 291k, False: 478]
  ------------------
 1162|   291k|                        {
 1163|   291k|                            key_buffer_.push_back(',');
 1164|   291k|                        }
 1165|   323k|                        key_buffer_.push_back('\"');
 1166|   323k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1167|   323k|                        key_buffer_.push_back('\"');
 1168|   323k|                        break;
 1169|   116k|                    default:
  ------------------
  |  Branch (1169:21): [True: 116k, False: 323k]
  ------------------
 1170|   116k|                        destination_->byte_string_value(value, tag, context, ec);
 1171|   116k|                        break;
 1172|   439k|                }
 1173|   439k|            }
 1174|       |
 1175|   473k|            level_stack_.back().advance();
 1176|   473k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   473k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1177|   473k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1183|   440k|        {
 1184|   440k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1184:17): [True: 115k, False: 324k]
  |  Branch (1184:49): [True: 172k, False: 152k]
  ------------------
 1185|   288k|            {
 1186|   288k|                key_.clear();
 1187|   288k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1188|   288k|            }
 1189|       |
 1190|   440k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1190:17): [True: 115k, False: 324k]
  ------------------
 1191|   115k|            {
 1192|   115k|                switch (level_stack_.back().target_kind())
 1193|   115k|                {
 1194|  85.1k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1194:21): [True: 85.1k, False: 30.7k]
  ------------------
 1195|  85.1k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1195:29): [True: 76.3k, False: 8.83k]
  ------------------
 1196|  76.3k|                        {
 1197|  76.3k|                            key_buffer_.push_back(',');
 1198|  76.3k|                        }
 1199|  85.1k|                        key_buffer_.push_back('\"');
 1200|  85.1k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1201|  85.1k|                        key_buffer_.push_back('\"');
 1202|  85.1k|                        key_buffer_.push_back(':');
 1203|  85.1k|                        break;
 1204|  30.7k|                    default:
  ------------------
  |  Branch (1204:21): [True: 30.7k, False: 85.1k]
  ------------------
 1205|  30.7k|                        destination_->key(key_, context, ec);
 1206|  30.7k|                        break;
 1207|   115k|                }
 1208|   115k|            }
 1209|   324k|            else
 1210|   324k|            {
 1211|   324k|                switch (level_stack_.back().target_kind())
 1212|   324k|                {
 1213|   172k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1213:21): [True: 172k, False: 152k]
  ------------------
 1214|   172k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1214:29): [True: 91.6k, False: 80.4k]
  |  Branch (1214:65): [True: 83.9k, False: 7.69k]
  ------------------
 1215|  83.9k|                        {
 1216|  83.9k|                            key_buffer_.push_back(',');
 1217|  83.9k|                        }
 1218|   172k|                        key_buffer_.push_back('\"');
 1219|   172k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1220|   172k|                        key_buffer_.push_back('\"');
 1221|   172k|                        break;
 1222|   152k|                    default:
  ------------------
  |  Branch (1222:21): [True: 152k, False: 172k]
  ------------------
 1223|   152k|                        destination_->byte_string_value(value, raw_tag, context, ec);
 1224|   152k|                        break;
 1225|   324k|                }
 1226|   324k|            }
 1227|       |
 1228|   440k|            level_stack_.back().advance();
 1229|   440k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   440k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1230|   440k|        }
_ZN8jsoncons21basic_generic_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  276|  1.84M|    {
  277|  1.84M|        visit_begin_object(length, tag, context, ec);
  278|  1.84M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.84M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  279|  1.84M|    }
_ZN8jsoncons21basic_generic_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  332|  17.4M|    {
  333|  17.4M|        visit_string(value, tag, context, ec);
  334|  17.4M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  17.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  335|  17.4M|    }
_ZN8jsoncons21basic_generic_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  314|  1.18M|    {
  315|  1.18M|        visit_null(tag, context, ec);
  316|  1.18M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.18M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  317|  1.18M|    }
_ZN8jsoncons21basic_generic_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  323|  4.08M|    {
  324|  4.08M|        visit_bool(value, tag, context, ec);
  325|  4.08M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.08M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  4.08M|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr6nonstd18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  343|   473k|    {
  344|   473k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  345|   473k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   473k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  346|   473k|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr6nonstd18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  354|   440k|    {
  355|   440k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  356|   440k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   440k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  357|   440k|    }
_ZN8jsoncons21basic_generic_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  282|  1.81M|    {
  283|  1.81M|        visit_end_object(context, ec);
  284|  1.81M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.81M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  285|  1.81M|    }
_ZN8jsoncons21basic_generic_visitorIcE5flushEv:
   57|  2.11k|    {
   58|  2.11k|        visit_flush();
   59|  2.11k|    }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|   825k|        {
  106|   825k|            flatten_and_destroy();
  107|   825k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|   825k|        {
  249|  2.59M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 1.77M, False: 825k]
  ------------------
  250|  1.77M|            {
  251|  1.77M|                value_type current = std::move(data_.back());
  252|  1.77M|                data_.pop_back();
  253|  1.77M|                switch (current.storage_kind())
  254|  1.77M|                {
  255|   187k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 187k, False: 1.58M]
  ------------------
  256|   187k|                    {
  257|   187k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 1.06M, False: 187k]
  ------------------
  258|  1.06M|                        {
  259|  1.06M|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 68.5k, False: 991k]
  |  Branch (259:85): [True: 77.7k, False: 913k]
  ------------------
  260|   146k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 133k, False: 13.2k]
  ------------------
  261|   133k|                            {
  262|   133k|                                data_.push_back(std::move(item));
  263|   133k|                            }
  264|  1.06M|                        }
  265|   187k|                        current.clear();                           
  266|   187k|                        break;
  267|      0|                    }
  268|   250k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 250k, False: 1.52M]
  ------------------
  269|   250k|                    {
  270|   250k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 467k, False: 250k]
  ------------------
  271|   467k|                        {
  272|   467k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 57.4k, False: 409k]
  |  Branch (272:91): [True: 81.6k, False: 328k]
  ------------------
  273|   139k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 131k, False: 7.41k]
  ------------------
  274|   131k|                            {
  275|   131k|                                data_.push_back(std::move(kv.value()));
  276|   131k|                            }
  277|   467k|                        }
  278|   250k|                        current.clear();                           
  279|   250k|                        break;
  280|      0|                    }
  281|  1.33M|                    default:
  ------------------
  |  Branch (281:21): [True: 1.33M, False: 437k]
  ------------------
  282|  1.33M|                        break;
  283|  1.77M|                }
  284|  1.77M|            }
  285|   825k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|   187k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|   187k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|   147k|        {
  126|   147k|            return data_.empty();
  127|   147k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|   187k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|   142k|            : allocator_holder<allocator_type>(alloc), 
   50|   142k|              data_(value_allocator_type(alloc))
   51|   142k|        {
   52|   142k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  48.9k|        {
  218|  48.9k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  48.9k|            return data_.back();
  220|  48.9k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|   274k|        void reserve(std::size_t n) {data_.reserve(n);}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE9push_backIS6_S5_EENS3_9enable_ifIXsr3std16allocator_traitsIT0_E15is_always_equalE5valueEvE4typeEOT_:
  178|  2.52M|        {
  179|  2.52M|            data_.emplace_back(std::forward<T>(value));
  180|  2.52M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|   683k|        json_array() = default;

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

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  6.92k|{
 1065|  6.92k|    return json_visitor_adaptor<From, To>(to);
 1066|  6.92k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  6.92k|        : supertype(visitor)
  984|  6.92k|    {
  985|  6.92k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  6.92k|        : destination1_(std::addressof(visitor))
  722|  6.92k|    {
  723|  6.92k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  777|   683k|    {
  778|   683k|        destination1_->begin_array(length, tag, context, ec);
  779|   683k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   683k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|   683k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|   663k|    {
  784|   663k|        destination1_->end_array(context, ec);
  785|   663k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   663k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|   663k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  17.0M|    {
  826|  17.0M|        destination1_->uint64_value(value, tag, context, ec);
  827|  17.0M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  17.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  17.0M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  4.52M|    {
  820|  4.52M|        destination1_->int64_value(value, tag, context, ec);
  821|  4.52M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.52M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  4.52M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  94.3k|    {
  814|  94.3k|        destination1_->double_value(value, tag, context, ec);
  815|  94.3k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  94.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  94.3k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|  2.11k|    {
  739|  2.11k|        destination1_->flush();
  740|  2.11k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|   663k|    {
  755|   663k|        destination1_->begin_object(length, tag, context, ec);
  756|   663k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   663k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|   663k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|   654k|    {
  761|   654k|        destination1_->end_object(context, ec);
  762|   654k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   654k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|   654k|    }
_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|  4.80M|    {
  996|  4.80M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  4.80M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  11.2M|    {
  733|  11.2M|        return *destination1_;
  734|  11.2M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|   447k|    {
  838|   447k|        destination1_->null_value(tag, context, ec);
  839|   447k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   447k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|   447k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  2.16M|    {
  832|  2.16M|        destination1_->bool_value(value, tag, context, ec);
  833|  2.16M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  2.16M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  2.16M|    }
_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|  6.48M|    {
 1004|  6.48M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  6.48M|    }
_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|   116k|    {
  793|   116k|        destination1_->byte_string_value(b, tag, context, ec);
  794|   116k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   116k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  795|   116k|    }
_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|   152k|    {
  802|   152k|        destination1_->byte_string_value(b, raw_tag, context, ec);
  803|   152k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   152k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|   152k|    }

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  20.7k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  27.7k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|   683k|        {
  561|   683k|            visit_begin_array(tag, context, ec);
  562|   683k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   683k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|   683k|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|   663k|        {
  545|   663k|            visit_begin_object(tag, context, ec);
  546|   663k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   663k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|   663k|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  1.36M|        {
  346|  1.36M|            visit_begin_array(length, tag, context, ec);
  347|  1.36M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.36M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  1.36M|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  34.1M|        {
  415|  34.1M|            visit_uint64(value, tag, context, ec);
  416|  34.1M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  34.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  34.1M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  1.32M|        {
  352|  1.32M|            visit_end_array(context, ec);
  353|  1.32M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.32M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  1.32M|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  9.05M|        {
  424|  9.05M|            visit_int64(value, tag, context, ec);
  425|  9.05M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  9.05M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  9.05M|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|   188k|        {
  442|   188k|            visit_double(value, tag, context, ec);
  443|   188k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   188k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|   188k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|  4.22k|        {
  109|  4.22k|            visit_flush();
  110|  4.22k|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  1.32M|        {
  328|  1.32M|            visit_begin_object(length, tag, context, ec);
  329|  1.32M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.32M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  1.32M|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  1.30M|        {
  334|  1.30M|            visit_end_object(context, ec);
  335|  1.30M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  1.30M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  1.30M|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  9.61M|        {
  358|  9.61M|            visit_key(name, context, ec);
  359|  9.61M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  9.61M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  9.61M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|   894k|        {
  366|   894k|            visit_null(tag, context, ec);
  367|   894k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   894k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|   894k|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  4.32M|        {
  375|  4.32M|            visit_bool(value, tag, context, ec);
  376|  4.32M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  4.32M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  4.32M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  12.9M|        {
  384|  12.9M|            visit_string(value, tag, context, ec);
  385|  12.9M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|  12.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  12.9M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr6nonstd18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  394|   233k|        {
  395|   233k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  396|   233k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   233k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  397|   233k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr6nonstd18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|   304k|        {
  406|   304k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|   304k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  321|   304k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|   304k|        }
_ZN8jsoncons26basic_default_json_visitorIcEC2Ev:
  811|  6.92k|        basic_default_json_visitor() = default;

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|  1.57M|    {
  121|  1.57M|        return value_;
  122|  1.57M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  16.7M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  17.0M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  17.0M|    {
   45|  17.0M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  59.2M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.52M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.52M|    {
   45|  4.52M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  94.3k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  94.3k|    {
   45|  94.3k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   663k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   663k|    {
   45|   663k|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|   778k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|   778k|    {
   88|   778k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   683k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   683k|    {
   45|   683k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   447k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   447k|    {
   45|   447k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.16M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.16M|    {
   45|  2.16M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  6.48M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  6.48M|    {
   45|  6.48M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   116k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   116k|    {
   45|   116k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   152k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   152k|    {
   45|   152k|    }

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

_ZN8jsoncons6nonstd16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  27.7k|    {       
  242|  27.7k|        return (ptr);
  243|  27.7k|    }  
_ZN8jsoncons6nonstd16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|   269k|    {       
  242|   269k|        return (ptr);
  243|   269k|    }  
_ZN8jsoncons6nonstd16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  1.36M|    {       
  242|  1.36M|        return (ptr);
  243|  1.36M|    }  
_ZN8jsoncons6nonstd16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  1.32M|    {       
  242|  1.32M|        return (ptr);
  243|  1.32M|    }  
_ZN8jsoncons6nonstd16to_plain_pointerIcEEPT_S3_:
  241|   296k|    {       
  242|   296k|        return (ptr);
  243|   296k|    }  
_ZN8jsoncons6nonstd16to_plain_pointerImEEPT_S3_:
  241|   135k|    {       
  242|   135k|        return (ptr);
  243|   135k|    }  

_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|   727k|            : data_(data), size_(size)
   62|   727k|        {
   63|   727k|        }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4dataEv:
  111|  35.8M|        {
  112|  35.8M|            return data_;
  113|  35.8M|        }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4sizeEv:
  116|  54.1M|        {
  117|  54.1M|            return size_;
  118|  54.1M|        }
_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2Ev:
   58|  17.8M|        {
   59|  17.8M|        }

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

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

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|   205k|        {
  159|   205k|            return data_.empty();
  160|   205k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|   250k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|   250k|        {
  169|   250k|            return data_.begin();
  170|   250k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|   250k|        {
  174|   250k|            return data_.end();
  175|   250k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|   663k|        {
  154|   663k|            flatten_and_destroy();
  155|   663k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|   663k|        {
  725|   663k|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 142k, False: 521k]
  ------------------
  726|   142k|            {
  727|   142k|                json_array<Json> temp(get_allocator());
  728|       |
  729|   142k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 311k, False: 142k]
  ------------------
  730|   311k|                {
  731|   311k|                    switch (kv.value().storage_kind())
  732|   311k|                    {
  733|  21.1k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 21.1k, False: 290k]
  ------------------
  734|  67.1k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 46.0k, False: 265k]
  ------------------
  735|  67.1k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 48.9k, False: 18.1k]
  ------------------
  736|  48.9k|                            {
  737|  48.9k|                                temp.emplace_back(std::move(kv.value()));
  738|  48.9k|                            }
  739|  67.1k|                            break;
  740|   244k|                        default:
  ------------------
  |  Branch (740:25): [True: 244k, False: 67.1k]
  ------------------
  741|   244k|                            break;
  742|   311k|                    }
  743|   311k|                }
  744|   142k|            }
  745|   663k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|   663k|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|   374k|        {
  278|   374k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 374k, False: 0]
  ------------------
  279|   374k|            {
  280|   374k|                data_.reserve(count);
  281|       |
  282|   374k|                std::sort(items, items+count, compare);
  283|   374k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  3.83M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 3.46M, False: 374k]
  ------------------
  286|  3.46M|                {
  287|  3.46M|                    auto& item = items[i];
  288|  3.46M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 404k, False: 3.05M]
  ------------------
  289|   404k|                    {
  290|   404k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|   404k|                    }
  292|  3.46M|                }
  293|   374k|            }
  294|   374k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|  49.0M|        {
  269|  49.0M|            int comp = item1.name.compare(item2.name); 
  270|  49.0M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 3.01M, False: 46.0M]
  ------------------
  271|  46.0M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 44.3M, False: 1.62M]
  ------------------
  272|       |
  273|  1.62M|            return false;
  274|  46.0M|        }

_ZN8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEEC2ERKS4_S7_m:
  630|  6.92k|        : current_(first), end_(last), chunk_(chunk_size)
  631|  6.92k|    {
  632|  6.92k|    }
_ZN8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEEC2EOS5_:
  627|  6.92k|    iterator_source(iterator_source&& other) = default;
_ZNK8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE8positionEv:
  650|  4.81k|    {
  651|  4.81k|        return position_;
  652|  4.81k|    }
_ZN8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEED2Ev:
  634|  13.8k|    ~iterator_source() = default;
_ZNK8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE8is_errorEv:
  645|  76.2M|    {
  646|  76.2M|        return false;  
  647|  76.2M|    }
_ZN8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE4readES3_m:
  727|  78.0M|    {
  728|  78.0M|        std::size_t len = fill_buffer(data, length);
  729|       |
  730|  78.0M|        position_ += len;
  731|       |
  732|  78.0M|        return len;
  733|  78.0M|    }
_ZN8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE11fill_bufferES3_m:
  687|  78.5M|    {
  688|  78.5M|        value_type* p = chunk;
  689|  78.5M|        value_type* pend = chunk + chunk_size;
  690|       |
  691|   177M|        while (p < pend && current_ != end_)
  ------------------
  |  Branch (691:16): [True: 99.0M, False: 78.5M]
  |  Branch (691:28): [True: 99.0M, False: 4.44k]
  ------------------
  692|  99.0M|        {
  693|  99.0M|            *p = static_cast<value_type>(*current_);
  694|  99.0M|            ++p;
  695|  99.0M|            ++current_;
  696|  99.0M|        }
  697|       |
  698|  78.5M|        return p - chunk;
  699|  78.5M|    }
_ZN8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE9read_spanIRNS1_6vectorIhNS1_9allocatorIhEEEEEENS_6nonstd4spanIKhLm18446744073709551615EEEmOT_:
  708|  18.2M|    {
  709|  18.2M|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   79|  18.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 17.8M, False: 458k]
  |  |  ------------------
  ------------------
  710|  17.8M|        {
  711|  17.8M|            return span<const value_type>{};
  712|  17.8M|        }
  713|       |
  714|   458k|        if (length <= chunk_.size())
  ------------------
  |  Branch (714:13): [True: 458k, False: 497]
  ------------------
  715|   458k|        {
  716|   458k|            auto len = fill_buffer(chunk_.data(), length);
  717|   458k|            position_ += len;
  718|   458k|            return span<const value_type>(chunk_.data(), len);
  719|   458k|        }
  720|       |
  721|    497|        buffer.clear();
  722|    497|        source_reader<iterator_source<IteratorT>>::read(*this, buffer, length);
  723|    497|        return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  724|   458k|    }
_ZN8jsoncons13source_readerINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEEE4readINS2_6vectorIhNS2_9allocatorIhEEEEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr6nonstd7is_byteINT_10value_typeEEE5valueEmE4typeERS6_RSG_m:
  746|    497|    {
  747|    497|        std::size_t unread = length;
  748|       |
  749|  1.86k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 1.65k, False: 209]
  |  Branch (749:30): [True: 1.36k, False: 288]
  ------------------
  750|  1.36k|        {
  751|  1.36k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 1.36k, False: 0]
  |  Branch (751:44): [True: 1.11k, False: 255]
  ------------------
  752|  1.11k|            {
  753|  1.11k|                std::size_t n = source.chunk_size();
  754|  1.11k|                std::size_t offset = buffer.size();
  755|  1.11k|                buffer.resize(offset+n);
  756|  1.11k|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|  1.11k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|  1.11k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 134, False: 979]
  |  |  ------------------
  ------------------
  758|    134|                {
  759|    134|                    buffer.resize(offset+actual);
  760|    134|                }
  761|  1.11k|                unread -= actual;
  762|  1.11k|            }
  763|    255|            else
  764|    255|            {
  765|    255|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|    255|                std::size_t offset = buffer.size();
  767|    255|                buffer.resize(offset+n);
  768|    255|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|    255|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|    255|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 54, False: 201]
  |  |  ------------------
  ------------------
  770|     54|                {
  771|     54|                    buffer.resize(offset + actual);
  772|     54|                }
  773|    255|                unread -= actual;
  774|    255|            }
  775|  1.36k|        }
  776|    497|        return length - unread;
  777|    497|    }
_ZNK8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE3eofEv:
  640|  1.65k|    {
  641|  1.65k|        return !(current_ != end_);  
  642|  1.65k|    }
_ZNK8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE9remainingEv:
  702|  1.36k|    {
  703|  1.36k|        return 0;
  704|  1.36k|    }
_ZNK8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE10chunk_sizeEv:
  669|  2.73k|    {
  670|  2.73k|        return chunk_.size();
  671|  2.73k|    }
_ZN8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE11read_bufferES3_m:
  680|  1.11k|    {
  681|  1.11k|        auto len = fill_buffer(chunk, chunk_size);
  682|  1.11k|        position_ += len;
  683|  1.11k|        return len;
  684|  1.11k|    }

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

_ZN8jsoncons6binary13big_to_nativeIfNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   367k|    {
  183|   367k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 367k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   367k|        T val;
  188|   367k|        std::memcpy(&val,first,sizeof(T));
  189|   367k|        return byte_swap(val);
  190|   367k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|   367k|    {
   65|   367k|        uint32_t x;
   66|   367k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|   367k|        uint32_t y = byte_swap(x);
   68|   367k|        T val2;
   69|   367k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|   367k|        return val2;
   71|   367k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|   443k|    {
   40|   443k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|   443k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  463|   443k|#  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|   443k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  59.1k|    {
  183|  59.1k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 59.1k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  59.1k|        T val;
  188|  59.1k|        std::memcpy(&val,first,sizeof(T));
  189|  59.1k|        return byte_swap(val);
  190|  59.1k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  59.1k|    {
   77|  59.1k|        uint64_t x;
   78|  59.1k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  59.1k|        uint64_t y = byte_swap(x);
   80|  59.1k|        T val2;
   81|  59.1k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  59.1k|        return val2;
   83|  59.1k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|   152k|    {
   52|   152k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|   152k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  462|   152k|#  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|   152k|    }
_ZN8jsoncons6binary13big_to_nativeItNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  49.7k|    {
  183|  49.7k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 49.7k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  49.7k|        T val;
  188|  49.7k|        std::memcpy(&val,first,sizeof(T));
  189|  49.7k|        return byte_swap(val);
  190|  49.7k|    }
_ZN8jsoncons6binary9byte_swapItEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  49.7k|    {
   29|  49.7k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  49.7k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  467|  49.7k|#      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|  49.7k|    }
_ZN8jsoncons6binary13big_to_nativeIjNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  75.6k|    {
  183|  75.6k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 75.6k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  75.6k|        T val;
  188|  75.6k|        std::memcpy(&val,first,sizeof(T));
  189|  75.6k|        return byte_swap(val);
  190|  75.6k|    }
_ZN8jsoncons6binary13big_to_nativeImNS_6nonstd6endianEEENSt3__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|    }
_ZN8jsoncons6binary13big_to_nativeIaNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   619k|    {
  183|   619k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 619k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   619k|        T val;
  188|   619k|        std::memcpy(&val,first,sizeof(T));
  189|   619k|        return byte_swap(val);
  190|   619k|    }
_ZN8jsoncons6binary9byte_swapIaEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|   619k|    {
   22|   619k|        return val;
   23|   619k|    }
_ZN8jsoncons6binary13big_to_nativeIsNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  12.8k|    {
  183|  12.8k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 12.8k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  12.8k|        T val;
  188|  12.8k|        std::memcpy(&val,first,sizeof(T));
  189|  12.8k|        return byte_swap(val);
  190|  12.8k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  12.8k|    {
   29|  12.8k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  12.8k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  467|  12.8k|#      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|  12.8k|    }
_ZN8jsoncons6binary13big_to_nativeIiNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  27.4k|    {
  183|  27.4k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 27.4k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  27.4k|        T val;
  188|  27.4k|        std::memcpy(&val,first,sizeof(T));
  189|  27.4k|        return byte_swap(val);
  190|  27.4k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  27.4k|    {
   40|  27.4k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  27.4k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  463|  27.4k|#  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|  27.4k|    }
_ZN8jsoncons6binary13big_to_nativeIlNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  42.4k|    {
  183|  42.4k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 42.4k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  42.4k|        T val;
  188|  42.4k|        std::memcpy(&val,first,sizeof(T));
  189|  42.4k|        return byte_swap(val);
  190|  42.4k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  42.4k|    {
   52|  42.4k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  42.4k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  462|  42.4k|#  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|  42.4k|    }
_ZN8jsoncons6binary13big_to_nativeIhNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   475k|    {
  183|   475k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 475k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   475k|        T val;
  188|   475k|        std::memcpy(&val,first,sizeof(T));
  189|   475k|        return byte_swap(val);
  190|   475k|    }
_ZN8jsoncons6binary9byte_swapIhEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|   475k|    {
   22|   475k|        return val;
   23|   475k|    }

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

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

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

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

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr6nonstd10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  20.3M|{
   43|  20.3M|    using char_type = typename Result::value_type;
   44|       |
   45|  20.3M|    char_type buf[255];
   46|  20.3M|    char_type *p = buf;
   47|  20.3M|    const char_type* last = buf+255;
   48|       |
   49|  20.3M|    bool is_negative = value < 0;
   50|       |
   51|  20.3M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 20.3M]
  ------------------
   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.3M|    else
   60|  20.3M|    {
   61|       |
   62|  20.3M|        do
   63|  29.7M|        {
   64|  29.7M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  29.7M|        }
   66|  29.7M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 9.39M, False: 20.3M]
  |  Branch (66:33): [True: 9.39M, False: 0]
  ------------------
   67|  20.3M|    }
   68|  20.3M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   54|  20.3M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 20.3M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  20.3M|    std::size_t count = (p - buf);
   71|  20.3M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 20.3M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  50.0M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 29.7M, False: 20.3M]
  ------------------
   77|  29.7M|    {
   78|  29.7M|        result.push_back(*p);
   79|  29.7M|    }
   80|       |
   81|  20.3M|    return count;
   82|  20.3M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr6nonstd10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  6.33M|{
   43|  6.33M|    using char_type = typename Result::value_type;
   44|       |
   45|  6.33M|    char_type buf[255];
   46|  6.33M|    char_type *p = buf;
   47|  6.33M|    const char_type* last = buf+255;
   48|       |
   49|  6.33M|    bool is_negative = value < 0;
   50|       |
   51|  6.33M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 6.30M, False: 29.6k]
  ------------------
   52|  6.30M|    {
   53|  6.30M|        do
   54|  7.77M|        {
   55|  7.77M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  7.77M|        }
   57|  7.77M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 1.46M, False: 6.30M]
  |  Branch (57:33): [True: 1.46M, False: 0]
  ------------------
   58|  6.30M|    }
   59|  29.6k|    else
   60|  29.6k|    {
   61|       |
   62|  29.6k|        do
   63|   109k|        {
   64|   109k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|   109k|        }
   66|   109k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 79.7k, False: 29.6k]
  |  Branch (66:33): [True: 79.7k, False: 0]
  ------------------
   67|  29.6k|    }
   68|  6.33M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   54|  6.33M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 6.33M]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  6.33M|    std::size_t count = (p - buf);
   71|  6.33M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 6.30M, False: 29.6k]
  ------------------
   72|  6.30M|    {
   73|  6.30M|        result.push_back('-');
   74|  6.30M|        ++count;
   75|  6.30M|    }
   76|  14.2M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 7.87M, False: 6.33M]
  ------------------
   77|  7.87M|    {
   78|  7.87M|        result.push_back(*p);
   79|  7.87M|    }
   80|       |
   81|  6.33M|    return count;
   82|  6.33M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|   332k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|   332k|    {
  489|   332k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|   332k|        struct lconv *lc = localeconv();
  491|   332k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 332k, False: 0]
  |  Branch (491:30): [True: 332k, False: 0]
  ------------------
  492|   332k|        {
  493|   332k|            decimal_point_ = lc->decimal_point[0];
  494|   332k|        }
  495|   332k|#endif
  496|   332k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|   332k|    {
  504|   332k|        std::size_t count = 0;
  505|       |
  506|   332k|        char number_buffer[200];
  507|   332k|        int length = 0;
  508|       |
  509|   332k|        switch (float_format_)
  510|   332k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 332k]
  ------------------
  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: 332k]
  ------------------
  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|   332k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 332k, False: 0]
  ------------------
  552|   332k|            {
  553|   332k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 332k]
  ------------------
  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|   332k|                else
  563|   332k|                {
  564|   332k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 332k]
  ------------------
  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|   332k|                }             
  569|   332k|                break;
  570|   332k|            }
  571|   332k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 332k]
  ------------------
  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|   332k|        }
  575|   332k|        return count;
  576|   332k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  4.95k|{
  244|  4.95k|    const char *sbeg = buffer;
  245|  4.95k|    const char *send = sbeg + length;
  246|       |
  247|  4.95k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 4.95k, False: 0]
  ------------------
  248|  4.95k|    {
  249|  4.95k|        bool needs_dot = true;
  250|  54.6k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 49.7k, False: 4.95k]
  ------------------
  251|  49.7k|        {
  252|  49.7k|            switch (*q)
  253|  49.7k|            {
  254|  4.33k|            case '-':
  ------------------
  |  Branch (254:13): [True: 4.33k, False: 45.4k]
  ------------------
  255|  6.08k|            case '0':
  ------------------
  |  Branch (255:13): [True: 1.74k, False: 47.9k]
  ------------------
  256|  9.52k|            case '1':
  ------------------
  |  Branch (256:13): [True: 3.44k, False: 46.2k]
  ------------------
  257|  14.1k|            case '2':
  ------------------
  |  Branch (257:13): [True: 4.64k, False: 45.0k]
  ------------------
  258|  18.1k|            case '3':
  ------------------
  |  Branch (258:13): [True: 3.95k, False: 45.7k]
  ------------------
  259|  21.4k|            case '4':
  ------------------
  |  Branch (259:13): [True: 3.33k, False: 46.4k]
  ------------------
  260|  23.9k|            case '5':
  ------------------
  |  Branch (260:13): [True: 2.50k, False: 47.2k]
  ------------------
  261|  26.7k|            case '6':
  ------------------
  |  Branch (261:13): [True: 2.82k, False: 46.9k]
  ------------------
  262|  29.6k|            case '7':
  ------------------
  |  Branch (262:13): [True: 2.88k, False: 46.8k]
  ------------------
  263|  33.5k|            case '8':
  ------------------
  |  Branch (263:13): [True: 3.83k, False: 45.8k]
  ------------------
  264|  37.1k|            case '9':
  ------------------
  |  Branch (264:13): [True: 3.61k, False: 46.1k]
  ------------------
  265|  37.5k|            case '+':
  ------------------
  |  Branch (265:13): [True: 475, False: 49.2k]
  ------------------
  266|  37.5k|                result.push_back(*q);
  267|  37.5k|                break;
  268|  1.19k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 1.19k, False: 48.5k]
  ------------------
  269|  1.19k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 49.7k]
  ------------------
  270|  1.19k|                result.push_back('e');
  271|  1.19k|                needs_dot = false;
  272|  1.19k|                break;
  273|  10.9k|            default:
  ------------------
  |  Branch (273:13): [True: 10.9k, False: 38.7k]
  ------------------
  274|  10.9k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 1.55k, False: 9.38k]
  ------------------
  275|  1.55k|                {
  276|  1.55k|                    needs_dot = false;
  277|  1.55k|                    result.push_back('.');
  278|  1.55k|                }
  279|  10.9k|                break;
  280|  49.7k|            }
  281|  49.7k|        }
  282|  4.95k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 3.40k, False: 1.55k]
  ------------------
  283|  3.40k|        {
  284|  3.40k|            result.push_back('.');
  285|  3.40k|            result.push_back('0');
  286|  3.40k|        }
  287|  4.95k|    }
  288|  4.95k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKciiiiRT_:
  171|   327k|{
  172|   327k|    int nb_digits = length;
  173|   327k|    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|   327k|    int kk = nb_digits + k;
  179|       |
  180|   327k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 101k, False: 225k]
  |  Branch (180:28): [True: 16.4k, False: 85.5k]
  ------------------
  181|  16.4k|    {
  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|   183k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 167k, False: 16.4k]
  ------------------
  186|   167k|        {
  187|   167k|            result.push_back(buffer[i]);
  188|   167k|        }
  189|  18.1k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 1.63k, False: 16.4k]
  ------------------
  190|  1.63k|        {
  191|  1.63k|            result.push_back('0');
  192|  1.63k|        }
  193|  16.4k|        result.push_back('.');
  194|  16.4k|        result.push_back('0');
  195|  16.4k|    } 
  196|   310k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 205k, False: 105k]
  |  Branch (196:24): [True: 119k, False: 85.5k]
  ------------------
  197|   119k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|   662k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 542k, False: 119k]
  ------------------
  200|   542k|        {
  201|   542k|            result.push_back(buffer[i]);
  202|   542k|        }
  203|   119k|        result.push_back('.');
  204|  1.39M|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 1.27M, False: 119k]
  ------------------
  205|  1.27M|        {
  206|  1.27M|            result.push_back(buffer[i]);
  207|  1.27M|        }
  208|   119k|    } 
  209|   190k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 96.7k, False: 94.0k]
  |  Branch (209:30): [True: 11.2k, False: 85.5k]
  ------------------
  210|  11.2k|    {
  211|  11.2k|        offset = 2 - kk;
  212|       |
  213|  11.2k|        result.push_back('0');
  214|  11.2k|        result.push_back('.');
  215|  42.4k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 31.2k, False: 11.2k]
  ------------------
  216|  31.2k|            result.push_back('0');
  217|   189k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 178k, False: 11.2k]
  ------------------
  218|   178k|        {
  219|   178k|            result.push_back(buffer[i]);
  220|   178k|        }
  221|  11.2k|    } 
  222|   179k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 489, False: 179k]
  ------------------
  223|    489|    {
  224|    489|        result.push_back(buffer[0]);
  225|    489|        result.push_back('e');
  226|    489|        fill_exponent(kk - 1, result);
  227|    489|    } 
  228|   179k|    else
  229|   179k|    {
  230|   179k|        result.push_back(buffer[0]);
  231|   179k|        result.push_back('.');
  232|  2.94M|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 2.77M, False: 179k]
  ------------------
  233|  2.77M|        {
  234|  2.77M|            result.push_back(buffer[i]);
  235|  2.77M|        }
  236|   179k|        result.push_back('e');
  237|   179k|        fill_exponent(kk - 1, result);
  238|   179k|    }
  239|   327k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|   179k|{
  137|   179k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 94.0k, False: 85.5k]
  ------------------
  138|  94.0k|    {
  139|  94.0k|        result.push_back('-');
  140|  94.0k|        K = -K;
  141|  94.0k|    }
  142|  85.5k|    else
  143|  85.5k|    {
  144|  85.5k|        result.push_back('+'); // compatibility with sprintf
  145|  85.5k|    }
  146|       |
  147|   179k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 60.5k, False: 119k]
  ------------------
  148|  60.5k|    {
  149|  60.5k|        result.push_back('0'); // compatibility with sprintf
  150|  60.5k|        result.push_back((char)('0' + K));
  151|  60.5k|    }
  152|   119k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 73.6k, False: 45.3k]
  ------------------
  153|  73.6k|    {
  154|  73.6k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  73.6k|        result.push_back((char)('0' + K));
  156|  73.6k|    }
  157|  45.3k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 45.3k, False: 0]
  ------------------
  158|  45.3k|    {
  159|  45.3k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  45.3k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  45.3k|        result.push_back((char)('0' + K));
  162|  45.3k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|   179k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|   332k|{
  476|   332k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|   332k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|   332k|{
  367|   332k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 438, False: 332k]
  ------------------
  368|    438|    {
  369|    438|        result.push_back('0');
  370|    438|        result.push_back('.');
  371|    438|        result.push_back('0');
  372|    438|        return true;
  373|    438|    }
  374|       |
  375|   332k|    int length = 0;
  376|   332k|    int k;
  377|       |
  378|   332k|    char buffer[100];
  379|       |
  380|   332k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 285k, False: 46.1k]
  ------------------
  381|   332k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 327k, False: 4.95k]
  ------------------
  382|   327k|    {
  383|   327k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 282k, False: 44.7k]
  ------------------
  384|   282k|        {
  385|   282k|            result.push_back('-');
  386|   282k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|   327k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|   327k|        return true;
  391|   327k|    }
  392|  4.95k|    else
  393|  4.95k|    {
  394|  4.95k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  4.95k|    }
  396|   332k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  4.95k|{
  330|  4.95k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 4.95k]
  ------------------
  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.95k|    char buffer[100];
  339|  4.95k|    int precision = std::numeric_limits<double>::digits10;
  340|  4.95k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  4.95k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 4.95k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  4.95k|    double x{0};
  346|  4.95k|    auto res = decstr_to_double(buffer, length, x);
  347|  4.95k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 4.95k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  4.95k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 4.61k, False: 338]
  ------------------
  352|  4.61k|    {
  353|  4.61k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  4.61k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  4.61k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 4.61k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  4.61k|    }
  360|  4.95k|    dump_buffer(buffer, length, decimal_point, result);
  361|  4.95k|    return true;
  362|  4.95k|}

_ZN8jsoncons14unicode_traits8validateIhEENSt3__19enable_ifIXsr6nonstd8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  17.3M|    {
 1148|  17.3M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  17.3M|        const uint8_t* end = it + length;
 1150|       |
 1151|  17.3M|        unicode_errc  result{};
 1152|  17.4M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 64.4k, False: 17.3M]
  ------------------
 1153|  64.4k|        {
 1154|  64.4k|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 50.8k, False: 13.6k]
  ------------------
 1155|  50.8k|            {
 1156|   341k|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  326|   101k|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (326:32): [True: 49.9k, False: 869]
  |  |  |  Branch (326:34): [True: 49.4k, False: 463]
  |  |  |  Branch (326:36): [True: 49.2k, False: 228]
  |  |  |  Branch (326:38): [True: 48.9k, False: 337]
  |  |  |  Branch (326:40): [True: 48.3k, False: 539]
  |  |  |  Branch (326:42): [True: 47.7k, False: 588]
  |  |  |  Branch (326:44): [True: 47.5k, False: 215]
  |  |  |  Branch (326:46): [True: 47.2k, False: 285]
  |  |  ------------------
  ------------------
 1157|  47.2k|                continue;
 1158|   341k|            }
 1159|  17.1k|    non_ascii:
 1160|  17.1k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  17.1k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 43, False: 17.0k]
  ------------------
 1162|     43|            {
 1163|     43|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     43|            }
 1165|  17.0k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 212, False: 16.8k]
  ------------------
 1166|    212|            {
 1167|    212|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    212|            }
 1169|  16.8k|            it += len;
 1170|  16.8k|        }
 1171|  17.3M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  17.3M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  17.0k|    {
  306|  17.0k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  17.0k|        const uint8_t* end = it+length;
  308|       |
  309|  17.0k|        uint8_t byte;
  310|  17.0k|        switch (length) {
  311|     15|        default:
  ------------------
  |  Branch (311:9): [True: 15, False: 17.0k]
  ------------------
  312|     15|            return unicode_errc::over_long_utf8_sequence;
  313|    616|        case 4:
  ------------------
  |  Branch (313:9): [True: 616, False: 16.4k]
  ------------------
  314|    616|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 5, False: 611]
  ------------------
  315|      5|                return unicode_errc::bad_continuation_byte;
  316|    611|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|    611|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  1.98k|        case 3:
  ------------------
  |  Branch (317:9): [True: 1.37k, False: 15.7k]
  ------------------
  318|  1.98k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 13, False: 1.97k]
  ------------------
  319|     13|                return unicode_errc::bad_continuation_byte;
  320|  1.97k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|  1.97k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  4.42k|        case 2:
  ------------------
  |  Branch (321:9): [True: 2.44k, False: 14.6k]
  ------------------
  322|  4.42k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 56, False: 4.36k]
  ------------------
  323|     56|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  4.36k|            switch (*it) 
  326|  4.36k|            {
  327|       |                // no fall-through in this inner switch
  328|    485|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 485, False: 3.88k]
  |  Branch (328:32): [True: 8, False: 477]
  ------------------
  329|    477|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 247, False: 4.11k]
  |  Branch (329:32): [True: 4, False: 243]
  ------------------
  330|    243|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 232, False: 4.13k]
  |  Branch (330:32): [True: 5, False: 227]
  ------------------
  331|    363|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 363, False: 4.00k]
  |  Branch (331:32): [True: 3, False: 360]
  ------------------
  332|  3.03k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 3.03k, False: 1.32k]
  |  Branch (332:32): [True: 0, False: 3.03k]
  ------------------
  333|  4.36k|            }
  334|       |
  335|  4.34k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  565|  4.34k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  16.9k|        case 1:
  ------------------
  |  Branch (336:9): [True: 12.6k, False: 4.45k]
  ------------------
  337|  16.9k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 4.44k, False: 12.5k]
  |  Branch (337:32): [True: 102, False: 4.34k]
  ------------------
  338|    102|                return unicode_errc::source_illegal;
  339|  16.8k|            break;
  340|  17.0k|        }
  341|  16.8k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 1, False: 16.8k]
  ------------------
  342|      1|            return unicode_errc::source_illegal;
  343|       |
  344|  16.8k|        return unicode_errc();
  345|  16.8k|    }

_ZN8jsoncons7msgpack14decode_msgpackINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEJNS4_11__wrap_iterIPhEESA_EEET_DpOT0_:
  255|  6.92k|{
  256|  6.92k|    auto result = try_decode_msgpack<T>(std::forward<Args>(args)...); 
  257|  6.92k|    if (!result)
  ------------------
  |  Branch (257:9): [True: 4.81k, False: 2.11k]
  ------------------
  258|  4.81k|    {
  259|  4.81k|        JSONCONS_THROW(ser_error(result.error().code(), result.error().line(), result.error().column()));
  ------------------
  |  |   35|  4.81k|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  260|  4.81k|    }
  261|  2.11k|    return std::move(*result);
  262|  6.92k|}
_ZN8jsoncons7msgpack18try_decode_msgpackINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS4_11__wrap_iterIPhEEEENS4_9enable_ifIXsr6nonstd13is_basic_jsonIT_EE5valueENS_6nonstd8expectedISC_NS_10read_errorEEEE4typeET0_SJ_RKNS0_22msgpack_decode_optionsE:
  119|  6.92k|{
  120|  6.92k|    using value_type = T;
  121|  6.92k|    using result_type = read_result<value_type>;
  122|       |
  123|  6.92k|    std::error_code ec;   
  124|  6.92k|    jsoncons::json_decoder<T> decoder;
  125|  6.92k|    auto adaptor = make_json_visitor_adaptor<json_visitor>(decoder);
  126|  6.92k|    basic_msgpack_reader<iterator_source<InputIt>> reader(iterator_source<InputIt>(first, last), adaptor, options);
  127|  6.92k|    reader.read(ec);
  128|  6.92k|    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  6.92k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4.81k, False: 2.11k]
  |  |  ------------------
  ------------------
  129|  4.81k|    {
  130|  4.81k|        return result_type{jsoncons::unexpect, ec, reader.line(), reader.column()};
  131|  4.81k|    }
  132|  2.11k|    if (JSONCONS_UNLIKELY(!decoder.is_valid()))
  ------------------
  |  |   79|  2.11k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.11k]
  |  |  ------------------
  ------------------
  133|      0|    {
  134|      0|        return result_type{jsoncons::unexpect, conv_errc::conversion_failed, reader.line(), reader.column()};
  135|      0|    }
  136|  2.11k|    return result_type{decoder.get_result()};
  137|  2.11k|}

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

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

_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEEC2IS7_EEOT_RKNS0_22msgpack_decode_optionsERKS9_:
   86|  6.92k|       : source_(std::forward<Sourceable>(source)),
   87|  6.92k|         max_nesting_depth_(options.max_nesting_depth()),
   88|  6.92k|         text_buffer_(alloc),
   89|  6.92k|         bytes_buffer_(alloc),
   90|  6.92k|         state_stack_(alloc)
   91|  6.92k|    {
   92|  6.92k|        state_stack_.emplace_back(parse_mode::root,0);
   93|  6.92k|    }
_ZN8jsoncons7msgpack11parse_stateC2ENS0_10parse_modeEm:
   46|  3.89M|        : mode(mode), length(length)
   47|  3.89M|    {
   48|  3.89M|    }
_ZNK8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE4lineEv:
  149|  4.81k|    {
  150|  4.81k|        return 0;
  151|  4.81k|    }
_ZNK8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE6columnEv:
  154|  4.81k|    {
  155|  4.81k|        return source_.position();
  156|  4.81k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE5resetEv:
  101|  6.92k|    {
  102|  6.92k|        more_ = true;
  103|  6.92k|        done_ = false;
  104|  6.92k|        text_buffer_.clear();
  105|  6.92k|        bytes_buffer_.clear();
  106|  6.92k|        state_stack_.clear();
  107|  6.92k|        state_stack_.emplace_back(parse_mode::root,0);
  108|  6.92k|        nesting_depth_ = 0;
  109|  6.92k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE5parseERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  159|  6.92k|    {
  160|  80.0M|        while (!done_ && more_)
  ------------------
  |  Branch (160:16): [True: 80.0M, False: 2.11k]
  |  Branch (160:26): [True: 80.0M, False: 0]
  ------------------
  161|  80.0M|        {
  162|  80.0M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (162:21): [True: 80.0M, False: 0]
  ------------------
  163|  80.0M|            {
  164|  44.3M|                case parse_mode::array:
  ------------------
  |  Branch (164:17): [True: 44.3M, False: 35.6M]
  ------------------
  165|  44.3M|                {
  166|  44.3M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (166:25): [True: 42.3M, False: 2.01M]
  ------------------
  167|  42.3M|                    {
  168|  42.3M|                        ++state_stack_.back().index;
  169|  42.3M|                        read_item(visitor, ec);
  170|  42.3M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  42.3M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1.32k, False: 42.3M]
  |  |  ------------------
  ------------------
  171|  1.32k|                        {
  172|  1.32k|                            return;
  173|  1.32k|                        }
  174|  42.3M|                    }
  175|  2.01M|                    else
  176|  2.01M|                    {
  177|  2.01M|                        end_array(visitor, ec);
  178|  2.01M|                    }
  179|  44.3M|                    break;
  180|  44.3M|                }
  181|  44.3M|                case parse_mode::map_key:
  ------------------
  |  Branch (181:17): [True: 18.7M, False: 61.3M]
  ------------------
  182|  18.7M|                {
  183|  18.7M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (183:25): [True: 16.9M, False: 1.81M]
  ------------------
  184|  16.9M|                    {
  185|  16.9M|                        ++state_stack_.back().index;
  186|  16.9M|                        state_stack_.back().mode = parse_mode::map_value;
  187|  16.9M|                        read_item(visitor, ec);
  188|  16.9M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  16.9M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1.10k, False: 16.9M]
  |  |  ------------------
  ------------------
  189|  1.10k|                        {
  190|  1.10k|                            return;
  191|  1.10k|                        }
  192|  16.9M|                    }
  193|  1.81M|                    else
  194|  1.81M|                    {
  195|  1.81M|                        end_object(visitor, ec);
  196|  1.81M|                    }
  197|  18.7M|                    break;
  198|  18.7M|                }
  199|  18.7M|                case parse_mode::map_value:
  ------------------
  |  Branch (199:17): [True: 16.9M, False: 63.1M]
  ------------------
  200|  16.9M|                {
  201|  16.9M|                    state_stack_.back().mode = parse_mode::map_key;
  202|  16.9M|                    read_item(visitor, ec);
  203|  16.9M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  16.9M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1.93k, False: 16.9M]
  |  |  ------------------
  ------------------
  204|  1.93k|                    {
  205|  1.93k|                        return;
  206|  1.93k|                    }
  207|  16.9M|                    break;
  208|  16.9M|                }
  209|  16.9M|                case parse_mode::root:
  ------------------
  |  Branch (209:17): [True: 6.92k, False: 80.0M]
  ------------------
  210|  6.92k|                {
  211|  6.92k|                    state_stack_.back().mode = parse_mode::accept;
  212|  6.92k|                    read_item(visitor, ec);
  213|  6.92k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  6.92k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 441, False: 6.48k]
  |  |  ------------------
  ------------------
  214|    441|                    {
  215|    441|                        return;
  216|    441|                    }
  217|  6.48k|                    break;
  218|  6.92k|                }
  219|  6.48k|                case parse_mode::accept:
  ------------------
  |  Branch (219:17): [True: 2.11k, False: 80.0M]
  ------------------
  220|  2.11k|                {
  221|  2.11k|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   54|  2.11k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (54:32): [True: 0, False: 2.11k]
  |  |  ------------------
  |  |   55|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   56|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  222|  2.11k|                    state_stack_.clear();
  223|  2.11k|                    more_ = false;
  224|  2.11k|                    done_ = true;
  225|  2.11k|                    visitor.flush();
  226|  2.11k|                    break;
  227|  2.11k|                }
  228|  80.0M|            }
  229|  80.0M|        }
  230|  6.92k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE9read_itemERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  234|  76.2M|    {
  235|  76.2M|        if (source_.is_error())
  ------------------
  |  Branch (235:13): [True: 0, False: 76.2M]
  ------------------
  236|      0|        {
  237|      0|            ec = msgpack_errc::source_error;
  238|      0|            more_ = false;
  239|      0|            return;
  240|      0|        }   
  241|       |
  242|  76.2M|        uint8_t type;
  243|  76.2M|        if (source_.read(&type, 1) == 0)
  ------------------
  |  Branch (243:13): [True: 3.66k, False: 76.2M]
  ------------------
  244|  3.66k|        {
  245|  3.66k|            ec = msgpack_errc::unexpected_eof;
  246|  3.66k|            more_ = false;
  247|  3.66k|            return;
  248|  3.66k|        }
  249|       |
  250|  76.2M|        if (type <= 0xbf)
  ------------------
  |  Branch (250:13): [True: 58.5M, False: 17.6M]
  ------------------
  251|  58.5M|        {
  252|  58.5M|            if (type <= 0x7f) 
  ------------------
  |  Branch (252:17): [True: 37.3M, False: 21.2M]
  ------------------
  253|  37.3M|            {
  254|       |                // positive fixint
  255|  37.3M|                visitor.uint64_value(type, semantic_tag::none, *this, ec);
  256|  37.3M|                more_ = !cursor_mode_;
  257|  37.3M|            }
  258|  21.2M|            else if (type <= 0x8f) 
  ------------------
  |  Branch (258:22): [True: 1.81M, False: 19.3M]
  ------------------
  259|  1.81M|            {
  260|  1.81M|                begin_object(visitor,type,ec); // fixmap
  261|  1.81M|            }
  262|  19.3M|            else if (type <= 0x9f) 
  ------------------
  |  Branch (262:22): [True: 2.03M, False: 17.3M]
  ------------------
  263|  2.03M|            {
  264|  2.03M|                begin_array(visitor,type,ec); // fixarray
  265|  2.03M|            }
  266|  17.3M|            else 
  267|  17.3M|            {
  268|       |                // fixstr
  269|  17.3M|                const size_t len = type & 0x1f;
  270|       |
  271|  17.3M|                auto data = source_.read_span(len, bytes_buffer_);
  272|  17.3M|                if (data.size() != static_cast<std::size_t>(len))
  ------------------
  |  Branch (272:21): [True: 64, False: 17.3M]
  ------------------
  273|     64|                {
  274|     64|                    ec = msgpack_errc::unexpected_eof;
  275|     64|                    more_ = false;
  276|     64|                    return;
  277|     64|                }
  278|       |
  279|  17.3M|                auto result = unicode_traits::validate(data.data(), data.size());
  280|  17.3M|                if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (280:21): [True: 220, False: 17.3M]
  ------------------
  281|    220|                {
  282|    220|                    ec = msgpack_errc::invalid_utf8_text_string;
  283|    220|                    more_ = false;
  284|    220|                    return;
  285|    220|                }
  286|  17.3M|                visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  287|  17.3M|                    semantic_tag::none, *this, ec);
  288|  17.3M|                more_ = !cursor_mode_;
  289|  17.3M|            }
  290|  58.5M|        }
  291|  17.6M|        else if (type >= 0xe0) 
  ------------------
  |  Branch (291:18): [True: 10.7M, False: 6.91M]
  ------------------
  292|  10.7M|        {
  293|       |            // negative fixint
  294|  10.7M|            visitor.int64_value(static_cast<int8_t>(type), semantic_tag::none, *this, ec);
  295|  10.7M|            more_ = !cursor_mode_;
  296|  10.7M|        }
  297|  6.91M|        else
  298|  6.91M|        {
  299|  6.91M|            switch (type)
  300|  6.91M|            {
  301|  1.18M|                case jsoncons::msgpack::msgpack_type::nil_type: 
  ------------------
  |  Branch (301:17): [True: 1.18M, False: 5.72M]
  ------------------
  302|  1.18M|                {
  303|  1.18M|                    visitor.null_value(semantic_tag::none, *this, ec);
  304|  1.18M|                    more_ = !cursor_mode_;
  305|  1.18M|                    break;
  306|      0|                }
  307|  3.73M|                case jsoncons::msgpack::msgpack_type::true_type:
  ------------------
  |  Branch (307:17): [True: 3.73M, False: 3.17M]
  ------------------
  308|  3.73M|                {
  309|  3.73M|                    visitor.bool_value(true, semantic_tag::none, *this, ec);
  310|  3.73M|                    more_ = !cursor_mode_;
  311|  3.73M|                    break;
  312|      0|                }
  313|   345k|                case jsoncons::msgpack::msgpack_type::false_type:
  ------------------
  |  Branch (313:17): [True: 345k, False: 6.56M]
  ------------------
  314|   345k|                {
  315|   345k|                    visitor.bool_value(false, semantic_tag::none, *this, ec);
  316|   345k|                    more_ = !cursor_mode_;
  317|   345k|                    break;
  318|      0|                }
  319|   367k|                case jsoncons::msgpack::msgpack_type::float32_type: 
  ------------------
  |  Branch (319:17): [True: 367k, False: 6.54M]
  ------------------
  320|   367k|                {
  321|   367k|                    uint8_t buf[sizeof(float)];
  322|   367k|                    if (source_.read(buf, sizeof(float)) != sizeof(float))
  ------------------
  |  Branch (322:25): [True: 52, False: 367k]
  ------------------
  323|     52|                    {
  324|     52|                        ec = msgpack_errc::unexpected_eof;
  325|     52|                        more_ = false;
  326|     52|                        return;
  327|     52|                    }
  328|   367k|                    float val = binary::big_to_native<float>(buf, sizeof(buf));
  329|   367k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  330|   367k|                    more_ = !cursor_mode_;
  331|   367k|                    break;
  332|   367k|                }
  333|       |
  334|  59.1k|                case jsoncons::msgpack::msgpack_type::float64_type: 
  ------------------
  |  Branch (334:17): [True: 59.1k, False: 6.85M]
  ------------------
  335|  59.1k|                {
  336|  59.1k|                    uint8_t buf[sizeof(double)];
  337|  59.1k|                    if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (337:25): [True: 34, False: 59.1k]
  ------------------
  338|     34|                    {
  339|     34|                        ec = msgpack_errc::unexpected_eof;
  340|     34|                        more_ = false;
  341|     34|                        return;
  342|     34|                    }
  343|  59.1k|                    double val = binary::big_to_native<double>(buf, sizeof(buf));
  344|  59.1k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  345|  59.1k|                    more_ = !cursor_mode_;
  346|  59.1k|                    break;
  347|  59.1k|                }
  348|       |
  349|  9.57k|                case jsoncons::msgpack::msgpack_type::uint8_type: 
  ------------------
  |  Branch (349:17): [True: 9.57k, False: 6.90M]
  ------------------
  350|  9.57k|                {
  351|  9.57k|                    uint8_t b;
  352|  9.57k|                    if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (352:25): [True: 8, False: 9.56k]
  ------------------
  353|      8|                    {
  354|      8|                        ec = msgpack_errc::unexpected_eof;
  355|      8|                        more_ = false;
  356|      8|                        return;
  357|      8|                    }
  358|  9.56k|                    visitor.uint64_value(b, semantic_tag::none, *this, ec);
  359|  9.56k|                    more_ = !cursor_mode_;
  360|  9.56k|                    break;
  361|  9.57k|                }
  362|       |
  363|    894|                case jsoncons::msgpack::msgpack_type::uint16_type: 
  ------------------
  |  Branch (363:17): [True: 894, False: 6.91M]
  ------------------
  364|    894|                {
  365|    894|                    uint8_t buf[sizeof(uint16_t)];
  366|    894|                    if (source_.read(buf, sizeof(uint16_t)) !=sizeof(uint16_t)) 
  ------------------
  |  Branch (366:25): [True: 7, False: 887]
  ------------------
  367|      7|                    {
  368|      7|                        ec = msgpack_errc::unexpected_eof;
  369|      7|                        more_ = false;
  370|      7|                        return;
  371|      7|                    }
  372|    887|                    uint16_t val = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  373|    887|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  374|    887|                    more_ = !cursor_mode_;
  375|    887|                    break;
  376|    894|                }
  377|       |
  378|    644|                case jsoncons::msgpack::msgpack_type::uint32_type: 
  ------------------
  |  Branch (378:17): [True: 644, False: 6.91M]
  ------------------
  379|    644|                {
  380|    644|                    uint8_t buf[sizeof(uint32_t)];
  381|    644|                    if (source_.read(buf, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (381:25): [True: 9, False: 635]
  ------------------
  382|      9|                    {
  383|      9|                        ec = msgpack_errc::unexpected_eof;
  384|      9|                        more_ = false;
  385|      9|                        return;
  386|      9|                    }
  387|    635|                    uint32_t val = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  388|    635|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  389|    635|                    more_ = !cursor_mode_;
  390|    635|                    break;
  391|    644|                }
  392|       |
  393|  29.4k|                case jsoncons::msgpack::msgpack_type::uint64_type: 
  ------------------
  |  Branch (393:17): [True: 29.4k, False: 6.88M]
  ------------------
  394|  29.4k|                {
  395|  29.4k|                    uint8_t buf[sizeof(uint64_t)];
  396|  29.4k|                    if (source_.read(buf, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (396:25): [True: 10, False: 29.4k]
  ------------------
  397|     10|                    {
  398|     10|                        ec = msgpack_errc::unexpected_eof;
  399|     10|                        more_ = false;
  400|     10|                        return;
  401|     10|                    }
  402|  29.4k|                    uint64_t val = binary::big_to_native<uint64_t>(buf, sizeof(buf));
  403|  29.4k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  404|  29.4k|                    more_ = !cursor_mode_;
  405|  29.4k|                    break;
  406|  29.4k|                }
  407|       |
  408|  73.1k|                case jsoncons::msgpack::msgpack_type::int8_type: 
  ------------------
  |  Branch (408:17): [True: 73.1k, False: 6.83M]
  ------------------
  409|  73.1k|                {
  410|  73.1k|                    uint8_t buf[sizeof(int8_t)];
  411|  73.1k|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (411:25): [True: 3, False: 73.1k]
  ------------------
  412|      3|                    {
  413|      3|                        ec = msgpack_errc::unexpected_eof;
  414|      3|                        more_ = false;
  415|      3|                        return;
  416|      3|                    }
  417|  73.1k|                    int8_t val = binary::big_to_native<int8_t>(buf, sizeof(buf));
  418|  73.1k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  419|  73.1k|                    more_ = !cursor_mode_;
  420|  73.1k|                    break;
  421|  73.1k|                }
  422|       |
  423|  12.8k|                case jsoncons::msgpack::msgpack_type::int16_type: 
  ------------------
  |  Branch (423:17): [True: 12.8k, False: 6.90M]
  ------------------
  424|  12.8k|                {
  425|  12.8k|                    uint8_t buf[sizeof(int16_t)];
  426|  12.8k|                    if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (426:25): [True: 8, False: 12.8k]
  ------------------
  427|      8|                    {
  428|      8|                        ec = msgpack_errc::unexpected_eof;
  429|      8|                        more_ = false;
  430|      8|                        return;
  431|      8|                    }
  432|  12.8k|                    int16_t val = binary::big_to_native<int16_t>(buf, sizeof(buf));
  433|  12.8k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  434|  12.8k|                    more_ = !cursor_mode_;
  435|  12.8k|                    break;
  436|  12.8k|                }
  437|       |
  438|  27.4k|                case jsoncons::msgpack::msgpack_type::int32_type: 
  ------------------
  |  Branch (438:17): [True: 27.4k, False: 6.88M]
  ------------------
  439|  27.4k|                {
  440|  27.4k|                    uint8_t buf[sizeof(int32_t)];
  441|  27.4k|                    if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (441:25): [True: 9, False: 27.4k]
  ------------------
  442|      9|                    {
  443|      9|                        ec = msgpack_errc::unexpected_eof;
  444|      9|                        more_ = false;
  445|      9|                        return;
  446|      9|                    }
  447|  27.4k|                    int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  448|  27.4k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  449|  27.4k|                    more_ = !cursor_mode_;
  450|  27.4k|                    break;
  451|  27.4k|                }
  452|       |
  453|  1.40k|                case jsoncons::msgpack::msgpack_type::int64_type: 
  ------------------
  |  Branch (453:17): [True: 1.40k, False: 6.91M]
  ------------------
  454|  1.40k|                {
  455|  1.40k|                    uint8_t buf[sizeof(int64_t)];
  456|  1.40k|                    if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (456:25): [True: 11, False: 1.39k]
  ------------------
  457|     11|                    {
  458|     11|                        ec = msgpack_errc::unexpected_eof;
  459|     11|                        more_ = false;
  460|     11|                        return;
  461|     11|                    }
  462|  1.39k|                    int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  463|  1.39k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  464|  1.39k|                    more_ = !cursor_mode_;
  465|  1.39k|                    break;
  466|  1.40k|                }
  467|       |
  468|    959|                case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (468:17): [True: 959, False: 6.91M]
  ------------------
  469|  1.22k|                case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (469:17): [True: 267, False: 6.91M]
  ------------------
  470|  10.0k|                case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (470:17): [True: 8.79k, False: 6.90M]
  ------------------
  471|  10.0k|                {
  472|  10.0k|                    std::size_t len = get_size(type, ec);
  473|  10.0k|                    if (!more_)
  ------------------
  |  Branch (473:25): [True: 19, False: 10.0k]
  ------------------
  474|     19|                    {
  475|     19|                        return;
  476|     19|                    }
  477|       |
  478|  10.0k|                    auto data = source_.read_span(len, bytes_buffer_);
  479|  10.0k|                    if (data.size() != static_cast<std::size_t>(len))
  ------------------
  |  Branch (479:25): [True: 87, False: 9.91k]
  ------------------
  480|     87|                    {
  481|     87|                        ec = msgpack_errc::unexpected_eof;
  482|     87|                        more_ = false;
  483|     87|                        return;
  484|     87|                    }
  485|       |
  486|  9.91k|                    auto result = unicode_traits::validate(data.data(), data.size());
  487|  9.91k|                    if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (487:25): [True: 35, False: 9.87k]
  ------------------
  488|     35|                    {
  489|     35|                        ec = msgpack_errc::invalid_utf8_text_string;
  490|     35|                        more_ = false;
  491|     35|                        return;
  492|     35|                    }
  493|  9.87k|                    visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  494|  9.87k|                        semantic_tag::none, *this, ec);
  495|  9.87k|                    more_ = !cursor_mode_;
  496|  9.87k|                    break;
  497|  9.91k|                }
  498|       |
  499|   452k|                case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (499:17): [True: 452k, False: 6.46M]
  ------------------
  500|   473k|                case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (500:17): [True: 20.7k, False: 6.89M]
  ------------------
  501|   473k|                case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (501:17): [True: 254, False: 6.91M]
  ------------------
  502|   473k|                {
  503|   473k|                    std::size_t len = get_size(type,ec);
  504|   473k|                    if (!more_)
  ------------------
  |  Branch (504:25): [True: 36, False: 473k]
  ------------------
  505|     36|                    {
  506|     36|                        return;
  507|     36|                    }
  508|   473k|                    auto data = source_.read_span(len, bytes_buffer_);
  509|   473k|                    if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   79|   473k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 136, False: 473k]
  |  |  ------------------
  ------------------
  510|    136|                    {
  511|    136|                        ec = msgpack_errc::unexpected_eof;
  512|    136|                        more_ = false;
  513|    136|                        return;
  514|    136|                    }
  515|       |
  516|   473k|                    visitor.byte_string_value(byte_string_view(data.data(),data.size()), 
  517|   473k|                        semantic_tag::none, 
  518|   473k|                        *this,
  519|   473k|                        ec);
  520|   473k|                    more_ = !cursor_mode_;
  521|   473k|                    break;
  522|   473k|                }
  523|   401k|                case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (523:17): [True: 401k, False: 6.51M]
  ------------------
  524|   413k|                case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (524:17): [True: 11.8k, False: 6.90M]
  ------------------
  525|   418k|                case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (525:17): [True: 4.80k, False: 6.90M]
  ------------------
  526|   487k|                case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (526:17): [True: 69.0k, False: 6.84M]
  ------------------
  527|   502k|                case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (527:17): [True: 14.8k, False: 6.89M]
  ------------------
  528|   523k|                case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (528:17): [True: 21.5k, False: 6.89M]
  ------------------
  529|   526k|                case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (529:17): [True: 2.19k, False: 6.91M]
  ------------------
  530|   546k|                case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (530:17): [True: 20.7k, False: 6.89M]
  ------------------
  531|   546k|                {
  532|   546k|                    std::size_t len = get_size(type,ec);
  533|   546k|                    if (!more_)
  ------------------
  |  Branch (533:25): [True: 38, False: 546k]
  ------------------
  534|     38|                    {
  535|     38|                        return;
  536|     38|                    }
  537|       |
  538|       |                    // type
  539|   546k|                    uint8_t buf[sizeof(int8_t)];
  540|   546k|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (540:25): [True: 50, False: 546k]
  ------------------
  541|     50|                    {
  542|     50|                        ec = msgpack_errc::unexpected_eof;
  543|     50|                        more_ = false;
  544|     50|                        return;
  545|     50|                    }
  546|       |
  547|   546k|                    int8_t ext_type = binary::big_to_native<int8_t>(buf, sizeof(buf));
  548|       |
  549|   546k|                    bool is_timestamp = false; 
  550|   546k|                    if (ext_type == -1)
  ------------------
  |  Branch (550:25): [True: 109k, False: 437k]
  ------------------
  551|   109k|                    {
  552|   109k|                        is_timestamp = true;;
  553|   109k|                    }
  554|       |
  555|       |                    // payload
  556|   546k|                    if (is_timestamp && len == 4)
  ------------------
  |  Branch (556:25): [True: 109k, False: 437k]
  |  Branch (556:41): [True: 1.35k, False: 107k]
  ------------------
  557|  1.35k|                    {
  558|  1.35k|                        uint8_t buf32[sizeof(uint32_t)];
  559|  1.35k|                        if (source_.read(buf32, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (559:29): [True: 6, False: 1.35k]
  ------------------
  560|      6|                        {
  561|      6|                            ec = msgpack_errc::unexpected_eof;
  562|      6|                            more_ = false;
  563|      6|                            return;
  564|      6|                        }
  565|  1.35k|                        uint32_t val = binary::big_to_native<uint32_t>(buf32, sizeof(buf32));
  566|  1.35k|                        visitor.uint64_value(val, semantic_tag::epoch_second, *this, ec);
  567|  1.35k|                        more_ = !cursor_mode_;
  568|  1.35k|                    }
  569|   545k|                    else if (is_timestamp && len == 8)
  ------------------
  |  Branch (569:30): [True: 107k, False: 437k]
  |  Branch (569:46): [True: 63.7k, False: 44.1k]
  ------------------
  570|  63.7k|                    {
  571|  63.7k|                        uint8_t buf64[sizeof(uint64_t)];
  572|  63.7k|                        if (source_.read(buf64, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (572:29): [True: 27, False: 63.6k]
  ------------------
  573|     27|                        {
  574|     27|                            ec = msgpack_errc::unexpected_eof;
  575|     27|                            more_ = false;
  576|     27|                            return;
  577|     27|                        }
  578|  63.6k|                        uint64_t data64 = binary::big_to_native<uint64_t>(buf64, sizeof(buf64));
  579|  63.6k|                        uint64_t sec = data64 & 0x00000003ffffffffL;
  580|  63.6k|                        uint64_t nsec = data64 >> 34;
  581|       |
  582|  63.6k|                        bigint nano(sec);
  583|  63.6k|                        nano *= uint64_t(nanos_in_second);
  584|  63.6k|                        nano += nsec;
  585|  63.6k|                        text_buffer_.clear();
  586|  63.6k|                        nano.append_to_buffer(text_buffer_);
  587|  63.6k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  588|  63.6k|                        more_ = !cursor_mode_;
  589|  63.6k|                        if (!more_) return;
  ------------------
  |  Branch (589:29): [True: 0, False: 63.6k]
  ------------------
  590|  63.6k|                    }
  591|   481k|                    else if (is_timestamp && len == 12)
  ------------------
  |  Branch (591:30): [True: 44.1k, False: 437k]
  |  Branch (591:46): [True: 41.0k, False: 3.12k]
  ------------------
  592|  41.0k|                    {
  593|  41.0k|                        uint8_t buf1[sizeof(uint32_t)];
  594|  41.0k|                        if (source_.read(buf1, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (594:29): [True: 14, False: 41.0k]
  ------------------
  595|     14|                        {
  596|     14|                            ec = msgpack_errc::unexpected_eof;
  597|     14|                            more_ = false;
  598|     14|                            return;
  599|     14|                        }
  600|  41.0k|                        uint32_t nsec = binary::big_to_native<uint32_t>(buf1, sizeof(buf1));
  601|       |
  602|  41.0k|                        uint8_t buf2[sizeof(int64_t)];
  603|  41.0k|                        if (source_.read(buf2, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (603:29): [True: 23, False: 41.0k]
  ------------------
  604|     23|                        {
  605|     23|                            ec = msgpack_errc::unexpected_eof;
  606|     23|                            more_ = false;
  607|     23|                            return;
  608|     23|                        }
  609|  41.0k|                        int64_t sec = binary::big_to_native<int64_t>(buf2, sizeof(buf2));
  610|       |
  611|  41.0k|                        bigint nano(sec);
  612|       |
  613|  41.0k|                        nano *= uint64_t(nanos_in_second);
  614|       |
  615|  41.0k|                        if (nano < 0)
  ------------------
  |  Branch (615:29): [True: 25.4k, False: 15.6k]
  ------------------
  616|  25.4k|                        {
  617|  25.4k|                            nano -= nsec;
  618|  25.4k|                        }
  619|  15.6k|                        else
  620|  15.6k|                        {
  621|  15.6k|                            nano += nsec;
  622|  15.6k|                        }
  623|       |
  624|  41.0k|                        text_buffer_.clear();
  625|  41.0k|                        nano.append_to_buffer(text_buffer_);
  626|  41.0k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  627|  41.0k|                        more_ = !cursor_mode_;
  628|  41.0k|                        if (!more_) return;
  ------------------
  |  Branch (628:29): [True: 0, False: 41.0k]
  ------------------
  629|  41.0k|                    }
  630|   440k|                    else
  631|   440k|                    {
  632|   440k|                        auto data = source_.read_span(len, bytes_buffer_);
  633|   440k|                        if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   79|   440k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 189, False: 440k]
  |  |  ------------------
  ------------------
  634|    189|                        {
  635|    189|                            ec = msgpack_errc::unexpected_eof;
  636|    189|                            more_ = false;
  637|    189|                            return;
  638|    189|                        }
  639|       |
  640|   440k|                        visitor.byte_string_value(byte_string_view(data.data(),data.size()), 
  641|   440k|                                                          static_cast<uint8_t>(ext_type), 
  642|   440k|                                                          *this,
  643|   440k|                                                          ec);
  644|   440k|                        more_ = !cursor_mode_;
  645|   440k|                    }
  646|   546k|                    break;
  647|   546k|                }
  648|       |
  649|   546k|                case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (649:17): [True: 5.18k, False: 6.90M]
  ------------------
  650|  6.41k|                case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (650:17): [True: 1.22k, False: 6.91M]
  ------------------
  651|  6.41k|                {
  652|  6.41k|                    begin_array(visitor,type,ec);
  653|  6.41k|                    break;
  654|  5.18k|                }
  655|       |
  656|  20.4k|                case jsoncons::msgpack::msgpack_type::map16_type : 
  ------------------
  |  Branch (656:17): [True: 20.4k, False: 6.89M]
  ------------------
  657|  22.0k|                case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (657:17): [True: 1.58k, False: 6.91M]
  ------------------
  658|  22.0k|                {
  659|  22.0k|                    begin_object(visitor, type, ec);
  660|  22.0k|                    break;
  661|  20.4k|                }
  662|       |
  663|      6|                default:
  ------------------
  |  Branch (663:17): [True: 6, False: 6.91M]
  ------------------
  664|      6|                {
  665|      6|                    ec = msgpack_errc::unknown_type;
  666|      6|                    more_ = false;
  667|      6|                    return;
  668|  20.4k|                }
  669|  6.91M|            }
  670|  6.91M|        }
  671|  76.2M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE12begin_objectERNS_21basic_generic_visitorIcEEhRNS3_10error_codeE:
  701|  1.84M|    {
  702|  1.84M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   79|  1.84M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2, False: 1.84M]
  |  |  ------------------
  ------------------
  703|      2|        {
  704|      2|            ec = msgpack_errc::max_nesting_depth_exceeded;
  705|      2|            more_ = false;
  706|      2|            return;
  707|      2|        } 
  708|  1.84M|        std::size_t length = get_size(type, ec);
  709|  1.84M|        if (!more_)
  ------------------
  |  Branch (709:13): [True: 21, False: 1.84M]
  ------------------
  710|     21|        {
  711|     21|            return;
  712|     21|        }
  713|  1.84M|        state_stack_.emplace_back(parse_mode::map_key,length);
  714|  1.84M|        visitor.begin_object(length, semantic_tag::none, *this, ec);
  715|  1.84M|        more_ = !cursor_mode_;
  716|  1.84M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE11begin_arrayERNS_21basic_generic_visitorIcEEhRNS3_10error_codeE:
  674|  2.04M|    {
  675|  2.04M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   79|  2.04M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1, False: 2.04M]
  |  |  ------------------
  ------------------
  676|      1|        {
  677|      1|            ec = msgpack_errc::max_nesting_depth_exceeded;
  678|      1|            more_ = false;
  679|      1|            return;
  680|      1|        } 
  681|  2.04M|        std::size_t length = get_size(type, ec);
  682|  2.04M|        if (!more_)
  ------------------
  |  Branch (682:13): [True: 24, False: 2.04M]
  ------------------
  683|     24|        {
  684|     24|            return;
  685|     24|        }
  686|  2.04M|        state_stack_.emplace_back(parse_mode::array,length);
  687|  2.04M|        visitor.begin_array(length, semantic_tag::none, *this, ec);
  688|  2.04M|        more_ = !cursor_mode_;
  689|  2.04M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE8get_sizeEhRNS3_10error_codeE:
  727|  4.91M|    {
  728|  4.91M|        switch (type)
  729|  4.91M|        {
  730|    959|            case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (730:13): [True: 959, False: 4.91M]
  ------------------
  731|   453k|            case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (731:13): [True: 452k, False: 4.46M]
  ------------------
  732|   475k|            case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (732:13): [True: 21.5k, False: 4.89M]
  ------------------
  733|   475k|            {
  734|   475k|                uint8_t buf[sizeof(int8_t)];
  735|   475k|                if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (735:21): [True: 37, False: 475k]
  ------------------
  736|     37|                {
  737|     37|                    ec = msgpack_errc::unexpected_eof;
  738|     37|                    more_ = false;
  739|     37|                    return 0;
  740|     37|                }
  741|   475k|                uint8_t len = binary::big_to_native<uint8_t>(buf, sizeof(buf));
  742|   475k|                return static_cast<std::size_t>(len);
  743|   475k|            }
  744|       |
  745|    267|            case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (745:13): [True: 267, False: 4.91M]
  ------------------
  746|  20.9k|            case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (746:13): [True: 20.7k, False: 4.89M]
  ------------------
  747|  23.1k|            case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (747:13): [True: 2.19k, False: 4.91M]
  ------------------
  748|  28.3k|            case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (748:13): [True: 5.18k, False: 4.91M]
  ------------------
  749|  48.8k|            case jsoncons::msgpack::msgpack_type::map16_type:
  ------------------
  |  Branch (749:13): [True: 20.4k, False: 4.89M]
  ------------------
  750|  48.8k|            {
  751|  48.8k|                uint8_t buf[sizeof(int16_t)];
  752|  48.8k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (752:21): [True: 45, False: 48.8k]
  ------------------
  753|     45|                {
  754|     45|                    ec = msgpack_errc::unexpected_eof;
  755|     45|                    more_ = false;
  756|     45|                    return 0;
  757|     45|                }
  758|  48.8k|                uint16_t len = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  759|  48.8k|                return static_cast<std::size_t>(len);
  760|  48.8k|            }
  761|       |
  762|  8.79k|            case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (762:13): [True: 8.79k, False: 4.90M]
  ------------------
  763|  9.04k|            case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (763:13): [True: 254, False: 4.91M]
  ------------------
  764|  29.8k|            case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (764:13): [True: 20.7k, False: 4.89M]
  ------------------
  765|  31.0k|            case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (765:13): [True: 1.22k, False: 4.91M]
  ------------------
  766|  32.6k|            case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (766:13): [True: 1.58k, False: 4.91M]
  ------------------
  767|  32.6k|            {
  768|  32.6k|                uint8_t buf[sizeof(int32_t)];
  769|  32.6k|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (769:21): [True: 56, False: 32.5k]
  ------------------
  770|     56|                {
  771|     56|                    ec = msgpack_errc::unexpected_eof;
  772|     56|                    more_ = false;
  773|     56|                    return 0;
  774|     56|                }
  775|  32.5k|                uint32_t len = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  776|  32.5k|                return static_cast<std::size_t>(len);
  777|  32.6k|            }
  778|   401k|            case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (778:13): [True: 401k, False: 4.51M]
  ------------------
  779|   401k|                return 1;
  780|  11.8k|            case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (780:13): [True: 11.8k, False: 4.90M]
  ------------------
  781|  11.8k|                return 2;
  782|  4.80k|            case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (782:13): [True: 4.80k, False: 4.91M]
  ------------------
  783|  4.80k|                return 4;
  784|  69.0k|            case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (784:13): [True: 69.0k, False: 4.84M]
  ------------------
  785|  69.0k|                return 8;
  786|  14.8k|            case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (786:13): [True: 14.8k, False: 4.90M]
  ------------------
  787|  14.8k|                return 16;
  788|  3.85M|            default:
  ------------------
  |  Branch (788:13): [True: 3.85M, False: 1.05M]
  ------------------
  789|  3.85M|                if ((type > 0x8f && type <= 0x9f) // fixarray
  ------------------
  |  Branch (789:22): [True: 2.03M, False: 1.81M]
  |  Branch (789:37): [True: 2.03M, False: 0]
  ------------------
  790|  1.81M|                    || (type > 0x7f && type <= 0x8f) // fixmap
  ------------------
  |  Branch (790:25): [True: 1.81M, False: 0]
  |  Branch (790:40): [True: 1.81M, False: 0]
  ------------------
  791|  3.85M|        )
  792|  3.85M|                {
  793|  3.85M|                    return type & 0x0f;
  794|  3.85M|                }
  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|  4.91M|        }
  803|  4.91M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE9end_arrayERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  692|  2.01M|    {
  693|  2.01M|        --nesting_depth_;
  694|       |
  695|  2.01M|        visitor.end_array(*this, ec);
  696|  2.01M|        more_ = !cursor_mode_;
  697|  2.01M|        state_stack_.pop_back();
  698|  2.01M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE10end_objectERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  719|  1.81M|    {
  720|  1.81M|        --nesting_depth_;
  721|  1.81M|        visitor.end_object(*this, ec);
  722|  1.81M|        more_ = !cursor_mode_;
  723|  1.81M|        state_stack_.pop_back();
  724|  1.81M|    }

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

