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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2774|   121M|        {
 2775|   121M|             destroy();
 2776|   121M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  898|   121M|        {
  899|   121M|            switch (storage_kind())
  900|   121M|            {
  901|  12.3k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (901:17): [True: 12.3k, False: 121M]
  ------------------
  902|  12.3k|                {
  903|  12.3k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (903:25): [True: 12.3k, False: 0]
  ------------------
  904|  12.3k|                    {
  905|  12.3k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  906|  12.3k|                    }
  907|  12.3k|                    break;
  908|      0|                }
  909|   875k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (909:17): [True: 875k, False: 120M]
  ------------------
  910|   875k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (910:25): [True: 875k, False: 0]
  ------------------
  911|   875k|                    {
  912|   875k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  913|   875k|                    }
  914|   875k|                    break;
  915|  3.31M|                case json_storage_kind::array:
  ------------------
  |  Branch (915:17): [True: 3.31M, False: 117M]
  ------------------
  916|  3.31M|                {
  917|  3.31M|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (917:25): [True: 3.31M, False: 0]
  ------------------
  918|  3.31M|                    {
  919|  3.31M|                        auto& stor = cast<array_storage>();
  920|  3.31M|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  921|  3.31M|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  922|  3.31M|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  923|  3.31M|                    }
  924|  3.31M|                    break;
  925|      0|                }
  926|  1.07M|                case json_storage_kind::object:
  ------------------
  |  Branch (926:17): [True: 1.07M, False: 120M]
  ------------------
  927|  1.07M|                {
  928|  1.07M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (928:25): [True: 1.07M, False: 0]
  ------------------
  929|  1.07M|                    {
  930|  1.07M|                        auto& stor = cast<object_storage>();
  931|  1.07M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  932|  1.07M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  933|  1.07M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  934|  1.07M|                    }
  935|  1.07M|                    break;
  936|      0|                }
  937|   116M|                default:
  ------------------
  |  Branch (937:17): [True: 116M, False: 5.27M]
  ------------------
  938|   116M|                    break;
  939|   121M|            }
  940|   121M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1462|   285M|        {
 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|   285M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1468|   285M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1004|   132k|        {
 1005|   132k|            return cast(identity<T>());
 1006|   132k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1095|   132k|        {
 1096|   132k|            return long_str_;
 1097|   132k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1004|  4.58M|        {
 1005|  4.58M|            return cast(identity<T>());
 1006|  4.58M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1105|  4.58M|        {
 1106|  4.58M|            return byte_str_;
 1107|  4.58M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1004|  31.9M|        {
 1005|  31.9M|            return cast(identity<T>());
 1006|  31.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1125|  31.9M|        {
 1126|  31.9M|            return array_;
 1127|  31.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2307|  80.3M|        {
 2308|  80.3M|            uninitialized_move(std::move(other));
 2309|  80.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1302|  80.3M|        {
 1303|  80.3M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1303:17): [True: 69.5M, False: 10.7M]
  ------------------
 1304|  69.5M|            {
 1305|  69.5M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1306|  69.5M|            }
 1307|  10.7M|            else
 1308|  10.7M|            {
 1309|  10.7M|                switch (other.storage_kind())
 1310|  10.7M|                {
 1311|  27.2k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1311:21): [True: 27.2k, False: 10.7M]
  ------------------
 1312|  27.2k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1313|  27.2k|                        other.construct<null_storage>();
 1314|  27.2k|                        break;
 1315|   923k|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1315:21): [True: 923k, False: 9.85M]
  ------------------
 1316|   923k|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1317|   923k|                        other.construct<null_storage>();
 1318|   923k|                        break;
 1319|  7.40M|                    case json_storage_kind::array:
  ------------------
  |  Branch (1319:21): [True: 7.40M, False: 3.37M]
  ------------------
 1320|  7.40M|                        construct<array_storage>(other.cast<array_storage>());
 1321|  7.40M|                        other.construct<null_storage>();
 1322|  7.40M|                        break;
 1323|  2.42M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1323:21): [True: 2.42M, False: 8.35M]
  ------------------
 1324|  2.42M|                        construct<object_storage>(other.cast<object_storage>());
 1325|  2.42M|                        other.construct<null_storage>();
 1326|  2.42M|                        break;
 1327|      0|                    default:
  ------------------
  |  Branch (1327:21): [True: 0, False: 10.7M]
  ------------------
 1328|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1329|      0|                        break;
 1330|  10.7M|                }
 1331|  10.7M|            }
 1332|  80.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  995|  47.5k|        {
  996|  47.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  47.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  626|  67.8k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  627|  67.8k|            {
  628|  67.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  995|  10.7M|        {
  996|  10.7M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  10.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1004|  15.5M|        {
 1005|  15.5M|            return cast(identity<T>());
 1006|  15.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1015|  15.5M|        {
 1016|  15.5M|            return null_;
 1017|  15.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  450|  12.2M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  451|  12.2M|            {
  452|  12.2M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  995|   979k|        {
  996|   979k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   979k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  675|  1.03M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  676|  1.03M|            {
  677|  1.03M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  995|  8.95M|        {
  996|  8.95M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  8.95M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  727|  10.5M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  728|  10.5M|            {
  729|  10.5M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  995|  2.92M|        {
  996|  2.92M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.92M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  777|  3.43M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  778|  3.43M|            {
  779|  3.43M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4759|   392k|        {
 4760|   392k|            switch (storage_kind())
 4761|   392k|            {
 4762|   392k|                case json_storage_kind::array:
  ------------------
  |  Branch (4762:17): [True: 392k, False: 0]
  ------------------
 4763|   392k|                    return array_range_type(cast<array_storage>().value().begin(),
 4764|   392k|                        cast<array_storage>().value().end());
 4765|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4765:17): [True: 0, False: 392k]
  ------------------
 4766|      0|                    return cast<json_ref_storage>().value().array_range();
 4767|      0|                default:
  ------------------
  |  Branch (4767:17): [True: 0, False: 392k]
  ------------------
 4768|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4769|   392k|            }
 4770|   392k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  4.14M|            {
  751|  4.14M|                return *ptr_;
  752|  4.14M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|   392k|            : first_(first), last_(last)
  349|   392k|        {
  350|   392k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|   392k|        {
  354|   392k|            return first_;
  355|   392k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|   392k|        {
  358|   392k|            return last_;
  359|   392k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3425|  67.7k|        {
 3426|  67.7k|            switch (storage_kind())
 3427|  67.7k|            {
 3428|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 67.7k]
  ------------------
 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: 67.7k]
  ------------------
 3432|      0|                    return cast<short_string_storage>().length() == 0;
 3433|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3433:17): [True: 0, False: 67.7k]
  ------------------
 3434|      0|                    return cast<long_string_storage>().length() == 0;
 3435|  38.4k|                case json_storage_kind::array:
  ------------------
  |  Branch (3435:17): [True: 38.4k, False: 29.3k]
  ------------------
 3436|  38.4k|                    return cast<array_storage>().value().empty();
 3437|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3437:17): [True: 0, False: 67.7k]
  ------------------
 3438|      0|                    return true;
 3439|  29.3k|                case json_storage_kind::object:
  ------------------
  |  Branch (3439:17): [True: 29.3k, False: 38.4k]
  ------------------
 3440|  29.3k|                    return cast<object_storage>().value().empty();
 3441|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3441:17): [True: 0, False: 67.7k]
  ------------------
 3442|      0|                    return cast<const_json_ref_storage>().value().empty();
 3443|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3443:17): [True: 0, False: 67.7k]
  ------------------
 3444|      0|                    return cast<json_ref_storage>().value().empty();
 3445|      0|                default:
  ------------------
  |  Branch (3445:17): [True: 0, False: 67.7k]
  ------------------
 3446|      0|                    return false;
 3447|  67.7k|            }
 3448|  67.7k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1010|  38.4k|        {
 1011|  38.4k|            return cast(identity<T>());
 1012|  38.4k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  38.4k|        {
 1131|  38.4k|            return array_;
 1132|  38.4k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  38.4k|            {
  756|  38.4k|                return *ptr_;
  757|  38.4k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1010|  29.3k|        {
 1011|  29.3k|            return cast(identity<T>());
 1012|  29.3k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|  29.3k|        {
 1121|  29.3k|            return object_;
 1122|  29.3k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  801|  29.3k|            {
  802|  29.3k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|  29.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 29.3k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  803|  29.3k|                return *ptr_;
  804|  29.3k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4156|   442k|        {
 4157|   442k|            switch (storage_kind())
 4158|   442k|            {
 4159|   392k|                case json_storage_kind::array:
  ------------------
  |  Branch (4159:17): [True: 392k, False: 49.5k]
  ------------------
 4160|   392k|                    cast<array_storage>().value().clear();
 4161|   392k|                    break;
 4162|  49.5k|                case json_storage_kind::object:
  ------------------
  |  Branch (4162:17): [True: 49.5k, False: 392k]
  ------------------
 4163|  49.5k|                    cast<object_storage>().value().clear();
 4164|  49.5k|                    break;
 4165|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4165:17): [True: 0, False: 442k]
  ------------------
 4166|      0|                    cast<json_ref_storage>().value().clear();
 4167|      0|                    break;
 4168|      0|                default:
  ------------------
  |  Branch (4168:17): [True: 0, False: 442k]
  ------------------
 4169|      0|                    break;
 4170|   442k|            }
 4171|   442k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  795|   188k|            {
  796|   188k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|   188k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 188k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  797|   188k|                return *ptr_;
  798|   188k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4725|  49.5k|        {
 4726|  49.5k|            switch (storage_kind())
 4727|  49.5k|            {
 4728|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4728:17): [True: 0, False: 49.5k]
  ------------------
 4729|      0|                    return object_range_type(object_iterator(), object_iterator());
 4730|  49.5k|                case json_storage_kind::object:
  ------------------
  |  Branch (4730:17): [True: 49.5k, False: 0]
  ------------------
 4731|  49.5k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4732|  49.5k|                                                  object_iterator(cast<object_storage>().value().end()));
 4733|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4733:17): [True: 0, False: 49.5k]
  ------------------
 4734|      0|                    return cast<json_ref_storage>().value().object_range();
 4735|      0|                default:
  ------------------
  |  Branch (4735:17): [True: 0, False: 49.5k]
  ------------------
 4736|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4737|  49.5k|            }
 4738|  49.5k|        }
_ZN8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEEC2ERKSI_SP_:
  348|  49.5k|            : first_(first), last_(last)
  349|  49.5k|        {
  350|  49.5k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|  99.0k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|  99.0k|            {
  120|  99.0k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  353|  49.5k|        {
  354|  49.5k|            return first_;
  355|  49.5k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  357|  49.5k|        {
  358|  49.5k|            return last_;
  359|  49.5k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|   118k|            {
  219|   118k|                return !(*this == rhs);
  220|   118k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|   118k|            {
  210|   118k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   77|   237k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 118k, False: 0]
  |  |  |  Branch (77:48): [True: 118k, False: 0]
  |  |  |  Branch (77:48): [True: 118k, False: 0]
  |  |  ------------------
  ------------------
  211|   118k|                {
  212|   118k|                    return current_ == rhs.current_;
  213|   118k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|   118k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  69.3k|            {
  141|  69.3k|                return *current_;
  142|  69.3k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  69.3k|            {
  151|  69.3k|                ++current_;
  152|  69.3k|                return *this;
  153|  69.3k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1004|  9.28M|        {
 1005|  9.28M|            return cast(identity<T>());
 1006|  9.28M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1115|  9.28M|        {
 1116|  9.28M|            return object_;
 1117|  9.28M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2275|  7.28k|        {
 2276|  7.28k|            construct<empty_object_storage>(semantic_tag::none);
 2277|  7.28k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  995|  7.28k|        {
  996|  7.28k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  7.28k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1004|  12.0k|        {
 1005|  12.0k|            return cast(identity<T>());
 1006|  12.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1025|  12.0k|        {
 1026|  12.0k|            return empty_object_;
 1027|  12.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  462|  7.28k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|  7.28k|            {
  464|  7.28k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3484|  30.9k|        {
 3485|  30.9k|            if (n > 0)
  ------------------
  |  Branch (3485:17): [True: 30.9k, False: 0]
  ------------------
 3486|  30.9k|            {
 3487|  30.9k|                switch (storage_kind())
 3488|  30.9k|                {
 3489|  30.9k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3489:21): [True: 30.9k, False: 0]
  ------------------
 3490|  30.9k|                        cast<array_storage>().value().reserve(n);
 3491|  30.9k|                        break;
 3492|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3492:21): [True: 0, False: 30.9k]
  ------------------
 3493|      0|                        create_object_implicitly();
 3494|      0|                        cast<object_storage>().value().reserve(n);
 3495|      0|                        break;
 3496|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3496:21): [True: 0, False: 30.9k]
  ------------------
 3497|      0|                        cast<object_storage>().value().reserve(n);
 3498|      0|                        break;
 3499|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3499:21): [True: 0, False: 30.9k]
  ------------------
 3500|      0|                        cast<json_ref_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    default:
  ------------------
  |  Branch (3502:21): [True: 0, False: 30.9k]
  ------------------
 3503|      0|                        break;
 3504|  30.9k|                }
 3505|  30.9k|            }
 3506|  30.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2320|  1.07M|        {
 2321|  1.07M|            auto ptr = create_object(alloc);
 2322|  1.07M|            construct<object_storage>(ptr, tag);
 2323|  1.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  976|  1.07M|        {
  977|  1.07M|            using stor_allocator_type = typename object_storage::allocator_type;
  978|  1.07M|            stor_allocator_type stor_alloc(alloc);
  979|  1.07M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  980|  1.07M|            JSONCONS_TRY
  ------------------
  |  |   37|  1.07M|    #define JSONCONS_TRY try
  ------------------
  981|  1.07M|            {
  982|  1.07M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  983|  1.07M|                    std::forward<Args>(args)...);
  984|  1.07M|            }
  985|  1.07M|            JSONCONS_CATCH(...)
  986|  1.07M|            {
  987|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  988|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  989|      0|            }
  990|  1.07M|            return ptr;
  991|  1.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  1.07M|        {
  996|  1.07M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  772|  1.07M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  773|  1.07M|            {
  774|  1.07M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4701|  2.93M|        {
 4702|  2.93M|            switch (storage_kind())
 4703|  2.93M|            {
 4704|  2.93M|                case json_storage_kind::array:
  ------------------
  |  Branch (4704:17): [True: 2.93M, False: 0]
  ------------------
 4705|  2.93M|                    cast<array_storage>().value().push_back(std::move(val));
 4706|  2.93M|                    break;
 4707|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4707:17): [True: 0, False: 2.93M]
  ------------------
 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.93M]
  ------------------
 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.93M|            }
 4713|  2.93M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1453|  27.8M|        {
 1454|  27.8M|            if (this != &other)
  ------------------
  |  Branch (1454:17): [True: 27.8M, False: 0]
  ------------------
 1455|  27.8M|            {
 1456|  27.8M|                move_assignment(std::move(other));
 1457|  27.8M|            }
 1458|  27.8M|            return *this;
 1459|  27.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1415|  27.8M|        {
 1416|  27.8M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1416:17): [True: 27.8M, False: 0]
  |  Branch (1416:55): [True: 25.7M, False: 2.13M]
  ------------------
 1417|  25.7M|            {
 1418|  25.7M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1419|  25.7M|            }
 1420|  2.13M|            else
 1421|  2.13M|            {
 1422|  2.13M|                swap(other);
 1423|  2.13M|            }
 1424|  27.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1934|  2.13M|        {
 1935|  2.13M|            if (this == &other)
  ------------------
  |  Branch (1935:17): [True: 0, False: 2.13M]
  ------------------
 1936|      0|            {
 1937|      0|                return;
 1938|      0|            }
 1939|  2.13M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1939:17): [True: 2.13M, False: 0]
  |  Branch (1939:55): [True: 0, False: 2.13M]
  ------------------
 1940|      0|            {
 1941|      0|                basic_json temp;               
 1942|      0|                std::memcpy(static_cast<void*>(&temp), static_cast<void*>(&other), sizeof(basic_json));
 1943|      0|                std::memcpy(static_cast<void*>(&other), static_cast<void*>(this), sizeof(basic_json));
 1944|      0|                std::memcpy(static_cast<void*>(this), static_cast<void*>(&temp), sizeof(basic_json));
 1945|      0|            }
 1946|  2.13M|            else
 1947|  2.13M|            {
 1948|  2.13M|                switch (storage_kind())
 1949|  2.13M|                {
 1950|  1.64M|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 1.64M, False: 489k]
  ------------------
 1951|  2.36k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 2.36k, False: 2.13M]
  ------------------
 1952|  38.8k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 38.8k, False: 2.09M]
  ------------------
 1953|  51.0k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 51.0k, False: 2.08M]
  ------------------
 1954|   390k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 390k, False: 1.74M]
  ------------------
 1955|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 0, False: 2.13M]
  ------------------
 1956|  1.71k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 1.71k, False: 2.13M]
  ------------------
 1957|  5.26k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 5.26k, False: 2.12M]
  ------------------
 1958|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 2.13M]
  ------------------
 1959|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 0, False: 2.13M]
  ------------------
 1960|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 0, False: 2.13M]
  ------------------
 1961|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 2.13M]
  ------------------
 1962|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 2.13M]
  ------------------
 1963|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 2.13M]
  ------------------
 1964|      0|                    default:
  ------------------
  |  Branch (1964:21): [True: 0, False: 2.13M]
  ------------------
 1965|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1966|      0|                        break;
 1967|  2.13M|                }
 1968|  2.13M|            }
 1969|  2.13M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1170|  1.64M|        {
 1171|  1.64M|            switch (other.storage_kind())
 1172|  1.64M|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.64M]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 1.64M]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 1.64M]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 1.64M]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 1.64M]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.64M]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.64M]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.64M]
  ------------------
 1181|  5.60k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 5.60k, False: 1.63M]
  ------------------
 1182|  28.7k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 28.7k, False: 1.61M]
  ------------------
 1183|  1.24M|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.24M, False: 396k]
  ------------------
 1184|   362k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 362k, False: 1.28M]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 1.64M]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 1.64M]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 1.64M]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  1.64M|            }
 1191|  1.64M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  995|  1.64M|        {
  996|  1.64M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.64M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  995|  2.36k|        {
  996|  2.36k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.36k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1004|  7.81M|        {
 1005|  7.81M|            return cast(identity<T>());
 1006|  7.81M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1035|  7.81M|        {
 1036|  7.81M|            return boolean_;
 1037|  7.81M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  995|  38.8k|        {
  996|  38.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  38.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1004|  4.30M|        {
 1005|  4.30M|            return cast(identity<T>());
 1006|  4.30M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1045|  4.30M|        {
 1046|  4.30M|            return int64_;
 1047|  4.30M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  995|  51.0k|        {
  996|  51.0k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  51.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1004|  20.7M|        {
 1005|  20.7M|            return cast(identity<T>());
 1006|  20.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1055|  20.7M|        {
 1056|  20.7M|            return uint64_;
 1057|  20.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  995|   390k|        {
  996|   390k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   390k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1004|  39.6k|        {
 1005|  39.6k|            return cast(identity<T>());
 1006|  39.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1075|  39.6k|        {
 1076|  39.6k|            return float64_;
 1077|  39.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  995|  1.71k|        {
  996|  1.71k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.71k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1004|  2.30M|        {
 1005|  2.30M|            return cast(identity<T>());
 1006|  2.30M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1085|  2.30M|        {
 1086|  2.30M|            return short_str_;
 1087|  2.30M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  585|  5.26k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  586|  5.26k|            {
  587|  5.26k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  588|  5.26k|                data_[short_str_length_] = 0;
  589|  5.26k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  995|  5.26k|        {
  996|  5.26k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  5.26k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1156|  5.60k|        {
 1157|  5.60k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  5.60k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  5.60k|        {
 1163|  5.60k|            TypeR temp{other.cast<TypeR>()};
 1164|  5.60k|            other.construct<TypeL>(cast<TypeL>());
 1165|  5.60k|            construct<TypeR>(temp);
 1166|  5.60k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  28.7k|        {
 1157|  28.7k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  28.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  28.7k|        {
 1163|  28.7k|            TypeR temp{other.cast<TypeR>()};
 1164|  28.7k|            other.construct<TypeL>(cast<TypeL>());
 1165|  28.7k|            construct<TypeR>(temp);
 1166|  28.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1156|  1.24M|        {
 1157|  1.24M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.24M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.24M|        {
 1163|  1.24M|            TypeR temp{other.cast<TypeR>()};
 1164|  1.24M|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.24M|            construct<TypeR>(temp);
 1166|  1.24M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1156|   362k|        {
 1157|   362k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   362k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   362k|        {
 1163|   362k|            TypeR temp{other.cast<TypeR>()};
 1164|   362k|            other.construct<TypeL>(cast<TypeL>());
 1165|   362k|            construct<TypeR>(temp);
 1166|   362k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1170|  2.36k|        {
 1171|  2.36k|            switch (other.storage_kind())
 1172|  2.36k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.36k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.36k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.36k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.36k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.36k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.36k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.36k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.36k]
  ------------------
 1181|    771|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 771, False: 1.59k]
  ------------------
 1182|      3|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 3, False: 2.35k]
  ------------------
 1183|    259|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 259, False: 2.10k]
  ------------------
 1184|  1.32k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 1.32k, False: 1.03k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 2.36k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.36k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.36k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.36k|            }
 1191|  2.36k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1156|    771|        {
 1157|    771|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    771|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    771|        {
 1163|    771|            TypeR temp{other.cast<TypeR>()};
 1164|    771|            other.construct<TypeL>(cast<TypeL>());
 1165|    771|            construct<TypeR>(temp);
 1166|    771|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvRS5_:
 1156|      3|        {
 1157|      3|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|      3|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|      3|        {
 1163|      3|            TypeR temp{other.cast<TypeR>()};
 1164|      3|            other.construct<TypeL>(cast<TypeL>());
 1165|      3|            construct<TypeR>(temp);
 1166|      3|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1156|    259|        {
 1157|    259|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    259|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    259|        {
 1163|    259|            TypeR temp{other.cast<TypeR>()};
 1164|    259|            other.construct<TypeL>(cast<TypeL>());
 1165|    259|            construct<TypeR>(temp);
 1166|    259|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1156|  1.32k|        {
 1157|  1.32k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.32k|        {
 1163|  1.32k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.32k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.32k|            construct<TypeR>(temp);
 1166|  1.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1170|  38.8k|        {
 1171|  38.8k|            switch (other.storage_kind())
 1172|  38.8k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 38.8k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 38.8k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 38.8k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 38.8k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 38.8k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 38.8k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 38.8k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 38.8k]
  ------------------
 1181|    358|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 358, False: 38.4k]
  ------------------
 1182|  1.02k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 1.02k, False: 37.7k]
  ------------------
 1183|  31.2k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 31.2k, False: 7.55k]
  ------------------
 1184|  6.17k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 6.17k, False: 32.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: 38.8k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 38.8k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 38.8k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  38.8k|            }
 1191|  38.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1156|    358|        {
 1157|    358|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    358|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    358|        {
 1163|    358|            TypeR temp{other.cast<TypeR>()};
 1164|    358|            other.construct<TypeL>(cast<TypeL>());
 1165|    358|            construct<TypeR>(temp);
 1166|    358|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  1.02k|        {
 1157|  1.02k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.02k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.02k|        {
 1163|  1.02k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.02k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.02k|            construct<TypeR>(temp);
 1166|  1.02k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1156|  31.2k|        {
 1157|  31.2k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  31.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  31.2k|        {
 1163|  31.2k|            TypeR temp{other.cast<TypeR>()};
 1164|  31.2k|            other.construct<TypeL>(cast<TypeL>());
 1165|  31.2k|            construct<TypeR>(temp);
 1166|  31.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1156|  6.17k|        {
 1157|  6.17k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  6.17k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  6.17k|        {
 1163|  6.17k|            TypeR temp{other.cast<TypeR>()};
 1164|  6.17k|            other.construct<TypeL>(cast<TypeL>());
 1165|  6.17k|            construct<TypeR>(temp);
 1166|  6.17k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1170|  51.0k|        {
 1171|  51.0k|            switch (other.storage_kind())
 1172|  51.0k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 51.0k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 51.0k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 51.0k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 51.0k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 51.0k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 51.0k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 51.0k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 51.0k]
  ------------------
 1181|  3.63k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 3.63k, False: 47.3k]
  ------------------
 1182|  3.54k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 3.54k, False: 47.4k]
  ------------------
 1183|  24.3k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 24.3k, False: 26.6k]
  ------------------
 1184|  19.4k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 19.4k, False: 31.5k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 51.0k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 51.0k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 51.0k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  51.0k|            }
 1191|  51.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  3.63k|        {
 1157|  3.63k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  3.63k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  3.63k|        {
 1163|  3.63k|            TypeR temp{other.cast<TypeR>()};
 1164|  3.63k|            other.construct<TypeL>(cast<TypeL>());
 1165|  3.63k|            construct<TypeR>(temp);
 1166|  3.63k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  3.54k|        {
 1157|  3.54k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  3.54k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  3.54k|        {
 1163|  3.54k|            TypeR temp{other.cast<TypeR>()};
 1164|  3.54k|            other.construct<TypeL>(cast<TypeL>());
 1165|  3.54k|            construct<TypeR>(temp);
 1166|  3.54k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1156|  24.3k|        {
 1157|  24.3k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  24.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  24.3k|        {
 1163|  24.3k|            TypeR temp{other.cast<TypeR>()};
 1164|  24.3k|            other.construct<TypeL>(cast<TypeL>());
 1165|  24.3k|            construct<TypeR>(temp);
 1166|  24.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1156|  19.4k|        {
 1157|  19.4k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  19.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  19.4k|        {
 1163|  19.4k|            TypeR temp{other.cast<TypeR>()};
 1164|  19.4k|            other.construct<TypeL>(cast<TypeL>());
 1165|  19.4k|            construct<TypeR>(temp);
 1166|  19.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1170|   390k|        {
 1171|   390k|            switch (other.storage_kind())
 1172|   390k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 390k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 390k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 390k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 390k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 390k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 390k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 390k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 390k]
  ------------------
 1181|  9.07k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 9.07k, False: 381k]
  ------------------
 1182|  21.4k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 21.4k, False: 368k]
  ------------------
 1183|   246k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 246k, False: 143k]
  ------------------
 1184|   112k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 112k, False: 277k]
  ------------------
 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: 390k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 390k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 390k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|   390k|            }
 1191|   390k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  9.07k|        {
 1157|  9.07k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  9.07k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  9.07k|        {
 1163|  9.07k|            TypeR temp{other.cast<TypeR>()};
 1164|  9.07k|            other.construct<TypeL>(cast<TypeL>());
 1165|  9.07k|            construct<TypeR>(temp);
 1166|  9.07k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  21.4k|        {
 1157|  21.4k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  21.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  21.4k|        {
 1163|  21.4k|            TypeR temp{other.cast<TypeR>()};
 1164|  21.4k|            other.construct<TypeL>(cast<TypeL>());
 1165|  21.4k|            construct<TypeR>(temp);
 1166|  21.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1156|   246k|        {
 1157|   246k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   246k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   246k|        {
 1163|   246k|            TypeR temp{other.cast<TypeR>()};
 1164|   246k|            other.construct<TypeL>(cast<TypeL>());
 1165|   246k|            construct<TypeR>(temp);
 1166|   246k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1156|   112k|        {
 1157|   112k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   112k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   112k|        {
 1163|   112k|            TypeR temp{other.cast<TypeR>()};
 1164|   112k|            other.construct<TypeL>(cast<TypeL>());
 1165|   112k|            construct<TypeR>(temp);
 1166|   112k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1170|  1.71k|        {
 1171|  1.71k|            switch (other.storage_kind())
 1172|  1.71k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.71k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 1.71k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 1.71k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 1.71k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 1.71k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.71k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.71k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.71k]
  ------------------
 1181|    250|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 250, False: 1.46k]
  ------------------
 1182|    483|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 483, False: 1.22k]
  ------------------
 1183|    539|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 539, False: 1.17k]
  ------------------
 1184|    440|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 440, False: 1.27k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 1.71k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 1.71k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 1.71k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  1.71k|            }
 1191|  1.71k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1156|    250|        {
 1157|    250|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    250|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    250|        {
 1163|    250|            TypeR temp{other.cast<TypeR>()};
 1164|    250|            other.construct<TypeL>(cast<TypeL>());
 1165|    250|            construct<TypeR>(temp);
 1166|    250|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    483|        {
 1157|    483|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    483|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    483|        {
 1163|    483|            TypeR temp{other.cast<TypeR>()};
 1164|    483|            other.construct<TypeL>(cast<TypeL>());
 1165|    483|            construct<TypeR>(temp);
 1166|    483|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1156|    539|        {
 1157|    539|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    539|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    539|        {
 1163|    539|            TypeR temp{other.cast<TypeR>()};
 1164|    539|            other.construct<TypeL>(cast<TypeL>());
 1165|    539|            construct<TypeR>(temp);
 1166|    539|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1156|    440|        {
 1157|    440|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    440|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    440|        {
 1163|    440|            TypeR temp{other.cast<TypeR>()};
 1164|    440|            other.construct<TypeL>(cast<TypeL>());
 1165|    440|            construct<TypeR>(temp);
 1166|    440|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1170|  5.26k|        {
 1171|  5.26k|            switch (other.storage_kind())
 1172|  5.26k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 5.26k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 5.26k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 5.26k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 5.26k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 5.26k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 5.26k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 5.26k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 5.26k]
  ------------------
 1181|    569|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 569, False: 4.69k]
  ------------------
 1182|    708|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 708, False: 4.55k]
  ------------------
 1183|  1.66k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.66k, False: 3.59k]
  ------------------
 1184|  2.31k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 2.31k, False: 2.94k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 5.26k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 5.26k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 5.26k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  5.26k|            }
 1191|  5.26k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1156|    569|        {
 1157|    569|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    569|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    569|        {
 1163|    569|            TypeR temp{other.cast<TypeR>()};
 1164|    569|            other.construct<TypeL>(cast<TypeL>());
 1165|    569|            construct<TypeR>(temp);
 1166|    569|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    708|        {
 1157|    708|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    708|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    708|        {
 1163|    708|            TypeR temp{other.cast<TypeR>()};
 1164|    708|            other.construct<TypeL>(cast<TypeL>());
 1165|    708|            construct<TypeR>(temp);
 1166|    708|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1156|  1.66k|        {
 1157|  1.66k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.66k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.66k|        {
 1163|  1.66k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.66k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.66k|            construct<TypeR>(temp);
 1166|  1.66k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1156|  2.31k|        {
 1157|  2.31k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.31k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.31k|        {
 1163|  2.31k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.31k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.31k|            construct<TypeR>(temp);
 1166|  2.31k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2614|  19.9M|        {
 2615|  19.9M|            construct<uint64_storage>(val, tag);
 2616|  19.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  995|  19.9M|        {
  996|  19.9M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  19.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  19.9M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  19.9M|                  val_(val)
  518|  19.9M|            {
  519|  19.9M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2645|  4.20M|        {
 2646|  4.20M|            construct<int64_storage>(val, tag);
 2647|  4.20M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  995|  4.20M|        {
  996|  4.20M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.20M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  496|  4.20M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  497|  4.20M|                  val_(val)
  498|  4.20M|            {
  499|  4.20M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2602|  36.1k|        {
 2603|  36.1k|            construct<double_storage>(val, tag);
 2604|  36.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  995|  36.1k|        {
  996|  36.1k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  36.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  555|  36.1k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  556|  36.1k|                  val_(val)
  557|  36.1k|            {
  558|  36.1k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2401|  3.31M|        {
 2402|  3.31M|            auto ptr = create_array(Allocator());
 2403|  3.31M|            construct<array_storage>(ptr, tag);
 2404|  3.31M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  957|  3.31M|        {
  958|  3.31M|            using stor_allocator_type = typename array_storage::allocator_type;
  959|  3.31M|            stor_allocator_type stor_alloc(alloc);
  960|  3.31M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  961|  3.31M|            JSONCONS_TRY
  ------------------
  |  |   37|  3.31M|    #define JSONCONS_TRY try
  ------------------
  962|  3.31M|            {
  963|  3.31M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  964|  3.31M|                    std::forward<Args>(args)...);
  965|  3.31M|            }
  966|  3.31M|            JSONCONS_CATCH(...)
  967|  3.31M|            {
  968|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  969|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  970|      0|            }
  971|  3.31M|            return ptr;
  972|  3.31M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  3.31M|        {
  996|  3.31M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  3.31M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  722|  3.31M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  723|  3.31M|            {
  724|  3.31M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2691|  1.43M|        {
 2692|  1.43M|            construct<null_storage>(tag);
 2693|  1.43M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  995|  1.43M|        {
  996|  1.43M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.43M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2701|  7.73M|        {
 2702|  7.73M|            construct<bool_storage>(val,tag);
 2703|  7.73M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  995|  7.73M|        {
  996|  7.73M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  7.73M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|  7.73M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|  7.73M|                  val_(val)
  477|  7.73M|            {
  478|  7.73M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2549|  2.30M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2550|  2.30M|        {
 2551|  2.30M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2579|  2.30M|        {
 2580|  2.30M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2580:17): [True: 2.29M, False: 12.3k]
  ------------------
 2581|  2.29M|            {
 2582|  2.29M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2583|  2.29M|            }
 2584|  12.3k|            else
 2585|  12.3k|            {
 2586|  12.3k|                auto ptr = create_long_string(alloc, s, length);
 2587|  12.3k|                construct<long_string_storage>(ptr, tag);
 2588|  12.3k|            }
 2589|  2.30M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  995|  2.29M|        {
  996|  2.29M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.29M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  2.29M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  2.29M|            {
  579|  2.29M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   49|  2.29M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.29M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  580|  2.29M|                std::memcpy(data_,p,length*sizeof(char_type));
  581|  2.29M|                data_[length] = 0;
  582|  2.29M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  943|  12.3k|        {
  944|  12.3k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  945|  12.3k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  946|  12.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|  12.3k|        {
  996|  12.3k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  12.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  621|  12.3k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  622|  12.3k|            {
  623|  12.3k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2711|    843|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2712|    843|        {
 2713|    843|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2719|   133k|        {
 2720|   133k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2721|       |            
 2722|   133k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2723|   133k|            construct<byte_string_storage>(ptr, tag);
 2724|   133k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  950|   875k|        {
  951|   875k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  952|   875k|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  953|   875k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|   133k|        {
  996|   133k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   133k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  670|   875k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  671|   875k|            {
  672|   875k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2731|      1|        {
 2732|      1|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2733|       |
 2734|      1|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0);
 2735|      1|            construct<byte_string_storage>(ptr, tag);
 2736|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2742|   742k|        {
 2743|   742k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2744|       |
 2745|   742k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2746|   742k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2747|   742k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  995|   742k|        {
  996|   742k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   742k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mRKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2754|      2|        {
 2755|      2|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2756|       |
 2757|      2|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), raw_tag);
 2758|      2|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2759|      2|        }

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

_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2IJRNS4_10error_codeEmmEEENS0_10unexpect_tEDpOT_:
   66|  4.83k|        : has_value_(false)
   67|  4.83k|    {
   68|  4.83k|        ::new (&error_) E(std::forward<Args>(args)...);
   69|  4.83k|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2EOS7_:
   52|  2.45k|        : has_value_(true)
   53|  2.45k|    {
   54|  2.45k|        construct(std::move(value));
   55|  2.45k|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE9constructEOS7_:
  274|  2.45k|    {
  275|  2.45k|        ::new (&value_) T(std::move(value));
  276|  2.45k|        has_value_ = true;
  277|  2.45k|    }
_ZNK8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEcvbEv:
  146|  7.28k|    {
  147|  7.28k|        return has_value_;
  148|  7.28k|    }
_ZNR8jsoncons6detail8expectedINS_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|    }
_ZNR8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEdeEv:
  231|  2.45k|    {
  232|  2.45k|        return this->value_;
  233|  2.45k|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEED2Ev:
  100|  7.28k|    {
  101|  7.28k|        destroy();
  102|  7.28k|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE7destroyEv:
  280|  7.28k|    {
  281|  7.28k|        if (has_value_) 
  ------------------
  |  Branch (281:13): [True: 2.45k, False: 4.83k]
  ------------------
  282|  2.45k|        {
  283|  2.45k|            value_.~T();
  284|  2.45k|            has_value_ = false;
  285|  2.45k|        }
  286|  4.83k|        else
  287|  4.83k|        {
  288|  4.83k|            error_.~E();
  289|  4.83k|        }
  290|  7.28k|    }

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

_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|  2.11M|            : data_(data), size_(size)
   62|  2.11M|        {
   63|  2.11M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|  7.63M|        {
  112|  7.63M|            return data_;
  113|  7.63M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|  11.7M|        {
  117|  11.7M|            return size_;
  118|  11.7M|        }
_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2Ev:
   58|  2.85M|        {
   59|  2.85M|        }

_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  855|  7.28k|            : destination_(std::addressof(visitor)), 
  856|  7.28k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  857|  7.28k|        {
  858|  7.28k|            level_stack_.emplace_back(json_target_kind::destination,json_structure_kind::root); // root
  859|  7.28k|        }
_ZN8jsoncons21basic_generic_visitorIcEC2Ev:
   52|  7.28k|    basic_generic_visitor() = default;
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  294|  6.43M|    {
  295|  6.43M|        visit_begin_array(length, tag, context, ec);
  296|  6.43M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.43M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  297|  6.43M|    }
_ZN8jsoncons21basic_generic_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  363|  41.3M|    {
  364|  41.3M|        visit_uint64(value, tag, context, ec);
  365|  41.3M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  41.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  41.3M|    }
_ZN8jsoncons21basic_generic_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  300|  6.40M|    {
  301|  6.40M|        visit_end_array(context, ec);
  302|  6.40M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  6.40M|    }
_ZN8jsoncons21basic_generic_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  372|  7.07M|    {
  373|  7.07M|        visit_int64(value, tag, context, ec);
  374|  7.07M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  7.07M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  375|  7.07M|    }
_ZN8jsoncons21basic_generic_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  390|   107k|    {
  391|   107k|        visit_double(value, tag, context, ec);
  392|   107k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   107k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  393|   107k|    }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structureC2ENS4_16json_target_kindENS4_19json_structure_kindE:
  798|  8.02M|                : target_kind_(state), structure_kind_(type), even_odd_(type == json_structure_kind::object ? 0 : 1)
  ------------------
  |  Branch (798:73): [True: 1.58M, False: 6.43M]
  ------------------
  799|  8.02M|            {
  800|  8.02M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1008|  6.43M|        {
 1009|  6.43M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1009:17): [True: 875k, False: 5.55M]
  ------------------
 1010|   875k|            {
 1011|   875k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1011:21): [True: 571k, False: 303k]
  |  Branch (1011:86): [True: 568k, False: 3.18k]
  ------------------
 1012|   568k|                {
 1013|   568k|                    key_buffer_.push_back(',');
 1014|   568k|                }
 1015|   875k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1016|   875k|                key_buffer_.push_back('[');
 1017|   875k|            }
 1018|  5.55M|            else
 1019|  5.55M|            {
 1020|  5.55M|                switch (level_stack_.back().target_kind())
 1021|  5.55M|                {
 1022|  2.24M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1022:21): [True: 2.24M, False: 3.31M]
  ------------------
 1023|  2.24M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1023:29): [True: 1.66M, False: 573k]
  |  Branch (1023:65): [True: 1.64M, False: 26.0k]
  ------------------
 1024|  1.64M|                        {
 1025|  1.64M|                            key_buffer_.push_back(',');
 1026|  1.64M|                        }
 1027|  2.24M|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1028|  2.24M|                        key_buffer_.push_back('[');
 1029|  2.24M|                        break;
 1030|  3.31M|                    default:
  ------------------
  |  Branch (1030:21): [True: 3.31M, False: 2.24M]
  ------------------
 1031|  3.31M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1032|  3.31M|                        destination_->begin_array(length, tag, context, ec);
 1033|  3.31M|                        break;
 1034|  5.55M|                }
 1035|  5.55M|            }
 1036|  6.43M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.43M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1037|  6.43M|        }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure6is_keyEv:
  815|   267M|            {
  816|   267M|                return even_odd_ == 0;
  817|   267M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure11target_kindEv:
  825|   172M|            {
  826|   172M|                return target_kind_;
  827|   172M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure5countEv:
  830|  38.2M|            {
  831|  38.2M|                return count_;
  832|  38.2M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure9is_objectEv:
  820|   129M|            {
  821|   129M|                return structure_kind_ == json_structure_kind::object;
  822|   129M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1040|  6.40M|        {
 1041|  6.40M|            switch (level_stack_.back().target_kind())
 1042|  6.40M|            {
 1043|  3.11M|                case json_target_kind::buffer:
  ------------------
  |  Branch (1043:17): [True: 3.11M, False: 3.29M]
  ------------------
 1044|  3.11M|                    key_buffer_.push_back(']');
 1045|  3.11M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  3.11M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.11M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1046|  3.11M|                    level_stack_.pop_back();
 1047|  3.11M|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (1047:25): [True: 303k, False: 2.80M]
  ------------------
 1048|   303k|                    {
 1049|   303k|                        destination_->key(key_buffer_, context, ec);
 1050|   303k|                        key_buffer_.clear();
 1051|   303k|                    }
 1052|  2.80M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1052:30): [True: 570k, False: 2.23M]
  ------------------
 1053|   570k|                    {
 1054|   570k|                        key_buffer_.push_back(':');
 1055|   570k|                    }
 1056|  3.11M|                    level_stack_.back().advance();
 1057|  3.11M|                    break;
 1058|  3.29M|                default:
  ------------------
  |  Branch (1058:17): [True: 3.29M, False: 3.11M]
  ------------------
 1059|  3.29M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  3.29M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.29M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1060|  3.29M|                    level_stack_.pop_back();
 1061|  3.29M|                    level_stack_.back().advance();
 1062|  3.29M|                    destination_->end_array(context, ec);
 1063|  3.29M|                    break;
 1064|  6.40M|            }
 1065|  6.40M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1066|  6.40M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure7advanceEv:
  803|  91.6M|            {
  804|  91.6M|                if (!is_key())
  ------------------
  |  Branch (804:21): [True: 79.1M, False: 12.4M]
  ------------------
  805|  79.1M|                {
  806|  79.1M|                    ++count_;
  807|  79.1M|                }
  808|  91.6M|                if (is_object())
  ------------------
  |  Branch (808:21): [True: 24.9M, False: 66.6M]
  ------------------
  809|  24.9M|                {
  810|  24.9M|                    even_odd_ = !even_odd_;
  811|  24.9M|                }
  812|  91.6M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1233|  41.3M|        {
 1234|  41.3M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1234:17): [True: 9.31M, False: 32.0M]
  |  Branch (1234:49): [True: 12.0M, False: 19.9M]
  ------------------
 1235|  21.3M|            {
 1236|  21.3M|                key_.clear();
 1237|  21.3M|                jsoncons::from_integer(value,key_);
 1238|  21.3M|            }
 1239|       |
 1240|  41.3M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1240:17): [True: 9.31M, False: 32.0M]
  ------------------
 1241|  9.31M|            {
 1242|  9.31M|                switch (level_stack_.back().target_kind())
 1243|  9.31M|                {
 1244|  4.98M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1244:21): [True: 4.98M, False: 4.32M]
  ------------------
 1245|  4.98M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1245:29): [True: 4.96M, False: 20.3k]
  ------------------
 1246|  4.96M|                        {
 1247|  4.96M|                            key_buffer_.push_back(',');
 1248|  4.96M|                        }
 1249|  4.98M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1250|  4.98M|                        key_buffer_.push_back(':');
 1251|  4.98M|                        break;
 1252|  4.32M|                    default:
  ------------------
  |  Branch (1252:21): [True: 4.32M, False: 4.98M]
  ------------------
 1253|  4.32M|                        destination_->key(key_, context, ec);
 1254|  4.32M|                        break;
 1255|  9.31M|                }
 1256|  9.31M|            }
 1257|  32.0M|            else
 1258|  32.0M|            {
 1259|  32.0M|                switch (level_stack_.back().target_kind())
 1260|  32.0M|                {
 1261|  12.0M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1261:21): [True: 12.0M, False: 19.9M]
  ------------------
 1262|  12.0M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1262:29): [True: 7.09M, False: 4.97M]
  |  Branch (1262:65): [True: 7.08M, False: 15.7k]
  ------------------
 1263|  7.08M|                        {
 1264|  7.08M|                            key_buffer_.push_back(',');
 1265|  7.08M|                        }
 1266|  12.0M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1267|  12.0M|                        break;
 1268|  19.9M|                    default:
  ------------------
  |  Branch (1268:21): [True: 19.9M, False: 12.0M]
  ------------------
 1269|  19.9M|                        destination_->uint64_value(value, tag, context, ec);
 1270|  19.9M|                        break;
 1271|  32.0M|                }
 1272|  32.0M|            }
 1273|       |
 1274|  41.3M|            level_stack_.back().advance();
 1275|  41.3M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  41.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1276|  41.3M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1279|  7.07M|        {
 1280|  7.07M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1280:17): [True: 487k, False: 6.58M]
  |  Branch (1280:49): [True: 2.37M, False: 4.20M]
  ------------------
 1281|  2.86M|            {
 1282|  2.86M|                key_.clear();
 1283|  2.86M|                jsoncons::from_integer(value,key_);
 1284|  2.86M|            }
 1285|       |
 1286|  7.07M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1286:17): [True: 487k, False: 6.58M]
  ------------------
 1287|   487k|            {
 1288|   487k|                switch (level_stack_.back().target_kind())
 1289|   487k|                {
 1290|   264k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1290:21): [True: 264k, False: 223k]
  ------------------
 1291|   264k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1291:29): [True: 256k, False: 8.02k]
  ------------------
 1292|   256k|                        {
 1293|   256k|                            key_buffer_.push_back(',');
 1294|   256k|                        }
 1295|   264k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1296|   264k|                        key_buffer_.push_back(':');
 1297|   264k|                        break;
 1298|   223k|                    default:
  ------------------
  |  Branch (1298:21): [True: 223k, False: 264k]
  ------------------
 1299|   223k|                        destination_->key(key_, context, ec);
 1300|   223k|                        break;
 1301|   487k|                }
 1302|   487k|            }
 1303|  6.58M|            else
 1304|  6.58M|            {
 1305|  6.58M|                switch (level_stack_.back().target_kind())
 1306|  6.58M|                {
 1307|  2.37M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1307:21): [True: 2.37M, False: 4.20M]
  ------------------
 1308|  2.37M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1308:29): [True: 2.11M, False: 266k]
  |  Branch (1308:65): [True: 2.11M, False: 1.94k]
  ------------------
 1309|  2.11M|                        {
 1310|  2.11M|                            key_buffer_.push_back(',');
 1311|  2.11M|                        }
 1312|  2.37M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1313|  2.37M|                        break;
 1314|  4.20M|                    default:
  ------------------
  |  Branch (1314:21): [True: 4.20M, False: 2.37M]
  ------------------
 1315|  4.20M|                        destination_->int64_value(value, tag, context, ec);
 1316|  4.20M|                        break;
 1317|  6.58M|                }
 1318|  6.58M|            }
 1319|       |
 1320|  7.07M|            level_stack_.back().advance();
 1321|  7.07M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  7.07M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1322|  7.07M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1374|   107k|        {
 1375|   107k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1375:17): [True: 29.4k, False: 77.9k]
  |  Branch (1375:49): [True: 41.7k, False: 36.1k]
  ------------------
 1376|  71.2k|            {
 1377|  71.2k|                key_.clear();
 1378|  71.2k|                string_sink<string_type> sink(key_);
 1379|  71.2k|                jsoncons::write_double f{float_chars_format::general,0};
 1380|  71.2k|                f(value, sink);
 1381|  71.2k|            }
 1382|       |
 1383|   107k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1383:17): [True: 29.4k, False: 77.9k]
  ------------------
 1384|  29.4k|            {
 1385|  29.4k|                switch (level_stack_.back().target_kind())
 1386|  29.4k|                {
 1387|  20.1k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1387:21): [True: 20.1k, False: 9.28k]
  ------------------
 1388|  20.1k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1388:29): [True: 13.0k, False: 7.18k]
  ------------------
 1389|  13.0k|                        {
 1390|  13.0k|                            key_buffer_.push_back(',');
 1391|  13.0k|                        }
 1392|  20.1k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1393|  20.1k|                        key_buffer_.push_back(':');
 1394|  20.1k|                        break;
 1395|  9.28k|                    default:
  ------------------
  |  Branch (1395:21): [True: 9.28k, False: 20.1k]
  ------------------
 1396|  9.28k|                        destination_->key(key_, context, ec);
 1397|  9.28k|                        break;
 1398|  29.4k|                }
 1399|  29.4k|            }
 1400|  77.9k|            else
 1401|  77.9k|            {
 1402|  77.9k|                switch (level_stack_.back().target_kind())
 1403|  77.9k|                {
 1404|  41.7k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1404:21): [True: 41.7k, False: 36.1k]
  ------------------
 1405|  41.7k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1405:29): [True: 27.1k, False: 14.5k]
  |  Branch (1405:65): [True: 25.4k, False: 1.72k]
  ------------------
 1406|  25.4k|                        {
 1407|  25.4k|                            key_buffer_.push_back(',');
 1408|  25.4k|                        }
 1409|  41.7k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1410|  41.7k|                        break;
 1411|  36.1k|                    default:
  ------------------
  |  Branch (1411:21): [True: 36.1k, False: 41.7k]
  ------------------
 1412|  36.1k|                        destination_->double_value(value, tag, context, ec);
 1413|  36.1k|                        break;
 1414|  77.9k|                }
 1415|  77.9k|            }
 1416|       |
 1417|   107k|            level_stack_.back().advance();
 1418|   107k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   107k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1419|   107k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  881|  2.45k|        {
  882|  2.45k|            destination_->flush();
  883|  2.45k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  914|  1.58M|        {
  915|  1.58M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (915:17): [True: 153k, False: 1.42M]
  ------------------
  916|   153k|            {
  917|   153k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (917:21): [True: 29.8k, False: 123k]
  |  Branch (917:86): [True: 16.8k, False: 13.0k]
  ------------------
  918|  16.8k|                {
  919|  16.8k|                    key_buffer_.push_back(',');
  920|  16.8k|                }
  921|   153k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  922|   153k|                key_buffer_.push_back('{');
  923|   153k|            }
  924|  1.42M|            else
  925|  1.42M|            {
  926|  1.42M|                switch (level_stack_.back().target_kind())
  927|  1.42M|                {
  928|   350k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (928:21): [True: 350k, False: 1.07M]
  ------------------
  929|   350k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (929:29): [True: 310k, False: 39.7k]
  |  Branch (929:65): [True: 307k, False: 3.38k]
  ------------------
  930|   307k|                        {
  931|   307k|                            key_buffer_.push_back(',');
  932|   307k|                        }
  933|   350k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  934|   350k|                        key_buffer_.push_back('{');
  935|   350k|                        break;
  936|  1.07M|                    default:
  ------------------
  |  Branch (936:21): [True: 1.07M, False: 350k]
  ------------------
  937|  1.07M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  938|  1.07M|                        destination_->begin_object(length, tag, context, ec);
  939|  1.07M|                        break;
  940|  1.42M|                }
  941|  1.42M|            }
  942|  1.58M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.58M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  943|  1.58M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  946|  1.56M|        {
  947|  1.56M|            switch (level_stack_.back().target_kind())
  948|  1.56M|            {
  949|   493k|                case json_target_kind::buffer:
  ------------------
  |  Branch (949:17): [True: 493k, False: 1.07M]
  ------------------
  950|   493k|                    key_buffer_.push_back('}');
  951|   493k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|   493k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 493k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  952|   493k|                    level_stack_.pop_back();
  953|       |                    
  954|   493k|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (954:25): [True: 122k, False: 370k]
  ------------------
  955|   122k|                    {
  956|   122k|                        destination_->key(key_buffer_,context, ec);
  957|   122k|                        key_buffer_.clear();
  958|   122k|                    }
  959|   370k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (959:30): [True: 26.0k, False: 344k]
  ------------------
  960|  26.0k|                    {
  961|  26.0k|                        key_buffer_.push_back(':');
  962|  26.0k|                    }
  963|   493k|                    level_stack_.back().advance();
  964|   493k|                    break;
  965|  1.07M|                default:
  ------------------
  |  Branch (965:17): [True: 1.07M, False: 493k]
  ------------------
  966|  1.07M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  1.07M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 1.07M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  967|  1.07M|                    level_stack_.pop_back();
  968|  1.07M|                    level_stack_.back().advance();
  969|  1.07M|                    destination_->end_object(context, ec);
  970|  1.07M|                    break;
  971|  1.56M|            }
  972|  1.56M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.56M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  973|  1.56M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1475|  2.19M|        {
 1476|  2.19M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1476:17): [True: 310k, False: 1.88M]
  |  Branch (1476:49): [True: 449k, False: 1.43M]
  ------------------
 1477|   760k|            {
 1478|   760k|                key_.clear(); 
 1479|   760k|                key_.insert(key_.begin(), json_literals<char_type>::null_literal.begin(), json_literals<char_type>::null_literal.end());
 1480|   760k|            }
 1481|       |
 1482|  2.19M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1482:17): [True: 310k, False: 1.88M]
  ------------------
 1483|   310k|            {
 1484|   310k|                switch (level_stack_.back().target_kind())
 1485|   310k|                {
 1486|   156k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1486:21): [True: 156k, False: 153k]
  ------------------
 1487|   156k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1487:29): [True: 155k, False: 1.03k]
  ------------------
 1488|   155k|                        {
 1489|   155k|                            key_buffer_.push_back(',');
 1490|   155k|                        }
 1491|   156k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1492|   156k|                        key_buffer_.push_back(':');
 1493|   156k|                        break;
 1494|   153k|                    default:
  ------------------
  |  Branch (1494:21): [True: 153k, False: 156k]
  ------------------
 1495|   153k|                        destination_->key(key_, context, ec);
 1496|   153k|                        break;
 1497|   310k|                }
 1498|   310k|            }
 1499|  1.88M|            else
 1500|  1.88M|            {
 1501|  1.88M|                switch (level_stack_.back().target_kind())
 1502|  1.88M|                {
 1503|   449k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1503:21): [True: 449k, False: 1.43M]
  ------------------
 1504|   449k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1504:29): [True: 293k, False: 156k]
  |  Branch (1504:65): [True: 292k, False: 1.00k]
  ------------------
 1505|   292k|                        {
 1506|   292k|                            key_buffer_.push_back(',');
 1507|   292k|                        }
 1508|   449k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1509|   449k|                        break;
 1510|  1.43M|                    default:
  ------------------
  |  Branch (1510:21): [True: 1.43M, False: 449k]
  ------------------
 1511|  1.43M|                        destination_->null_value(tag, context, ec);
 1512|  1.43M|                        break;
 1513|  1.88M|                }
 1514|  1.88M|            }
 1515|       |
 1516|  2.19M|            level_stack_.back().advance();
 1517|  2.19M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.19M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1518|  2.19M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1422|  28.7M|        {
 1423|  28.7M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1423:17): [True: 905k, False: 27.8M]
  |  Branch (1423:49): [True: 20.1M, False: 7.73M]
  ------------------
 1424|  21.0M|            {
 1425|  21.0M|                key_.clear(); 
 1426|  21.0M|                if (value)
  ------------------
  |  Branch (1426:21): [True: 83.6k, False: 20.9M]
  ------------------
 1427|  83.6k|                {
 1428|  83.6k|                    key_.insert(key_.begin(), json_literals<char_type>::true_literal.begin(), json_literals<char_type>::true_literal.end());
 1429|  83.6k|                }
 1430|  20.9M|                else
 1431|  20.9M|                {
 1432|  20.9M|                    key_.insert(key_.begin(), json_literals<char_type>::false_literal.begin(), json_literals<char_type>::false_literal.end());
 1433|  20.9M|                }
 1434|  21.0M|            }
 1435|       |
 1436|  28.7M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1436:17): [True: 905k, False: 27.8M]
  ------------------
 1437|   905k|            {
 1438|   905k|                switch (level_stack_.back().target_kind())
 1439|   905k|                {
 1440|   559k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1440:21): [True: 559k, False: 346k]
  ------------------
 1441|   559k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1441:29): [True: 551k, False: 8.11k]
  ------------------
 1442|   551k|                        {
 1443|   551k|                            key_buffer_.push_back(',');
 1444|   551k|                        }
 1445|   559k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1446|   559k|                        key_buffer_.push_back(':');
 1447|   559k|                        break;
 1448|   346k|                    default:
  ------------------
  |  Branch (1448:21): [True: 346k, False: 559k]
  ------------------
 1449|   346k|                        destination_->key(key_, context, ec);
 1450|   346k|                        break;
 1451|   905k|                }
 1452|   905k|            }
 1453|  27.8M|            else
 1454|  27.8M|            {
 1455|  27.8M|                switch (level_stack_.back().target_kind())
 1456|  27.8M|                {
 1457|  20.1M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1457:21): [True: 20.1M, False: 7.73M]
  ------------------
 1458|  20.1M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1458:29): [True: 19.5M, False: 563k]
  |  Branch (1458:65): [True: 19.5M, False: 2.76k]
  ------------------
 1459|  19.5M|                        {
 1460|  19.5M|                            key_buffer_.push_back(',');
 1461|  19.5M|                        }
 1462|  20.1M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1463|  20.1M|                        break;
 1464|  7.73M|                    default:
  ------------------
  |  Branch (1464:21): [True: 7.73M, False: 20.1M]
  ------------------
 1465|  7.73M|                        destination_->bool_value(value, tag, context, ec);
 1466|  7.73M|                        break;
 1467|  27.8M|                }
 1468|  27.8M|            }
 1469|       |
 1470|  28.7M|            level_stack_.back().advance();
 1471|  28.7M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  28.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1472|  28.7M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1072|  2.71M|        {
 1073|  2.71M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1073:17): [True: 179k, False: 2.53M]
  ------------------
 1074|   179k|            {
 1075|   179k|                switch (level_stack_.back().target_kind())
 1076|   179k|                {
 1077|  86.3k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1077:21): [True: 86.3k, False: 93.1k]
  ------------------
 1078|  86.3k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1078:29): [True: 84.3k, False: 2.01k]
  ------------------
 1079|  84.3k|                        {
 1080|  84.3k|                            key_buffer_.push_back(',');
 1081|  84.3k|                        }
 1082|  86.3k|                        key_buffer_.push_back('\"');
 1083|  86.3k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1084|  86.3k|                        key_buffer_.push_back('\"');
 1085|  86.3k|                        key_buffer_.push_back(':');
 1086|  86.3k|                        break;
 1087|  93.1k|                    default:
  ------------------
  |  Branch (1087:21): [True: 93.1k, False: 86.3k]
  ------------------
 1088|  93.1k|                        destination_->key(value, context, ec);
 1089|  93.1k|                        break;
 1090|   179k|                }
 1091|   179k|            }
 1092|  2.53M|            else
 1093|  2.53M|            {
 1094|  2.53M|                switch (level_stack_.back().target_kind())
 1095|  2.53M|                {
 1096|   229k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1096:21): [True: 229k, False: 2.30M]
  ------------------
 1097|   229k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1097:29): [True: 151k, False: 78.7k]
  |  Branch (1097:65): [True: 150k, False: 1.01k]
  ------------------
 1098|   150k|                        {
 1099|   150k|                            key_buffer_.push_back(',');
 1100|   150k|                        }
 1101|   229k|                        key_buffer_.push_back('\"');
 1102|   229k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1103|   229k|                        key_buffer_.push_back('\"');
 1104|   229k|                        break;
 1105|  2.30M|                    default:
  ------------------
  |  Branch (1105:21): [True: 2.30M, False: 229k]
  ------------------
 1106|  2.30M|                        destination_->string_value(value, tag, context, ec);
 1107|  2.30M|                        break;
 1108|  2.53M|                }
 1109|  2.53M|            }
 1110|       |
 1111|  2.71M|            level_stack_.back().advance();
 1112|  2.71M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.71M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1113|  2.71M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1119|   187k|        {
 1120|   187k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1120:17): [True: 32.3k, False: 155k]
  |  Branch (1120:49): [True: 21.8k, False: 133k]
  ------------------
 1121|  54.1k|            {
 1122|  54.1k|                key_.clear();
 1123|  54.1k|                switch (tag)
 1124|  54.1k|                {
 1125|      0|                    case semantic_tag::base64:
  ------------------
  |  Branch (1125:21): [True: 0, False: 54.1k]
  ------------------
 1126|      0|                        bytes_to_base64(value.begin(), value.end(), key_);
 1127|      0|                        break;
 1128|      0|                    case semantic_tag::base16:
  ------------------
  |  Branch (1128:21): [True: 0, False: 54.1k]
  ------------------
 1129|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1130|      0|                        break;
 1131|  54.1k|                    default:
  ------------------
  |  Branch (1131:21): [True: 54.1k, False: 0]
  ------------------
 1132|  54.1k|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1133|  54.1k|                        break;
 1134|  54.1k|                }
 1135|  54.1k|            }
 1136|       |
 1137|   187k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1137:17): [True: 32.3k, False: 155k]
  ------------------
 1138|  32.3k|            {
 1139|  32.3k|                switch (level_stack_.back().target_kind())
 1140|  32.3k|                {
 1141|  7.30k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1141:21): [True: 7.30k, False: 25.0k]
  ------------------
 1142|  7.30k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1142:29): [True: 5.53k, False: 1.76k]
  ------------------
 1143|  5.53k|                        {
 1144|  5.53k|                            key_buffer_.push_back(',');
 1145|  5.53k|                        }
 1146|  7.30k|                        key_buffer_.push_back('\"');
 1147|  7.30k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1148|  7.30k|                        key_buffer_.push_back('\"');
 1149|  7.30k|                        key_buffer_.push_back(':');
 1150|  7.30k|                        break;
 1151|  25.0k|                    default:
  ------------------
  |  Branch (1151:21): [True: 25.0k, False: 7.30k]
  ------------------
 1152|  25.0k|                        destination_->key(key_, context, ec);
 1153|  25.0k|                        break;
 1154|  32.3k|                }
 1155|  32.3k|            }
 1156|   155k|            else
 1157|   155k|            {
 1158|   155k|                switch (level_stack_.back().target_kind())
 1159|   155k|                {
 1160|  21.8k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1160:21): [True: 21.8k, False: 133k]
  ------------------
 1161|  21.8k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1161:29): [True: 15.2k, False: 6.64k]
  |  Branch (1161:65): [True: 14.2k, False: 966]
  ------------------
 1162|  14.2k|                        {
 1163|  14.2k|                            key_buffer_.push_back(',');
 1164|  14.2k|                        }
 1165|  21.8k|                        key_buffer_.push_back('\"');
 1166|  21.8k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1167|  21.8k|                        key_buffer_.push_back('\"');
 1168|  21.8k|                        break;
 1169|   133k|                    default:
  ------------------
  |  Branch (1169:21): [True: 133k, False: 21.8k]
  ------------------
 1170|   133k|                        destination_->byte_string_value(value, tag, context, ec);
 1171|   133k|                        break;
 1172|   155k|                }
 1173|   155k|            }
 1174|       |
 1175|   187k|            level_stack_.back().advance();
 1176|   187k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   187k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1177|   187k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1183|  1.23M|        {
 1184|  1.23M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1184:17): [True: 205k, False: 1.03M]
  |  Branch (1184:49): [True: 291k, False: 742k]
  ------------------
 1185|   497k|            {
 1186|   497k|                key_.clear();
 1187|   497k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1188|   497k|            }
 1189|       |
 1190|  1.23M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1190:17): [True: 205k, False: 1.03M]
  ------------------
 1191|   205k|            {
 1192|   205k|                switch (level_stack_.back().target_kind())
 1193|   205k|                {
 1194|  66.3k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1194:21): [True: 66.3k, False: 139k]
  ------------------
 1195|  66.3k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1195:29): [True: 65.1k, False: 1.23k]
  ------------------
 1196|  65.1k|                        {
 1197|  65.1k|                            key_buffer_.push_back(',');
 1198|  65.1k|                        }
 1199|  66.3k|                        key_buffer_.push_back('\"');
 1200|  66.3k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1201|  66.3k|                        key_buffer_.push_back('\"');
 1202|  66.3k|                        key_buffer_.push_back(':');
 1203|  66.3k|                        break;
 1204|   139k|                    default:
  ------------------
  |  Branch (1204:21): [True: 139k, False: 66.3k]
  ------------------
 1205|   139k|                        destination_->key(key_, context, ec);
 1206|   139k|                        break;
 1207|   205k|                }
 1208|   205k|            }
 1209|  1.03M|            else
 1210|  1.03M|            {
 1211|  1.03M|                switch (level_stack_.back().target_kind())
 1212|  1.03M|                {
 1213|   291k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1213:21): [True: 291k, False: 742k]
  ------------------
 1214|   291k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1214:29): [True: 225k, False: 66.2k]
  |  Branch (1214:65): [True: 224k, False: 779]
  ------------------
 1215|   224k|                        {
 1216|   224k|                            key_buffer_.push_back(',');
 1217|   224k|                        }
 1218|   291k|                        key_buffer_.push_back('\"');
 1219|   291k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1220|   291k|                        key_buffer_.push_back('\"');
 1221|   291k|                        break;
 1222|   742k|                    default:
  ------------------
  |  Branch (1222:21): [True: 742k, False: 291k]
  ------------------
 1223|   742k|                        destination_->byte_string_value(value, raw_tag, context, ec);
 1224|   742k|                        break;
 1225|  1.03M|                }
 1226|  1.03M|            }
 1227|       |
 1228|  1.23M|            level_stack_.back().advance();
 1229|  1.23M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.23M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1230|  1.23M|        }
_ZN8jsoncons21basic_generic_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  276|  1.58M|    {
  277|  1.58M|        visit_begin_object(length, tag, context, ec);
  278|  1.58M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.58M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  279|  1.58M|    }
_ZN8jsoncons21basic_generic_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  332|  2.71M|    {
  333|  2.71M|        visit_string(value, tag, context, ec);
  334|  2.71M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.71M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  335|  2.71M|    }
_ZN8jsoncons21basic_generic_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  314|  2.19M|    {
  315|  2.19M|        visit_null(tag, context, ec);
  316|  2.19M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.19M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  317|  2.19M|    }
_ZN8jsoncons21basic_generic_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  323|  28.7M|    {
  324|  28.7M|        visit_bool(value, tag, context, ec);
  325|  28.7M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  28.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  28.7M|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  343|   187k|    {
  344|   187k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  345|   187k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   187k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  346|   187k|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  354|  1.23M|    {
  355|  1.23M|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  356|  1.23M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.23M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  357|  1.23M|    }
_ZN8jsoncons21basic_generic_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  282|  1.56M|    {
  283|  1.56M|        visit_end_object(context, ec);
  284|  1.56M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.56M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  285|  1.56M|    }
_ZN8jsoncons21basic_generic_visitorIcE5flushEv:
   57|  2.45k|    {
   58|  2.45k|        visit_flush();
   59|  2.45k|    }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  3.32M|        {
  106|  3.32M|            flatten_and_destroy();
  107|  3.32M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  3.32M|        {
  249|  5.08M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 1.75M, False: 3.32M]
  ------------------
  250|  1.75M|            {
  251|  1.75M|                value_type current = std::move(data_.back());
  252|  1.75M|                data_.pop_back();
  253|  1.75M|                switch (current.storage_kind())
  254|  1.75M|                {
  255|   392k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 392k, False: 1.36M]
  ------------------
  256|   392k|                    {
  257|   392k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 1.22M, False: 392k]
  ------------------
  258|  1.22M|                        {
  259|  1.22M|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 22.9k, False: 1.20M]
  |  Branch (259:85): [True: 8.46k, False: 1.19M]
  ------------------
  260|  31.4k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 21.4k, False: 9.97k]
  ------------------
  261|  21.4k|                            {
  262|  21.4k|                                data_.push_back(std::move(item));
  263|  21.4k|                            }
  264|  1.22M|                        }
  265|   392k|                        current.clear();                           
  266|   392k|                        break;
  267|      0|                    }
  268|  49.5k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 49.5k, False: 1.70M]
  ------------------
  269|  49.5k|                    {
  270|  49.5k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 69.3k, False: 49.5k]
  ------------------
  271|  69.3k|                        {
  272|  69.3k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 7.15k, False: 62.2k]
  |  Branch (272:91): [True: 15.1k, False: 47.0k]
  ------------------
  273|  22.3k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 17.9k, False: 4.41k]
  ------------------
  274|  17.9k|                            {
  275|  17.9k|                                data_.push_back(std::move(kv.value()));
  276|  17.9k|                            }
  277|  69.3k|                        }
  278|  49.5k|                        current.clear();                           
  279|  49.5k|                        break;
  280|      0|                    }
  281|  1.31M|                    default:
  ------------------
  |  Branch (281:21): [True: 1.31M, False: 442k]
  ------------------
  282|  1.31M|                        break;
  283|  1.75M|                }
  284|  1.75M|            }
  285|  3.32M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|   392k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|   392k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  38.4k|        {
  126|  38.4k|            return data_.empty();
  127|  38.4k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|   392k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  16.1k|            : allocator_holder<allocator_type>(alloc), 
   50|  16.1k|              data_(value_allocator_type(alloc))
   51|  16.1k|        {
   52|  16.1k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  6.54k|        {
  218|  6.54k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  6.54k|            return data_.back();
  220|  6.54k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  30.9k|        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.93M|        {
  179|  2.93M|            data_.emplace_back(std::forward<T>(value));
  180|  2.93M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  3.31M|        json_array() = default;

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

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

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

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  21.8k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  29.1k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|  3.31M|        {
  561|  3.31M|            visit_begin_array(tag, context, ec);
  562|  3.31M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.31M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  3.31M|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  1.07M|        {
  545|  1.07M|            visit_begin_object(tag, context, ec);
  546|  1.07M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.07M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  1.07M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  6.62M|        {
  346|  6.62M|            visit_begin_array(length, tag, context, ec);
  347|  6.62M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.62M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  6.62M|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  39.9M|        {
  415|  39.9M|            visit_uint64(value, tag, context, ec);
  416|  39.9M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  39.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  39.9M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  6.58M|        {
  352|  6.58M|            visit_end_array(context, ec);
  353|  6.58M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.58M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  6.58M|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  8.40M|        {
  424|  8.40M|            visit_int64(value, tag, context, ec);
  425|  8.40M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  8.40M|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  72.3k|        {
  442|  72.3k|            visit_double(value, tag, context, ec);
  443|  72.3k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  72.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  72.3k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|  4.91k|        {
  109|  4.91k|            visit_flush();
  110|  4.91k|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  2.15M|        {
  328|  2.15M|            visit_begin_object(length, tag, context, ec);
  329|  2.15M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.15M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  2.15M|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  2.14M|        {
  334|  2.14M|            visit_end_object(context, ec);
  335|  2.14M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.14M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  2.14M|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  11.4M|        {
  358|  11.4M|            visit_key(name, context, ec);
  359|  11.4M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  11.4M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  2.86M|        {
  366|  2.86M|            visit_null(tag, context, ec);
  367|  2.86M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.86M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  2.86M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  15.4M|        {
  375|  15.4M|            visit_bool(value, tag, context, ec);
  376|  15.4M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  15.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  15.4M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  4.61M|        {
  384|  4.61M|            visit_string(value, tag, context, ec);
  385|  4.61M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.61M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  4.61M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  394|   266k|        {
  395|   266k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  396|   266k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   266k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  397|   266k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|  1.48M|        {
  406|  1.48M|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|  1.48M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.48M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|  1.48M|        }
_ZN8jsoncons26basic_default_json_visitorIcEC2Ev:
  811|  7.28k|        basic_default_json_visitor() = default;

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|   297k|    {
  121|   297k|        return value_;
  122|   297k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  27.8M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  19.9M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  19.9M|    {
   45|  19.9M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  74.8M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.20M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.20M|    {
   45|  4.20M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  36.1k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  36.1k|    {
   45|  36.1k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.07M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.07M|    {
   45|  1.07M|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|   173k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|   173k|    {
   88|   173k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  3.31M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.31M|    {
   45|  3.31M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.43M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.43M|    {
   45|  1.43M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  7.73M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  7.73M|    {
   45|  7.73M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  2.30M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.30M|    {
   45|  2.30M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   133k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   133k|    {
   45|   133k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   742k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   742k|    {
   45|   742k|    }

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

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  29.3k|        {
  159|  29.3k|            return data_.empty();
  160|  29.3k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  49.5k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  49.5k|        {
  169|  49.5k|            return data_.begin();
  170|  49.5k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  49.5k|        {
  174|  49.5k|            return data_.end();
  175|  49.5k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  1.07M|        {
  154|  1.07M|            flatten_and_destroy();
  155|  1.07M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|  1.07M|        {
  725|  1.07M|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 16.1k, False: 1.06M]
  ------------------
  726|  16.1k|            {
  727|  16.1k|                json_array<Json> temp(get_allocator());
  728|       |
  729|  16.1k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 104k, False: 16.1k]
  ------------------
  730|   104k|                {
  731|   104k|                    switch (kv.value().storage_kind())
  732|   104k|                    {
  733|  8.29k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 8.29k, False: 96.2k]
  ------------------
  734|  14.0k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 5.71k, False: 98.8k]
  ------------------
  735|  14.0k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 6.54k, False: 7.46k]
  ------------------
  736|  6.54k|                            {
  737|  6.54k|                                temp.emplace_back(std::move(kv.value()));
  738|  6.54k|                            }
  739|  14.0k|                            break;
  740|  90.5k|                        default:
  ------------------
  |  Branch (740:25): [True: 90.5k, False: 14.0k]
  ------------------
  741|  90.5k|                            break;
  742|   104k|                    }
  743|   104k|                }
  744|  16.1k|            }
  745|  1.07M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  1.07M|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  40.1k|        {
  278|  40.1k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 40.1k, False: 0]
  ------------------
  279|  40.1k|            {
  280|  40.1k|                data_.reserve(count);
  281|       |
  282|  40.1k|                std::sort(items, items+count, compare);
  283|  40.1k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  4.50M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 4.46M, False: 40.1k]
  ------------------
  286|  4.46M|                {
  287|  4.46M|                    auto& item = items[i];
  288|  4.46M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 133k, False: 4.33M]
  ------------------
  289|   133k|                    {
  290|   133k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|   133k|                    }
  292|  4.46M|                }
  293|  40.1k|            }
  294|  40.1k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|   100M|        {
  269|   100M|            int comp = item1.name.compare(item2.name); 
  270|   100M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 2.05M, False: 98.9M]
  ------------------
  271|  98.9M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 97.1M, False: 1.75M]
  ------------------
  272|       |
  273|  1.75M|            return false;
  274|  98.9M|        }

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  176|  7.28k|        : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  177|  7.28k|          chunk_size_(default_max_chunk_size)
  178|  7.28k|    {
  179|  7.28k|        chunk_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, chunk_size_);
  180|  7.28k|        data_end_ = chunk_;
  181|  7.28k|    }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   57|  7.28k|      : std::basic_istream<CharT>(&nb_)
   58|  7.28k|    {
   59|  7.28k|    }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   43|  7.28k|        null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  193|  7.28k|    {
  194|  7.28k|        if (chunk_)
  ------------------
  |  Branch (194:13): [True: 7.28k, False: 0]
  ------------------
  195|  7.28k|        {
  196|  7.28k|            std::allocator_traits<char_allocator_type>::deallocate(alloc_, chunk_, chunk_size_);
  197|  7.28k|        }
  198|  7.28k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|  4.83k|    {
  282|  4.83k|        return position_;
  283|  4.83k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  91.6M|    {
  277|  91.6M|        return stream_ptr_->bad();  
  278|  91.6M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  377|  93.5M|    {
  378|  93.5M|        std::size_t len = 0;
  379|  93.5M|        if (remaining_ > 0)
  ------------------
  |  Branch (379:13): [True: 93.5M, False: 16.6k]
  ------------------
  380|  93.5M|        {
  381|  93.5M|            len = (std::min)(remaining_, length);
  382|  93.5M|            std::memcpy(p, data_end_, len*sizeof(value_type));
  383|  93.5M|            data_end_ += len;
  384|  93.5M|            remaining_ -= len;
  385|  93.5M|            position_ += len;
  386|  93.5M|        }
  387|  93.5M|        if (length - len == 0)
  ------------------
  |  Branch (387:13): [True: 93.5M, False: 18.2k]
  ------------------
  388|  93.5M|        {
  389|  93.5M|            return len;
  390|  93.5M|        }
  391|  18.2k|        else if (length - len < chunk_size_)
  ------------------
  |  Branch (391:18): [True: 18.2k, False: 0]
  ------------------
  392|  18.2k|        {
  393|  18.2k|            data_end_ = chunk_;
  394|  18.2k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  395|  18.2k|            if (remaining_ > 0)
  ------------------
  |  Branch (395:17): [True: 13.9k, False: 4.29k]
  ------------------
  396|  13.9k|            {
  397|  13.9k|                std::size_t len2 = (std::min)(remaining_, length-len);
  398|  13.9k|                std::memcpy(p+len, data_end_, len2*sizeof(value_type));
  399|  13.9k|                data_end_ += len2;
  400|  13.9k|                remaining_ -= len2;
  401|  13.9k|                position_ += len2;
  402|  13.9k|                len += len2;
  403|  13.9k|            }
  404|  18.2k|            return len;
  405|  18.2k|        }
  406|      0|        else
  407|      0|        {
  408|      0|            if (stream_ptr_->eof())
  ------------------
  |  Branch (408:17): [True: 0, False: 0]
  ------------------
  409|      0|            {
  410|      0|                remaining_ = 0;
  411|      0|                return 0;
  412|      0|            }
  413|      0|            JSONCONS_TRY
  ------------------
  |  |   37|      0|    #define JSONCONS_TRY try
  ------------------
  414|      0|            {
  415|      0|                std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(p+len), length-len);
  416|      0|                std::size_t len2 = static_cast<std::size_t>(count);
  417|      0|                if (len2 < length-len)
  ------------------
  |  Branch (417:21): [True: 0, False: 0]
  ------------------
  418|      0|                {
  419|      0|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  420|      0|                }
  421|      0|                len += len2;
  422|      0|                position_ += len2;
  423|      0|                return len;
  424|      0|            }
  425|      0|            JSONCONS_CATCH(const std::exception&)     
  426|      0|            {
  427|      0|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  428|      0|                return 0;
  429|      0|            }
  430|      0|        }
  431|  93.5M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  442|  18.8k|    {
  443|  18.8k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (443:13): [True: 4.36k, False: 14.5k]
  ------------------
  444|  4.36k|        {
  445|  4.36k|            return 0;
  446|  4.36k|        }
  447|       |
  448|  14.5k|        JSONCONS_TRY
  ------------------
  |  |   37|  14.5k|    #define JSONCONS_TRY try
  ------------------
  449|  14.5k|        {
  450|  14.5k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  451|  14.5k|            std::size_t length = static_cast<std::size_t>(count);
  452|       |
  453|  14.5k|            if (length < chunk_size)
  ------------------
  |  Branch (453:17): [True: 7.27k, False: 7.24k]
  ------------------
  454|  7.27k|            {
  455|  7.27k|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  456|  7.27k|            }
  457|  14.5k|            return length;
  458|  14.5k|        }
  459|  14.5k|        JSONCONS_CATCH(const std::exception&)     
  460|  14.5k|        {
  461|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  462|      0|            return 0;
  463|      0|        }
  464|  14.5k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_6vectorIhS3_EEEENS_6detail4spanIKhLm18446744073709551615EEEmOT_:
  352|  4.09M|    {
  353|  4.09M|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   78|  4.09M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2.85M, False: 1.24M]
  |  |  ------------------
  ------------------
  354|  2.85M|        {
  355|  2.85M|            return span<const value_type>{};
  356|  2.85M|        }
  357|  1.24M|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 339, False: 1.24M]
  |  Branch (357:32): [True: 180, False: 159]
  ------------------
  358|    180|        {
  359|    180|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|    180|            data_end_ = chunk_;
  361|    180|        }
  362|  1.24M|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 908, False: 1.24M]
  ------------------
  363|    908|        {
  364|    908|            buffer.clear();
  365|    908|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    908|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    908|        }
  368|       |
  369|  1.24M|        const value_type* data = data_end_;
  370|  1.24M|        data_end_ += length;
  371|  1.24M|        remaining_ -= length;
  372|  1.24M|        position_ += length;
  373|  1.24M|        return span<const value_type>(data, length);
  374|  1.24M|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSD_m:
  746|    908|    {
  747|    908|        std::size_t unread = length;
  748|       |
  749|  2.99k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 2.60k, False: 393]
  |  Branch (749:30): [True: 2.08k, False: 515]
  ------------------
  750|  2.08k|        {
  751|  2.08k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 478, False: 1.61k]
  |  Branch (751:44): [True: 477, False: 1]
  ------------------
  752|    477|            {
  753|    477|                std::size_t n = source.chunk_size();
  754|    477|                std::size_t offset = buffer.size();
  755|    477|                buffer.resize(offset+n);
  756|    477|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|    477|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|    477|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 53, False: 424]
  |  |  ------------------
  ------------------
  758|     53|                {
  759|     53|                    buffer.resize(offset+actual);
  760|     53|                }
  761|    477|                unread -= actual;
  762|    477|            }
  763|  1.61k|            else
  764|  1.61k|            {
  765|  1.61k|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|  1.61k|                std::size_t offset = buffer.size();
  767|  1.61k|                buffer.resize(offset+n);
  768|  1.61k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|  1.61k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|  1.61k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 267, False: 1.34k]
  |  |  ------------------
  ------------------
  770|    267|                {
  771|    267|                    buffer.resize(offset + actual);
  772|    267|                }
  773|  1.61k|                unread -= actual;
  774|  1.61k|            }
  775|  2.08k|        }
  776|    908|        return length - unread;
  777|    908|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  2.60k|    {
  272|  2.60k|        return remaining_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 993, False: 1.61k]
  |  Branch (272:35): [True: 515, False: 478]
  ------------------
  273|  2.60k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9remainingEv:
  346|  2.08k|    {
  347|  2.08k|        return remaining_;
  348|  2.08k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|  2.56k|    {
  262|  2.56k|        return chunk_size_;
  263|  2.56k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11read_bufferEPhm:
  435|    477|    {
  436|    477|        auto len = fill_buffer(chunk, chunk_size);
  437|    477|        position_ += len;
  438|    477|        return len;
  439|    477|    }

_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ImEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|   111k|        : storage_(n, alloc)
  694|   111k|    {
  695|   111k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ImEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|   111k|        : word_allocator_type(alloc)
  361|   111k|    {
  362|   111k|        ::new (&inlined_) inlined_storage(n);
  363|   111k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ImEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  138|   111k|            : is_allocated_(false),
  139|   111k|            is_negative_(false),
  140|   111k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 43.9k, False: 67.4k]
  ------------------
  141|   111k|        {
  142|   111k|            values_[0] = n;
  143|   111k|            values_[1] = 0;
  144|   111k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLImEENS1_9enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueERS4_E4typeES7_:
  998|  48.7k|    {
  999|  48.7k|        auto this_view = get_storage_view();
 1000|  48.7k|        size_type len0 = this_view.size();
 1001|  48.7k|        word_type dig = this_view[0];
 1002|  48.7k|        word_type carry = 0;
 1003|       |
 1004|  48.7k|        resize(this_view.size() + 1);
 1005|  48.7k|        this_view = get_storage_view();
 1006|       |
 1007|  48.7k|        size_type i = 0;
 1008|  87.3k|        for (; i < len0; i++ )
  ------------------
  |  Branch (1008:16): [True: 38.5k, False: 48.7k]
  ------------------
 1009|  38.5k|        {
 1010|  38.5k|            word_type hi;
 1011|  38.5k|            word_type lo;
 1012|  38.5k|            DDproduct( dig, y, hi, lo );
 1013|  38.5k|            this_view[i] = lo + carry;
 1014|  38.5k|            dig = this_view[i+1];
 1015|  38.5k|            carry = hi + (this_view[i] < lo);
 1016|  38.5k|        }
 1017|  48.7k|        this_view[i] = carry;
 1018|  48.7k|        reduce();
 1019|  48.7k|        return *this;
 1020|  48.7k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  718|   730k|    {
  719|   730k|        return storage_.get_storage_view();
  720|   730k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  520|  1.04M|    {
  521|  1.04M|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (521:16): [True: 316k, False: 733k]
  ------------------
  522|   316k|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  523|  1.04M|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  524|  1.04M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   64|  1.04M|            : data_(data), size_(size)
   65|  1.04M|        {
   66|  1.04M|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   84|  1.63M|        {
   85|  1.63M|            return size_;
   86|  1.63M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   69|   680k|        {
   70|   680k|            return data_[i];
   71|   680k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  818|   122k|    {
  819|   122k|        storage_.resize(new_length);
  820|   122k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  534|   244k|    {
  535|   244k|        size_type old_length = common_.size_;
  536|   244k|        reserve(new_length);
  537|   244k|        common_.size_ = new_length;
  538|       |
  539|   244k|        if (old_length < new_length)
  ------------------
  |  Branch (539:13): [True: 148k, False: 95.6k]
  ------------------
  540|   148k|        {
  541|   148k|            if (is_allocated())
  ------------------
  |  Branch (541:17): [True: 24.3k, False: 124k]
  ------------------
  542|  24.3k|            {
  543|  24.3k|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  544|  24.3k|            }
  545|   124k|            else
  546|   124k|            {
  547|   124k|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   49|   124k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 124k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  548|   320k|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (548:48): [True: 196k, False: 124k]
  ------------------
  549|   196k|                {
  550|   196k|                    inlined_.values_[i] = 0;
  551|   196k|                }
  552|   124k|            }
  553|   148k|        }
  554|   244k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  452|   244k|    {
  453|   244k|       if (capacity() < n)
  ------------------
  |  Branch (453:12): [True: 24.3k, False: 220k]
  ------------------
  454|  24.3k|       {
  455|  24.3k|           if (!is_allocated())
  ------------------
  |  Branch (455:16): [True: 24.3k, False: 0]
  ------------------
  456|  24.3k|           {
  457|  24.3k|               size_type size = inlined_.size_;
  458|  24.3k|               size_type is_neg = inlined_.is_negative_;
  459|  24.3k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  460|       |
  461|  24.3k|               ::new (&allocated_) allocated_storage();
  462|  24.3k|               allocated_.reserve(n, get_allocator());
  463|  24.3k|               allocated_.size_ = size;
  464|  24.3k|               allocated_.is_negative_ = is_neg;
  465|  24.3k|               if (n >= 1)
  ------------------
  |  Branch (465:20): [True: 24.3k, False: 0]
  ------------------
  466|  24.3k|               {
  467|  24.3k|                   allocated_.data_[0] = values[0];
  468|  24.3k|               }
  469|  24.3k|               if (n >= 2)
  ------------------
  |  Branch (469:20): [True: 24.3k, False: 0]
  ------------------
  470|  24.3k|               {
  471|  24.3k|                   allocated_.data_[1] = values[1];
  472|  24.3k|               }
  473|  24.3k|           }
  474|      0|           else
  475|      0|           {
  476|      0|               allocated_.reserve(n, get_allocator());
  477|      0|           }
  478|  24.3k|       }
  479|   244k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  505|   244k|    {
  506|   244k|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (506:16): [True: 48.6k, False: 195k]
  ------------------
  507|   244k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  203|  24.3k|            : is_allocated_(true),
  204|  24.3k|            is_negative_(false)
  205|  24.3k|        {
  206|  24.3k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  255|  24.3k|        {
  256|  24.3k|            JSONCONS_ASSERT(n < max_size);
  ------------------
  |  |   49|  24.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 24.3k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  257|  24.3k|            size_type capacity_new = round_up(n);
  258|       |
  259|  24.3k|            real_allocator_type alloc(a);
  260|  24.3k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  261|  24.3k|            if (size_ > 0)
  ------------------
  |  Branch (261:17): [True: 0, False: 24.3k]
  ------------------
  262|      0|            {
  263|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  264|      0|            }
  265|  24.3k|            if (data_ != nullptr)
  ------------------
  |  Branch (265:17): [True: 0, False: 24.3k]
  ------------------
  266|      0|            {
  267|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  268|      0|            }
  269|  24.3k|            capacity_ = capacity_new;
  270|  24.3k|            data_ = data_new;
  271|  24.3k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  275|  24.3k|        {
  276|  24.3k|            size_type remainder = i % mem_unit;
  277|  24.3k|            size_type off = mem_unit - remainder;
  278|  24.3k|            bool testoff = i < max_size - off;
  279|  24.3k|            JSONCONS_ASSERT(testoff);
  ------------------
  |  |   49|  24.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 24.3k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  280|       |
  281|  24.3k|            return i + off;
  282|  24.3k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  482|   500k|    {
  483|   500k|        return static_cast<const word_allocator_type&>(*this);
  484|   500k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  500|  1.14M|    {
  501|  1.14M|        return common_.is_allocated_;
  502|  1.14M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1781|  63.3k|    {
 1782|  63.3k|        word_type hiA = A >> word_type_half_bits, loA = A & r_mask,
 1783|  63.3k|                   hiB = B >> word_type_half_bits, loB = B & r_mask;
 1784|       |
 1785|  63.3k|        lo = loA * loB;
 1786|  63.3k|        hi = hiA * hiB;
 1787|  63.3k|        word_type mid1 = loA * hiB;
 1788|  63.3k|        word_type mid2 = hiA * loB;
 1789|  63.3k|        word_type old = lo;
 1790|  63.3k|        lo += mid1 << word_type_half_bits;
 1791|  63.3k|            hi += (lo < old) + (mid1 >> word_type_half_bits);
 1792|  63.3k|        old = lo;
 1793|  63.3k|        lo += mid2 << word_type_half_bits;
 1794|  63.3k|            hi += (lo < old) + (mid2 >> word_type_half_bits);
 1795|  63.3k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 1917|   196k|    {
 1918|   196k|        storage_.reduce();
 1919|   196k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  429|   196k|    {
  430|   196k|        if (common_.size_ > 0)
  ------------------
  |  Branch (430:13): [True: 196k, False: 0]
  ------------------
  431|   196k|        {
  432|   196k|            auto this_view = get_storage_view();
  433|   196k|            word_type* p = this_view.end() - 1;
  434|   196k|            word_type* first = this_view.begin();
  435|   305k|            while ( p >= first )
  ------------------
  |  Branch (435:21): [True: 273k, False: 31.2k]
  ------------------
  436|   273k|            {
  437|   273k|                if ( *p )
  ------------------
  |  Branch (437:22): [True: 165k, False: 108k]
  ------------------
  438|   165k|                {
  439|   165k|                    break;
  440|   165k|                }
  441|   108k|                --common_.size_;
  442|   108k|                --p;
  443|   108k|            }
  444|   196k|        }
  445|   196k|        if (common_.size_ == 0)
  ------------------
  |  Branch (445:13): [True: 31.2k, False: 165k]
  ------------------
  446|  31.2k|        {
  447|  31.2k|            common_.is_negative_ = false;
  448|  31.2k|        }
  449|   196k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
   93|   196k|        {
   94|   196k|            return data_ + size_;
   95|   196k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
   88|   196k|        {
   89|   196k|            return data_;
   90|   196k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLImEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  889|  13.9k|    {
  890|  13.9k|        if ( is_negative())
  ------------------
  |  Branch (890:14): [True: 0, False: 13.9k]
  ------------------
  891|      0|            return *this -= -basic_bigint<Allocator>(y);
  892|       |
  893|  13.9k|        word_type d;
  894|  13.9k|        word_type carry = 0;
  895|       |
  896|  13.9k|        auto this_view = get_storage_view();
  897|  13.9k|        resize(this_view.size() + 1);
  898|       |
  899|  13.9k|        this_view = get_storage_view();
  900|  13.9k|        const size_type this_size = this_view.size();
  901|  13.9k|        size_type y_size = 1;
  902|       |
  903|  13.9k|        d = this_view[0] + carry;
  904|  13.9k|        carry = d < carry;
  905|  13.9k|        this_view[0] = d + y;
  906|  13.9k|        if (this_view[0] < d)
  ------------------
  |  Branch (906:13): [True: 0, False: 13.9k]
  ------------------
  907|      0|            carry = 1;
  908|       |
  909|  13.9k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (909:36): [True: 12.6k, False: 1.33k]
  |  Branch (909:53): [True: 0, False: 12.6k]
  ------------------
  910|      0|        {
  911|      0|            d = this_view[i] + carry;
  912|      0|            carry = d < carry;
  913|      0|            this_view[i] = d;
  914|      0|        }
  915|  13.9k|        reduce();
  916|  13.9k|        return *this;
  917|  13.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  728|   635k|    {
  729|   635k|        return storage_.is_negative();
  730|   635k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  510|   635k|    {
  511|   635k|        return common_.is_negative_;
  512|   635k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  835|  5.75k|    {
  836|  5.75k|        basic_bigint<Allocator> v(*this);
  837|  5.75k|        v.set_negative(!v.is_negative());
  838|  5.75k|        return v;
  839|  5.75k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  671|  54.5k|        : storage_(other.storage_)
  672|  54.5k|    {
  673|  54.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  299|  54.5k|        : word_allocator_type(other.get_allocator())
  300|  54.5k|    {
  301|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  302|       |# pragma GCC diagnostic push
  303|       |# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
  304|       |#endif
  305|  54.5k|        if (!other.is_allocated())
  ------------------
  |  Branch (305:13): [True: 30.2k, False: 24.3k]
  ------------------
  306|  30.2k|        {
  307|  30.2k|            ::new (&inlined_) inlined_storage(other.inlined_);
  308|  30.2k|        }
  309|  24.3k|        else
  310|  24.3k|        {
  311|  24.3k|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  312|  24.3k|        }
  313|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  314|       |# pragma GCC diagnostic pop
  315|       |#endif
  316|  54.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  178|   153k|            : is_allocated_(false),
  179|   153k|            is_negative_(stor.is_negative_),
  180|   153k|            size_(stor.size_)
  181|   153k|        {
  182|   153k|            values_[0] = stor.values_[0];
  183|   153k|            values_[1] = stor.values_[1];
  184|   153k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  209|  97.2k|            : is_allocated_(true),
  210|  97.2k|              is_negative_(stor.is_negative_),
  211|  97.2k|              size_(stor.size_),
  212|  97.2k|              capacity_(stor.capacity_)
  213|  97.2k|        {
  214|  97.2k|            real_allocator_type alloc(a);
  215|       |
  216|  97.2k|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  217|  97.2k|            JSONCONS_TRY
  ------------------
  |  |   37|  97.2k|    #define JSONCONS_TRY try
  ------------------
  218|  97.2k|            {
  219|  97.2k|                std::allocator_traits<real_allocator_type>::construct(alloc, ext_traits::to_plain_pointer(data_));
  220|  97.2k|            }
  221|  97.2k|            JSONCONS_CATCH(...)
  222|  97.2k|            {
  223|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  224|      0|                data_ = nullptr;
  225|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  226|      0|            }
  227|  97.2k|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   49|  97.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 97.2k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  228|  97.2k|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  229|  97.2k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  733|   299k|    {
  734|   299k|        storage_.set_negative(value);
  735|   299k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  515|   299k|    {
  516|   299k|        common_.is_negative_ = value;
  517|   299k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE12write_stringIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1359|  48.7k|    {
 1360|  48.7k|        basic_bigint<Allocator> v(*this);
 1361|  48.7k|        auto v_view = v.get_storage_view();
 1362|       |
 1363|  48.7k|        size_type len = (v_view.size() * word_type_bits / 3) + 2;
 1364|  48.7k|        data.reserve(len);
 1365|       |
 1366|  48.7k|        if ( v_view.size() == 0 )
  ------------------
  |  Branch (1366:14): [True: 9.24k, False: 39.5k]
  ------------------
 1367|  9.24k|        {
 1368|  9.24k|            data.push_back('0');
 1369|  9.24k|        }
 1370|  39.5k|        else
 1371|  39.5k|        {
 1372|  39.5k|            word_type r;
 1373|  39.5k|            basic_bigint<Allocator> R(get_allocator());
 1374|  39.5k|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1375|       |
 1376|  39.5k|            do
 1377|  73.4k|            {
 1378|  73.4k|                v.divide( LP10, v, R, true );
 1379|  73.4k|                v_view = v.get_storage_view();
 1380|       |
 1381|  73.4k|                auto R_view = R.get_storage_view();
 1382|  73.4k|                r = (R_view.size() ? R_view[0] : 0);
  ------------------
  |  Branch (1382:22): [True: 58.5k, False: 14.9k]
  ------------------
 1383|   935k|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1383:38): [True: 901k, False: 33.9k]
  ------------------
 1384|   901k|                {
 1385|   901k|                    data.push_back(char(r % 10u + '0'));
 1386|   901k|                    r /= 10u;
 1387|   901k|                    if ( r + v_view.size() == 0 )
  ------------------
  |  Branch (1387:26): [True: 39.5k, False: 861k]
  ------------------
 1388|  39.5k|                        break;
 1389|   901k|                }
 1390|  73.4k|            } 
 1391|  73.4k|            while ( v_view.size() > 0);
  ------------------
  |  Branch (1391:21): [True: 33.9k, False: 39.5k]
  ------------------
 1392|       |
 1393|  39.5k|            if (is_negative())
  ------------------
  |  Branch (1393:17): [True: 5.75k, False: 33.7k]
  ------------------
 1394|  5.75k|            {
 1395|  5.75k|                data.push_back('-');
 1396|  5.75k|            }
 1397|  39.5k|            std::reverse(data.begin(),data.end());
 1398|  39.5k|        }
 1399|  48.7k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  713|   275k|    {
  714|   275k|        return storage_.get_allocator();
  715|   275k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  644|  39.5k|        : storage_(alloc)
  645|  39.5k|    {
  646|  39.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  293|  39.5k|        : word_allocator_type(alloc)
  294|  39.5k|    {
  295|  39.5k|        ::new (&inlined_) inlined_storage();
  296|  39.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  113|  39.5k|            : is_allocated_(false),
  114|  39.5k|            is_negative_(false),
  115|  39.5k|            size_(0),
  116|  39.5k|            values_{0, 0}
  117|  39.5k|        {
  118|  39.5k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1675|  73.4k|    {
 1676|  73.4k|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1677|  73.4k|        auto denom_view = denom.get_storage_view();
 1678|       |
 1679|  73.4k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1679:13): [True: 0, False: 73.4k]
  ------------------
 1680|      0|        {
 1681|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1682|      0|        }
 1683|  73.4k|        bool quot_neg = is_negative() ^ denom.is_negative();
 1684|  73.4k|        bool rem_neg = is_negative();
 1685|  73.4k|        basic_bigint<Allocator> num(*this, get_allocator());
 1686|  73.4k|        num.set_negative(false);
 1687|  73.4k|        denom.set_negative(false);
 1688|  73.4k|        if ( num < denom )
  ------------------
  |  Branch (1688:14): [True: 39.5k, False: 33.9k]
  ------------------
 1689|  39.5k|        {
 1690|  39.5k|            quot = word_type(0);
 1691|  39.5k|            quot.set_negative(quot_neg);
 1692|  39.5k|            rem = num;
 1693|  39.5k|            rem.set_negative(rem_neg);
 1694|  39.5k|            return;
 1695|  39.5k|        }
 1696|       |
 1697|  33.9k|        auto num_view = num.get_storage_view();
 1698|  33.9k|        auto quot_view = quot.get_storage_view();
 1699|  33.9k|        auto this_view = get_storage_view();
 1700|       |
 1701|  33.9k|        if ( denom_view.size() == 1 && num_view.size() == 1 )
  ------------------
  |  Branch (1701:14): [True: 33.9k, False: 0]
  |  Branch (1701:40): [True: 9.18k, False: 24.7k]
  ------------------
 1702|  9.18k|        {
 1703|  9.18k|            quot = word_type( num_view[0]/denom_view[0] );
 1704|  9.18k|            rem = word_type( num_view[0]%denom_view[0] );
 1705|  9.18k|            quot.set_negative(quot_neg);
 1706|  9.18k|            rem.set_negative(rem_neg);
 1707|  9.18k|            return;
 1708|  9.18k|        }
 1709|  24.7k|        if (denom_view.size() == 1 && (denom_view[0] & l_mask) == 0 )
  ------------------
  |  Branch (1709:13): [True: 24.7k, False: 0]
  |  Branch (1709:39): [True: 0, False: 24.7k]
  ------------------
 1710|      0|        {
 1711|       |            // Denominator fits into a half word
 1712|      0|            word_type divisor = denom_view[0], dHi = 0, q1, r, q2, dividend;
 1713|      0|            quot.resize(this_view.size());
 1714|      0|            quot_view = quot.get_storage_view();
 1715|      0|            for (size_type i=this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1715:48): [True: 0, False: 0]
  ------------------
 1716|      0|            {
 1717|      0|                dividend = (dHi << word_type_half_bits) | (this_view[i] >> word_type_half_bits);
 1718|      0|                q1 = dividend/divisor;
 1719|      0|                r = dividend % divisor;
 1720|      0|                dividend = (r << word_type_half_bits) | (this_view[i] & r_mask);
 1721|      0|                q2 = dividend/divisor;
 1722|      0|                dHi = dividend % divisor;
 1723|      0|                quot_view[i] = (q1 << word_type_half_bits) | q2;
 1724|      0|            }
 1725|      0|            quot.reduce();
 1726|      0|            rem = dHi;
 1727|      0|            quot.set_negative(quot_neg);
 1728|      0|            rem.set_negative(rem_neg);
 1729|      0|            return;
 1730|      0|        }
 1731|  24.7k|        basic_bigint<Allocator> num0(num, get_allocator());
 1732|  24.7k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1733|  24.7k|        int x = 0;
 1734|  24.7k|        bool second_done = normalize(denom, num, x);
 1735|  24.7k|        denom_view = denom.get_storage_view();
 1736|  24.7k|        num_view = num.get_storage_view();
 1737|       |
 1738|  24.7k|        size_type l = denom_view.size() - 1;
 1739|  24.7k|        size_type n = num_view.size() - 1;
 1740|  24.7k|        quot.resize(n - l);
 1741|  24.7k|        quot_view = quot.get_storage_view();
 1742|  49.5k|        for (size_type i = quot_view.size(); i-- > 0; )
  ------------------
  |  Branch (1742:46): [True: 24.7k, False: 24.7k]
  ------------------
 1743|  24.7k|        {
 1744|  24.7k|            quot_view[i] = 0;
 1745|  24.7k|        }
 1746|  24.7k|        rem = num;
 1747|  24.7k|        auto rem_view = rem.get_storage_view();
 1748|  24.7k|        if ( rem_view[n] >= denom_view[l] )
  ------------------
  |  Branch (1748:14): [True: 0, False: 24.7k]
  ------------------
 1749|      0|        {
 1750|      0|            rem.resize(rem_view.size() + 1);
 1751|      0|            rem_view = rem.get_storage_view();
 1752|      0|            n++;
 1753|      0|            quot.resize(quot_view.size() + 1);
 1754|      0|            quot_view = quot.get_storage_view();
 1755|      0|        }
 1756|  24.7k|        word_type d = denom_view[l];
 1757|       |
 1758|  49.5k|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1758:32): [True: 24.7k, False: 24.7k]
  ------------------
 1759|  24.7k|        {
 1760|  24.7k|            word_type q = DDquotient(rem_view[k], rem_view[k-1], d);
 1761|  24.7k|            subtractmul( rem_view.data() + (k - l - 1), denom_view.data(), l + 1, q );
 1762|  24.7k|            quot_view[k - l - 1] = q;
 1763|  24.7k|        }
 1764|  24.7k|        quot.reduce();
 1765|  24.7k|        quot.set_negative(quot_neg);
 1766|  24.7k|        if (remDesired)
  ------------------
  |  Branch (1766:13): [True: 24.7k, False: 0]
  ------------------
 1767|  24.7k|        {
 1768|  24.7k|            unnormalize(rem, x, second_done);
 1769|  24.7k|            rem.set_negative(rem_neg);
 1770|  24.7k|        }
 1771|  24.7k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  676|   196k|        : storage_(other.storage_, alloc)
  677|   196k|    {
  678|   196k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  319|   196k|        : word_allocator_type(alloc)
  320|   196k|    {
  321|   196k|        if (!other.is_allocated())
  ------------------
  |  Branch (321:13): [True: 123k, False: 72.9k]
  ------------------
  322|   123k|        {
  323|   123k|            ::new (&inlined_) inlined_storage(other.inlined_);
  324|   123k|        }
  325|  72.9k|        else
  326|  72.9k|        {
  327|  72.9k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  328|  72.9k|        }
  329|   196k|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1476|  73.4k|    {
 1477|  73.4k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1477:15): [True: 39.5k, False: 33.9k]
  ------------------
 1478|  73.4k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1641|   108k|    {
 1642|   108k|        auto this_view = get_storage_view();
 1643|   108k|        auto y_view = y.get_storage_view();
 1644|       |
 1645|   108k|        const size_type y_size = y_view.size();
 1646|   108k|        if ( this_view.size() == 0 && y_size == 0 )
  ------------------
  |  Branch (1646:14): [True: 8.83k, False: 99.4k]
  |  Branch (1646:39): [True: 8.83k, False: 0]
  ------------------
 1647|  8.83k|            return 0;
 1648|  99.4k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1648:14): [True: 5.75k, False: 93.6k]
  ------------------
 1649|  5.75k|            return y.is_negative() - is_negative();
 1650|  93.6k|        int code = 0;
 1651|  93.6k|        if ( this_view.size() < y_size)
  ------------------
  |  Branch (1651:14): [True: 0, False: 93.6k]
  ------------------
 1652|      0|            code = -1;
 1653|  93.6k|        else if ( this_view.size() > y_size)
  ------------------
  |  Branch (1653:19): [True: 44.9k, False: 48.7k]
  ------------------
 1654|  44.9k|            code = +1;
 1655|  48.7k|        else
 1656|  48.7k|        {
 1657|  51.8k|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1657:50): [True: 48.7k, False: 3.14k]
  ------------------
 1658|  48.7k|            {
 1659|  48.7k|                if (this_view[i] > y_view[i])
  ------------------
  |  Branch (1659:21): [True: 6.04k, False: 42.6k]
  ------------------
 1660|  6.04k|                {
 1661|  6.04k|                    code = 1;
 1662|  6.04k|                    break;
 1663|  6.04k|                }
 1664|  42.6k|                else if (this_view[i] < y_view[i])
  ------------------
  |  Branch (1664:26): [True: 39.5k, False: 3.14k]
  ------------------
 1665|  39.5k|                {
 1666|  39.5k|                    code = -1;
 1667|  39.5k|                    break;
 1668|  39.5k|                }
 1669|  48.7k|            }
 1670|  48.7k|        }
 1671|  93.6k|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1671:16): [True: 0, False: 93.6k]
  ------------------
 1672|  99.4k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  842|   122k|    {
  843|   122k|        storage_ = y.storage_;
  844|   122k|        return *this;
  845|   122k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  366|   122k|    {
  367|   122k|        if (this != &other)
  ------------------
  |  Branch (367:13): [True: 122k, False: 0]
  ------------------
  368|   122k|        {
  369|   122k|            auto other_view = other.get_storage_view();
  370|   122k|            resize(other_view.size());
  371|   122k|            auto this_view = get_storage_view();
  372|   122k|            if (other_view.size() > 0)
  ------------------
  |  Branch (372:17): [True: 79.5k, False: 42.6k]
  ------------------
  373|  79.5k|            {
  374|  79.5k|                common_.is_negative_ = other.common_.is_negative_;
  375|  79.5k|                std::memcpy(this_view.data(), other_view.data(), size_type(other_view.size()*sizeof(word_type)));
  376|  79.5k|            }
  377|   122k|        }
  378|   122k|        return *this;
  379|   122k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  527|   384k|    {
  528|   384k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (528:16): [True: 121k, False: 262k]
  ------------------
  529|   121k|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  530|   384k|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  531|   384k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   64|   384k|            : data_(data), size_(size)
   65|   384k|        {
   66|   384k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   79|  79.5k|        {
   80|  79.5k|            return data_;
   81|  79.5k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  723|   262k|    {
  724|   262k|        return storage_.get_storage_view();
  725|   262k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   84|   788k|        {
   85|   788k|            return size_;
   86|   788k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   69|   187k|        {
   70|   187k|            return data_[i];
   71|   187k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 1872|  24.7k|    {
 1873|  24.7k|        auto denom_view = denom.get_storage_view();
 1874|  24.7k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1874:13): [True: 0, False: 24.7k]
  ------------------
 1875|      0|        {
 1876|      0|            return false;
 1877|      0|        }
 1878|  24.7k|        size_type r = denom_view.size() - 1;
 1879|  24.7k|        word_type y = denom_view[r];
 1880|       |
 1881|  24.7k|        x = 0;
 1882|  24.7k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (1882:17): [True: 0, False: 24.7k]
  ------------------
 1883|      0|        {
 1884|      0|            y <<= 1;
 1885|      0|            x++;
 1886|      0|        }
 1887|  24.7k|        denom <<= x;
 1888|  24.7k|        num <<= x;
 1889|       |
 1890|  24.7k|        denom_view = denom.get_storage_view();
 1891|  24.7k|        if ( r > 0 && denom_view[r] < denom_view[r-1] )
  ------------------
  |  Branch (1891:14): [True: 0, False: 24.7k]
  |  Branch (1891:23): [True: 0, False: 0]
  ------------------
 1892|      0|        {
 1893|      0|            denom *= max_word;
 1894|      0|            num *= max_word;
 1895|      0|            return true;
 1896|      0|        }
 1897|  24.7k|        return false;
 1898|  24.7k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1117|  49.5k|    {
 1118|  49.5k|        auto this_view = get_storage_view();
 1119|  49.5k|        size_type q = k / word_type_bits;
 1120|  49.5k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1120:14): [True: 0, False: 49.5k]
  ------------------
 1121|      0|        {
 1122|      0|            resize(this_view.size() + q);
 1123|      0|            this_view = get_storage_view();
 1124|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1124:50): [True: 0, False: 0]
  ------------------
 1125|      0|                this_view[i] = ( i < q ? 0 : this_view[i - q]);
  ------------------
  |  Branch (1125:34): [True: 0, False: 0]
  ------------------
 1126|      0|            k %= word_type_bits;
 1127|      0|        }
 1128|  49.5k|        if ( k )  // 0 < k < word_type_bits:
  ------------------
  |  Branch (1128:14): [True: 0, False: 49.5k]
  ------------------
 1129|      0|        {
 1130|      0|            size_type k1 = word_type_bits - k;
 1131|      0|            word_type mask = (word_type(1) << k) - word_type(1);
 1132|      0|            resize( this_view.size() + 1 );
 1133|      0|            this_view = get_storage_view();
 1134|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1134:50): [True: 0, False: 0]
  ------------------
 1135|      0|            {
 1136|      0|                this_view[i] <<= k;
 1137|      0|                if ( i > 0 )
  ------------------
  |  Branch (1137:22): [True: 0, False: 0]
  ------------------
 1138|      0|                    this_view[i] |= (this_view[i-1] >> k1) & mask;
 1139|      0|            }
 1140|      0|        }
 1141|  49.5k|        reduce();
 1142|  49.5k|        return *this;
 1143|  49.5k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1799|  24.7k|    {
 1800|  24.7k|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1801|  24.7k|                   dHi = d >> word_type_half_bits, dLo = d & r_mask;
 1802|  24.7k|        qHi = A/(dHi + 1);
 1803|       |        // This initial guess of qHi may be too small.
 1804|  24.7k|        middle = qHi * dLo;
 1805|  24.7k|        left = qHi * dHi;
 1806|  24.7k|        x = B - (middle << word_type_half_bits);
 1807|  24.7k|        A -= (middle >> word_type_half_bits) + left + (x > B);
 1808|  24.7k|        B = x;
 1809|  24.7k|        dLo1 = dLo << word_type_half_bits;
 1810|       |        // Increase qHi if necessary:
 1811|  24.7k|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1811:17): [True: 0, False: 24.7k]
  |  Branch (1811:29): [True: 0, False: 24.7k]
  |  Branch (1811:41): [True: 0, False: 0]
  ------------------
 1812|      0|        {
 1813|      0|            x = B - dLo1;
 1814|      0|            A -= dHi + (x > B);
 1815|      0|            B = x;
 1816|      0|            qHi++;
 1817|      0|        }
 1818|  24.7k|        qLo = ((A << word_type_half_bits) | (B >> word_type_half_bits))/(dHi + 1);
 1819|       |        // This initial guess of qLo may be too small.
 1820|  24.7k|        right = qLo * dLo;
 1821|  24.7k|        middle = qLo * dHi;
 1822|  24.7k|        x = B - right;
 1823|  24.7k|        A -= (x > B);
 1824|  24.7k|        B = x;
 1825|  24.7k|        x = B - (middle << word_type_half_bits);
 1826|  24.7k|            A -= (middle >> word_type_half_bits) + (x > B);
 1827|  24.7k|        B = x;
 1828|       |        // Increase qLo if necessary:
 1829|  39.0k|        while ( A || B >= d )
  ------------------
  |  Branch (1829:17): [True: 0, False: 39.0k]
  |  Branch (1829:22): [True: 14.2k, False: 24.7k]
  ------------------
 1830|  14.2k|        {
 1831|  14.2k|            x = B - d;
 1832|  14.2k|            A -= (x > B);
 1833|  14.2k|            B = x;
 1834|  14.2k|            qLo++;
 1835|  14.2k|        }
 1836|  24.7k|        return (qHi << word_type_half_bits) + qLo;
 1837|  24.7k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1841|  24.7k|    {
 1842|  24.7k|        word_type hi, lo, d, carry = 0;
 1843|  24.7k|        size_type i;
 1844|  49.5k|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1844:22): [True: 24.7k, False: 24.7k]
  ------------------
 1845|  24.7k|        {
 1846|  24.7k|            DDproduct( b[i], q, hi, lo );
 1847|  24.7k|            d = a[i];
 1848|  24.7k|            a[i] -= lo;
 1849|  24.7k|            if ( a[i] > d )
  ------------------
  |  Branch (1849:18): [True: 4.95k, False: 19.8k]
  ------------------
 1850|  4.95k|                carry++;
 1851|  24.7k|            d = a[i + 1];
 1852|  24.7k|            a[i + 1] -= hi + carry;
 1853|  24.7k|            carry = a[i + 1] > d;
 1854|  24.7k|        }
 1855|  24.7k|        if ( carry ) // q was too large
  ------------------
  |  Branch (1855:14): [True: 0, False: 24.7k]
  ------------------
 1856|      0|        {
 1857|      0|            q--;
 1858|      0|            carry = 0;
 1859|      0|            for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1859:26): [True: 0, False: 0]
  ------------------
 1860|      0|            {
 1861|      0|                d = a[i] + carry;
 1862|      0|                carry = d < carry;
 1863|      0|                a[i] = d + b[i];
 1864|      0|                if ( a[i] < d )
  ------------------
  |  Branch (1864:22): [True: 0, False: 0]
  ------------------
 1865|      0|                    carry = 1;
 1866|      0|            }
 1867|      0|            a[n] = 0;
 1868|      0|        }
 1869|  24.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   79|   129k|        {
   80|   129k|            return data_;
   81|   129k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 1901|  24.7k|    {
 1902|  24.7k|        if (secondDone)
  ------------------
  |  Branch (1902:13): [True: 0, False: 24.7k]
  ------------------
 1903|      0|        {
 1904|      0|            rem /= max_word;
 1905|      0|        }
 1906|  24.7k|        if ( x > 0 )
  ------------------
  |  Branch (1906:14): [True: 0, False: 24.7k]
  ------------------
 1907|      0|        {
 1908|      0|            rem >>= x;
 1909|      0|        }
 1910|  24.7k|        else
 1911|  24.7k|        {
 1912|  24.7k|            rem.reduce();
 1913|  24.7k|        }
 1914|  24.7k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  708|   477k|    {
  709|   477k|        storage_.destroy();
  710|   477k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  487|   477k|    {
  488|   477k|        if (is_allocated())
  ------------------
  |  Branch (488:13): [True: 121k, False: 355k]
  ------------------
  489|   121k|        {
  490|   121k|            allocated_.destroy(get_allocator());
  491|   121k|            allocated_.~allocated_storage();
  492|   121k|        }
  493|   355k|        else
  494|   355k|        {
  495|   355k|            inlined_.~inlined_storage();
  496|   355k|        }
  497|   477k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  246|   121k|        {
  247|   121k|            if (data_ != nullptr)
  ------------------
  |  Branch (247:17): [True: 121k, False: 0]
  ------------------
  248|   121k|            {
  249|   121k|                real_allocator_type alloc(a);
  250|   121k|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  251|   121k|            }
  252|   121k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IlEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|  69.5k|        : storage_(n, alloc)
  694|  69.5k|    {
  695|  69.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IlEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|  69.5k|        : word_allocator_type(alloc)
  361|  69.5k|    {
  362|  69.5k|        ::new (&inlined_) inlined_storage(n);
  363|  69.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IlEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  125|  69.5k|            : is_allocated_(false),
  126|  69.5k|            is_negative_(n < 0),
  127|  69.5k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (127:19): [True: 43.6k, False: 25.9k]
  ------------------
  128|  69.5k|        {
  129|  69.5k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (129:26): [True: 5.75k, False: 63.7k]
  ------------------
  130|  69.5k|            values_[1] = 0;
  131|  69.5k|        }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEEl:
 1481|  34.7k|    {
 1482|  34.7k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1482:15): [True: 5.75k, False: 29.0k]
  ------------------
 1483|  34.7k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IjEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|  5.75k|        : storage_(n, alloc)
  694|  5.75k|    {
  695|  5.75k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IjEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|  5.75k|        : word_allocator_type(alloc)
  361|  5.75k|    {
  362|  5.75k|        ::new (&inlined_) inlined_storage(n);
  363|  5.75k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IjEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  138|  5.75k|            : is_allocated_(false),
  139|  5.75k|            is_negative_(false),
  140|  5.75k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 1.46k, False: 4.29k]
  ------------------
  141|  5.75k|        {
  142|  5.75k|            values_[0] = n;
  143|  5.75k|            values_[1] = 0;
  144|  5.75k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  954|  5.75k|    {
  955|  5.75k|        auto y_view = y.get_storage_view();
  956|       |
  957|  5.75k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (957:14): [True: 5.75k, False: 0]
  ------------------
  958|  5.75k|            return *this += -y;
  959|      0|        if ( (!is_negative() && y > *this) || (is_negative() && y < *this) )
  ------------------
  |  Branch (959:15): [True: 0, False: 0]
  |  Branch (959:33): [True: 0, False: 0]
  |  Branch (959:48): [True: 0, False: 0]
  |  Branch (959:65): [True: 0, False: 0]
  ------------------
  960|      0|            return *this = -(y - *this);
  961|      0|        word_type borrow = 0;
  962|      0|        word_type d;
  963|      0|        auto this_view = get_storage_view();
  964|      0|        const size_type this_size = this_view.size();
  965|      0|        const size_type y_size = y_view.size();
  966|       |
  967|      0|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (967:31): [True: 0, False: 0]
  ------------------
  968|      0|        {
  969|      0|            d = this_view[i] - borrow;
  970|      0|            borrow = d > this_view[i];
  971|      0|            this_view[i] = d - y_view[i];
  972|      0|            if ( this_view[i] > d )
  ------------------
  |  Branch (972:18): [True: 0, False: 0]
  ------------------
  973|      0|                borrow = 1;
  974|      0|        }
  975|      0|        for (size_type i = y_size; i < this_size && borrow != 0; i++ )
  ------------------
  |  Branch (975:36): [True: 0, False: 0]
  |  Branch (975:53): [True: 0, False: 0]
  ------------------
  976|      0|        {
  977|      0|            d = this_view[i] - borrow;
  978|      0|            borrow = d > this_view[i];
  979|      0|            this_view[i] = d;
  980|      0|        }
  981|      0|        reduce();
  982|      0|        return *this;
  983|      0|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLERKS4_:
  920|  5.75k|    {
  921|  5.75k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (921:14): [True: 0, False: 5.75k]
  ------------------
  922|      0|            return *this -= -y;
  923|       |
  924|  5.75k|        auto y_view = y.get_storage_view();
  925|       |        
  926|  5.75k|        word_type d;
  927|  5.75k|        word_type carry = 0;
  928|       |
  929|  5.75k|        auto this_view = get_storage_view();
  930|  5.75k|        resize( (std::max)(y_view.size(), this_view.size()) + 1 );
  931|  5.75k|        this_view = get_storage_view();
  932|       |
  933|  5.75k|        const size_t this_size = this_view.size();
  934|  5.75k|        const size_t y_size = y_view.size();
  935|  10.0k|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (935:31): [True: 4.29k, False: 5.75k]
  ------------------
  936|  4.29k|        {
  937|  4.29k|            d = this_view[i] + carry;
  938|  4.29k|            carry = d < carry;
  939|  4.29k|            this_view[i] = d + y_view[i];
  940|  4.29k|            if (this_view[i] < d)
  ------------------
  |  Branch (940:17): [True: 643, False: 3.65k]
  ------------------
  941|    643|                carry = 1;
  942|  4.29k|        }
  943|  6.40k|        for (size_type i = y_size; i < this_size && carry != 0; i++ )
  ------------------
  |  Branch (943:36): [True: 5.95k, False: 442]
  |  Branch (943:53): [True: 643, False: 5.31k]
  ------------------
  944|    643|        {
  945|    643|            d = this_view[i] + carry;
  946|    643|            carry = d < carry;
  947|    643|            this_view[i] = d;
  948|    643|        }
  949|  5.75k|        reduce();
  950|  5.75k|        return *this;
  951|  5.75k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLIjEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  889|  29.0k|    {
  890|  29.0k|        if ( is_negative())
  ------------------
  |  Branch (890:14): [True: 0, False: 29.0k]
  ------------------
  891|      0|            return *this -= -basic_bigint<Allocator>(y);
  892|       |
  893|  29.0k|        word_type d;
  894|  29.0k|        word_type carry = 0;
  895|       |
  896|  29.0k|        auto this_view = get_storage_view();
  897|  29.0k|        resize(this_view.size() + 1);
  898|       |
  899|  29.0k|        this_view = get_storage_view();
  900|  29.0k|        const size_type this_size = this_view.size();
  901|  29.0k|        size_type y_size = 1;
  902|       |
  903|  29.0k|        d = this_view[0] + carry;
  904|  29.0k|        carry = d < carry;
  905|  29.0k|        this_view[0] = d + y;
  906|  29.0k|        if (this_view[0] < d)
  ------------------
  |  Branch (906:13): [True: 3.04k, False: 25.9k]
  ------------------
  907|  3.04k|            carry = 1;
  908|       |
  909|  32.0k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (909:36): [True: 23.1k, False: 8.86k]
  |  Branch (909:53): [True: 3.04k, False: 20.1k]
  ------------------
  910|  3.04k|        {
  911|  3.04k|            d = this_view[i] + carry;
  912|  3.04k|            carry = d < carry;
  913|  3.04k|            this_view[i] = d;
  914|  3.04k|        }
  915|  29.0k|        reduce();
  916|  29.0k|        return *this;
  917|  29.0k|    }

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

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

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  12.3k|    {       
  242|  12.3k|        return (ptr);
  243|  12.3k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|   875k|    {       
  242|   875k|        return (ptr);
  243|   875k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  6.62M|    {       
  242|  6.62M|        return (ptr);
  243|  6.62M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  2.15M|    {       
  242|  2.15M|        return (ptr);
  243|  2.15M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|   887k|    {       
  242|   887k|        return (ptr);
  243|   887k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerImEEPT_S3_:
  241|  97.2k|    {       
  242|  97.2k|        return (ptr);
  243|  97.2k|    }  

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

_ZN8jsoncons14unicode_traits8validateIhEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  2.66M|    {
 1148|  2.66M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  2.66M|        const uint8_t* end = it + length;
 1150|       |
 1151|  2.66M|        unicode_errc  result{};
 1152|  2.72M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 53.2k, False: 2.66M]
  ------------------
 1153|  53.2k|        {
 1154|  53.2k|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 40.6k, False: 12.5k]
  ------------------
 1155|  40.6k|            {
 1156|   269k|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  281|  81.3k|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (281:32): [True: 39.4k, False: 1.21k]
  |  |  |  Branch (281:34): [True: 39.1k, False: 327]
  |  |  |  Branch (281:36): [True: 38.7k, False: 380]
  |  |  |  Branch (281:38): [True: 38.5k, False: 244]
  |  |  |  Branch (281:40): [True: 38.2k, False: 244]
  |  |  |  Branch (281:42): [True: 37.9k, False: 273]
  |  |  |  Branch (281:44): [True: 37.7k, False: 231]
  |  |  |  Branch (281:46): [True: 37.5k, False: 212]
  |  |  ------------------
  ------------------
 1157|  37.5k|                continue;
 1158|   269k|            }
 1159|  15.6k|    non_ascii:
 1160|  15.6k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  15.6k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 33, False: 15.6k]
  ------------------
 1162|     33|            {
 1163|     33|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     33|            }
 1165|  15.6k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 197, False: 15.4k]
  ------------------
 1166|    197|            {
 1167|    197|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    197|            }
 1169|  15.4k|            it += len;
 1170|  15.4k|        }
 1171|  2.66M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  2.66M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  15.6k|    {
  306|  15.6k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  15.6k|        const uint8_t* end = it+length;
  308|       |
  309|  15.6k|        uint8_t byte;
  310|  15.6k|        switch (length) {
  311|     25|        default:
  ------------------
  |  Branch (311:9): [True: 25, False: 15.6k]
  ------------------
  312|     25|            return unicode_errc::over_long_utf8_sequence;
  313|    543|        case 4:
  ------------------
  |  Branch (313:9): [True: 543, False: 15.1k]
  ------------------
  314|    543|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 12, False: 531]
  ------------------
  315|     12|                return unicode_errc::bad_continuation_byte;
  316|    531|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|    531|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  1.57k|        case 3:
  ------------------
  |  Branch (317:9): [True: 1.04k, False: 14.6k]
  ------------------
  318|  1.57k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 13, False: 1.56k]
  ------------------
  319|     13|                return unicode_errc::bad_continuation_byte;
  320|  1.56k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.56k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  3.51k|        case 2:
  ------------------
  |  Branch (321:9): [True: 1.95k, False: 13.6k]
  ------------------
  322|  3.51k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 54, False: 3.46k]
  ------------------
  323|     54|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  3.46k|            switch (*it) 
  326|  3.46k|            {
  327|       |                // no fall-through in this inner switch
  328|    549|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 549, False: 2.91k]
  |  Branch (328:32): [True: 8, False: 541]
  ------------------
  329|    541|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 418, False: 3.04k]
  |  Branch (329:32): [True: 2, False: 416]
  ------------------
  330|    416|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 204, False: 3.25k]
  |  Branch (330:32): [True: 5, False: 199]
  ------------------
  331|    246|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 246, False: 3.21k]
  |  Branch (331:32): [True: 3, False: 243]
  ------------------
  332|  2.04k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 2.04k, False: 1.41k]
  |  Branch (332:32): [True: 0, False: 2.04k]
  ------------------
  333|  3.46k|            }
  334|       |
  335|  3.44k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  3.44k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  15.5k|        case 1:
  ------------------
  |  Branch (336:9): [True: 12.0k, False: 3.56k]
  ------------------
  337|  15.5k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 3.51k, False: 12.0k]
  |  Branch (337:32): [True: 74, False: 3.44k]
  ------------------
  338|     74|                return unicode_errc::source_illegal;
  339|  15.4k|            break;
  340|  15.6k|        }
  341|  15.4k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 1, False: 15.4k]
  ------------------
  342|      1|            return unicode_errc::source_illegal;
  343|       |
  344|  15.4k|        return unicode_errc();
  345|  15.4k|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  21.3M|{
   43|  21.3M|    using char_type = typename Result::value_type;
   44|       |
   45|  21.3M|    char_type buf[255];
   46|  21.3M|    char_type *p = buf;
   47|  21.3M|    const char_type* last = buf+255;
   48|       |
   49|  21.3M|    bool is_negative = value < 0;
   50|       |
   51|  21.3M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 21.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|  21.3M|    else
   60|  21.3M|    {
   61|       |
   62|  21.3M|        do
   63|  25.4M|        {
   64|  25.4M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  25.4M|        }
   66|  25.4M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 4.03M, False: 21.3M]
  |  Branch (66:33): [True: 4.03M, False: 0]
  ------------------
   67|  21.3M|    }
   68|  21.3M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  21.3M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 21.3M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  21.3M|    std::size_t count = (p - buf);
   71|  21.3M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 21.3M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  46.8M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 25.4M, False: 21.3M]
  ------------------
   77|  25.4M|    {
   78|  25.4M|        result.push_back(*p);
   79|  25.4M|    }
   80|       |
   81|  21.3M|    return count;
   82|  21.3M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  2.86M|{
   43|  2.86M|    using char_type = typename Result::value_type;
   44|       |
   45|  2.86M|    char_type buf[255];
   46|  2.86M|    char_type *p = buf;
   47|  2.86M|    const char_type* last = buf+255;
   48|       |
   49|  2.86M|    bool is_negative = value < 0;
   50|       |
   51|  2.86M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 2.86M, False: 753]
  ------------------
   52|  2.86M|    {
   53|  2.86M|        do
   54|  5.72M|        {
   55|  5.72M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  5.72M|        }
   57|  5.72M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 2.86M, False: 2.86M]
  |  Branch (57:33): [True: 2.86M, False: 0]
  ------------------
   58|  2.86M|    }
   59|    753|    else
   60|    753|    {
   61|       |
   62|    753|        do
   63|  5.09k|        {
   64|  5.09k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  5.09k|        }
   66|  5.09k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 4.33k, False: 753]
  |  Branch (66:33): [True: 4.33k, False: 0]
  ------------------
   67|    753|    }
   68|  2.86M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  2.86M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.86M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  2.86M|    std::size_t count = (p - buf);
   71|  2.86M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 2.86M, False: 753]
  ------------------
   72|  2.86M|    {
   73|  2.86M|        result.push_back('-');
   74|  2.86M|        ++count;
   75|  2.86M|    }
   76|  8.60M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 5.73M, False: 2.86M]
  ------------------
   77|  5.73M|    {
   78|  5.73M|        result.push_back(*p);
   79|  5.73M|    }
   80|       |
   81|  2.86M|    return count;
   82|  2.86M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|  71.2k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|  71.2k|    {
  489|  71.2k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|  71.2k|        struct lconv *lc = localeconv();
  491|  71.2k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 71.2k, False: 0]
  |  Branch (491:30): [True: 71.2k, False: 0]
  ------------------
  492|  71.2k|        {
  493|  71.2k|            decimal_point_ = lc->decimal_point[0];
  494|  71.2k|        }
  495|  71.2k|#endif
  496|  71.2k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|  71.2k|    {
  504|  71.2k|        std::size_t count = 0;
  505|       |
  506|  71.2k|        char number_buffer[200];
  507|  71.2k|        int length = 0;
  508|       |
  509|  71.2k|        switch (float_format_)
  510|  71.2k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 71.2k]
  ------------------
  512|      0|            {
  513|      0|                if (precision_ > 0)
  ------------------
  |  Branch (513:21): [True: 0, False: 0]
  ------------------
  514|      0|                {
  515|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*f", precision_, val);
  516|      0|                    if (length < 0)
  ------------------
  |  Branch (516:25): [True: 0, False: 0]
  ------------------
  517|      0|                    {
  518|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  519|      0|                    }
  520|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  521|      0|                }
  522|      0|                else
  523|      0|                {
  524|      0|                    if (!dtoa_fixed(val, decimal_point_, result))
  ------------------
  |  Branch (524:25): [True: 0, False: 0]
  ------------------
  525|      0|                    {
  526|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  527|      0|                    }
  528|      0|                }
  529|      0|            }
  530|      0|            break;
  531|      0|        case float_chars_format::scientific:
  ------------------
  |  Branch (531:9): [True: 0, False: 71.2k]
  ------------------
  532|      0|            {
  533|      0|                if (precision_ > 0)
  ------------------
  |  Branch (533:21): [True: 0, False: 0]
  ------------------
  534|      0|                {
  535|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*e", precision_, val);
  536|      0|                    if (length < 0)
  ------------------
  |  Branch (536:25): [True: 0, False: 0]
  ------------------
  537|      0|                    {
  538|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  539|      0|                    }
  540|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  541|      0|                }
  542|      0|                else
  543|      0|                {
  544|      0|                    if (!dtoa_scientific(val, decimal_point_, result))
  ------------------
  |  Branch (544:25): [True: 0, False: 0]
  ------------------
  545|      0|                    {
  546|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  547|      0|                    }
  548|      0|                }
  549|      0|            }
  550|      0|            break;
  551|  71.2k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 71.2k, False: 0]
  ------------------
  552|  71.2k|            {
  553|  71.2k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 71.2k]
  ------------------
  554|      0|                {
  555|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*g", precision_, val);
  556|      0|                    if (length < 0)
  ------------------
  |  Branch (556:25): [True: 0, False: 0]
  ------------------
  557|      0|                    {
  558|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  559|      0|                    }
  560|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  561|      0|                }
  562|  71.2k|                else
  563|  71.2k|                {
  564|  71.2k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 71.2k]
  ------------------
  565|      0|                    {
  566|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  567|      0|                    }
  568|  71.2k|                }             
  569|  71.2k|                break;
  570|  71.2k|            }
  571|  71.2k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 71.2k]
  ------------------
  572|      0|                JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  573|      0|                break;
  574|  71.2k|        }
  575|  71.2k|        return count;
  576|  71.2k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  4.64k|{
  244|  4.64k|    const char *sbeg = buffer;
  245|  4.64k|    const char *send = sbeg + length;
  246|       |
  247|  4.64k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 4.64k, False: 0]
  ------------------
  248|  4.64k|    {
  249|  4.64k|        bool needs_dot = true;
  250|  76.0k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 71.4k, False: 4.64k]
  ------------------
  251|  71.4k|        {
  252|  71.4k|            switch (*q)
  253|  71.4k|            {
  254|  2.53k|            case '-':
  ------------------
  |  Branch (254:13): [True: 2.53k, False: 68.8k]
  ------------------
  255|  5.38k|            case '0':
  ------------------
  |  Branch (255:13): [True: 2.84k, False: 68.5k]
  ------------------
  256|  12.8k|            case '1':
  ------------------
  |  Branch (256:13): [True: 7.43k, False: 63.9k]
  ------------------
  257|  17.7k|            case '2':
  ------------------
  |  Branch (257:13): [True: 4.92k, False: 66.4k]
  ------------------
  258|  21.5k|            case '3':
  ------------------
  |  Branch (258:13): [True: 3.76k, False: 67.6k]
  ------------------
  259|  27.5k|            case '4':
  ------------------
  |  Branch (259:13): [True: 5.99k, False: 65.4k]
  ------------------
  260|  37.7k|            case '5':
  ------------------
  |  Branch (260:13): [True: 10.2k, False: 61.1k]
  ------------------
  261|  42.3k|            case '6':
  ------------------
  |  Branch (261:13): [True: 4.59k, False: 66.8k]
  ------------------
  262|  48.5k|            case '7':
  ------------------
  |  Branch (262:13): [True: 6.22k, False: 65.1k]
  ------------------
  263|  53.7k|            case '8':
  ------------------
  |  Branch (263:13): [True: 5.16k, False: 66.2k]
  ------------------
  264|  58.4k|            case '9':
  ------------------
  |  Branch (264:13): [True: 4.69k, False: 66.7k]
  ------------------
  265|  60.9k|            case '+':
  ------------------
  |  Branch (265:13): [True: 2.51k, False: 68.8k]
  ------------------
  266|  60.9k|                result.push_back(*q);
  267|  60.9k|                break;
  268|  2.82k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 2.82k, False: 68.5k]
  ------------------
  269|  2.82k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 71.4k]
  ------------------
  270|  2.82k|                result.push_back('e');
  271|  2.82k|                needs_dot = false;
  272|  2.82k|                break;
  273|  7.65k|            default:
  ------------------
  |  Branch (273:13): [True: 7.65k, False: 63.7k]
  ------------------
  274|  7.65k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 3.08k, False: 4.56k]
  ------------------
  275|  3.08k|                {
  276|  3.08k|                    needs_dot = false;
  277|  3.08k|                    result.push_back('.');
  278|  3.08k|                }
  279|  7.65k|                break;
  280|  71.4k|            }
  281|  71.4k|        }
  282|  4.64k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 1.56k, False: 3.08k]
  ------------------
  283|  1.56k|        {
  284|  1.56k|            result.push_back('.');
  285|  1.56k|            result.push_back('0');
  286|  1.56k|        }
  287|  4.64k|    }
  288|  4.64k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKciiiiRT_:
  171|  64.7k|{
  172|  64.7k|    int nb_digits = length;
  173|  64.7k|    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|  64.7k|    int kk = nb_digits + k;
  179|       |
  180|  64.7k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 42.8k, False: 21.9k]
  |  Branch (180:28): [True: 33.4k, False: 9.37k]
  ------------------
  181|  33.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|   273k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 240k, False: 33.4k]
  ------------------
  186|   240k|        {
  187|   240k|            result.push_back(buffer[i]);
  188|   240k|        }
  189|  35.6k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 2.22k, False: 33.4k]
  ------------------
  190|  2.22k|        {
  191|  2.22k|            result.push_back('0');
  192|  2.22k|        }
  193|  33.4k|        result.push_back('.');
  194|  33.4k|        result.push_back('0');
  195|  33.4k|    } 
  196|  31.3k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 15.4k, False: 15.9k]
  |  Branch (196:24): [True: 6.03k, False: 9.37k]
  ------------------
  197|  6.03k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  26.3k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 20.3k, False: 6.03k]
  ------------------
  200|  20.3k|        {
  201|  20.3k|            result.push_back(buffer[i]);
  202|  20.3k|        }
  203|  6.03k|        result.push_back('.');
  204|  70.0k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 64.0k, False: 6.03k]
  ------------------
  205|  64.0k|        {
  206|  64.0k|            result.push_back(buffer[i]);
  207|  64.0k|        }
  208|  6.03k|    } 
  209|  25.2k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 11.0k, False: 14.2k]
  |  Branch (209:30): [True: 1.65k, False: 9.37k]
  ------------------
  210|  1.65k|    {
  211|  1.65k|        offset = 2 - kk;
  212|       |
  213|  1.65k|        result.push_back('0');
  214|  1.65k|        result.push_back('.');
  215|  4.51k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 2.85k, False: 1.65k]
  ------------------
  216|  2.85k|            result.push_back('0');
  217|  21.6k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 20.0k, False: 1.65k]
  ------------------
  218|  20.0k|        {
  219|  20.0k|            result.push_back(buffer[i]);
  220|  20.0k|        }
  221|  1.65k|    } 
  222|  23.6k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 1.91k, False: 21.7k]
  ------------------
  223|  1.91k|    {
  224|  1.91k|        result.push_back(buffer[0]);
  225|  1.91k|        result.push_back('e');
  226|  1.91k|        fill_exponent(kk - 1, result);
  227|  1.91k|    } 
  228|  21.7k|    else
  229|  21.7k|    {
  230|  21.7k|        result.push_back(buffer[0]);
  231|  21.7k|        result.push_back('.');
  232|   344k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 322k, False: 21.7k]
  ------------------
  233|   322k|        {
  234|   322k|            result.push_back(buffer[i]);
  235|   322k|        }
  236|  21.7k|        result.push_back('e');
  237|  21.7k|        fill_exponent(kk - 1, result);
  238|  21.7k|    }
  239|  64.7k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  23.6k|{
  137|  23.6k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 14.2k, False: 9.37k]
  ------------------
  138|  14.2k|    {
  139|  14.2k|        result.push_back('-');
  140|  14.2k|        K = -K;
  141|  14.2k|    }
  142|  9.37k|    else
  143|  9.37k|    {
  144|  9.37k|        result.push_back('+'); // compatibility with sprintf
  145|  9.37k|    }
  146|       |
  147|  23.6k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 2.21k, False: 21.4k]
  ------------------
  148|  2.21k|    {
  149|  2.21k|        result.push_back('0'); // compatibility with sprintf
  150|  2.21k|        result.push_back((char)('0' + K));
  151|  2.21k|    }
  152|  21.4k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 12.5k, False: 8.87k]
  ------------------
  153|  12.5k|    {
  154|  12.5k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  12.5k|        result.push_back((char)('0' + K));
  156|  12.5k|    }
  157|  8.87k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 8.87k, False: 0]
  ------------------
  158|  8.87k|    {
  159|  8.87k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  8.87k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  8.87k|        result.push_back((char)('0' + K));
  162|  8.87k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  23.6k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|  71.2k|{
  476|  71.2k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|  71.2k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|  71.2k|{
  367|  71.2k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 1.84k, False: 69.4k]
  ------------------
  368|  1.84k|    {
  369|  1.84k|        result.push_back('0');
  370|  1.84k|        result.push_back('.');
  371|  1.84k|        result.push_back('0');
  372|  1.84k|        return true;
  373|  1.84k|    }
  374|       |
  375|  69.4k|    int length = 0;
  376|  69.4k|    int k;
  377|       |
  378|  69.4k|    char buffer[100];
  379|       |
  380|  69.4k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 56.7k, False: 12.7k]
  ------------------
  381|  69.4k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 64.7k, False: 4.64k]
  ------------------
  382|  64.7k|    {
  383|  64.7k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 54.5k, False: 10.2k]
  ------------------
  384|  54.5k|        {
  385|  54.5k|            result.push_back('-');
  386|  54.5k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|  64.7k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|  64.7k|        return true;
  391|  64.7k|    }
  392|  4.64k|    else
  393|  4.64k|    {
  394|  4.64k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  4.64k|    }
  396|  69.4k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  4.64k|{
  330|  4.64k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 4.64k]
  ------------------
  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.64k|    char buffer[100];
  339|  4.64k|    int precision = std::numeric_limits<double>::digits10;
  340|  4.64k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  4.64k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 4.64k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  4.64k|    double x{0};
  346|  4.64k|    auto res = decstr_to_double(buffer, length, x);
  347|  4.64k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 4.64k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  4.64k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 3.30k, False: 1.34k]
  ------------------
  352|  3.30k|    {
  353|  3.30k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  3.30k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  3.30k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 3.30k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  3.30k|    }
  360|  4.64k|    dump_buffer(buffer, length, decimal_point, result);
  361|  4.64k|    return true;
  362|  4.64k|}

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

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

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

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

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

