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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2769|   114M|        {
 2770|   114M|             destroy();
 2771|   114M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  893|   114M|        {
  894|   114M|            switch (storage_kind())
  895|   114M|            {
  896|  14.8k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (896:17): [True: 14.8k, False: 114M]
  ------------------
  897|  14.8k|                {
  898|  14.8k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (898:25): [True: 14.8k, False: 0]
  ------------------
  899|  14.8k|                    {
  900|  14.8k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  901|  14.8k|                    }
  902|  14.8k|                    break;
  903|      0|                }
  904|   897k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (904:17): [True: 897k, False: 113M]
  ------------------
  905|   897k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (905:25): [True: 897k, False: 0]
  ------------------
  906|   897k|                    {
  907|   897k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  908|   897k|                    }
  909|   897k|                    break;
  910|  4.27M|                case json_storage_kind::array:
  ------------------
  |  Branch (910:17): [True: 4.27M, False: 110M]
  ------------------
  911|  4.27M|                {
  912|  4.27M|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (912:25): [True: 4.27M, False: 0]
  ------------------
  913|  4.27M|                    {
  914|  4.27M|                        auto& stor = cast<array_storage>();
  915|  4.27M|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  916|  4.27M|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  917|  4.27M|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  918|  4.27M|                    }
  919|  4.27M|                    break;
  920|      0|                }
  921|  1.97M|                case json_storage_kind::object:
  ------------------
  |  Branch (921:17): [True: 1.97M, False: 112M]
  ------------------
  922|  1.97M|                {
  923|  1.97M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (923:25): [True: 1.97M, False: 0]
  ------------------
  924|  1.97M|                    {
  925|  1.97M|                        auto& stor = cast<object_storage>();
  926|  1.97M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  927|  1.97M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  928|  1.97M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  929|  1.97M|                    }
  930|  1.97M|                    break;
  931|      0|                }
  932|   107M|                default:
  ------------------
  |  Branch (932:17): [True: 107M, False: 7.15M]
  ------------------
  933|   107M|                    break;
  934|   114M|            }
  935|   114M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1457|   274M|        {
 1458|       |            // It is legal to access 'common_.storage_kind_' even though 
 1459|       |            // common_ is not the active member of the union because 'storage_kind_' 
 1460|       |            // is a part of the common initial sequence of all union members
 1461|       |            // as defined in 11.4-25 of the Standard.
 1462|   274M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1463|   274M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
  999|   156k|        {
 1000|   156k|            return cast(identity<T>());
 1001|   156k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1090|   156k|        {
 1091|   156k|            return long_str_;
 1092|   156k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
  999|  6.04M|        {
 1000|  6.04M|            return cast(identity<T>());
 1001|  6.04M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1100|  6.04M|        {
 1101|  6.04M|            return byte_str_;
 1102|  6.04M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
  999|  39.3M|        {
 1000|  39.3M|            return cast(identity<T>());
 1001|  39.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1120|  39.3M|        {
 1121|  39.3M|            return array_;
 1122|  39.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2302|  75.4M|        {
 2303|  75.4M|            uninitialized_move(std::move(other));
 2304|  75.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1297|  75.4M|        {
 1298|  75.4M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1298:17): [True: 60.7M, False: 14.6M]
  ------------------
 1299|  60.7M|            {
 1300|  60.7M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1301|  60.7M|            }
 1302|  14.6M|            else
 1303|  14.6M|            {
 1304|  14.6M|                switch (other.storage_kind())
 1305|  14.6M|                {
 1306|  36.9k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1306:21): [True: 36.9k, False: 14.5M]
  ------------------
 1307|  36.9k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1308|  36.9k|                        other.construct<null_storage>();
 1309|  36.9k|                        break;
 1310|  1.61M|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1310:21): [True: 1.61M, False: 12.9M]
  ------------------
 1311|  1.61M|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1312|  1.61M|                        other.construct<null_storage>();
 1313|  1.61M|                        break;
 1314|  9.37M|                    case json_storage_kind::array:
  ------------------
  |  Branch (1314:21): [True: 9.37M, False: 5.23M]
  ------------------
 1315|  9.37M|                        construct<array_storage>(other.cast<array_storage>());
 1316|  9.37M|                        other.construct<null_storage>();
 1317|  9.37M|                        break;
 1318|  3.58M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1318:21): [True: 3.58M, False: 11.0M]
  ------------------
 1319|  3.58M|                        construct<object_storage>(other.cast<object_storage>());
 1320|  3.58M|                        other.construct<null_storage>();
 1321|  3.58M|                        break;
 1322|      0|                    default:
  ------------------
  |  Branch (1322:21): [True: 0, False: 14.6M]
  ------------------
 1323|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1324|      0|                        break;
 1325|  14.6M|                }
 1326|  14.6M|            }
 1327|  75.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  990|  55.7k|        {
  991|  55.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  55.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  621|  74.6k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  622|  74.6k|            {
  623|  74.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  990|  14.6M|        {
  991|  14.6M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  14.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
  999|  19.5M|        {
 1000|  19.5M|            return cast(identity<T>());
 1001|  19.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1010|  19.5M|        {
 1011|  19.5M|            return null_;
 1012|  19.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  445|  15.8M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  446|  15.8M|            {
  447|  15.8M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  990|  1.67M|        {
  991|  1.67M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  1.67M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  670|  1.73M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  671|  1.73M|            {
  672|  1.73M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  990|  11.1M|        {
  991|  11.1M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  11.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  722|  12.8M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  723|  12.8M|            {
  724|  12.8M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  990|  4.13M|        {
  991|  4.13M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  4.13M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  772|  4.69M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  773|  4.69M|            {
  774|  4.69M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4754|   391k|        {
 4755|   391k|            switch (storage_kind())
 4756|   391k|            {
 4757|   391k|                case json_storage_kind::array:
  ------------------
  |  Branch (4757:17): [True: 391k, False: 0]
  ------------------
 4758|   391k|                    return array_range_type(cast<array_storage>().value().begin(),
 4759|   391k|                        cast<array_storage>().value().end());
 4760|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4760:17): [True: 0, False: 391k]
  ------------------
 4761|      0|                    return cast<json_ref_storage>().value().array_range();
 4762|      0|                default:
  ------------------
  |  Branch (4762:17): [True: 0, False: 391k]
  ------------------
 4763|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4764|   391k|            }
 4765|   391k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  745|  4.32M|            {
  746|  4.32M|                return *ptr_;
  747|  4.32M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  343|   391k|            : first_(first), last_(last)
  344|   391k|        {
  345|   391k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  348|   391k|        {
  349|   391k|            return first_;
  350|   391k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  352|   391k|        {
  353|   391k|            return last_;
  354|   391k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3420|   124k|        {
 3421|   124k|            switch (storage_kind())
 3422|   124k|            {
 3423|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3423:17): [True: 0, False: 124k]
  ------------------
 3424|      0|                    return cast<byte_string_storage>().length() == 0;
 3425|      0|                    break;
 3426|      0|                case json_storage_kind::short_str:
  ------------------
  |  Branch (3426:17): [True: 0, False: 124k]
  ------------------
 3427|      0|                    return cast<short_string_storage>().length() == 0;
 3428|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 124k]
  ------------------
 3429|      0|                    return cast<long_string_storage>().length() == 0;
 3430|  84.5k|                case json_storage_kind::array:
  ------------------
  |  Branch (3430:17): [True: 84.5k, False: 40.3k]
  ------------------
 3431|  84.5k|                    return cast<array_storage>().value().empty();
 3432|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3432:17): [True: 0, False: 124k]
  ------------------
 3433|      0|                    return true;
 3434|  40.3k|                case json_storage_kind::object:
  ------------------
  |  Branch (3434:17): [True: 40.3k, False: 84.5k]
  ------------------
 3435|  40.3k|                    return cast<object_storage>().value().empty();
 3436|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3436:17): [True: 0, False: 124k]
  ------------------
 3437|      0|                    return cast<const_json_ref_storage>().value().empty();
 3438|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3438:17): [True: 0, False: 124k]
  ------------------
 3439|      0|                    return cast<json_ref_storage>().value().empty();
 3440|      0|                default:
  ------------------
  |  Branch (3440:17): [True: 0, False: 124k]
  ------------------
 3441|      0|                    return false;
 3442|   124k|            }
 3443|   124k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1005|  84.5k|        {
 1006|  84.5k|            return cast(identity<T>());
 1007|  84.5k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1125|  84.5k|        {
 1126|  84.5k|            return array_;
 1127|  84.5k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  84.5k|            {
  751|  84.5k|                return *ptr_;
  752|  84.5k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1005|  40.3k|        {
 1006|  40.3k|            return cast(identity<T>());
 1007|  40.3k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1115|  40.3k|        {
 1116|  40.3k|            return object_;
 1117|  40.3k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  796|  40.3k|            {
  797|  40.3k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|  40.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 40.3k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  798|  40.3k|                return *ptr_;
  799|  40.3k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4151|   443k|        {
 4152|   443k|            switch (storage_kind())
 4153|   443k|            {
 4154|   391k|                case json_storage_kind::array:
  ------------------
  |  Branch (4154:17): [True: 391k, False: 52.2k]
  ------------------
 4155|   391k|                    cast<array_storage>().value().clear();
 4156|   391k|                    break;
 4157|  52.2k|                case json_storage_kind::object:
  ------------------
  |  Branch (4157:17): [True: 52.2k, False: 391k]
  ------------------
 4158|  52.2k|                    cast<object_storage>().value().clear();
 4159|  52.2k|                    break;
 4160|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4160:17): [True: 0, False: 443k]
  ------------------
 4161|      0|                    cast<json_ref_storage>().value().clear();
 4162|      0|                    break;
 4163|      0|                default:
  ------------------
  |  Branch (4163:17): [True: 0, False: 443k]
  ------------------
 4164|      0|                    break;
 4165|   443k|            }
 4166|   443k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  790|   210k|            {
  791|   210k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|   210k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 210k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  792|   210k|                return *ptr_;
  793|   210k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4720|  52.2k|        {
 4721|  52.2k|            switch (storage_kind())
 4722|  52.2k|            {
 4723|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4723:17): [True: 0, False: 52.2k]
  ------------------
 4724|      0|                    return object_range_type(object_iterator(), object_iterator());
 4725|  52.2k|                case json_storage_kind::object:
  ------------------
  |  Branch (4725:17): [True: 52.2k, False: 0]
  ------------------
 4726|  52.2k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4727|  52.2k|                                                  object_iterator(cast<object_storage>().value().end()));
 4728|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4728:17): [True: 0, False: 52.2k]
  ------------------
 4729|      0|                    return cast<json_ref_storage>().value().object_range();
 4730|      0|                default:
  ------------------
  |  Branch (4730:17): [True: 0, False: 52.2k]
  ------------------
 4731|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4732|  52.2k|            }
 4733|  52.2k|        }
_ZN8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEEC2ERKSI_SP_:
  343|  52.2k|            : first_(first), last_(last)
  344|  52.2k|        {
  345|  52.2k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|   104k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|   104k|            {
  120|   104k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  348|  52.2k|        {
  349|  52.2k|            return first_;
  350|  52.2k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  352|  52.2k|        {
  353|  52.2k|            return last_;
  354|  52.2k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|   144k|            {
  219|   144k|                return !(*this == rhs);
  220|   144k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|   144k|            {
  210|   144k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   77|   289k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 144k, False: 0]
  |  |  |  Branch (77:48): [True: 144k, False: 0]
  |  |  |  Branch (77:48): [True: 144k, False: 0]
  |  |  ------------------
  ------------------
  211|   144k|                {
  212|   144k|                    return current_ == rhs.current_;
  213|   144k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|   144k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  92.5k|            {
  141|  92.5k|                return *current_;
  142|  92.5k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  92.5k|            {
  151|  92.5k|                ++current_;
  152|  92.5k|                return *this;
  153|  92.5k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
  999|  14.3M|        {
 1000|  14.3M|            return cast(identity<T>());
 1001|  14.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1110|  14.3M|        {
 1111|  14.3M|            return object_;
 1112|  14.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2270|  7.23k|        {
 2271|  7.23k|            construct<empty_object_storage>(semantic_tag::none);
 2272|  7.23k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  990|  7.23k|        {
  991|  7.23k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  7.23k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
  999|  12.0k|        {
 1000|  12.0k|            return cast(identity<T>());
 1001|  12.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1020|  12.0k|        {
 1021|  12.0k|            return empty_object_;
 1022|  12.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  457|  7.23k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  458|  7.23k|            {
  459|  7.23k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3479|  44.3k|        {
 3480|  44.3k|            if (n > 0)
  ------------------
  |  Branch (3480:17): [True: 44.3k, False: 0]
  ------------------
 3481|  44.3k|            {
 3482|  44.3k|                switch (storage_kind())
 3483|  44.3k|                {
 3484|  44.3k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3484:21): [True: 44.3k, False: 0]
  ------------------
 3485|  44.3k|                        cast<array_storage>().value().reserve(n);
 3486|  44.3k|                        break;
 3487|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3487:21): [True: 0, False: 44.3k]
  ------------------
 3488|      0|                        create_object_implicitly();
 3489|      0|                        cast<object_storage>().value().reserve(n);
 3490|      0|                        break;
 3491|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3491:21): [True: 0, False: 44.3k]
  ------------------
 3492|      0|                        cast<object_storage>().value().reserve(n);
 3493|      0|                        break;
 3494|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3494:21): [True: 0, False: 44.3k]
  ------------------
 3495|      0|                        cast<json_ref_storage>().value().reserve(n);
 3496|      0|                        break;
 3497|      0|                    default:
  ------------------
  |  Branch (3497:21): [True: 0, False: 44.3k]
  ------------------
 3498|      0|                        break;
 3499|  44.3k|                }
 3500|  44.3k|            }
 3501|  44.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2315|  1.97M|        {
 2316|  1.97M|            auto ptr = create_object(alloc);
 2317|  1.97M|            construct<object_storage>(ptr, tag);
 2318|  1.97M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  971|  1.97M|        {
  972|  1.97M|            using stor_allocator_type = typename object_storage::allocator_type;
  973|  1.97M|            stor_allocator_type stor_alloc(alloc);
  974|  1.97M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  975|  1.97M|            JSONCONS_TRY
  ------------------
  |  |   37|  1.97M|    #define JSONCONS_TRY try
  ------------------
  976|  1.97M|            {
  977|  1.97M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  978|  1.97M|                    std::forward<Args>(args)...);
  979|  1.97M|            }
  980|  1.97M|            JSONCONS_CATCH(...)
  981|  1.97M|            {
  982|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  983|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  984|      0|            }
  985|  1.97M|            return ptr;
  986|  1.97M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  990|  1.97M|        {
  991|  1.97M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  1.97M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  767|  1.97M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  768|  1.97M|            {
  769|  1.97M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4696|  3.10M|        {
 4697|  3.10M|            switch (storage_kind())
 4698|  3.10M|            {
 4699|  3.10M|                case json_storage_kind::array:
  ------------------
  |  Branch (4699:17): [True: 3.10M, False: 0]
  ------------------
 4700|  3.10M|                    cast<array_storage>().value().push_back(std::move(val));
 4701|  3.10M|                    break;
 4702|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4702:17): [True: 0, False: 3.10M]
  ------------------
 4703|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4704|      0|                    break;
 4705|      0|                default:
  ------------------
  |  Branch (4705:17): [True: 0, False: 3.10M]
  ------------------
 4706|      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
  ------------------
 4707|  3.10M|            }
 4708|  3.10M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1448|  25.4M|        {
 1449|  25.4M|            if (this != &other)
  ------------------
  |  Branch (1449:17): [True: 25.4M, False: 0]
  ------------------
 1450|  25.4M|            {
 1451|  25.4M|                move_assignment(std::move(other));
 1452|  25.4M|            }
 1453|  25.4M|            return *this;
 1454|  25.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1410|  25.4M|        {
 1411|  25.4M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1411:17): [True: 25.4M, False: 0]
  |  Branch (1411:55): [True: 23.0M, False: 2.37M]
  ------------------
 1412|  23.0M|            {
 1413|  23.0M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1414|  23.0M|            }
 1415|  2.37M|            else
 1416|  2.37M|            {
 1417|  2.37M|                swap(other);
 1418|  2.37M|            }
 1419|  25.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1929|  2.37M|        {
 1930|  2.37M|            if (this == &other)
  ------------------
  |  Branch (1930:17): [True: 0, False: 2.37M]
  ------------------
 1931|      0|            {
 1932|      0|                return;
 1933|      0|            }
 1934|  2.37M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1934:17): [True: 2.37M, False: 0]
  |  Branch (1934:55): [True: 0, False: 2.37M]
  ------------------
 1935|      0|            {
 1936|      0|                basic_json temp;               
 1937|      0|                std::memcpy(static_cast<void*>(&temp), static_cast<void*>(&other), sizeof(basic_json));
 1938|      0|                std::memcpy(static_cast<void*>(&other), static_cast<void*>(this), sizeof(basic_json));
 1939|      0|                std::memcpy(static_cast<void*>(this), static_cast<void*>(&temp), sizeof(basic_json));
 1940|      0|            }
 1941|  2.37M|            else
 1942|  2.37M|            {
 1943|  2.37M|                switch (storage_kind())
 1944|  2.37M|                {
 1945|  1.83M|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1945:21): [True: 1.83M, False: 530k]
  ------------------
 1946|  2.38k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1946:21): [True: 2.38k, False: 2.36M]
  ------------------
 1947|  54.9k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1947:21): [True: 54.9k, False: 2.31M]
  ------------------
 1948|  53.9k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1948:21): [True: 53.9k, False: 2.31M]
  ------------------
 1949|   410k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1949:21): [True: 410k, False: 1.95M]
  ------------------
 1950|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 0, False: 2.37M]
  ------------------
 1951|  1.81k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 1.81k, False: 2.36M]
  ------------------
 1952|  6.93k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 6.93k, False: 2.36M]
  ------------------
 1953|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 0, False: 2.37M]
  ------------------
 1954|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 0, False: 2.37M]
  ------------------
 1955|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 0, False: 2.37M]
  ------------------
 1956|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 0, False: 2.37M]
  ------------------
 1957|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 0, False: 2.37M]
  ------------------
 1958|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 2.37M]
  ------------------
 1959|      0|                    default:
  ------------------
  |  Branch (1959:21): [True: 0, False: 2.37M]
  ------------------
 1960|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1961|      0|                        break;
 1962|  2.37M|                }
 1963|  2.37M|            }
 1964|  2.37M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1165|  1.83M|        {
 1166|  1.83M|            switch (other.storage_kind())
 1167|  1.83M|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 1.83M]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 1.83M]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 1.83M]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 1.83M]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 1.83M]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.83M]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 1.83M]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 1.83M]
  ------------------
 1176|  5.16k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 5.16k, False: 1.83M]
  ------------------
 1177|  30.5k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 30.5k, False: 1.80M]
  ------------------
 1178|  1.38M|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 1.38M, False: 452k]
  ------------------
 1179|   417k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 417k, False: 1.42M]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.83M]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 1.83M]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 1.83M]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  1.83M|            }
 1186|  1.83M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  990|  1.83M|        {
  991|  1.83M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  1.83M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  990|  2.38k|        {
  991|  2.38k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  2.38k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
  999|  6.60M|        {
 1000|  6.60M|            return cast(identity<T>());
 1001|  6.60M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1030|  6.60M|        {
 1031|  6.60M|            return boolean_;
 1032|  6.60M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  990|  54.9k|        {
  991|  54.9k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  54.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
  999|  4.18M|        {
 1000|  4.18M|            return cast(identity<T>());
 1001|  4.18M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1040|  4.18M|        {
 1041|  4.18M|            return int64_;
 1042|  4.18M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  990|  53.9k|        {
  991|  53.9k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  53.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
  999|  18.2M|        {
 1000|  18.2M|            return cast(identity<T>());
 1001|  18.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1050|  18.2M|        {
 1051|  18.2M|            return uint64_;
 1052|  18.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  990|   410k|        {
  991|   410k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|   410k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
  999|  38.3k|        {
 1000|  38.3k|            return cast(identity<T>());
 1001|  38.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1070|  38.3k|        {
 1071|  38.3k|            return float64_;
 1072|  38.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  990|  1.81k|        {
  991|  1.81k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  1.81k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
  999|  2.62M|        {
 1000|  2.62M|            return cast(identity<T>());
 1001|  2.62M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1080|  2.62M|        {
 1081|  2.62M|            return short_str_;
 1082|  2.62M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  580|  6.93k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  581|  6.93k|            {
  582|  6.93k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  583|  6.93k|                data_[short_str_length_] = 0;
  584|  6.93k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  990|  6.93k|        {
  991|  6.93k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  6.93k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1151|  5.16k|        {
 1152|  5.16k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  5.16k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  5.16k|        {
 1158|  5.16k|            TypeR temp{other.cast<TypeR>()};
 1159|  5.16k|            other.construct<TypeL>(cast<TypeL>());
 1160|  5.16k|            construct<TypeR>(temp);
 1161|  5.16k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1151|  30.5k|        {
 1152|  30.5k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  30.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  30.5k|        {
 1158|  30.5k|            TypeR temp{other.cast<TypeR>()};
 1159|  30.5k|            other.construct<TypeL>(cast<TypeL>());
 1160|  30.5k|            construct<TypeR>(temp);
 1161|  30.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1151|  1.38M|        {
 1152|  1.38M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  1.38M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  1.38M|        {
 1158|  1.38M|            TypeR temp{other.cast<TypeR>()};
 1159|  1.38M|            other.construct<TypeL>(cast<TypeL>());
 1160|  1.38M|            construct<TypeR>(temp);
 1161|  1.38M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1151|   417k|        {
 1152|   417k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|   417k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|   417k|        {
 1158|   417k|            TypeR temp{other.cast<TypeR>()};
 1159|   417k|            other.construct<TypeL>(cast<TypeL>());
 1160|   417k|            construct<TypeR>(temp);
 1161|   417k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1165|  2.38k|        {
 1166|  2.38k|            switch (other.storage_kind())
 1167|  2.38k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 2.38k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 2.38k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 2.38k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 2.38k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 2.38k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.38k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.38k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.38k]
  ------------------
 1176|    814|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 814, False: 1.57k]
  ------------------
 1177|      5|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 5, False: 2.38k]
  ------------------
 1178|    254|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 254, False: 2.13k]
  ------------------
 1179|  1.31k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 1.31k, False: 1.07k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.38k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.38k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.38k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  2.38k|            }
 1186|  2.38k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1151|    814|        {
 1152|    814|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    814|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    814|        {
 1158|    814|            TypeR temp{other.cast<TypeR>()};
 1159|    814|            other.construct<TypeL>(cast<TypeL>());
 1160|    814|            construct<TypeR>(temp);
 1161|    814|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvRS5_:
 1151|      5|        {
 1152|      5|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|      5|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|      5|        {
 1158|      5|            TypeR temp{other.cast<TypeR>()};
 1159|      5|            other.construct<TypeL>(cast<TypeL>());
 1160|      5|            construct<TypeR>(temp);
 1161|      5|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1151|    254|        {
 1152|    254|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    254|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    254|        {
 1158|    254|            TypeR temp{other.cast<TypeR>()};
 1159|    254|            other.construct<TypeL>(cast<TypeL>());
 1160|    254|            construct<TypeR>(temp);
 1161|    254|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1151|  1.31k|        {
 1152|  1.31k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  1.31k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  1.31k|        {
 1158|  1.31k|            TypeR temp{other.cast<TypeR>()};
 1159|  1.31k|            other.construct<TypeL>(cast<TypeL>());
 1160|  1.31k|            construct<TypeR>(temp);
 1161|  1.31k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1165|  54.9k|        {
 1166|  54.9k|            switch (other.storage_kind())
 1167|  54.9k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 54.9k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 54.9k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 54.9k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 54.9k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 54.9k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 54.9k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 54.9k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 54.9k]
  ------------------
 1176|    432|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 432, False: 54.4k]
  ------------------
 1177|  1.09k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 1.09k, False: 53.8k]
  ------------------
 1178|  38.7k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 38.7k, False: 16.1k]
  ------------------
 1179|  14.6k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 14.6k, False: 40.3k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 54.9k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 54.9k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 54.9k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  54.9k|            }
 1186|  54.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1151|    432|        {
 1152|    432|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    432|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    432|        {
 1158|    432|            TypeR temp{other.cast<TypeR>()};
 1159|    432|            other.construct<TypeL>(cast<TypeL>());
 1160|    432|            construct<TypeR>(temp);
 1161|    432|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1151|  1.09k|        {
 1152|  1.09k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  1.09k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  1.09k|        {
 1158|  1.09k|            TypeR temp{other.cast<TypeR>()};
 1159|  1.09k|            other.construct<TypeL>(cast<TypeL>());
 1160|  1.09k|            construct<TypeR>(temp);
 1161|  1.09k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1151|  38.7k|        {
 1152|  38.7k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  38.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  38.7k|        {
 1158|  38.7k|            TypeR temp{other.cast<TypeR>()};
 1159|  38.7k|            other.construct<TypeL>(cast<TypeL>());
 1160|  38.7k|            construct<TypeR>(temp);
 1161|  38.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1151|  14.6k|        {
 1152|  14.6k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  14.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  14.6k|        {
 1158|  14.6k|            TypeR temp{other.cast<TypeR>()};
 1159|  14.6k|            other.construct<TypeL>(cast<TypeL>());
 1160|  14.6k|            construct<TypeR>(temp);
 1161|  14.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1165|  53.9k|        {
 1166|  53.9k|            switch (other.storage_kind())
 1167|  53.9k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 53.9k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 53.9k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 53.9k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 53.9k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 53.9k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 53.9k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 53.9k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 53.9k]
  ------------------
 1176|  2.79k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 2.79k, False: 51.1k]
  ------------------
 1177|  3.60k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 3.60k, False: 50.3k]
  ------------------
 1178|  27.9k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 27.9k, False: 26.0k]
  ------------------
 1179|  19.6k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 19.6k, False: 34.3k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 53.9k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 53.9k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 53.9k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  53.9k|            }
 1186|  53.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1151|  2.79k|        {
 1152|  2.79k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  2.79k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  2.79k|        {
 1158|  2.79k|            TypeR temp{other.cast<TypeR>()};
 1159|  2.79k|            other.construct<TypeL>(cast<TypeL>());
 1160|  2.79k|            construct<TypeR>(temp);
 1161|  2.79k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1151|  3.60k|        {
 1152|  3.60k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  3.60k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  3.60k|        {
 1158|  3.60k|            TypeR temp{other.cast<TypeR>()};
 1159|  3.60k|            other.construct<TypeL>(cast<TypeL>());
 1160|  3.60k|            construct<TypeR>(temp);
 1161|  3.60k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1151|  27.9k|        {
 1152|  27.9k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  27.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  27.9k|        {
 1158|  27.9k|            TypeR temp{other.cast<TypeR>()};
 1159|  27.9k|            other.construct<TypeL>(cast<TypeL>());
 1160|  27.9k|            construct<TypeR>(temp);
 1161|  27.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1151|  19.6k|        {
 1152|  19.6k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  19.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  19.6k|        {
 1158|  19.6k|            TypeR temp{other.cast<TypeR>()};
 1159|  19.6k|            other.construct<TypeL>(cast<TypeL>());
 1160|  19.6k|            construct<TypeR>(temp);
 1161|  19.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1165|   410k|        {
 1166|   410k|            switch (other.storage_kind())
 1167|   410k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 410k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 410k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 410k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 410k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 410k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 410k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 410k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 410k]
  ------------------
 1176|  8.75k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 8.75k, False: 401k]
  ------------------
 1177|  24.7k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 24.7k, False: 385k]
  ------------------
 1178|   276k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 276k, False: 133k]
  ------------------
 1179|   100k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 100k, False: 310k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 410k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 410k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 410k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|   410k|            }
 1186|   410k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1151|  8.75k|        {
 1152|  8.75k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  8.75k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  8.75k|        {
 1158|  8.75k|            TypeR temp{other.cast<TypeR>()};
 1159|  8.75k|            other.construct<TypeL>(cast<TypeL>());
 1160|  8.75k|            construct<TypeR>(temp);
 1161|  8.75k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1151|  24.7k|        {
 1152|  24.7k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  24.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  24.7k|        {
 1158|  24.7k|            TypeR temp{other.cast<TypeR>()};
 1159|  24.7k|            other.construct<TypeL>(cast<TypeL>());
 1160|  24.7k|            construct<TypeR>(temp);
 1161|  24.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1151|   276k|        {
 1152|   276k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|   276k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|   276k|        {
 1158|   276k|            TypeR temp{other.cast<TypeR>()};
 1159|   276k|            other.construct<TypeL>(cast<TypeL>());
 1160|   276k|            construct<TypeR>(temp);
 1161|   276k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1151|   100k|        {
 1152|   100k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|   100k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|   100k|        {
 1158|   100k|            TypeR temp{other.cast<TypeR>()};
 1159|   100k|            other.construct<TypeL>(cast<TypeL>());
 1160|   100k|            construct<TypeR>(temp);
 1161|   100k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1165|  1.81k|        {
 1166|  1.81k|            switch (other.storage_kind())
 1167|  1.81k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 1.81k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 1.81k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 1.81k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 1.81k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 1.81k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.81k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 1.81k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 1.81k]
  ------------------
 1176|    374|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 374, False: 1.43k]
  ------------------
 1177|    413|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 413, False: 1.39k]
  ------------------
 1178|    604|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 604, False: 1.20k]
  ------------------
 1179|    419|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 419, False: 1.39k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.81k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 1.81k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 1.81k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  1.81k|            }
 1186|  1.81k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1151|    374|        {
 1152|    374|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    374|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    374|        {
 1158|    374|            TypeR temp{other.cast<TypeR>()};
 1159|    374|            other.construct<TypeL>(cast<TypeL>());
 1160|    374|            construct<TypeR>(temp);
 1161|    374|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1151|    413|        {
 1152|    413|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    413|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    413|        {
 1158|    413|            TypeR temp{other.cast<TypeR>()};
 1159|    413|            other.construct<TypeL>(cast<TypeL>());
 1160|    413|            construct<TypeR>(temp);
 1161|    413|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1151|    604|        {
 1152|    604|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    604|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    604|        {
 1158|    604|            TypeR temp{other.cast<TypeR>()};
 1159|    604|            other.construct<TypeL>(cast<TypeL>());
 1160|    604|            construct<TypeR>(temp);
 1161|    604|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1151|    419|        {
 1152|    419|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    419|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    419|        {
 1158|    419|            TypeR temp{other.cast<TypeR>()};
 1159|    419|            other.construct<TypeL>(cast<TypeL>());
 1160|    419|            construct<TypeR>(temp);
 1161|    419|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1165|  6.93k|        {
 1166|  6.93k|            switch (other.storage_kind())
 1167|  6.93k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 6.93k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 6.93k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 6.93k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 6.93k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 6.93k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 6.93k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 6.93k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 6.93k]
  ------------------
 1176|    525|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 525, False: 6.40k]
  ------------------
 1177|    571|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 571, False: 6.36k]
  ------------------
 1178|  2.50k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 2.50k, False: 4.42k]
  ------------------
 1179|  3.32k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 3.32k, False: 3.60k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 6.93k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 6.93k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 6.93k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  6.93k|            }
 1186|  6.93k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1151|    525|        {
 1152|    525|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    525|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    525|        {
 1158|    525|            TypeR temp{other.cast<TypeR>()};
 1159|    525|            other.construct<TypeL>(cast<TypeL>());
 1160|    525|            construct<TypeR>(temp);
 1161|    525|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1151|    571|        {
 1152|    571|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    571|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    571|        {
 1158|    571|            TypeR temp{other.cast<TypeR>()};
 1159|    571|            other.construct<TypeL>(cast<TypeL>());
 1160|    571|            construct<TypeR>(temp);
 1161|    571|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1151|  2.50k|        {
 1152|  2.50k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  2.50k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  2.50k|        {
 1158|  2.50k|            TypeR temp{other.cast<TypeR>()};
 1159|  2.50k|            other.construct<TypeL>(cast<TypeL>());
 1160|  2.50k|            construct<TypeR>(temp);
 1161|  2.50k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1151|  3.32k|        {
 1152|  3.32k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  3.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  3.32k|        {
 1158|  3.32k|            TypeR temp{other.cast<TypeR>()};
 1159|  3.32k|            other.construct<TypeL>(cast<TypeL>());
 1160|  3.32k|            construct<TypeR>(temp);
 1161|  3.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2609|  17.4M|        {
 2610|  17.4M|            construct<uint64_storage>(val, tag);
 2611|  17.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  990|  17.4M|        {
  991|  17.4M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  17.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  511|  17.4M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  512|  17.4M|                  val_(val)
  513|  17.4M|            {
  514|  17.4M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2640|  4.07M|        {
 2641|  4.07M|            construct<int64_storage>(val, tag);
 2642|  4.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  990|  4.07M|        {
  991|  4.07M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  4.07M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  491|  4.07M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  492|  4.07M|                  val_(val)
  493|  4.07M|            {
  494|  4.07M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2597|  34.7k|        {
 2598|  34.7k|            construct<double_storage>(val, tag);
 2599|  34.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  990|  34.7k|        {
  991|  34.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  34.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  550|  34.7k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  551|  34.7k|                  val_(val)
  552|  34.7k|            {
  553|  34.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2396|  4.27M|        {
 2397|  4.27M|            auto ptr = create_array(Allocator());
 2398|  4.27M|            construct<array_storage>(ptr, tag);
 2399|  4.27M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  952|  4.27M|        {
  953|  4.27M|            using stor_allocator_type = typename array_storage::allocator_type;
  954|  4.27M|            stor_allocator_type stor_alloc(alloc);
  955|  4.27M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  956|  4.27M|            JSONCONS_TRY
  ------------------
  |  |   37|  4.27M|    #define JSONCONS_TRY try
  ------------------
  957|  4.27M|            {
  958|  4.27M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  959|  4.27M|                    std::forward<Args>(args)...);
  960|  4.27M|            }
  961|  4.27M|            JSONCONS_CATCH(...)
  962|  4.27M|            {
  963|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  964|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  965|      0|            }
  966|  4.27M|            return ptr;
  967|  4.27M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  990|  4.27M|        {
  991|  4.27M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  4.27M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  717|  4.27M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  718|  4.27M|            {
  719|  4.27M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2686|  1.26M|        {
 2687|  1.26M|            construct<null_storage>(tag);
 2688|  1.26M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  990|  1.26M|        {
  991|  1.26M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  1.26M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2696|  6.49M|        {
 2697|  6.49M|            construct<bool_storage>(val,tag);
 2698|  6.49M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  990|  6.49M|        {
  991|  6.49M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  6.49M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  470|  6.49M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  471|  6.49M|                  val_(val)
  472|  6.49M|            {
  473|  6.49M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2544|  2.62M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2545|  2.62M|        {
 2546|  2.62M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2574|  2.62M|        {
 2575|  2.62M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2575:17): [True: 2.61M, False: 14.8k]
  ------------------
 2576|  2.61M|            {
 2577|  2.61M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2578|  2.61M|            }
 2579|  14.8k|            else
 2580|  14.8k|            {
 2581|  14.8k|                auto ptr = create_long_string(alloc, s, length);
 2582|  14.8k|                construct<long_string_storage>(ptr, tag);
 2583|  14.8k|            }
 2584|  2.62M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  990|  2.61M|        {
  991|  2.61M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  2.61M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  572|  2.61M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  573|  2.61M|            {
  574|  2.61M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   49|  2.61M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.61M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  575|  2.61M|                std::memcpy(data_,p,length*sizeof(char_type));
  576|  2.61M|                data_[length] = 0;
  577|  2.61M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  938|  14.8k|        {
  939|  14.8k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  940|  14.8k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  941|  14.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  990|  14.8k|        {
  991|  14.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  14.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  616|  14.8k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  617|  14.8k|            {
  618|  14.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2706|    889|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2707|    889|        {
 2708|    889|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2714|  94.7k|        {
 2715|  94.7k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2716|       |            
 2717|  94.7k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2718|  94.7k|            construct<byte_string_storage>(ptr, tag);
 2719|  94.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  945|   897k|        {
  946|   897k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  947|   897k|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  948|   897k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
  990|  94.7k|        {
  991|  94.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  94.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  665|   897k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  666|   897k|            {
  667|   897k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2726|      3|        {
 2727|      3|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2728|       |
 2729|      3|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0);
 2730|      3|            construct<byte_string_storage>(ptr, tag);
 2731|      3|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2737|   802k|        {
 2738|   802k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2739|       |
 2740|   802k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2741|   802k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2742|   802k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  990|   802k|        {
  991|   802k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|   802k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mRKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2749|      2|        {
 2750|      2|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2751|       |
 2752|      2|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), raw_tag);
 2753|      2|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2754|      2|        }

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

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

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

_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|  2.30M|            : data_(data), size_(size)
   62|  2.30M|        {
   63|  2.30M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|  9.32M|        {
  112|  9.32M|            return data_;
  113|  9.32M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|  14.3M|        {
  117|  14.3M|            return size_;
  118|  14.3M|        }
_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2Ev:
   58|  3.57M|        {
   59|  3.57M|        }

_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  855|  7.23k|            : destination_(std::addressof(visitor)), 
  856|  7.23k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  857|  7.23k|        {
  858|  7.23k|            level_stack_.emplace_back(json_target_kind::destination,json_structure_kind::root); // root
  859|  7.23k|        }
_ZN8jsoncons21basic_generic_visitorIcEC2Ev:
   52|  7.23k|    basic_generic_visitor() = default;
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  294|  6.59M|    {
  295|  6.59M|        visit_begin_array(length, tag, context, ec);
  296|  6.59M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.59M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  297|  6.59M|    }
_ZN8jsoncons21basic_generic_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  363|  36.4M|    {
  364|  36.4M|        visit_uint64(value, tag, context, ec);
  365|  36.4M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  36.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  36.4M|    }
_ZN8jsoncons21basic_generic_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  300|  6.57M|    {
  301|  6.57M|        visit_end_array(context, ec);
  302|  6.57M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.57M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  6.57M|    }
_ZN8jsoncons21basic_generic_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  372|  8.97M|    {
  373|  8.97M|        visit_int64(value, tag, context, ec);
  374|  8.97M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.97M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  375|  8.97M|    }
_ZN8jsoncons21basic_generic_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  390|   125k|    {
  391|   125k|        visit_double(value, tag, context, ec);
  392|   125k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   125k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  393|   125k|    }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structureC2ENS4_16json_target_kindENS4_19json_structure_kindE:
  798|  8.98M|                : target_kind_(state), structure_kind_(type), even_odd_(type == json_structure_kind::object ? 0 : 1)
  ------------------
  |  Branch (798:73): [True: 2.37M, False: 6.60M]
  ------------------
  799|  8.98M|            {
  800|  8.98M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1008|  6.59M|        {
 1009|  6.59M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1009:17): [True: 892k, False: 5.70M]
  ------------------
 1010|   892k|            {
 1011|   892k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1011:21): [True: 493k, False: 399k]
  |  Branch (1011:86): [True: 489k, False: 3.93k]
  ------------------
 1012|   489k|                {
 1013|   489k|                    key_buffer_.push_back(',');
 1014|   489k|                }
 1015|   892k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1016|   892k|                key_buffer_.push_back('[');
 1017|   892k|            }
 1018|  5.70M|            else
 1019|  5.70M|            {
 1020|  5.70M|                switch (level_stack_.back().target_kind())
 1021|  5.70M|                {
 1022|  1.43M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1022:21): [True: 1.43M, False: 4.27M]
  ------------------
 1023|  1.43M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1023:29): [True: 934k, False: 499k]
  |  Branch (1023:65): [True: 904k, False: 29.9k]
  ------------------
 1024|   904k|                        {
 1025|   904k|                            key_buffer_.push_back(',');
 1026|   904k|                        }
 1027|  1.43M|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1028|  1.43M|                        key_buffer_.push_back('[');
 1029|  1.43M|                        break;
 1030|  4.27M|                    default:
  ------------------
  |  Branch (1030:21): [True: 4.27M, False: 1.43M]
  ------------------
 1031|  4.27M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1032|  4.27M|                        destination_->begin_array(length, tag, context, ec);
 1033|  4.27M|                        break;
 1034|  5.70M|                }
 1035|  5.70M|            }
 1036|  6.59M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.59M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1037|  6.59M|        }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure6is_keyEv:
  815|   254M|            {
  816|   254M|                return even_odd_ == 0;
  817|   254M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure11target_kindEv:
  825|   164M|            {
  826|   164M|                return target_kind_;
  827|   164M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure5countEv:
  830|  37.0M|            {
  831|  37.0M|                return count_;
  832|  37.0M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure9is_objectEv:
  820|   125M|            {
  821|   125M|                return structure_kind_ == json_structure_kind::object;
  822|   125M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1040|  6.57M|        {
 1041|  6.57M|            switch (level_stack_.back().target_kind())
 1042|  6.57M|            {
 1043|  2.31M|                case json_target_kind::buffer:
  ------------------
  |  Branch (1043:17): [True: 2.31M, False: 4.25M]
  ------------------
 1044|  2.31M|                    key_buffer_.push_back(']');
 1045|  2.31M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  2.31M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.31M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1046|  2.31M|                    level_stack_.pop_back();
 1047|  2.31M|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (1047:25): [True: 398k, False: 1.91M]
  ------------------
 1048|   398k|                    {
 1049|   398k|                        destination_->key(key_buffer_, context, ec);
 1050|   398k|                        key_buffer_.clear();
 1051|   398k|                    }
 1052|  1.91M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1052:30): [True: 491k, False: 1.42M]
  ------------------
 1053|   491k|                    {
 1054|   491k|                        key_buffer_.push_back(':');
 1055|   491k|                    }
 1056|  2.31M|                    level_stack_.back().advance();
 1057|  2.31M|                    break;
 1058|  4.25M|                default:
  ------------------
  |  Branch (1058:17): [True: 4.25M, False: 2.31M]
  ------------------
 1059|  4.25M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  4.25M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 4.25M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1060|  4.25M|                    level_stack_.pop_back();
 1061|  4.25M|                    level_stack_.back().advance();
 1062|  4.25M|                    destination_->end_array(context, ec);
 1063|  4.25M|                    break;
 1064|  6.57M|            }
 1065|  6.57M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.57M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1066|  6.57M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure7advanceEv:
  803|  88.1M|            {
  804|  88.1M|                if (!is_key())
  ------------------
  |  Branch (804:21): [True: 76.0M, False: 12.0M]
  ------------------
  805|  76.0M|                {
  806|  76.0M|                    ++count_;
  807|  76.0M|                }
  808|  88.1M|                if (is_object())
  ------------------
  |  Branch (808:21): [True: 24.1M, False: 64.0M]
  ------------------
  809|  24.1M|                {
  810|  24.1M|                    even_odd_ = !even_odd_;
  811|  24.1M|                }
  812|  88.1M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1233|  36.4M|        {
 1234|  36.4M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1234:17): [True: 8.34M, False: 28.1M]
  |  Branch (1234:49): [True: 10.6M, False: 17.4M]
  ------------------
 1235|  19.0M|            {
 1236|  19.0M|                key_.clear();
 1237|  19.0M|                jsoncons::from_integer(value,key_);
 1238|  19.0M|            }
 1239|       |
 1240|  36.4M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1240:17): [True: 8.34M, False: 28.1M]
  ------------------
 1241|  8.34M|            {
 1242|  8.34M|                switch (level_stack_.back().target_kind())
 1243|  8.34M|                {
 1244|  4.78M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1244:21): [True: 4.78M, False: 3.56M]
  ------------------
 1245|  4.78M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1245:29): [True: 4.76M, False: 25.5k]
  ------------------
 1246|  4.76M|                        {
 1247|  4.76M|                            key_buffer_.push_back(',');
 1248|  4.76M|                        }
 1249|  4.78M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1250|  4.78M|                        key_buffer_.push_back(':');
 1251|  4.78M|                        break;
 1252|  3.56M|                    default:
  ------------------
  |  Branch (1252:21): [True: 3.56M, False: 4.78M]
  ------------------
 1253|  3.56M|                        destination_->key(key_, context, ec);
 1254|  3.56M|                        break;
 1255|  8.34M|                }
 1256|  8.34M|            }
 1257|  28.1M|            else
 1258|  28.1M|            {
 1259|  28.1M|                switch (level_stack_.back().target_kind())
 1260|  28.1M|                {
 1261|  10.6M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1261:21): [True: 10.6M, False: 17.4M]
  ------------------
 1262|  10.6M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1262:29): [True: 5.89M, False: 4.77M]
  |  Branch (1262:65): [True: 5.88M, False: 18.0k]
  ------------------
 1263|  5.88M|                        {
 1264|  5.88M|                            key_buffer_.push_back(',');
 1265|  5.88M|                        }
 1266|  10.6M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1267|  10.6M|                        break;
 1268|  17.4M|                    default:
  ------------------
  |  Branch (1268:21): [True: 17.4M, False: 10.6M]
  ------------------
 1269|  17.4M|                        destination_->uint64_value(value, tag, context, ec);
 1270|  17.4M|                        break;
 1271|  28.1M|                }
 1272|  28.1M|            }
 1273|       |
 1274|  36.4M|            level_stack_.back().advance();
 1275|  36.4M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  36.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1276|  36.4M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1279|  8.97M|        {
 1280|  8.97M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1280:17): [True: 648k, False: 8.32M]
  |  Branch (1280:49): [True: 4.25M, False: 4.07M]
  ------------------
 1281|  4.90M|            {
 1282|  4.90M|                key_.clear();
 1283|  4.90M|                jsoncons::from_integer(value,key_);
 1284|  4.90M|            }
 1285|       |
 1286|  8.97M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1286:17): [True: 648k, False: 8.32M]
  ------------------
 1287|   648k|            {
 1288|   648k|                switch (level_stack_.back().target_kind())
 1289|   648k|                {
 1290|   365k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1290:21): [True: 365k, False: 283k]
  ------------------
 1291|   365k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1291:29): [True: 356k, False: 8.63k]
  ------------------
 1292|   356k|                        {
 1293|   356k|                            key_buffer_.push_back(',');
 1294|   356k|                        }
 1295|   365k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1296|   365k|                        key_buffer_.push_back(':');
 1297|   365k|                        break;
 1298|   283k|                    default:
  ------------------
  |  Branch (1298:21): [True: 283k, False: 365k]
  ------------------
 1299|   283k|                        destination_->key(key_, context, ec);
 1300|   283k|                        break;
 1301|   648k|                }
 1302|   648k|            }
 1303|  8.32M|            else
 1304|  8.32M|            {
 1305|  8.32M|                switch (level_stack_.back().target_kind())
 1306|  8.32M|                {
 1307|  4.25M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1307:21): [True: 4.25M, False: 4.07M]
  ------------------
 1308|  4.25M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1308:29): [True: 3.88M, False: 365k]
  |  Branch (1308:65): [True: 3.88M, False: 2.23k]
  ------------------
 1309|  3.88M|                        {
 1310|  3.88M|                            key_buffer_.push_back(',');
 1311|  3.88M|                        }
 1312|  4.25M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1313|  4.25M|                        break;
 1314|  4.07M|                    default:
  ------------------
  |  Branch (1314:21): [True: 4.07M, False: 4.25M]
  ------------------
 1315|  4.07M|                        destination_->int64_value(value, tag, context, ec);
 1316|  4.07M|                        break;
 1317|  8.32M|                }
 1318|  8.32M|            }
 1319|       |
 1320|  8.97M|            level_stack_.back().advance();
 1321|  8.97M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.97M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1322|  8.97M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1374|   125k|        {
 1375|   125k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1375:17): [True: 35.9k, False: 90.0k]
  |  Branch (1375:49): [True: 55.3k, False: 34.7k]
  ------------------
 1376|  91.2k|            {
 1377|  91.2k|                key_.clear();
 1378|  91.2k|                string_sink<string_type> sink(key_);
 1379|  91.2k|                jsoncons::write_double f{float_chars_format::general,0};
 1380|  91.2k|                f(value, sink);
 1381|  91.2k|            }
 1382|       |
 1383|   125k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1383:17): [True: 35.9k, False: 90.0k]
  ------------------
 1384|  35.9k|            {
 1385|  35.9k|                switch (level_stack_.back().target_kind())
 1386|  35.9k|                {
 1387|  26.5k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1387:21): [True: 26.5k, False: 9.36k]
  ------------------
 1388|  26.5k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1388:29): [True: 19.8k, False: 6.76k]
  ------------------
 1389|  19.8k|                        {
 1390|  19.8k|                            key_buffer_.push_back(',');
 1391|  19.8k|                        }
 1392|  26.5k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1393|  26.5k|                        key_buffer_.push_back(':');
 1394|  26.5k|                        break;
 1395|  9.36k|                    default:
  ------------------
  |  Branch (1395:21): [True: 9.36k, False: 26.5k]
  ------------------
 1396|  9.36k|                        destination_->key(key_, context, ec);
 1397|  9.36k|                        break;
 1398|  35.9k|                }
 1399|  35.9k|            }
 1400|  90.0k|            else
 1401|  90.0k|            {
 1402|  90.0k|                switch (level_stack_.back().target_kind())
 1403|  90.0k|                {
 1404|  55.3k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1404:21): [True: 55.3k, False: 34.7k]
  ------------------
 1405|  55.3k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1405:29): [True: 33.7k, False: 21.6k]
  |  Branch (1405:65): [True: 31.8k, False: 1.94k]
  ------------------
 1406|  31.8k|                        {
 1407|  31.8k|                            key_buffer_.push_back(',');
 1408|  31.8k|                        }
 1409|  55.3k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1410|  55.3k|                        break;
 1411|  34.7k|                    default:
  ------------------
  |  Branch (1411:21): [True: 34.7k, False: 55.3k]
  ------------------
 1412|  34.7k|                        destination_->double_value(value, tag, context, ec);
 1413|  34.7k|                        break;
 1414|  90.0k|                }
 1415|  90.0k|            }
 1416|       |
 1417|   125k|            level_stack_.back().advance();
 1418|   125k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   125k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1419|   125k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  881|  2.48k|        {
  882|  2.48k|            destination_->flush();
  883|  2.48k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  914|  2.37M|        {
  915|  2.37M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (915:17): [True: 186k, False: 2.18M]
  ------------------
  916|   186k|            {
  917|   186k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (917:21): [True: 30.8k, False: 156k]
  |  Branch (917:86): [True: 17.4k, False: 13.3k]
  ------------------
  918|  17.4k|                {
  919|  17.4k|                    key_buffer_.push_back(',');
  920|  17.4k|                }
  921|   186k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  922|   186k|                key_buffer_.push_back('{');
  923|   186k|            }
  924|  2.18M|            else
  925|  2.18M|            {
  926|  2.18M|                switch (level_stack_.back().target_kind())
  927|  2.18M|                {
  928|   216k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (928:21): [True: 216k, False: 1.97M]
  ------------------
  929|   216k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (929:29): [True: 173k, False: 42.6k]
  |  Branch (929:65): [True: 169k, False: 4.07k]
  ------------------
  930|   169k|                        {
  931|   169k|                            key_buffer_.push_back(',');
  932|   169k|                        }
  933|   216k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  934|   216k|                        key_buffer_.push_back('{');
  935|   216k|                        break;
  936|  1.97M|                    default:
  ------------------
  |  Branch (936:21): [True: 1.97M, False: 216k]
  ------------------
  937|  1.97M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  938|  1.97M|                        destination_->begin_object(length, tag, context, ec);
  939|  1.97M|                        break;
  940|  2.18M|                }
  941|  2.18M|            }
  942|  2.37M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.37M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  943|  2.37M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  946|  2.35M|        {
  947|  2.35M|            switch (level_stack_.back().target_kind())
  948|  2.35M|            {
  949|   390k|                case json_target_kind::buffer:
  ------------------
  |  Branch (949:17): [True: 390k, False: 1.96M]
  ------------------
  950|   390k|                    key_buffer_.push_back('}');
  951|   390k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|   390k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 390k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  952|   390k|                    level_stack_.pop_back();
  953|       |                    
  954|   390k|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (954:25): [True: 155k, False: 235k]
  ------------------
  955|   155k|                    {
  956|   155k|                        destination_->key(key_buffer_,context, ec);
  957|   155k|                        key_buffer_.clear();
  958|   155k|                    }
  959|   235k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (959:30): [True: 25.0k, False: 210k]
  ------------------
  960|  25.0k|                    {
  961|  25.0k|                        key_buffer_.push_back(':');
  962|  25.0k|                    }
  963|   390k|                    level_stack_.back().advance();
  964|   390k|                    break;
  965|  1.96M|                default:
  ------------------
  |  Branch (965:17): [True: 1.96M, False: 390k]
  ------------------
  966|  1.96M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  1.96M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 1.96M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  967|  1.96M|                    level_stack_.pop_back();
  968|  1.96M|                    level_stack_.back().advance();
  969|  1.96M|                    destination_->end_object(context, ec);
  970|  1.96M|                    break;
  971|  2.35M|            }
  972|  2.35M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.35M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  973|  2.35M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1475|  2.06M|        {
 1476|  2.06M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1476:17): [True: 333k, False: 1.73M]
  |  Branch (1476:49): [True: 463k, False: 1.26M]
  ------------------
 1477|   796k|            {
 1478|   796k|                key_.clear(); 
 1479|   796k|                key_.insert(key_.begin(), json_literals<char_type>::null_literal.begin(), json_literals<char_type>::null_literal.end());
 1480|   796k|            }
 1481|       |
 1482|  2.06M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1482:17): [True: 333k, False: 1.73M]
  ------------------
 1483|   333k|            {
 1484|   333k|                switch (level_stack_.back().target_kind())
 1485|   333k|                {
 1486|   172k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1486:21): [True: 172k, False: 160k]
  ------------------
 1487|   172k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1487:29): [True: 171k, False: 743]
  ------------------
 1488|   171k|                        {
 1489|   171k|                            key_buffer_.push_back(',');
 1490|   171k|                        }
 1491|   172k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1492|   172k|                        key_buffer_.push_back(':');
 1493|   172k|                        break;
 1494|   160k|                    default:
  ------------------
  |  Branch (1494:21): [True: 160k, False: 172k]
  ------------------
 1495|   160k|                        destination_->key(key_, context, ec);
 1496|   160k|                        break;
 1497|   333k|                }
 1498|   333k|            }
 1499|  1.73M|            else
 1500|  1.73M|            {
 1501|  1.73M|                switch (level_stack_.back().target_kind())
 1502|  1.73M|                {
 1503|   463k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1503:21): [True: 463k, False: 1.26M]
  ------------------
 1504|   463k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1504:29): [True: 290k, False: 172k]
  |  Branch (1504:65): [True: 289k, False: 965]
  ------------------
 1505|   289k|                        {
 1506|   289k|                            key_buffer_.push_back(',');
 1507|   289k|                        }
 1508|   463k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1509|   463k|                        break;
 1510|  1.26M|                    default:
  ------------------
  |  Branch (1510:21): [True: 1.26M, False: 463k]
  ------------------
 1511|  1.26M|                        destination_->null_value(tag, context, ec);
 1512|  1.26M|                        break;
 1513|  1.73M|                }
 1514|  1.73M|            }
 1515|       |
 1516|  2.06M|            level_stack_.back().advance();
 1517|  2.06M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.06M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1518|  2.06M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1422|  26.5M|        {
 1423|  26.5M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1423:17): [True: 1.00M, False: 25.5M]
  |  Branch (1423:49): [True: 19.0M, False: 6.49M]
  ------------------
 1424|  20.0M|            {
 1425|  20.0M|                key_.clear(); 
 1426|  20.0M|                if (value)
  ------------------
  |  Branch (1426:21): [True: 88.2k, False: 19.9M]
  ------------------
 1427|  88.2k|                {
 1428|  88.2k|                    key_.insert(key_.begin(), json_literals<char_type>::true_literal.begin(), json_literals<char_type>::true_literal.end());
 1429|  88.2k|                }
 1430|  19.9M|                else
 1431|  19.9M|                {
 1432|  19.9M|                    key_.insert(key_.begin(), json_literals<char_type>::false_literal.begin(), json_literals<char_type>::false_literal.end());
 1433|  19.9M|                }
 1434|  20.0M|            }
 1435|       |
 1436|  26.5M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1436:17): [True: 1.00M, False: 25.5M]
  ------------------
 1437|  1.00M|            {
 1438|  1.00M|                switch (level_stack_.back().target_kind())
 1439|  1.00M|                {
 1440|   542k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1440:21): [True: 542k, False: 466k]
  ------------------
 1441|   542k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1441:29): [True: 531k, False: 10.8k]
  ------------------
 1442|   531k|                        {
 1443|   531k|                            key_buffer_.push_back(',');
 1444|   531k|                        }
 1445|   542k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1446|   542k|                        key_buffer_.push_back(':');
 1447|   542k|                        break;
 1448|   466k|                    default:
  ------------------
  |  Branch (1448:21): [True: 466k, False: 542k]
  ------------------
 1449|   466k|                        destination_->key(key_, context, ec);
 1450|   466k|                        break;
 1451|  1.00M|                }
 1452|  1.00M|            }
 1453|  25.5M|            else
 1454|  25.5M|            {
 1455|  25.5M|                switch (level_stack_.back().target_kind())
 1456|  25.5M|                {
 1457|  19.0M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1457:21): [True: 19.0M, False: 6.49M]
  ------------------
 1458|  19.0M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1458:29): [True: 18.4M, False: 543k]
  |  Branch (1458:65): [True: 18.4M, False: 3.00k]
  ------------------
 1459|  18.4M|                        {
 1460|  18.4M|                            key_buffer_.push_back(',');
 1461|  18.4M|                        }
 1462|  19.0M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1463|  19.0M|                        break;
 1464|  6.49M|                    default:
  ------------------
  |  Branch (1464:21): [True: 6.49M, False: 19.0M]
  ------------------
 1465|  6.49M|                        destination_->bool_value(value, tag, context, ec);
 1466|  6.49M|                        break;
 1467|  25.5M|                }
 1468|  25.5M|            }
 1469|       |
 1470|  26.5M|            level_stack_.back().advance();
 1471|  26.5M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  26.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1472|  26.5M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1072|  3.51M|        {
 1073|  3.51M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1073:17): [True: 317k, False: 3.19M]
  ------------------
 1074|   317k|            {
 1075|   317k|                switch (level_stack_.back().target_kind())
 1076|   317k|                {
 1077|   129k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1077:21): [True: 129k, False: 188k]
  ------------------
 1078|   129k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1078:29): [True: 126k, False: 2.22k]
  ------------------
 1079|   126k|                        {
 1080|   126k|                            key_buffer_.push_back(',');
 1081|   126k|                        }
 1082|   129k|                        key_buffer_.push_back('\"');
 1083|   129k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1084|   129k|                        key_buffer_.push_back('\"');
 1085|   129k|                        key_buffer_.push_back(':');
 1086|   129k|                        break;
 1087|   188k|                    default:
  ------------------
  |  Branch (1087:21): [True: 188k, False: 129k]
  ------------------
 1088|   188k|                        destination_->key(value, context, ec);
 1089|   188k|                        break;
 1090|   317k|                }
 1091|   317k|            }
 1092|  3.19M|            else
 1093|  3.19M|            {
 1094|  3.19M|                switch (level_stack_.back().target_kind())
 1095|  3.19M|                {
 1096|   571k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1096:21): [True: 571k, False: 2.62M]
  ------------------
 1097|   571k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1097:29): [True: 449k, False: 121k]
  |  Branch (1097:65): [True: 448k, False: 1.13k]
  ------------------
 1098|   448k|                        {
 1099|   448k|                            key_buffer_.push_back(',');
 1100|   448k|                        }
 1101|   571k|                        key_buffer_.push_back('\"');
 1102|   571k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1103|   571k|                        key_buffer_.push_back('\"');
 1104|   571k|                        break;
 1105|  2.62M|                    default:
  ------------------
  |  Branch (1105:21): [True: 2.62M, False: 571k]
  ------------------
 1106|  2.62M|                        destination_->string_value(value, tag, context, ec);
 1107|  2.62M|                        break;
 1108|  3.19M|                }
 1109|  3.19M|            }
 1110|       |
 1111|  3.51M|            level_stack_.back().advance();
 1112|  3.51M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.51M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1113|  3.51M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1119|   124k|        {
 1120|   124k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1120:17): [True: 12.7k, False: 112k]
  |  Branch (1120:49): [True: 17.3k, False: 94.7k]
  ------------------
 1121|  30.0k|            {
 1122|  30.0k|                key_.clear();
 1123|  30.0k|                switch (tag)
 1124|  30.0k|                {
 1125|      0|                    case semantic_tag::base64:
  ------------------
  |  Branch (1125:21): [True: 0, False: 30.0k]
  ------------------
 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: 30.0k]
  ------------------
 1129|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1130|      0|                        break;
 1131|  30.0k|                    default:
  ------------------
  |  Branch (1131:21): [True: 30.0k, False: 0]
  ------------------
 1132|  30.0k|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1133|  30.0k|                        break;
 1134|  30.0k|                }
 1135|  30.0k|            }
 1136|       |
 1137|   124k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1137:17): [True: 12.7k, False: 112k]
  ------------------
 1138|  12.7k|            {
 1139|  12.7k|                switch (level_stack_.back().target_kind())
 1140|  12.7k|                {
 1141|  5.92k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1141:21): [True: 5.92k, False: 6.78k]
  ------------------
 1142|  5.92k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1142:29): [True: 3.58k, False: 2.34k]
  ------------------
 1143|  3.58k|                        {
 1144|  3.58k|                            key_buffer_.push_back(',');
 1145|  3.58k|                        }
 1146|  5.92k|                        key_buffer_.push_back('\"');
 1147|  5.92k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1148|  5.92k|                        key_buffer_.push_back('\"');
 1149|  5.92k|                        key_buffer_.push_back(':');
 1150|  5.92k|                        break;
 1151|  6.78k|                    default:
  ------------------
  |  Branch (1151:21): [True: 6.78k, False: 5.92k]
  ------------------
 1152|  6.78k|                        destination_->key(key_, context, ec);
 1153|  6.78k|                        break;
 1154|  12.7k|                }
 1155|  12.7k|            }
 1156|   112k|            else
 1157|   112k|            {
 1158|   112k|                switch (level_stack_.back().target_kind())
 1159|   112k|                {
 1160|  17.3k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1160:21): [True: 17.3k, False: 94.7k]
  ------------------
 1161|  17.3k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1161:29): [True: 12.5k, False: 4.79k]
  |  Branch (1161:65): [True: 11.8k, False: 695]
  ------------------
 1162|  11.8k|                        {
 1163|  11.8k|                            key_buffer_.push_back(',');
 1164|  11.8k|                        }
 1165|  17.3k|                        key_buffer_.push_back('\"');
 1166|  17.3k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1167|  17.3k|                        key_buffer_.push_back('\"');
 1168|  17.3k|                        break;
 1169|  94.7k|                    default:
  ------------------
  |  Branch (1169:21): [True: 94.7k, False: 17.3k]
  ------------------
 1170|  94.7k|                        destination_->byte_string_value(value, tag, context, ec);
 1171|  94.7k|                        break;
 1172|   112k|                }
 1173|   112k|            }
 1174|       |
 1175|   124k|            level_stack_.back().advance();
 1176|   124k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   124k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1177|   124k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1183|  1.40M|        {
 1184|  1.40M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1184:17): [True: 302k, False: 1.10M]
  |  Branch (1184:49): [True: 299k, False: 802k]
  ------------------
 1185|   601k|            {
 1186|   601k|                key_.clear();
 1187|   601k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1188|   601k|            }
 1189|       |
 1190|  1.40M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1190:17): [True: 302k, False: 1.10M]
  ------------------
 1191|   302k|            {
 1192|   302k|                switch (level_stack_.back().target_kind())
 1193|   302k|                {
 1194|  76.3k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1194:21): [True: 76.3k, False: 225k]
  ------------------
 1195|  76.3k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1195:29): [True: 74.7k, False: 1.59k]
  ------------------
 1196|  74.7k|                        {
 1197|  74.7k|                            key_buffer_.push_back(',');
 1198|  74.7k|                        }
 1199|  76.3k|                        key_buffer_.push_back('\"');
 1200|  76.3k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1201|  76.3k|                        key_buffer_.push_back('\"');
 1202|  76.3k|                        key_buffer_.push_back(':');
 1203|  76.3k|                        break;
 1204|   225k|                    default:
  ------------------
  |  Branch (1204:21): [True: 225k, False: 76.3k]
  ------------------
 1205|   225k|                        destination_->key(key_, context, ec);
 1206|   225k|                        break;
 1207|   302k|                }
 1208|   302k|            }
 1209|  1.10M|            else
 1210|  1.10M|            {
 1211|  1.10M|                switch (level_stack_.back().target_kind())
 1212|  1.10M|                {
 1213|   299k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1213:21): [True: 299k, False: 802k]
  ------------------
 1214|   299k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1214:29): [True: 223k, False: 75.9k]
  |  Branch (1214:65): [True: 222k, False: 1.14k]
  ------------------
 1215|   222k|                        {
 1216|   222k|                            key_buffer_.push_back(',');
 1217|   222k|                        }
 1218|   299k|                        key_buffer_.push_back('\"');
 1219|   299k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1220|   299k|                        key_buffer_.push_back('\"');
 1221|   299k|                        break;
 1222|   802k|                    default:
  ------------------
  |  Branch (1222:21): [True: 802k, False: 299k]
  ------------------
 1223|   802k|                        destination_->byte_string_value(value, raw_tag, context, ec);
 1224|   802k|                        break;
 1225|  1.10M|                }
 1226|  1.10M|            }
 1227|       |
 1228|  1.40M|            level_stack_.back().advance();
 1229|  1.40M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1230|  1.40M|        }
_ZN8jsoncons21basic_generic_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  276|  2.37M|    {
  277|  2.37M|        visit_begin_object(length, tag, context, ec);
  278|  2.37M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.37M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  279|  2.37M|    }
_ZN8jsoncons21basic_generic_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  332|  3.51M|    {
  333|  3.51M|        visit_string(value, tag, context, ec);
  334|  3.51M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.51M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  335|  3.51M|    }
_ZN8jsoncons21basic_generic_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  314|  2.06M|    {
  315|  2.06M|        visit_null(tag, context, ec);
  316|  2.06M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.06M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  317|  2.06M|    }
_ZN8jsoncons21basic_generic_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  323|  26.5M|    {
  324|  26.5M|        visit_bool(value, tag, context, ec);
  325|  26.5M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  26.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  26.5M|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  343|   124k|    {
  344|   124k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  345|   124k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   124k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  346|   124k|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  354|  1.40M|    {
  355|  1.40M|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  356|  1.40M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  357|  1.40M|    }
_ZN8jsoncons21basic_generic_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  282|  2.35M|    {
  283|  2.35M|        visit_end_object(context, ec);
  284|  2.35M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.35M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  285|  2.35M|    }
_ZN8jsoncons21basic_generic_visitorIcE5flushEv:
   57|  2.48k|    {
   58|  2.48k|        visit_flush();
   59|  2.48k|    }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  4.29M|        {
  106|  4.29M|            flatten_and_destroy();
  107|  4.29M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  4.29M|        {
  249|  5.85M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 1.56M, False: 4.29M]
  ------------------
  250|  1.56M|            {
  251|  1.56M|                value_type current = std::move(data_.back());
  252|  1.56M|                data_.pop_back();
  253|  1.56M|                switch (current.storage_kind())
  254|  1.56M|                {
  255|   391k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 391k, False: 1.17M]
  ------------------
  256|   391k|                    {
  257|   391k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 1.61M, False: 391k]
  ------------------
  258|  1.61M|                        {
  259|  1.61M|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 65.9k, False: 1.54M]
  |  Branch (259:85): [True: 11.3k, False: 1.53M]
  ------------------
  260|  77.3k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 33.3k, False: 43.9k]
  ------------------
  261|  33.3k|                            {
  262|  33.3k|                                data_.push_back(std::move(item));
  263|  33.3k|                            }
  264|  1.61M|                        }
  265|   391k|                        current.clear();                           
  266|   391k|                        break;
  267|      0|                    }
  268|  52.2k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 52.2k, False: 1.51M]
  ------------------
  269|  52.2k|                    {
  270|  52.2k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 92.5k, False: 52.2k]
  ------------------
  271|  92.5k|                        {
  272|  92.5k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 9.39k, False: 83.1k]
  |  Branch (272:91): [True: 21.0k, False: 62.0k]
  ------------------
  273|  30.4k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 25.3k, False: 5.15k]
  ------------------
  274|  25.3k|                            {
  275|  25.3k|                                data_.push_back(std::move(kv.value()));
  276|  25.3k|                            }
  277|  92.5k|                        }
  278|  52.2k|                        current.clear();                           
  279|  52.2k|                        break;
  280|      0|                    }
  281|  1.12M|                    default:
  ------------------
  |  Branch (281:21): [True: 1.12M, False: 443k]
  ------------------
  282|  1.12M|                        break;
  283|  1.56M|                }
  284|  1.56M|            }
  285|  4.29M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|   391k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|   391k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  84.5k|        {
  126|  84.5k|            return data_.empty();
  127|  84.5k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|   391k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  20.2k|            : allocator_holder<allocator_type>(alloc), 
   50|  20.2k|              data_(value_allocator_type(alloc))
   51|  20.2k|        {
   52|  20.2k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  8.18k|        {
  218|  8.18k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  8.18k|            return data_.back();
  220|  8.18k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  44.3k|        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.10M|        {
  179|  3.10M|            data_.emplace_back(std::forward<T>(value));
  180|  3.10M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  4.27M|        json_array() = default;

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

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  7.23k|{
 1065|  7.23k|    return json_visitor_adaptor<From, To>(to);
 1066|  7.23k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  7.23k|        : supertype(visitor)
  984|  7.23k|    {
  985|  7.23k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  7.23k|        : destination1_(std::addressof(visitor))
  722|  7.23k|    {
  723|  7.23k|    }
_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.27M|    {
  778|  4.27M|        destination1_->begin_array(length, tag, context, ec);
  779|  4.27M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.27M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|  4.27M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  4.25M|    {
  784|  4.25M|        destination1_->end_array(context, ec);
  785|  4.25M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.25M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  4.25M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  17.4M|    {
  826|  17.4M|        destination1_->uint64_value(value, tag, context, ec);
  827|  17.4M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  17.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  17.4M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  4.07M|    {
  820|  4.07M|        destination1_->int64_value(value, tag, context, ec);
  821|  4.07M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.07M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  4.07M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  34.7k|    {
  814|  34.7k|        destination1_->double_value(value, tag, context, ec);
  815|  34.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  34.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  34.7k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|  2.48k|    {
  739|  2.48k|        destination1_->flush();
  740|  2.48k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|  1.97M|    {
  755|  1.97M|        destination1_->begin_object(length, tag, context, ec);
  756|  1.97M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.97M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  1.97M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  1.96M|    {
  761|  1.96M|        destination1_->end_object(context, ec);
  762|  1.96M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.96M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  1.96M|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE9visit_keyERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEERKNS_11ser_contextERNS6_10error_codeE:
  995|  5.45M|    {
  996|  5.45M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  5.45M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  8.08M|    {
  733|  8.08M|        return *destination1_;
  734|  8.08M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  1.26M|    {
  838|  1.26M|        destination1_->null_value(tag, context, ec);
  839|  1.26M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.26M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  1.26M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  6.49M|    {
  832|  6.49M|        destination1_->bool_value(value, tag, context, ec);
  833|  6.49M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.49M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  6.49M|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE12visit_stringERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
 1003|  2.62M|    {
 1004|  2.62M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  2.62M|    }
_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|  94.7k|    {
  793|  94.7k|        destination1_->byte_string_value(b, tag, context, ec);
  794|  94.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  94.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  795|  94.7k|    }
_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|   802k|    {
  802|   802k|        destination1_->byte_string_value(b, raw_tag, context, ec);
  803|   802k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   802k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|   802k|    }

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

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

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|   379k|    {
  121|   379k|        return value_;
  122|   379k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  25.4M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  17.4M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  17.4M|    {
   45|  17.4M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  69.8M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.07M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.07M|    {
   45|  4.07M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  34.7k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  34.7k|    {
   45|  34.7k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.97M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.97M|    {
   45|  1.97M|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|   214k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|   214k|    {
   88|   214k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.27M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.27M|    {
   45|  4.27M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.26M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.26M|    {
   45|  1.26M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  6.49M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  6.49M|    {
   45|  6.49M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  2.62M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.62M|    {
   45|  2.62M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  94.7k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  94.7k|    {
   45|  94.7k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   802k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   802k|    {
   45|   802k|    }

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

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  40.3k|        {
  159|  40.3k|            return data_.empty();
  160|  40.3k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  52.2k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  52.2k|        {
  169|  52.2k|            return data_.begin();
  170|  52.2k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  52.2k|        {
  174|  52.2k|            return data_.end();
  175|  52.2k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  1.97M|        {
  154|  1.97M|            flatten_and_destroy();
  155|  1.97M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|  1.97M|        {
  725|  1.97M|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 20.2k, False: 1.95M]
  ------------------
  726|  20.2k|            {
  727|  20.2k|                json_array<Json> temp(get_allocator());
  728|       |
  729|  20.2k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 122k, False: 20.2k]
  ------------------
  730|   122k|                {
  731|   122k|                    switch (kv.value().storage_kind())
  732|   122k|                    {
  733|  9.15k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 9.15k, False: 113k]
  ------------------
  734|  17.0k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 7.93k, False: 114k]
  ------------------
  735|  17.0k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 8.18k, False: 8.90k]
  ------------------
  736|  8.18k|                            {
  737|  8.18k|                                temp.emplace_back(std::move(kv.value()));
  738|  8.18k|                            }
  739|  17.0k|                            break;
  740|   105k|                        default:
  ------------------
  |  Branch (740:25): [True: 105k, False: 17.0k]
  ------------------
  741|   105k|                            break;
  742|   122k|                    }
  743|   122k|                }
  744|  20.2k|            }
  745|  1.97M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  1.97M|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  53.9k|        {
  278|  53.9k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 53.9k, False: 0]
  ------------------
  279|  53.9k|            {
  280|  53.9k|                data_.reserve(count);
  281|       |
  282|  53.9k|                std::sort(items, items+count, compare);
  283|  53.9k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  4.27M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 4.21M, False: 53.9k]
  ------------------
  286|  4.21M|                {
  287|  4.21M|                    auto& item = items[i];
  288|  4.21M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 161k, False: 4.05M]
  ------------------
  289|   161k|                    {
  290|   161k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|   161k|                    }
  292|  4.21M|                }
  293|  53.9k|            }
  294|  53.9k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|  90.3M|        {
  269|  90.3M|            int comp = item1.name.compare(item2.name); 
  270|  90.3M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 2.19M, False: 88.1M]
  ------------------
  271|  88.1M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 86.4M, False: 1.75M]
  ------------------
  272|       |
  273|  1.75M|            return false;
  274|  88.1M|        }

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

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

_ZN8jsoncons6binary13big_to_nativeIfNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   115k|    {
  183|   115k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 115k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   115k|        T val;
  188|   115k|        std::memcpy(&val,first,sizeof(T));
  189|   115k|        return byte_swap(val);
  190|   115k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|   115k|    {
   65|   115k|        uint32_t x;
   66|   115k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|   115k|        uint32_t y = byte_swap(x);
   68|   115k|        T val2;
   69|   115k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|   115k|        return val2;
   71|   115k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|   181k|    {
   40|   181k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|   181k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|   181k|#  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|   181k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  10.3k|    {
  183|  10.3k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 10.3k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  10.3k|        T val;
  188|  10.3k|        std::memcpy(&val,first,sizeof(T));
  189|  10.3k|        return byte_swap(val);
  190|  10.3k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  10.3k|    {
   77|  10.3k|        uint64_t x;
   78|  10.3k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  10.3k|        uint64_t y = byte_swap(x);
   80|  10.3k|        T val2;
   81|  10.3k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  10.3k|        return val2;
   83|  10.3k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  25.5k|    {
   52|  25.5k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  25.5k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  25.5k|#  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|  25.5k|    }
_ZN8jsoncons6binary13big_to_nativeItNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  27.4k|    {
  183|  27.4k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 27.4k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  27.4k|        T val;
  188|  27.4k|        std::memcpy(&val,first,sizeof(T));
  189|  27.4k|        return byte_swap(val);
  190|  27.4k|    }
_ZN8jsoncons6binary9byte_swapItEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  27.4k|    {
   29|  27.4k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  27.4k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|  27.4k|#      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|  27.4k|    }
_ZN8jsoncons6binary13big_to_nativeIjNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  65.3k|    {
  183|  65.3k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 65.3k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  65.3k|        T val;
  188|  65.3k|        std::memcpy(&val,first,sizeof(T));
  189|  65.3k|        return byte_swap(val);
  190|  65.3k|    }
_ZN8jsoncons6binary13big_to_nativeImNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  15.2k|    {
  183|  15.2k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 15.2k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  15.2k|        T val;
  188|  15.2k|        std::memcpy(&val,first,sizeof(T));
  189|  15.2k|        return byte_swap(val);
  190|  15.2k|    }
_ZN8jsoncons6binary13big_to_nativeIaNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  1.48M|    {
  183|  1.48M|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 1.48M]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  1.48M|        T val;
  188|  1.48M|        std::memcpy(&val,first,sizeof(T));
  189|  1.48M|        return byte_swap(val);
  190|  1.48M|    }
_ZN8jsoncons6binary9byte_swapIaEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|  1.48M|    {
   22|  1.48M|        return val;
   23|  1.48M|    }
_ZN8jsoncons6binary13big_to_nativeIsNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   123k|    {
  183|   123k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 123k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   123k|        T val;
  188|   123k|        std::memcpy(&val,first,sizeof(T));
  189|   123k|        return byte_swap(val);
  190|   123k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|   123k|    {
   29|   123k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|   123k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|   123k|#      define JSONCONS_BYTE_SWAP_16    __builtin_bswap16
  ------------------
   31|       |    #else
   32|       |        return (static_cast<uint16_t>(val) >> 8) | (static_cast<uint16_t>(val) << 8);
   33|       |    #endif
   34|   123k|    }
_ZN8jsoncons6binary13big_to_nativeIiNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  4.60k|    {
  183|  4.60k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 4.60k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  4.60k|        T val;
  188|  4.60k|        std::memcpy(&val,first,sizeof(T));
  189|  4.60k|        return byte_swap(val);
  190|  4.60k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  4.60k|    {
   40|  4.60k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  4.60k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|  4.60k|#  define JSONCONS_BYTE_SWAP_32 __builtin_bswap32
  ------------------
   42|       |    #else
   43|       |        uint32_t tmp = ((static_cast<uint32_t>(val) << 8) & 0xff00ff00) | ((static_cast<uint32_t>(val) >> 8) & 0xff00ff);
   44|       |        return (tmp << 16) | (tmp >> 16);
   45|       |    #endif
   46|  4.60k|    }
_ZN8jsoncons6binary13big_to_nativeIlNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  56.5k|    {
  183|  56.5k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 56.5k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  56.5k|        T val;
  188|  56.5k|        std::memcpy(&val,first,sizeof(T));
  189|  56.5k|        return byte_swap(val);
  190|  56.5k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  56.5k|    {
   52|  56.5k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  56.5k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  56.5k|#  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|  56.5k|    }
_ZN8jsoncons6binary13big_to_nativeIhNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   185k|    {
  183|   185k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 185k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   185k|        T val;
  188|   185k|        std::memcpy(&val,first,sizeof(T));
  189|   185k|        return byte_swap(val);
  190|   185k|    }
_ZN8jsoncons6binary9byte_swapIhEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|   185k|    {
   22|   185k|        return val;
   23|   185k|    }

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

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  14.8k|    {       
  242|  14.8k|        return (ptr);
  243|  14.8k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|   897k|    {       
  242|   897k|        return (ptr);
  243|   897k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  8.54M|    {       
  242|  8.54M|        return (ptr);
  243|  8.54M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  3.94M|    {       
  242|  3.94M|        return (ptr);
  243|  3.94M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|   912k|    {       
  242|   912k|        return (ptr);
  243|   912k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerImEEPT_S3_:
  241|   170k|    {       
  242|   170k|        return (ptr);
  243|   170k|    }  

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

_ZN8jsoncons14unicode_traits8validateIhEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  3.44M|    {
 1148|  3.44M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  3.44M|        const uint8_t* end = it + length;
 1150|       |
 1151|  3.44M|        unicode_errc  result{};
 1152|  3.51M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 66.2k, False: 3.44M]
  ------------------
 1153|  66.2k|        {
 1154|  66.2k|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 52.1k, False: 14.0k]
  ------------------
 1155|  52.1k|            {
 1156|   348k|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  281|   104k|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (281:32): [True: 50.9k, False: 1.25k]
  |  |  |  Branch (281:34): [True: 50.5k, False: 341]
  |  |  |  Branch (281:36): [True: 50.2k, False: 378]
  |  |  |  Branch (281:38): [True: 49.6k, False: 582]
  |  |  |  Branch (281:40): [True: 49.3k, False: 315]
  |  |  |  Branch (281:42): [True: 49.0k, False: 273]
  |  |  |  Branch (281:44): [True: 48.7k, False: 238]
  |  |  |  Branch (281:46): [True: 48.5k, False: 214]
  |  |  ------------------
  ------------------
 1157|  48.5k|                continue;
 1158|   348k|            }
 1159|  17.6k|    non_ascii:
 1160|  17.6k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  17.6k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 30, False: 17.6k]
  ------------------
 1162|     30|            {
 1163|     30|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     30|            }
 1165|  17.6k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 201, False: 17.4k]
  ------------------
 1166|    201|            {
 1167|    201|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    201|            }
 1169|  17.4k|            it += len;
 1170|  17.4k|        }
 1171|  3.44M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  3.44M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  17.6k|    {
  306|  17.6k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  17.6k|        const uint8_t* end = it+length;
  308|       |
  309|  17.6k|        uint8_t byte;
  310|  17.6k|        switch (length) {
  311|     26|        default:
  ------------------
  |  Branch (311:9): [True: 26, False: 17.6k]
  ------------------
  312|     26|            return unicode_errc::over_long_utf8_sequence;
  313|    496|        case 4:
  ------------------
  |  Branch (313:9): [True: 496, False: 17.1k]
  ------------------
  314|    496|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 13, False: 483]
  ------------------
  315|     13|                return unicode_errc::bad_continuation_byte;
  316|    483|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|    483|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  1.43k|        case 3:
  ------------------
  |  Branch (317:9): [True: 949, False: 16.7k]
  ------------------
  318|  1.43k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 14, False: 1.41k]
  ------------------
  319|     14|                return unicode_errc::bad_continuation_byte;
  320|  1.41k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.41k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  4.01k|        case 2:
  ------------------
  |  Branch (321:9): [True: 2.59k, False: 15.0k]
  ------------------
  322|  4.01k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 53, False: 3.96k]
  ------------------
  323|     53|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  3.96k|            switch (*it) 
  326|  3.96k|            {
  327|       |                // no fall-through in this inner switch
  328|    558|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 558, False: 3.40k]
  |  Branch (328:32): [True: 6, False: 552]
  ------------------
  329|    552|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 286, False: 3.67k]
  |  Branch (329:32): [True: 3, False: 283]
  ------------------
  330|    283|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 203, False: 3.76k]
  |  Branch (330:32): [True: 5, False: 198]
  ------------------
  331|    248|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 248, False: 3.71k]
  |  Branch (331:32): [True: 3, False: 245]
  ------------------
  332|  2.66k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 2.66k, False: 1.29k]
  |  Branch (332:32): [True: 0, False: 2.66k]
  ------------------
  333|  3.96k|            }
  334|       |
  335|  3.94k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  3.94k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  17.5k|        case 1:
  ------------------
  |  Branch (336:9): [True: 13.5k, False: 4.06k]
  ------------------
  337|  17.5k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 4.02k, False: 13.5k]
  |  Branch (337:32): [True: 77, False: 3.94k]
  ------------------
  338|     77|                return unicode_errc::source_illegal;
  339|  17.4k|            break;
  340|  17.6k|        }
  341|  17.4k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 1, False: 17.4k]
  ------------------
  342|      1|            return unicode_errc::source_illegal;
  343|       |
  344|  17.4k|        return unicode_errc();
  345|  17.4k|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  19.0M|{
   43|  19.0M|    using char_type = typename Result::value_type;
   44|       |
   45|  19.0M|    char_type buf[255];
   46|  19.0M|    char_type *p = buf;
   47|  19.0M|    const char_type* last = buf+255;
   48|       |
   49|  19.0M|    bool is_negative = value < 0;
   50|       |
   51|  19.0M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 19.0M]
  ------------------
   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.0M|    else
   60|  19.0M|    {
   61|       |
   62|  19.0M|        do
   63|  24.8M|        {
   64|  24.8M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  24.8M|        }
   66|  24.8M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 5.78M, False: 19.0M]
  |  Branch (66:33): [True: 5.78M, False: 0]
  ------------------
   67|  19.0M|    }
   68|  19.0M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  19.0M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 19.0M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  19.0M|    std::size_t count = (p - buf);
   71|  19.0M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 19.0M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  43.8M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 24.8M, False: 19.0M]
  ------------------
   77|  24.8M|    {
   78|  24.8M|        result.push_back(*p);
   79|  24.8M|    }
   80|       |
   81|  19.0M|    return count;
   82|  19.0M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  4.90M|{
   43|  4.90M|    using char_type = typename Result::value_type;
   44|       |
   45|  4.90M|    char_type buf[255];
   46|  4.90M|    char_type *p = buf;
   47|  4.90M|    const char_type* last = buf+255;
   48|       |
   49|  4.90M|    bool is_negative = value < 0;
   50|       |
   51|  4.90M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 4.90M, False: 791]
  ------------------
   52|  4.90M|    {
   53|  4.90M|        do
   54|  9.73M|        {
   55|  9.73M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  9.73M|        }
   57|  9.73M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 4.82M, False: 4.90M]
  |  Branch (57:33): [True: 4.82M, False: 0]
  ------------------
   58|  4.90M|    }
   59|    791|    else
   60|    791|    {
   61|       |
   62|    791|        do
   63|  5.05k|        {
   64|  5.05k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  5.05k|        }
   66|  5.05k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 4.26k, False: 791]
  |  Branch (66:33): [True: 4.26k, False: 0]
  ------------------
   67|    791|    }
   68|  4.90M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  4.90M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 4.90M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  4.90M|    std::size_t count = (p - buf);
   71|  4.90M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 4.90M, False: 791]
  ------------------
   72|  4.90M|    {
   73|  4.90M|        result.push_back('-');
   74|  4.90M|        ++count;
   75|  4.90M|    }
   76|  14.6M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 9.73M, False: 4.90M]
  ------------------
   77|  9.73M|    {
   78|  9.73M|        result.push_back(*p);
   79|  9.73M|    }
   80|       |
   81|  4.90M|    return count;
   82|  4.90M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|  91.2k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|  91.2k|    {
  489|  91.2k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|  91.2k|        struct lconv *lc = localeconv();
  491|  91.2k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 91.2k, False: 0]
  |  Branch (491:30): [True: 91.2k, False: 0]
  ------------------
  492|  91.2k|        {
  493|  91.2k|            decimal_point_ = lc->decimal_point[0];
  494|  91.2k|        }
  495|  91.2k|#endif
  496|  91.2k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|  91.2k|    {
  504|  91.2k|        std::size_t count = 0;
  505|       |
  506|  91.2k|        char number_buffer[200];
  507|  91.2k|        int length = 0;
  508|       |
  509|  91.2k|        switch (float_format_)
  510|  91.2k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 91.2k]
  ------------------
  512|      0|            {
  513|      0|                if (precision_ > 0)
  ------------------
  |  Branch (513:21): [True: 0, False: 0]
  ------------------
  514|      0|                {
  515|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*f", precision_, val);
  516|      0|                    if (length < 0)
  ------------------
  |  Branch (516:25): [True: 0, False: 0]
  ------------------
  517|      0|                    {
  518|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  519|      0|                    }
  520|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  521|      0|                }
  522|      0|                else
  523|      0|                {
  524|      0|                    if (!dtoa_fixed(val, decimal_point_, result))
  ------------------
  |  Branch (524:25): [True: 0, False: 0]
  ------------------
  525|      0|                    {
  526|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  527|      0|                    }
  528|      0|                }
  529|      0|            }
  530|      0|            break;
  531|      0|        case float_chars_format::scientific:
  ------------------
  |  Branch (531:9): [True: 0, False: 91.2k]
  ------------------
  532|      0|            {
  533|      0|                if (precision_ > 0)
  ------------------
  |  Branch (533:21): [True: 0, False: 0]
  ------------------
  534|      0|                {
  535|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*e", precision_, val);
  536|      0|                    if (length < 0)
  ------------------
  |  Branch (536:25): [True: 0, False: 0]
  ------------------
  537|      0|                    {
  538|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  539|      0|                    }
  540|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  541|      0|                }
  542|      0|                else
  543|      0|                {
  544|      0|                    if (!dtoa_scientific(val, decimal_point_, result))
  ------------------
  |  Branch (544:25): [True: 0, False: 0]
  ------------------
  545|      0|                    {
  546|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  547|      0|                    }
  548|      0|                }
  549|      0|            }
  550|      0|            break;
  551|  91.2k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 91.2k, False: 0]
  ------------------
  552|  91.2k|            {
  553|  91.2k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 91.2k]
  ------------------
  554|      0|                {
  555|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*g", precision_, val);
  556|      0|                    if (length < 0)
  ------------------
  |  Branch (556:25): [True: 0, False: 0]
  ------------------
  557|      0|                    {
  558|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  559|      0|                    }
  560|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  561|      0|                }
  562|  91.2k|                else
  563|  91.2k|                {
  564|  91.2k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 91.2k]
  ------------------
  565|      0|                    {
  566|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  567|      0|                    }
  568|  91.2k|                }             
  569|  91.2k|                break;
  570|  91.2k|            }
  571|  91.2k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 91.2k]
  ------------------
  572|      0|                JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  573|      0|                break;
  574|  91.2k|        }
  575|  91.2k|        return count;
  576|  91.2k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  12.7k|{
  244|  12.7k|    const char *sbeg = buffer;
  245|  12.7k|    const char *send = sbeg + length;
  246|       |
  247|  12.7k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 12.7k, False: 0]
  ------------------
  248|  12.7k|    {
  249|  12.7k|        bool needs_dot = true;
  250|   257k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 245k, False: 12.7k]
  ------------------
  251|   245k|        {
  252|   245k|            switch (*q)
  253|   245k|            {
  254|  17.8k|            case '-':
  ------------------
  |  Branch (254:13): [True: 17.8k, False: 227k]
  ------------------
  255|  35.3k|            case '0':
  ------------------
  |  Branch (255:13): [True: 17.4k, False: 227k]
  ------------------
  256|  50.4k|            case '1':
  ------------------
  |  Branch (256:13): [True: 15.1k, False: 229k]
  ------------------
  257|  91.6k|            case '2':
  ------------------
  |  Branch (257:13): [True: 41.2k, False: 203k]
  ------------------
  258|   117k|            case '3':
  ------------------
  |  Branch (258:13): [True: 25.7k, False: 219k]
  ------------------
  259|   123k|            case '4':
  ------------------
  |  Branch (259:13): [True: 6.20k, False: 238k]
  ------------------
  260|   141k|            case '5':
  ------------------
  |  Branch (260:13): [True: 17.9k, False: 227k]
  ------------------
  261|   153k|            case '6':
  ------------------
  |  Branch (261:13): [True: 12.3k, False: 232k]
  ------------------
  262|   167k|            case '7':
  ------------------
  |  Branch (262:13): [True: 14.0k, False: 230k]
  ------------------
  263|   195k|            case '8':
  ------------------
  |  Branch (263:13): [True: 27.8k, False: 217k]
  ------------------
  264|   214k|            case '9':
  ------------------
  |  Branch (264:13): [True: 19.1k, False: 225k]
  ------------------
  265|   217k|            case '+':
  ------------------
  |  Branch (265:13): [True: 2.73k, False: 242k]
  ------------------
  266|   217k|                result.push_back(*q);
  267|   217k|                break;
  268|  10.2k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 10.2k, False: 234k]
  ------------------
  269|  10.2k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 245k]
  ------------------
  270|  10.2k|                result.push_back('e');
  271|  10.2k|                needs_dot = false;
  272|  10.2k|                break;
  273|  17.0k|            default:
  ------------------
  |  Branch (273:13): [True: 17.0k, False: 227k]
  ------------------
  274|  17.0k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 10.5k, False: 6.55k]
  ------------------
  275|  10.5k|                {
  276|  10.5k|                    needs_dot = false;
  277|  10.5k|                    result.push_back('.');
  278|  10.5k|                }
  279|  17.0k|                break;
  280|   245k|            }
  281|   245k|        }
  282|  12.7k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 2.22k, False: 10.5k]
  ------------------
  283|  2.22k|        {
  284|  2.22k|            result.push_back('.');
  285|  2.22k|            result.push_back('0');
  286|  2.22k|        }
  287|  12.7k|    }
  288|  12.7k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKciiiiRT_:
  171|  76.8k|{
  172|  76.8k|    int nb_digits = length;
  173|  76.8k|    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|  76.8k|    int kk = nb_digits + k;
  179|       |
  180|  76.8k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 53.8k, False: 23.0k]
  |  Branch (180:28): [True: 43.7k, False: 10.0k]
  ------------------
  181|  43.7k|    {
  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|   358k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 314k, False: 43.7k]
  ------------------
  186|   314k|        {
  187|   314k|            result.push_back(buffer[i]);
  188|   314k|        }
  189|  46.2k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 2.40k, False: 43.7k]
  ------------------
  190|  2.40k|        {
  191|  2.40k|            result.push_back('0');
  192|  2.40k|        }
  193|  43.7k|        result.push_back('.');
  194|  43.7k|        result.push_back('0');
  195|  43.7k|    } 
  196|  33.0k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 16.0k, False: 17.0k]
  |  Branch (196:24): [True: 6.00k, False: 10.0k]
  ------------------
  197|  6.00k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  25.3k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 19.3k, False: 6.00k]
  ------------------
  200|  19.3k|        {
  201|  19.3k|            result.push_back(buffer[i]);
  202|  19.3k|        }
  203|  6.00k|        result.push_back('.');
  204|  71.6k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 65.6k, False: 6.00k]
  ------------------
  205|  65.6k|        {
  206|  65.6k|            result.push_back(buffer[i]);
  207|  65.6k|        }
  208|  6.00k|    } 
  209|  27.0k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 11.2k, False: 15.8k]
  |  Branch (209:30): [True: 1.18k, False: 10.0k]
  ------------------
  210|  1.18k|    {
  211|  1.18k|        offset = 2 - kk;
  212|       |
  213|  1.18k|        result.push_back('0');
  214|  1.18k|        result.push_back('.');
  215|  2.98k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 1.80k, False: 1.18k]
  ------------------
  216|  1.80k|            result.push_back('0');
  217|  14.4k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 13.2k, False: 1.18k]
  ------------------
  218|  13.2k|        {
  219|  13.2k|            result.push_back(buffer[i]);
  220|  13.2k|        }
  221|  1.18k|    } 
  222|  25.8k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 1.68k, False: 24.2k]
  ------------------
  223|  1.68k|    {
  224|  1.68k|        result.push_back(buffer[0]);
  225|  1.68k|        result.push_back('e');
  226|  1.68k|        fill_exponent(kk - 1, result);
  227|  1.68k|    } 
  228|  24.2k|    else
  229|  24.2k|    {
  230|  24.2k|        result.push_back(buffer[0]);
  231|  24.2k|        result.push_back('.');
  232|   376k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 352k, False: 24.2k]
  ------------------
  233|   352k|        {
  234|   352k|            result.push_back(buffer[i]);
  235|   352k|        }
  236|  24.2k|        result.push_back('e');
  237|  24.2k|        fill_exponent(kk - 1, result);
  238|  24.2k|    }
  239|  76.8k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  25.8k|{
  137|  25.8k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 15.8k, False: 10.0k]
  ------------------
  138|  15.8k|    {
  139|  15.8k|        result.push_back('-');
  140|  15.8k|        K = -K;
  141|  15.8k|    }
  142|  10.0k|    else
  143|  10.0k|    {
  144|  10.0k|        result.push_back('+'); // compatibility with sprintf
  145|  10.0k|    }
  146|       |
  147|  25.8k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 2.82k, False: 23.0k]
  ------------------
  148|  2.82k|    {
  149|  2.82k|        result.push_back('0'); // compatibility with sprintf
  150|  2.82k|        result.push_back((char)('0' + K));
  151|  2.82k|    }
  152|  23.0k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 12.6k, False: 10.4k]
  ------------------
  153|  12.6k|    {
  154|  12.6k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  12.6k|        result.push_back((char)('0' + K));
  156|  12.6k|    }
  157|  10.4k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 10.4k, False: 0]
  ------------------
  158|  10.4k|    {
  159|  10.4k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  10.4k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  10.4k|        result.push_back((char)('0' + K));
  162|  10.4k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  25.8k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|  91.2k|{
  476|  91.2k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|  91.2k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|  91.2k|{
  367|  91.2k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 1.66k, False: 89.6k]
  ------------------
  368|  1.66k|    {
  369|  1.66k|        result.push_back('0');
  370|  1.66k|        result.push_back('.');
  371|  1.66k|        result.push_back('0');
  372|  1.66k|        return true;
  373|  1.66k|    }
  374|       |
  375|  89.6k|    int length = 0;
  376|  89.6k|    int k;
  377|       |
  378|  89.6k|    char buffer[100];
  379|       |
  380|  89.6k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 74.3k, False: 15.2k]
  ------------------
  381|  89.6k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 76.8k, False: 12.7k]
  ------------------
  382|  76.8k|    {
  383|  76.8k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 64.0k, False: 12.8k]
  ------------------
  384|  64.0k|        {
  385|  64.0k|            result.push_back('-');
  386|  64.0k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|  76.8k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|  76.8k|        return true;
  391|  76.8k|    }
  392|  12.7k|    else
  393|  12.7k|    {
  394|  12.7k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  12.7k|    }
  396|  89.6k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  12.7k|{
  330|  12.7k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 12.7k]
  ------------------
  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|  12.7k|    char buffer[100];
  339|  12.7k|    int precision = std::numeric_limits<double>::digits10;
  340|  12.7k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  12.7k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 12.7k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  12.7k|    double x{0};
  346|  12.7k|    auto res = decstr_to_double(buffer, length, x);
  347|  12.7k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 12.7k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  12.7k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 11.4k, False: 1.32k]
  ------------------
  352|  11.4k|    {
  353|  11.4k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  11.4k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  11.4k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 11.4k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  11.4k|    }
  360|  12.7k|    dump_buffer(buffer, length, decimal_point, result);
  361|  12.7k|    return true;
  362|  12.7k|}

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

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

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

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

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

