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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2777|   123M|        {
 2778|   123M|             destroy();
 2779|   123M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  901|   123M|        {
  902|   123M|            switch (storage_kind())
  903|   123M|            {
  904|  9.00k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (904:17): [True: 9.00k, False: 123M]
  ------------------
  905|  9.00k|                {
  906|  9.00k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (906:25): [True: 9.00k, False: 0]
  ------------------
  907|  9.00k|                    {
  908|  9.00k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  909|  9.00k|                    }
  910|  9.00k|                    break;
  911|      0|                }
  912|   562k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (912:17): [True: 562k, False: 123M]
  ------------------
  913|   562k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (913:25): [True: 562k, False: 0]
  ------------------
  914|   562k|                    {
  915|   562k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  916|   562k|                    }
  917|   562k|                    break;
  918|  4.23M|                case json_storage_kind::array:
  ------------------
  |  Branch (918:17): [True: 4.23M, False: 119M]
  ------------------
  919|  4.23M|                {
  920|  4.23M|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (920:25): [True: 4.23M, False: 0]
  ------------------
  921|  4.23M|                    {
  922|  4.23M|                        auto& stor = cast<array_storage>();
  923|  4.23M|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  924|  4.23M|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  925|  4.23M|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  926|  4.23M|                    }
  927|  4.23M|                    break;
  928|      0|                }
  929|   996k|                case json_storage_kind::object:
  ------------------
  |  Branch (929:17): [True: 996k, False: 122M]
  ------------------
  930|   996k|                {
  931|   996k|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (931:25): [True: 996k, False: 0]
  ------------------
  932|   996k|                    {
  933|   996k|                        auto& stor = cast<object_storage>();
  934|   996k|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  935|   996k|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  936|   996k|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  937|   996k|                    }
  938|   996k|                    break;
  939|      0|                }
  940|   118M|                default:
  ------------------
  |  Branch (940:17): [True: 118M, False: 5.80M]
  ------------------
  941|   118M|                    break;
  942|   123M|            }
  943|   123M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1465|   280M|        {
 1466|       |            // It is legal to access 'common_.storage_kind_' even though 
 1467|       |            // common_ is not the active member of the union because 'storage_kind_' 
 1468|       |            // is a part of the common initial sequence of all union members
 1469|       |            // as defined in 11.4-25 of the Standard.
 1470|   280M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1471|   280M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1007|   104k|        {
 1008|   104k|            return cast(identity<T>());
 1009|   104k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1098|   104k|        {
 1099|   104k|            return long_str_;
 1100|   104k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1007|  3.09M|        {
 1008|  3.09M|            return cast(identity<T>());
 1009|  3.09M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1108|  3.09M|        {
 1109|  3.09M|            return byte_str_;
 1110|  3.09M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1007|  37.4M|        {
 1008|  37.4M|            return cast(identity<T>());
 1009|  37.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1128|  37.4M|        {
 1129|  37.4M|            return array_;
 1130|  37.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2310|  81.1M|        {
 2311|  81.1M|            uninitialized_move(std::move(other));
 2312|  81.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1305|  81.1M|        {
 1306|  81.1M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1306:17): [True: 69.4M, False: 11.6M]
  ------------------
 1307|  69.4M|            {
 1308|  69.4M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1309|  69.4M|            }
 1310|  11.6M|            else
 1311|  11.6M|            {
 1312|  11.6M|                switch (other.storage_kind())
 1313|  11.6M|                {
 1314|  21.5k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1314:21): [True: 21.5k, False: 11.6M]
  ------------------
 1315|  21.5k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1316|  21.5k|                        other.construct<null_storage>();
 1317|  21.5k|                        break;
 1318|   668k|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1318:21): [True: 668k, False: 10.9M]
  ------------------
 1319|   668k|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1320|   668k|                        other.construct<null_storage>();
 1321|   668k|                        break;
 1322|  8.77M|                    case json_storage_kind::array:
  ------------------
  |  Branch (1322:21): [True: 8.77M, False: 2.88M]
  ------------------
 1323|  8.77M|                        construct<array_storage>(other.cast<array_storage>());
 1324|  8.77M|                        other.construct<null_storage>();
 1325|  8.77M|                        break;
 1326|  2.19M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1326:21): [True: 2.19M, False: 9.46M]
  ------------------
 1327|  2.19M|                        construct<object_storage>(other.cast<object_storage>());
 1328|  2.19M|                        other.construct<null_storage>();
 1329|  2.19M|                        break;
 1330|      0|                    default:
  ------------------
  |  Branch (1330:21): [True: 0, False: 11.6M]
  ------------------
 1331|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1332|      0|                        break;
 1333|  11.6M|                }
 1334|  11.6M|            }
 1335|  81.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  998|  38.9k|        {
  999|  38.9k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  38.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  629|  56.2k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  630|  56.2k|            {
  631|  56.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  998|  11.6M|        {
  999|  11.6M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  11.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1007|  15.4M|        {
 1008|  15.4M|            return cast(identity<T>());
 1009|  15.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1018|  15.4M|        {
 1019|  15.4M|            return null_;
 1020|  15.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  450|  12.0M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  451|  12.0M|            {
  452|  12.0M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  998|   705k|        {
  999|   705k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   705k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  678|   743k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  679|   743k|            {
  680|   743k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  998|  10.5M|        {
  999|  10.5M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  10.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  730|  12.2M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  731|  12.2M|            {
  732|  12.2M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  998|  2.57M|        {
  999|  2.57M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  2.57M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  780|  2.95M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  781|  2.95M|            {
  782|  2.95M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4762|   205k|        {
 4763|   205k|            switch (storage_kind())
 4764|   205k|            {
 4765|   205k|                case json_storage_kind::array:
  ------------------
  |  Branch (4765:17): [True: 205k, False: 0]
  ------------------
 4766|   205k|                    return array_range_type(cast<array_storage>().value().begin(),
 4767|   205k|                        cast<array_storage>().value().end());
 4768|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4768:17): [True: 0, False: 205k]
  ------------------
 4769|      0|                    return cast<json_ref_storage>().value().array_range();
 4770|      0|                default:
  ------------------
  |  Branch (4770:17): [True: 0, False: 205k]
  ------------------
 4771|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4772|   205k|            }
 4773|   205k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  753|  3.71M|            {
  754|  3.71M|                return *ptr_;
  755|  3.71M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|   205k|            : first_(first), last_(last)
  349|   205k|        {
  350|   205k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|   205k|        {
  354|   205k|            return first_;
  355|   205k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|   205k|        {
  358|   205k|            return last_;
  359|   205k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3428|  50.9k|        {
 3429|  50.9k|            switch (storage_kind())
 3430|  50.9k|            {
 3431|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3431:17): [True: 0, False: 50.9k]
  ------------------
 3432|      0|                    return cast<byte_string_storage>().length() == 0;
 3433|      0|                    break;
 3434|      0|                case json_storage_kind::short_str:
  ------------------
  |  Branch (3434:17): [True: 0, False: 50.9k]
  ------------------
 3435|      0|                    return cast<short_string_storage>().length() == 0;
 3436|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3436:17): [True: 0, False: 50.9k]
  ------------------
 3437|      0|                    return cast<long_string_storage>().length() == 0;
 3438|  30.6k|                case json_storage_kind::array:
  ------------------
  |  Branch (3438:17): [True: 30.6k, False: 20.3k]
  ------------------
 3439|  30.6k|                    return cast<array_storage>().value().empty();
 3440|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3440:17): [True: 0, False: 50.9k]
  ------------------
 3441|      0|                    return true;
 3442|  20.3k|                case json_storage_kind::object:
  ------------------
  |  Branch (3442:17): [True: 20.3k, False: 30.6k]
  ------------------
 3443|  20.3k|                    return cast<object_storage>().value().empty();
 3444|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3444:17): [True: 0, False: 50.9k]
  ------------------
 3445|      0|                    return cast<const_json_ref_storage>().value().empty();
 3446|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3446:17): [True: 0, False: 50.9k]
  ------------------
 3447|      0|                    return cast<json_ref_storage>().value().empty();
 3448|      0|                default:
  ------------------
  |  Branch (3448:17): [True: 0, False: 50.9k]
  ------------------
 3449|      0|                    return false;
 3450|  50.9k|            }
 3451|  50.9k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1013|  30.6k|        {
 1014|  30.6k|            return cast(identity<T>());
 1015|  30.6k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1133|  30.6k|        {
 1134|  30.6k|            return array_;
 1135|  30.6k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  758|  30.6k|            {
  759|  30.6k|                return *ptr_;
  760|  30.6k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1013|  20.3k|        {
 1014|  20.3k|            return cast(identity<T>());
 1015|  20.3k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1123|  20.3k|        {
 1124|  20.3k|            return object_;
 1125|  20.3k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  804|  20.3k|            {
  805|  20.3k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   67|  20.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 20.3k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  806|  20.3k|                return *ptr_;
  807|  20.3k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4159|   243k|        {
 4160|   243k|            switch (storage_kind())
 4161|   243k|            {
 4162|   205k|                case json_storage_kind::array:
  ------------------
  |  Branch (4162:17): [True: 205k, False: 37.3k]
  ------------------
 4163|   205k|                    cast<array_storage>().value().clear();
 4164|   205k|                    break;
 4165|  37.3k|                case json_storage_kind::object:
  ------------------
  |  Branch (4165:17): [True: 37.3k, False: 205k]
  ------------------
 4166|  37.3k|                    cast<object_storage>().value().clear();
 4167|  37.3k|                    break;
 4168|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4168:17): [True: 0, False: 243k]
  ------------------
 4169|      0|                    cast<json_ref_storage>().value().clear();
 4170|      0|                    break;
 4171|      0|                default:
  ------------------
  |  Branch (4171:17): [True: 0, False: 243k]
  ------------------
 4172|      0|                    break;
 4173|   243k|            }
 4174|   243k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  798|   141k|            {
  799|   141k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   67|   141k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 141k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  800|   141k|                return *ptr_;
  801|   141k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4728|  37.3k|        {
 4729|  37.3k|            switch (storage_kind())
 4730|  37.3k|            {
 4731|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4731:17): [True: 0, False: 37.3k]
  ------------------
 4732|      0|                    return object_range_type(object_iterator(), object_iterator());
 4733|  37.3k|                case json_storage_kind::object:
  ------------------
  |  Branch (4733:17): [True: 37.3k, False: 0]
  ------------------
 4734|  37.3k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4735|  37.3k|                                                  object_iterator(cast<object_storage>().value().end()));
 4736|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4736:17): [True: 0, False: 37.3k]
  ------------------
 4737|      0|                    return cast<json_ref_storage>().value().object_range();
 4738|      0|                default:
  ------------------
  |  Branch (4738:17): [True: 0, False: 37.3k]
  ------------------
 4739|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4740|  37.3k|            }
 4741|  37.3k|        }
_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|  37.3k|            : first_(first), last_(last)
  349|  37.3k|        {
  350|  37.3k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|  74.7k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|  74.7k|            {
  120|  74.7k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  353|  37.3k|        {
  354|  37.3k|            return first_;
  355|  37.3k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  357|  37.3k|        {
  358|  37.3k|            return last_;
  359|  37.3k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|  89.6k|            {
  219|  89.6k|                return !(*this == rhs);
  220|  89.6k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|  89.6k|            {
  210|  89.6k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   78|   179k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 89.6k, False: 0]
  |  |  |  Branch (78:48): [True: 89.6k, False: 0]
  |  |  |  Branch (78:48): [True: 89.6k, False: 0]
  |  |  ------------------
  ------------------
  211|  89.6k|                {
  212|  89.6k|                    return current_ == rhs.current_;
  213|  89.6k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|  89.6k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  52.2k|            {
  141|  52.2k|                return *current_;
  142|  52.2k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  52.2k|            {
  151|  52.2k|                ++current_;
  152|  52.2k|                return *this;
  153|  52.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1007|  8.27M|        {
 1008|  8.27M|            return cast(identity<T>());
 1009|  8.27M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1118|  8.27M|        {
 1119|  8.27M|            return object_;
 1120|  8.27M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2278|  7.13k|        {
 2279|  7.13k|            construct<empty_object_storage>(semantic_tag::none);
 2280|  7.13k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  998|  7.13k|        {
  999|  7.13k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  7.13k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1007|  11.7k|        {
 1008|  11.7k|            return cast(identity<T>());
 1009|  11.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1028|  11.7k|        {
 1029|  11.7k|            return empty_object_;
 1030|  11.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  462|  7.13k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|  7.13k|            {
  464|  7.13k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3487|  22.6k|        {
 3488|  22.6k|            if (n > 0)
  ------------------
  |  Branch (3488:17): [True: 22.6k, False: 0]
  ------------------
 3489|  22.6k|            {
 3490|  22.6k|                switch (storage_kind())
 3491|  22.6k|                {
 3492|  22.6k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3492:21): [True: 22.6k, False: 0]
  ------------------
 3493|  22.6k|                        cast<array_storage>().value().reserve(n);
 3494|  22.6k|                        break;
 3495|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3495:21): [True: 0, False: 22.6k]
  ------------------
 3496|      0|                        create_object_implicitly();
 3497|      0|                        cast<object_storage>().value().reserve(n);
 3498|      0|                        break;
 3499|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3499:21): [True: 0, False: 22.6k]
  ------------------
 3500|      0|                        cast<object_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3502:21): [True: 0, False: 22.6k]
  ------------------
 3503|      0|                        cast<json_ref_storage>().value().reserve(n);
 3504|      0|                        break;
 3505|      0|                    default:
  ------------------
  |  Branch (3505:21): [True: 0, False: 22.6k]
  ------------------
 3506|      0|                        break;
 3507|  22.6k|                }
 3508|  22.6k|            }
 3509|  22.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2323|   996k|        {
 2324|   996k|            auto ptr = create_object(alloc);
 2325|   996k|            construct<object_storage>(ptr, tag);
 2326|   996k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  979|   996k|        {
  980|   996k|            using stor_allocator_type = typename object_storage::allocator_type;
  981|   996k|            stor_allocator_type stor_alloc(alloc);
  982|   996k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  983|   996k|            JSONCONS_TRY
  ------------------
  |  |   37|   996k|    #define JSONCONS_TRY try
  ------------------
  984|   996k|            {
  985|   996k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  986|   996k|                    std::forward<Args>(args)...);
  987|   996k|            }
  988|   996k|            JSONCONS_CATCH(...)
  989|   996k|            {
  990|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  991|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  992|      0|            }
  993|   996k|            return ptr;
  994|   996k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  998|   996k|        {
  999|   996k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   996k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  775|   996k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  776|   996k|            {
  777|   996k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4704|  3.07M|        {
 4705|  3.07M|            switch (storage_kind())
 4706|  3.07M|            {
 4707|  3.07M|                case json_storage_kind::array:
  ------------------
  |  Branch (4707:17): [True: 3.07M, False: 0]
  ------------------
 4708|  3.07M|                    cast<array_storage>().value().push_back(std::move(val));
 4709|  3.07M|                    break;
 4710|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4710:17): [True: 0, False: 3.07M]
  ------------------
 4711|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4712|      0|                    break;
 4713|      0|                default:
  ------------------
  |  Branch (4713:17): [True: 0, False: 3.07M]
  ------------------
 4714|      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
  ------------------
 4715|  3.07M|            }
 4716|  3.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1456|  23.6M|        {
 1457|  23.6M|            if (this != &other)
  ------------------
  |  Branch (1457:17): [True: 23.6M, False: 0]
  ------------------
 1458|  23.6M|            {
 1459|  23.6M|                move_assignment(std::move(other));
 1460|  23.6M|            }
 1461|  23.6M|            return *this;
 1462|  23.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1418|  23.6M|        {
 1419|  23.6M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1419:17): [True: 23.6M, False: 0]
  |  Branch (1419:55): [True: 21.4M, False: 2.17M]
  ------------------
 1420|  21.4M|            {
 1421|  21.4M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1422|  21.4M|            }
 1423|  2.17M|            else
 1424|  2.17M|            {
 1425|  2.17M|                swap(other);
 1426|  2.17M|            }
 1427|  23.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1937|  2.17M|        {
 1938|  2.17M|            if (this == &other)
  ------------------
  |  Branch (1938:17): [True: 0, False: 2.17M]
  ------------------
 1939|      0|            {
 1940|      0|                return;
 1941|      0|            }
 1942|  2.17M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1942:17): [True: 2.17M, False: 0]
  |  Branch (1942:55): [True: 0, False: 2.17M]
  ------------------
 1943|      0|            {
 1944|      0|                basic_json temp;               
 1945|      0|                std::memcpy(static_cast<void*>(&temp), static_cast<void*>(&other), sizeof(basic_json));
 1946|      0|                std::memcpy(static_cast<void*>(&other), static_cast<void*>(this), sizeof(basic_json));
 1947|      0|                std::memcpy(static_cast<void*>(this), static_cast<void*>(&temp), sizeof(basic_json));
 1948|      0|            }
 1949|  2.17M|            else
 1950|  2.17M|            {
 1951|  2.17M|                switch (storage_kind())
 1952|  2.17M|                {
 1953|  1.68M|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 1.68M, False: 490k]
  ------------------
 1954|  2.31k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 2.31k, False: 2.17M]
  ------------------
 1955|  51.7k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 51.7k, False: 2.12M]
  ------------------
 1956|  47.6k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 47.6k, False: 2.12M]
  ------------------
 1957|   381k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 381k, False: 1.79M]
  ------------------
 1958|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 2.17M]
  ------------------
 1959|  1.72k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 1.72k, False: 2.17M]
  ------------------
 1960|  4.94k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 4.94k, False: 2.17M]
  ------------------
 1961|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 2.17M]
  ------------------
 1962|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 2.17M]
  ------------------
 1963|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 2.17M]
  ------------------
 1964|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1964:21): [True: 0, False: 2.17M]
  ------------------
 1965|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1965:21): [True: 0, False: 2.17M]
  ------------------
 1966|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1966:21): [True: 0, False: 2.17M]
  ------------------
 1967|      0|                    default:
  ------------------
  |  Branch (1967:21): [True: 0, False: 2.17M]
  ------------------
 1968|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1969|      0|                        break;
 1970|  2.17M|                }
 1971|  2.17M|            }
 1972|  2.17M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1173|  1.68M|        {
 1174|  1.68M|            switch (other.storage_kind())
 1175|  1.68M|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 1.68M]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 1.68M]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.68M]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.68M]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.68M]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 1.68M]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 1.68M]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 1.68M]
  ------------------
 1184|  5.11k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 5.11k, False: 1.68M]
  ------------------
 1185|  20.9k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 20.9k, False: 1.66M]
  ------------------
 1186|  1.37M|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 1.37M, False: 310k]
  ------------------
 1187|   284k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 284k, False: 1.40M]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 1.68M]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 1.68M]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 1.68M]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  1.68M|            }
 1194|  1.68M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  998|  1.68M|        {
  999|  1.68M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  1.68M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  998|  2.31k|        {
  999|  2.31k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  2.31k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1007|  4.13M|        {
 1008|  4.13M|            return cast(identity<T>());
 1009|  4.13M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1038|  4.13M|        {
 1039|  4.13M|            return boolean_;
 1040|  4.13M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  998|  51.7k|        {
  999|  51.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  51.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1007|  5.98M|        {
 1008|  5.98M|            return cast(identity<T>());
 1009|  5.98M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1048|  5.98M|        {
 1049|  5.98M|            return int64_;
 1050|  5.98M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  998|  47.6k|        {
  999|  47.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  47.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1007|  23.9M|        {
 1008|  23.9M|            return cast(identity<T>());
 1009|  23.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1058|  23.9M|        {
 1059|  23.9M|            return uint64_;
 1060|  23.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  998|   381k|        {
  999|   381k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   381k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1007|  13.2k|        {
 1008|  13.2k|            return cast(identity<T>());
 1009|  13.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1078|  13.2k|        {
 1079|  13.2k|            return float64_;
 1080|  13.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  998|  1.72k|        {
  999|  1.72k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  1.72k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1007|  3.39M|        {
 1008|  3.39M|            return cast(identity<T>());
 1009|  3.39M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1088|  3.39M|        {
 1089|  3.39M|            return short_str_;
 1090|  3.39M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  588|  4.94k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  589|  4.94k|            {
  590|  4.94k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  591|  4.94k|                data_[short_str_length_] = 0;
  592|  4.94k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  998|  4.94k|        {
  999|  4.94k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  4.94k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1159|  5.11k|        {
 1160|  5.11k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  5.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  5.11k|        {
 1166|  5.11k|            TypeR temp{other.cast<TypeR>()};
 1167|  5.11k|            other.construct<TypeL>(cast<TypeL>());
 1168|  5.11k|            construct<TypeR>(temp);
 1169|  5.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1159|  20.9k|        {
 1160|  20.9k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  20.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  20.9k|        {
 1166|  20.9k|            TypeR temp{other.cast<TypeR>()};
 1167|  20.9k|            other.construct<TypeL>(cast<TypeL>());
 1168|  20.9k|            construct<TypeR>(temp);
 1169|  20.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1159|  1.37M|        {
 1160|  1.37M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  1.37M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  1.37M|        {
 1166|  1.37M|            TypeR temp{other.cast<TypeR>()};
 1167|  1.37M|            other.construct<TypeL>(cast<TypeL>());
 1168|  1.37M|            construct<TypeR>(temp);
 1169|  1.37M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1159|   284k|        {
 1160|   284k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|   284k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|   284k|        {
 1166|   284k|            TypeR temp{other.cast<TypeR>()};
 1167|   284k|            other.construct<TypeL>(cast<TypeL>());
 1168|   284k|            construct<TypeR>(temp);
 1169|   284k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1173|  2.31k|        {
 1174|  2.31k|            switch (other.storage_kind())
 1175|  2.31k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.31k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.31k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.31k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.31k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.31k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.31k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.31k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 2.31k]
  ------------------
 1184|    744|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 744, False: 1.57k]
  ------------------
 1185|     16|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 16, False: 2.30k]
  ------------------
 1186|    232|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 232, False: 2.08k]
  ------------------
 1187|  1.32k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 1.32k, False: 992]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 2.31k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 2.31k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 2.31k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  2.31k|            }
 1194|  2.31k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1159|    744|        {
 1160|    744|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    744|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    744|        {
 1166|    744|            TypeR temp{other.cast<TypeR>()};
 1167|    744|            other.construct<TypeL>(cast<TypeL>());
 1168|    744|            construct<TypeR>(temp);
 1169|    744|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvRS5_:
 1159|     16|        {
 1160|     16|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|     16|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|     16|        {
 1166|     16|            TypeR temp{other.cast<TypeR>()};
 1167|     16|            other.construct<TypeL>(cast<TypeL>());
 1168|     16|            construct<TypeR>(temp);
 1169|     16|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1159|    232|        {
 1160|    232|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    232|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    232|        {
 1166|    232|            TypeR temp{other.cast<TypeR>()};
 1167|    232|            other.construct<TypeL>(cast<TypeL>());
 1168|    232|            construct<TypeR>(temp);
 1169|    232|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1159|  1.32k|        {
 1160|  1.32k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  1.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  1.32k|        {
 1166|  1.32k|            TypeR temp{other.cast<TypeR>()};
 1167|  1.32k|            other.construct<TypeL>(cast<TypeL>());
 1168|  1.32k|            construct<TypeR>(temp);
 1169|  1.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1173|  51.7k|        {
 1174|  51.7k|            switch (other.storage_kind())
 1175|  51.7k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 51.7k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 51.7k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 51.7k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 51.7k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 51.7k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 51.7k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 51.7k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 51.7k]
  ------------------
 1184|    287|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 287, False: 51.4k]
  ------------------
 1185|    944|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 944, False: 50.7k]
  ------------------
 1186|  43.8k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 43.8k, False: 7.81k]
  ------------------
 1187|  6.58k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 6.58k, False: 45.1k]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 51.7k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 51.7k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 51.7k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  51.7k|            }
 1194|  51.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1159|    287|        {
 1160|    287|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    287|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    287|        {
 1166|    287|            TypeR temp{other.cast<TypeR>()};
 1167|    287|            other.construct<TypeL>(cast<TypeL>());
 1168|    287|            construct<TypeR>(temp);
 1169|    287|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1159|    944|        {
 1160|    944|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    944|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    944|        {
 1166|    944|            TypeR temp{other.cast<TypeR>()};
 1167|    944|            other.construct<TypeL>(cast<TypeL>());
 1168|    944|            construct<TypeR>(temp);
 1169|    944|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1159|  43.8k|        {
 1160|  43.8k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  43.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  43.8k|        {
 1166|  43.8k|            TypeR temp{other.cast<TypeR>()};
 1167|  43.8k|            other.construct<TypeL>(cast<TypeL>());
 1168|  43.8k|            construct<TypeR>(temp);
 1169|  43.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1159|  6.58k|        {
 1160|  6.58k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  6.58k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  6.58k|        {
 1166|  6.58k|            TypeR temp{other.cast<TypeR>()};
 1167|  6.58k|            other.construct<TypeL>(cast<TypeL>());
 1168|  6.58k|            construct<TypeR>(temp);
 1169|  6.58k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1173|  47.6k|        {
 1174|  47.6k|            switch (other.storage_kind())
 1175|  47.6k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 47.6k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 47.6k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 47.6k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 47.6k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 47.6k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 47.6k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 47.6k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 47.6k]
  ------------------
 1184|  2.50k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 2.50k, False: 45.1k]
  ------------------
 1185|  2.74k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 2.74k, False: 44.9k]
  ------------------
 1186|  28.9k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 28.9k, False: 18.6k]
  ------------------
 1187|  13.4k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 13.4k, False: 34.2k]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 47.6k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 47.6k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 47.6k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  47.6k|            }
 1194|  47.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1159|  2.50k|        {
 1160|  2.50k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  2.50k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  2.50k|        {
 1166|  2.50k|            TypeR temp{other.cast<TypeR>()};
 1167|  2.50k|            other.construct<TypeL>(cast<TypeL>());
 1168|  2.50k|            construct<TypeR>(temp);
 1169|  2.50k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1159|  2.74k|        {
 1160|  2.74k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  2.74k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  2.74k|        {
 1166|  2.74k|            TypeR temp{other.cast<TypeR>()};
 1167|  2.74k|            other.construct<TypeL>(cast<TypeL>());
 1168|  2.74k|            construct<TypeR>(temp);
 1169|  2.74k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1159|  28.9k|        {
 1160|  28.9k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  28.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  28.9k|        {
 1166|  28.9k|            TypeR temp{other.cast<TypeR>()};
 1167|  28.9k|            other.construct<TypeL>(cast<TypeL>());
 1168|  28.9k|            construct<TypeR>(temp);
 1169|  28.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1159|  13.4k|        {
 1160|  13.4k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  13.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  13.4k|        {
 1166|  13.4k|            TypeR temp{other.cast<TypeR>()};
 1167|  13.4k|            other.construct<TypeL>(cast<TypeL>());
 1168|  13.4k|            construct<TypeR>(temp);
 1169|  13.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1173|   381k|        {
 1174|   381k|            switch (other.storage_kind())
 1175|   381k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 381k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 381k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 381k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 381k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 381k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 381k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 381k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 381k]
  ------------------
 1184|  7.93k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 7.93k, False: 373k]
  ------------------
 1185|  11.3k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 11.3k, False: 370k]
  ------------------
 1186|   294k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 294k, False: 87.8k]
  ------------------
 1187|  68.5k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 68.5k, False: 313k]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 381k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 381k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 381k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|   381k|            }
 1194|   381k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1159|  7.93k|        {
 1160|  7.93k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  7.93k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  7.93k|        {
 1166|  7.93k|            TypeR temp{other.cast<TypeR>()};
 1167|  7.93k|            other.construct<TypeL>(cast<TypeL>());
 1168|  7.93k|            construct<TypeR>(temp);
 1169|  7.93k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1159|  11.3k|        {
 1160|  11.3k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  11.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  11.3k|        {
 1166|  11.3k|            TypeR temp{other.cast<TypeR>()};
 1167|  11.3k|            other.construct<TypeL>(cast<TypeL>());
 1168|  11.3k|            construct<TypeR>(temp);
 1169|  11.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1159|   294k|        {
 1160|   294k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|   294k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|   294k|        {
 1166|   294k|            TypeR temp{other.cast<TypeR>()};
 1167|   294k|            other.construct<TypeL>(cast<TypeL>());
 1168|   294k|            construct<TypeR>(temp);
 1169|   294k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1159|  68.5k|        {
 1160|  68.5k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  68.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  68.5k|        {
 1166|  68.5k|            TypeR temp{other.cast<TypeR>()};
 1167|  68.5k|            other.construct<TypeL>(cast<TypeL>());
 1168|  68.5k|            construct<TypeR>(temp);
 1169|  68.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1173|  1.72k|        {
 1174|  1.72k|            switch (other.storage_kind())
 1175|  1.72k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 1.72k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 1.72k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.72k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.72k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.72k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 1.72k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 1.72k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 1.72k]
  ------------------
 1184|    222|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 222, False: 1.50k]
  ------------------
 1185|    639|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 639, False: 1.08k]
  ------------------
 1186|    530|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 530, False: 1.19k]
  ------------------
 1187|    337|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 337, False: 1.39k]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 1.72k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 1.72k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 1.72k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  1.72k|            }
 1194|  1.72k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1159|    222|        {
 1160|    222|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    222|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    222|        {
 1166|    222|            TypeR temp{other.cast<TypeR>()};
 1167|    222|            other.construct<TypeL>(cast<TypeL>());
 1168|    222|            construct<TypeR>(temp);
 1169|    222|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1159|    639|        {
 1160|    639|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    639|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    639|        {
 1166|    639|            TypeR temp{other.cast<TypeR>()};
 1167|    639|            other.construct<TypeL>(cast<TypeL>());
 1168|    639|            construct<TypeR>(temp);
 1169|    639|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1159|    530|        {
 1160|    530|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    530|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    530|        {
 1166|    530|            TypeR temp{other.cast<TypeR>()};
 1167|    530|            other.construct<TypeL>(cast<TypeL>());
 1168|    530|            construct<TypeR>(temp);
 1169|    530|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1159|    337|        {
 1160|    337|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    337|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    337|        {
 1166|    337|            TypeR temp{other.cast<TypeR>()};
 1167|    337|            other.construct<TypeL>(cast<TypeL>());
 1168|    337|            construct<TypeR>(temp);
 1169|    337|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1173|  4.94k|        {
 1174|  4.94k|            switch (other.storage_kind())
 1175|  4.94k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 4.94k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 4.94k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 4.94k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 4.94k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 4.94k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 4.94k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 4.94k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 4.94k]
  ------------------
 1184|    571|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 571, False: 4.37k]
  ------------------
 1185|    771|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 771, False: 4.17k]
  ------------------
 1186|  1.53k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 1.53k, False: 3.41k]
  ------------------
 1187|  2.07k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 2.07k, False: 2.87k]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 4.94k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 4.94k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 4.94k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  4.94k|            }
 1194|  4.94k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1159|    571|        {
 1160|    571|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    571|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    571|        {
 1166|    571|            TypeR temp{other.cast<TypeR>()};
 1167|    571|            other.construct<TypeL>(cast<TypeL>());
 1168|    571|            construct<TypeR>(temp);
 1169|    571|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1159|    771|        {
 1160|    771|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    771|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    771|        {
 1166|    771|            TypeR temp{other.cast<TypeR>()};
 1167|    771|            other.construct<TypeL>(cast<TypeL>());
 1168|    771|            construct<TypeR>(temp);
 1169|    771|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1159|  1.53k|        {
 1160|  1.53k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  1.53k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  1.53k|        {
 1166|  1.53k|            TypeR temp{other.cast<TypeR>()};
 1167|  1.53k|            other.construct<TypeL>(cast<TypeL>());
 1168|  1.53k|            construct<TypeR>(temp);
 1169|  1.53k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1159|  2.07k|        {
 1160|  2.07k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  2.07k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  2.07k|        {
 1166|  2.07k|            TypeR temp{other.cast<TypeR>()};
 1167|  2.07k|            other.construct<TypeL>(cast<TypeL>());
 1168|  2.07k|            construct<TypeR>(temp);
 1169|  2.07k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2617|  23.1M|        {
 2618|  23.1M|            construct<uint64_storage>(val, tag);
 2619|  23.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  998|  23.1M|        {
  999|  23.1M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  23.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  23.1M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  23.1M|                  val_(val)
  518|  23.1M|            {
  519|  23.1M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2648|  5.89M|        {
 2649|  5.89M|            construct<int64_storage>(val, tag);
 2650|  5.89M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  998|  5.89M|        {
  999|  5.89M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  5.89M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  496|  5.89M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  497|  5.89M|                  val_(val)
  498|  5.89M|            {
  499|  5.89M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2605|  9.76k|        {
 2606|  9.76k|            construct<double_storage>(val, tag);
 2607|  9.76k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  998|  9.76k|        {
  999|  9.76k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  9.76k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  555|  9.76k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  556|  9.76k|                  val_(val)
  557|  9.76k|            {
  558|  9.76k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2404|  4.23M|        {
 2405|  4.23M|            auto ptr = create_array(Allocator());
 2406|  4.23M|            construct<array_storage>(ptr, tag);
 2407|  4.23M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  960|  4.23M|        {
  961|  4.23M|            using stor_allocator_type = typename array_storage::allocator_type;
  962|  4.23M|            stor_allocator_type stor_alloc(alloc);
  963|  4.23M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  964|  4.23M|            JSONCONS_TRY
  ------------------
  |  |   37|  4.23M|    #define JSONCONS_TRY try
  ------------------
  965|  4.23M|            {
  966|  4.23M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  967|  4.23M|                    std::forward<Args>(args)...);
  968|  4.23M|            }
  969|  4.23M|            JSONCONS_CATCH(...)
  970|  4.23M|            {
  971|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  972|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  973|      0|            }
  974|  4.23M|            return ptr;
  975|  4.23M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  998|  4.23M|        {
  999|  4.23M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  4.23M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  725|  4.23M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  726|  4.23M|            {
  727|  4.23M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2694|   404k|        {
 2695|   404k|            construct<null_storage>(tag);
 2696|   404k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  998|   404k|        {
  999|   404k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   404k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2704|  4.03M|        {
 2705|  4.03M|            construct<bool_storage>(val,tag);
 2706|  4.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  998|  4.03M|        {
  999|  4.03M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  4.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|  4.03M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|  4.03M|                  val_(val)
  477|  4.03M|            {
  478|  4.03M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2552|  3.39M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2553|  3.39M|        {
 2554|  3.39M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2582|  3.39M|        {
 2583|  3.39M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2583:17): [True: 3.38M, False: 9.00k]
  ------------------
 2584|  3.38M|            {
 2585|  3.38M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2586|  3.38M|            }
 2587|  9.00k|            else
 2588|  9.00k|            {
 2589|  9.00k|                auto ptr = create_long_string(alloc, s, length);
 2590|  9.00k|                construct<long_string_storage>(ptr, tag);
 2591|  9.00k|            }
 2592|  3.39M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  998|  3.38M|        {
  999|  3.38M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  3.38M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  3.38M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  3.38M|            {
  579|  3.38M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   67|  3.38M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 3.38M]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  580|  3.38M|                if (length > 0)
  ------------------
  |  Branch (580:21): [True: 1.53k, False: 3.38M]
  ------------------
  581|  1.53k|                {
  582|  1.53k|                    std::memcpy(data_,p,length*sizeof(char_type));
  583|  1.53k|                }
  584|  3.38M|                data_[length] = 0;
  585|  3.38M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  946|  9.00k|        {
  947|  9.00k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  948|  9.00k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  949|  9.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  998|  9.00k|        {
  999|  9.00k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  9.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  624|  9.00k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  625|  9.00k|            {
  626|  9.00k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2714|    826|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2715|    826|        {
 2716|    826|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2722|  97.5k|        {
 2723|  97.5k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2724|       |            
 2725|  97.5k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2726|  97.5k|            construct<byte_string_storage>(ptr, tag);
 2727|  97.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  953|   562k|        {
  954|   562k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  955|   562k|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  956|   562k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
  998|  97.5k|        {
  999|  97.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  97.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  673|   562k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  674|   562k|            {
  675|   562k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2734|      8|        {
 2735|      8|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2736|       |
 2737|      8|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0);
 2738|      8|            construct<byte_string_storage>(ptr, tag);
 2739|      8|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2745|   464k|        {
 2746|   464k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2747|       |
 2748|   464k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2749|   464k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2750|   464k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  998|   464k|        {
  999|   464k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   464k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mRKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2757|      8|        {
 2758|      8|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2759|       |
 2760|      8|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), raw_tag);
 2761|      8|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2762|      8|        }

_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEET_PT0_:
  264|  9.00k|    {
  265|  9.00k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  266|  9.00k|        return std::launder(reinterpret_cast<T>(u));
  267|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  268|       |        return __builtin_launder(reinterpret_cast<T>(u));
  269|       |    #else
  270|       |        return reinterpret_cast<T>(u);
  271|       |    #endif
  272|  9.00k|    }
_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEET_PT0_:
  264|   562k|    {
  265|   562k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  266|   562k|        return std::launder(reinterpret_cast<T>(u));
  267|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  268|       |        return __builtin_launder(reinterpret_cast<T>(u));
  269|       |    #else
  270|       |        return reinterpret_cast<T>(u);
  271|       |    #endif
  272|   562k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  264|  9.00k|    {
  265|  9.00k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  266|  9.00k|        return std::launder(reinterpret_cast<T>(u));
  267|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  268|       |        return __builtin_launder(reinterpret_cast<T>(u));
  269|       |    #else
  270|       |        return reinterpret_cast<T>(u);
  271|       |    #endif
  272|  9.00k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  264|   562k|    {
  265|   562k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  266|   562k|        return std::launder(reinterpret_cast<T>(u));
  267|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  268|       |        return __builtin_launder(reinterpret_cast<T>(u));
  269|       |    #else
  270|       |        return reinterpret_cast<T>(u);
  271|       |    #endif
  272|   562k|    }

_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  855|  7.13k|            : destination_(std::addressof(visitor)), 
  856|  7.13k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  857|  7.13k|        {
  858|  7.13k|            level_stack_.emplace_back(json_target_kind::destination,json_structure_kind::root); // root
  859|  7.13k|        }
_ZN8jsoncons21basic_generic_visitorIcEC2Ev:
   52|  7.13k|    basic_generic_visitor() = default;
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  294|  6.98M|    {
  295|  6.98M|        visit_begin_array(length, tag, context, ec);
  296|  6.98M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  6.98M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  297|  6.98M|    }
_ZN8jsoncons21basic_generic_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  363|  42.6M|    {
  364|  42.6M|        visit_uint64(value, tag, context, ec);
  365|  42.6M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  42.6M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  42.6M|    }
_ZN8jsoncons21basic_generic_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  300|  6.95M|    {
  301|  6.95M|        visit_end_array(context, ec);
  302|  6.95M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  6.95M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  6.95M|    }
_ZN8jsoncons21basic_generic_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  372|  7.60M|    {
  373|  7.60M|        visit_int64(value, tag, context, ec);
  374|  7.60M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  7.60M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  375|  7.60M|    }
_ZN8jsoncons21basic_generic_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  390|  66.8k|    {
  391|  66.8k|        visit_double(value, tag, context, ec);
  392|  66.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  66.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  393|  66.8k|    }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structureC2ENS4_16json_target_kindENS4_19json_structure_kindE:
  798|  8.26M|                : target_kind_(state), structure_kind_(type), even_odd_(type == json_structure_kind::object ? 0 : 1)
  ------------------
  |  Branch (798:73): [True: 1.27M, False: 6.98M]
  ------------------
  799|  8.26M|            {
  800|  8.26M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1008|  6.98M|        {
 1009|  6.98M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1009:17): [True: 831k, False: 6.15M]
  ------------------
 1010|   831k|            {
 1011|   831k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1011:21): [True: 484k, False: 346k]
  |  Branch (1011:86): [True: 481k, False: 3.25k]
  ------------------
 1012|   481k|                {
 1013|   481k|                    key_buffer_.push_back(',');
 1014|   481k|                }
 1015|   831k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1016|   831k|                key_buffer_.push_back('[');
 1017|   831k|            }
 1018|  6.15M|            else
 1019|  6.15M|            {
 1020|  6.15M|                switch (level_stack_.back().target_kind())
 1021|  6.15M|                {
 1022|  1.91M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1022:21): [True: 1.91M, False: 4.23M]
  ------------------
 1023|  1.91M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1023:29): [True: 1.43M, False: 482k]
  |  Branch (1023:65): [True: 1.40M, False: 27.4k]
  ------------------
 1024|  1.40M|                        {
 1025|  1.40M|                            key_buffer_.push_back(',');
 1026|  1.40M|                        }
 1027|  1.91M|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1028|  1.91M|                        key_buffer_.push_back('[');
 1029|  1.91M|                        break;
 1030|  4.23M|                    default:
  ------------------
  |  Branch (1030:21): [True: 4.23M, False: 1.91M]
  ------------------
 1031|  4.23M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1032|  4.23M|                        destination_->begin_array(length, tag, context, ec);
 1033|  4.23M|                        break;
 1034|  6.15M|                }
 1035|  6.15M|            }
 1036|  6.98M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  6.98M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1037|  6.98M|        }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure6is_keyEv:
  815|   267M|            {
  816|   267M|                return even_odd_ == 0;
  817|   267M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure11target_kindEv:
  825|   174M|            {
  826|   174M|                return target_kind_;
  827|   174M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure5countEv:
  830|  38.6M|            {
  831|  38.6M|                return count_;
  832|  38.6M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure9is_objectEv:
  820|   131M|            {
  821|   131M|                return structure_kind_ == json_structure_kind::object;
  822|   131M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1040|  6.95M|        {
 1041|  6.95M|            switch (level_stack_.back().target_kind())
 1042|  6.95M|            {
 1043|  2.74M|                case json_target_kind::buffer:
  ------------------
  |  Branch (1043:17): [True: 2.74M, False: 4.21M]
  ------------------
 1044|  2.74M|                    key_buffer_.push_back(']');
 1045|  2.74M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   67|  2.74M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 2.74M]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1046|  2.74M|                    level_stack_.pop_back();
 1047|  2.74M|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (1047:25): [True: 346k, False: 2.39M]
  ------------------
 1048|   346k|                    {
 1049|   346k|                        destination_->key(key_buffer_, context, ec);
 1050|   346k|                        key_buffer_.clear();
 1051|   346k|                    }
 1052|  2.39M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1052:30): [True: 483k, False: 1.91M]
  ------------------
 1053|   483k|                    {
 1054|   483k|                        key_buffer_.push_back(':');
 1055|   483k|                    }
 1056|  2.74M|                    level_stack_.back().advance();
 1057|  2.74M|                    break;
 1058|  4.21M|                default:
  ------------------
  |  Branch (1058:17): [True: 4.21M, False: 2.74M]
  ------------------
 1059|  4.21M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   67|  4.21M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 4.21M]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1060|  4.21M|                    level_stack_.pop_back();
 1061|  4.21M|                    level_stack_.back().advance();
 1062|  4.21M|                    destination_->end_array(context, ec);
 1063|  4.21M|                    break;
 1064|  6.95M|            }
 1065|  6.95M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  6.95M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1066|  6.95M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure7advanceEv:
  803|  92.4M|            {
  804|  92.4M|                if (!is_key())
  ------------------
  |  Branch (804:21): [True: 81.3M, False: 11.1M]
  ------------------
  805|  81.3M|                {
  806|  81.3M|                    ++count_;
  807|  81.3M|                }
  808|  92.4M|                if (is_object())
  ------------------
  |  Branch (808:21): [True: 22.1M, False: 70.2M]
  ------------------
  809|  22.1M|                {
  810|  22.1M|                    even_odd_ = !even_odd_;
  811|  22.1M|                }
  812|  92.4M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1233|  42.6M|        {
 1234|  42.6M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1234:17): [True: 7.92M, False: 34.7M]
  |  Branch (1234:49): [True: 11.5M, False: 23.1M]
  ------------------
 1235|  19.5M|            {
 1236|  19.5M|                key_.clear();
 1237|  19.5M|                jsoncons::append_to_string(value,key_);
 1238|  19.5M|            }
 1239|       |
 1240|  42.6M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1240:17): [True: 7.92M, False: 34.7M]
  ------------------
 1241|  7.92M|            {
 1242|  7.92M|                switch (level_stack_.back().target_kind())
 1243|  7.92M|                {
 1244|  3.98M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1244:21): [True: 3.98M, False: 3.93M]
  ------------------
 1245|  3.98M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1245:29): [True: 3.97M, False: 16.1k]
  ------------------
 1246|  3.97M|                        {
 1247|  3.97M|                            key_buffer_.push_back(',');
 1248|  3.97M|                        }
 1249|  3.98M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1250|  3.98M|                        key_buffer_.push_back(':');
 1251|  3.98M|                        break;
 1252|  3.93M|                    default:
  ------------------
  |  Branch (1252:21): [True: 3.93M, False: 3.98M]
  ------------------
 1253|  3.93M|                        destination_->key(key_, context, ec);
 1254|  3.93M|                        break;
 1255|  7.92M|                }
 1256|  7.92M|            }
 1257|  34.7M|            else
 1258|  34.7M|            {
 1259|  34.7M|                switch (level_stack_.back().target_kind())
 1260|  34.7M|                {
 1261|  11.5M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1261:21): [True: 11.5M, False: 23.1M]
  ------------------
 1262|  11.5M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1262:29): [True: 7.60M, False: 3.98M]
  |  Branch (1262:65): [True: 7.58M, False: 14.7k]
  ------------------
 1263|  7.58M|                        {
 1264|  7.58M|                            key_buffer_.push_back(',');
 1265|  7.58M|                        }
 1266|  11.5M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1267|  11.5M|                        break;
 1268|  23.1M|                    default:
  ------------------
  |  Branch (1268:21): [True: 23.1M, False: 11.5M]
  ------------------
 1269|  23.1M|                        destination_->uint64_value(value, tag, context, ec);
 1270|  23.1M|                        break;
 1271|  34.7M|                }
 1272|  34.7M|            }
 1273|       |
 1274|  42.6M|            level_stack_.back().advance();
 1275|  42.6M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  42.6M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1276|  42.6M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1279|  7.60M|        {
 1280|  7.60M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1280:17): [True: 530k, False: 7.07M]
  |  Branch (1280:49): [True: 1.18M, False: 5.89M]
  ------------------
 1281|  1.71M|            {
 1282|  1.71M|                key_.clear();
 1283|  1.71M|                jsoncons::append_to_string(value,key_);
 1284|  1.71M|            }
 1285|       |
 1286|  7.60M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1286:17): [True: 530k, False: 7.07M]
  ------------------
 1287|   530k|            {
 1288|   530k|                switch (level_stack_.back().target_kind())
 1289|   530k|                {
 1290|   314k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1290:21): [True: 314k, False: 216k]
  ------------------
 1291|   314k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1291:29): [True: 302k, False: 12.0k]
  ------------------
 1292|   302k|                        {
 1293|   302k|                            key_buffer_.push_back(',');
 1294|   302k|                        }
 1295|   314k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1296|   314k|                        key_buffer_.push_back(':');
 1297|   314k|                        break;
 1298|   216k|                    default:
  ------------------
  |  Branch (1298:21): [True: 216k, False: 314k]
  ------------------
 1299|   216k|                        destination_->key(key_, context, ec);
 1300|   216k|                        break;
 1301|   530k|                }
 1302|   530k|            }
 1303|  7.07M|            else
 1304|  7.07M|            {
 1305|  7.07M|                switch (level_stack_.back().target_kind())
 1306|  7.07M|                {
 1307|  1.18M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1307:21): [True: 1.18M, False: 5.89M]
  ------------------
 1308|  1.18M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1308:29): [True: 870k, False: 311k]
  |  Branch (1308:65): [True: 868k, False: 1.59k]
  ------------------
 1309|   868k|                        {
 1310|   868k|                            key_buffer_.push_back(',');
 1311|   868k|                        }
 1312|  1.18M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1313|  1.18M|                        break;
 1314|  5.89M|                    default:
  ------------------
  |  Branch (1314:21): [True: 5.89M, False: 1.18M]
  ------------------
 1315|  5.89M|                        destination_->int64_value(value, tag, context, ec);
 1316|  5.89M|                        break;
 1317|  7.07M|                }
 1318|  7.07M|            }
 1319|       |
 1320|  7.60M|            level_stack_.back().advance();
 1321|  7.60M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  7.60M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1322|  7.60M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1374|  66.8k|        {
 1375|  66.8k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1375:17): [True: 24.2k, False: 42.6k]
  |  Branch (1375:49): [True: 32.8k, False: 9.76k]
  ------------------
 1376|  57.0k|            {
 1377|  57.0k|                key_.clear();
 1378|  57.0k|                string_sink<string_type> sink(key_);
 1379|  57.0k|                jsoncons::write_double f{float_chars_format::general,0};
 1380|  57.0k|                f(value, sink);
 1381|  57.0k|            }
 1382|       |
 1383|  66.8k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1383:17): [True: 24.2k, False: 42.6k]
  ------------------
 1384|  24.2k|            {
 1385|  24.2k|                switch (level_stack_.back().target_kind())
 1386|  24.2k|                {
 1387|  17.2k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1387:21): [True: 17.2k, False: 6.96k]
  ------------------
 1388|  17.2k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1388:29): [True: 10.8k, False: 6.42k]
  ------------------
 1389|  10.8k|                        {
 1390|  10.8k|                            key_buffer_.push_back(',');
 1391|  10.8k|                        }
 1392|  17.2k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1393|  17.2k|                        key_buffer_.push_back(':');
 1394|  17.2k|                        break;
 1395|  6.96k|                    default:
  ------------------
  |  Branch (1395:21): [True: 6.96k, False: 17.2k]
  ------------------
 1396|  6.96k|                        destination_->key(key_, context, ec);
 1397|  6.96k|                        break;
 1398|  24.2k|                }
 1399|  24.2k|            }
 1400|  42.6k|            else
 1401|  42.6k|            {
 1402|  42.6k|                switch (level_stack_.back().target_kind())
 1403|  42.6k|                {
 1404|  32.8k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1404:21): [True: 32.8k, False: 9.76k]
  ------------------
 1405|  32.8k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1405:29): [True: 20.7k, False: 12.0k]
  |  Branch (1405:65): [True: 19.2k, False: 1.48k]
  ------------------
 1406|  19.2k|                        {
 1407|  19.2k|                            key_buffer_.push_back(',');
 1408|  19.2k|                        }
 1409|  32.8k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1410|  32.8k|                        break;
 1411|  9.76k|                    default:
  ------------------
  |  Branch (1411:21): [True: 9.76k, False: 32.8k]
  ------------------
 1412|  9.76k|                        destination_->double_value(value, tag, context, ec);
 1413|  9.76k|                        break;
 1414|  42.6k|                }
 1415|  42.6k|            }
 1416|       |
 1417|  66.8k|            level_stack_.back().advance();
 1418|  66.8k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  66.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1419|  66.8k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  881|  2.42k|        {
  882|  2.42k|            destination_->flush();
  883|  2.42k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  914|  1.27M|        {
  915|  1.27M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (915:17): [True: 143k, False: 1.13M]
  ------------------
  916|   143k|            {
  917|   143k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (917:21): [True: 41.2k, False: 101k]
  |  Branch (917:86): [True: 30.7k, False: 10.5k]
  ------------------
  918|  30.7k|                {
  919|  30.7k|                    key_buffer_.push_back(',');
  920|  30.7k|                }
  921|   143k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  922|   143k|                key_buffer_.push_back('{');
  923|   143k|            }
  924|  1.13M|            else
  925|  1.13M|            {
  926|  1.13M|                switch (level_stack_.back().target_kind())
  927|  1.13M|                {
  928|   138k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (928:21): [True: 138k, False: 996k]
  ------------------
  929|   138k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (929:29): [True: 82.6k, False: 55.6k]
  |  Branch (929:65): [True: 79.8k, False: 2.78k]
  ------------------
  930|  79.8k|                        {
  931|  79.8k|                            key_buffer_.push_back(',');
  932|  79.8k|                        }
  933|   138k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  934|   138k|                        key_buffer_.push_back('{');
  935|   138k|                        break;
  936|   996k|                    default:
  ------------------
  |  Branch (936:21): [True: 996k, False: 138k]
  ------------------
  937|   996k|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  938|   996k|                        destination_->begin_object(length, tag, context, ec);
  939|   996k|                        break;
  940|  1.13M|                }
  941|  1.13M|            }
  942|  1.27M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.27M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  943|  1.27M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  946|  1.26M|        {
  947|  1.26M|            switch (level_stack_.back().target_kind())
  948|  1.26M|            {
  949|   270k|                case json_target_kind::buffer:
  ------------------
  |  Branch (949:17): [True: 270k, False: 989k]
  ------------------
  950|   270k|                    key_buffer_.push_back('}');
  951|   270k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   67|   270k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 270k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  952|   270k|                    level_stack_.pop_back();
  953|       |                    
  954|   270k|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (954:25): [True: 100k, False: 169k]
  ------------------
  955|   100k|                    {
  956|   100k|                        destination_->key(key_buffer_,context, ec);
  957|   100k|                        key_buffer_.clear();
  958|   100k|                    }
  959|   169k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (959:30): [True: 37.8k, False: 131k]
  ------------------
  960|  37.8k|                    {
  961|  37.8k|                        key_buffer_.push_back(':');
  962|  37.8k|                    }
  963|   270k|                    level_stack_.back().advance();
  964|   270k|                    break;
  965|   989k|                default:
  ------------------
  |  Branch (965:17): [True: 989k, False: 270k]
  ------------------
  966|   989k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   67|   989k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 989k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  967|   989k|                    level_stack_.pop_back();
  968|   989k|                    level_stack_.back().advance();
  969|   989k|                    destination_->end_object(context, ec);
  970|   989k|                    break;
  971|  1.26M|            }
  972|  1.26M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.26M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  973|  1.26M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1475|  1.18M|        {
 1476|  1.18M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1476:17): [True: 265k, False: 915k]
  |  Branch (1476:49): [True: 510k, False: 404k]
  ------------------
 1477|   775k|            {
 1478|   775k|                key_.clear(); 
 1479|   775k|                key_.insert(key_.begin(), json_literals<char_type>::null_literal.begin(), json_literals<char_type>::null_literal.end());
 1480|   775k|            }
 1481|       |
 1482|  1.18M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1482:17): [True: 265k, False: 915k]
  ------------------
 1483|   265k|            {
 1484|   265k|                switch (level_stack_.back().target_kind())
 1485|   265k|                {
 1486|   143k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1486:21): [True: 143k, False: 122k]
  ------------------
 1487|   143k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1487:29): [True: 141k, False: 1.13k]
  ------------------
 1488|   141k|                        {
 1489|   141k|                            key_buffer_.push_back(',');
 1490|   141k|                        }
 1491|   143k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1492|   143k|                        key_buffer_.push_back(':');
 1493|   143k|                        break;
 1494|   122k|                    default:
  ------------------
  |  Branch (1494:21): [True: 122k, False: 143k]
  ------------------
 1495|   122k|                        destination_->key(key_, context, ec);
 1496|   122k|                        break;
 1497|   265k|                }
 1498|   265k|            }
 1499|   915k|            else
 1500|   915k|            {
 1501|   915k|                switch (level_stack_.back().target_kind())
 1502|   915k|                {
 1503|   510k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1503:21): [True: 510k, False: 404k]
  ------------------
 1504|   510k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1504:29): [True: 367k, False: 143k]
  |  Branch (1504:65): [True: 366k, False: 566]
  ------------------
 1505|   366k|                        {
 1506|   366k|                            key_buffer_.push_back(',');
 1507|   366k|                        }
 1508|   510k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1509|   510k|                        break;
 1510|   404k|                    default:
  ------------------
  |  Branch (1510:21): [True: 404k, False: 510k]
  ------------------
 1511|   404k|                        destination_->null_value(tag, context, ec);
 1512|   404k|                        break;
 1513|   915k|                }
 1514|   915k|            }
 1515|       |
 1516|  1.18M|            level_stack_.back().advance();
 1517|  1.18M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.18M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1518|  1.18M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1422|  27.5M|        {
 1423|  27.5M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1423:17): [True: 911k, False: 26.6M]
  |  Branch (1423:49): [True: 22.6M, False: 4.03M]
  ------------------
 1424|  23.5M|            {
 1425|  23.5M|                key_.clear(); 
 1426|  23.5M|                if (value)
  ------------------
  |  Branch (1426:21): [True: 79.8k, False: 23.4M]
  ------------------
 1427|  79.8k|                {
 1428|  79.8k|                    key_.insert(key_.begin(), json_literals<char_type>::true_literal.begin(), json_literals<char_type>::true_literal.end());
 1429|  79.8k|                }
 1430|  23.4M|                else
 1431|  23.4M|                {
 1432|  23.4M|                    key_.insert(key_.begin(), json_literals<char_type>::false_literal.begin(), json_literals<char_type>::false_literal.end());
 1433|  23.4M|                }
 1434|  23.5M|            }
 1435|       |
 1436|  27.5M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1436:17): [True: 911k, False: 26.6M]
  ------------------
 1437|   911k|            {
 1438|   911k|                switch (level_stack_.back().target_kind())
 1439|   911k|                {
 1440|   579k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1440:21): [True: 579k, False: 331k]
  ------------------
 1441|   579k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1441:29): [True: 570k, False: 8.92k]
  ------------------
 1442|   570k|                        {
 1443|   570k|                            key_buffer_.push_back(',');
 1444|   570k|                        }
 1445|   579k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1446|   579k|                        key_buffer_.push_back(':');
 1447|   579k|                        break;
 1448|   331k|                    default:
  ------------------
  |  Branch (1448:21): [True: 331k, False: 579k]
  ------------------
 1449|   331k|                        destination_->key(key_, context, ec);
 1450|   331k|                        break;
 1451|   911k|                }
 1452|   911k|            }
 1453|  26.6M|            else
 1454|  26.6M|            {
 1455|  26.6M|                switch (level_stack_.back().target_kind())
 1456|  26.6M|                {
 1457|  22.6M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1457:21): [True: 22.6M, False: 4.03M]
  ------------------
 1458|  22.6M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1458:29): [True: 22.0M, False: 582k]
  |  Branch (1458:65): [True: 22.0M, False: 2.55k]
  ------------------
 1459|  22.0M|                        {
 1460|  22.0M|                            key_buffer_.push_back(',');
 1461|  22.0M|                        }
 1462|  22.6M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1463|  22.6M|                        break;
 1464|  4.03M|                    default:
  ------------------
  |  Branch (1464:21): [True: 4.03M, False: 22.6M]
  ------------------
 1465|  4.03M|                        destination_->bool_value(value, tag, context, ec);
 1466|  4.03M|                        break;
 1467|  26.6M|                }
 1468|  26.6M|            }
 1469|       |
 1470|  27.5M|            level_stack_.back().advance();
 1471|  27.5M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  27.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1472|  27.5M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1072|  3.86M|        {
 1073|  3.86M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1073:17): [True: 187k, False: 3.67M]
  ------------------
 1074|   187k|            {
 1075|   187k|                switch (level_stack_.back().target_kind())
 1076|   187k|                {
 1077|  94.2k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1077:21): [True: 94.2k, False: 93.7k]
  ------------------
 1078|  94.2k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1078:29): [True: 91.9k, False: 2.25k]
  ------------------
 1079|  91.9k|                        {
 1080|  91.9k|                            key_buffer_.push_back(',');
 1081|  91.9k|                        }
 1082|  94.2k|                        key_buffer_.push_back('\"');
 1083|  94.2k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1084|  94.2k|                        key_buffer_.push_back('\"');
 1085|  94.2k|                        key_buffer_.push_back(':');
 1086|  94.2k|                        break;
 1087|  93.7k|                    default:
  ------------------
  |  Branch (1087:21): [True: 93.7k, False: 94.2k]
  ------------------
 1088|  93.7k|                        destination_->key(value, context, ec);
 1089|  93.7k|                        break;
 1090|   187k|                }
 1091|   187k|            }
 1092|  3.67M|            else
 1093|  3.67M|            {
 1094|  3.67M|                switch (level_stack_.back().target_kind())
 1095|  3.67M|                {
 1096|   286k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1096:21): [True: 286k, False: 3.39M]
  ------------------
 1097|   286k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1097:29): [True: 198k, False: 87.8k]
  |  Branch (1097:65): [True: 197k, False: 1.37k]
  ------------------
 1098|   197k|                        {
 1099|   197k|                            key_buffer_.push_back(',');
 1100|   197k|                        }
 1101|   286k|                        key_buffer_.push_back('\"');
 1102|   286k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1103|   286k|                        key_buffer_.push_back('\"');
 1104|   286k|                        break;
 1105|  3.39M|                    default:
  ------------------
  |  Branch (1105:21): [True: 3.39M, False: 286k]
  ------------------
 1106|  3.39M|                        destination_->string_value(value, tag, context, ec);
 1107|  3.39M|                        break;
 1108|  3.67M|                }
 1109|  3.67M|            }
 1110|       |
 1111|  3.86M|            level_stack_.back().advance();
 1112|  3.86M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  3.86M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1113|  3.86M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1119|   189k|        {
 1120|   189k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1120:17): [True: 20.5k, False: 168k]
  |  Branch (1120:49): [True: 71.1k, False: 97.5k]
  ------------------
 1121|  91.6k|            {
 1122|  91.6k|                key_.clear();
 1123|  91.6k|                switch (tag)
 1124|  91.6k|                {
 1125|      0|                    case semantic_tag::base64:
  ------------------
  |  Branch (1125:21): [True: 0, False: 91.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: 91.6k]
  ------------------
 1129|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1130|      0|                        break;
 1131|  91.6k|                    default:
  ------------------
  |  Branch (1131:21): [True: 91.6k, False: 0]
  ------------------
 1132|  91.6k|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1133|  91.6k|                        break;
 1134|  91.6k|                }
 1135|  91.6k|            }
 1136|       |
 1137|   189k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1137:17): [True: 20.5k, False: 168k]
  ------------------
 1138|  20.5k|            {
 1139|  20.5k|                switch (level_stack_.back().target_kind())
 1140|  20.5k|                {
 1141|  8.12k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1141:21): [True: 8.12k, False: 12.4k]
  ------------------
 1142|  8.12k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1142:29): [True: 6.83k, False: 1.28k]
  ------------------
 1143|  6.83k|                        {
 1144|  6.83k|                            key_buffer_.push_back(',');
 1145|  6.83k|                        }
 1146|  8.12k|                        key_buffer_.push_back('\"');
 1147|  8.12k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1148|  8.12k|                        key_buffer_.push_back('\"');
 1149|  8.12k|                        key_buffer_.push_back(':');
 1150|  8.12k|                        break;
 1151|  12.4k|                    default:
  ------------------
  |  Branch (1151:21): [True: 12.4k, False: 8.12k]
  ------------------
 1152|  12.4k|                        destination_->key(key_, context, ec);
 1153|  12.4k|                        break;
 1154|  20.5k|                }
 1155|  20.5k|            }
 1156|   168k|            else
 1157|   168k|            {
 1158|   168k|                switch (level_stack_.back().target_kind())
 1159|   168k|                {
 1160|  71.1k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1160:21): [True: 71.1k, False: 97.5k]
  ------------------
 1161|  71.1k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1161:29): [True: 59.5k, False: 11.5k]
  |  Branch (1161:65): [True: 58.9k, False: 651]
  ------------------
 1162|  58.9k|                        {
 1163|  58.9k|                            key_buffer_.push_back(',');
 1164|  58.9k|                        }
 1165|  71.1k|                        key_buffer_.push_back('\"');
 1166|  71.1k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1167|  71.1k|                        key_buffer_.push_back('\"');
 1168|  71.1k|                        break;
 1169|  97.5k|                    default:
  ------------------
  |  Branch (1169:21): [True: 97.5k, False: 71.1k]
  ------------------
 1170|  97.5k|                        destination_->byte_string_value(value, tag, context, ec);
 1171|  97.5k|                        break;
 1172|   168k|                }
 1173|   168k|            }
 1174|       |
 1175|   189k|            level_stack_.back().advance();
 1176|   189k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   189k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1177|   189k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1183|  1.01M|        {
 1184|  1.01M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1184:17): [True: 273k, False: 737k]
  |  Branch (1184:49): [True: 273k, False: 464k]
  ------------------
 1185|   546k|            {
 1186|   546k|                key_.clear();
 1187|   546k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1188|   546k|            }
 1189|       |
 1190|  1.01M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1190:17): [True: 273k, False: 737k]
  ------------------
 1191|   273k|            {
 1192|   273k|                switch (level_stack_.back().target_kind())
 1193|   273k|                {
 1194|   146k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1194:21): [True: 146k, False: 127k]
  ------------------
 1195|   146k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1195:29): [True: 145k, False: 961]
  ------------------
 1196|   145k|                        {
 1197|   145k|                            key_buffer_.push_back(',');
 1198|   145k|                        }
 1199|   146k|                        key_buffer_.push_back('\"');
 1200|   146k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1201|   146k|                        key_buffer_.push_back('\"');
 1202|   146k|                        key_buffer_.push_back(':');
 1203|   146k|                        break;
 1204|   127k|                    default:
  ------------------
  |  Branch (1204:21): [True: 127k, False: 146k]
  ------------------
 1205|   127k|                        destination_->key(key_, context, ec);
 1206|   127k|                        break;
 1207|   273k|                }
 1208|   273k|            }
 1209|   737k|            else
 1210|   737k|            {
 1211|   737k|                switch (level_stack_.back().target_kind())
 1212|   737k|                {
 1213|   273k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1213:21): [True: 273k, False: 464k]
  ------------------
 1214|   273k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1214:29): [True: 127k, False: 145k]
  |  Branch (1214:65): [True: 126k, False: 783]
  ------------------
 1215|   126k|                        {
 1216|   126k|                            key_buffer_.push_back(',');
 1217|   126k|                        }
 1218|   273k|                        key_buffer_.push_back('\"');
 1219|   273k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1220|   273k|                        key_buffer_.push_back('\"');
 1221|   273k|                        break;
 1222|   464k|                    default:
  ------------------
  |  Branch (1222:21): [True: 464k, False: 273k]
  ------------------
 1223|   464k|                        destination_->byte_string_value(value, raw_tag, context, ec);
 1224|   464k|                        break;
 1225|   737k|                }
 1226|   737k|            }
 1227|       |
 1228|  1.01M|            level_stack_.back().advance();
 1229|  1.01M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.01M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1230|  1.01M|        }
_ZN8jsoncons21basic_generic_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  276|  1.27M|    {
  277|  1.27M|        visit_begin_object(length, tag, context, ec);
  278|  1.27M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.27M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  279|  1.27M|    }
_ZN8jsoncons21basic_generic_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  332|  3.86M|    {
  333|  3.86M|        visit_string(value, tag, context, ec);
  334|  3.86M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  3.86M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  335|  3.86M|    }
_ZN8jsoncons21basic_generic_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  314|  1.18M|    {
  315|  1.18M|        visit_null(tag, context, ec);
  316|  1.18M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.18M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  317|  1.18M|    }
_ZN8jsoncons21basic_generic_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  323|  27.5M|    {
  324|  27.5M|        visit_bool(value, tag, context, ec);
  325|  27.5M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  27.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  27.5M|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  343|   189k|    {
  344|   189k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  345|   189k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   189k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  346|   189k|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  354|  1.01M|    {
  355|  1.01M|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  356|  1.01M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.01M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  357|  1.01M|    }
_ZN8jsoncons21basic_generic_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  282|  1.26M|    {
  283|  1.26M|        visit_end_object(context, ec);
  284|  1.26M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.26M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  285|  1.26M|    }
_ZN8jsoncons21basic_generic_visitorIcE5flushEv:
   57|  2.42k|    {
   58|  2.42k|        visit_flush();
   59|  2.42k|    }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  4.24M|        {
  106|  4.24M|            flatten_and_destroy();
  107|  4.24M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  4.24M|        {
  249|  5.99M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 1.74M, False: 4.24M]
  ------------------
  250|  1.74M|            {
  251|  1.74M|                value_type current = std::move(data_.back());
  252|  1.74M|                data_.pop_back();
  253|  1.74M|                switch (current.storage_kind())
  254|  1.74M|                {
  255|   205k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 205k, False: 1.53M]
  ------------------
  256|   205k|                    {
  257|   205k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 1.36M, False: 205k]
  ------------------
  258|  1.36M|                        {
  259|  1.36M|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 20.5k, False: 1.34M]
  |  Branch (259:85): [True: 3.79k, False: 1.34M]
  ------------------
  260|  24.3k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 16.9k, False: 7.36k]
  ------------------
  261|  16.9k|                            {
  262|  16.9k|                                data_.push_back(std::move(item));
  263|  16.9k|                            }
  264|  1.36M|                        }
  265|   205k|                        current.clear();                           
  266|   205k|                        break;
  267|      0|                    }
  268|  37.3k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 37.3k, False: 1.70M]
  ------------------
  269|  37.3k|                    {
  270|  37.3k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 52.2k, False: 37.3k]
  ------------------
  271|  52.2k|                        {
  272|  52.2k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 3.87k, False: 48.3k]
  |  Branch (272:91): [True: 10.8k, False: 37.4k]
  ------------------
  273|  14.7k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 10.6k, False: 4.13k]
  ------------------
  274|  10.6k|                            {
  275|  10.6k|                                data_.push_back(std::move(kv.value()));
  276|  10.6k|                            }
  277|  52.2k|                        }
  278|  37.3k|                        current.clear();                           
  279|  37.3k|                        break;
  280|      0|                    }
  281|  1.50M|                    default:
  ------------------
  |  Branch (281:21): [True: 1.50M, False: 243k]
  ------------------
  282|  1.50M|                        break;
  283|  1.74M|                }
  284|  1.74M|            }
  285|  4.24M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|   205k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|   205k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  30.6k|        {
  126|  30.6k|            return data_.empty();
  127|  30.6k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|   205k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  13.6k|            : allocator_holder<allocator_type>(alloc), 
   50|  13.6k|              data_(value_allocator_type(alloc))
   51|  13.6k|        {
   52|  13.6k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  4.55k|        {
  218|  4.55k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  4.55k|            return data_.back();
  220|  4.55k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  22.6k|        void reserve(std::size_t n) {data_.reserve(n);}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE9push_backIS6_S5_EENS3_9enable_ifIXsr3std16allocator_traitsIT0_E15is_always_equalE5valueEvE4typeEOT_:
  178|  3.07M|        {
  179|  3.07M|            data_.emplace_back(std::forward<T>(value));
  180|  3.07M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  4.23M|        json_array() = default;

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

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  7.13k|{
 1065|  7.13k|    return json_visitor_adaptor<From, To>(to);
 1066|  7.13k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  7.13k|        : supertype(visitor)
  984|  7.13k|    {
  985|  7.13k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  7.13k|        : destination1_(std::addressof(visitor))
  722|  7.13k|    {
  723|  7.13k|    }
_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.23M|    {
  778|  4.23M|        destination1_->begin_array(length, tag, context, ec);
  779|  4.23M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.23M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|  4.23M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  4.21M|    {
  784|  4.21M|        destination1_->end_array(context, ec);
  785|  4.21M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.21M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  4.21M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  23.1M|    {
  826|  23.1M|        destination1_->uint64_value(value, tag, context, ec);
  827|  23.1M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  23.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  23.1M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  5.89M|    {
  820|  5.89M|        destination1_->int64_value(value, tag, context, ec);
  821|  5.89M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  5.89M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  5.89M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  9.76k|    {
  814|  9.76k|        destination1_->double_value(value, tag, context, ec);
  815|  9.76k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  9.76k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  9.76k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|  2.42k|    {
  739|  2.42k|        destination1_->flush();
  740|  2.42k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|   996k|    {
  755|   996k|        destination1_->begin_object(length, tag, context, ec);
  756|   996k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   996k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|   996k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|   989k|    {
  761|   989k|        destination1_->end_object(context, ec);
  762|   989k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   989k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|   989k|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE9visit_keyERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEERKNS_11ser_contextERNS6_10error_codeE:
  995|  5.28M|    {
  996|  5.28M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  5.28M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  8.68M|    {
  733|  8.68M|        return *destination1_;
  734|  8.68M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|   404k|    {
  838|   404k|        destination1_->null_value(tag, context, ec);
  839|   404k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   404k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|   404k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  4.03M|    {
  832|  4.03M|        destination1_->bool_value(value, tag, context, ec);
  833|  4.03M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.03M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  4.03M|    }
_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|  3.39M|    {
 1004|  3.39M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  3.39M|    }
_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|  97.5k|    {
  793|  97.5k|        destination1_->byte_string_value(b, tag, context, ec);
  794|  97.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  97.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  795|  97.5k|    }
_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|   464k|    {
  802|   464k|        destination1_->byte_string_value(b, raw_tag, context, ec);
  803|   464k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   464k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|   464k|    }

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

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

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|   239k|    {
  121|   239k|        return value_;
  122|   239k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  23.6M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  23.1M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  23.1M|    {
   45|  23.1M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  75.2M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  5.89M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  5.89M|    {
   45|  5.89M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  9.76k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  9.76k|    {
   45|  9.76k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   996k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   996k|    {
   45|   996k|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|   149k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|   149k|    {
   88|   149k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.23M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.23M|    {
   45|  4.23M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   404k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   404k|    {
   45|   404k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.03M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.03M|    {
   45|  4.03M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  3.39M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.39M|    {
   45|  3.39M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  97.5k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  97.5k|    {
   45|  97.5k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   464k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   464k|    {
   45|   464k|    }

_ZN8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2IJRNS4_10error_codeEmmEEENS0_10unexpect_tEDpOT_:
   66|  4.71k|        : has_value_(false)
   67|  4.71k|    {
   68|  4.71k|        ::new (&error_) E(std::forward<Args>(args)...);
   69|  4.71k|    }
_ZN8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2EOS7_:
   52|  2.42k|        : has_value_(true)
   53|  2.42k|    {
   54|  2.42k|        construct(std::move(value));
   55|  2.42k|    }
_ZN8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE9constructEOS7_:
  276|  2.42k|    {
  277|  2.42k|        ::new (&value_) T(std::move(value));
  278|  2.42k|        has_value_ = true;
  279|  2.42k|    }
_ZNK8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEcvbEv:
  148|  7.13k|    {
  149|  7.13k|        return has_value_;
  150|  7.13k|    }
_ZNR8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE5errorEv:
  194|  14.1k|    {
  195|  14.1k|        assert(!has_value_);
  ------------------
  |  Branch (195:9): [True: 14.1k, False: 0]
  ------------------
  196|  14.1k|        return this->error_;
  197|  14.1k|    }
_ZNR8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEdeEv:
  233|  2.42k|    {
  234|  2.42k|        return this->value_;
  235|  2.42k|    }
_ZN8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEED2Ev:
  100|  7.13k|    {
  101|  7.13k|        destroy();
  102|  7.13k|    }
_ZN8jsoncons6nonstd8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE7destroyEv:
  282|  7.13k|    {
  283|  7.13k|        if (has_value_) 
  ------------------
  |  Branch (283:13): [True: 2.42k, False: 4.71k]
  ------------------
  284|  2.42k|        {
  285|  2.42k|            value_.~T();
  286|  2.42k|            has_value_ = false;
  287|  2.42k|        }
  288|  4.71k|        else
  289|  4.71k|        {
  290|  4.71k|            error_.~E();
  291|  4.71k|        }
  292|  7.13k|    }

_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2EPS2_m:
  102|  1.57M|        : data_(data), size_(size)
  103|  1.57M|    {
  104|  1.57M|    }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4dataEv:
  154|  9.40M|    {
  155|  9.40M|        return data_;
  156|  9.40M|    }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4sizeEv:
  159|  14.4M|    {
  160|  14.4M|        return size_;
  161|  14.4M|    }
_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2Ev:
   99|  4.00M|    {
  100|  4.00M|    }

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

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  20.3k|        {
  159|  20.3k|            return data_.empty();
  160|  20.3k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  37.3k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  37.3k|        {
  169|  37.3k|            return data_.begin();
  170|  37.3k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  37.3k|        {
  174|  37.3k|            return data_.end();
  175|  37.3k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|   996k|        {
  154|   996k|            flatten_and_destroy();
  155|   996k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  732|   996k|        {
  733|   996k|            if (!data_.empty())
  ------------------
  |  Branch (733:17): [True: 13.6k, False: 982k]
  ------------------
  734|  13.6k|            {
  735|  13.6k|                json_array<Json> temp(get_allocator());
  736|       |
  737|  13.6k|                for (auto& kv : data_)
  ------------------
  |  Branch (737:31): [True: 97.5k, False: 13.6k]
  ------------------
  738|  97.5k|                {
  739|  97.5k|                    switch (kv.value().storage_kind())
  740|  97.5k|                    {
  741|  6.27k|                        case json_storage_kind::array:
  ------------------
  |  Branch (741:25): [True: 6.27k, False: 91.3k]
  ------------------
  742|  11.9k|                        case json_storage_kind::object:
  ------------------
  |  Branch (742:25): [True: 5.67k, False: 91.9k]
  ------------------
  743|  11.9k|                            if (!kv.value().empty())
  ------------------
  |  Branch (743:33): [True: 4.55k, False: 7.39k]
  ------------------
  744|  4.55k|                            {
  745|  4.55k|                                temp.emplace_back(std::move(kv.value()));
  746|  4.55k|                            }
  747|  11.9k|                            break;
  748|  85.6k|                        default:
  ------------------
  |  Branch (748:25): [True: 85.6k, False: 11.9k]
  ------------------
  749|  85.6k|                            break;
  750|  97.5k|                    }
  751|  97.5k|                }
  752|  13.6k|            }
  753|   996k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|   996k|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  29.1k|        {
  278|  29.1k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 29.1k, False: 0]
  ------------------
  279|  29.1k|            {
  280|  29.1k|                data_.reserve(count);
  281|       |
  282|  29.1k|                std::sort(items, items+count, compare);
  283|  29.1k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  4.12M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 4.10M, False: 29.1k]
  ------------------
  286|  4.10M|                {
  287|  4.10M|                    auto& item = items[i];
  288|  4.10M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 120k, False: 3.97M]
  ------------------
  289|   120k|                    {
  290|   120k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|   120k|                    }
  292|  4.10M|                }
  293|  29.1k|            }
  294|  29.1k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|  87.7M|        {
  269|  87.7M|            int comp = item1.name.compare(item2.name); 
  270|  87.7M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 2.11M, False: 85.6M]
  ------------------
  271|  85.6M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 83.9M, False: 1.74M]
  ------------------
  272|       |
  273|  1.74M|            return false;
  274|  85.6M|        }

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  176|  7.13k|        : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  177|  7.13k|          chunk_size_(default_max_chunk_size)
  178|  7.13k|    {
  179|  7.13k|        chunk_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, chunk_size_);
  180|  7.13k|        data_end_ = chunk_;
  181|  7.13k|    }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   57|  7.13k|      : std::basic_istream<CharT>(&nb_)
   58|  7.13k|    {
   59|  7.13k|    }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   43|  7.13k|        null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  193|  7.13k|    {
  194|  7.13k|        if (chunk_)
  ------------------
  |  Branch (194:13): [True: 7.13k, False: 0]
  ------------------
  195|  7.13k|        {
  196|  7.13k|            std::allocator_traits<char_allocator_type>::deallocate(alloc_, chunk_, chunk_size_);
  197|  7.13k|        }
  198|  7.13k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|  4.71k|    {
  282|  4.71k|        return position_;
  283|  4.71k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  92.4M|    {
  277|  92.4M|        return stream_ptr_->bad();  
  278|  92.4M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  377|  94.2M|    {
  378|  94.2M|        std::size_t len = 0;
  379|  94.2M|        if (remaining_ > 0)
  ------------------
  |  Branch (379:13): [True: 94.2M, False: 16.3k]
  ------------------
  380|  94.2M|        {
  381|  94.2M|            len = (std::min)(remaining_, length);
  382|  94.2M|            std::memcpy(p, data_end_, len*sizeof(value_type));
  383|  94.2M|            data_end_ += len;
  384|  94.2M|            remaining_ -= len;
  385|  94.2M|            position_ += len;
  386|  94.2M|        }
  387|  94.2M|        if (length - len == 0)
  ------------------
  |  Branch (387:13): [True: 94.2M, False: 18.3k]
  ------------------
  388|  94.2M|        {
  389|  94.2M|            return len;
  390|  94.2M|        }
  391|  18.3k|        else if (length - len < chunk_size_)
  ------------------
  |  Branch (391:18): [True: 18.3k, False: 0]
  ------------------
  392|  18.3k|        {
  393|  18.3k|            data_end_ = chunk_;
  394|  18.3k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  395|  18.3k|            if (remaining_ > 0)
  ------------------
  |  Branch (395:17): [True: 14.2k, False: 4.15k]
  ------------------
  396|  14.2k|            {
  397|  14.2k|                std::size_t len2 = (std::min)(remaining_, length-len);
  398|  14.2k|                std::memcpy(p+len, data_end_, len2*sizeof(value_type));
  399|  14.2k|                data_end_ += len2;
  400|  14.2k|                remaining_ -= len2;
  401|  14.2k|                position_ += len2;
  402|  14.2k|                len += len2;
  403|  14.2k|            }
  404|  18.3k|            return len;
  405|  18.3k|        }
  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|  94.2M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  442|  19.0k|    {
  443|  19.0k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (443:13): [True: 4.21k, False: 14.7k]
  ------------------
  444|  4.21k|        {
  445|  4.21k|            return 0;
  446|  4.21k|        }
  447|       |
  448|  14.7k|        JSONCONS_TRY
  ------------------
  |  |   37|  14.7k|    #define JSONCONS_TRY try
  ------------------
  449|  14.7k|        {
  450|  14.7k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  451|  14.7k|            std::size_t length = static_cast<std::size_t>(count);
  452|       |
  453|  14.7k|            if (length < chunk_size)
  ------------------
  |  Branch (453:17): [True: 7.12k, False: 7.67k]
  ------------------
  454|  7.12k|            {
  455|  7.12k|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  456|  7.12k|            }
  457|  14.7k|            return length;
  458|  14.7k|        }
  459|  14.7k|        JSONCONS_CATCH(const std::exception&)     
  460|  14.7k|        {
  461|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  462|      0|            return 0;
  463|      0|        }
  464|  14.7k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_6vectorIhS3_EEEENS_6nonstd4spanIKhLm18446744073709551615EEEmOT_:
  352|  5.02M|    {
  353|  5.02M|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   79|  5.02M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4.00M, False: 1.01M]
  |  |  ------------------
  ------------------
  354|  4.00M|        {
  355|  4.00M|            return span<const value_type>{};
  356|  4.00M|        }
  357|  1.01M|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 352, False: 1.01M]
  |  Branch (357:32): [True: 183, False: 169]
  ------------------
  358|    183|        {
  359|    183|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|    183|            data_end_ = chunk_;
  361|    183|        }
  362|  1.01M|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 924, False: 1.01M]
  ------------------
  363|    924|        {
  364|    924|            buffer.clear();
  365|    924|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    924|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    924|        }
  368|       |
  369|  1.01M|        const value_type* data = data_end_;
  370|  1.01M|        data_end_ += length;
  371|  1.01M|        remaining_ -= length;
  372|  1.01M|        position_ += length;
  373|  1.01M|        return span<const value_type>(data, length);
  374|  1.01M|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSD_m:
  749|    924|    {
  750|    924|        std::size_t unread = length;
  751|       |
  752|  3.48k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (752:16): [True: 3.07k, False: 407]
  |  Branch (752:30): [True: 2.56k, False: 517]
  ------------------
  753|  2.56k|        {
  754|  2.56k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (754:17): [True: 461, False: 2.09k]
  |  Branch (754:44): [True: 457, False: 4]
  ------------------
  755|    457|            {
  756|    457|                std::size_t n = source.chunk_size();
  757|    457|                std::size_t offset = buffer.size();
  758|    457|                buffer.resize(offset+n);
  759|    457|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  760|    457|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|    457|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 67, False: 390]
  |  |  ------------------
  ------------------
  761|     67|                {
  762|     67|                    buffer.resize(offset+actual);
  763|     67|                }
  764|    457|                unread -= actual;
  765|    457|            }
  766|  2.10k|            else
  767|  2.10k|            {
  768|  2.10k|                std::size_t n = (std::min)(source.chunk_size(), unread);
  769|  2.10k|                std::size_t offset = buffer.size();
  770|  2.10k|                buffer.resize(offset+n);
  771|  2.10k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  772|  2.10k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|  2.10k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 261, False: 1.84k]
  |  |  ------------------
  ------------------
  773|    261|                {
  774|    261|                    buffer.resize(offset + actual);
  775|    261|                }
  776|  2.10k|                unread -= actual;
  777|  2.10k|            }
  778|  2.56k|        }
  779|    924|        return length - unread;
  780|    924|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  3.07k|    {
  272|  3.07k|        return remaining_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 978, False: 2.09k]
  |  Branch (272:35): [True: 517, False: 461]
  ------------------
  273|  3.07k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9remainingEv:
  346|  2.56k|    {
  347|  2.56k|        return remaining_;
  348|  2.56k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|  3.02k|    {
  262|  3.02k|        return chunk_size_;
  263|  3.02k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11read_bufferEPhm:
  435|    457|    {
  436|    457|        auto len = fill_buffer(chunk, chunk_size);
  437|    457|        position_ += len;
  438|    457|        return len;
  439|    457|    }

_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ImEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  688|  97.9k|        : storage_(n, alloc)
  689|  97.9k|    {
  690|  97.9k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ImEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  373|  97.9k|        : word_allocator_type(alloc)
  374|  97.9k|    {
  375|  97.9k|        ::new (&inlined_) inlined_storage(n);
  376|  97.9k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ImEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  151|  97.9k|            : is_allocated_(false),
  152|  97.9k|            is_negative_(false),
  153|  97.9k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (153:19): [True: 39.7k, False: 58.1k]
  ------------------
  154|  97.9k|        {
  155|  97.9k|            values_[0] = n;
  156|  97.9k|            values_[1] = 0;
  157|  97.9k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLImEENS1_9enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueERS4_E4typeES7_:
 1043|  42.1k|    {
 1044|  42.1k|        auto words = get_words();
 1045|  42.1k|        size_type len = words.size();
 1046|  42.1k|        if (len == 0 || m == 0)
  ------------------
  |  Branch (1046:13): [True: 6.99k, False: 35.1k]
  |  Branch (1046:25): [True: 0, False: 35.1k]
  ------------------
 1047|  6.99k|        {
 1048|  6.99k|            resize(0);
 1049|  6.99k|            return *this;
 1050|  6.99k|        }
 1051|       |
 1052|  35.1k|        dword_type carry = 0;
 1053|  35.1k|        size_t i = 0;
 1054|  70.3k|        for (; i < len; ++i) {
  ------------------
  |  Branch (1054:16): [True: 35.1k, False: 35.1k]
  ------------------
 1055|  35.1k|            dword_type x = dword_type(words[i]) * m + carry;
 1056|  35.1k|            words[i] = static_cast<word_type>(x);
 1057|  35.1k|            carry = x >> 64;
 1058|  35.1k|        }
 1059|       |
 1060|  35.1k|        if (carry)
  ------------------
  |  Branch (1060:13): [True: 23.2k, False: 11.9k]
  ------------------
 1061|  23.2k|        {
 1062|  23.2k|            resize(len+1);
 1063|  23.2k|            words = get_words();
 1064|  23.2k|            words[i] = static_cast<word_type>(carry);
 1065|  23.2k|        }
 1066|       |
 1067|       |        /*
 1068|       |        word_type dig = words[0];
 1069|       |        word_type carry = 0;
 1070|       |
 1071|       |        resize(words.size() + 1);
 1072|       |        words = get_words();
 1073|       |
 1074|       |        size_type i = 0;
 1075|       |        for (; i < len; i++ )
 1076|       |        {
 1077|       |            word_type hi;
 1078|       |            word_type lo;
 1079|       |            DDproduct( dig, y, hi, lo );
 1080|       |            words[i] = lo + carry;
 1081|       |            dig = words[i+1];
 1082|       |            carry = hi + (words[i] < lo);
 1083|       |        }
 1084|       |        words[i] = carry;
 1085|       |        reduce(); 
 1086|       |        */ 
 1087|  35.1k|        return *this;
 1088|  42.1k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE9get_wordsEv:
  713|   640k|    {
  714|   640k|        return storage_.get_words();
  715|   640k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE9get_wordsEv:
  533|   888k|    {
  534|   888k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (534:16): [True: 301k, False: 587k]
  ------------------
  535|   301k|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  536|   888k|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  537|   888k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   67|   888k|            : data_(data), size_(size)
   68|   888k|        {
   69|   888k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   97|  1.43M|        {
   98|  1.43M|            return size_;
   99|  1.43M|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  863|  96.3k|    {
  864|  96.3k|        storage_.resize(new_length);
  865|  96.3k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  547|   206k|    {
  548|   206k|        size_type old_length = common_.size_;
  549|   206k|        reserve(new_length);
  550|   206k|        common_.size_ = new_length;
  551|       |
  552|   206k|        if (old_length < new_length)
  ------------------
  |  Branch (552:13): [True: 114k, False: 91.6k]
  ------------------
  553|   114k|        {
  554|   114k|            if (is_allocated())
  ------------------
  |  Branch (554:17): [True: 23.2k, False: 91.6k]
  ------------------
  555|  23.2k|            {
  556|  23.2k|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  557|  23.2k|            }
  558|  91.6k|            else
  559|  91.6k|            {
  560|  91.6k|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   67|  91.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 91.6k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  561|   239k|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (561:48): [True: 148k, False: 91.6k]
  ------------------
  562|   148k|                {
  563|   148k|                    inlined_.values_[i] = 0;
  564|   148k|                }
  565|  91.6k|            }
  566|   114k|        }
  567|   206k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  465|   206k|    {
  466|   206k|       if (capacity() < n)
  ------------------
  |  Branch (466:12): [True: 23.2k, False: 183k]
  ------------------
  467|  23.2k|       {
  468|  23.2k|           if (!is_allocated())
  ------------------
  |  Branch (468:16): [True: 23.2k, False: 0]
  ------------------
  469|  23.2k|           {
  470|  23.2k|               size_type size = inlined_.size_;
  471|  23.2k|               size_type is_neg = inlined_.is_negative_;
  472|  23.2k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  473|       |
  474|  23.2k|               ::new (&allocated_) allocated_storage();
  475|  23.2k|               allocated_.reserve(n, get_allocator());
  476|  23.2k|               allocated_.size_ = size;
  477|  23.2k|               allocated_.is_negative_ = is_neg;
  478|  23.2k|               if (n >= 1)
  ------------------
  |  Branch (478:20): [True: 23.2k, False: 0]
  ------------------
  479|  23.2k|               {
  480|  23.2k|                   allocated_.data_[0] = values[0];
  481|  23.2k|               }
  482|  23.2k|               if (n >= 2)
  ------------------
  |  Branch (482:20): [True: 23.2k, False: 0]
  ------------------
  483|  23.2k|               {
  484|  23.2k|                   allocated_.data_[1] = values[1];
  485|  23.2k|               }
  486|  23.2k|           }
  487|      0|           else
  488|      0|           {
  489|      0|               allocated_.reserve(n, get_allocator());
  490|      0|           }
  491|  23.2k|       }
  492|   206k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  518|   206k|    {
  519|   206k|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (519:16): [True: 46.4k, False: 160k]
  ------------------
  520|   206k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  216|  23.2k|            : is_allocated_(true),
  217|  23.2k|            is_negative_(false)
  218|  23.2k|        {
  219|  23.2k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  268|  23.2k|        {
  269|  23.2k|            JSONCONS_ASSERT(n < max_size);
  ------------------
  |  |   67|  23.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 23.2k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  270|  23.2k|            size_type capacity_new = round_up(n);
  271|       |
  272|  23.2k|            real_allocator_type alloc(a);
  273|  23.2k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  274|  23.2k|            if (size_ > 0)
  ------------------
  |  Branch (274:17): [True: 0, False: 23.2k]
  ------------------
  275|      0|            {
  276|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  277|      0|            }
  278|  23.2k|            if (data_ != nullptr)
  ------------------
  |  Branch (278:17): [True: 0, False: 23.2k]
  ------------------
  279|      0|            {
  280|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  281|      0|            }
  282|  23.2k|            capacity_ = capacity_new;
  283|  23.2k|            data_ = data_new;
  284|  23.2k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  288|  23.2k|        {
  289|  23.2k|            size_type remainder = i % mem_unit;
  290|  23.2k|            size_type off = mem_unit - remainder;
  291|  23.2k|            bool testoff = i < max_size - off;
  292|  23.2k|            JSONCONS_ASSERT(testoff);
  ------------------
  |  |   67|  23.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 23.2k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  293|       |
  294|  23.2k|            return i + off;
  295|  23.2k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  495|   457k|    {
  496|   457k|        return static_cast<const word_allocator_type&>(*this);
  497|   457k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  513|   991k|    {
  514|   991k|        return common_.is_allocated_;
  515|   991k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   72|   516k|        {
   73|   516k|            return data_[i];
   74|   516k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLImEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  934|  11.6k|    {
  935|  11.6k|        if ( is_negative())
  ------------------
  |  Branch (935:14): [True: 0, False: 11.6k]
  ------------------
  936|      0|            return *this -= -basic_bigint<Allocator>(y);
  937|       |
  938|  11.6k|        word_type d;
  939|  11.6k|        word_type carry = 0;
  940|       |
  941|  11.6k|        auto words = get_words();
  942|  11.6k|        resize(words.size() + 1);
  943|       |
  944|  11.6k|        words = get_words();
  945|  11.6k|        const size_type this_size = words.size();
  946|  11.6k|        size_type y_size = 1;
  947|       |
  948|  11.6k|        d = words[0] + carry;
  949|  11.6k|        carry = d < carry;
  950|  11.6k|        words[0] = d + y;
  951|  11.6k|        if (words[0] < d)
  ------------------
  |  Branch (951:13): [True: 0, False: 11.6k]
  ------------------
  952|      0|            carry = 1;
  953|       |
  954|  11.6k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (954:36): [True: 10.2k, False: 1.38k]
  |  Branch (954:53): [True: 0, False: 10.2k]
  ------------------
  955|      0|        {
  956|      0|            d = words[i] + carry;
  957|      0|            carry = d < carry;
  958|      0|            words[i] = d;
  959|      0|        }
  960|  11.6k|        reduce();
  961|  11.6k|        return *this;
  962|  11.6k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  723|   581k|    {
  724|   581k|        return storage_.is_negative();
  725|   581k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  523|   581k|    {
  524|   581k|        return common_.is_negative_;
  525|   581k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  880|  5.34k|    {
  881|  5.34k|        basic_bigint<Allocator> v(*this);
  882|  5.34k|        v.set_negative(!v.is_negative());
  883|  5.34k|        return v;
  884|  5.34k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  666|  41.3k|        : storage_(other.storage_)
  667|  41.3k|    {
  668|  41.3k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  312|  41.3k|        : word_allocator_type(other.get_allocator())
  313|  41.3k|    {
  314|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  315|       |# pragma GCC diagnostic push
  316|       |# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
  317|       |#endif
  318|  41.3k|        if (!other.is_allocated())
  ------------------
  |  Branch (318:13): [True: 18.0k, False: 23.2k]
  ------------------
  319|  18.0k|        {
  320|  18.0k|            ::new (&inlined_) inlined_storage(other.inlined_);
  321|  18.0k|        }
  322|  23.2k|        else
  323|  23.2k|        {
  324|  23.2k|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  325|  23.2k|        }
  326|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  327|       |# pragma GCC diagnostic pop
  328|       |#endif
  329|  41.3k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  191|   130k|            : is_allocated_(false),
  192|   130k|            is_negative_(stor.is_negative_),
  193|   130k|            size_(stor.size_)
  194|   130k|        {
  195|   130k|            values_[0] = stor.values_[0];
  196|   130k|            values_[1] = stor.values_[1];
  197|   130k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  222|  92.8k|            : is_allocated_(true),
  223|  92.8k|              is_negative_(stor.is_negative_),
  224|  92.8k|              size_(stor.size_),
  225|  92.8k|              capacity_(stor.capacity_)
  226|  92.8k|        {
  227|  92.8k|            real_allocator_type alloc(a);
  228|       |
  229|  92.8k|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  230|  92.8k|            JSONCONS_TRY
  ------------------
  |  |   37|  92.8k|    #define JSONCONS_TRY try
  ------------------
  231|  92.8k|            {
  232|  92.8k|                std::allocator_traits<real_allocator_type>::construct(alloc, ext_traits::to_plain_pointer(data_));
  233|  92.8k|            }
  234|  92.8k|            JSONCONS_CATCH(...)
  235|  92.8k|            {
  236|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  237|      0|                data_ = nullptr;
  238|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  239|      0|            }
  240|  92.8k|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   67|  92.8k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 92.8k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  241|  92.8k|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  242|  92.8k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  744|   273k|    {
  745|   273k|        storage_.set_negative(value);
  746|   273k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  528|   273k|    {
  529|   273k|        common_.is_negative_ = value;
  530|   273k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 2071|   137k|    {
 2072|   137k|        storage_.reduce();
 2073|   137k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  442|   137k|    {
  443|   137k|        if (common_.size_ > 0)
  ------------------
  |  Branch (443:13): [True: 137k, False: 0]
  ------------------
  444|   137k|        {
  445|   137k|            auto words = get_words();
  446|   137k|            word_type* p = words.end() - 1;
  447|   137k|            word_type* first = words.begin();
  448|   216k|            while ( p >= first )
  ------------------
  |  Branch (448:21): [True: 196k, False: 19.7k]
  ------------------
  449|   196k|            {
  450|   196k|                if ( *p )
  ------------------
  |  Branch (450:22): [True: 118k, False: 78.1k]
  ------------------
  451|   118k|                {
  452|   118k|                    break;
  453|   118k|                }
  454|  78.1k|                --common_.size_;
  455|  78.1k|                --p;
  456|  78.1k|            }
  457|   137k|        }
  458|   137k|        if (common_.size_ == 0)
  ------------------
  |  Branch (458:13): [True: 19.7k, False: 118k]
  ------------------
  459|  19.7k|        {
  460|  19.7k|            common_.is_negative_ = false;
  461|  19.7k|        }
  462|   137k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
  106|   137k|        {
  107|   137k|            return data_ + size_;
  108|   137k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
  101|   137k|        {
  102|   137k|            return data_;
  103|   137k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16append_to_stringIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1427|  42.1k|    {
 1428|  42.1k|        if (is_zero())
  ------------------
  |  Branch (1428:13): [True: 6.19k, False: 35.9k]
  ------------------
 1429|  6.19k|        {
 1430|  6.19k|            buf.push_back('0');
 1431|  6.19k|            return;
 1432|  6.19k|        }
 1433|  35.9k|        if (is_negative())
  ------------------
  |  Branch (1433:13): [True: 5.34k, False: 30.6k]
  ------------------
 1434|  5.34k|        {
 1435|  5.34k|            buf.push_back('-');
 1436|  5.34k|        }
 1437|  35.9k|        std::size_t pos = buf.size();
 1438|  35.9k|        basic_bigint<Allocator> v(*this);
 1439|  35.9k|        auto v_words = v.get_words();
 1440|       |
 1441|  35.9k|        size_type len = (v_words.size() * word_bits / 3) + 2;
 1442|  35.9k|        buf.reserve(len);
 1443|       |
 1444|  35.9k|        if ( v_words.size() == 0 )
  ------------------
  |  Branch (1444:14): [True: 0, False: 35.9k]
  ------------------
 1445|      0|        {
 1446|      0|            buf.push_back('0');
 1447|      0|        }
 1448|  35.9k|        else
 1449|  35.9k|        {
 1450|  35.9k|            word_type r;
 1451|  35.9k|            basic_bigint<Allocator> R(get_allocator());
 1452|  35.9k|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1453|       |
 1454|  35.9k|            do
 1455|  67.0k|            {
 1456|  67.0k|                v.divide( LP10, v, R, true );
 1457|  67.0k|                v_words = v.get_words();
 1458|       |
 1459|  67.0k|                auto R_words = R.get_words();
 1460|  67.0k|                r = (R_words.size() ? R_words[0] : 0);
  ------------------
  |  Branch (1460:22): [True: 51.0k, False: 15.9k]
  ------------------
 1461|   857k|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1461:38): [True: 826k, False: 31.1k]
  ------------------
 1462|   826k|                {
 1463|   826k|                    buf.push_back(char(r % 10u + '0'));
 1464|   826k|                    r /= 10u;
 1465|   826k|                    if ( r + v_words.size() == 0 )
  ------------------
  |  Branch (1465:26): [True: 35.9k, False: 790k]
  ------------------
 1466|  35.9k|                        break;
 1467|   826k|                }
 1468|  67.0k|            } 
 1469|  67.0k|            while ( v_words.size() > 0);
  ------------------
  |  Branch (1469:21): [True: 31.1k, False: 35.9k]
  ------------------
 1470|       |
 1471|  35.9k|            std::reverse(buf.begin()+pos,buf.end());
 1472|  35.9k|        }
 1473|  35.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7is_zeroEv:
 2192|  42.1k|    bool is_zero() const {
 2193|  42.1k|        return get_words().size() == 0;
 2194|  42.1k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9get_wordsEv:
  718|   279k|    {
  719|   279k|        return storage_.get_words();
  720|   279k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE9get_wordsEv:
  540|   389k|    {
  541|   389k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (541:16): [True: 139k, False: 250k]
  ------------------
  542|   139k|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  543|   389k|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  544|   389k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   67|   389k|            : data_(data), size_(size)
   68|   389k|        {
   69|   389k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   97|   756k|        {
   98|   756k|            return size_;
   99|   756k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  708|   253k|    {
  709|   253k|        return storage_.get_allocator();
  710|   253k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  633|  35.9k|        : storage_(alloc)
  634|  35.9k|    {
  635|  35.9k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  306|  35.9k|        : word_allocator_type(alloc)
  307|  35.9k|    {
  308|  35.9k|        ::new (&inlined_) inlined_storage();
  309|  35.9k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  126|  35.9k|            : is_allocated_(false),
  127|  35.9k|            is_negative_(false),
  128|  35.9k|            size_(0),
  129|  35.9k|            values_{0, 0}
  130|  35.9k|        {
  131|  35.9k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1828|  67.0k|    {
 1829|  67.0k|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1830|  67.0k|        auto denom_words = denom.get_words();
 1831|       |
 1832|  67.0k|        if (denom_words.size() == 0)
  ------------------
  |  Branch (1832:13): [True: 0, False: 67.0k]
  ------------------
 1833|      0|        {
 1834|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1835|      0|        }
 1836|  67.0k|        bool quot_neg = is_negative() ^ denom.is_negative();
 1837|  67.0k|        bool rem_neg = is_negative();
 1838|  67.0k|        basic_bigint<Allocator> num(*this, get_allocator());
 1839|  67.0k|        num.set_negative(false);
 1840|  67.0k|        denom.set_negative(false);
 1841|  67.0k|        if ( num < denom )
  ------------------
  |  Branch (1841:14): [True: 35.9k, False: 31.1k]
  ------------------
 1842|  35.9k|        {
 1843|  35.9k|            quot = word_type(0);
 1844|  35.9k|            quot.set_negative(quot_neg);
 1845|  35.9k|            rem = num;
 1846|  35.9k|            rem.set_negative(rem_neg);
 1847|  35.9k|            return;
 1848|  35.9k|        }
 1849|       |
 1850|  31.1k|        auto num_words = num.get_words();
 1851|  31.1k|        auto quot_words = quot.get_words();
 1852|  31.1k|        auto words = get_words();
 1853|       |
 1854|  31.1k|        if ( denom_words.size() == 1 && num_words.size() == 1 )
  ------------------
  |  Branch (1854:14): [True: 31.1k, False: 0]
  |  Branch (1854:41): [True: 7.16k, False: 23.9k]
  ------------------
 1855|  7.16k|        {
 1856|  7.16k|            quot = word_type( num_words[0]/denom_words[0] );
 1857|  7.16k|            rem = word_type( num_words[0]%denom_words[0] );
 1858|  7.16k|            quot.set_negative(quot_neg);
 1859|  7.16k|            rem.set_negative(rem_neg);
 1860|  7.16k|            return;
 1861|  7.16k|        }
 1862|  23.9k|        if (denom_words.size() == 1 && (denom_words[0] & l_mask) == 0 )
  ------------------
  |  Branch (1862:13): [True: 23.9k, False: 0]
  |  Branch (1862:40): [True: 0, False: 23.9k]
  ------------------
 1863|      0|        {
 1864|       |            // Denominator fits into a half word
 1865|      0|            word_type divisor = denom_words[0], dHi = 0, q1, r, q2, dividend;
 1866|      0|            quot.resize(words.size());
 1867|      0|            quot_words = quot.get_words();
 1868|      0|            for (size_type i=words.size(); i-- > 0; )
  ------------------
  |  Branch (1868:44): [True: 0, False: 0]
  ------------------
 1869|      0|            {
 1870|      0|                dividend = (dHi << word_half_bits) | (words[i] >> word_half_bits);
 1871|      0|                q1 = dividend/divisor;
 1872|      0|                r = dividend % divisor;
 1873|      0|                dividend = (r << word_half_bits) | (words[i] & r_mask);
 1874|      0|                q2 = dividend/divisor;
 1875|      0|                dHi = dividend % divisor;
 1876|      0|                quot_words[i] = (q1 << word_half_bits) | q2;
 1877|      0|            }
 1878|      0|            quot.reduce();
 1879|      0|            rem = dHi;
 1880|      0|            quot.set_negative(quot_neg);
 1881|      0|            rem.set_negative(rem_neg);
 1882|      0|            return;
 1883|      0|        }
 1884|  23.9k|        basic_bigint<Allocator> num0(num, get_allocator());
 1885|  23.9k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1886|  23.9k|        int x = 0;
 1887|  23.9k|        bool second_done = normalize(denom, num, x);
 1888|  23.9k|        denom_words = denom.get_words();
 1889|  23.9k|        num_words = num.get_words();
 1890|       |
 1891|  23.9k|        size_type l = denom_words.size() - 1;
 1892|  23.9k|        size_type n = num_words.size() - 1;
 1893|  23.9k|        quot.resize(n - l);
 1894|  23.9k|        quot_words = quot.get_words();
 1895|  47.8k|        for (size_type i = quot_words.size(); i-- > 0; )
  ------------------
  |  Branch (1895:47): [True: 23.9k, False: 23.9k]
  ------------------
 1896|  23.9k|        {
 1897|  23.9k|            quot_words[i] = 0;
 1898|  23.9k|        }
 1899|  23.9k|        rem = num;
 1900|  23.9k|        auto rem_words = rem.get_words();
 1901|  23.9k|        if ( rem_words[n] >= denom_words[l] )
  ------------------
  |  Branch (1901:14): [True: 0, False: 23.9k]
  ------------------
 1902|      0|        {
 1903|      0|            rem.resize(rem_words.size() + 1);
 1904|      0|            rem_words = rem.get_words();
 1905|      0|            n++;
 1906|      0|            quot.resize(quot_words.size() + 1);
 1907|      0|            quot_words = quot.get_words();
 1908|      0|        }
 1909|  23.9k|        word_type d = denom_words[l];
 1910|       |
 1911|  47.8k|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1911:32): [True: 23.9k, False: 23.9k]
  ------------------
 1912|  23.9k|        {
 1913|  23.9k|            word_type q = DDquotient(rem_words[k], rem_words[k-1], d);
 1914|  23.9k|            subtractmul( rem_words.data() + (k - l - 1), denom_words.data(), l + 1, q );
 1915|  23.9k|            quot_words[k - l - 1] = q;
 1916|  23.9k|        }
 1917|  23.9k|        quot.reduce();
 1918|  23.9k|        quot.set_negative(quot_neg);
 1919|  23.9k|        if (remDesired)
  ------------------
  |  Branch (1919:13): [True: 23.9k, False: 0]
  ------------------
 1920|  23.9k|        {
 1921|  23.9k|            unnormalize(rem, x, second_done);
 1922|  23.9k|            rem.set_negative(rem_neg);
 1923|  23.9k|        }
 1924|  23.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  671|   182k|        : storage_(other.storage_, alloc)
  672|   182k|    {
  673|   182k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  332|   182k|        : word_allocator_type(alloc)
  333|   182k|    {
  334|   182k|        if (!other.is_allocated())
  ------------------
  |  Branch (334:13): [True: 112k, False: 69.6k]
  ------------------
  335|   112k|        {
  336|   112k|            ::new (&inlined_) inlined_storage(other.inlined_);
  337|   112k|        }
  338|  69.6k|        else
  339|  69.6k|        {
  340|  69.6k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  341|  69.6k|        }
  342|   182k|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1550|  67.0k|    {
 1551|  67.0k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1551:15): [True: 35.9k, False: 31.1k]
  ------------------
 1552|  67.0k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1715|  97.5k|    {
 1716|  97.5k|        auto words = get_words();
 1717|  97.5k|        auto y_words = y.get_words();
 1718|       |
 1719|  97.5k|        const size_type y_size = y_words.size();
 1720|  97.5k|        if ( words.size() == 0 && y_size == 0 )
  ------------------
  |  Branch (1720:14): [True: 5.61k, False: 91.9k]
  |  Branch (1720:35): [True: 5.61k, False: 0]
  ------------------
 1721|  5.61k|            return 0;
 1722|  91.9k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1722:14): [True: 5.34k, False: 86.6k]
  ------------------
 1723|  5.34k|            return y.is_negative() - is_negative();
 1724|  86.6k|        int code = 0;
 1725|  86.6k|        if ( words.size() < y_size)
  ------------------
  |  Branch (1725:14): [True: 0, False: 86.6k]
  ------------------
 1726|      0|            code = -1;
 1727|  86.6k|        else if ( words.size() > y_size)
  ------------------
  |  Branch (1727:19): [True: 43.4k, False: 43.1k]
  ------------------
 1728|  43.4k|            code = +1;
 1729|  43.1k|        else
 1730|  43.1k|        {
 1731|  45.5k|            for (size_type i = words.size(); i-- > 0; )
  ------------------
  |  Branch (1731:46): [True: 43.1k, False: 2.44k]
  ------------------
 1732|  43.1k|            {
 1733|  43.1k|                if (words[i] > y_words[i])
  ------------------
  |  Branch (1733:21): [True: 4.72k, False: 38.4k]
  ------------------
 1734|  4.72k|                {
 1735|  4.72k|                    code = 1;
 1736|  4.72k|                    break;
 1737|  4.72k|                }
 1738|  38.4k|                else if (words[i] < y_words[i])
  ------------------
  |  Branch (1738:26): [True: 35.9k, False: 2.44k]
  ------------------
 1739|  35.9k|                {
 1740|  35.9k|                    code = -1;
 1741|  35.9k|                    break;
 1742|  35.9k|                }
 1743|  43.1k|            }
 1744|  43.1k|        }
 1745|  86.6k|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1745:16): [True: 0, False: 86.6k]
  ------------------
 1746|  91.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  887|   110k|    {
  888|   110k|        storage_ = y.storage_;
  889|   110k|        return *this;
  890|   110k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  379|   110k|    {
  380|   110k|        if (this != &other)
  ------------------
  |  Branch (380:13): [True: 110k, False: 0]
  ------------------
  381|   110k|        {
  382|   110k|            auto other_words = other.get_words();
  383|   110k|            resize(other_words.size());
  384|   110k|            auto words = get_words();
  385|   110k|            if (other_words.size() > 0)
  ------------------
  |  Branch (385:17): [True: 71.7k, False: 38.4k]
  ------------------
  386|  71.7k|            {
  387|  71.7k|                common_.is_negative_ = other.common_.is_negative_;
  388|  71.7k|                std::memcpy(words.data(), other_words.data(), size_type(other_words.size()*sizeof(word_type)));
  389|  71.7k|            }
  390|   110k|        }
  391|   110k|        return *this;
  392|   110k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   92|  71.7k|        {
   93|  71.7k|            return data_;
   94|  71.7k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   72|   167k|        {
   73|   167k|            return data_[i];
   74|   167k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 2026|  23.9k|    {
 2027|  23.9k|        auto denom_words = denom.get_words();
 2028|  23.9k|        if (denom_words.size() == 0)
  ------------------
  |  Branch (2028:13): [True: 0, False: 23.9k]
  ------------------
 2029|      0|        {
 2030|      0|            return false;
 2031|      0|        }
 2032|  23.9k|        size_type r = denom_words.size() - 1;
 2033|  23.9k|        word_type y = denom_words[r];
 2034|       |
 2035|  23.9k|        x = 0;
 2036|  23.9k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (2036:17): [True: 0, False: 23.9k]
  ------------------
 2037|      0|        {
 2038|      0|            y <<= 1;
 2039|      0|            x++;
 2040|      0|        }
 2041|  23.9k|        denom <<= x;
 2042|  23.9k|        num <<= x;
 2043|       |
 2044|  23.9k|        denom_words = denom.get_words();
 2045|  23.9k|        if ( r > 0 && denom_words[r] < denom_words[r-1] )
  ------------------
  |  Branch (2045:14): [True: 0, False: 23.9k]
  |  Branch (2045:23): [True: 0, False: 0]
  ------------------
 2046|      0|        {
 2047|      0|            denom *= max_word;
 2048|      0|            num *= max_word;
 2049|      0|            return true;
 2050|      0|        }
 2051|  23.9k|        return false;
 2052|  23.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1185|  47.8k|    {
 1186|  47.8k|        auto words = get_words();
 1187|  47.8k|        size_type q = k / word_bits;
 1188|  47.8k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1188:14): [True: 0, False: 47.8k]
  ------------------
 1189|      0|        {
 1190|      0|            resize(words.size() + q);
 1191|      0|            words = get_words();
 1192|      0|            for (size_type i = words.size(); i-- > 0; )
  ------------------
  |  Branch (1192:46): [True: 0, False: 0]
  ------------------
 1193|      0|                words[i] = ( i < q ? 0 : words[i - q]);
  ------------------
  |  Branch (1193:30): [True: 0, False: 0]
  ------------------
 1194|      0|            k %= word_bits;
 1195|      0|        }
 1196|  47.8k|        if ( k )  // 0 < k < word_bits:
  ------------------
  |  Branch (1196:14): [True: 0, False: 47.8k]
  ------------------
 1197|      0|        {
 1198|      0|            size_type k1 = word_bits - k;
 1199|      0|            word_type mask = (word_type(1) << k) - word_type(1);
 1200|      0|            resize( words.size() + 1 );
 1201|      0|            words = get_words();
 1202|      0|            for (size_type i = words.size(); i-- > 0; )
  ------------------
  |  Branch (1202:46): [True: 0, False: 0]
  ------------------
 1203|      0|            {
 1204|      0|                words[i] <<= k;
 1205|      0|                if ( i > 0 )
  ------------------
  |  Branch (1205:22): [True: 0, False: 0]
  ------------------
 1206|      0|                    words[i] |= (words[i-1] >> k1) & mask;
 1207|      0|            }
 1208|      0|        }
 1209|  47.8k|        reduce();
 1210|  47.8k|        return *this;
 1211|  47.8k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1953|  23.9k|    {
 1954|  23.9k|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1955|  23.9k|                   dHi = d >> word_half_bits, dLo = d & r_mask;
 1956|  23.9k|        qHi = A/(dHi + 1);
 1957|       |        // This initial guess of qHi may be too small.
 1958|  23.9k|        middle = qHi * dLo;
 1959|  23.9k|        left = qHi * dHi;
 1960|  23.9k|        x = B - (middle << word_half_bits);
 1961|  23.9k|        A -= (middle >> word_half_bits) + left + (x > B);
 1962|  23.9k|        B = x;
 1963|  23.9k|        dLo1 = dLo << word_half_bits;
 1964|       |        // Increase qHi if necessary:
 1965|  23.9k|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1965:17): [True: 0, False: 23.9k]
  |  Branch (1965:29): [True: 0, False: 23.9k]
  |  Branch (1965:41): [True: 0, False: 0]
  ------------------
 1966|      0|        {
 1967|      0|            x = B - dLo1;
 1968|      0|            A -= dHi + (x > B);
 1969|      0|            B = x;
 1970|      0|            qHi++;
 1971|      0|        }
 1972|  23.9k|        qLo = ((A << word_half_bits) | (B >> word_half_bits))/(dHi + 1);
 1973|       |        // This initial guess of qLo may be too small.
 1974|  23.9k|        right = qLo * dLo;
 1975|  23.9k|        middle = qLo * dHi;
 1976|  23.9k|        x = B - right;
 1977|  23.9k|        A -= (x > B);
 1978|  23.9k|        B = x;
 1979|  23.9k|        x = B - (middle << word_half_bits);
 1980|  23.9k|            A -= (middle >> word_half_bits) + (x > B);
 1981|  23.9k|        B = x;
 1982|       |        // Increase qLo if necessary:
 1983|  39.6k|        while ( A || B >= d )
  ------------------
  |  Branch (1983:17): [True: 0, False: 39.6k]
  |  Branch (1983:22): [True: 15.6k, False: 23.9k]
  ------------------
 1984|  15.6k|        {
 1985|  15.6k|            x = B - d;
 1986|  15.6k|            A -= (x > B);
 1987|  15.6k|            B = x;
 1988|  15.6k|            qLo++;
 1989|  15.6k|        }
 1990|  23.9k|        return (qHi << word_half_bits) + qLo;
 1991|  23.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1995|  23.9k|    {
 1996|  23.9k|        word_type hi, lo, d, carry = 0;
 1997|  23.9k|        size_type i;
 1998|  47.8k|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1998:22): [True: 23.9k, False: 23.9k]
  ------------------
 1999|  23.9k|        {
 2000|  23.9k|            DDproduct( b[i], q, hi, lo );
 2001|  23.9k|            d = a[i];
 2002|  23.9k|            a[i] -= lo;
 2003|  23.9k|            if ( a[i] > d )
  ------------------
  |  Branch (2003:18): [True: 3.45k, False: 20.4k]
  ------------------
 2004|  3.45k|                carry++;
 2005|  23.9k|            d = a[i + 1];
 2006|  23.9k|            a[i + 1] -= hi + carry;
 2007|  23.9k|            carry = a[i + 1] > d;
 2008|  23.9k|        }
 2009|  23.9k|        if ( carry ) // q was too large
  ------------------
  |  Branch (2009:14): [True: 0, False: 23.9k]
  ------------------
 2010|      0|        {
 2011|      0|            q--;
 2012|      0|            carry = 0;
 2013|      0|            for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (2013:26): [True: 0, False: 0]
  ------------------
 2014|      0|            {
 2015|      0|                d = a[i] + carry;
 2016|      0|                carry = d < carry;
 2017|      0|                a[i] = d + b[i];
 2018|      0|                if ( a[i] < d )
  ------------------
  |  Branch (2018:22): [True: 0, False: 0]
  ------------------
 2019|      0|                    carry = 1;
 2020|      0|            }
 2021|      0|            a[n] = 0;
 2022|      0|        }
 2023|  23.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1935|  23.9k|    {
 1936|  23.9k|        word_type hiA = A >> word_half_bits, loA = A & r_mask,
 1937|  23.9k|                   hiB = B >> word_half_bits, loB = B & r_mask;
 1938|       |
 1939|  23.9k|        lo = loA * loB;
 1940|  23.9k|        hi = hiA * hiB;
 1941|  23.9k|        word_type mid1 = loA * hiB;
 1942|  23.9k|        word_type mid2 = hiA * loB;
 1943|  23.9k|        word_type old = lo;
 1944|  23.9k|        lo += mid1 << word_half_bits;
 1945|  23.9k|            hi += (lo < old) + (mid1 >> word_half_bits);
 1946|  23.9k|        old = lo;
 1947|  23.9k|        lo += mid2 << word_half_bits;
 1948|  23.9k|            hi += (lo < old) + (mid2 >> word_half_bits);
 1949|  23.9k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   92|   119k|        {
   93|   119k|            return data_;
   94|   119k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 2055|  23.9k|    {
 2056|  23.9k|        if (secondDone)
  ------------------
  |  Branch (2056:13): [True: 0, False: 23.9k]
  ------------------
 2057|      0|        {
 2058|      0|            rem /= max_word;
 2059|      0|        }
 2060|  23.9k|        if ( x > 0 )
  ------------------
  |  Branch (2060:14): [True: 0, False: 23.9k]
  ------------------
 2061|      0|        {
 2062|      0|            rem >>= x;
 2063|      0|        }
 2064|  23.9k|        else
 2065|  23.9k|        {
 2066|  23.9k|            rem.reduce();
 2067|  23.9k|        }
 2068|  23.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  703|   423k|    {
  704|   423k|        storage_.destroy();
  705|   423k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  500|   423k|    {
  501|   423k|        if (is_allocated())
  ------------------
  |  Branch (501:13): [True: 116k, False: 307k]
  ------------------
  502|   116k|        {
  503|   116k|            allocated_.destroy(get_allocator());
  504|   116k|            allocated_.~allocated_storage();
  505|   116k|        }
  506|   307k|        else
  507|   307k|        {
  508|   307k|            inlined_.~inlined_storage();
  509|   307k|        }
  510|   423k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  259|   116k|        {
  260|   116k|            if (data_ != nullptr)
  ------------------
  |  Branch (260:17): [True: 116k, False: 0]
  ------------------
  261|   116k|            {
  262|   116k|                real_allocator_type alloc(a);
  263|   116k|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  264|   116k|            }
  265|   116k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IlEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  688|  60.9k|        : storage_(n, alloc)
  689|  60.9k|    {
  690|  60.9k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IlEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  373|  60.9k|        : word_allocator_type(alloc)
  374|  60.9k|    {
  375|  60.9k|        ::new (&inlined_) inlined_storage(n);
  376|  60.9k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IlEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  138|  60.9k|            : is_allocated_(false),
  139|  60.9k|            is_negative_(n < 0),
  140|  60.9k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 36.1k, False: 24.8k]
  ------------------
  141|  60.9k|        {
  142|  60.9k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (142:26): [True: 5.34k, False: 55.6k]
  ------------------
  143|  60.9k|            values_[1] = 0;
  144|  60.9k|        }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEEl:
 1555|  30.4k|    {
 1556|  30.4k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1556:15): [True: 5.34k, False: 25.1k]
  ------------------
 1557|  30.4k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IjEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  688|  5.34k|        : storage_(n, alloc)
  689|  5.34k|    {
  690|  5.34k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IjEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  373|  5.34k|        : word_allocator_type(alloc)
  374|  5.34k|    {
  375|  5.34k|        ::new (&inlined_) inlined_storage(n);
  376|  5.34k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IjEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  151|  5.34k|            : is_allocated_(false),
  152|  5.34k|            is_negative_(false),
  153|  5.34k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (153:19): [True: 1.37k, False: 3.97k]
  ------------------
  154|  5.34k|        {
  155|  5.34k|            values_[0] = n;
  156|  5.34k|            values_[1] = 0;
  157|  5.34k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  999|  5.34k|    {
 1000|  5.34k|        auto y_words = y.get_words();
 1001|       |
 1002|  5.34k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1002:14): [True: 5.34k, False: 0]
  ------------------
 1003|  5.34k|            return *this += -y;
 1004|      0|        if ( (!is_negative() && y > *this) || (is_negative() && y < *this) )
  ------------------
  |  Branch (1004:15): [True: 0, False: 0]
  |  Branch (1004:33): [True: 0, False: 0]
  |  Branch (1004:48): [True: 0, False: 0]
  |  Branch (1004:65): [True: 0, False: 0]
  ------------------
 1005|      0|            return *this = -(y - *this);
 1006|      0|        word_type borrow = 0;
 1007|      0|        word_type d;
 1008|      0|        auto words = get_words();
 1009|      0|        const size_type this_size = words.size();
 1010|      0|        const size_type y_size = y_words.size();
 1011|       |
 1012|      0|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (1012:31): [True: 0, False: 0]
  ------------------
 1013|      0|        {
 1014|      0|            d = words[i] - borrow;
 1015|      0|            borrow = d > words[i];
 1016|      0|            words[i] = d - y_words[i];
 1017|      0|            if ( words[i] > d )
  ------------------
  |  Branch (1017:18): [True: 0, False: 0]
  ------------------
 1018|      0|                borrow = 1;
 1019|      0|        }
 1020|      0|        for (size_type i = y_size; i < this_size && borrow != 0; i++ )
  ------------------
  |  Branch (1020:36): [True: 0, False: 0]
  |  Branch (1020:53): [True: 0, False: 0]
  ------------------
 1021|      0|        {
 1022|      0|            d = words[i] - borrow;
 1023|      0|            borrow = d > words[i];
 1024|      0|            words[i] = d;
 1025|      0|        }
 1026|      0|        reduce();
 1027|      0|        return *this;
 1028|      0|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLERKS4_:
  965|  5.34k|    {
  966|  5.34k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (966:14): [True: 0, False: 5.34k]
  ------------------
  967|      0|            return *this -= -y;
  968|       |
  969|  5.34k|        auto y_words = y.get_words();
  970|       |        
  971|  5.34k|        word_type d;
  972|  5.34k|        word_type carry = 0;
  973|       |
  974|  5.34k|        auto words = get_words();
  975|  5.34k|        resize( (std::max)(y_words.size(), words.size()) + 1 );
  976|  5.34k|        words = get_words();
  977|       |
  978|  5.34k|        const size_t this_size = words.size();
  979|  5.34k|        const size_t y_size = y_words.size();
  980|  9.31k|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (980:31): [True: 3.97k, False: 5.34k]
  ------------------
  981|  3.97k|        {
  982|  3.97k|            d = words[i] + carry;
  983|  3.97k|            carry = d < carry;
  984|  3.97k|            words[i] = d + y_words[i];
  985|  3.97k|            if (words[i] < d)
  ------------------
  |  Branch (985:17): [True: 837, False: 3.13k]
  ------------------
  986|    837|                carry = 1;
  987|  3.97k|        }
  988|  6.18k|        for (size_type i = y_size; i < this_size && carry != 0; i++ )
  ------------------
  |  Branch (988:36): [True: 5.46k, False: 721]
  |  Branch (988:53): [True: 837, False: 4.62k]
  ------------------
  989|    837|        {
  990|    837|            d = words[i] + carry;
  991|    837|            carry = d < carry;
  992|    837|            words[i] = d;
  993|    837|        }
  994|  5.34k|        reduce();
  995|  5.34k|        return *this;
  996|  5.34k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLIjEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  934|  25.1k|    {
  935|  25.1k|        if ( is_negative())
  ------------------
  |  Branch (935:14): [True: 0, False: 25.1k]
  ------------------
  936|      0|            return *this -= -basic_bigint<Allocator>(y);
  937|       |
  938|  25.1k|        word_type d;
  939|  25.1k|        word_type carry = 0;
  940|       |
  941|  25.1k|        auto words = get_words();
  942|  25.1k|        resize(words.size() + 1);
  943|       |
  944|  25.1k|        words = get_words();
  945|  25.1k|        const size_type this_size = words.size();
  946|  25.1k|        size_type y_size = 1;
  947|       |
  948|  25.1k|        d = words[0] + carry;
  949|  25.1k|        carry = d < carry;
  950|  25.1k|        words[0] = d + y;
  951|  25.1k|        if (words[0] < d)
  ------------------
  |  Branch (951:13): [True: 1.80k, False: 23.3k]
  ------------------
  952|  1.80k|            carry = 1;
  953|       |
  954|  26.9k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (954:36): [True: 21.3k, False: 5.62k]
  |  Branch (954:53): [True: 1.80k, False: 19.5k]
  ------------------
  955|  1.80k|        {
  956|  1.80k|            d = words[i] + carry;
  957|  1.80k|            carry = d < carry;
  958|  1.80k|            words[i] = d;
  959|  1.80k|        }
  960|  25.1k|        reduce();
  961|  25.1k|        return *this;
  962|  25.1k|    }

_ZN8jsoncons6binary13big_to_nativeIfNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  59.6k|    {
  183|  59.6k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 59.6k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  59.6k|        T val;
  188|  59.6k|        std::memcpy(&val,first,sizeof(T));
  189|  59.6k|        return byte_swap(val);
  190|  59.6k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|  59.6k|    {
   65|  59.6k|        uint32_t x;
   66|  59.6k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|  59.6k|        uint32_t y = byte_swap(x);
   68|  59.6k|        T val2;
   69|  59.6k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|  59.6k|        return val2;
   71|  59.6k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|   104k|    {
   40|   104k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|   104k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  474|   104k|#  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|   104k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  7.12k|    {
  183|  7.12k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 7.12k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  7.12k|        T val;
  188|  7.12k|        std::memcpy(&val,first,sizeof(T));
  189|  7.12k|        return byte_swap(val);
  190|  7.12k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  7.12k|    {
   77|  7.12k|        uint64_t x;
   78|  7.12k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  7.12k|        uint64_t y = byte_swap(x);
   80|  7.12k|        T val2;
   81|  7.12k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  7.12k|        return val2;
   83|  7.12k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  20.0k|    {
   52|  20.0k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  20.0k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  473|  20.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|  20.0k|    }
_ZN8jsoncons6binary13big_to_nativeItNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   264k|    {
  183|   264k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 264k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   264k|        T val;
  188|   264k|        std::memcpy(&val,first,sizeof(T));
  189|   264k|        return byte_swap(val);
  190|   264k|    }
_ZN8jsoncons6binary9byte_swapItEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|   264k|    {
   29|   264k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|   264k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  478|   264k|#      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|   264k|    }
_ZN8jsoncons6binary13big_to_nativeIjNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  45.2k|    {
  183|  45.2k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 45.2k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  45.2k|        T val;
  188|  45.2k|        std::memcpy(&val,first,sizeof(T));
  189|  45.2k|        return byte_swap(val);
  190|  45.2k|    }
_ZN8jsoncons6binary13big_to_nativeImNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  12.9k|    {
  183|  12.9k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 12.9k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  12.9k|        T val;
  188|  12.9k|        std::memcpy(&val,first,sizeof(T));
  189|  12.9k|        return byte_swap(val);
  190|  12.9k|    }
_ZN8jsoncons6binary13big_to_nativeIaNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  1.05M|    {
  183|  1.05M|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 1.05M]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  1.05M|        T val;
  188|  1.05M|        std::memcpy(&val,first,sizeof(T));
  189|  1.05M|        return byte_swap(val);
  190|  1.05M|    }
_ZN8jsoncons6binary9byte_swapIaEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|  1.05M|    {
   22|  1.05M|        return val;
   23|  1.05M|    }
_ZN8jsoncons6binary13big_to_nativeIsNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  53.3k|    {
  183|  53.3k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 53.3k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  53.3k|        T val;
  188|  53.3k|        std::memcpy(&val,first,sizeof(T));
  189|  53.3k|        return byte_swap(val);
  190|  53.3k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  53.3k|    {
   29|  53.3k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  53.3k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  478|  53.3k|#      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|  53.3k|    }
_ZN8jsoncons6binary13big_to_nativeIiNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  5.26k|    {
  183|  5.26k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 5.26k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  5.26k|        T val;
  188|  5.26k|        std::memcpy(&val,first,sizeof(T));
  189|  5.26k|        return byte_swap(val);
  190|  5.26k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  5.26k|    {
   40|  5.26k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  5.26k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  474|  5.26k|#  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.26k|    }
_ZN8jsoncons6binary13big_to_nativeIlNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  31.8k|    {
  183|  31.8k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 31.8k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  31.8k|        T val;
  188|  31.8k|        std::memcpy(&val,first,sizeof(T));
  189|  31.8k|        return byte_swap(val);
  190|  31.8k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  31.8k|    {
   52|  31.8k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  31.8k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  473|  31.8k|#  define JSONCONS_BYTE_SWAP_64 __builtin_bswap64
  ------------------
   54|       |    #else
   55|       |        uint64_t tmp = ((static_cast<uint64_t>(val) & 0x00000000ffffffffull) << 32) | ((static_cast<uint64_t>(val) & 0xffffffff00000000ull) >> 32);
   56|       |        tmp = ((tmp & 0x0000ffff0000ffffull) << 16) | ((tmp & 0xffff0000ffff0000ull) >> 16);
   57|       |        return ((tmp & 0x00ff00ff00ff00ffull) << 8)  | ((tmp & 0xff00ff00ff00ff00ull) >> 8);
   58|       |    #endif
   59|  31.8k|    }
_ZN8jsoncons6binary13big_to_nativeIhNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   224k|    {
  183|   224k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 224k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   224k|        T val;
  188|   224k|        std::memcpy(&val,first,sizeof(T));
  189|   224k|        return byte_swap(val);
  190|   224k|    }
_ZN8jsoncons6binary9byte_swapIhEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|   224k|    {
   22|   224k|        return val;
   23|   224k|    }

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

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

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  237|  9.00k|    {       
  238|  9.00k|        return (ptr);
  239|  9.00k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  237|   562k|    {       
  238|   562k|        return (ptr);
  239|   562k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  237|  8.47M|    {       
  238|  8.47M|        return (ptr);
  239|  8.47M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  237|  1.99M|    {       
  238|  1.99M|        return (ptr);
  239|  1.99M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  237|   571k|    {       
  238|   571k|        return (ptr);
  239|   571k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerImEEPT_S3_:
  237|  92.8k|    {       
  238|  92.8k|        return (ptr);
  239|  92.8k|    }  

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

_ZN8jsoncons16append_to_stringImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  19.5M|{
   43|  19.5M|    using char_type = typename Result::value_type;
   44|       |
   45|  19.5M|    char_type buf[255];
   46|  19.5M|    char_type *p = buf;
   47|  19.5M|    const char_type* last = buf+255;
   48|       |
   49|  19.5M|    bool is_negative = value < 0;
   50|       |
   51|  19.5M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 19.5M]
  ------------------
   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|  19.5M|    else
   60|  19.5M|    {
   61|       |
   62|  19.5M|        do
   63|  22.5M|        {
   64|  22.5M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  22.5M|        }
   66|  22.5M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 3.00M, False: 19.5M]
  |  Branch (66:33): [True: 3.00M, False: 0]
  ------------------
   67|  19.5M|    }
   68|  19.5M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   67|  19.5M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 19.5M]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  19.5M|    std::size_t count = (p - buf);
   71|  19.5M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 19.5M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  42.0M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 22.5M, False: 19.5M]
  ------------------
   77|  22.5M|    {
   78|  22.5M|        result.push_back(*p);
   79|  22.5M|    }
   80|       |
   81|  19.5M|    return count;
   82|  19.5M|}
_ZN8jsoncons16append_to_stringIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  1.71M|{
   43|  1.71M|    using char_type = typename Result::value_type;
   44|       |
   45|  1.71M|    char_type buf[255];
   46|  1.71M|    char_type *p = buf;
   47|  1.71M|    const char_type* last = buf+255;
   48|       |
   49|  1.71M|    bool is_negative = value < 0;
   50|       |
   51|  1.71M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 1.71M, False: 1.37k]
  ------------------
   52|  1.71M|    {
   53|  1.71M|        do
   54|  3.18M|        {
   55|  3.18M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  3.18M|        }
   57|  3.18M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 1.47M, False: 1.71M]
  |  Branch (57:33): [True: 1.47M, False: 0]
  ------------------
   58|  1.71M|    }
   59|  1.37k|    else
   60|  1.37k|    {
   61|       |
   62|  1.37k|        do
   63|  9.81k|        {
   64|  9.81k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  9.81k|        }
   66|  9.81k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 8.44k, False: 1.37k]
  |  Branch (66:33): [True: 8.44k, False: 0]
  ------------------
   67|  1.37k|    }
   68|  1.71M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   67|  1.71M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 1.71M]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  1.71M|    std::size_t count = (p - buf);
   71|  1.71M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 1.71M, False: 1.37k]
  ------------------
   72|  1.71M|    {
   73|  1.71M|        result.push_back('-');
   74|  1.71M|        ++count;
   75|  1.71M|    }
   76|  4.91M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 3.19M, False: 1.71M]
  ------------------
   77|  3.19M|    {
   78|  3.19M|        result.push_back(*p);
   79|  3.19M|    }
   80|       |
   81|  1.71M|    return count;
   82|  1.71M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|  57.0k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|  57.0k|    {
  489|  57.0k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|  57.0k|        struct lconv *lc = localeconv();
  491|  57.0k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 57.0k, False: 0]
  |  Branch (491:30): [True: 57.0k, False: 0]
  ------------------
  492|  57.0k|        {
  493|  57.0k|            decimal_point_ = lc->decimal_point[0];
  494|  57.0k|        }
  495|  57.0k|#endif
  496|  57.0k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|  57.0k|    {
  504|  57.0k|        std::size_t count = 0;
  505|       |
  506|  57.0k|        char number_buffer[200];
  507|  57.0k|        int length = 0;
  508|       |
  509|  57.0k|        switch (float_format_)
  510|  57.0k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 57.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: 57.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|  57.0k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 57.0k, False: 0]
  ------------------
  552|  57.0k|            {
  553|  57.0k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 57.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|  57.0k|                else
  563|  57.0k|                {
  564|  57.0k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 57.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|  57.0k|                }             
  569|  57.0k|                break;
  570|  57.0k|            }
  571|  57.0k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 57.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|  57.0k|        }
  575|  57.0k|        return count;
  576|  57.0k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  3.68k|{
  244|  3.68k|    const char *sbeg = buffer;
  245|  3.68k|    const char *send = sbeg + length;
  246|       |
  247|  3.68k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 3.68k, False: 0]
  ------------------
  248|  3.68k|    {
  249|  3.68k|        bool needs_dot = true;
  250|  65.0k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 61.3k, False: 3.68k]
  ------------------
  251|  61.3k|        {
  252|  61.3k|            switch (*q)
  253|  61.3k|            {
  254|  1.94k|            case '-':
  ------------------
  |  Branch (254:13): [True: 1.94k, False: 59.4k]
  ------------------
  255|  5.07k|            case '0':
  ------------------
  |  Branch (255:13): [True: 3.13k, False: 58.2k]
  ------------------
  256|  11.3k|            case '1':
  ------------------
  |  Branch (256:13): [True: 6.30k, False: 55.0k]
  ------------------
  257|  15.9k|            case '2':
  ------------------
  |  Branch (257:13): [True: 4.55k, False: 56.8k]
  ------------------
  258|  19.3k|            case '3':
  ------------------
  |  Branch (258:13): [True: 3.36k, False: 58.0k]
  ------------------
  259|  23.9k|            case '4':
  ------------------
  |  Branch (259:13): [True: 4.68k, False: 56.6k]
  ------------------
  260|  32.9k|            case '5':
  ------------------
  |  Branch (260:13): [True: 8.99k, False: 52.3k]
  ------------------
  261|  37.1k|            case '6':
  ------------------
  |  Branch (261:13): [True: 4.17k, False: 57.2k]
  ------------------
  262|  42.5k|            case '7':
  ------------------
  |  Branch (262:13): [True: 5.37k, False: 56.0k]
  ------------------
  263|  48.1k|            case '8':
  ------------------
  |  Branch (263:13): [True: 5.62k, False: 55.7k]
  ------------------
  264|  52.2k|            case '9':
  ------------------
  |  Branch (264:13): [True: 4.13k, False: 57.2k]
  ------------------
  265|  54.1k|            case '+':
  ------------------
  |  Branch (265:13): [True: 1.88k, False: 59.4k]
  ------------------
  266|  54.1k|                result.push_back(*q);
  267|  54.1k|                break;
  268|  2.17k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 2.17k, False: 59.1k]
  ------------------
  269|  2.17k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 61.3k]
  ------------------
  270|  2.17k|                result.push_back('e');
  271|  2.17k|                needs_dot = false;
  272|  2.17k|                break;
  273|  5.02k|            default:
  ------------------
  |  Branch (273:13): [True: 5.02k, False: 56.3k]
  ------------------
  274|  5.02k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 2.45k, False: 2.57k]
  ------------------
  275|  2.45k|                {
  276|  2.45k|                    needs_dot = false;
  277|  2.45k|                    result.push_back('.');
  278|  2.45k|                }
  279|  5.02k|                break;
  280|  61.3k|            }
  281|  61.3k|        }
  282|  3.68k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 1.23k, False: 2.45k]
  ------------------
  283|  1.23k|        {
  284|  1.23k|            result.push_back('.');
  285|  1.23k|            result.push_back('0');
  286|  1.23k|        }
  287|  3.68k|    }
  288|  3.68k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKciiiiRT_:
  171|  51.0k|{
  172|  51.0k|    int nb_digits = length;
  173|  51.0k|    int offset;
  174|       |    /* v = buffer * 10^k
  175|       |       kk is such that 10^(kk-1) <= v < 10^kk
  176|       |       this way kk gives the position of the decimal point.
  177|       |    */
  178|  51.0k|    int kk = nb_digits + k;
  179|       |
  180|  51.0k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 31.7k, False: 19.3k]
  |  Branch (180:28): [True: 26.1k, False: 5.54k]
  ------------------
  181|  26.1k|    {
  182|       |        /* the first digits are already in. Add some 0s and call it a day. */
  183|       |        /* the max_exp is a personal choice. Only 16 digits could possibly be relevant.
  184|       |         * Basically we want to print 12340000000 rather than 1234.0e7 or 1.234e10 */
  185|   216k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 190k, False: 26.1k]
  ------------------
  186|   190k|        {
  187|   190k|            result.push_back(buffer[i]);
  188|   190k|        }
  189|  29.1k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 2.94k, False: 26.1k]
  ------------------
  190|  2.94k|        {
  191|  2.94k|            result.push_back('0');
  192|  2.94k|        }
  193|  26.1k|        result.push_back('.');
  194|  26.1k|        result.push_back('0');
  195|  26.1k|    } 
  196|  24.8k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 10.7k, False: 14.1k]
  |  Branch (196:24): [True: 5.23k, False: 5.54k]
  ------------------
  197|  5.23k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  20.8k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 15.6k, False: 5.23k]
  ------------------
  200|  15.6k|        {
  201|  15.6k|            result.push_back(buffer[i]);
  202|  15.6k|        }
  203|  5.23k|        result.push_back('.');
  204|  65.2k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 60.0k, False: 5.23k]
  ------------------
  205|  60.0k|        {
  206|  60.0k|            result.push_back(buffer[i]);
  207|  60.0k|        }
  208|  5.23k|    } 
  209|  19.6k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 6.81k, False: 12.8k]
  |  Branch (209:30): [True: 1.27k, False: 5.54k]
  ------------------
  210|  1.27k|    {
  211|  1.27k|        offset = 2 - kk;
  212|       |
  213|  1.27k|        result.push_back('0');
  214|  1.27k|        result.push_back('.');
  215|  2.47k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 1.20k, False: 1.27k]
  ------------------
  216|  1.20k|            result.push_back('0');
  217|  13.9k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 12.7k, False: 1.27k]
  ------------------
  218|  12.7k|        {
  219|  12.7k|            result.push_back(buffer[i]);
  220|  12.7k|        }
  221|  1.27k|    } 
  222|  18.3k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 1.53k, False: 16.8k]
  ------------------
  223|  1.53k|    {
  224|  1.53k|        result.push_back(buffer[0]);
  225|  1.53k|        result.push_back('e');
  226|  1.53k|        fill_exponent(kk - 1, result);
  227|  1.53k|    } 
  228|  16.8k|    else
  229|  16.8k|    {
  230|  16.8k|        result.push_back(buffer[0]);
  231|  16.8k|        result.push_back('.');
  232|   261k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 245k, False: 16.8k]
  ------------------
  233|   245k|        {
  234|   245k|            result.push_back(buffer[i]);
  235|   245k|        }
  236|  16.8k|        result.push_back('e');
  237|  16.8k|        fill_exponent(kk - 1, result);
  238|  16.8k|    }
  239|  51.0k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  18.3k|{
  137|  18.3k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 12.8k, False: 5.54k]
  ------------------
  138|  12.8k|    {
  139|  12.8k|        result.push_back('-');
  140|  12.8k|        K = -K;
  141|  12.8k|    }
  142|  5.54k|    else
  143|  5.54k|    {
  144|  5.54k|        result.push_back('+'); // compatibility with sprintf
  145|  5.54k|    }
  146|       |
  147|  18.3k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 1.18k, False: 17.2k]
  ------------------
  148|  1.18k|    {
  149|  1.18k|        result.push_back('0'); // compatibility with sprintf
  150|  1.18k|        result.push_back((char)('0' + K));
  151|  1.18k|    }
  152|  17.2k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 10.4k, False: 6.74k]
  ------------------
  153|  10.4k|    {
  154|  10.4k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  10.4k|        result.push_back((char)('0' + K));
  156|  10.4k|    }
  157|  6.74k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 6.74k, False: 0]
  ------------------
  158|  6.74k|    {
  159|  6.74k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  6.74k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  6.74k|        result.push_back((char)('0' + K));
  162|  6.74k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::append_to_string(K, result);
  166|      0|    }
  167|  18.3k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|  57.0k|{
  476|  57.0k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|  57.0k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|  57.0k|{
  367|  57.0k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 2.27k, False: 54.7k]
  ------------------
  368|  2.27k|    {
  369|  2.27k|        result.push_back('0');
  370|  2.27k|        result.push_back('.');
  371|  2.27k|        result.push_back('0');
  372|  2.27k|        return true;
  373|  2.27k|    }
  374|       |
  375|  54.7k|    int length = 0;
  376|  54.7k|    int k;
  377|       |
  378|  54.7k|    char buffer[100];
  379|       |
  380|  54.7k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 43.9k, False: 10.8k]
  ------------------
  381|  54.7k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 51.0k, False: 3.68k]
  ------------------
  382|  51.0k|    {
  383|  51.0k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 42.2k, False: 8.80k]
  ------------------
  384|  42.2k|        {
  385|  42.2k|            result.push_back('-');
  386|  42.2k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|  51.0k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|  51.0k|        return true;
  391|  51.0k|    }
  392|  3.68k|    else
  393|  3.68k|    {
  394|  3.68k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  3.68k|    }
  396|  54.7k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  3.68k|{
  330|  3.68k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 3.68k]
  ------------------
  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|  3.68k|    char buffer[100];
  339|  3.68k|    int precision = std::numeric_limits<double>::digits10;
  340|  3.68k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  3.68k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 3.68k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  3.68k|    double x{0};
  346|  3.68k|    auto res = decstr_to_double(buffer, length, x);
  347|  3.68k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 3.68k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  3.68k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 2.70k, False: 987]
  ------------------
  352|  2.70k|    {
  353|  2.70k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  2.70k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  2.70k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 2.70k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  2.70k|    }
  360|  3.68k|    dump_buffer(buffer, length, decimal_point, result);
  361|  3.68k|    return true;
  362|  3.68k|}

_ZN8jsoncons14unicode_traits8validateIhEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  3.82M|    {
 1148|  3.82M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  3.82M|        const uint8_t* end = it + length;
 1150|       |
 1151|  3.82M|        unicode_errc  result{};
 1152|  3.94M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 121k, False: 3.82M]
  ------------------
 1153|   121k|        {
 1154|   121k|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 109k, False: 11.7k]
  ------------------
 1155|   109k|            {
 1156|   754k|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  342|   219k|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (342:32): [True: 108k, False: 1.13k]
  |  |  |  Branch (342:34): [True: 108k, False: 318]
  |  |  |  Branch (342:36): [True: 107k, False: 353]
  |  |  |  Branch (342:38): [True: 107k, False: 243]
  |  |  |  Branch (342:40): [True: 107k, False: 244]
  |  |  |  Branch (342:42): [True: 107k, False: 276]
  |  |  |  Branch (342:44): [True: 106k, False: 236]
  |  |  |  Branch (342:46): [True: 106k, False: 214]
  |  |  ------------------
  ------------------
 1157|   106k|                continue;
 1158|   754k|            }
 1159|  14.7k|    non_ascii:
 1160|  14.7k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  14.7k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 35, False: 14.7k]
  ------------------
 1162|     35|            {
 1163|     35|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     35|            }
 1165|  14.7k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 213, False: 14.5k]
  ------------------
 1166|    213|            {
 1167|    213|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    213|            }
 1169|  14.5k|            it += len;
 1170|  14.5k|        }
 1171|  3.82M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  3.82M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  14.7k|    {
  306|  14.7k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  14.7k|        const uint8_t* end = it+length;
  308|       |
  309|  14.7k|        uint8_t byte;
  310|  14.7k|        switch (length) {
  311|     24|        default:
  ------------------
  |  Branch (311:9): [True: 24, False: 14.7k]
  ------------------
  312|     24|            return unicode_errc::over_long_utf8_sequence;
  313|    598|        case 4:
  ------------------
  |  Branch (313:9): [True: 598, False: 14.1k]
  ------------------
  314|    598|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 9, False: 589]
  ------------------
  315|      9|                return unicode_errc::bad_continuation_byte;
  316|    589|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  576|    589|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  1.41k|        case 3:
  ------------------
  |  Branch (317:9): [True: 830, False: 13.8k]
  ------------------
  318|  1.41k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 10, False: 1.40k]
  ------------------
  319|     10|                return unicode_errc::bad_continuation_byte;
  320|  1.40k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  576|  1.40k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  3.41k|        case 2:
  ------------------
  |  Branch (321:9): [True: 2.00k, False: 12.7k]
  ------------------
  322|  3.41k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 72, False: 3.34k]
  ------------------
  323|     72|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  3.34k|            switch (*it) 
  326|  3.34k|            {
  327|       |                // no fall-through in this inner switch
  328|    362|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 362, False: 2.98k]
  |  Branch (328:32): [True: 7, False: 355]
  ------------------
  329|    386|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 386, False: 2.95k]
  |  Branch (329:32): [True: 3, False: 383]
  ------------------
  330|    383|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 213, False: 3.13k]
  |  Branch (330:32): [True: 5, False: 208]
  ------------------
  331|    272|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 272, False: 3.07k]
  |  Branch (331:32): [True: 4, False: 268]
  ------------------
  332|  2.11k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 2.11k, False: 1.23k]
  |  Branch (332:32): [True: 0, False: 2.11k]
  ------------------
  333|  3.34k|            }
  334|       |
  335|  3.32k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  576|  3.32k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  14.5k|        case 1:
  ------------------
  |  Branch (336:9): [True: 11.2k, False: 3.45k]
  ------------------
  337|  14.5k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 3.39k, False: 11.1k]
  |  Branch (337:32): [True: 78, False: 3.32k]
  ------------------
  338|     78|                return unicode_errc::source_illegal;
  339|  14.5k|            break;
  340|  14.7k|        }
  341|  14.5k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 1, False: 14.5k]
  ------------------
  342|      1|            return unicode_errc::source_illegal;
  343|       |
  344|  14.5k|        return unicode_errc();
  345|  14.5k|    }

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

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

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

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

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

