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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2774|   120M|        {
 2775|   120M|             destroy();
 2776|   120M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  898|   120M|        {
  899|   120M|            switch (storage_kind())
  900|   120M|            {
  901|  12.8k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (901:17): [True: 12.8k, False: 120M]
  ------------------
  902|  12.8k|                {
  903|  12.8k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (903:25): [True: 12.8k, False: 0]
  ------------------
  904|  12.8k|                    {
  905|  12.8k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  906|  12.8k|                    }
  907|  12.8k|                    break;
  908|      0|                }
  909|  1.14M|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (909:17): [True: 1.14M, False: 119M]
  ------------------
  910|  1.14M|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (910:25): [True: 1.14M, False: 0]
  ------------------
  911|  1.14M|                    {
  912|  1.14M|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  913|  1.14M|                    }
  914|  1.14M|                    break;
  915|  4.05M|                case json_storage_kind::array:
  ------------------
  |  Branch (915:17): [True: 4.05M, False: 116M]
  ------------------
  916|  4.05M|                {
  917|  4.05M|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (917:25): [True: 4.05M, False: 0]
  ------------------
  918|  4.05M|                    {
  919|  4.05M|                        auto& stor = cast<array_storage>();
  920|  4.05M|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  921|  4.05M|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  922|  4.05M|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  923|  4.05M|                    }
  924|  4.05M|                    break;
  925|      0|                }
  926|  2.01M|                case json_storage_kind::object:
  ------------------
  |  Branch (926:17): [True: 2.01M, False: 118M]
  ------------------
  927|  2.01M|                {
  928|  2.01M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (928:25): [True: 2.01M, False: 0]
  ------------------
  929|  2.01M|                    {
  930|  2.01M|                        auto& stor = cast<object_storage>();
  931|  2.01M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  932|  2.01M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  933|  2.01M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  934|  2.01M|                    }
  935|  2.01M|                    break;
  936|      0|                }
  937|   112M|                default:
  ------------------
  |  Branch (937:17): [True: 112M, False: 7.22M]
  ------------------
  938|   112M|                    break;
  939|   120M|            }
  940|   120M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1462|   286M|        {
 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|   286M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1468|   286M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1004|   135k|        {
 1005|   135k|            return cast(identity<T>());
 1006|   135k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1095|   135k|        {
 1096|   135k|            return long_str_;
 1097|   135k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1004|  6.07M|        {
 1005|  6.07M|            return cast(identity<T>());
 1006|  6.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1105|  6.07M|        {
 1106|  6.07M|            return byte_str_;
 1107|  6.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1004|  37.2M|        {
 1005|  37.2M|            return cast(identity<T>());
 1006|  37.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1125|  37.2M|        {
 1126|  37.2M|            return array_;
 1127|  37.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2307|  79.4M|        {
 2308|  79.4M|            uninitialized_move(std::move(other));
 2309|  79.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1302|  79.4M|        {
 1303|  79.4M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1303:17): [True: 65.6M, False: 13.7M]
  ------------------
 1304|  65.6M|            {
 1305|  65.6M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1306|  65.6M|            }
 1307|  13.7M|            else
 1308|  13.7M|            {
 1309|  13.7M|                switch (other.storage_kind())
 1310|  13.7M|                {
 1311|  29.4k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1311:21): [True: 29.4k, False: 13.7M]
  ------------------
 1312|  29.4k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1313|  29.4k|                        other.construct<null_storage>();
 1314|  29.4k|                        break;
 1315|  1.26M|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1315:21): [True: 1.26M, False: 12.5M]
  ------------------
 1316|  1.26M|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1317|  1.26M|                        other.construct<null_storage>();
 1318|  1.26M|                        break;
 1319|  8.84M|                    case json_storage_kind::array:
  ------------------
  |  Branch (1319:21): [True: 8.84M, False: 4.95M]
  ------------------
 1320|  8.84M|                        construct<array_storage>(other.cast<array_storage>());
 1321|  8.84M|                        other.construct<null_storage>();
 1322|  8.84M|                        break;
 1323|  3.66M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1323:21): [True: 3.66M, False: 10.1M]
  ------------------
 1324|  3.66M|                        construct<object_storage>(other.cast<object_storage>());
 1325|  3.66M|                        other.construct<null_storage>();
 1326|  3.66M|                        break;
 1327|      0|                    default:
  ------------------
  |  Branch (1327:21): [True: 0, False: 13.7M]
  ------------------
 1328|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1329|      0|                        break;
 1330|  13.7M|                }
 1331|  13.7M|            }
 1332|  79.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  995|  48.3k|        {
  996|  48.3k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  48.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  626|  67.2k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  627|  67.2k|            {
  628|  67.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  995|  13.7M|        {
  996|  13.7M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  13.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1004|  18.5M|        {
 1005|  18.5M|            return cast(identity<T>());
 1006|  18.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1015|  18.5M|        {
 1016|  18.5M|            return null_;
 1017|  18.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  450|  15.1M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  451|  15.1M|            {
  452|  15.1M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  995|  1.32M|        {
  996|  1.32M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.32M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  675|  1.38M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  676|  1.38M|            {
  677|  1.38M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  995|  10.4M|        {
  996|  10.4M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  10.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  727|  12.1M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  728|  12.1M|            {
  729|  12.1M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  995|  4.17M|        {
  996|  4.17M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.17M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  777|  4.68M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  778|  4.68M|            {
  779|  4.68M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4759|   394k|        {
 4760|   394k|            switch (storage_kind())
 4761|   394k|            {
 4762|   394k|                case json_storage_kind::array:
  ------------------
  |  Branch (4762:17): [True: 394k, False: 0]
  ------------------
 4763|   394k|                    return array_range_type(cast<array_storage>().value().begin(),
 4764|   394k|                        cast<array_storage>().value().end());
 4765|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4765:17): [True: 0, False: 394k]
  ------------------
 4766|      0|                    return cast<json_ref_storage>().value().array_range();
 4767|      0|                default:
  ------------------
  |  Branch (4767:17): [True: 0, False: 394k]
  ------------------
 4768|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4769|   394k|            }
 4770|   394k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  4.16M|            {
  751|  4.16M|                return *ptr_;
  752|  4.16M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|   394k|            : first_(first), last_(last)
  349|   394k|        {
  350|   394k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|   394k|        {
  354|   394k|            return first_;
  355|   394k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|   394k|        {
  358|   394k|            return last_;
  359|   394k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3425|  83.0k|        {
 3426|  83.0k|            switch (storage_kind())
 3427|  83.0k|            {
 3428|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 83.0k]
  ------------------
 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: 83.0k]
  ------------------
 3432|      0|                    return cast<short_string_storage>().length() == 0;
 3433|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3433:17): [True: 0, False: 83.0k]
  ------------------
 3434|      0|                    return cast<long_string_storage>().length() == 0;
 3435|  44.7k|                case json_storage_kind::array:
  ------------------
  |  Branch (3435:17): [True: 44.7k, False: 38.3k]
  ------------------
 3436|  44.7k|                    return cast<array_storage>().value().empty();
 3437|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3437:17): [True: 0, False: 83.0k]
  ------------------
 3438|      0|                    return true;
 3439|  38.3k|                case json_storage_kind::object:
  ------------------
  |  Branch (3439:17): [True: 38.3k, False: 44.7k]
  ------------------
 3440|  38.3k|                    return cast<object_storage>().value().empty();
 3441|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3441:17): [True: 0, False: 83.0k]
  ------------------
 3442|      0|                    return cast<const_json_ref_storage>().value().empty();
 3443|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3443:17): [True: 0, False: 83.0k]
  ------------------
 3444|      0|                    return cast<json_ref_storage>().value().empty();
 3445|      0|                default:
  ------------------
  |  Branch (3445:17): [True: 0, False: 83.0k]
  ------------------
 3446|      0|                    return false;
 3447|  83.0k|            }
 3448|  83.0k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1010|  44.7k|        {
 1011|  44.7k|            return cast(identity<T>());
 1012|  44.7k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  44.7k|        {
 1131|  44.7k|            return array_;
 1132|  44.7k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  44.7k|            {
  756|  44.7k|                return *ptr_;
  757|  44.7k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1010|  38.3k|        {
 1011|  38.3k|            return cast(identity<T>());
 1012|  38.3k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|  38.3k|        {
 1121|  38.3k|            return object_;
 1122|  38.3k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  801|  38.3k|            {
  802|  38.3k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|  38.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 38.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|  38.3k|                return *ptr_;
  804|  38.3k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4156|   448k|        {
 4157|   448k|            switch (storage_kind())
 4158|   448k|            {
 4159|   394k|                case json_storage_kind::array:
  ------------------
  |  Branch (4159:17): [True: 394k, False: 54.0k]
  ------------------
 4160|   394k|                    cast<array_storage>().value().clear();
 4161|   394k|                    break;
 4162|  54.0k|                case json_storage_kind::object:
  ------------------
  |  Branch (4162:17): [True: 54.0k, False: 394k]
  ------------------
 4163|  54.0k|                    cast<object_storage>().value().clear();
 4164|  54.0k|                    break;
 4165|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4165:17): [True: 0, False: 448k]
  ------------------
 4166|      0|                    cast<json_ref_storage>().value().clear();
 4167|      0|                    break;
 4168|      0|                default:
  ------------------
  |  Branch (4168:17): [True: 0, False: 448k]
  ------------------
 4169|      0|                    break;
 4170|   448k|            }
 4171|   448k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  795|   212k|            {
  796|   212k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|   212k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 212k]
  |  |  ------------------
  |  |   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|   212k|                return *ptr_;
  798|   212k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4725|  54.0k|        {
 4726|  54.0k|            switch (storage_kind())
 4727|  54.0k|            {
 4728|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4728:17): [True: 0, False: 54.0k]
  ------------------
 4729|      0|                    return object_range_type(object_iterator(), object_iterator());
 4730|  54.0k|                case json_storage_kind::object:
  ------------------
  |  Branch (4730:17): [True: 54.0k, False: 0]
  ------------------
 4731|  54.0k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4732|  54.0k|                                                  object_iterator(cast<object_storage>().value().end()));
 4733|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4733:17): [True: 0, False: 54.0k]
  ------------------
 4734|      0|                    return cast<json_ref_storage>().value().object_range();
 4735|      0|                default:
  ------------------
  |  Branch (4735:17): [True: 0, False: 54.0k]
  ------------------
 4736|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4737|  54.0k|            }
 4738|  54.0k|        }
_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|  54.0k|            : first_(first), last_(last)
  349|  54.0k|        {
  350|  54.0k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|   108k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|   108k|            {
  120|   108k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  353|  54.0k|        {
  354|  54.0k|            return first_;
  355|  54.0k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  357|  54.0k|        {
  358|  54.0k|            return last_;
  359|  54.0k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|   144k|            {
  219|   144k|                return !(*this == rhs);
  220|   144k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|   144k|            {
  210|   144k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   77|   288k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 144k, False: 0]
  |  |  |  Branch (77:48): [True: 144k, False: 0]
  |  |  |  Branch (77:48): [True: 144k, False: 0]
  |  |  ------------------
  ------------------
  211|   144k|                {
  212|   144k|                    return current_ == rhs.current_;
  213|   144k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|   144k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  90.3k|            {
  141|  90.3k|                return *current_;
  142|  90.3k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  90.3k|            {
  151|  90.3k|                ++current_;
  152|  90.3k|                return *this;
  153|  90.3k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1004|  14.6M|        {
 1005|  14.6M|            return cast(identity<T>());
 1006|  14.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1115|  14.6M|        {
 1116|  14.6M|            return object_;
 1117|  14.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2275|  7.11k|        {
 2276|  7.11k|            construct<empty_object_storage>(semantic_tag::none);
 2277|  7.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  995|  7.11k|        {
  996|  7.11k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  7.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1004|  11.7k|        {
 1005|  11.7k|            return cast(identity<T>());
 1006|  11.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1025|  11.7k|        {
 1026|  11.7k|            return empty_object_;
 1027|  11.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  462|  7.11k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|  7.11k|            {
  464|  7.11k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3484|  37.0k|        {
 3485|  37.0k|            if (n > 0)
  ------------------
  |  Branch (3485:17): [True: 37.0k, False: 0]
  ------------------
 3486|  37.0k|            {
 3487|  37.0k|                switch (storage_kind())
 3488|  37.0k|                {
 3489|  37.0k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3489:21): [True: 37.0k, False: 0]
  ------------------
 3490|  37.0k|                        cast<array_storage>().value().reserve(n);
 3491|  37.0k|                        break;
 3492|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3492:21): [True: 0, False: 37.0k]
  ------------------
 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: 37.0k]
  ------------------
 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: 37.0k]
  ------------------
 3500|      0|                        cast<json_ref_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    default:
  ------------------
  |  Branch (3502:21): [True: 0, False: 37.0k]
  ------------------
 3503|      0|                        break;
 3504|  37.0k|                }
 3505|  37.0k|            }
 3506|  37.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2320|  2.01M|        {
 2321|  2.01M|            auto ptr = create_object(alloc);
 2322|  2.01M|            construct<object_storage>(ptr, tag);
 2323|  2.01M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  976|  2.01M|        {
  977|  2.01M|            using stor_allocator_type = typename object_storage::allocator_type;
  978|  2.01M|            stor_allocator_type stor_alloc(alloc);
  979|  2.01M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  980|  2.01M|            JSONCONS_TRY
  ------------------
  |  |   37|  2.01M|    #define JSONCONS_TRY try
  ------------------
  981|  2.01M|            {
  982|  2.01M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  983|  2.01M|                    std::forward<Args>(args)...);
  984|  2.01M|            }
  985|  2.01M|            JSONCONS_CATCH(...)
  986|  2.01M|            {
  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|  2.01M|            return ptr;
  991|  2.01M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  2.01M|        {
  996|  2.01M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.01M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  772|  2.01M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  773|  2.01M|            {
  774|  2.01M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4701|  2.94M|        {
 4702|  2.94M|            switch (storage_kind())
 4703|  2.94M|            {
 4704|  2.94M|                case json_storage_kind::array:
  ------------------
  |  Branch (4704:17): [True: 2.94M, False: 0]
  ------------------
 4705|  2.94M|                    cast<array_storage>().value().push_back(std::move(val));
 4706|  2.94M|                    break;
 4707|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4707:17): [True: 0, False: 2.94M]
  ------------------
 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.94M]
  ------------------
 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.94M|            }
 4713|  2.94M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1453|  27.9M|        {
 1454|  27.9M|            if (this != &other)
  ------------------
  |  Branch (1454:17): [True: 27.9M, False: 0]
  ------------------
 1455|  27.9M|            {
 1456|  27.9M|                move_assignment(std::move(other));
 1457|  27.9M|            }
 1458|  27.9M|            return *this;
 1459|  27.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1415|  27.9M|        {
 1416|  27.9M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1416:17): [True: 27.9M, False: 0]
  |  Branch (1416:55): [True: 25.6M, False: 2.22M]
  ------------------
 1417|  25.6M|            {
 1418|  25.6M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1419|  25.6M|            }
 1420|  2.22M|            else
 1421|  2.22M|            {
 1422|  2.22M|                swap(other);
 1423|  2.22M|            }
 1424|  27.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1934|  2.22M|        {
 1935|  2.22M|            if (this == &other)
  ------------------
  |  Branch (1935:17): [True: 0, False: 2.22M]
  ------------------
 1936|      0|            {
 1937|      0|                return;
 1938|      0|            }
 1939|  2.22M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1939:17): [True: 2.22M, False: 0]
  |  Branch (1939:55): [True: 0, False: 2.22M]
  ------------------
 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.22M|            else
 1947|  2.22M|            {
 1948|  2.22M|                switch (storage_kind())
 1949|  2.22M|                {
 1950|  1.71M|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 1.71M, False: 509k]
  ------------------
 1951|  2.29k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 2.29k, False: 2.22M]
  ------------------
 1952|  41.9k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 41.9k, False: 2.18M]
  ------------------
 1953|  52.6k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 52.6k, False: 2.17M]
  ------------------
 1954|   404k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 404k, False: 1.82M]
  ------------------
 1955|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 0, False: 2.22M]
  ------------------
 1956|  1.84k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 1.84k, False: 2.22M]
  ------------------
 1957|  5.68k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 5.68k, False: 2.22M]
  ------------------
 1958|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 2.22M]
  ------------------
 1959|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 0, False: 2.22M]
  ------------------
 1960|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 0, False: 2.22M]
  ------------------
 1961|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 2.22M]
  ------------------
 1962|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 2.22M]
  ------------------
 1963|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 2.22M]
  ------------------
 1964|      0|                    default:
  ------------------
  |  Branch (1964:21): [True: 0, False: 2.22M]
  ------------------
 1965|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1966|      0|                        break;
 1967|  2.22M|                }
 1968|  2.22M|            }
 1969|  2.22M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1170|  1.71M|        {
 1171|  1.71M|            switch (other.storage_kind())
 1172|  1.71M|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.71M]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 1.71M]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 1.71M]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 1.71M]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 1.71M]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.71M]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.71M]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.71M]
  ------------------
 1181|  5.27k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 5.27k, False: 1.71M]
  ------------------
 1182|  34.2k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 34.2k, False: 1.68M]
  ------------------
 1183|  1.31M|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.31M, False: 404k]
  ------------------
 1184|   365k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 365k, False: 1.35M]
  ------------------
 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.71M]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 1.71M]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 1.71M]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  1.71M|            }
 1191|  1.71M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  995|  1.71M|        {
  996|  1.71M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.71M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  995|  2.29k|        {
  996|  2.29k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1004|  5.50M|        {
 1005|  5.50M|            return cast(identity<T>());
 1006|  5.50M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1035|  5.50M|        {
 1036|  5.50M|            return boolean_;
 1037|  5.50M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  995|  41.9k|        {
  996|  41.9k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  41.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1004|  4.91M|        {
 1005|  4.91M|            return cast(identity<T>());
 1006|  4.91M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1045|  4.91M|        {
 1046|  4.91M|            return int64_;
 1047|  4.91M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  995|  52.6k|        {
  996|  52.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  52.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1004|  20.5M|        {
 1005|  20.5M|            return cast(identity<T>());
 1006|  20.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1055|  20.5M|        {
 1056|  20.5M|            return uint64_;
 1057|  20.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  995|   404k|        {
  996|   404k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   404k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1004|  38.0k|        {
 1005|  38.0k|            return cast(identity<T>());
 1006|  38.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1075|  38.0k|        {
 1076|  38.0k|            return float64_;
 1077|  38.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  995|  1.84k|        {
  996|  1.84k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.84k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1004|  2.13M|        {
 1005|  2.13M|            return cast(identity<T>());
 1006|  2.13M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1085|  2.13M|        {
 1086|  2.13M|            return short_str_;
 1087|  2.13M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  585|  5.68k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  586|  5.68k|            {
  587|  5.68k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  588|  5.68k|                data_[short_str_length_] = 0;
  589|  5.68k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  995|  5.68k|        {
  996|  5.68k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  5.68k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1156|  5.27k|        {
 1157|  5.27k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  5.27k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  5.27k|        {
 1163|  5.27k|            TypeR temp{other.cast<TypeR>()};
 1164|  5.27k|            other.construct<TypeL>(cast<TypeL>());
 1165|  5.27k|            construct<TypeR>(temp);
 1166|  5.27k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  34.2k|        {
 1157|  34.2k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  34.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  34.2k|        {
 1163|  34.2k|            TypeR temp{other.cast<TypeR>()};
 1164|  34.2k|            other.construct<TypeL>(cast<TypeL>());
 1165|  34.2k|            construct<TypeR>(temp);
 1166|  34.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1156|  1.31M|        {
 1157|  1.31M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.31M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.31M|        {
 1163|  1.31M|            TypeR temp{other.cast<TypeR>()};
 1164|  1.31M|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.31M|            construct<TypeR>(temp);
 1166|  1.31M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1156|   365k|        {
 1157|   365k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   365k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   365k|        {
 1163|   365k|            TypeR temp{other.cast<TypeR>()};
 1164|   365k|            other.construct<TypeL>(cast<TypeL>());
 1165|   365k|            construct<TypeR>(temp);
 1166|   365k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1170|  2.29k|        {
 1171|  2.29k|            switch (other.storage_kind())
 1172|  2.29k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.29k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.29k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.29k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.29k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.29k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.29k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.29k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.29k]
  ------------------
 1181|    731|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 731, False: 1.56k]
  ------------------
 1182|      3|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 3, False: 2.29k]
  ------------------
 1183|    253|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 253, False: 2.04k]
  ------------------
 1184|  1.30k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 1.30k, False: 987]
  ------------------
 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.29k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.29k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.29k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.29k|            }
 1191|  2.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1156|    731|        {
 1157|    731|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    731|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    731|        {
 1163|    731|            TypeR temp{other.cast<TypeR>()};
 1164|    731|            other.construct<TypeL>(cast<TypeL>());
 1165|    731|            construct<TypeR>(temp);
 1166|    731|        }
_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|    253|        {
 1157|    253|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    253|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    253|        {
 1163|    253|            TypeR temp{other.cast<TypeR>()};
 1164|    253|            other.construct<TypeL>(cast<TypeL>());
 1165|    253|            construct<TypeR>(temp);
 1166|    253|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1156|  1.30k|        {
 1157|  1.30k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.30k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.30k|        {
 1163|  1.30k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.30k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.30k|            construct<TypeR>(temp);
 1166|  1.30k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1170|  41.9k|        {
 1171|  41.9k|            switch (other.storage_kind())
 1172|  41.9k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 41.9k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 41.9k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 41.9k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 41.9k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 41.9k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 41.9k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 41.9k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 41.9k]
  ------------------
 1181|    427|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 427, False: 41.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: 40.8k]
  ------------------
 1183|  34.0k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 34.0k, False: 7.87k]
  ------------------
 1184|  6.43k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 6.43k, False: 35.4k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 41.9k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 41.9k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 41.9k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  41.9k|            }
 1191|  41.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1156|    427|        {
 1157|    427|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    427|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    427|        {
 1163|    427|            TypeR temp{other.cast<TypeR>()};
 1164|    427|            other.construct<TypeL>(cast<TypeL>());
 1165|    427|            construct<TypeR>(temp);
 1166|    427|        }
_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|  34.0k|        {
 1157|  34.0k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  34.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  34.0k|        {
 1163|  34.0k|            TypeR temp{other.cast<TypeR>()};
 1164|  34.0k|            other.construct<TypeL>(cast<TypeL>());
 1165|  34.0k|            construct<TypeR>(temp);
 1166|  34.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1156|  6.43k|        {
 1157|  6.43k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  6.43k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  6.43k|        {
 1163|  6.43k|            TypeR temp{other.cast<TypeR>()};
 1164|  6.43k|            other.construct<TypeL>(cast<TypeL>());
 1165|  6.43k|            construct<TypeR>(temp);
 1166|  6.43k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1170|  52.6k|        {
 1171|  52.6k|            switch (other.storage_kind())
 1172|  52.6k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 52.6k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 52.6k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 52.6k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 52.6k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 52.6k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 52.6k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 52.6k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 52.6k]
  ------------------
 1181|  2.75k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 2.75k, False: 49.9k]
  ------------------
 1182|  3.89k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 3.89k, False: 48.7k]
  ------------------
 1183|  25.7k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 25.7k, False: 26.9k]
  ------------------
 1184|  20.3k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 20.3k, False: 32.3k]
  ------------------
 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: 52.6k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 52.6k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 52.6k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  52.6k|            }
 1191|  52.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  2.75k|        {
 1157|  2.75k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.75k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.75k|        {
 1163|  2.75k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.75k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.75k|            construct<TypeR>(temp);
 1166|  2.75k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  3.89k|        {
 1157|  3.89k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  3.89k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  3.89k|        {
 1163|  3.89k|            TypeR temp{other.cast<TypeR>()};
 1164|  3.89k|            other.construct<TypeL>(cast<TypeL>());
 1165|  3.89k|            construct<TypeR>(temp);
 1166|  3.89k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1156|  25.7k|        {
 1157|  25.7k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  25.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  25.7k|        {
 1163|  25.7k|            TypeR temp{other.cast<TypeR>()};
 1164|  25.7k|            other.construct<TypeL>(cast<TypeL>());
 1165|  25.7k|            construct<TypeR>(temp);
 1166|  25.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1156|  20.3k|        {
 1157|  20.3k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  20.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  20.3k|        {
 1163|  20.3k|            TypeR temp{other.cast<TypeR>()};
 1164|  20.3k|            other.construct<TypeL>(cast<TypeL>());
 1165|  20.3k|            construct<TypeR>(temp);
 1166|  20.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1170|   404k|        {
 1171|   404k|            switch (other.storage_kind())
 1172|   404k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 404k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 404k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 404k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 404k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 404k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 404k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 404k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 404k]
  ------------------
 1181|  9.01k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 9.01k, False: 395k]
  ------------------
 1182|  22.0k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 22.0k, False: 382k]
  ------------------
 1183|   258k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 258k, False: 146k]
  ------------------
 1184|   115k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 115k, False: 289k]
  ------------------
 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: 404k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 404k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 404k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|   404k|            }
 1191|   404k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  9.01k|        {
 1157|  9.01k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  9.01k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  9.01k|        {
 1163|  9.01k|            TypeR temp{other.cast<TypeR>()};
 1164|  9.01k|            other.construct<TypeL>(cast<TypeL>());
 1165|  9.01k|            construct<TypeR>(temp);
 1166|  9.01k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  22.0k|        {
 1157|  22.0k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  22.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  22.0k|        {
 1163|  22.0k|            TypeR temp{other.cast<TypeR>()};
 1164|  22.0k|            other.construct<TypeL>(cast<TypeL>());
 1165|  22.0k|            construct<TypeR>(temp);
 1166|  22.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1156|   258k|        {
 1157|   258k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   258k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   258k|        {
 1163|   258k|            TypeR temp{other.cast<TypeR>()};
 1164|   258k|            other.construct<TypeL>(cast<TypeL>());
 1165|   258k|            construct<TypeR>(temp);
 1166|   258k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1156|   115k|        {
 1157|   115k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|   115k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|   115k|        {
 1163|   115k|            TypeR temp{other.cast<TypeR>()};
 1164|   115k|            other.construct<TypeL>(cast<TypeL>());
 1165|   115k|            construct<TypeR>(temp);
 1166|   115k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1170|  1.84k|        {
 1171|  1.84k|            switch (other.storage_kind())
 1172|  1.84k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.84k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 1.84k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 1.84k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 1.84k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 1.84k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.84k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.84k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.84k]
  ------------------
 1181|    229|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 229, False: 1.62k]
  ------------------
 1182|    568|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 568, False: 1.28k]
  ------------------
 1183|    608|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 608, False: 1.24k]
  ------------------
 1184|    444|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 444, False: 1.40k]
  ------------------
 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.84k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 1.84k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 1.84k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  1.84k|            }
 1191|  1.84k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1156|    229|        {
 1157|    229|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    229|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    229|        {
 1163|    229|            TypeR temp{other.cast<TypeR>()};
 1164|    229|            other.construct<TypeL>(cast<TypeL>());
 1165|    229|            construct<TypeR>(temp);
 1166|    229|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    568|        {
 1157|    568|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    568|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    568|        {
 1163|    568|            TypeR temp{other.cast<TypeR>()};
 1164|    568|            other.construct<TypeL>(cast<TypeL>());
 1165|    568|            construct<TypeR>(temp);
 1166|    568|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1156|    608|        {
 1157|    608|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    608|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    608|        {
 1163|    608|            TypeR temp{other.cast<TypeR>()};
 1164|    608|            other.construct<TypeL>(cast<TypeL>());
 1165|    608|            construct<TypeR>(temp);
 1166|    608|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1156|    444|        {
 1157|    444|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    444|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    444|        {
 1163|    444|            TypeR temp{other.cast<TypeR>()};
 1164|    444|            other.construct<TypeL>(cast<TypeL>());
 1165|    444|            construct<TypeR>(temp);
 1166|    444|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1170|  5.68k|        {
 1171|  5.68k|            switch (other.storage_kind())
 1172|  5.68k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 5.68k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 5.68k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 5.68k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 5.68k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 5.68k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 5.68k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 5.68k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 5.68k]
  ------------------
 1181|    462|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 462, False: 5.22k]
  ------------------
 1182|    802|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 802, False: 4.88k]
  ------------------
 1183|  1.84k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.84k, False: 3.84k]
  ------------------
 1184|  2.58k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 2.58k, False: 3.10k]
  ------------------
 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.68k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 5.68k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 5.68k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  5.68k|            }
 1191|  5.68k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1156|    462|        {
 1157|    462|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    462|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    462|        {
 1163|    462|            TypeR temp{other.cast<TypeR>()};
 1164|    462|            other.construct<TypeL>(cast<TypeL>());
 1165|    462|            construct<TypeR>(temp);
 1166|    462|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    802|        {
 1157|    802|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    802|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    802|        {
 1163|    802|            TypeR temp{other.cast<TypeR>()};
 1164|    802|            other.construct<TypeL>(cast<TypeL>());
 1165|    802|            construct<TypeR>(temp);
 1166|    802|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1156|  1.84k|        {
 1157|  1.84k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.84k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.84k|        {
 1163|  1.84k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.84k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.84k|            construct<TypeR>(temp);
 1166|  1.84k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1156|  2.58k|        {
 1157|  2.58k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.58k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.58k|        {
 1163|  2.58k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.58k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.58k|            construct<TypeR>(temp);
 1166|  2.58k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2614|  19.7M|        {
 2615|  19.7M|            construct<uint64_storage>(val, tag);
 2616|  19.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  995|  19.7M|        {
  996|  19.7M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  19.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  19.7M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  19.7M|                  val_(val)
  518|  19.7M|            {
  519|  19.7M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2645|  4.80M|        {
 2646|  4.80M|            construct<int64_storage>(val, tag);
 2647|  4.80M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  995|  4.80M|        {
  996|  4.80M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.80M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  496|  4.80M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  497|  4.80M|                  val_(val)
  498|  4.80M|            {
  499|  4.80M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2602|  34.3k|        {
 2603|  34.3k|            construct<double_storage>(val, tag);
 2604|  34.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  995|  34.3k|        {
  996|  34.3k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  34.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  555|  34.3k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  556|  34.3k|                  val_(val)
  557|  34.3k|            {
  558|  34.3k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2401|  4.05M|        {
 2402|  4.05M|            auto ptr = create_array(Allocator());
 2403|  4.05M|            construct<array_storage>(ptr, tag);
 2404|  4.05M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  957|  4.05M|        {
  958|  4.05M|            using stor_allocator_type = typename array_storage::allocator_type;
  959|  4.05M|            stor_allocator_type stor_alloc(alloc);
  960|  4.05M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  961|  4.05M|            JSONCONS_TRY
  ------------------
  |  |   37|  4.05M|    #define JSONCONS_TRY try
  ------------------
  962|  4.05M|            {
  963|  4.05M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  964|  4.05M|                    std::forward<Args>(args)...);
  965|  4.05M|            }
  966|  4.05M|            JSONCONS_CATCH(...)
  967|  4.05M|            {
  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|  4.05M|            return ptr;
  972|  4.05M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  4.05M|        {
  996|  4.05M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.05M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  722|  4.05M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  723|  4.05M|            {
  724|  4.05M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2691|  1.32M|        {
 2692|  1.32M|            construct<null_storage>(tag);
 2693|  1.32M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  995|  1.32M|        {
  996|  1.32M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  1.32M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2701|  5.42M|        {
 2702|  5.42M|            construct<bool_storage>(val,tag);
 2703|  5.42M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  995|  5.42M|        {
  996|  5.42M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  5.42M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|  5.42M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|  5.42M|                  val_(val)
  477|  5.42M|            {
  478|  5.42M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2549|  2.13M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2550|  2.13M|        {
 2551|  2.13M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2579|  2.13M|        {
 2580|  2.13M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2580:17): [True: 2.12M, False: 12.8k]
  ------------------
 2581|  2.12M|            {
 2582|  2.12M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2583|  2.12M|            }
 2584|  12.8k|            else
 2585|  12.8k|            {
 2586|  12.8k|                auto ptr = create_long_string(alloc, s, length);
 2587|  12.8k|                construct<long_string_storage>(ptr, tag);
 2588|  12.8k|            }
 2589|  2.13M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  995|  2.12M|        {
  996|  2.12M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.12M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  2.12M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  2.12M|            {
  579|  2.12M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   49|  2.12M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.12M]
  |  |  ------------------
  |  |   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.12M|                std::memcpy(data_,p,length*sizeof(char_type));
  581|  2.12M|                data_[length] = 0;
  582|  2.12M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  943|  12.8k|        {
  944|  12.8k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  945|  12.8k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  946|  12.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|  12.8k|        {
  996|  12.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  12.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  621|  12.8k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  622|  12.8k|            {
  623|  12.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2711|    806|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2712|    806|        {
 2713|    806|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2719|   199k|        {
 2720|   199k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2721|       |            
 2722|   199k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2723|   199k|            construct<byte_string_storage>(ptr, tag);
 2724|   199k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  950|  1.14M|        {
  951|  1.14M|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  952|  1.14M|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  953|  1.14M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|   199k|        {
  996|   199k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   199k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  670|  1.14M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  671|  1.14M|            {
  672|  1.14M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2731|      1|        {
 2732|      1|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2733|       |
 2734|      1|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0);
 2735|      1|            construct<byte_string_storage>(ptr, tag);
 2736|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2742|   942k|        {
 2743|   942k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2744|       |
 2745|   942k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2746|   942k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2747|   942k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  995|   942k|        {
  996|   942k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   942k|        }
_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.8k|    {
  244|  12.8k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  245|  12.8k|        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.8k|    }
_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEET_PT0_:
  243|  1.14M|    {
  244|  1.14M|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  245|  1.14M|        return std::launder(reinterpret_cast<T>(u));
  246|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  247|       |        return __builtin_launder(reinterpret_cast<T>(u));
  248|       |    #else
  249|       |        return reinterpret_cast<T>(u);
  250|       |    #endif
  251|  1.14M|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  243|  12.8k|    {
  244|  12.8k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  245|  12.8k|        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.8k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  243|  1.14M|    {
  244|  1.14M|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  245|  1.14M|        return std::launder(reinterpret_cast<T>(u));
  246|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  247|       |        return __builtin_launder(reinterpret_cast<T>(u));
  248|       |    #else
  249|       |        return reinterpret_cast<T>(u);
  250|       |    #endif
  251|  1.14M|    }

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

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

_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|  2.57M|            : data_(data), size_(size)
   62|  2.57M|        {
   63|  2.57M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|  7.90M|        {
  112|  7.90M|            return data_;
  113|  7.90M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|  12.1M|        {
  117|  12.1M|            return size_;
  118|  12.1M|        }
_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2Ev:
   58|  2.79M|        {
   59|  2.79M|        }

_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  855|  7.11k|            : destination_(std::addressof(visitor)), 
  856|  7.11k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  857|  7.11k|        {
  858|  7.11k|            level_stack_.emplace_back(json_target_kind::destination,json_structure_kind::root); // root
  859|  7.11k|        }
_ZN8jsoncons21basic_generic_visitorIcEC2Ev:
   52|  7.11k|    basic_generic_visitor() = default;
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  294|  6.38M|    {
  295|  6.38M|        visit_begin_array(length, tag, context, ec);
  296|  6.38M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.38M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  297|  6.38M|    }
_ZN8jsoncons21basic_generic_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  363|  41.0M|    {
  364|  41.0M|        visit_uint64(value, tag, context, ec);
  365|  41.0M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  41.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  41.0M|    }
_ZN8jsoncons21basic_generic_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  300|  6.35M|    {
  301|  6.35M|        visit_end_array(context, ec);
  302|  6.35M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.35M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  6.35M|    }
_ZN8jsoncons21basic_generic_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  372|  8.60M|    {
  373|  8.60M|        visit_int64(value, tag, context, ec);
  374|  8.60M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.60M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  375|  8.60M|    }
_ZN8jsoncons21basic_generic_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  390|   110k|    {
  391|   110k|        visit_double(value, tag, context, ec);
  392|   110k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   110k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  393|   110k|    }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structureC2ENS4_16json_target_kindENS4_19json_structure_kindE:
  798|  8.79M|                : target_kind_(state), structure_kind_(type), even_odd_(type == json_structure_kind::object ? 0 : 1)
  ------------------
  |  Branch (798:73): [True: 2.40M, False: 6.38M]
  ------------------
  799|  8.79M|            {
  800|  8.79M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1008|  6.38M|        {
 1009|  6.38M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1009:17): [True: 916k, False: 5.46M]
  ------------------
 1010|   916k|            {
 1011|   916k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1011:21): [True: 500k, False: 415k]
  |  Branch (1011:86): [True: 497k, False: 3.20k]
  ------------------
 1012|   497k|                {
 1013|   497k|                    key_buffer_.push_back(',');
 1014|   497k|                }
 1015|   916k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1016|   916k|                key_buffer_.push_back('[');
 1017|   916k|            }
 1018|  5.46M|            else
 1019|  5.46M|            {
 1020|  5.46M|                switch (level_stack_.back().target_kind())
 1021|  5.46M|                {
 1022|  1.41M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1022:21): [True: 1.41M, False: 4.05M]
  ------------------
 1023|  1.41M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1023:29): [True: 910k, False: 502k]
  |  Branch (1023:65): [True: 885k, False: 25.3k]
  ------------------
 1024|   885k|                        {
 1025|   885k|                            key_buffer_.push_back(',');
 1026|   885k|                        }
 1027|  1.41M|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1028|  1.41M|                        key_buffer_.push_back('[');
 1029|  1.41M|                        break;
 1030|  4.05M|                    default:
  ------------------
  |  Branch (1030:21): [True: 4.05M, False: 1.41M]
  ------------------
 1031|  4.05M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1032|  4.05M|                        destination_->begin_array(length, tag, context, ec);
 1033|  4.05M|                        break;
 1034|  5.46M|                }
 1035|  5.46M|            }
 1036|  6.38M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.38M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1037|  6.38M|        }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure6is_keyEv:
  815|   260M|            {
  816|   260M|                return even_odd_ == 0;
  817|   260M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure11target_kindEv:
  825|   168M|            {
  826|   168M|                return target_kind_;
  827|   168M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure5countEv:
  830|  36.6M|            {
  831|  36.6M|                return count_;
  832|  36.6M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure9is_objectEv:
  820|   126M|            {
  821|   126M|                return structure_kind_ == json_structure_kind::object;
  822|   126M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1040|  6.35M|        {
 1041|  6.35M|            switch (level_stack_.back().target_kind())
 1042|  6.35M|            {
 1043|  2.32M|                case json_target_kind::buffer:
  ------------------
  |  Branch (1043:17): [True: 2.32M, False: 4.02M]
  ------------------
 1044|  2.32M|                    key_buffer_.push_back(']');
 1045|  2.32M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  2.32M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.32M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1046|  2.32M|                    level_stack_.pop_back();
 1047|  2.32M|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (1047:25): [True: 415k, False: 1.90M]
  ------------------
 1048|   415k|                    {
 1049|   415k|                        destination_->key(key_buffer_, context, ec);
 1050|   415k|                        key_buffer_.clear();
 1051|   415k|                    }
 1052|  1.90M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1052:30): [True: 499k, False: 1.40M]
  ------------------
 1053|   499k|                    {
 1054|   499k|                        key_buffer_.push_back(':');
 1055|   499k|                    }
 1056|  2.32M|                    level_stack_.back().advance();
 1057|  2.32M|                    break;
 1058|  4.02M|                default:
  ------------------
  |  Branch (1058:17): [True: 4.02M, False: 2.32M]
  ------------------
 1059|  4.02M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  4.02M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 4.02M]
  |  |  ------------------
  |  |   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|  4.02M|                    level_stack_.pop_back();
 1061|  4.02M|                    level_stack_.back().advance();
 1062|  4.02M|                    destination_->end_array(context, ec);
 1063|  4.02M|                    break;
 1064|  6.35M|            }
 1065|  6.35M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.35M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1066|  6.35M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure7advanceEv:
  803|  89.9M|            {
  804|  89.9M|                if (!is_key())
  ------------------
  |  Branch (804:21): [True: 77.2M, False: 12.6M]
  ------------------
  805|  77.2M|                {
  806|  77.2M|                    ++count_;
  807|  77.2M|                }
  808|  89.9M|                if (is_object())
  ------------------
  |  Branch (808:21): [True: 25.3M, False: 64.5M]
  ------------------
  809|  25.3M|                {
  810|  25.3M|                    even_odd_ = !even_odd_;
  811|  25.3M|                }
  812|  89.9M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1233|  41.0M|        {
 1234|  41.0M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1234:17): [True: 9.21M, False: 31.8M]
  |  Branch (1234:49): [True: 12.1M, False: 19.7M]
  ------------------
 1235|  21.3M|            {
 1236|  21.3M|                key_.clear();
 1237|  21.3M|                jsoncons::from_integer(value,key_);
 1238|  21.3M|            }
 1239|       |
 1240|  41.0M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1240:17): [True: 9.21M, False: 31.8M]
  ------------------
 1241|  9.21M|            {
 1242|  9.21M|                switch (level_stack_.back().target_kind())
 1243|  9.21M|                {
 1244|  4.79M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1244:21): [True: 4.79M, False: 4.42M]
  ------------------
 1245|  4.79M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1245:29): [True: 4.76M, False: 21.2k]
  ------------------
 1246|  4.76M|                        {
 1247|  4.76M|                            key_buffer_.push_back(',');
 1248|  4.76M|                        }
 1249|  4.79M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1250|  4.79M|                        key_buffer_.push_back(':');
 1251|  4.79M|                        break;
 1252|  4.42M|                    default:
  ------------------
  |  Branch (1252:21): [True: 4.42M, False: 4.79M]
  ------------------
 1253|  4.42M|                        destination_->key(key_, context, ec);
 1254|  4.42M|                        break;
 1255|  9.21M|                }
 1256|  9.21M|            }
 1257|  31.8M|            else
 1258|  31.8M|            {
 1259|  31.8M|                switch (level_stack_.back().target_kind())
 1260|  31.8M|                {
 1261|  12.1M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1261:21): [True: 12.1M, False: 19.7M]
  ------------------
 1262|  12.1M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1262:29): [True: 7.33M, False: 4.77M]
  |  Branch (1262:65): [True: 7.31M, False: 15.4k]
  ------------------
 1263|  7.31M|                        {
 1264|  7.31M|                            key_buffer_.push_back(',');
 1265|  7.31M|                        }
 1266|  12.1M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1267|  12.1M|                        break;
 1268|  19.7M|                    default:
  ------------------
  |  Branch (1268:21): [True: 19.7M, False: 12.1M]
  ------------------
 1269|  19.7M|                        destination_->uint64_value(value, tag, context, ec);
 1270|  19.7M|                        break;
 1271|  31.8M|                }
 1272|  31.8M|            }
 1273|       |
 1274|  41.0M|            level_stack_.back().advance();
 1275|  41.0M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  41.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1276|  41.0M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1279|  8.60M|        {
 1280|  8.60M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1280:17): [True: 572k, False: 8.03M]
  |  Branch (1280:49): [True: 3.22M, False: 4.80M]
  ------------------
 1281|  3.79M|            {
 1282|  3.79M|                key_.clear();
 1283|  3.79M|                jsoncons::from_integer(value,key_);
 1284|  3.79M|            }
 1285|       |
 1286|  8.60M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1286:17): [True: 572k, False: 8.03M]
  ------------------
 1287|   572k|            {
 1288|   572k|                switch (level_stack_.back().target_kind())
 1289|   572k|                {
 1290|   310k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1290:21): [True: 310k, False: 262k]
  ------------------
 1291|   310k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1291:29): [True: 300k, False: 9.68k]
  ------------------
 1292|   300k|                        {
 1293|   300k|                            key_buffer_.push_back(',');
 1294|   300k|                        }
 1295|   310k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1296|   310k|                        key_buffer_.push_back(':');
 1297|   310k|                        break;
 1298|   262k|                    default:
  ------------------
  |  Branch (1298:21): [True: 262k, False: 310k]
  ------------------
 1299|   262k|                        destination_->key(key_, context, ec);
 1300|   262k|                        break;
 1301|   572k|                }
 1302|   572k|            }
 1303|  8.03M|            else
 1304|  8.03M|            {
 1305|  8.03M|                switch (level_stack_.back().target_kind())
 1306|  8.03M|                {
 1307|  3.22M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1307:21): [True: 3.22M, False: 4.80M]
  ------------------
 1308|  3.22M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1308:29): [True: 2.91M, False: 310k]
  |  Branch (1308:65): [True: 2.90M, False: 1.91k]
  ------------------
 1309|  2.90M|                        {
 1310|  2.90M|                            key_buffer_.push_back(',');
 1311|  2.90M|                        }
 1312|  3.22M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1313|  3.22M|                        break;
 1314|  4.80M|                    default:
  ------------------
  |  Branch (1314:21): [True: 4.80M, False: 3.22M]
  ------------------
 1315|  4.80M|                        destination_->int64_value(value, tag, context, ec);
 1316|  4.80M|                        break;
 1317|  8.03M|                }
 1318|  8.03M|            }
 1319|       |
 1320|  8.60M|            level_stack_.back().advance();
 1321|  8.60M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.60M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1322|  8.60M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1374|   110k|        {
 1375|   110k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1375:17): [True: 30.4k, False: 79.8k]
  |  Branch (1375:49): [True: 45.5k, False: 34.3k]
  ------------------
 1376|  76.0k|            {
 1377|  76.0k|                key_.clear();
 1378|  76.0k|                string_sink<string_type> sink(key_);
 1379|  76.0k|                jsoncons::write_double f{float_chars_format::general,0};
 1380|  76.0k|                f(value, sink);
 1381|  76.0k|            }
 1382|       |
 1383|   110k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1383:17): [True: 30.4k, False: 79.8k]
  ------------------
 1384|  30.4k|            {
 1385|  30.4k|                switch (level_stack_.back().target_kind())
 1386|  30.4k|                {
 1387|  18.3k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1387:21): [True: 18.3k, False: 12.1k]
  ------------------
 1388|  18.3k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1388:29): [True: 12.2k, False: 6.07k]
  ------------------
 1389|  12.2k|                        {
 1390|  12.2k|                            key_buffer_.push_back(',');
 1391|  12.2k|                        }
 1392|  18.3k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1393|  18.3k|                        key_buffer_.push_back(':');
 1394|  18.3k|                        break;
 1395|  12.1k|                    default:
  ------------------
  |  Branch (1395:21): [True: 12.1k, False: 18.3k]
  ------------------
 1396|  12.1k|                        destination_->key(key_, context, ec);
 1397|  12.1k|                        break;
 1398|  30.4k|                }
 1399|  30.4k|            }
 1400|  79.8k|            else
 1401|  79.8k|            {
 1402|  79.8k|                switch (level_stack_.back().target_kind())
 1403|  79.8k|                {
 1404|  45.5k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1404:21): [True: 45.5k, False: 34.3k]
  ------------------
 1405|  45.5k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1405:29): [True: 31.6k, False: 13.9k]
  |  Branch (1405:65): [True: 29.9k, False: 1.66k]
  ------------------
 1406|  29.9k|                        {
 1407|  29.9k|                            key_buffer_.push_back(',');
 1408|  29.9k|                        }
 1409|  45.5k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1410|  45.5k|                        break;
 1411|  34.3k|                    default:
  ------------------
  |  Branch (1411:21): [True: 34.3k, False: 45.5k]
  ------------------
 1412|  34.3k|                        destination_->double_value(value, tag, context, ec);
 1413|  34.3k|                        break;
 1414|  79.8k|                }
 1415|  79.8k|            }
 1416|       |
 1417|   110k|            level_stack_.back().advance();
 1418|   110k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   110k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1419|   110k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  881|  2.39k|        {
  882|  2.39k|            destination_->flush();
  883|  2.39k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  914|  2.40M|        {
  915|  2.40M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (915:17): [True: 166k, False: 2.23M]
  ------------------
  916|   166k|            {
  917|   166k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (917:21): [True: 27.7k, False: 138k]
  |  Branch (917:86): [True: 13.6k, False: 14.0k]
  ------------------
  918|  13.6k|                {
  919|  13.6k|                    key_buffer_.push_back(',');
  920|  13.6k|                }
  921|   166k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  922|   166k|                key_buffer_.push_back('{');
  923|   166k|            }
  924|  2.23M|            else
  925|  2.23M|            {
  926|  2.23M|                switch (level_stack_.back().target_kind())
  927|  2.23M|                {
  928|   220k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (928:21): [True: 220k, False: 2.01M]
  ------------------
  929|   220k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (929:29): [True: 182k, False: 38.1k]
  |  Branch (929:65): [True: 179k, False: 3.30k]
  ------------------
  930|   179k|                        {
  931|   179k|                            key_buffer_.push_back(',');
  932|   179k|                        }
  933|   220k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  934|   220k|                        key_buffer_.push_back('{');
  935|   220k|                        break;
  936|  2.01M|                    default:
  ------------------
  |  Branch (936:21): [True: 2.01M, False: 220k]
  ------------------
  937|  2.01M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  938|  2.01M|                        destination_->begin_object(length, tag, context, ec);
  939|  2.01M|                        break;
  940|  2.23M|                }
  941|  2.23M|            }
  942|  2.40M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  943|  2.40M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  946|  2.38M|        {
  947|  2.38M|            switch (level_stack_.back().target_kind())
  948|  2.38M|            {
  949|   374k|                case json_target_kind::buffer:
  ------------------
  |  Branch (949:17): [True: 374k, False: 2.01M]
  ------------------
  950|   374k|                    key_buffer_.push_back('}');
  951|   374k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|   374k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 374k]
  |  |  ------------------
  |  |   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|   374k|                    level_stack_.pop_back();
  953|       |                    
  954|   374k|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (954:25): [True: 137k, False: 236k]
  ------------------
  955|   137k|                    {
  956|   137k|                        destination_->key(key_buffer_,context, ec);
  957|   137k|                        key_buffer_.clear();
  958|   137k|                    }
  959|   236k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (959:30): [True: 22.5k, False: 214k]
  ------------------
  960|  22.5k|                    {
  961|  22.5k|                        key_buffer_.push_back(':');
  962|  22.5k|                    }
  963|   374k|                    level_stack_.back().advance();
  964|   374k|                    break;
  965|  2.01M|                default:
  ------------------
  |  Branch (965:17): [True: 2.01M, False: 374k]
  ------------------
  966|  2.01M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  2.01M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.01M]
  |  |  ------------------
  |  |   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|  2.01M|                    level_stack_.pop_back();
  968|  2.01M|                    level_stack_.back().advance();
  969|  2.01M|                    destination_->end_object(context, ec);
  970|  2.01M|                    break;
  971|  2.38M|            }
  972|  2.38M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.38M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  973|  2.38M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1475|  2.07M|        {
 1476|  2.07M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1476:17): [True: 313k, False: 1.75M]
  |  Branch (1476:49): [True: 429k, False: 1.32M]
  ------------------
 1477|   743k|            {
 1478|   743k|                key_.clear(); 
 1479|   743k|                key_.insert(key_.begin(), json_literals<char_type>::null_literal.begin(), json_literals<char_type>::null_literal.end());
 1480|   743k|            }
 1481|       |
 1482|  2.07M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1482:17): [True: 313k, False: 1.75M]
  ------------------
 1483|   313k|            {
 1484|   313k|                switch (level_stack_.back().target_kind())
 1485|   313k|                {
 1486|   150k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1486:21): [True: 150k, False: 163k]
  ------------------
 1487|   150k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1487:29): [True: 149k, False: 849]
  ------------------
 1488|   149k|                        {
 1489|   149k|                            key_buffer_.push_back(',');
 1490|   149k|                        }
 1491|   150k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1492|   150k|                        key_buffer_.push_back(':');
 1493|   150k|                        break;
 1494|   163k|                    default:
  ------------------
  |  Branch (1494:21): [True: 163k, False: 150k]
  ------------------
 1495|   163k|                        destination_->key(key_, context, ec);
 1496|   163k|                        break;
 1497|   313k|                }
 1498|   313k|            }
 1499|  1.75M|            else
 1500|  1.75M|            {
 1501|  1.75M|                switch (level_stack_.back().target_kind())
 1502|  1.75M|                {
 1503|   429k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1503:21): [True: 429k, False: 1.32M]
  ------------------
 1504|   429k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1504:29): [True: 278k, False: 151k]
  |  Branch (1504:65): [True: 277k, False: 784]
  ------------------
 1505|   277k|                        {
 1506|   277k|                            key_buffer_.push_back(',');
 1507|   277k|                        }
 1508|   429k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1509|   429k|                        break;
 1510|  1.32M|                    default:
  ------------------
  |  Branch (1510:21): [True: 1.32M, False: 429k]
  ------------------
 1511|  1.32M|                        destination_->null_value(tag, context, ec);
 1512|  1.32M|                        break;
 1513|  1.75M|                }
 1514|  1.75M|            }
 1515|       |
 1516|  2.07M|            level_stack_.back().advance();
 1517|  2.07M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.07M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1518|  2.07M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1422|  25.0M|        {
 1423|  25.0M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1423:17): [True: 985k, False: 24.0M]
  |  Branch (1423:49): [True: 18.6M, False: 5.42M]
  ------------------
 1424|  19.6M|            {
 1425|  19.6M|                key_.clear(); 
 1426|  19.6M|                if (value)
  ------------------
  |  Branch (1426:21): [True: 70.3k, False: 19.5M]
  ------------------
 1427|  70.3k|                {
 1428|  70.3k|                    key_.insert(key_.begin(), json_literals<char_type>::true_literal.begin(), json_literals<char_type>::true_literal.end());
 1429|  70.3k|                }
 1430|  19.5M|                else
 1431|  19.5M|                {
 1432|  19.5M|                    key_.insert(key_.begin(), json_literals<char_type>::false_literal.begin(), json_literals<char_type>::false_literal.end());
 1433|  19.5M|                }
 1434|  19.6M|            }
 1435|       |
 1436|  25.0M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1436:17): [True: 985k, False: 24.0M]
  ------------------
 1437|   985k|            {
 1438|   985k|                switch (level_stack_.back().target_kind())
 1439|   985k|                {
 1440|   574k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1440:21): [True: 574k, False: 411k]
  ------------------
 1441|   574k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1441:29): [True: 565k, False: 8.50k]
  ------------------
 1442|   565k|                        {
 1443|   565k|                            key_buffer_.push_back(',');
 1444|   565k|                        }
 1445|   574k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1446|   574k|                        key_buffer_.push_back(':');
 1447|   574k|                        break;
 1448|   411k|                    default:
  ------------------
  |  Branch (1448:21): [True: 411k, False: 574k]
  ------------------
 1449|   411k|                        destination_->key(key_, context, ec);
 1450|   411k|                        break;
 1451|   985k|                }
 1452|   985k|            }
 1453|  24.0M|            else
 1454|  24.0M|            {
 1455|  24.0M|                switch (level_stack_.back().target_kind())
 1456|  24.0M|                {
 1457|  18.6M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1457:21): [True: 18.6M, False: 5.42M]
  ------------------
 1458|  18.6M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1458:29): [True: 18.0M, False: 576k]
  |  Branch (1458:65): [True: 18.0M, False: 2.60k]
  ------------------
 1459|  18.0M|                        {
 1460|  18.0M|                            key_buffer_.push_back(',');
 1461|  18.0M|                        }
 1462|  18.6M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1463|  18.6M|                        break;
 1464|  5.42M|                    default:
  ------------------
  |  Branch (1464:21): [True: 5.42M, False: 18.6M]
  ------------------
 1465|  5.42M|                        destination_->bool_value(value, tag, context, ec);
 1466|  5.42M|                        break;
 1467|  24.0M|                }
 1468|  24.0M|            }
 1469|       |
 1470|  25.0M|            level_stack_.back().advance();
 1471|  25.0M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  25.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1472|  25.0M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1072|  2.58M|        {
 1073|  2.58M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1073:17): [True: 221k, False: 2.36M]
  ------------------
 1074|   221k|            {
 1075|   221k|                switch (level_stack_.back().target_kind())
 1076|   221k|                {
 1077|  85.8k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1077:21): [True: 85.8k, False: 135k]
  ------------------
 1078|  85.8k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1078:29): [True: 83.7k, False: 2.07k]
  ------------------
 1079|  83.7k|                        {
 1080|  83.7k|                            key_buffer_.push_back(',');
 1081|  83.7k|                        }
 1082|  85.8k|                        key_buffer_.push_back('\"');
 1083|  85.8k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1084|  85.8k|                        key_buffer_.push_back('\"');
 1085|  85.8k|                        key_buffer_.push_back(':');
 1086|  85.8k|                        break;
 1087|   135k|                    default:
  ------------------
  |  Branch (1087:21): [True: 135k, False: 85.8k]
  ------------------
 1088|   135k|                        destination_->key(value, context, ec);
 1089|   135k|                        break;
 1090|   221k|                }
 1091|   221k|            }
 1092|  2.36M|            else
 1093|  2.36M|            {
 1094|  2.36M|                switch (level_stack_.back().target_kind())
 1095|  2.36M|                {
 1096|   225k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1096:21): [True: 225k, False: 2.13M]
  ------------------
 1097|   225k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1097:29): [True: 146k, False: 78.4k]
  |  Branch (1097:65): [True: 145k, False: 961]
  ------------------
 1098|   145k|                        {
 1099|   145k|                            key_buffer_.push_back(',');
 1100|   145k|                        }
 1101|   225k|                        key_buffer_.push_back('\"');
 1102|   225k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1103|   225k|                        key_buffer_.push_back('\"');
 1104|   225k|                        break;
 1105|  2.13M|                    default:
  ------------------
  |  Branch (1105:21): [True: 2.13M, False: 225k]
  ------------------
 1106|  2.13M|                        destination_->string_value(value, tag, context, ec);
 1107|  2.13M|                        break;
 1108|  2.36M|                }
 1109|  2.36M|            }
 1110|       |
 1111|  2.58M|            level_stack_.back().advance();
 1112|  2.58M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.58M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1113|  2.58M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1119|   271k|        {
 1120|   271k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1120:17): [True: 48.4k, False: 223k]
  |  Branch (1120:49): [True: 24.2k, False: 199k]
  ------------------
 1121|  72.6k|            {
 1122|  72.6k|                key_.clear();
 1123|  72.6k|                switch (tag)
 1124|  72.6k|                {
 1125|      0|                    case semantic_tag::base64:
  ------------------
  |  Branch (1125:21): [True: 0, False: 72.6k]
  ------------------
 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: 72.6k]
  ------------------
 1129|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1130|      0|                        break;
 1131|  72.6k|                    default:
  ------------------
  |  Branch (1131:21): [True: 72.6k, False: 0]
  ------------------
 1132|  72.6k|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1133|  72.6k|                        break;
 1134|  72.6k|                }
 1135|  72.6k|            }
 1136|       |
 1137|   271k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1137:17): [True: 48.4k, False: 223k]
  ------------------
 1138|  48.4k|            {
 1139|  48.4k|                switch (level_stack_.back().target_kind())
 1140|  48.4k|                {
 1141|  7.46k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1141:21): [True: 7.46k, False: 41.0k]
  ------------------
 1142|  7.46k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1142:29): [True: 5.89k, False: 1.57k]
  ------------------
 1143|  5.89k|                        {
 1144|  5.89k|                            key_buffer_.push_back(',');
 1145|  5.89k|                        }
 1146|  7.46k|                        key_buffer_.push_back('\"');
 1147|  7.46k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1148|  7.46k|                        key_buffer_.push_back('\"');
 1149|  7.46k|                        key_buffer_.push_back(':');
 1150|  7.46k|                        break;
 1151|  41.0k|                    default:
  ------------------
  |  Branch (1151:21): [True: 41.0k, False: 7.46k]
  ------------------
 1152|  41.0k|                        destination_->key(key_, context, ec);
 1153|  41.0k|                        break;
 1154|  48.4k|                }
 1155|  48.4k|            }
 1156|   223k|            else
 1157|   223k|            {
 1158|   223k|                switch (level_stack_.back().target_kind())
 1159|   223k|                {
 1160|  24.2k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1160:21): [True: 24.2k, False: 199k]
  ------------------
 1161|  24.2k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1161:29): [True: 16.3k, False: 7.86k]
  |  Branch (1161:65): [True: 15.1k, False: 1.18k]
  ------------------
 1162|  15.1k|                        {
 1163|  15.1k|                            key_buffer_.push_back(',');
 1164|  15.1k|                        }
 1165|  24.2k|                        key_buffer_.push_back('\"');
 1166|  24.2k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1167|  24.2k|                        key_buffer_.push_back('\"');
 1168|  24.2k|                        break;
 1169|   199k|                    default:
  ------------------
  |  Branch (1169:21): [True: 199k, False: 24.2k]
  ------------------
 1170|   199k|                        destination_->byte_string_value(value, tag, context, ec);
 1171|   199k|                        break;
 1172|   223k|                }
 1173|   223k|            }
 1174|       |
 1175|   271k|            level_stack_.back().advance();
 1176|   271k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   271k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1177|   271k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1183|  1.42M|        {
 1184|  1.42M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1184:17): [True: 201k, False: 1.22M]
  |  Branch (1184:49): [True: 283k, False: 942k]
  ------------------
 1185|   485k|            {
 1186|   485k|                key_.clear();
 1187|   485k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1188|   485k|            }
 1189|       |
 1190|  1.42M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1190:17): [True: 201k, False: 1.22M]
  ------------------
 1191|   201k|            {
 1192|   201k|                switch (level_stack_.back().target_kind())
 1193|   201k|                {
 1194|  49.7k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1194:21): [True: 49.7k, False: 151k]
  ------------------
 1195|  49.7k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1195:29): [True: 48.4k, False: 1.37k]
  ------------------
 1196|  48.4k|                        {
 1197|  48.4k|                            key_buffer_.push_back(',');
 1198|  48.4k|                        }
 1199|  49.7k|                        key_buffer_.push_back('\"');
 1200|  49.7k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1201|  49.7k|                        key_buffer_.push_back('\"');
 1202|  49.7k|                        key_buffer_.push_back(':');
 1203|  49.7k|                        break;
 1204|   151k|                    default:
  ------------------
  |  Branch (1204:21): [True: 151k, False: 49.7k]
  ------------------
 1205|   151k|                        destination_->key(key_, context, ec);
 1206|   151k|                        break;
 1207|   201k|                }
 1208|   201k|            }
 1209|  1.22M|            else
 1210|  1.22M|            {
 1211|  1.22M|                switch (level_stack_.back().target_kind())
 1212|  1.22M|                {
 1213|   283k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1213:21): [True: 283k, False: 942k]
  ------------------
 1214|   283k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1214:29): [True: 234k, False: 49.3k]
  |  Branch (1214:65): [True: 233k, False: 1.10k]
  ------------------
 1215|   233k|                        {
 1216|   233k|                            key_buffer_.push_back(',');
 1217|   233k|                        }
 1218|   283k|                        key_buffer_.push_back('\"');
 1219|   283k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1220|   283k|                        key_buffer_.push_back('\"');
 1221|   283k|                        break;
 1222|   942k|                    default:
  ------------------
  |  Branch (1222:21): [True: 942k, False: 283k]
  ------------------
 1223|   942k|                        destination_->byte_string_value(value, raw_tag, context, ec);
 1224|   942k|                        break;
 1225|  1.22M|                }
 1226|  1.22M|            }
 1227|       |
 1228|  1.42M|            level_stack_.back().advance();
 1229|  1.42M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.42M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1230|  1.42M|        }
_ZN8jsoncons21basic_generic_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  276|  2.40M|    {
  277|  2.40M|        visit_begin_object(length, tag, context, ec);
  278|  2.40M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  279|  2.40M|    }
_ZN8jsoncons21basic_generic_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  332|  2.58M|    {
  333|  2.58M|        visit_string(value, tag, context, ec);
  334|  2.58M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.58M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  335|  2.58M|    }
_ZN8jsoncons21basic_generic_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  314|  2.07M|    {
  315|  2.07M|        visit_null(tag, context, ec);
  316|  2.07M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.07M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  317|  2.07M|    }
_ZN8jsoncons21basic_generic_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  323|  25.0M|    {
  324|  25.0M|        visit_bool(value, tag, context, ec);
  325|  25.0M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  25.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  25.0M|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  343|   271k|    {
  344|   271k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  345|   271k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   271k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  346|   271k|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  354|  1.42M|    {
  355|  1.42M|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  356|  1.42M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.42M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  357|  1.42M|    }
_ZN8jsoncons21basic_generic_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  282|  2.38M|    {
  283|  2.38M|        visit_end_object(context, ec);
  284|  2.38M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.38M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  285|  2.38M|    }
_ZN8jsoncons21basic_generic_visitorIcE5flushEv:
   57|  2.39k|    {
   58|  2.39k|        visit_flush();
   59|  2.39k|    }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  4.06M|        {
  106|  4.06M|            flatten_and_destroy();
  107|  4.06M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  4.06M|        {
  249|  5.80M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 1.73M, False: 4.06M]
  ------------------
  250|  1.73M|            {
  251|  1.73M|                value_type current = std::move(data_.back());
  252|  1.73M|                data_.pop_back();
  253|  1.73M|                switch (current.storage_kind())
  254|  1.73M|                {
  255|   394k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 394k, False: 1.34M]
  ------------------
  256|   394k|                    {
  257|   394k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 1.26M, False: 394k]
  ------------------
  258|  1.26M|                        {
  259|  1.26M|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 28.7k, False: 1.23M]
  |  Branch (259:85): [True: 9.15k, False: 1.22M]
  ------------------
  260|  37.9k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 26.3k, False: 11.5k]
  ------------------
  261|  26.3k|                            {
  262|  26.3k|                                data_.push_back(std::move(item));
  263|  26.3k|                            }
  264|  1.26M|                        }
  265|   394k|                        current.clear();                           
  266|   394k|                        break;
  267|      0|                    }
  268|  54.0k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 54.0k, False: 1.68M]
  ------------------
  269|  54.0k|                    {
  270|  54.0k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 90.3k, False: 54.0k]
  ------------------
  271|  90.3k|                        {
  272|  90.3k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 7.28k, False: 83.0k]
  |  Branch (272:91): [True: 21.4k, False: 61.5k]
  ------------------
  273|  28.7k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 23.3k, False: 5.39k]
  ------------------
  274|  23.3k|                            {
  275|  23.3k|                                data_.push_back(std::move(kv.value()));
  276|  23.3k|                            }
  277|  90.3k|                        }
  278|  54.0k|                        current.clear();                           
  279|  54.0k|                        break;
  280|      0|                    }
  281|  1.28M|                    default:
  ------------------
  |  Branch (281:21): [True: 1.28M, False: 448k]
  ------------------
  282|  1.28M|                        break;
  283|  1.73M|                }
  284|  1.73M|            }
  285|  4.06M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|   394k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|   394k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  44.7k|        {
  126|  44.7k|            return data_.empty();
  127|  44.7k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|   394k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  18.8k|            : allocator_holder<allocator_type>(alloc), 
   50|  18.8k|              data_(value_allocator_type(alloc))
   51|  18.8k|        {
   52|  18.8k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  7.91k|        {
  218|  7.91k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  7.91k|            return data_.back();
  220|  7.91k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  37.0k|        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.94M|        {
  179|  2.94M|            data_.emplace_back(std::forward<T>(value));
  180|  2.94M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  4.05M|        json_array() = default;

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  7.11k|        : alloc_(alloc),
   75|  7.11k|          result_(),
   76|  7.11k|          name_(alloc),
   77|  7.11k|          item_stack_(alloc),
   78|  7.11k|          structure_stack_(temp_alloc)
   79|  7.11k|    {
   80|       |        //item_stack_.reserve(1000);
   81|       |        //structure_stack_.reserve(100);
   82|  7.11k|        structure_stack_.emplace_back(json_structure_kind::root_kind, 0);
   83|  7.11k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14json_structureC2ENS7_19json_structure_kindEm:
   51|  6.07M|            : structure_kind(type), structure_index(offset)
   52|  6.07M|        {
   53|  6.07M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  186|  4.02M|    {
  187|  4.02M|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   49|  4.02M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 4.02M]
  |  |  ------------------
  |  |   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|  4.02M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::array_kind);
  ------------------
  |  |   49|  4.02M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 4.02M]
  |  |  ------------------
  |  |   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|  4.02M|        const size_t structure_index = structure_stack_.back().structure_index;
  190|  4.02M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   49|  4.02M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 4.02M]
  |  |  ------------------
  |  |   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|  4.02M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  193|  4.02M|        auto& arr = item_stack_[structure_index].value;
  194|  4.02M|        const size_t size = item_stack_.size() - (structure_index + 1);
  195|       |
  196|  4.02M|        if (size > 0)
  ------------------
  |  Branch (196:13): [True: 37.0k, False: 3.99M]
  ------------------
  197|  37.0k|        {
  198|  37.0k|            arr.reserve(size);
  199|  37.0k|            auto first = item_stack_.begin() + (structure_index+1);
  200|  37.0k|            auto last = first + size;
  201|  2.98M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (201:35): [True: 2.94M, False: 37.0k]
  ------------------
  202|  2.94M|            {
  203|  2.94M|                arr.push_back(std::move((*it).value));
  204|  2.94M|            }
  205|  37.0k|            item_stack_.erase(first, item_stack_.end());
  206|  37.0k|        }
  207|       |
  208|  4.02M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (208:13): [True: 253, False: 4.02M]
  ------------------
  209|    253|        {
  210|    253|            result_ = std::move(item_stack_.front().value);
  211|    253|            item_stack_.pop_back();
  212|    253|            is_valid_ = true;
  213|    253|        }
  214|       |
  215|  4.02M|        structure_stack_.pop_back();
  216|  4.02M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.02M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  4.02M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  311|  19.7M|    {
  312|  19.7M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (312:17): [True: 19.7M, False: 0]
  ------------------
  313|  19.7M|        {
  314|  4.40M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (314:13): [True: 4.40M, False: 15.3M]
  ------------------
  315|  4.40M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  316|  4.40M|                break;
  317|  15.3M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (317:13): [True: 15.3M, False: 4.40M]
  ------------------
  318|  15.3M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  319|  15.3M|                break;
  320|     12|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (320:13): [True: 12, False: 19.7M]
  ------------------
  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.7M|        }
  325|  19.7M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  19.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  19.7M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  290|  4.80M|    {
  291|  4.80M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (291:17): [True: 4.80M, False: 0]
  ------------------
  292|  4.80M|        {
  293|   248k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (293:13): [True: 248k, False: 4.55M]
  ------------------
  294|   248k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  295|   248k|                break;
  296|  4.55M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (296:13): [True: 4.55M, False: 248k]
  ------------------
  297|  4.55M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  298|  4.55M|                break;
  299|      6|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (299:13): [True: 6, False: 4.80M]
  ------------------
  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.80M|        }
  304|  4.80M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.80M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  305|  4.80M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  353|  34.3k|    {
  354|  34.3k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (354:17): [True: 34.3k, False: 0]
  ------------------
  355|  34.3k|        {
  356|  5.81k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (356:13): [True: 5.81k, False: 28.4k]
  ------------------
  357|  5.81k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  358|  5.81k|                break;
  359|  28.4k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (359:13): [True: 28.4k, False: 5.82k]
  ------------------
  360|  28.4k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  361|  28.4k|                break;
  362|      2|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (362:13): [True: 2, False: 34.3k]
  ------------------
  363|      2|                result_ = Json(value, tag);
  364|      2|                is_valid_ = true;
  365|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  34.3k|        }
  367|  34.3k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  34.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  34.3k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|  2.39k|    {
  123|  2.39k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  2.01M|    {
  127|  2.01M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (127:13): [True: 167k, False: 1.84M]
  ------------------
  128|   167k|        {
  129|   167k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  130|   167k|            item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  131|   167k|        }
  132|  1.84M|        else
  133|  1.84M|        {
  134|  1.84M|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  135|  1.84M|            item_stack_.emplace_back(key_type(alloc_), 0, json_object_arg, tag);
  136|  1.84M|        }
  137|  2.01M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.01M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  138|  2.01M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  141|  2.01M|    {
  142|  2.01M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   49|  2.01M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.01M]
  |  |  ------------------
  |  |   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|  2.01M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::object_kind);
  ------------------
  |  |   49|  2.01M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.01M]
  |  |  ------------------
  |  |   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|  2.01M|        const size_t structure_index = structure_stack_.back().structure_index;
  145|  2.01M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   49|  2.01M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.01M]
  |  |  ------------------
  |  |   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|  2.01M|        const size_t size = item_stack_.size() - (structure_index + 1);
  148|  2.01M|        auto first = item_stack_.begin() + (structure_index+1);
  149|  2.01M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  150|  2.01M|        auto& obj = item_stack_[structure_index].value;
  151|       |
  152|  2.01M|        if (size > 0)
  ------------------
  |  Branch (152:13): [True: 49.9k, False: 1.96M]
  ------------------
  153|  49.9k|        {
  154|  49.9k|            obj.template cast<typename Json::object_storage>().value().uninitialized_init(
  155|  49.9k|                &item_stack_[structure_index+1], size);
  156|  49.9k|            item_stack_.erase(first, item_stack_.end());
  157|  49.9k|        }
  158|       |
  159|  2.01M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (159:13): [True: 1.30k, False: 2.00M]
  ------------------
  160|  1.30k|        {
  161|  1.30k|            result_ = std::move(item_stack_.front().value);
  162|  1.30k|            item_stack_.pop_back();
  163|  1.30k|            is_valid_ = true;
  164|  1.30k|        }
  165|       |
  166|  2.01M|        structure_stack_.pop_back();
  167|  2.01M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.01M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  168|  2.01M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  171|  4.05M|    {
  172|  4.05M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (172:13): [True: 418k, False: 3.63M]
  ------------------
  173|   418k|        {
  174|   418k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  175|   418k|            item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  176|   418k|        }
  177|  3.63M|        else
  178|  3.63M|        {
  179|  3.63M|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  180|  3.63M|            item_stack_.emplace_back(key_type(alloc_), 0, json_array_arg, tag);
  181|  3.63M|        }
  182|  4.05M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.05M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  183|  4.05M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  220|  6.15M|    {
  221|  6.15M|        name_ = key_type(name.data(),name.length(),alloc_);
  222|  6.15M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.15M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  223|  6.15M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  389|  1.32M|    {
  390|  1.32M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (390:17): [True: 1.32M, False: 0]
  ------------------
  391|  1.32M|        {
  392|   164k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (392:13): [True: 164k, False: 1.16M]
  ------------------
  393|   164k|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  394|   164k|                break;
  395|  1.16M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (395:13): [True: 1.16M, False: 164k]
  ------------------
  396|  1.16M|                item_stack_.emplace_back(key_type(alloc_), 0, null_type(), tag);
  397|  1.16M|                break;
  398|      1|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (398:13): [True: 1, False: 1.32M]
  ------------------
  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.32M|        }
  403|  1.32M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.32M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  404|  1.32M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  371|  5.42M|    {
  372|  5.42M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (372:17): [True: 5.42M, False: 0]
  ------------------
  373|  5.42M|        {
  374|   414k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (374:13): [True: 414k, False: 5.00M]
  ------------------
  375|   414k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  376|   414k|                break;
  377|  5.00M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (377:13): [True: 5.00M, False: 414k]
  ------------------
  378|  5.00M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  379|  5.00M|                break;
  380|      2|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (380:13): [True: 2, False: 5.42M]
  ------------------
  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|  5.42M|        }
  385|  5.42M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.42M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  5.42M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  226|  2.13M|    {
  227|  2.13M|        auto& structure = structure_stack_.back();
  228|  2.13M|        switch (structure.structure_kind)
  ------------------
  |  Branch (228:17): [True: 2.13M, False: 0]
  ------------------
  229|  2.13M|        {
  230|   130k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (230:13): [True: 130k, False: 2.00M]
  ------------------
  231|   130k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  232|   130k|                break;
  233|  2.00M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (233:13): [True: 2.00M, False: 131k]
  ------------------
  234|  2.00M|                item_stack_.emplace_back(key_type(alloc_), 0, sv, tag);
  235|  2.00M|                break;
  236|    806|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (236:13): [True: 806, False: 2.13M]
  ------------------
  237|    806|                result_ = Json(sv, tag, alloc_);
  238|    806|                is_valid_ = true;
  239|    806|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|    806|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  240|  2.13M|        }
  241|  2.13M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.13M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  242|  2.13M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  248|   199k|    {
  249|   199k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (249:17): [True: 199k, False: 0]
  ------------------
  250|   199k|        {
  251|  50.4k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (251:13): [True: 50.4k, False: 148k]
  ------------------
  252|  50.4k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, tag);
  253|  50.4k|                break;
  254|   148k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (254:13): [True: 148k, False: 50.4k]
  ------------------
  255|   148k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, tag);
  256|   148k|                break;
  257|      1|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (257:13): [True: 1, False: 199k]
  ------------------
  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|   199k|        }
  262|   199k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   199k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  263|   199k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  269|   942k|    {
  270|   942k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (270:17): [True: 942k, False: 0]
  ------------------
  271|   942k|        {
  272|   150k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (272:13): [True: 150k, False: 791k]
  ------------------
  273|   150k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, raw_tag);
  274|   150k|                break;
  275|   791k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (275:13): [True: 791k, False: 150k]
  ------------------
  276|   791k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, raw_tag);
  277|   791k|                break;
  278|      2|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (278:13): [True: 2, False: 942k]
  ------------------
  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|   942k|        }
  283|   942k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   942k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|   942k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|  2.39k|    {
  109|  2.39k|        return is_valid_;
  110|  2.39k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|  2.39k|    {
  114|  2.39k|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   49|  2.39k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.39k]
  |  |  ------------------
  |  |   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.39k|        is_valid_ = false;
  116|  2.39k|        return std::move(result_);
  117|  2.39k|    }

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

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

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  21.3k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  28.4k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|  4.05M|        {
  561|  4.05M|            visit_begin_array(tag, context, ec);
  562|  4.05M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.05M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  4.05M|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  2.01M|        {
  545|  2.01M|            visit_begin_object(tag, context, ec);
  546|  2.01M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.01M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  2.01M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  8.10M|        {
  346|  8.10M|            visit_begin_array(length, tag, context, ec);
  347|  8.10M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.10M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  8.10M|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  39.5M|        {
  415|  39.5M|            visit_uint64(value, tag, context, ec);
  416|  39.5M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  39.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  39.5M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  8.05M|        {
  352|  8.05M|            visit_end_array(context, ec);
  353|  8.05M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.05M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  8.05M|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  9.61M|        {
  424|  9.61M|            visit_int64(value, tag, context, ec);
  425|  9.61M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  9.61M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  9.61M|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  68.6k|        {
  442|  68.6k|            visit_double(value, tag, context, ec);
  443|  68.6k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  68.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  68.6k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|  4.78k|        {
  109|  4.78k|            visit_flush();
  110|  4.78k|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  4.03M|        {
  328|  4.03M|            visit_begin_object(length, tag, context, ec);
  329|  4.03M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.03M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  4.03M|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  4.02M|        {
  334|  4.02M|            visit_end_object(context, ec);
  335|  4.02M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.02M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  4.02M|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  12.3M|        {
  358|  12.3M|            visit_key(name, context, ec);
  359|  12.3M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  12.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  12.3M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  2.65M|        {
  366|  2.65M|            visit_null(tag, context, ec);
  367|  2.65M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.65M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  2.65M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  10.8M|        {
  375|  10.8M|            visit_bool(value, tag, context, ec);
  376|  10.8M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  10.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  10.8M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  4.27M|        {
  384|  4.27M|            visit_string(value, tag, context, ec);
  385|  4.27M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.27M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  4.27M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  394|   398k|        {
  395|   398k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  396|   398k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   398k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  397|   398k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|  1.88M|        {
  406|  1.88M|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|  1.88M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.88M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|  1.88M|        }
_ZN8jsoncons26basic_default_json_visitorIcEC2Ev:
  811|  7.11k|        basic_default_json_visitor() = default;

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|   368k|    {
  121|   368k|        return value_;
  122|   368k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  27.9M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  19.7M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  19.7M|    {
   45|  19.7M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  73.9M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.80M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.80M|    {
   45|  4.80M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  34.3k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  34.3k|    {
   45|  34.3k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.01M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.01M|    {
   45|  2.01M|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|   208k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|   208k|    {
   88|   208k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.05M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.05M|    {
   45|  4.05M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.32M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.32M|    {
   45|  1.32M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  5.42M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  5.42M|    {
   45|  5.42M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  2.13M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.13M|    {
   45|  2.13M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   199k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   199k|    {
   45|   199k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   942k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   942k|    {
   45|   942k|    }

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

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  38.3k|        {
  159|  38.3k|            return data_.empty();
  160|  38.3k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  54.0k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  54.0k|        {
  169|  54.0k|            return data_.begin();
  170|  54.0k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  54.0k|        {
  174|  54.0k|            return data_.end();
  175|  54.0k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  2.01M|        {
  154|  2.01M|            flatten_and_destroy();
  155|  2.01M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|  2.01M|        {
  725|  2.01M|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 18.8k, False: 1.99M]
  ------------------
  726|  18.8k|            {
  727|  18.8k|                json_array<Json> temp(get_allocator());
  728|       |
  729|  18.8k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 118k, False: 18.8k]
  ------------------
  730|   118k|                {
  731|   118k|                    switch (kv.value().storage_kind())
  732|   118k|                    {
  733|  8.64k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 8.64k, False: 109k]
  ------------------
  734|  16.3k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 7.69k, False: 110k]
  ------------------
  735|  16.3k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 7.91k, False: 8.42k]
  ------------------
  736|  7.91k|                            {
  737|  7.91k|                                temp.emplace_back(std::move(kv.value()));
  738|  7.91k|                            }
  739|  16.3k|                            break;
  740|   102k|                        default:
  ------------------
  |  Branch (740:25): [True: 102k, False: 16.3k]
  ------------------
  741|   102k|                            break;
  742|   118k|                    }
  743|   118k|                }
  744|  18.8k|            }
  745|  2.01M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  2.01M|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  49.9k|        {
  278|  49.9k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 49.9k, False: 0]
  ------------------
  279|  49.9k|            {
  280|  49.9k|                data_.reserve(count);
  281|       |
  282|  49.9k|                std::sort(items, items+count, compare);
  283|  49.9k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  4.57M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 4.52M, False: 49.9k]
  ------------------
  286|  4.52M|                {
  287|  4.52M|                    auto& item = items[i];
  288|  4.52M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 159k, False: 4.36M]
  ------------------
  289|   159k|                    {
  290|   159k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|   159k|                    }
  292|  4.52M|                }
  293|  49.9k|            }
  294|  49.9k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|   101M|        {
  269|   101M|            int comp = item1.name.compare(item2.name); 
  270|   101M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 2.23M, False: 98.8M]
  ------------------
  271|  98.8M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 96.9M, False: 1.85M]
  ------------------
  272|       |
  273|  1.85M|            return false;
  274|  98.8M|        }

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

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

_ZN8jsoncons6binary13big_to_nativeIfNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  99.4k|    {
  183|  99.4k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 99.4k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  99.4k|        T val;
  188|  99.4k|        std::memcpy(&val,first,sizeof(T));
  189|  99.4k|        return byte_swap(val);
  190|  99.4k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|  99.4k|    {
   65|  99.4k|        uint32_t x;
   66|  99.4k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|  99.4k|        uint32_t y = byte_swap(x);
   68|  99.4k|        T val2;
   69|  99.4k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|  99.4k|        return val2;
   71|  99.4k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|   151k|    {
   40|   151k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|   151k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|   151k|#  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|   151k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  10.9k|    {
  183|  10.9k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 10.9k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  10.9k|        T val;
  188|  10.9k|        std::memcpy(&val,first,sizeof(T));
  189|  10.9k|        return byte_swap(val);
  190|  10.9k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  10.9k|    {
   77|  10.9k|        uint64_t x;
   78|  10.9k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  10.9k|        uint64_t y = byte_swap(x);
   80|  10.9k|        T val2;
   81|  10.9k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  10.9k|        return val2;
   83|  10.9k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  26.0k|    {
   52|  26.0k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  26.0k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  26.0k|#  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.0k|    }
_ZN8jsoncons6binary13big_to_nativeItNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  26.6k|    {
  183|  26.6k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 26.6k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  26.6k|        T val;
  188|  26.6k|        std::memcpy(&val,first,sizeof(T));
  189|  26.6k|        return byte_swap(val);
  190|  26.6k|    }
_ZN8jsoncons6binary9byte_swapItEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  26.6k|    {
   29|  26.6k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  26.6k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|  26.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|  26.6k|    }
_ZN8jsoncons6binary13big_to_nativeIjNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  51.6k|    {
  183|  51.6k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 51.6k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  51.6k|        T val;
  188|  51.6k|        std::memcpy(&val,first,sizeof(T));
  189|  51.6k|        return byte_swap(val);
  190|  51.6k|    }
_ZN8jsoncons6binary13big_to_nativeImNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  15.0k|    {
  183|  15.0k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 15.0k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  15.0k|        T val;
  188|  15.0k|        std::memcpy(&val,first,sizeof(T));
  189|  15.0k|        return byte_swap(val);
  190|  15.0k|    }
_ZN8jsoncons6binary13big_to_nativeIaNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  1.47M|    {
  183|  1.47M|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 1.47M]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  1.47M|        T val;
  188|  1.47M|        std::memcpy(&val,first,sizeof(T));
  189|  1.47M|        return byte_swap(val);
  190|  1.47M|    }
_ZN8jsoncons6binary9byte_swapIaEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|  1.47M|    {
   22|  1.47M|        return val;
   23|  1.47M|    }
_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|  5.66k|    {
  183|  5.66k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 5.66k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  5.66k|        T val;
  188|  5.66k|        std::memcpy(&val,first,sizeof(T));
  189|  5.66k|        return byte_swap(val);
  190|  5.66k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  5.66k|    {
   40|  5.66k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  5.66k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|  5.66k|#  define JSONCONS_BYTE_SWAP_32 __builtin_bswap32
  ------------------
   42|       |    #else
   43|       |        uint32_t tmp = ((static_cast<uint32_t>(val) << 8) & 0xff00ff00) | ((static_cast<uint32_t>(val) >> 8) & 0xff00ff);
   44|       |        return (tmp << 16) | (tmp >> 16);
   45|       |    #endif
   46|  5.66k|    }
_ZN8jsoncons6binary13big_to_nativeIlNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  39.0k|    {
  183|  39.0k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 39.0k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  39.0k|        T val;
  188|  39.0k|        std::memcpy(&val,first,sizeof(T));
  189|  39.0k|        return byte_swap(val);
  190|  39.0k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  39.0k|    {
   52|  39.0k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  39.0k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  39.0k|#  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|  39.0k|    }
_ZN8jsoncons6binary13big_to_nativeIhNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   314k|    {
  183|   314k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 314k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   314k|        T val;
  188|   314k|        std::memcpy(&val,first,sizeof(T));
  189|   314k|        return byte_swap(val);
  190|   314k|    }
_ZN8jsoncons6binary9byte_swapIhEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|   314k|    {
   22|   314k|        return val;
   23|   314k|    }

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

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  12.8k|    {       
  242|  12.8k|        return (ptr);
  243|  12.8k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|  1.14M|    {       
  242|  1.14M|        return (ptr);
  243|  1.14M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  8.10M|    {       
  242|  8.10M|        return (ptr);
  243|  8.10M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  4.03M|    {       
  242|  4.03M|        return (ptr);
  243|  4.03M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|  1.15M|    {       
  242|  1.15M|        return (ptr);
  243|  1.15M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerImEEPT_S3_:
  241|   111k|    {       
  242|   111k|        return (ptr);
  243|   111k|    }  

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

_ZN8jsoncons14unicode_traits8validateIhEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  2.53M|    {
 1148|  2.53M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  2.53M|        const uint8_t* end = it + length;
 1150|       |
 1151|  2.53M|        unicode_errc  result{};
 1152|  2.59M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 62.2k, False: 2.53M]
  ------------------
 1153|  62.2k|        {
 1154|  62.2k|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 50.6k, False: 11.6k]
  ------------------
 1155|  50.6k|            {
 1156|   340k|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  281|   101k|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (281:32): [True: 49.5k, False: 1.15k]
  |  |  |  Branch (281:34): [True: 49.1k, False: 330]
  |  |  |  Branch (281:36): [True: 48.7k, False: 389]
  |  |  |  Branch (281:38): [True: 48.5k, False: 238]
  |  |  |  Branch (281:40): [True: 48.3k, False: 220]
  |  |  |  Branch (281:42): [True: 48.0k, False: 273]
  |  |  |  Branch (281:44): [True: 47.8k, False: 222]
  |  |  |  Branch (281:46): [True: 47.6k, False: 215]
  |  |  ------------------
  ------------------
 1157|  47.6k|                continue;
 1158|   340k|            }
 1159|  14.6k|    non_ascii:
 1160|  14.6k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  14.6k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 30, False: 14.6k]
  ------------------
 1162|     30|            {
 1163|     30|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     30|            }
 1165|  14.6k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 193, False: 14.4k]
  ------------------
 1166|    193|            {
 1167|    193|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    193|            }
 1169|  14.4k|            it += len;
 1170|  14.4k|        }
 1171|  2.53M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  2.53M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  14.6k|    {
  306|  14.6k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  14.6k|        const uint8_t* end = it+length;
  308|       |
  309|  14.6k|        uint8_t byte;
  310|  14.6k|        switch (length) {
  311|     21|        default:
  ------------------
  |  Branch (311:9): [True: 21, False: 14.6k]
  ------------------
  312|     21|            return unicode_errc::over_long_utf8_sequence;
  313|    542|        case 4:
  ------------------
  |  Branch (313:9): [True: 542, False: 14.1k]
  ------------------
  314|    542|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 13, False: 529]
  ------------------
  315|     13|                return unicode_errc::bad_continuation_byte;
  316|    529|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|    529|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  1.47k|        case 3:
  ------------------
  |  Branch (317:9): [True: 946, False: 13.7k]
  ------------------
  318|  1.47k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 9, False: 1.46k]
  ------------------
  319|      9|                return unicode_errc::bad_continuation_byte;
  320|  1.46k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.46k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  3.42k|        case 2:
  ------------------
  |  Branch (321:9): [True: 1.95k, False: 12.6k]
  ------------------
  322|  3.42k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 58, False: 3.36k]
  ------------------
  323|     58|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  3.36k|            switch (*it) 
  326|  3.36k|            {
  327|       |                // no fall-through in this inner switch
  328|    583|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 583, False: 2.78k]
  |  Branch (328:32): [True: 7, False: 576]
  ------------------
  329|    576|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 283, False: 3.08k]
  |  Branch (329:32): [True: 1, False: 282]
  ------------------
  330|    282|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 207, False: 3.16k]
  |  Branch (330:32): [True: 5, False: 202]
  ------------------
  331|    246|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 246, False: 3.12k]
  |  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.31k]
  |  Branch (332:32): [True: 0, False: 2.04k]
  ------------------
  333|  3.36k|            }
  334|       |
  335|  3.35k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  3.35k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  14.5k|        case 1:
  ------------------
  |  Branch (336:9): [True: 11.1k, False: 3.46k]
  ------------------
  337|  14.5k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 3.42k, False: 11.1k]
  |  Branch (337:32): [True: 75, False: 3.34k]
  ------------------
  338|     75|                return unicode_errc::source_illegal;
  339|  14.4k|            break;
  340|  14.6k|        }
  341|  14.4k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 1, False: 14.4k]
  ------------------
  342|      1|            return unicode_errc::source_illegal;
  343|       |
  344|  14.4k|        return unicode_errc();
  345|  14.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|  26.1M|        {
   64|  26.1M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  26.1M|        }
   66|  26.1M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 4.82M, False: 21.3M]
  |  Branch (66:33): [True: 4.82M, 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|  47.4M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 26.1M, False: 21.3M]
  ------------------
   77|  26.1M|    {
   78|  26.1M|        result.push_back(*p);
   79|  26.1M|    }
   80|       |
   81|  21.3M|    return count;
   82|  21.3M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  3.79M|{
   43|  3.79M|    using char_type = typename Result::value_type;
   44|       |
   45|  3.79M|    char_type buf[255];
   46|  3.79M|    char_type *p = buf;
   47|  3.79M|    const char_type* last = buf+255;
   48|       |
   49|  3.79M|    bool is_negative = value < 0;
   50|       |
   51|  3.79M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 3.79M, False: 888]
  ------------------
   52|  3.79M|    {
   53|  3.79M|        do
   54|  7.57M|        {
   55|  7.57M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  7.57M|        }
   57|  7.57M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 3.77M, False: 3.79M]
  |  Branch (57:33): [True: 3.77M, False: 0]
  ------------------
   58|  3.79M|    }
   59|    888|    else
   60|    888|    {
   61|       |
   62|    888|        do
   63|  6.09k|        {
   64|  6.09k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  6.09k|        }
   66|  6.09k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 5.20k, False: 888]
  |  Branch (66:33): [True: 5.20k, False: 0]
  ------------------
   67|    888|    }
   68|  3.79M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  3.79M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.79M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  3.79M|    std::size_t count = (p - buf);
   71|  3.79M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 3.79M, False: 888]
  ------------------
   72|  3.79M|    {
   73|  3.79M|        result.push_back('-');
   74|  3.79M|        ++count;
   75|  3.79M|    }
   76|  11.3M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 7.57M, False: 3.79M]
  ------------------
   77|  7.57M|    {
   78|  7.57M|        result.push_back(*p);
   79|  7.57M|    }
   80|       |
   81|  3.79M|    return count;
   82|  3.79M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|  76.0k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|  76.0k|    {
  489|  76.0k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|  76.0k|        struct lconv *lc = localeconv();
  491|  76.0k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 76.0k, False: 0]
  |  Branch (491:30): [True: 76.0k, False: 0]
  ------------------
  492|  76.0k|        {
  493|  76.0k|            decimal_point_ = lc->decimal_point[0];
  494|  76.0k|        }
  495|  76.0k|#endif
  496|  76.0k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|  76.0k|    {
  504|  76.0k|        std::size_t count = 0;
  505|       |
  506|  76.0k|        char number_buffer[200];
  507|  76.0k|        int length = 0;
  508|       |
  509|  76.0k|        switch (float_format_)
  510|  76.0k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 76.0k]
  ------------------
  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: 76.0k]
  ------------------
  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|  76.0k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 76.0k, False: 0]
  ------------------
  552|  76.0k|            {
  553|  76.0k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 76.0k]
  ------------------
  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|  76.0k|                else
  563|  76.0k|                {
  564|  76.0k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 76.0k]
  ------------------
  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|  76.0k|                }             
  569|  76.0k|                break;
  570|  76.0k|            }
  571|  76.0k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 76.0k]
  ------------------
  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|  76.0k|        }
  575|  76.0k|        return count;
  576|  76.0k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  4.40k|{
  244|  4.40k|    const char *sbeg = buffer;
  245|  4.40k|    const char *send = sbeg + length;
  246|       |
  247|  4.40k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 4.40k, False: 0]
  ------------------
  248|  4.40k|    {
  249|  4.40k|        bool needs_dot = true;
  250|  74.0k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 69.6k, False: 4.40k]
  ------------------
  251|  69.6k|        {
  252|  69.6k|            switch (*q)
  253|  69.6k|            {
  254|  2.59k|            case '-':
  ------------------
  |  Branch (254:13): [True: 2.59k, False: 67.0k]
  ------------------
  255|  5.55k|            case '0':
  ------------------
  |  Branch (255:13): [True: 2.95k, False: 66.6k]
  ------------------
  256|  13.0k|            case '1':
  ------------------
  |  Branch (256:13): [True: 7.48k, False: 62.1k]
  ------------------
  257|  17.6k|            case '2':
  ------------------
  |  Branch (257:13): [True: 4.65k, False: 64.9k]
  ------------------
  258|  21.4k|            case '3':
  ------------------
  |  Branch (258:13): [True: 3.80k, False: 65.7k]
  ------------------
  259|  27.1k|            case '4':
  ------------------
  |  Branch (259:13): [True: 5.68k, False: 63.9k]
  ------------------
  260|  36.8k|            case '5':
  ------------------
  |  Branch (260:13): [True: 9.62k, False: 59.9k]
  ------------------
  261|  41.3k|            case '6':
  ------------------
  |  Branch (261:13): [True: 4.57k, False: 65.0k]
  ------------------
  262|  47.7k|            case '7':
  ------------------
  |  Branch (262:13): [True: 6.33k, False: 63.2k]
  ------------------
  263|  53.0k|            case '8':
  ------------------
  |  Branch (263:13): [True: 5.35k, False: 64.2k]
  ------------------
  264|  57.3k|            case '9':
  ------------------
  |  Branch (264:13): [True: 4.28k, False: 65.3k]
  ------------------
  265|  59.7k|            case '+':
  ------------------
  |  Branch (265:13): [True: 2.38k, False: 67.2k]
  ------------------
  266|  59.7k|                result.push_back(*q);
  267|  59.7k|                break;
  268|  2.73k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 2.73k, False: 66.8k]
  ------------------
  269|  2.73k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 69.6k]
  ------------------
  270|  2.73k|                result.push_back('e');
  271|  2.73k|                needs_dot = false;
  272|  2.73k|                break;
  273|  7.11k|            default:
  ------------------
  |  Branch (273:13): [True: 7.11k, False: 62.4k]
  ------------------
  274|  7.11k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 3.00k, False: 4.11k]
  ------------------
  275|  3.00k|                {
  276|  3.00k|                    needs_dot = false;
  277|  3.00k|                    result.push_back('.');
  278|  3.00k|                }
  279|  7.11k|                break;
  280|  69.6k|            }
  281|  69.6k|        }
  282|  4.40k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 1.40k, False: 3.00k]
  ------------------
  283|  1.40k|        {
  284|  1.40k|            result.push_back('.');
  285|  1.40k|            result.push_back('0');
  286|  1.40k|        }
  287|  4.40k|    }
  288|  4.40k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKciiiiRT_:
  171|  69.9k|{
  172|  69.9k|    int nb_digits = length;
  173|  69.9k|    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|  69.9k|    int kk = nb_digits + k;
  179|       |
  180|  69.9k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 46.5k, False: 23.4k]
  |  Branch (180:28): [True: 36.0k, False: 10.4k]
  ------------------
  181|  36.0k|    {
  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|   293k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 257k, False: 36.0k]
  ------------------
  186|   257k|        {
  187|   257k|            result.push_back(buffer[i]);
  188|   257k|        }
  189|  38.2k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 2.15k, False: 36.0k]
  ------------------
  190|  2.15k|        {
  191|  2.15k|            result.push_back('0');
  192|  2.15k|        }
  193|  36.0k|        result.push_back('.');
  194|  36.0k|        result.push_back('0');
  195|  36.0k|    } 
  196|  33.8k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 16.8k, False: 16.9k]
  |  Branch (196:24): [True: 6.43k, False: 10.4k]
  ------------------
  197|  6.43k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  29.6k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 23.1k, False: 6.43k]
  ------------------
  200|  23.1k|        {
  201|  23.1k|            result.push_back(buffer[i]);
  202|  23.1k|        }
  203|  6.43k|        result.push_back('.');
  204|  70.9k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 64.4k, False: 6.43k]
  ------------------
  205|  64.4k|        {
  206|  64.4k|            result.push_back(buffer[i]);
  207|  64.4k|        }
  208|  6.43k|    } 
  209|  27.4k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 11.8k, False: 15.5k]
  |  Branch (209:30): [True: 1.41k, False: 10.4k]
  ------------------
  210|  1.41k|    {
  211|  1.41k|        offset = 2 - kk;
  212|       |
  213|  1.41k|        result.push_back('0');
  214|  1.41k|        result.push_back('.');
  215|  3.83k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 2.42k, False: 1.41k]
  ------------------
  216|  2.42k|            result.push_back('0');
  217|  17.8k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 16.4k, False: 1.41k]
  ------------------
  218|  16.4k|        {
  219|  16.4k|            result.push_back(buffer[i]);
  220|  16.4k|        }
  221|  1.41k|    } 
  222|  26.0k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 1.42k, False: 24.6k]
  ------------------
  223|  1.42k|    {
  224|  1.42k|        result.push_back(buffer[0]);
  225|  1.42k|        result.push_back('e');
  226|  1.42k|        fill_exponent(kk - 1, result);
  227|  1.42k|    } 
  228|  24.6k|    else
  229|  24.6k|    {
  230|  24.6k|        result.push_back(buffer[0]);
  231|  24.6k|        result.push_back('.');
  232|   395k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 370k, False: 24.6k]
  ------------------
  233|   370k|        {
  234|   370k|            result.push_back(buffer[i]);
  235|   370k|        }
  236|  24.6k|        result.push_back('e');
  237|  24.6k|        fill_exponent(kk - 1, result);
  238|  24.6k|    }
  239|  69.9k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  26.0k|{
  137|  26.0k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 15.5k, False: 10.4k]
  ------------------
  138|  15.5k|    {
  139|  15.5k|        result.push_back('-');
  140|  15.5k|        K = -K;
  141|  15.5k|    }
  142|  10.4k|    else
  143|  10.4k|    {
  144|  10.4k|        result.push_back('+'); // compatibility with sprintf
  145|  10.4k|    }
  146|       |
  147|  26.0k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 4.71k, False: 21.3k]
  ------------------
  148|  4.71k|    {
  149|  4.71k|        result.push_back('0'); // compatibility with sprintf
  150|  4.71k|        result.push_back((char)('0' + K));
  151|  4.71k|    }
  152|  21.3k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 13.6k, False: 7.67k]
  ------------------
  153|  13.6k|    {
  154|  13.6k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  13.6k|        result.push_back((char)('0' + K));
  156|  13.6k|    }
  157|  7.67k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 7.67k, False: 0]
  ------------------
  158|  7.67k|    {
  159|  7.67k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  7.67k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  7.67k|        result.push_back((char)('0' + K));
  162|  7.67k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  26.0k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|  76.0k|{
  476|  76.0k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|  76.0k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|  76.0k|{
  367|  76.0k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 1.73k, False: 74.3k]
  ------------------
  368|  1.73k|    {
  369|  1.73k|        result.push_back('0');
  370|  1.73k|        result.push_back('.');
  371|  1.73k|        result.push_back('0');
  372|  1.73k|        return true;
  373|  1.73k|    }
  374|       |
  375|  74.3k|    int length = 0;
  376|  74.3k|    int k;
  377|       |
  378|  74.3k|    char buffer[100];
  379|       |
  380|  74.3k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 61.9k, False: 12.3k]
  ------------------
  381|  74.3k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 69.9k, False: 4.40k]
  ------------------
  382|  69.9k|    {
  383|  69.9k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 59.7k, False: 10.1k]
  ------------------
  384|  59.7k|        {
  385|  59.7k|            result.push_back('-');
  386|  59.7k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|  69.9k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|  69.9k|        return true;
  391|  69.9k|    }
  392|  4.40k|    else
  393|  4.40k|    {
  394|  4.40k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  4.40k|    }
  396|  74.3k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  4.40k|{
  330|  4.40k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 4.40k]
  ------------------
  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.40k|    char buffer[100];
  339|  4.40k|    int precision = std::numeric_limits<double>::digits10;
  340|  4.40k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  4.40k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 4.40k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  4.40k|    double x{0};
  346|  4.40k|    auto res = decstr_to_double(buffer, length, x);
  347|  4.40k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 4.40k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  4.40k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 3.31k, False: 1.09k]
  ------------------
  352|  3.31k|    {
  353|  3.31k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  3.31k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  3.31k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 3.31k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  3.31k|    }
  360|  4.40k|    dump_buffer(buffer, length, decimal_point, result);
  361|  4.40k|    return true;
  362|  4.40k|}

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

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

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

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

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

