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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2769|   110M|        {
 2770|   110M|             destroy();
 2771|   110M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  893|   110M|        {
  894|   110M|            switch (storage_kind())
  895|   110M|            {
  896|  16.8k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (896:17): [True: 16.8k, False: 110M]
  ------------------
  897|  16.8k|                {
  898|  16.8k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (898:25): [True: 16.8k, False: 0]
  ------------------
  899|  16.8k|                    {
  900|  16.8k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  901|  16.8k|                    }
  902|  16.8k|                    break;
  903|      0|                }
  904|  4.86M|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (904:17): [True: 4.86M, False: 105M]
  ------------------
  905|  4.86M|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (905:25): [True: 4.86M, False: 0]
  ------------------
  906|  4.86M|                    {
  907|  4.86M|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  908|  4.86M|                    }
  909|  4.86M|                    break;
  910|   234k|                case json_storage_kind::array:
  ------------------
  |  Branch (910:17): [True: 234k, False: 109M]
  ------------------
  911|   234k|                {
  912|   234k|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (912:25): [True: 234k, False: 0]
  ------------------
  913|   234k|                    {
  914|   234k|                        auto& stor = cast<array_storage>();
  915|   234k|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  916|   234k|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  917|   234k|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  918|   234k|                    }
  919|   234k|                    break;
  920|      0|                }
  921|  8.69M|                case json_storage_kind::object:
  ------------------
  |  Branch (921:17): [True: 8.69M, False: 101M]
  ------------------
  922|  8.69M|                {
  923|  8.69M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (923:25): [True: 8.69M, False: 0]
  ------------------
  924|  8.69M|                    {
  925|  8.69M|                        auto& stor = cast<object_storage>();
  926|  8.69M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  927|  8.69M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  928|  8.69M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  929|  8.69M|                    }
  930|  8.69M|                    break;
  931|      0|                }
  932|  96.2M|                default:
  ------------------
  |  Branch (932:17): [True: 96.2M, False: 13.8M]
  ------------------
  933|  96.2M|                    break;
  934|   110M|            }
  935|   110M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1457|   370M|        {
 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|   370M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1463|   370M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
  999|   163k|        {
 1000|   163k|            return cast(identity<T>());
 1001|   163k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1090|   163k|        {
 1091|   163k|            return long_str_;
 1092|   163k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
  999|  40.4M|        {
 1000|  40.4M|            return cast(identity<T>());
 1001|  40.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1100|  40.4M|        {
 1101|  40.4M|            return byte_str_;
 1102|  40.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
  999|  14.3M|        {
 1000|  14.3M|            return cast(identity<T>());
 1001|  14.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1120|  14.3M|        {
 1121|  14.3M|            return array_;
 1122|  14.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2302|  77.5M|        {
 2303|  77.5M|            uninitialized_move(std::move(other));
 2304|  77.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1297|  77.5M|        {
 1298|  77.5M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1298:17): [True: 36.8M, False: 40.7M]
  ------------------
 1299|  36.8M|            {
 1300|  36.8M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1301|  36.8M|            }
 1302|  40.7M|            else
 1303|  40.7M|            {
 1304|  40.7M|                switch (other.storage_kind())
 1305|  40.7M|                {
 1306|  34.4k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1306:21): [True: 34.4k, False: 40.6M]
  ------------------
 1307|  34.4k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1308|  34.4k|                        other.construct<null_storage>();
 1309|  34.4k|                        break;
 1310|  8.30M|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1310:21): [True: 8.30M, False: 32.4M]
  ------------------
 1311|  8.30M|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1312|  8.30M|                        other.construct<null_storage>();
 1313|  8.30M|                        break;
 1314|   627k|                    case json_storage_kind::array:
  ------------------
  |  Branch (1314:21): [True: 627k, False: 40.0M]
  ------------------
 1315|   627k|                        construct<array_storage>(other.cast<array_storage>());
 1316|   627k|                        other.construct<null_storage>();
 1317|   627k|                        break;
 1318|  31.7M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1318:21): [True: 31.7M, False: 8.96M]
  ------------------
 1319|  31.7M|                        construct<object_storage>(other.cast<object_storage>());
 1320|  31.7M|                        other.construct<null_storage>();
 1321|  31.7M|                        break;
 1322|      0|                    default:
  ------------------
  |  Branch (1322:21): [True: 0, False: 40.7M]
  ------------------
 1323|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1324|      0|                        break;
 1325|  40.7M|                }
 1326|  40.7M|            }
 1327|  77.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  990|  56.2k|        {
  991|  56.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  56.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  621|  78.0k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  622|  78.0k|            {
  623|  78.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  990|  40.7M|        {
  991|  40.7M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  40.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
  999|  70.5M|        {
 1000|  70.5M|            return cast(identity<T>());
 1001|  70.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1010|  70.5M|        {
 1011|  70.5M|            return null_;
 1012|  70.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  445|  41.3M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  446|  41.3M|            {
  447|  41.3M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  990|  12.9M|        {
  991|  12.9M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  12.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  670|  17.5M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  671|  17.5M|            {
  672|  17.5M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  990|   898k|        {
  991|   898k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|   898k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  722|  1.16M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  723|  1.16M|            {
  724|  1.16M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  990|  41.8M|        {
  991|  41.8M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  41.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  772|  52.0M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  773|  52.0M|            {
  774|  52.0M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4754|  70.4k|        {
 4755|  70.4k|            switch (storage_kind())
 4756|  70.4k|            {
 4757|  70.4k|                case json_storage_kind::array:
  ------------------
  |  Branch (4757:17): [True: 70.4k, False: 0]
  ------------------
 4758|  70.4k|                    return array_range_type(cast<array_storage>().value().begin(),
 4759|  70.4k|                        cast<array_storage>().value().end());
 4760|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4760:17): [True: 0, False: 70.4k]
  ------------------
 4761|      0|                    return cast<json_ref_storage>().value().array_range();
 4762|      0|                default:
  ------------------
  |  Branch (4762:17): [True: 0, False: 70.4k]
  ------------------
 4763|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4764|  70.4k|            }
 4765|  70.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  745|  11.8M|            {
  746|  11.8M|                return *ptr_;
  747|  11.8M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  343|  70.4k|            : first_(first), last_(last)
  344|  70.4k|        {
  345|  70.4k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  348|  70.4k|        {
  349|  70.4k|            return first_;
  350|  70.4k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  352|  70.4k|        {
  353|  70.4k|            return last_;
  354|  70.4k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3420|  34.2k|        {
 3421|  34.2k|            switch (storage_kind())
 3422|  34.2k|            {
 3423|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3423:17): [True: 0, False: 34.2k]
  ------------------
 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: 34.2k]
  ------------------
 3427|      0|                    return cast<short_string_storage>().length() == 0;
 3428|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 34.2k]
  ------------------
 3429|      0|                    return cast<long_string_storage>().length() == 0;
 3430|  22.5k|                case json_storage_kind::array:
  ------------------
  |  Branch (3430:17): [True: 22.5k, False: 11.7k]
  ------------------
 3431|  22.5k|                    return cast<array_storage>().value().empty();
 3432|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3432:17): [True: 0, False: 34.2k]
  ------------------
 3433|      0|                    return true;
 3434|  11.7k|                case json_storage_kind::object:
  ------------------
  |  Branch (3434:17): [True: 11.7k, False: 22.5k]
  ------------------
 3435|  11.7k|                    return cast<object_storage>().value().empty();
 3436|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3436:17): [True: 0, False: 34.2k]
  ------------------
 3437|      0|                    return cast<const_json_ref_storage>().value().empty();
 3438|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3438:17): [True: 0, False: 34.2k]
  ------------------
 3439|      0|                    return cast<json_ref_storage>().value().empty();
 3440|      0|                default:
  ------------------
  |  Branch (3440:17): [True: 0, False: 34.2k]
  ------------------
 3441|      0|                    return false;
 3442|  34.2k|            }
 3443|  34.2k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1005|  22.5k|        {
 1006|  22.5k|            return cast(identity<T>());
 1007|  22.5k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1125|  22.5k|        {
 1126|  22.5k|            return array_;
 1127|  22.5k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  22.5k|            {
  751|  22.5k|                return *ptr_;
  752|  22.5k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1005|  11.7k|        {
 1006|  11.7k|            return cast(identity<T>());
 1007|  11.7k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1115|  11.7k|        {
 1116|  11.7k|            return object_;
 1117|  11.7k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  796|  11.7k|            {
  797|  11.7k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|  11.7k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 11.7k]
  |  |  ------------------
  |  |   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|  11.7k|                return *ptr_;
  799|  11.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4151|  4.48M|        {
 4152|  4.48M|            switch (storage_kind())
 4153|  4.48M|            {
 4154|  70.4k|                case json_storage_kind::array:
  ------------------
  |  Branch (4154:17): [True: 70.4k, False: 4.40M]
  ------------------
 4155|  70.4k|                    cast<array_storage>().value().clear();
 4156|  70.4k|                    break;
 4157|  4.40M|                case json_storage_kind::object:
  ------------------
  |  Branch (4157:17): [True: 4.40M, False: 70.4k]
  ------------------
 4158|  4.40M|                    cast<object_storage>().value().clear();
 4159|  4.40M|                    break;
 4160|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4160:17): [True: 0, False: 4.48M]
  ------------------
 4161|      0|                    cast<json_ref_storage>().value().clear();
 4162|      0|                    break;
 4163|      0|                default:
  ------------------
  |  Branch (4163:17): [True: 0, False: 4.48M]
  ------------------
 4164|      0|                    break;
 4165|  4.48M|            }
 4166|  4.48M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  790|  13.2M|            {
  791|  13.2M|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|  13.2M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 13.2M]
  |  |  ------------------
  |  |   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|  13.2M|                return *ptr_;
  793|  13.2M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4720|  4.40M|        {
 4721|  4.40M|            switch (storage_kind())
 4722|  4.40M|            {
 4723|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4723:17): [True: 0, False: 4.40M]
  ------------------
 4724|      0|                    return object_range_type(object_iterator(), object_iterator());
 4725|  4.40M|                case json_storage_kind::object:
  ------------------
  |  Branch (4725:17): [True: 4.40M, False: 0]
  ------------------
 4726|  4.40M|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4727|  4.40M|                                                  object_iterator(cast<object_storage>().value().end()));
 4728|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4728:17): [True: 0, False: 4.40M]
  ------------------
 4729|      0|                    return cast<json_ref_storage>().value().object_range();
 4730|      0|                default:
  ------------------
  |  Branch (4730:17): [True: 0, False: 4.40M]
  ------------------
 4731|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4732|  4.40M|            }
 4733|  4.40M|        }
_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|  4.40M|            : first_(first), last_(last)
  344|  4.40M|        {
  345|  4.40M|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|  8.81M|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|  8.81M|            {
  120|  8.81M|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  348|  4.40M|        {
  349|  4.40M|            return first_;
  350|  4.40M|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  352|  4.40M|        {
  353|  4.40M|            return last_;
  354|  4.40M|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|  4.42M|            {
  219|  4.42M|                return !(*this == rhs);
  220|  4.42M|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|  4.42M|            {
  210|  4.42M|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   77|  8.85M|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 4.42M, False: 0]
  |  |  |  Branch (77:48): [True: 4.42M, False: 0]
  |  |  |  Branch (77:48): [True: 4.42M, False: 0]
  |  |  ------------------
  ------------------
  211|  4.42M|                {
  212|  4.42M|                    return current_ == rhs.current_;
  213|  4.42M|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|  4.42M|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  19.4k|            {
  141|  19.4k|                return *current_;
  142|  19.4k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  19.4k|            {
  151|  19.4k|                ++current_;
  152|  19.4k|                return *this;
  153|  19.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
  999|   123M|        {
 1000|   123M|            return cast(identity<T>());
 1001|   123M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1110|   123M|        {
 1111|   123M|            return object_;
 1112|   123M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2270|  4.36k|        {
 2271|  4.36k|            construct<empty_object_storage>(semantic_tag::none);
 2272|  4.36k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  990|  4.36k|        {
  991|  4.36k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  4.36k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
  999|  6.32k|        {
 1000|  6.32k|            return cast(identity<T>());
 1001|  6.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1020|  6.32k|        {
 1021|  6.32k|            return empty_object_;
 1022|  6.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  457|  4.36k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  458|  4.36k|            {
  459|  4.36k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3479|  53.8k|        {
 3480|  53.8k|            if (n > 0)
  ------------------
  |  Branch (3480:17): [True: 53.8k, False: 0]
  ------------------
 3481|  53.8k|            {
 3482|  53.8k|                switch (storage_kind())
 3483|  53.8k|                {
 3484|  53.8k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3484:21): [True: 53.8k, False: 0]
  ------------------
 3485|  53.8k|                        cast<array_storage>().value().reserve(n);
 3486|  53.8k|                        break;
 3487|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3487:21): [True: 0, False: 53.8k]
  ------------------
 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: 53.8k]
  ------------------
 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: 53.8k]
  ------------------
 3495|      0|                        cast<json_ref_storage>().value().reserve(n);
 3496|      0|                        break;
 3497|      0|                    default:
  ------------------
  |  Branch (3497:21): [True: 0, False: 53.8k]
  ------------------
 3498|      0|                        break;
 3499|  53.8k|                }
 3500|  53.8k|            }
 3501|  53.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2315|  8.69M|        {
 2316|  8.69M|            auto ptr = create_object(alloc);
 2317|  8.69M|            construct<object_storage>(ptr, tag);
 2318|  8.69M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  971|  8.69M|        {
  972|  8.69M|            using stor_allocator_type = typename object_storage::allocator_type;
  973|  8.69M|            stor_allocator_type stor_alloc(alloc);
  974|  8.69M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  975|  8.69M|            JSONCONS_TRY
  ------------------
  |  |   37|  8.69M|    #define JSONCONS_TRY try
  ------------------
  976|  8.69M|            {
  977|  8.69M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  978|  8.69M|                    std::forward<Args>(args)...);
  979|  8.69M|            }
  980|  8.69M|            JSONCONS_CATCH(...)
  981|  8.69M|            {
  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|  8.69M|            return ptr;
  986|  8.69M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  990|  8.69M|        {
  991|  8.69M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  8.69M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  767|  8.69M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  768|  8.69M|            {
  769|  8.69M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4696|  11.5M|        {
 4697|  11.5M|            switch (storage_kind())
 4698|  11.5M|            {
 4699|  11.5M|                case json_storage_kind::array:
  ------------------
  |  Branch (4699:17): [True: 11.5M, False: 0]
  ------------------
 4700|  11.5M|                    cast<array_storage>().value().push_back(std::move(val));
 4701|  11.5M|                    break;
 4702|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4702:17): [True: 0, False: 11.5M]
  ------------------
 4703|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4704|      0|                    break;
 4705|      0|                default:
  ------------------
  |  Branch (4705:17): [True: 0, False: 11.5M]
  ------------------
 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|  11.5M|            }
 4708|  11.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1448|  24.5M|        {
 1449|  24.5M|            if (this != &other)
  ------------------
  |  Branch (1449:17): [True: 24.5M, False: 0]
  ------------------
 1450|  24.5M|            {
 1451|  24.5M|                move_assignment(std::move(other));
 1452|  24.5M|            }
 1453|  24.5M|            return *this;
 1454|  24.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1410|  24.5M|        {
 1411|  24.5M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1411:17): [True: 24.5M, False: 0]
  |  Branch (1411:55): [True: 9.51M, False: 15.0M]
  ------------------
 1412|  9.51M|            {
 1413|  9.51M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1414|  9.51M|            }
 1415|  15.0M|            else
 1416|  15.0M|            {
 1417|  15.0M|                swap(other);
 1418|  15.0M|            }
 1419|  24.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1929|  15.0M|        {
 1930|  15.0M|            if (this == &other)
  ------------------
  |  Branch (1930:17): [True: 0, False: 15.0M]
  ------------------
 1931|      0|            {
 1932|      0|                return;
 1933|      0|            }
 1934|  15.0M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1934:17): [True: 15.0M, False: 0]
  |  Branch (1934:55): [True: 0, False: 15.0M]
  ------------------
 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|  15.0M|            else
 1942|  15.0M|            {
 1943|  15.0M|                switch (storage_kind())
 1944|  15.0M|                {
 1945|  14.5M|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1945:21): [True: 14.5M, False: 435k]
  ------------------
 1946|    977|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1946:21): [True: 977, False: 15.0M]
  ------------------
 1947|  19.5k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1947:21): [True: 19.5k, False: 15.0M]
  ------------------
 1948|  78.3k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1948:21): [True: 78.3k, False: 14.9M]
  ------------------
 1949|   222k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1949:21): [True: 222k, False: 14.8M]
  ------------------
 1950|    776|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 776, False: 15.0M]
  ------------------
 1951|  1.80k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 1.80k, False: 15.0M]
  ------------------
 1952|   111k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 111k, False: 14.9M]
  ------------------
 1953|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 0, False: 15.0M]
  ------------------
 1954|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 0, False: 15.0M]
  ------------------
 1955|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 0, False: 15.0M]
  ------------------
 1956|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 0, False: 15.0M]
  ------------------
 1957|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 0, False: 15.0M]
  ------------------
 1958|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 15.0M]
  ------------------
 1959|      0|                    default:
  ------------------
  |  Branch (1959:21): [True: 0, False: 15.0M]
  ------------------
 1960|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1961|      0|                        break;
 1962|  15.0M|                }
 1963|  15.0M|            }
 1964|  15.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1165|  14.5M|        {
 1166|  14.5M|            switch (other.storage_kind())
 1167|  14.5M|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 14.5M]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 14.5M]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 14.5M]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 14.5M]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 14.5M]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 14.5M]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 14.5M]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 14.5M]
  ------------------
 1176|  12.2k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 12.2k, False: 14.5M]
  ------------------
 1177|  4.30M|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 4.30M, False: 10.2M]
  ------------------
 1178|   193k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 193k, False: 14.4M]
  ------------------
 1179|  10.0M|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 10.0M, False: 4.50M]
  ------------------
 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: 14.5M]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 14.5M]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 14.5M]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  14.5M|            }
 1186|  14.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  990|  14.5M|        {
  991|  14.5M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  14.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  990|    977|        {
  991|    977|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|    977|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
  999|  2.40M|        {
 1000|  2.40M|            return cast(identity<T>());
 1001|  2.40M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1030|  2.40M|        {
 1031|  2.40M|            return boolean_;
 1032|  2.40M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  990|  19.5k|        {
  991|  19.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  19.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
  999|  3.75M|        {
 1000|  3.75M|            return cast(identity<T>());
 1001|  3.75M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1040|  3.75M|        {
 1041|  3.75M|            return int64_;
 1042|  3.75M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  990|  78.3k|        {
  991|  78.3k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  78.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
  999|  7.25M|        {
 1000|  7.25M|            return cast(identity<T>());
 1001|  7.25M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1050|  7.25M|        {
 1051|  7.25M|            return uint64_;
 1052|  7.25M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  990|   222k|        {
  991|   222k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|   222k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12half_storageEEERT_v:
  999|  13.3k|        {
 1000|  13.3k|            return cast(identity<T>());
 1001|  13.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12half_storageEEE:
 1060|  13.3k|        {
 1061|  13.3k|            return half_float_;
 1062|  13.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12half_storageEJRS7_EEEvDpOT0_:
  990|    776|        {
  991|    776|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|    776|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
  999|  3.41M|        {
 1000|  3.41M|            return cast(identity<T>());
 1001|  3.41M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1070|  3.41M|        {
 1071|  3.41M|            return float64_;
 1072|  3.41M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  990|  1.80k|        {
  991|  1.80k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  1.80k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
  999|  2.03M|        {
 1000|  2.03M|            return cast(identity<T>());
 1001|  2.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1080|  2.03M|        {
 1081|  2.03M|            return short_str_;
 1082|  2.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  580|   111k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  581|   111k|            {
  582|   111k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  583|   111k|                data_[short_str_length_] = 0;
  584|   111k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  990|   111k|        {
  991|   111k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|   111k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1151|  12.2k|        {
 1152|  12.2k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  12.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  12.2k|        {
 1158|  12.2k|            TypeR temp{other.cast<TypeR>()};
 1159|  12.2k|            other.construct<TypeL>(cast<TypeL>());
 1160|  12.2k|            construct<TypeR>(temp);
 1161|  12.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1151|  4.30M|        {
 1152|  4.30M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  4.30M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  4.30M|        {
 1158|  4.30M|            TypeR temp{other.cast<TypeR>()};
 1159|  4.30M|            other.construct<TypeL>(cast<TypeL>());
 1160|  4.30M|            construct<TypeR>(temp);
 1161|  4.30M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1151|   193k|        {
 1152|   193k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|   193k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|   193k|        {
 1158|   193k|            TypeR temp{other.cast<TypeR>()};
 1159|   193k|            other.construct<TypeL>(cast<TypeL>());
 1160|   193k|            construct<TypeR>(temp);
 1161|   193k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1151|  10.0M|        {
 1152|  10.0M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  10.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  10.0M|        {
 1158|  10.0M|            TypeR temp{other.cast<TypeR>()};
 1159|  10.0M|            other.construct<TypeL>(cast<TypeL>());
 1160|  10.0M|            construct<TypeR>(temp);
 1161|  10.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1165|    977|        {
 1166|    977|            switch (other.storage_kind())
 1167|    977|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 977]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 977]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 977]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 977]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 977]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 977]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 977]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 977]
  ------------------
 1176|    106|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 106, False: 871]
  ------------------
 1177|      4|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 4, False: 973]
  ------------------
 1178|    147|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 147, False: 830]
  ------------------
 1179|    720|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 720, False: 257]
  ------------------
 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: 977]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 977]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 977]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|    977|            }
 1186|    977|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1151|    106|        {
 1152|    106|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    106|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    106|        {
 1158|    106|            TypeR temp{other.cast<TypeR>()};
 1159|    106|            other.construct<TypeL>(cast<TypeL>());
 1160|    106|            construct<TypeR>(temp);
 1161|    106|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvRS5_:
 1151|      4|        {
 1152|      4|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|      4|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|      4|        {
 1158|      4|            TypeR temp{other.cast<TypeR>()};
 1159|      4|            other.construct<TypeL>(cast<TypeL>());
 1160|      4|            construct<TypeR>(temp);
 1161|      4|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1151|    147|        {
 1152|    147|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    147|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    147|        {
 1158|    147|            TypeR temp{other.cast<TypeR>()};
 1159|    147|            other.construct<TypeL>(cast<TypeL>());
 1160|    147|            construct<TypeR>(temp);
 1161|    147|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1151|    720|        {
 1152|    720|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    720|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    720|        {
 1158|    720|            TypeR temp{other.cast<TypeR>()};
 1159|    720|            other.construct<TypeL>(cast<TypeL>());
 1160|    720|            construct<TypeR>(temp);
 1161|    720|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1165|  19.5k|        {
 1166|  19.5k|            switch (other.storage_kind())
 1167|  19.5k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 19.5k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 19.5k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 19.5k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 19.5k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 19.5k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 19.5k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 19.5k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 19.5k]
  ------------------
 1176|    483|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 483, False: 19.0k]
  ------------------
 1177|  6.19k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 6.19k, False: 13.3k]
  ------------------
 1178|  10.3k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 10.3k, False: 9.17k]
  ------------------
 1179|  2.49k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 2.49k, False: 17.0k]
  ------------------
 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: 19.5k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 19.5k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 19.5k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  19.5k|            }
 1186|  19.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1151|    483|        {
 1152|    483|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    483|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    483|        {
 1158|    483|            TypeR temp{other.cast<TypeR>()};
 1159|    483|            other.construct<TypeL>(cast<TypeL>());
 1160|    483|            construct<TypeR>(temp);
 1161|    483|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1151|  6.19k|        {
 1152|  6.19k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  6.19k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  6.19k|        {
 1158|  6.19k|            TypeR temp{other.cast<TypeR>()};
 1159|  6.19k|            other.construct<TypeL>(cast<TypeL>());
 1160|  6.19k|            construct<TypeR>(temp);
 1161|  6.19k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1151|  10.3k|        {
 1152|  10.3k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  10.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  10.3k|        {
 1158|  10.3k|            TypeR temp{other.cast<TypeR>()};
 1159|  10.3k|            other.construct<TypeL>(cast<TypeL>());
 1160|  10.3k|            construct<TypeR>(temp);
 1161|  10.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1151|  2.49k|        {
 1152|  2.49k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  2.49k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  2.49k|        {
 1158|  2.49k|            TypeR temp{other.cast<TypeR>()};
 1159|  2.49k|            other.construct<TypeL>(cast<TypeL>());
 1160|  2.49k|            construct<TypeR>(temp);
 1161|  2.49k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1165|  78.3k|        {
 1166|  78.3k|            switch (other.storage_kind())
 1167|  78.3k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 78.3k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 78.3k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 78.3k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 78.3k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 78.3k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 78.3k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 78.3k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 78.3k]
  ------------------
 1176|  1.50k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 1.50k, False: 76.8k]
  ------------------
 1177|  53.6k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 53.6k, False: 24.6k]
  ------------------
 1178|  10.6k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 10.6k, False: 67.6k]
  ------------------
 1179|  12.4k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 12.4k, False: 65.8k]
  ------------------
 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: 78.3k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 78.3k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 78.3k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  78.3k|            }
 1186|  78.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1151|  1.50k|        {
 1152|  1.50k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  1.50k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  1.50k|        {
 1158|  1.50k|            TypeR temp{other.cast<TypeR>()};
 1159|  1.50k|            other.construct<TypeL>(cast<TypeL>());
 1160|  1.50k|            construct<TypeR>(temp);
 1161|  1.50k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1151|  53.6k|        {
 1152|  53.6k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  53.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  53.6k|        {
 1158|  53.6k|            TypeR temp{other.cast<TypeR>()};
 1159|  53.6k|            other.construct<TypeL>(cast<TypeL>());
 1160|  53.6k|            construct<TypeR>(temp);
 1161|  53.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1151|  10.6k|        {
 1152|  10.6k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  10.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  10.6k|        {
 1158|  10.6k|            TypeR temp{other.cast<TypeR>()};
 1159|  10.6k|            other.construct<TypeL>(cast<TypeL>());
 1160|  10.6k|            construct<TypeR>(temp);
 1161|  10.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1151|  12.4k|        {
 1152|  12.4k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  12.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  12.4k|        {
 1158|  12.4k|            TypeR temp{other.cast<TypeR>()};
 1159|  12.4k|            other.construct<TypeL>(cast<TypeL>());
 1160|  12.4k|            construct<TypeR>(temp);
 1161|  12.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1165|   222k|        {
 1166|   222k|            switch (other.storage_kind())
 1167|   222k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 222k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 222k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 222k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 222k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 222k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 222k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 222k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 222k]
  ------------------
 1176|  5.65k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 5.65k, False: 216k]
  ------------------
 1177|   146k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 146k, False: 76.3k]
  ------------------
 1178|  48.9k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 48.9k, False: 173k]
  ------------------
 1179|  21.7k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 21.7k, False: 200k]
  ------------------
 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: 222k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 222k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 222k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|   222k|            }
 1186|   222k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1151|  5.65k|        {
 1152|  5.65k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  5.65k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  5.65k|        {
 1158|  5.65k|            TypeR temp{other.cast<TypeR>()};
 1159|  5.65k|            other.construct<TypeL>(cast<TypeL>());
 1160|  5.65k|            construct<TypeR>(temp);
 1161|  5.65k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1151|   146k|        {
 1152|   146k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|   146k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|   146k|        {
 1158|   146k|            TypeR temp{other.cast<TypeR>()};
 1159|   146k|            other.construct<TypeL>(cast<TypeL>());
 1160|   146k|            construct<TypeR>(temp);
 1161|   146k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1151|  48.9k|        {
 1152|  48.9k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  48.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  48.9k|        {
 1158|  48.9k|            TypeR temp{other.cast<TypeR>()};
 1159|  48.9k|            other.construct<TypeL>(cast<TypeL>());
 1160|  48.9k|            construct<TypeR>(temp);
 1161|  48.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1151|  21.7k|        {
 1152|  21.7k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  21.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  21.7k|        {
 1158|  21.7k|            TypeR temp{other.cast<TypeR>()};
 1159|  21.7k|            other.construct<TypeL>(cast<TypeL>());
 1160|  21.7k|            construct<TypeR>(temp);
 1161|  21.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12half_storageEEEvRS5_:
 1165|    776|        {
 1166|    776|            switch (other.storage_kind())
 1167|    776|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 776]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 776]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 776]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 776]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 776]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 776]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 776]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 776]
  ------------------
 1176|    153|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 153, False: 623]
  ------------------
 1177|    400|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 400, False: 376]
  ------------------
 1178|    130|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 130, False: 646]
  ------------------
 1179|     93|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 93, False: 683]
  ------------------
 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: 776]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 776]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 776]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|    776|            }
 1186|    776|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_19long_string_storageEEEvRS5_:
 1151|    153|        {
 1152|    153|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    153|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    153|        {
 1158|    153|            TypeR temp{other.cast<TypeR>()};
 1159|    153|            other.construct<TypeL>(cast<TypeL>());
 1160|    153|            construct<TypeR>(temp);
 1161|    153|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_19byte_string_storageEEEvRS5_:
 1151|    400|        {
 1152|    400|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    400|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    400|        {
 1158|    400|            TypeR temp{other.cast<TypeR>()};
 1159|    400|            other.construct<TypeL>(cast<TypeL>());
 1160|    400|            construct<TypeR>(temp);
 1161|    400|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_13array_storageEEEvRS5_:
 1151|    130|        {
 1152|    130|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    130|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    130|        {
 1158|    130|            TypeR temp{other.cast<TypeR>()};
 1159|    130|            other.construct<TypeL>(cast<TypeL>());
 1160|    130|            construct<TypeR>(temp);
 1161|    130|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_14object_storageEEEvRS5_:
 1151|     93|        {
 1152|     93|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|     93|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|     93|        {
 1158|     93|            TypeR temp{other.cast<TypeR>()};
 1159|     93|            other.construct<TypeL>(cast<TypeL>());
 1160|     93|            construct<TypeR>(temp);
 1161|     93|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1165|  1.80k|        {
 1166|  1.80k|            switch (other.storage_kind())
 1167|  1.80k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 1.80k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 1.80k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 1.80k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 1.80k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 1.80k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.80k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 1.80k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 1.80k]
  ------------------
 1176|    136|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 136, False: 1.66k]
  ------------------
 1177|    965|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 965, False: 840]
  ------------------
 1178|    396|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 396, False: 1.40k]
  ------------------
 1179|    308|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 308, False: 1.49k]
  ------------------
 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.80k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 1.80k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 1.80k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  1.80k|            }
 1186|  1.80k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1151|    136|        {
 1152|    136|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    136|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    136|        {
 1158|    136|            TypeR temp{other.cast<TypeR>()};
 1159|    136|            other.construct<TypeL>(cast<TypeL>());
 1160|    136|            construct<TypeR>(temp);
 1161|    136|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1151|    965|        {
 1152|    965|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    965|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    965|        {
 1158|    965|            TypeR temp{other.cast<TypeR>()};
 1159|    965|            other.construct<TypeL>(cast<TypeL>());
 1160|    965|            construct<TypeR>(temp);
 1161|    965|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1151|    396|        {
 1152|    396|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    396|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    396|        {
 1158|    396|            TypeR temp{other.cast<TypeR>()};
 1159|    396|            other.construct<TypeL>(cast<TypeL>());
 1160|    396|            construct<TypeR>(temp);
 1161|    396|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1151|    308|        {
 1152|    308|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    308|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    308|        {
 1158|    308|            TypeR temp{other.cast<TypeR>()};
 1159|    308|            other.construct<TypeL>(cast<TypeL>());
 1160|    308|            construct<TypeR>(temp);
 1161|    308|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1165|   111k|        {
 1166|   111k|            switch (other.storage_kind())
 1167|   111k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 111k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 111k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 111k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 111k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 111k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 111k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 111k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 111k]
  ------------------
 1176|  1.49k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 1.49k, False: 109k]
  ------------------
 1177|  98.7k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 98.7k, False: 12.6k]
  ------------------
 1178|  7.28k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 7.28k, False: 104k]
  ------------------
 1179|  3.86k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 3.86k, False: 107k]
  ------------------
 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: 111k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 111k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 111k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|   111k|            }
 1186|   111k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1151|  1.49k|        {
 1152|  1.49k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  1.49k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  1.49k|        {
 1158|  1.49k|            TypeR temp{other.cast<TypeR>()};
 1159|  1.49k|            other.construct<TypeL>(cast<TypeL>());
 1160|  1.49k|            construct<TypeR>(temp);
 1161|  1.49k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1151|  98.7k|        {
 1152|  98.7k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  98.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  98.7k|        {
 1158|  98.7k|            TypeR temp{other.cast<TypeR>()};
 1159|  98.7k|            other.construct<TypeL>(cast<TypeL>());
 1160|  98.7k|            construct<TypeR>(temp);
 1161|  98.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1151|  7.28k|        {
 1152|  7.28k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  7.28k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  7.28k|        {
 1158|  7.28k|            TypeR temp{other.cast<TypeR>()};
 1159|  7.28k|            other.construct<TypeL>(cast<TypeL>());
 1160|  7.28k|            construct<TypeR>(temp);
 1161|  7.28k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1151|  3.86k|        {
 1152|  3.86k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  3.86k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  3.86k|        {
 1158|  3.86k|            TypeR temp{other.cast<TypeR>()};
 1159|  3.86k|            other.construct<TypeL>(cast<TypeL>());
 1160|  3.86k|            construct<TypeR>(temp);
 1161|  3.86k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2609|  6.80M|        {
 2610|  6.80M|            construct<uint64_storage>(val, tag);
 2611|  6.80M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  990|  6.80M|        {
  991|  6.80M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  6.80M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  511|  6.80M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  512|  6.80M|                  val_(val)
  513|  6.80M|            {
  514|  6.80M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2640|  3.59M|        {
 2641|  3.59M|            construct<int64_storage>(val, tag);
 2642|  3.59M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  990|  3.59M|        {
  991|  3.59M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  3.59M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  491|  3.59M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  492|  3.59M|                  val_(val)
  493|  3.59M|            {
  494|  3.59M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2597|  3.40M|        {
 2598|  3.40M|            construct<double_storage>(val, tag);
 2599|  3.40M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  990|  3.40M|        {
  991|  3.40M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  3.40M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  550|  3.40M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  551|  3.40M|                  val_(val)
  552|  3.40M|            {
  553|  3.40M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2396|   234k|        {
 2397|   234k|            auto ptr = create_array(Allocator());
 2398|   234k|            construct<array_storage>(ptr, tag);
 2399|   234k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  952|   234k|        {
  953|   234k|            using stor_allocator_type = typename array_storage::allocator_type;
  954|   234k|            stor_allocator_type stor_alloc(alloc);
  955|   234k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  956|   234k|            JSONCONS_TRY
  ------------------
  |  |   37|   234k|    #define JSONCONS_TRY try
  ------------------
  957|   234k|            {
  958|   234k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  959|   234k|                    std::forward<Args>(args)...);
  960|   234k|            }
  961|   234k|            JSONCONS_CATCH(...)
  962|   234k|            {
  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|   234k|            return ptr;
  967|   234k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  990|   234k|        {
  991|   234k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|   234k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  717|   234k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  718|   234k|            {
  719|   234k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2686|   637k|        {
 2687|   637k|            construct<null_storage>(tag);
 2688|   637k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  990|   637k|        {
  991|   637k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|   637k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2696|  2.37M|        {
 2697|  2.37M|            construct<bool_storage>(val,tag);
 2698|  2.37M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  990|  2.37M|        {
  991|  2.37M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  2.37M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  470|  2.37M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  471|  2.37M|                  val_(val)
  472|  2.37M|            {
  473|  2.37M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2544|  1.83M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2545|  1.83M|        {
 2546|  1.83M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2574|  1.83M|        {
 2575|  1.83M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2575:17): [True: 1.81M, False: 16.8k]
  ------------------
 2576|  1.81M|            {
 2577|  1.81M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2578|  1.81M|            }
 2579|  16.8k|            else
 2580|  16.8k|            {
 2581|  16.8k|                auto ptr = create_long_string(alloc, s, length);
 2582|  16.8k|                construct<long_string_storage>(ptr, tag);
 2583|  16.8k|            }
 2584|  1.83M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  990|  1.81M|        {
  991|  1.81M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  1.81M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  572|  1.81M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  573|  1.81M|            {
  574|  1.81M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   49|  1.81M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 1.81M]
  |  |  ------------------
  |  |   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|  1.81M|                std::memcpy(data_,p,length*sizeof(char_type));
  576|  1.81M|                data_[length] = 0;
  577|  1.81M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  938|  16.8k|        {
  939|  16.8k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  940|  16.8k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  941|  16.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  990|  16.8k|        {
  991|  16.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  16.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  616|  16.8k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  617|  16.8k|            {
  618|  16.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2706|    114|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2707|    114|        {
 2708|    114|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2714|  4.85M|        {
 2715|  4.85M|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2716|       |            
 2717|  4.85M|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2718|  4.85M|            construct<byte_string_storage>(ptr, tag);
 2719|  4.85M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  945|  4.86M|        {
  946|  4.86M|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  947|  4.86M|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  948|  4.86M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
  990|  4.85M|        {
  991|  4.85M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  4.85M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  665|  4.86M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  666|  4.86M|            {
  667|  4.86M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2726|      4|        {
 2727|      4|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2728|       |
 2729|      4|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0);
 2730|      4|            construct<byte_string_storage>(ptr, tag);
 2731|      4|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2737|  8.26k|        {
 2738|  8.26k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2739|       |
 2740|  8.26k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2741|  8.26k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2742|  8.26k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  990|  8.26k|        {
  991|  8.26k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  8.26k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_10half_arg_tEtNS_12semantic_tagE:
 2587|  11.7k|        {
 2588|  11.7k|            construct<half_storage>(val, tag);
 2589|  11.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12half_storageEJRtRNS_12semantic_tagEEEEvDpOT0_:
  990|  11.7k|        {
  991|  11.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  11.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12half_storageC2EtNS_12semantic_tagE:
  530|  11.7k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::half_float)), short_str_length_(0), tag_(tag),
  531|  11.7k|                  val_(val)
  532|  11.7k|            {
  533|  11.7k|            }

_ZN8jsoncons6binary11decode_halfEt:
  536|  23.1M|    {
  537|       |    #if defined(__F16C__) && !defined(APPLE_MISSING_INTRINSICS)
  538|       |        return _cvtsh_ss(half);
  539|       |    #else
  540|  23.1M|        int64_t exp = (half >> 10) & 0x1f;
  541|  23.1M|        int64_t mant = half & 0x3ff;
  542|  23.1M|        double val;
  543|  23.1M|        if (exp == 0) 
  ------------------
  |  Branch (543:13): [True: 3.80M, False: 19.3M]
  ------------------
  544|  3.80M|        {
  545|  3.80M|            val = ldexp(static_cast<double>(mant), -24);
  546|  3.80M|        }
  547|  19.3M|        else if (exp != 31) 
  ------------------
  |  Branch (547:18): [True: 17.9M, False: 1.41M]
  ------------------
  548|  17.9M|        {
  549|  17.9M|            val = ldexp(static_cast<double>(mant) + 1024.0, static_cast<int>(exp - 25));
  550|  17.9M|        } 
  551|  1.41M|        else
  552|  1.41M|        {
  553|  1.41M|            val = mant == 0 ? std::numeric_limits<double>::infinity() : std::nan("");
  ------------------
  |  Branch (553:19): [True: 1.77k, False: 1.41M]
  ------------------
  554|  1.41M|        }
  555|  23.1M|        return half & 0x8000 ? -val : val;
  ------------------
  |  Branch (555:16): [True: 15.4M, False: 7.70M]
  ------------------
  556|  23.1M|    #endif
  557|  23.1M|    }

_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEET_PT0_:
  243|  16.8k|    {
  244|  16.8k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  245|  16.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|  16.8k|    }
_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEET_PT0_:
  243|  4.86M|    {
  244|  4.86M|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  245|  4.86M|        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|  4.86M|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  243|  16.8k|    {
  244|  16.8k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  245|  16.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|  16.8k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  243|  4.86M|    {
  244|  4.86M|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  245|  4.86M|        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|  4.86M|    }

_ZN8jsoncons6detail8expectedImNSt3__14errcEEC2ImEENS2_9enable_ifIXsr3std24is_default_constructibleIT_EE5valueEiE4typeE:
   41|      1|        : expected(T{})
   42|      1|    {
   43|      1|    }
_ZN8jsoncons6detail8expectedImNSt3__14errcEEC2EOm:
   52|  9.33k|        : has_value_(true)
   53|  9.33k|    {
   54|  9.33k|        construct(std::move(value));
   55|  9.33k|    }
_ZN8jsoncons6detail8expectedImNSt3__14errcEE9constructEOm:
  274|  9.33k|    {
  275|  9.33k|        ::new (&value_) T(std::move(value));
  276|  9.33k|        has_value_ = true;
  277|  9.33k|    }
_ZN8jsoncons6detail8expectedImNSt3__14errcEEC2IJS3_EEENS0_10unexpect_tEDpOT_:
   66|     33|        : has_value_(false)
   67|     33|    {
   68|     33|        ::new (&error_) E(std::forward<Args>(args)...);
   69|     33|    }
_ZNK8jsoncons6detail8expectedImNSt3__14errcEEcvbEv:
  146|  9.36k|    {
  147|  9.36k|        return has_value_;
  148|  9.36k|    }
_ZNR8jsoncons6detail8expectedImNSt3__14errcEEdeEv:
  231|  18.6k|    {
  232|  18.6k|        return this->value_;
  233|  18.6k|    }
_ZN8jsoncons6detail8expectedImNSt3__14errcEED2Ev:
  100|  9.36k|    {
  101|  9.36k|        destroy();
  102|  9.36k|    }
_ZN8jsoncons6detail8expectedImNSt3__14errcEE7destroyEv:
  280|  9.36k|    {
  281|  9.36k|        if (has_value_) 
  ------------------
  |  Branch (281:13): [True: 9.33k, False: 33]
  ------------------
  282|  9.33k|        {
  283|  9.33k|            value_.~T();
  284|  9.33k|            has_value_ = false;
  285|  9.33k|        }
  286|     33|        else
  287|     33|        {
  288|     33|            error_.~E();
  289|     33|        }
  290|  9.36k|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2IJRNS4_10error_codeEmmEEENS0_10unexpect_tEDpOT_:
   66|  3.38k|        : has_value_(false)
   67|  3.38k|    {
   68|  3.38k|        ::new (&error_) E(std::forward<Args>(args)...);
   69|  3.38k|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2EOS7_:
   52|    985|        : has_value_(true)
   53|    985|    {
   54|    985|        construct(std::move(value));
   55|    985|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE9constructEOS7_:
  274|    985|    {
  275|    985|        ::new (&value_) T(std::move(value));
  276|    985|        has_value_ = true;
  277|    985|    }
_ZNK8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEcvbEv:
  146|  4.36k|    {
  147|  4.36k|        return has_value_;
  148|  4.36k|    }
_ZNR8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE5errorEv:
  192|  10.1k|    {
  193|  10.1k|        assert(!has_value_);
  ------------------
  |  Branch (193:9): [True: 10.1k, False: 0]
  ------------------
  194|  10.1k|        return this->error_;
  195|  10.1k|    }
_ZNR8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEdeEv:
  231|    985|    {
  232|    985|        return this->value_;
  233|    985|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEED2Ev:
  100|  4.36k|    {
  101|  4.36k|        destroy();
  102|  4.36k|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE7destroyEv:
  280|  4.36k|    {
  281|  4.36k|        if (has_value_) 
  ------------------
  |  Branch (281:13): [True: 985, False: 3.38k]
  ------------------
  282|    985|        {
  283|    985|            value_.~T();
  284|    985|            has_value_ = false;
  285|    985|        }
  286|  3.38k|        else
  287|  3.38k|        {
  288|  3.38k|            error_.~E();
  289|  3.38k|        }
  290|  4.36k|    }

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

_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|  7.78M|            : data_(data), size_(size)
   62|  7.78M|        {
   63|  7.78M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|  20.2M|        {
  112|  20.2M|            return data_;
  113|  20.2M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|  38.1M|        {
  117|  38.1M|            return size_;
  118|  38.1M|        }
_ZNK8jsoncons6detail4spanIKtLm18446744073709551615EE4sizeEv:
  116|  23.5M|        {
  117|  23.5M|            return size_;
  118|  23.5M|        }
_ZNK8jsoncons6detail4spanIKjLm18446744073709551615EE4sizeEv:
  116|   286k|        {
  117|   286k|            return size_;
  118|   286k|        }
_ZNK8jsoncons6detail4spanIKmLm18446744073709551615EE4sizeEv:
  116|   176k|        {
  117|   176k|            return size_;
  118|   176k|        }
_ZNK8jsoncons6detail4spanIKaLm18446744073709551615EE4sizeEv:
  116|  2.83M|        {
  117|  2.83M|            return size_;
  118|  2.83M|        }
_ZNK8jsoncons6detail4spanIKsLm18446744073709551615EE4sizeEv:
  116|   806k|        {
  117|   806k|            return size_;
  118|   806k|        }
_ZNK8jsoncons6detail4spanIKiLm18446744073709551615EE4sizeEv:
  116|  1.91M|        {
  117|  1.91M|            return size_;
  118|  1.91M|        }
_ZNK8jsoncons6detail4spanIKlLm18446744073709551615EE4sizeEv:
  116|   571k|        {
  117|   571k|            return size_;
  118|   571k|        }
_ZNK8jsoncons6detail4spanIKfLm18446744073709551615EE4sizeEv:
  116|   249k|        {
  117|   249k|            return size_;
  118|   249k|        }
_ZNK8jsoncons6detail4spanIKdLm18446744073709551615EE4sizeEv:
  116|  77.8k|        {
  117|  77.8k|            return size_;
  118|  77.8k|        }
_ZNK8jsoncons6detail4spanIhLm18446744073709551615EE4dataEv:
  111|   226k|        {
  112|   226k|            return data_;
  113|   226k|        }
_ZNK8jsoncons6detail4spanIhLm18446744073709551615EE4sizeEv:
  116|   226k|        {
  117|   226k|            return size_;
  118|   226k|        }
_ZN8jsoncons6detail4spanIhLm18446744073709551615EEC2INSt3__16vectorIhNS4_9allocatorIhEEEEEERT_PNS4_9enable_ifIXaaaaaantsr7is_spanIS9_EE5valuentsr10ext_traits12is_std_arrayIS9_EE5valuesr10ext_traits21is_compatible_elementIS9_hEE5valuesr10ext_traits17has_data_and_sizeIS9_EE5valueEvE4typeE:
   68|   226k|            : data_(c.data()), size_(c.size())
   69|   226k|        {
   70|   226k|        }
_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2IhLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  6.28k|            : data_(s.data()), size_(s.size())
  103|  6.28k|        {
  104|  6.28k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EEixEm:
  126|  2.38M|         {
  127|  2.38M|             return data_[index];
  128|  2.38M|         }
_ZN8jsoncons6detail4spanItLm18446744073709551615EEC2EPtm:
   61|  84.0k|            : data_(data), size_(size)
   62|  84.0k|        {
   63|  84.0k|        }
_ZNK8jsoncons6detail4spanItLm18446744073709551615EE4sizeEv:
  116|  18.5M|        {
  117|  18.5M|            return size_;
  118|  18.5M|        }
_ZNK8jsoncons6detail4spanItLm18446744073709551615EEixEm:
  126|  36.8M|         {
  127|  36.8M|             return data_[index];
  128|  36.8M|         }
_ZN8jsoncons6detail4spanIKtLm18446744073709551615EEC2ItLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  42.0k|            : data_(s.data()), size_(s.size())
  103|  42.0k|        {
  104|  42.0k|        }
_ZNK8jsoncons6detail4spanItLm18446744073709551615EE4dataEv:
  111|  42.0k|        {
  112|  42.0k|            return data_;
  113|  42.0k|        }
_ZNK8jsoncons6detail4spanIKtLm18446744073709551615EEixEm:
  126|  23.4M|         {
  127|  23.4M|             return data_[index];
  128|  23.4M|         }
_ZN8jsoncons6detail4spanIjLm18446744073709551615EEC2EPjm:
   61|  12.3k|            : data_(data), size_(size)
   62|  12.3k|        {
   63|  12.3k|        }
_ZNK8jsoncons6detail4spanIjLm18446744073709551615EE4sizeEv:
  116|   284k|        {
  117|   284k|            return size_;
  118|   284k|        }
_ZNK8jsoncons6detail4spanIjLm18446744073709551615EEixEm:
  126|   535k|         {
  127|   535k|             return data_[index];
  128|   535k|         }
_ZN8jsoncons6detail4spanIKjLm18446744073709551615EEC2IjLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  6.15k|            : data_(s.data()), size_(s.size())
  103|  6.15k|        {
  104|  6.15k|        }
_ZNK8jsoncons6detail4spanIjLm18446744073709551615EE4dataEv:
  111|  6.15k|        {
  112|  6.15k|            return data_;
  113|  6.15k|        }
_ZNK8jsoncons6detail4spanIKjLm18446744073709551615EEixEm:
  126|   269k|         {
  127|   269k|             return data_[index];
  128|   269k|         }
_ZN8jsoncons6detail4spanImLm18446744073709551615EEC2EPmm:
   61|  28.2k|            : data_(data), size_(size)
   62|  28.2k|        {
   63|  28.2k|        }
_ZNK8jsoncons6detail4spanImLm18446744073709551615EE4sizeEv:
  116|   141k|        {
  117|   141k|            return size_;
  118|   141k|        }
_ZNK8jsoncons6detail4spanImLm18446744073709551615EEixEm:
  126|   214k|         {
  127|   214k|             return data_[index];
  128|   214k|         }
_ZN8jsoncons6detail4spanIKmLm18446744073709551615EEC2ImLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  14.1k|            : data_(s.data()), size_(s.size())
  103|  14.1k|        {
  104|  14.1k|        }
_ZNK8jsoncons6detail4spanImLm18446744073709551615EE4dataEv:
  111|  14.1k|        {
  112|  14.1k|            return data_;
  113|  14.1k|        }
_ZNK8jsoncons6detail4spanIKmLm18446744073709551615EEixEm:
  126|   171k|         {
  127|   171k|             return data_[index];
  128|   171k|         }
_ZN8jsoncons6detail4spanIaLm18446744073709551615EEC2EPam:
   61|  8.64k|            : data_(data), size_(size)
   62|  8.64k|        {
   63|  8.64k|        }
_ZNK8jsoncons6detail4spanIaLm18446744073709551615EE4sizeEv:
  116|  9.15k|        {
  117|  9.15k|            return size_;
  118|  9.15k|        }
_ZN8jsoncons6detail4spanIKaLm18446744073709551615EEC2IaLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  4.32k|            : data_(s.data()), size_(s.size())
  103|  4.32k|        {
  104|  4.32k|        }
_ZNK8jsoncons6detail4spanIaLm18446744073709551615EE4dataEv:
  111|  4.32k|        {
  112|  4.32k|            return data_;
  113|  4.32k|        }
_ZNK8jsoncons6detail4spanIKaLm18446744073709551615EEixEm:
  126|  2.82M|         {
  127|  2.82M|             return data_[index];
  128|  2.82M|         }
_ZN8jsoncons6detail4spanIsLm18446744073709551615EEC2EPsm:
   61|  24.4k|            : data_(data), size_(size)
   62|  24.4k|        {
   63|  24.4k|        }
_ZNK8jsoncons6detail4spanIsLm18446744073709551615EE4sizeEv:
  116|   804k|        {
  117|   804k|            return size_;
  118|   804k|        }
_ZNK8jsoncons6detail4spanIsLm18446744073709551615EEixEm:
  126|  1.53M|         {
  127|  1.53M|             return data_[index];
  128|  1.53M|         }
_ZN8jsoncons6detail4spanIKsLm18446744073709551615EEC2IsLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  12.2k|            : data_(s.data()), size_(s.size())
  103|  12.2k|        {
  104|  12.2k|        }
_ZNK8jsoncons6detail4spanIsLm18446744073709551615EE4dataEv:
  111|  12.2k|        {
  112|  12.2k|            return data_;
  113|  12.2k|        }
_ZNK8jsoncons6detail4spanIKsLm18446744073709551615EEixEm:
  126|   770k|         {
  127|   770k|             return data_[index];
  128|   770k|         }
_ZN8jsoncons6detail4spanIiLm18446744073709551615EEC2EPim:
   61|  7.88k|            : data_(data), size_(size)
   62|  7.88k|        {
   63|  7.88k|        }
_ZNK8jsoncons6detail4spanIiLm18446744073709551615EE4sizeEv:
  116|  1.88M|        {
  117|  1.88M|            return size_;
  118|  1.88M|        }
_ZNK8jsoncons6detail4spanIiLm18446744073709551615EEixEm:
  126|  3.74M|         {
  127|  3.74M|             return data_[index];
  128|  3.74M|         }
_ZN8jsoncons6detail4spanIKiLm18446744073709551615EEC2IiLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  3.94k|            : data_(s.data()), size_(s.size())
  103|  3.94k|        {
  104|  3.94k|        }
_ZNK8jsoncons6detail4spanIiLm18446744073709551615EE4dataEv:
  111|  3.94k|        {
  112|  3.94k|            return data_;
  113|  3.94k|        }
_ZNK8jsoncons6detail4spanIKiLm18446744073709551615EEixEm:
  126|  1.90M|         {
  127|  1.90M|             return data_[index];
  128|  1.90M|         }
_ZN8jsoncons6detail4spanIlLm18446744073709551615EEC2EPlm:
   61|  11.1k|            : data_(data), size_(size)
   62|  11.1k|        {
   63|  11.1k|        }
_ZNK8jsoncons6detail4spanIlLm18446744073709551615EE4sizeEv:
  116|   554k|        {
  117|   554k|            return size_;
  118|   554k|        }
_ZNK8jsoncons6detail4spanIlLm18446744073709551615EEixEm:
  126|  1.07M|         {
  127|  1.07M|             return data_[index];
  128|  1.07M|         }
_ZN8jsoncons6detail4spanIKlLm18446744073709551615EEC2IlLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  5.57k|            : data_(s.data()), size_(s.size())
  103|  5.57k|        {
  104|  5.57k|        }
_ZNK8jsoncons6detail4spanIlLm18446744073709551615EE4dataEv:
  111|  5.57k|        {
  112|  5.57k|            return data_;
  113|  5.57k|        }
_ZNK8jsoncons6detail4spanIKlLm18446744073709551615EEixEm:
  126|   555k|         {
  127|   555k|             return data_[index];
  128|   555k|         }
_ZN8jsoncons6detail4spanIfLm18446744073709551615EEC2EPfm:
   61|  23.9k|            : data_(data), size_(size)
   62|  23.9k|        {
   63|  23.9k|        }
_ZNK8jsoncons6detail4spanIfLm18446744073709551615EE4sizeEv:
  116|   197k|        {
  117|   197k|            return size_;
  118|   197k|        }
_ZNK8jsoncons6detail4spanIfLm18446744073709551615EEixEm:
  126|   323k|         {
  127|   323k|             return data_[index];
  128|   323k|         }
_ZN8jsoncons6detail4spanIKfLm18446744073709551615EEC2IfLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  11.9k|            : data_(s.data()), size_(s.size())
  103|  11.9k|        {
  104|  11.9k|        }
_ZNK8jsoncons6detail4spanIfLm18446744073709551615EE4dataEv:
  111|  11.9k|        {
  112|  11.9k|            return data_;
  113|  11.9k|        }
_ZNK8jsoncons6detail4spanIKfLm18446744073709551615EEixEm:
  126|   219k|         {
  127|   219k|             return data_[index];
  128|   219k|         }
_ZN8jsoncons6detail4spanIdLm18446744073709551615EEC2EPdm:
   61|  13.7k|            : data_(data), size_(size)
   62|  13.7k|        {
   63|  13.7k|        }
_ZNK8jsoncons6detail4spanIdLm18446744073709551615EE4sizeEv:
  116|  67.5k|        {
  117|  67.5k|            return size_;
  118|  67.5k|        }
_ZNK8jsoncons6detail4spanIdLm18446744073709551615EEixEm:
  126|  94.6k|         {
  127|  94.6k|             return data_[index];
  128|  94.6k|         }
_ZN8jsoncons6detail4spanIKdLm18446744073709551615EEC2IdLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  6.85k|            : data_(s.data()), size_(s.size())
  103|  6.85k|        {
  104|  6.85k|        }
_ZNK8jsoncons6detail4spanIdLm18446744073709551615EE4dataEv:
  111|  6.85k|        {
  112|  6.85k|            return data_;
  113|  6.85k|        }
_ZNK8jsoncons6detail4spanIKdLm18446744073709551615EEixEm:
  126|  60.9k|         {
  127|  60.9k|             return data_[index];
  128|  60.9k|         }
_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2Ev:
   58|  12.5M|        {
   59|  12.5M|        }
_ZNK8jsoncons6detail4spanIKmLm18446744073709551615EE5emptyEv:
  121|  9.36k|        { 
  122|  9.36k|            return size_ == 0; 
  123|  9.36k|        }
_ZN8jsoncons6detail4spanIKmLm18446744073709551615EEC2INSt3__16vectorImNS5_9allocatorImEEEEEERT_PNS5_9enable_ifIXaaaaaantsr7is_spanISA_EE5valuentsr10ext_traits12is_std_arrayISA_EE5valuesr10ext_traits21is_compatible_elementISA_S2_EE5valuesr10ext_traits17has_data_and_sizeISA_EE5valueEvE4typeE:
   68|  9.36k|            : data_(c.data()), size_(c.size())
   69|  9.36k|        {
   70|  9.36k|        }

_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  855|  4.36k|            : destination_(std::addressof(visitor)), 
  856|  4.36k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  857|  4.36k|        {
  858|  4.36k|            level_stack_.emplace_back(json_target_kind::destination,json_structure_kind::root); // root
  859|  4.36k|        }
_ZN8jsoncons21basic_generic_visitorIcEC2Ev:
   52|  4.36k|    basic_generic_visitor() = default;
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  294|   592k|    {
  295|   592k|        visit_begin_array(length, tag, context, ec);
  296|   592k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   592k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  297|   592k|    }
_ZN8jsoncons21basic_generic_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  363|  21.2M|    {
  364|  21.2M|        visit_uint64(value, tag, context, ec);
  365|  21.2M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  21.2M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  21.2M|    }
_ZN8jsoncons21basic_generic_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  300|   840k|    {
  301|   840k|        visit_end_array(context, ec);
  302|   840k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   840k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|   840k|    }
_ZN8jsoncons21basic_generic_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  372|  10.8M|    {
  373|  10.8M|        visit_int64(value, tag, context, ec);
  374|  10.8M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  10.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  375|  10.8M|    }
_ZN8jsoncons21basic_generic_visitorIcE10half_valueEtNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  381|  77.4k|    {
  382|  77.4k|        visit_half(value, tag, context, ec);
  383|  77.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  77.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  384|  77.4k|    }
_ZN8jsoncons21basic_generic_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  390|  23.3M|    {
  391|  23.3M|        visit_double(value, tag, context, ec);
  392|  23.3M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  23.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  393|  23.3M|    }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structureC2ENS4_16json_target_kindENS4_19json_structure_kindE:
  798|  13.1M|                : target_kind_(state), structure_kind_(type), even_odd_(type == json_structure_kind::object ? 0 : 1)
  ------------------
  |  Branch (798:73): [True: 12.1M, False: 914k]
  ------------------
  799|  13.1M|            {
  800|  13.1M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1008|   592k|        {
 1009|   592k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1009:17): [True: 139k, False: 452k]
  ------------------
 1010|   139k|            {
 1011|   139k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1011:21): [True: 66.0k, False: 73.3k]
  |  Branch (1011:86): [True: 61.6k, False: 4.41k]
  ------------------
 1012|  61.6k|                {
 1013|  61.6k|                    key_buffer_.push_back(',');
 1014|  61.6k|                }
 1015|   139k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1016|   139k|                key_buffer_.push_back('[');
 1017|   139k|            }
 1018|   452k|            else
 1019|   452k|            {
 1020|   452k|                switch (level_stack_.back().target_kind())
 1021|   452k|                {
 1022|   228k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1022:21): [True: 228k, False: 224k]
  ------------------
 1023|   228k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1023:29): [True: 163k, False: 65.3k]
  |  Branch (1023:65): [True: 106k, False: 56.5k]
  ------------------
 1024|   106k|                        {
 1025|   106k|                            key_buffer_.push_back(',');
 1026|   106k|                        }
 1027|   228k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1028|   228k|                        key_buffer_.push_back('[');
 1029|   228k|                        break;
 1030|   224k|                    default:
  ------------------
  |  Branch (1030:21): [True: 224k, False: 228k]
  ------------------
 1031|   224k|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1032|   224k|                        destination_->begin_array(length, tag, context, ec);
 1033|   224k|                        break;
 1034|   452k|                }
 1035|   452k|            }
 1036|   592k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   592k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1037|   592k|        }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure6is_keyEv:
  815|   256M|            {
  816|   256M|                return even_odd_ == 0;
  817|   256M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure11target_kindEv:
  825|   172M|            {
  826|   172M|                return target_kind_;
  827|   172M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure5countEv:
  830|  44.4M|            {
  831|  44.4M|                return count_;
  832|  44.4M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure9is_objectEv:
  820|   134M|            {
  821|   134M|                return structure_kind_ == json_structure_kind::object;
  822|   134M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1040|   840k|        {
 1041|   840k|            switch (level_stack_.back().target_kind())
 1042|   840k|            {
 1043|   633k|                case json_target_kind::buffer:
  ------------------
  |  Branch (1043:17): [True: 633k, False: 206k]
  ------------------
 1044|   633k|                    key_buffer_.push_back(']');
 1045|   633k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|   633k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 633k]
  |  |  ------------------
  |  |   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|   633k|                    level_stack_.pop_back();
 1047|   633k|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (1047:25): [True: 73.3k, False: 560k]
  ------------------
 1048|  73.3k|                    {
 1049|  73.3k|                        destination_->key(key_buffer_, context, ec);
 1050|  73.3k|                        key_buffer_.clear();
 1051|  73.3k|                    }
 1052|   560k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1052:30): [True: 74.8k, False: 485k]
  ------------------
 1053|  74.8k|                    {
 1054|  74.8k|                        key_buffer_.push_back(':');
 1055|  74.8k|                    }
 1056|   633k|                    level_stack_.back().advance();
 1057|   633k|                    break;
 1058|   206k|                default:
  ------------------
  |  Branch (1058:17): [True: 206k, False: 633k]
  ------------------
 1059|   206k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|   206k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 206k]
  |  |  ------------------
  |  |   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|   206k|                    level_stack_.pop_back();
 1061|   206k|                    level_stack_.back().advance();
 1062|   206k|                    destination_->end_array(context, ec);
 1063|   206k|                    break;
 1064|   840k|            }
 1065|   840k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   840k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1066|   840k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure7advanceEv:
  803|  90.3M|            {
  804|  90.3M|                if (!is_key())
  ------------------
  |  Branch (804:21): [True: 77.0M, False: 13.2M]
  ------------------
  805|  77.0M|                {
  806|  77.0M|                    ++count_;
  807|  77.0M|                }
  808|  90.3M|                if (is_object())
  ------------------
  |  Branch (808:21): [True: 26.5M, False: 63.8M]
  ------------------
  809|  26.5M|                {
  810|  26.5M|                    even_odd_ = !even_odd_;
  811|  26.5M|                }
  812|  90.3M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1233|  21.2M|        {
 1234|  21.2M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1234:17): [True: 4.71M, False: 16.4M]
  |  Branch (1234:49): [True: 9.68M, False: 6.80M]
  ------------------
 1235|  14.3M|            {
 1236|  14.3M|                key_.clear();
 1237|  14.3M|                jsoncons::from_integer(value,key_);
 1238|  14.3M|            }
 1239|       |
 1240|  21.2M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1240:17): [True: 4.71M, False: 16.4M]
  ------------------
 1241|  4.71M|            {
 1242|  4.71M|                switch (level_stack_.back().target_kind())
 1243|  4.71M|                {
 1244|  1.80M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1244:21): [True: 1.80M, False: 2.90M]
  ------------------
 1245|  1.80M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1245:29): [True: 1.79M, False: 8.93k]
  ------------------
 1246|  1.79M|                        {
 1247|  1.79M|                            key_buffer_.push_back(',');
 1248|  1.79M|                        }
 1249|  1.80M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1250|  1.80M|                        key_buffer_.push_back(':');
 1251|  1.80M|                        break;
 1252|  2.90M|                    default:
  ------------------
  |  Branch (1252:21): [True: 2.90M, False: 1.80M]
  ------------------
 1253|  2.90M|                        destination_->key(key_, context, ec);
 1254|  2.90M|                        break;
 1255|  4.71M|                }
 1256|  4.71M|            }
 1257|  16.4M|            else
 1258|  16.4M|            {
 1259|  16.4M|                switch (level_stack_.back().target_kind())
 1260|  16.4M|                {
 1261|  9.68M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1261:21): [True: 9.68M, False: 6.80M]
  ------------------
 1262|  9.68M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1262:29): [True: 7.88M, False: 1.80M]
  |  Branch (1262:65): [True: 7.84M, False: 38.2k]
  ------------------
 1263|  7.84M|                        {
 1264|  7.84M|                            key_buffer_.push_back(',');
 1265|  7.84M|                        }
 1266|  9.68M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1267|  9.68M|                        break;
 1268|  6.80M|                    default:
  ------------------
  |  Branch (1268:21): [True: 6.80M, False: 9.68M]
  ------------------
 1269|  6.80M|                        destination_->uint64_value(value, tag, context, ec);
 1270|  6.80M|                        break;
 1271|  16.4M|                }
 1272|  16.4M|            }
 1273|       |
 1274|  21.2M|            level_stack_.back().advance();
 1275|  21.2M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  21.2M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1276|  21.2M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1279|  10.8M|        {
 1280|  10.8M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1280:17): [True: 1.09M, False: 9.78M]
  |  Branch (1280:49): [True: 6.18M, False: 3.59M]
  ------------------
 1281|  7.28M|            {
 1282|  7.28M|                key_.clear();
 1283|  7.28M|                jsoncons::from_integer(value,key_);
 1284|  7.28M|            }
 1285|       |
 1286|  10.8M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1286:17): [True: 1.09M, False: 9.78M]
  ------------------
 1287|  1.09M|            {
 1288|  1.09M|                switch (level_stack_.back().target_kind())
 1289|  1.09M|                {
 1290|   346k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1290:21): [True: 346k, False: 750k]
  ------------------
 1291|   346k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1291:29): [True: 341k, False: 4.47k]
  ------------------
 1292|   341k|                        {
 1293|   341k|                            key_buffer_.push_back(',');
 1294|   341k|                        }
 1295|   346k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1296|   346k|                        key_buffer_.push_back(':');
 1297|   346k|                        break;
 1298|   750k|                    default:
  ------------------
  |  Branch (1298:21): [True: 750k, False: 346k]
  ------------------
 1299|   750k|                        destination_->key(key_, context, ec);
 1300|   750k|                        break;
 1301|  1.09M|                }
 1302|  1.09M|            }
 1303|  9.78M|            else
 1304|  9.78M|            {
 1305|  9.78M|                switch (level_stack_.back().target_kind())
 1306|  9.78M|                {
 1307|  6.18M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1307:21): [True: 6.18M, False: 3.59M]
  ------------------
 1308|  6.18M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1308:29): [True: 5.83M, False: 347k]
  |  Branch (1308:65): [True: 5.78M, False: 50.4k]
  ------------------
 1309|  5.78M|                        {
 1310|  5.78M|                            key_buffer_.push_back(',');
 1311|  5.78M|                        }
 1312|  6.18M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1313|  6.18M|                        break;
 1314|  3.59M|                    default:
  ------------------
  |  Branch (1314:21): [True: 3.59M, False: 6.18M]
  ------------------
 1315|  3.59M|                        destination_->int64_value(value, tag, context, ec);
 1316|  3.59M|                        break;
 1317|  9.78M|                }
 1318|  9.78M|            }
 1319|       |
 1320|  10.8M|            level_stack_.back().advance();
 1321|  10.8M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  10.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1322|  10.8M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1374|  23.3M|        {
 1375|  23.3M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1375:17): [True: 8.01k, False: 23.3M]
  |  Branch (1375:49): [True: 19.9M, False: 3.40M]
  ------------------
 1376|  19.9M|            {
 1377|  19.9M|                key_.clear();
 1378|  19.9M|                string_sink<string_type> sink(key_);
 1379|  19.9M|                jsoncons::write_double f{float_chars_format::general,0};
 1380|  19.9M|                f(value, sink);
 1381|  19.9M|            }
 1382|       |
 1383|  23.3M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1383:17): [True: 8.01k, False: 23.3M]
  ------------------
 1384|  8.01k|            {
 1385|  8.01k|                switch (level_stack_.back().target_kind())
 1386|  8.01k|                {
 1387|  5.38k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1387:21): [True: 5.38k, False: 2.63k]
  ------------------
 1388|  5.38k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1388:29): [True: 3.53k, False: 1.84k]
  ------------------
 1389|  3.53k|                        {
 1390|  3.53k|                            key_buffer_.push_back(',');
 1391|  3.53k|                        }
 1392|  5.38k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1393|  5.38k|                        key_buffer_.push_back(':');
 1394|  5.38k|                        break;
 1395|  2.63k|                    default:
  ------------------
  |  Branch (1395:21): [True: 2.63k, False: 5.38k]
  ------------------
 1396|  2.63k|                        destination_->key(key_, context, ec);
 1397|  2.63k|                        break;
 1398|  8.01k|                }
 1399|  8.01k|            }
 1400|  23.3M|            else
 1401|  23.3M|            {
 1402|  23.3M|                switch (level_stack_.back().target_kind())
 1403|  23.3M|                {
 1404|  19.9M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1404:21): [True: 19.9M, False: 3.40M]
  ------------------
 1405|  19.9M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1405:29): [True: 19.9M, False: 3.84k]
  |  Branch (1405:65): [True: 19.9M, False: 25.8k]
  ------------------
 1406|  19.9M|                        {
 1407|  19.9M|                            key_buffer_.push_back(',');
 1408|  19.9M|                        }
 1409|  19.9M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1410|  19.9M|                        break;
 1411|  3.40M|                    default:
  ------------------
  |  Branch (1411:21): [True: 3.40M, False: 19.9M]
  ------------------
 1412|  3.40M|                        destination_->double_value(value, tag, context, ec);
 1413|  3.40M|                        break;
 1414|  23.3M|                }
 1415|  23.3M|            }
 1416|       |
 1417|  23.3M|            level_stack_.back().advance();
 1418|  23.3M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  23.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1419|  23.3M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  881|    985|        {
  882|    985|            destination_->flush();
  883|    985|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  886|   292k|        {
  887|   292k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (887:17): [True: 144k, False: 148k]
  ------------------
  888|   144k|            {
  889|   144k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (889:21): [True: 142k, False: 1.27k]
  |  Branch (889:86): [True: 136k, False: 6.04k]
  ------------------
  890|   136k|                {
  891|   136k|                    key_buffer_.push_back(',');
  892|   136k|                }
  893|   144k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  894|   144k|                key_buffer_.push_back('{');
  895|   144k|            }
  896|   148k|            else
  897|   148k|            {
  898|   148k|                switch (level_stack_.back().target_kind())
  899|   148k|                {
  900|   142k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (900:21): [True: 142k, False: 5.54k]
  ------------------
  901|   142k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  902|   142k|                        key_buffer_.push_back('{');
  903|   142k|                        break;
  904|  5.54k|                    default:
  ------------------
  |  Branch (904:21): [True: 5.54k, False: 142k]
  ------------------
  905|  5.54k|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  906|  5.54k|                        destination_->begin_object(tag, context, ec);
  907|  5.54k|                        break;
  908|   148k|                }
  909|   148k|            }
  910|   292k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   292k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  911|   292k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  914|  11.9M|        {
  915|  11.9M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (915:17): [True: 2.70M, False: 9.19M]
  ------------------
  916|  2.70M|            {
  917|  2.70M|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (917:21): [True: 195k, False: 2.51M]
  |  Branch (917:86): [True: 177k, False: 18.1k]
  ------------------
  918|   177k|                {
  919|   177k|                    key_buffer_.push_back(',');
  920|   177k|                }
  921|  2.70M|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  922|  2.70M|                key_buffer_.push_back('{');
  923|  2.70M|            }
  924|  9.19M|            else
  925|  9.19M|            {
  926|  9.19M|                switch (level_stack_.back().target_kind())
  927|  9.19M|                {
  928|   514k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (928:21): [True: 514k, False: 8.68M]
  ------------------
  929|   514k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (929:29): [True: 330k, False: 184k]
  |  Branch (929:65): [True: 327k, False: 3.28k]
  ------------------
  930|   327k|                        {
  931|   327k|                            key_buffer_.push_back(',');
  932|   327k|                        }
  933|   514k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  934|   514k|                        key_buffer_.push_back('{');
  935|   514k|                        break;
  936|  8.68M|                    default:
  ------------------
  |  Branch (936:21): [True: 8.68M, False: 514k]
  ------------------
  937|  8.68M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  938|  8.68M|                        destination_->begin_object(length, tag, context, ec);
  939|  8.68M|                        break;
  940|  9.19M|                }
  941|  9.19M|            }
  942|  11.9M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  943|  11.9M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  946|  12.1M|        {
  947|  12.1M|            switch (level_stack_.back().target_kind())
  948|  12.1M|            {
  949|  3.47M|                case json_target_kind::buffer:
  ------------------
  |  Branch (949:17): [True: 3.47M, False: 8.68M]
  ------------------
  950|  3.47M|                    key_buffer_.push_back('}');
  951|  3.47M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  3.47M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.47M]
  |  |  ------------------
  |  |   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|  3.47M|                    level_stack_.pop_back();
  953|       |                    
  954|  3.47M|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (954:25): [True: 2.51M, False: 960k]
  ------------------
  955|  2.51M|                    {
  956|  2.51M|                        destination_->key(key_buffer_,context, ec);
  957|  2.51M|                        key_buffer_.clear();
  958|  2.51M|                    }
  959|   960k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (959:30): [True: 317k, False: 642k]
  ------------------
  960|   317k|                    {
  961|   317k|                        key_buffer_.push_back(':');
  962|   317k|                    }
  963|  3.47M|                    level_stack_.back().advance();
  964|  3.47M|                    break;
  965|  8.68M|                default:
  ------------------
  |  Branch (965:17): [True: 8.68M, False: 3.47M]
  ------------------
  966|  8.68M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  8.68M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 8.68M]
  |  |  ------------------
  |  |   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|  8.68M|                    level_stack_.pop_back();
  968|  8.68M|                    level_stack_.back().advance();
  969|  8.68M|                    destination_->end_object(context, ec);
  970|  8.68M|                    break;
  971|  12.1M|            }
  972|  12.1M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  12.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  973|  12.1M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  976|   317k|        {
  977|   317k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (977:17): [True: 12.5k, False: 305k]
  ------------------
  978|  12.5k|            {
  979|  12.5k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (979:21): [True: 12.0k, False: 495]
  |  Branch (979:86): [True: 11.0k, False: 963]
  ------------------
  980|  11.0k|                {
  981|  11.0k|                    key_buffer_.push_back(',');
  982|  11.0k|                }
  983|  12.5k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
  984|  12.5k|                key_buffer_.push_back('[');
  985|  12.5k|            }
  986|   305k|            else
  987|   305k|            {
  988|   305k|                switch (level_stack_.back().target_kind())
  989|   305k|                {
  990|   294k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (990:21): [True: 294k, False: 10.5k]
  ------------------
  991|   294k|                        if (level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (991:29): [True: 12.9k, False: 281k]
  |  Branch (991:64): [True: 12.2k, False: 739]
  ------------------
  992|  12.2k|                        {
  993|  12.2k|                            key_buffer_.push_back(',');
  994|  12.2k|                        }
  995|   294k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
  996|   294k|                        key_buffer_.push_back('[');
  997|   294k|                        break;
  998|  10.5k|                    default:
  ------------------
  |  Branch (998:21): [True: 10.5k, False: 294k]
  ------------------
  999|  10.5k|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1000|  10.5k|                        destination_->begin_array(tag, context, ec);
 1001|  10.5k|                        break;
 1002|   305k|                }
 1003|   305k|            }
 1004|   317k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   317k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1005|   317k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1475|  1.36M|        {
 1476|  1.36M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1476:17): [True: 86.7k, False: 1.27M]
  |  Branch (1476:49): [True: 635k, False: 637k]
  ------------------
 1477|   722k|            {
 1478|   722k|                key_.clear(); 
 1479|   722k|                key_.insert(key_.begin(), json_literals<char_type>::null_literal.begin(), json_literals<char_type>::null_literal.end());
 1480|   722k|            }
 1481|       |
 1482|  1.36M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1482:17): [True: 86.7k, False: 1.27M]
  ------------------
 1483|  86.7k|            {
 1484|  86.7k|                switch (level_stack_.back().target_kind())
 1485|  86.7k|                {
 1486|  59.0k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1486:21): [True: 59.0k, False: 27.6k]
  ------------------
 1487|  59.0k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1487:29): [True: 57.2k, False: 1.77k]
  ------------------
 1488|  57.2k|                        {
 1489|  57.2k|                            key_buffer_.push_back(',');
 1490|  57.2k|                        }
 1491|  59.0k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1492|  59.0k|                        key_buffer_.push_back(':');
 1493|  59.0k|                        break;
 1494|  27.6k|                    default:
  ------------------
  |  Branch (1494:21): [True: 27.6k, False: 59.0k]
  ------------------
 1495|  27.6k|                        destination_->key(key_, context, ec);
 1496|  27.6k|                        break;
 1497|  86.7k|                }
 1498|  86.7k|            }
 1499|  1.27M|            else
 1500|  1.27M|            {
 1501|  1.27M|                switch (level_stack_.back().target_kind())
 1502|  1.27M|                {
 1503|   635k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1503:21): [True: 635k, False: 637k]
  ------------------
 1504|   635k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1504:29): [True: 577k, False: 58.3k]
  |  Branch (1504:65): [True: 576k, False: 480]
  ------------------
 1505|   576k|                        {
 1506|   576k|                            key_buffer_.push_back(',');
 1507|   576k|                        }
 1508|   635k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1509|   635k|                        break;
 1510|   637k|                    default:
  ------------------
  |  Branch (1510:21): [True: 637k, False: 635k]
  ------------------
 1511|   637k|                        destination_->null_value(tag, context, ec);
 1512|   637k|                        break;
 1513|  1.27M|                }
 1514|  1.27M|            }
 1515|       |
 1516|  1.36M|            level_stack_.back().advance();
 1517|  1.36M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.36M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1518|  1.36M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1422|  4.06M|        {
 1423|  4.06M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1423:17): [True: 629k, False: 3.43M]
  |  Branch (1423:49): [True: 1.06M, False: 2.37M]
  ------------------
 1424|  1.69M|            {
 1425|  1.69M|                key_.clear(); 
 1426|  1.69M|                if (value)
  ------------------
  |  Branch (1426:21): [True: 597k, False: 1.10M]
  ------------------
 1427|   597k|                {
 1428|   597k|                    key_.insert(key_.begin(), json_literals<char_type>::true_literal.begin(), json_literals<char_type>::true_literal.end());
 1429|   597k|                }
 1430|  1.10M|                else
 1431|  1.10M|                {
 1432|  1.10M|                    key_.insert(key_.begin(), json_literals<char_type>::false_literal.begin(), json_literals<char_type>::false_literal.end());
 1433|  1.10M|                }
 1434|  1.69M|            }
 1435|       |
 1436|  4.06M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1436:17): [True: 629k, False: 3.43M]
  ------------------
 1437|   629k|            {
 1438|   629k|                switch (level_stack_.back().target_kind())
 1439|   629k|                {
 1440|   529k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1440:21): [True: 529k, False: 100k]
  ------------------
 1441|   529k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1441:29): [True: 528k, False: 663]
  ------------------
 1442|   528k|                        {
 1443|   528k|                            key_buffer_.push_back(',');
 1444|   528k|                        }
 1445|   529k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1446|   529k|                        key_buffer_.push_back(':');
 1447|   529k|                        break;
 1448|   100k|                    default:
  ------------------
  |  Branch (1448:21): [True: 100k, False: 529k]
  ------------------
 1449|   100k|                        destination_->key(key_, context, ec);
 1450|   100k|                        break;
 1451|   629k|                }
 1452|   629k|            }
 1453|  3.43M|            else
 1454|  3.43M|            {
 1455|  3.43M|                switch (level_stack_.back().target_kind())
 1456|  3.43M|                {
 1457|  1.06M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1457:21): [True: 1.06M, False: 2.37M]
  ------------------
 1458|  1.06M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1458:29): [True: 539k, False: 529k]
  |  Branch (1458:65): [True: 538k, False: 579]
  ------------------
 1459|   538k|                        {
 1460|   538k|                            key_buffer_.push_back(',');
 1461|   538k|                        }
 1462|  1.06M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1463|  1.06M|                        break;
 1464|  2.37M|                    default:
  ------------------
  |  Branch (1464:21): [True: 2.37M, False: 1.06M]
  ------------------
 1465|  2.37M|                        destination_->bool_value(value, tag, context, ec);
 1466|  2.37M|                        break;
 1467|  3.43M|                }
 1468|  3.43M|            }
 1469|       |
 1470|  4.06M|            level_stack_.back().advance();
 1471|  4.06M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.06M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1472|  4.06M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1072|  3.34M|        {
 1073|  3.34M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1073:17): [True: 946k, False: 2.40M]
  ------------------
 1074|   946k|            {
 1075|   946k|                switch (level_stack_.back().target_kind())
 1076|   946k|                {
 1077|   438k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1077:21): [True: 438k, False: 508k]
  ------------------
 1078|   438k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1078:29): [True: 436k, False: 1.34k]
  ------------------
 1079|   436k|                        {
 1080|   436k|                            key_buffer_.push_back(',');
 1081|   436k|                        }
 1082|   438k|                        key_buffer_.push_back('\"');
 1083|   438k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1084|   438k|                        key_buffer_.push_back('\"');
 1085|   438k|                        key_buffer_.push_back(':');
 1086|   438k|                        break;
 1087|   508k|                    default:
  ------------------
  |  Branch (1087:21): [True: 508k, False: 438k]
  ------------------
 1088|   508k|                        destination_->key(value, context, ec);
 1089|   508k|                        break;
 1090|   946k|                }
 1091|   946k|            }
 1092|  2.40M|            else
 1093|  2.40M|            {
 1094|  2.40M|                switch (level_stack_.back().target_kind())
 1095|  2.40M|                {
 1096|   571k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1096:21): [True: 571k, False: 1.83M]
  ------------------
 1097|   571k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1097:29): [True: 132k, False: 439k]
  |  Branch (1097:65): [True: 130k, False: 1.66k]
  ------------------
 1098|   130k|                        {
 1099|   130k|                            key_buffer_.push_back(',');
 1100|   130k|                        }
 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|  1.83M|                    default:
  ------------------
  |  Branch (1105:21): [True: 1.83M, False: 571k]
  ------------------
 1106|  1.83M|                        destination_->string_value(value, tag, context, ec);
 1107|  1.83M|                        break;
 1108|  2.40M|                }
 1109|  2.40M|            }
 1110|       |
 1111|  3.34M|            level_stack_.back().advance();
 1112|  3.34M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.34M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1113|  3.34M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1119|  13.0M|        {
 1120|  13.0M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1120:17): [True: 2.78M, False: 10.2M]
  |  Branch (1120:49): [True: 5.38M, False: 4.85M]
  ------------------
 1121|  8.17M|            {
 1122|  8.17M|                key_.clear();
 1123|  8.17M|                switch (tag)
 1124|  8.17M|                {
 1125|    768|                    case semantic_tag::base64:
  ------------------
  |  Branch (1125:21): [True: 768, False: 8.17M]
  ------------------
 1126|    768|                        bytes_to_base64(value.begin(), value.end(), key_);
 1127|    768|                        break;
 1128|    684|                    case semantic_tag::base16:
  ------------------
  |  Branch (1128:21): [True: 684, False: 8.17M]
  ------------------
 1129|    684|                        bytes_to_base16(value.begin(), value.end(),key_);
 1130|    684|                        break;
 1131|  8.17M|                    default:
  ------------------
  |  Branch (1131:21): [True: 8.17M, False: 1.45k]
  ------------------
 1132|  8.17M|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1133|  8.17M|                        break;
 1134|  8.17M|                }
 1135|  8.17M|            }
 1136|       |
 1137|  13.0M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1137:17): [True: 2.78M, False: 10.2M]
  ------------------
 1138|  2.78M|            {
 1139|  2.78M|                switch (level_stack_.back().target_kind())
 1140|  2.78M|                {
 1141|  1.48M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1141:21): [True: 1.48M, False: 1.30M]
  ------------------
 1142|  1.48M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1142:29): [True: 1.47M, False: 6.14k]
  ------------------
 1143|  1.47M|                        {
 1144|  1.47M|                            key_buffer_.push_back(',');
 1145|  1.47M|                        }
 1146|  1.48M|                        key_buffer_.push_back('\"');
 1147|  1.48M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1148|  1.48M|                        key_buffer_.push_back('\"');
 1149|  1.48M|                        key_buffer_.push_back(':');
 1150|  1.48M|                        break;
 1151|  1.30M|                    default:
  ------------------
  |  Branch (1151:21): [True: 1.30M, False: 1.48M]
  ------------------
 1152|  1.30M|                        destination_->key(key_, context, ec);
 1153|  1.30M|                        break;
 1154|  2.78M|                }
 1155|  2.78M|            }
 1156|  10.2M|            else
 1157|  10.2M|            {
 1158|  10.2M|                switch (level_stack_.back().target_kind())
 1159|  10.2M|                {
 1160|  5.38M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1160:21): [True: 5.38M, False: 4.85M]
  ------------------
 1161|  5.38M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1161:29): [True: 3.90M, False: 1.47M]
  |  Branch (1161:65): [True: 3.89M, False: 10.4k]
  ------------------
 1162|  3.89M|                        {
 1163|  3.89M|                            key_buffer_.push_back(',');
 1164|  3.89M|                        }
 1165|  5.38M|                        key_buffer_.push_back('\"');
 1166|  5.38M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1167|  5.38M|                        key_buffer_.push_back('\"');
 1168|  5.38M|                        break;
 1169|  4.85M|                    default:
  ------------------
  |  Branch (1169:21): [True: 4.85M, False: 5.38M]
  ------------------
 1170|  4.85M|                        destination_->byte_string_value(value, tag, context, ec);
 1171|  4.85M|                        break;
 1172|  10.2M|                }
 1173|  10.2M|            }
 1174|       |
 1175|  13.0M|            level_stack_.back().advance();
 1176|  13.0M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  13.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1177|  13.0M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1183|  31.0k|        {
 1184|  31.0k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1184:17): [True: 8.33k, False: 22.7k]
  |  Branch (1184:49): [True: 14.4k, False: 8.26k]
  ------------------
 1185|  22.7k|            {
 1186|  22.7k|                key_.clear();
 1187|  22.7k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1188|  22.7k|            }
 1189|       |
 1190|  31.0k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1190:17): [True: 8.33k, False: 22.7k]
  ------------------
 1191|  8.33k|            {
 1192|  8.33k|                switch (level_stack_.back().target_kind())
 1193|  8.33k|                {
 1194|  4.18k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1194:21): [True: 4.18k, False: 4.15k]
  ------------------
 1195|  4.18k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1195:29): [True: 3.80k, False: 381]
  ------------------
 1196|  3.80k|                        {
 1197|  3.80k|                            key_buffer_.push_back(',');
 1198|  3.80k|                        }
 1199|  4.18k|                        key_buffer_.push_back('\"');
 1200|  4.18k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1201|  4.18k|                        key_buffer_.push_back('\"');
 1202|  4.18k|                        key_buffer_.push_back(':');
 1203|  4.18k|                        break;
 1204|  4.15k|                    default:
  ------------------
  |  Branch (1204:21): [True: 4.15k, False: 4.18k]
  ------------------
 1205|  4.15k|                        destination_->key(key_, context, ec);
 1206|  4.15k|                        break;
 1207|  8.33k|                }
 1208|  8.33k|            }
 1209|  22.7k|            else
 1210|  22.7k|            {
 1211|  22.7k|                switch (level_stack_.back().target_kind())
 1212|  22.7k|                {
 1213|  14.4k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1213:21): [True: 14.4k, False: 8.26k]
  ------------------
 1214|  14.4k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1214:29): [True: 11.7k, False: 2.70k]
  |  Branch (1214:65): [True: 10.4k, False: 1.25k]
  ------------------
 1215|  10.4k|                        {
 1216|  10.4k|                            key_buffer_.push_back(',');
 1217|  10.4k|                        }
 1218|  14.4k|                        key_buffer_.push_back('\"');
 1219|  14.4k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1220|  14.4k|                        key_buffer_.push_back('\"');
 1221|  14.4k|                        break;
 1222|  8.26k|                    default:
  ------------------
  |  Branch (1222:21): [True: 8.26k, False: 14.4k]
  ------------------
 1223|  8.26k|                        destination_->byte_string_value(value, raw_tag, context, ec);
 1224|  8.26k|                        break;
 1225|  22.7k|                }
 1226|  22.7k|            }
 1227|       |
 1228|  31.0k|            level_stack_.back().advance();
 1229|  31.0k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  31.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1230|  31.0k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_halfEtNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1325|  77.4k|        {
 1326|  77.4k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1326:17): [True: 25.4k, False: 51.9k]
  |  Branch (1326:49): [True: 40.2k, False: 11.7k]
  ------------------
 1327|  65.6k|            {
 1328|  65.6k|                key_.clear();
 1329|  65.6k|                jsoncons::string_sink<string_type> sink(key_);
 1330|  65.6k|                jsoncons::write_double f{float_chars_format::general,0};
 1331|  65.6k|                double x = binary::decode_half(value);
 1332|  65.6k|                f(x, sink);
 1333|  65.6k|            }
 1334|       |
 1335|  77.4k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1335:17): [True: 25.4k, False: 51.9k]
  ------------------
 1336|  25.4k|            {
 1337|  25.4k|                switch (level_stack_.back().target_kind())
 1338|  25.4k|                {
 1339|  19.3k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1339:21): [True: 19.3k, False: 6.03k]
  ------------------
 1340|  19.3k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1340:29): [True: 17.7k, False: 1.60k]
  ------------------
 1341|  17.7k|                        {
 1342|  17.7k|                            key_buffer_.push_back(',');
 1343|  17.7k|                        }
 1344|  19.3k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1345|  19.3k|                        key_buffer_.push_back(':');
 1346|  19.3k|                        break;
 1347|  6.03k|                    default:
  ------------------
  |  Branch (1347:21): [True: 6.03k, False: 19.3k]
  ------------------
 1348|  6.03k|                        destination_->key(key_, context, ec);
 1349|  6.03k|                        break;
 1350|  25.4k|                }
 1351|  25.4k|            }
 1352|  51.9k|            else
 1353|  51.9k|            {
 1354|  51.9k|                switch (level_stack_.back().target_kind())
 1355|  51.9k|                {
 1356|  40.2k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1356:21): [True: 40.2k, False: 11.7k]
  ------------------
 1357|  40.2k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1357:29): [True: 26.3k, False: 13.8k]
  |  Branch (1357:65): [True: 25.6k, False: 633]
  ------------------
 1358|  25.6k|                        {
 1359|  25.6k|                            key_buffer_.push_back(',');
 1360|  25.6k|                        }
 1361|  40.2k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1362|  40.2k|                        break;
 1363|  11.7k|                    default:
  ------------------
  |  Branch (1363:21): [True: 11.7k, False: 40.2k]
  ------------------
 1364|  11.7k|                        destination_->half_value(value, tag, context, ec);
 1365|  11.7k|                        break;
 1366|  51.9k|                }
 1367|  51.9k|            }
 1368|       |
 1369|  77.4k|            level_stack_.back().advance();
 1370|  77.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  77.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1371|  77.4k|        }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  343|  13.0M|    {
  344|  13.0M|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  345|  13.0M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  13.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  346|  13.0M|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  354|  31.0k|    {
  355|  31.0k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  356|  31.0k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  31.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  357|  31.0k|    }
_ZN8jsoncons21basic_generic_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  323|  4.06M|    {
  324|  4.06M|        visit_bool(value, tag, context, ec);
  325|  4.06M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.06M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  4.06M|    }
_ZN8jsoncons21basic_generic_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  314|  1.36M|    {
  315|  1.36M|        visit_null(tag, context, ec);
  316|  1.36M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.36M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  317|  1.36M|    }
_ZN8jsoncons21basic_generic_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  332|  3.34M|    {
  333|  3.34M|        visit_string(value, tag, context, ec);
  334|  3.34M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.34M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  335|  3.34M|    }
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  288|   317k|    {
  289|   317k|        visit_begin_array(tag, context, ec);
  290|   317k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   317k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  291|   317k|    }
_ZN8jsoncons21basic_generic_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  267|   292k|    {
  268|   292k|        visit_begin_object(tag, context, ec);
  269|   292k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   292k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  270|   292k|    }
_ZN8jsoncons21basic_generic_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  276|  11.9M|    {
  277|  11.9M|        visit_begin_object(length, tag, context, ec);
  278|  11.9M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  279|  11.9M|    }
_ZN8jsoncons21basic_generic_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  282|  12.1M|    {
  283|  12.1M|        visit_end_object(context, ec);
  284|  12.1M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  12.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  285|  12.1M|    }
_ZN8jsoncons21basic_generic_visitorIcE5flushEv:
   57|    985|    {
   58|    985|        visit_flush();
   59|    985|    }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|   251k|        {
  106|   251k|            flatten_and_destroy();
  107|   251k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|   251k|        {
  249|  11.5M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 11.2M, False: 251k]
  ------------------
  250|  11.2M|            {
  251|  11.2M|                value_type current = std::move(data_.back());
  252|  11.2M|                data_.pop_back();
  253|  11.2M|                switch (current.storage_kind())
  254|  11.2M|                {
  255|  70.4k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 70.4k, False: 11.2M]
  ------------------
  256|  70.4k|                    {
  257|  70.4k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 327k, False: 70.4k]
  ------------------
  258|   327k|                        {
  259|   327k|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 15.2k, False: 312k]
  |  Branch (259:85): [True: 1.91k, False: 310k]
  ------------------
  260|  17.1k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 14.0k, False: 3.11k]
  ------------------
  261|  14.0k|                            {
  262|  14.0k|                                data_.push_back(std::move(item));
  263|  14.0k|                            }
  264|   327k|                        }
  265|  70.4k|                        current.clear();                           
  266|  70.4k|                        break;
  267|      0|                    }
  268|  4.40M|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 4.40M, False: 6.86M]
  ------------------
  269|  4.40M|                    {
  270|  4.40M|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 19.4k, False: 4.40M]
  ------------------
  271|  19.4k|                        {
  272|  19.4k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 1.66k, False: 17.7k]
  |  Branch (272:91): [True: 5.76k, False: 12.0k]
  ------------------
  273|  7.42k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 5.13k, False: 2.29k]
  ------------------
  274|  5.13k|                            {
  275|  5.13k|                                data_.push_back(std::move(kv.value()));
  276|  5.13k|                            }
  277|  19.4k|                        }
  278|  4.40M|                        current.clear();                           
  279|  4.40M|                        break;
  280|      0|                    }
  281|  6.79M|                    default:
  ------------------
  |  Branch (281:21): [True: 6.79M, False: 4.48M]
  ------------------
  282|  6.79M|                        break;
  283|  11.2M|                }
  284|  11.2M|            }
  285|   251k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|  70.4k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|  70.4k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  22.5k|        {
  126|  22.5k|            return data_.empty();
  127|  22.5k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|  70.4k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  16.3k|            : allocator_holder<allocator_type>(alloc), 
   50|  16.3k|              data_(value_allocator_type(alloc))
   51|  16.3k|        {
   52|  16.3k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  3.51k|        {
  218|  3.51k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  3.51k|            return data_.back();
  220|  3.51k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  53.8k|        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|  11.5M|        {
  179|  11.5M|            data_.emplace_back(std::forward<T>(value));
  180|  11.5M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|   234k|        json_array() = default;

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  4.36k|        : alloc_(alloc),
   75|  4.36k|          result_(),
   76|  4.36k|          name_(alloc),
   77|  4.36k|          item_stack_(alloc),
   78|  4.36k|          structure_stack_(temp_alloc)
   79|  4.36k|    {
   80|       |        //item_stack_.reserve(1000);
   81|       |        //structure_stack_.reserve(100);
   82|  4.36k|        structure_stack_.emplace_back(json_structure_kind::root_kind, 0);
   83|  4.36k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14json_structureC2ENS7_19json_structure_kindEm:
   51|  8.92M|            : structure_kind(type), structure_index(offset)
   52|  8.92M|        {
   53|  8.92M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  186|   206k|    {
  187|   206k|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   49|   206k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 206k]
  |  |  ------------------
  |  |   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|   206k|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::array_kind);
  ------------------
  |  |   49|   206k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 206k]
  |  |  ------------------
  |  |   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|   206k|        const size_t structure_index = structure_stack_.back().structure_index;
  190|   206k|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   49|   206k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 206k]
  |  |  ------------------
  |  |   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|   206k|        auto& structure = structure_stack_[structure_stack_.size()-2];
  193|   206k|        auto& arr = item_stack_[structure_index].value;
  194|   206k|        const size_t size = item_stack_.size() - (structure_index + 1);
  195|       |
  196|   206k|        if (size > 0)
  ------------------
  |  Branch (196:13): [True: 53.8k, False: 152k]
  ------------------
  197|  53.8k|        {
  198|  53.8k|            arr.reserve(size);
  199|  53.8k|            auto first = item_stack_.begin() + (structure_index+1);
  200|  53.8k|            auto last = first + size;
  201|  11.6M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (201:35): [True: 11.5M, False: 53.8k]
  ------------------
  202|  11.5M|            {
  203|  11.5M|                arr.push_back(std::move((*it).value));
  204|  11.5M|            }
  205|  53.8k|            item_stack_.erase(first, item_stack_.end());
  206|  53.8k|        }
  207|       |
  208|   206k|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (208:13): [True: 147, False: 206k]
  ------------------
  209|    147|        {
  210|    147|            result_ = std::move(item_stack_.front().value);
  211|    147|            item_stack_.pop_back();
  212|    147|            is_valid_ = true;
  213|    147|        }
  214|       |
  215|   206k|        structure_stack_.pop_back();
  216|   206k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   206k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|   206k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  311|  6.80M|    {
  312|  6.80M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (312:17): [True: 6.80M, False: 0]
  ------------------
  313|  6.80M|        {
  314|  2.89M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (314:13): [True: 2.89M, False: 3.91M]
  ------------------
  315|  2.89M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  316|  2.89M|                break;
  317|  3.91M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (317:13): [True: 3.91M, False: 2.89M]
  ------------------
  318|  3.91M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  319|  3.91M|                break;
  320|      2|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (320:13): [True: 2, False: 6.80M]
  ------------------
  321|      2|                result_ = Json(value,tag);
  322|      2|                is_valid_ = true;
  323|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  324|  6.80M|        }
  325|  6.80M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.80M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  6.80M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  290|  3.59M|    {
  291|  3.59M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (291:17): [True: 3.59M, False: 0]
  ------------------
  292|  3.59M|        {
  293|   744k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (293:13): [True: 744k, False: 2.85M]
  ------------------
  294|   744k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  295|   744k|                break;
  296|  2.85M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (296:13): [True: 2.85M, False: 744k]
  ------------------
  297|  2.85M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  298|  2.85M|                break;
  299|      1|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (299:13): [True: 1, False: 3.59M]
  ------------------
  300|      1|                result_ = Json(value,tag);
  301|      1|                is_valid_ = true;
  302|      1|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      1|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  3.59M|        }
  304|  3.59M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.59M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  305|  3.59M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  353|  3.40M|    {
  354|  3.40M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (354:17): [True: 3.40M, False: 0]
  ------------------
  355|  3.40M|        {
  356|  2.27k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (356:13): [True: 2.27k, False: 3.40M]
  ------------------
  357|  2.27k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  358|  2.27k|                break;
  359|  3.40M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (359:13): [True: 3.40M, False: 2.27k]
  ------------------
  360|  3.40M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  361|  3.40M|                break;
  362|      1|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (362:13): [True: 1, False: 3.40M]
  ------------------
  363|      1|                result_ = Json(value, tag);
  364|      1|                is_valid_ = true;
  365|      1|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      1|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  3.40M|        }
  367|  3.40M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  3.40M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|    985|    {
  123|    985|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  8.69M|    {
  127|  8.69M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (127:13): [True: 2.52M, False: 6.16M]
  ------------------
  128|  2.52M|        {
  129|  2.52M|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  130|  2.52M|            item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  131|  2.52M|        }
  132|  6.16M|        else
  133|  6.16M|        {
  134|  6.16M|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  135|  6.16M|            item_stack_.emplace_back(key_type(alloc_), 0, json_object_arg, tag);
  136|  6.16M|        }
  137|  8.69M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.69M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  138|  8.69M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  141|  8.68M|    {
  142|  8.68M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   49|  8.68M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 8.68M]
  |  |  ------------------
  |  |   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|  8.68M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::object_kind);
  ------------------
  |  |   49|  8.68M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 8.68M]
  |  |  ------------------
  |  |   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|  8.68M|        const size_t structure_index = structure_stack_.back().structure_index;
  145|  8.68M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   49|  8.68M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 8.68M]
  |  |  ------------------
  |  |   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|  8.68M|        const size_t size = item_stack_.size() - (structure_index + 1);
  148|  8.68M|        auto first = item_stack_.begin() + (structure_index+1);
  149|  8.68M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  150|  8.68M|        auto& obj = item_stack_[structure_index].value;
  151|       |
  152|  8.68M|        if (size > 0)
  ------------------
  |  Branch (152:13): [True: 23.4k, False: 8.66M]
  ------------------
  153|  23.4k|        {
  154|  23.4k|            obj.template cast<typename Json::object_storage>().value().uninitialized_init(
  155|  23.4k|                &item_stack_[structure_index+1], size);
  156|  23.4k|            item_stack_.erase(first, item_stack_.end());
  157|  23.4k|        }
  158|       |
  159|  8.68M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (159:13): [True: 720, False: 8.68M]
  ------------------
  160|    720|        {
  161|    720|            result_ = std::move(item_stack_.front().value);
  162|    720|            item_stack_.pop_back();
  163|    720|            is_valid_ = true;
  164|    720|        }
  165|       |
  166|  8.68M|        structure_stack_.pop_back();
  167|  8.68M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.68M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  168|  8.68M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  171|   234k|    {
  172|   234k|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (172:13): [True: 77.2k, False: 157k]
  ------------------
  173|  77.2k|        {
  174|  77.2k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  175|  77.2k|            item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  176|  77.2k|        }
  177|   157k|        else
  178|   157k|        {
  179|   157k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  180|   157k|            item_stack_.emplace_back(key_type(alloc_), 0, json_array_arg, tag);
  181|   157k|        }
  182|   234k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   234k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  183|   234k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  220|  8.19M|    {
  221|  8.19M|        name_ = key_type(name.data(),name.length(),alloc_);
  222|  8.19M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.19M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  223|  8.19M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  389|   637k|    {
  390|   637k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (390:17): [True: 637k, False: 0]
  ------------------
  391|   637k|        {
  392|  26.6k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (392:13): [True: 26.6k, False: 611k]
  ------------------
  393|  26.6k|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  394|  26.6k|                break;
  395|   611k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (395:13): [True: 611k, False: 26.6k]
  ------------------
  396|   611k|                item_stack_.emplace_back(key_type(alloc_), 0, null_type(), tag);
  397|   611k|                break;
  398|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (398:13): [True: 0, False: 637k]
  ------------------
  399|      0|                result_ = Json(null_type(), tag);
  400|      0|                is_valid_ = true;
  401|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  402|   637k|        }
  403|   637k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   637k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  404|   637k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  371|  2.37M|    {
  372|  2.37M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (372:17): [True: 2.37M, False: 0]
  ------------------
  373|  2.37M|        {
  374|  99.2k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (374:13): [True: 99.2k, False: 2.27M]
  ------------------
  375|  99.2k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  376|  99.2k|                break;
  377|  2.27M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (377:13): [True: 2.27M, False: 99.2k]
  ------------------
  378|  2.27M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  379|  2.27M|                break;
  380|      1|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (380:13): [True: 1, False: 2.37M]
  ------------------
  381|      1|                result_ = Json(value, tag);
  382|      1|                is_valid_ = true;
  383|      1|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      1|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  384|  2.37M|        }
  385|  2.37M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.37M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  2.37M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  226|  1.83M|    {
  227|  1.83M|        auto& structure = structure_stack_.back();
  228|  1.83M|        switch (structure.structure_kind)
  ------------------
  |  Branch (228:17): [True: 1.83M, False: 0]
  ------------------
  229|  1.83M|        {
  230|   512k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (230:13): [True: 512k, False: 1.31M]
  ------------------
  231|   512k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  232|   512k|                break;
  233|  1.31M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (233:13): [True: 1.31M, False: 512k]
  ------------------
  234|  1.31M|                item_stack_.emplace_back(key_type(alloc_), 0, sv, tag);
  235|  1.31M|                break;
  236|    114|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (236:13): [True: 114, False: 1.83M]
  ------------------
  237|    114|                result_ = Json(sv, tag, alloc_);
  238|    114|                is_valid_ = true;
  239|    114|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|    114|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  240|  1.83M|        }
  241|  1.83M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.83M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  242|  1.83M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  248|  4.85M|    {
  249|  4.85M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (249:17): [True: 4.85M, False: 0]
  ------------------
  250|  4.85M|        {
  251|  1.31M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (251:13): [True: 1.31M, False: 3.54M]
  ------------------
  252|  1.31M|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, tag);
  253|  1.31M|                break;
  254|  3.54M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (254:13): [True: 3.54M, False: 1.31M]
  ------------------
  255|  3.54M|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, tag);
  256|  3.54M|                break;
  257|      4|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (257:13): [True: 4, False: 4.85M]
  ------------------
  258|      4|                result_ = Json(byte_string_arg, b, tag, alloc_);
  259|      4|                is_valid_ = true;
  260|      4|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      4|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  261|  4.85M|        }
  262|  4.85M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.85M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  263|  4.85M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  269|  8.26k|    {
  270|  8.26k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (270:17): [True: 8.26k, False: 0]
  ------------------
  271|  8.26k|        {
  272|  3.90k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (272:13): [True: 3.90k, False: 4.36k]
  ------------------
  273|  3.90k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, raw_tag);
  274|  3.90k|                break;
  275|  4.36k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (275:13): [True: 4.36k, False: 3.90k]
  ------------------
  276|  4.36k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, raw_tag);
  277|  4.36k|                break;
  278|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (278:13): [True: 0, False: 8.26k]
  ------------------
  279|      0|                result_ = Json(byte_string_arg, b, raw_tag, alloc_);
  280|      0|                is_valid_ = true;
  281|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  282|  8.26k|        }
  283|  8.26k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.26k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|  8.26k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_halfEtNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  332|  11.7k|    {
  333|  11.7k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (333:17): [True: 11.7k, False: 0]
  ------------------
  334|  11.7k|        {
  335|  4.36k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (335:13): [True: 4.36k, False: 7.41k]
  ------------------
  336|  4.36k|                item_stack_.emplace_back(std::move(name_), index_++, half_arg, value, tag);
  337|  4.36k|                break;
  338|  7.41k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (338:13): [True: 7.41k, False: 4.36k]
  ------------------
  339|  7.41k|                item_stack_.emplace_back(key_type(alloc_), 0, half_arg, value, tag);
  340|  7.41k|                break;
  341|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (341:13): [True: 0, False: 11.7k]
  ------------------
  342|      0|                result_ = Json(half_arg, value, tag);
  343|      0|                is_valid_ = true;
  344|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  345|  11.7k|        }
  346|  11.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  347|  11.7k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|    985|    {
  109|    985|        return is_valid_;
  110|    985|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|    985|    {
  114|    985|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   49|    985|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 985]
  |  |  ------------------
  |  |   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|    985|        is_valid_ = false;
  116|    985|        return std::move(result_);
  117|    985|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  4.36k|{
 1065|  4.36k|    return json_visitor_adaptor<From, To>(to);
 1066|  4.36k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  4.36k|        : supertype(visitor)
  984|  4.36k|    {
  985|  4.36k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  4.36k|        : destination1_(std::addressof(visitor))
  722|  4.36k|    {
  723|  4.36k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  777|   224k|    {
  778|   224k|        destination1_->begin_array(length, tag, context, ec);
  779|   224k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   224k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|   224k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|   206k|    {
  784|   206k|        destination1_->end_array(context, ec);
  785|   206k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   206k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|   206k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  6.80M|    {
  826|  6.80M|        destination1_->uint64_value(value, tag, context, ec);
  827|  6.80M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.80M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  6.80M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  3.59M|    {
  820|  3.59M|        destination1_->int64_value(value, tag, context, ec);
  821|  3.59M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.59M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  3.59M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  3.40M|    {
  814|  3.40M|        destination1_->double_value(value, tag, context, ec);
  815|  3.40M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  3.40M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|    985|    {
  739|    985|        destination1_->flush();
  740|    985|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  745|  5.54k|    {
  746|  5.54k|        destination1_->begin_object(tag, context, ec);
  747|  5.54k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.54k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  748|  5.54k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|  8.68M|    {
  755|  8.68M|        destination1_->begin_object(length, tag, context, ec);
  756|  8.68M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.68M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  8.68M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  8.68M|    {
  761|  8.68M|        destination1_->end_object(context, ec);
  762|  8.68M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.68M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  8.68M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  768|  10.5k|    {
  769|  10.5k|        destination1_->begin_array(tag, context, ec);
  770|  10.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  10.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  771|  10.5k|    }
_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|  8.19M|    {
  996|  8.19M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  8.19M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  10.0M|    {
  733|  10.0M|        return *destination1_;
  734|  10.0M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|   637k|    {
  838|   637k|        destination1_->null_value(tag, context, ec);
  839|   637k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   637k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|   637k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  2.37M|    {
  832|  2.37M|        destination1_->bool_value(value, tag, context, ec);
  833|  2.37M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.37M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  2.37M|    }
_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|  1.83M|    {
 1004|  1.83M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  1.83M|    }
_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|  4.85M|    {
  793|  4.85M|        destination1_->byte_string_value(b, tag, context, ec);
  794|  4.85M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.85M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  795|  4.85M|    }
_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|  8.26k|    {
  802|  8.26k|        destination1_->byte_string_value(b, raw_tag, context, ec);
  803|  8.26k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.26k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|  8.26k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_halfEtNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  807|  11.7k|    {
  808|  11.7k|        destination1_->half_value(value, tag, context, ec);
  809|  11.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  810|  11.7k|    }

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  13.1k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  17.4k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|   224k|        {
  561|   224k|            visit_begin_array(tag, context, ec);
  562|   224k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   224k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|   224k|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  8.68M|        {
  545|  8.68M|            visit_begin_object(tag, context, ec);
  546|  8.68M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.68M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  8.68M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|   448k|        {
  346|   448k|            visit_begin_array(length, tag, context, ec);
  347|   448k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   448k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|   448k|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  13.6M|        {
  415|  13.6M|            visit_uint64(value, tag, context, ec);
  416|  13.6M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  13.6M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  13.6M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|   412k|        {
  352|   412k|            visit_end_array(context, ec);
  353|   412k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   412k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|   412k|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  7.19M|        {
  424|  7.19M|            visit_int64(value, tag, context, ec);
  425|  7.19M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  7.19M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  7.19M|        }
_ZN8jsoncons18basic_json_visitorIcE10half_valueEtNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  432|  23.5k|        {
  433|  23.5k|            visit_half(value, tag, context, ec);
  434|  23.5k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  23.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  435|  23.5k|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  6.81M|        {
  442|  6.81M|            visit_double(value, tag, context, ec);
  443|  6.81M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  6.81M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  6.81M|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|  1.97k|        {
  109|  1.97k|            visit_flush();
  110|  1.97k|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  318|  11.0k|        {
  319|  11.0k|            visit_begin_object(tag, context, ec);
  320|  11.0k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  321|  11.0k|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  17.3M|        {
  328|  17.3M|            visit_begin_object(length, tag, context, ec);
  329|  17.3M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  17.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  17.3M|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  17.3M|        {
  334|  17.3M|            visit_end_object(context, ec);
  335|  17.3M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  17.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  17.3M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  339|  21.0k|        {
  340|  21.0k|            visit_begin_array(tag, context, ec);
  341|  21.0k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  21.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  342|  21.0k|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  16.3M|        {
  358|  16.3M|            visit_key(name, context, ec);
  359|  16.3M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  16.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  16.3M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  1.27M|        {
  366|  1.27M|            visit_null(tag, context, ec);
  367|  1.27M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.27M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  1.27M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  4.74M|        {
  375|  4.74M|            visit_bool(value, tag, context, ec);
  376|  4.74M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.74M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  4.74M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  3.66M|        {
  384|  3.66M|            visit_string(value, tag, context, ec);
  385|  3.66M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.66M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  3.66M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  394|  9.71M|        {
  395|  9.71M|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  396|  9.71M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  9.71M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  397|  9.71M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|  16.5k|        {
  406|  16.5k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|  16.5k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  16.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|  16.5k|        }
_ZN8jsoncons26basic_default_json_visitorIcEC2Ev:
  811|  4.36k|        basic_default_json_visitor() = default;

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|   125k|    {
  121|   125k|        return value_;
  122|   125k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  24.5M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  6.80M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  6.80M|    {
   45|  6.80M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  49.0M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  3.59M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.59M|    {
   45|  3.59M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  3.40M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.40M|    {
   45|  3.40M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  8.69M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  8.69M|    {
   45|  8.69M|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|  81.6k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|  81.6k|    {
   88|  81.6k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   234k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   234k|    {
   45|   234k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   637k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   637k|    {
   45|   637k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.37M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.37M|    {
   45|  2.37M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  1.83M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.83M|    {
   45|  1.83M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.85M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.85M|    {
   45|  4.85M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  8.26k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  8.26k|    {
   45|  8.26k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_10half_arg_tERtRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  11.7k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  11.7k|    {
   45|  11.7k|    }

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

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  11.7k|        {
  159|  11.7k|            return data_.empty();
  160|  11.7k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  4.40M|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  4.40M|        {
  169|  4.40M|            return data_.begin();
  170|  4.40M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  4.40M|        {
  174|  4.40M|            return data_.end();
  175|  4.40M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  8.69M|        {
  154|  8.69M|            flatten_and_destroy();
  155|  8.69M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|  8.69M|        {
  725|  8.69M|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 16.3k, False: 8.67M]
  ------------------
  726|  16.3k|            {
  727|  16.3k|                json_array<Json> temp(get_allocator());
  728|       |
  729|  16.3k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 62.1k, False: 16.3k]
  ------------------
  730|  62.1k|                {
  731|  62.1k|                    switch (kv.value().storage_kind())
  732|  62.1k|                    {
  733|  5.62k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 5.62k, False: 56.5k]
  ------------------
  734|  9.66k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 4.04k, False: 58.1k]
  ------------------
  735|  9.66k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 3.51k, False: 6.14k]
  ------------------
  736|  3.51k|                            {
  737|  3.51k|                                temp.emplace_back(std::move(kv.value()));
  738|  3.51k|                            }
  739|  9.66k|                            break;
  740|  52.5k|                        default:
  ------------------
  |  Branch (740:25): [True: 52.5k, False: 9.66k]
  ------------------
  741|  52.5k|                            break;
  742|  62.1k|                    }
  743|  62.1k|                }
  744|  16.3k|            }
  745|  8.69M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  8.69M|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  23.4k|        {
  278|  23.4k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 23.4k, False: 0]
  ------------------
  279|  23.4k|            {
  280|  23.4k|                data_.reserve(count);
  281|       |
  282|  23.4k|                std::sort(items, items+count, compare);
  283|  23.4k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  4.58M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 4.56M, False: 23.4k]
  ------------------
  286|  4.56M|                {
  287|  4.56M|                    auto& item = items[i];
  288|  4.56M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 58.1k, False: 4.50M]
  ------------------
  289|  58.1k|                    {
  290|  58.1k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|  58.1k|                    }
  292|  4.56M|                }
  293|  23.4k|            }
  294|  23.4k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|   103M|        {
  269|   103M|            int comp = item1.name.compare(item2.name); 
  270|   103M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 2.19M, False: 101M]
  ------------------
  271|   101M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 99.0M, False: 2.43M]
  ------------------
  272|       |
  273|  2.43M|            return false;
  274|   101M|        }

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  176|  4.36k|        : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  177|  4.36k|          chunk_size_(default_max_chunk_size)
  178|  4.36k|    {
  179|  4.36k|        chunk_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, chunk_size_);
  180|  4.36k|        data_ = chunk_;
  181|  4.36k|    }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   57|  4.36k|      : std::basic_istream<CharT>(&nb_)
   58|  4.36k|    {
   59|  4.36k|    }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   43|  4.36k|        null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  193|  4.36k|    {
  194|  4.36k|        if (chunk_)
  ------------------
  |  Branch (194:13): [True: 4.36k, False: 0]
  ------------------
  195|  4.36k|        {
  196|  4.36k|            std::allocator_traits<char_allocator_type>::deallocate(alloc_, chunk_, chunk_size_);
  197|  4.36k|        }
  198|  4.36k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|  3.38k|    {
  282|  3.38k|        return position_;
  283|  3.38k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  372|  53.3M|    {
  373|  53.3M|        std::size_t len = 0;
  374|  53.3M|        if (count_ > 0)
  ------------------
  |  Branch (374:13): [True: 53.3M, False: 384]
  ------------------
  375|  53.3M|        {
  376|  53.3M|            len = (std::min)(count_, length);
  377|  53.3M|            std::memcpy(p, data_, len*sizeof(value_type));
  378|  53.3M|            data_ += len;
  379|  53.3M|            count_ -= len;
  380|  53.3M|            position_ += len;
  381|  53.3M|        }
  382|  53.3M|        if (length - len == 0)
  ------------------
  |  Branch (382:13): [True: 53.3M, False: 2.66k]
  ------------------
  383|  53.3M|        {
  384|  53.3M|            return len;
  385|  53.3M|        }
  386|  2.66k|        else if (length - len < chunk_size_)
  ------------------
  |  Branch (386:18): [True: 2.66k, False: 0]
  ------------------
  387|  2.66k|        {
  388|  2.66k|            data_ = chunk_;
  389|  2.66k|            count_ = fill_buffer(chunk_, chunk_size_);
  390|  2.66k|            if (count_ > 0)
  ------------------
  |  Branch (390:17): [True: 1.89k, False: 767]
  ------------------
  391|  1.89k|            {
  392|  1.89k|                std::size_t len2 = (std::min)(count_, length-len);
  393|  1.89k|                std::memcpy(p+len, data_, len2*sizeof(value_type));
  394|  1.89k|                data_ += len2;
  395|  1.89k|                count_ -= len2;
  396|  1.89k|                position_ += len2;
  397|  1.89k|                len += len2;
  398|  1.89k|            }
  399|  2.66k|            return len;
  400|  2.66k|        }
  401|      0|        else
  402|      0|        {
  403|      0|            if (stream_ptr_->eof())
  ------------------
  |  Branch (403:17): [True: 0, False: 0]
  ------------------
  404|      0|            {
  405|      0|                count_ = 0;
  406|      0|                return 0;
  407|      0|            }
  408|      0|            JSONCONS_TRY
  ------------------
  |  |   37|      0|    #define JSONCONS_TRY try
  ------------------
  409|      0|            {
  410|      0|                std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(p+len), length-len);
  411|      0|                std::size_t len2 = static_cast<std::size_t>(count);
  412|      0|                if (len2 < length-len)
  ------------------
  |  Branch (412:21): [True: 0, False: 0]
  ------------------
  413|      0|                {
  414|      0|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  415|      0|                }
  416|      0|                len += len2;
  417|      0|                position_ += len2;
  418|      0|                return len;
  419|      0|            }
  420|      0|            JSONCONS_CATCH(const std::exception&)     
  421|      0|            {
  422|      0|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  423|      0|                return 0;
  424|      0|            }
  425|      0|        }
  426|  53.3M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  430|  13.1k|    {
  431|  13.1k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (431:13): [True: 2.77k, False: 10.3k]
  ------------------
  432|  2.77k|        {
  433|  2.77k|            return 0;
  434|  2.77k|        }
  435|       |
  436|  10.3k|        JSONCONS_TRY
  ------------------
  |  |   37|  10.3k|    #define JSONCONS_TRY try
  ------------------
  437|  10.3k|        {
  438|  10.3k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  439|  10.3k|            std::size_t length = static_cast<std::size_t>(count);
  440|       |
  441|  10.3k|            if (length < chunk_size)
  ------------------
  |  Branch (441:17): [True: 4.32k, False: 6.01k]
  ------------------
  442|  4.32k|            {
  443|  4.32k|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  444|  4.32k|            }
  445|  10.3k|            return length;
  446|  10.3k|        }
  447|  10.3k|        JSONCONS_CATCH(const std::exception&)     
  448|  10.3k|        {
  449|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  450|      0|            return 0;
  451|      0|        }
  452|  10.3k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSD_m:
  996|   324k|    {
  997|   324k|        std::size_t unread = length;
  998|       |
  999|   566k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (999:16): [True: 242k, False: 323k]
  |  Branch (999:30): [True: 241k, False: 417]
  ------------------
 1000|   241k|        {
 1001|   241k|            if (source.count() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (1001:17): [True: 359, False: 241k]
  |  Branch (1001:40): [True: 197, False: 162]
  ------------------
 1002|    197|            {
 1003|    197|                std::size_t n = source.chunk_size();
 1004|    197|                std::size_t offset = buffer.size();
 1005|    197|                buffer.resize(buffer.size()+n);
 1006|    197|                std::size_t actual = source.fill_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
 1007|    197|                unread -= actual;
 1008|    197|            }
 1009|   241k|            else
 1010|   241k|            {
 1011|   241k|                std::size_t n = (std::min)(source.chunk_size(), unread);
 1012|   241k|                std::size_t offset = buffer.size();
 1013|   241k|                buffer.resize(buffer.size()+n);
 1014|   241k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
 1015|   241k|                unread -= actual;
 1016|   241k|            }
 1017|   241k|        }
 1018|   324k|        return length - unread;
 1019|   324k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|   245k|    {
  272|   245k|        return count_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 1.09k, False: 244k]
  |  Branch (272:31): [True: 603, False: 496]
  ------------------
  273|   245k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE5countEv:
  346|   244k|    {
  347|   244k|        return count_;
  348|   244k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|   245k|    {
  262|   245k|        return chunk_size_;
  263|   245k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_6vectorIhS3_EEEENS_6detail4spanIKhLm18446744073709551615EEEmOT_:
  352|  13.0M|    {
  353|  13.0M|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   78|  13.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 10.3M, False: 2.78M]
  |  |  ------------------
  ------------------
  354|  10.3M|        {
  355|  10.3M|            return span<const value_type>{};
  356|  10.3M|        }
  357|  2.78M|        if (length > count_)
  ------------------
  |  Branch (357:13): [True: 1.28k, False: 2.78M]
  ------------------
  358|  1.28k|        {
  359|  1.28k|            buffer.clear();
  360|  1.28k|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  361|  1.28k|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  362|  1.28k|        }
  363|       |
  364|  2.78M|        const value_type* data = data_;
  365|  2.78M|        data_ += length;
  366|  2.78M|        count_ -= length;
  367|  2.78M|        position_ += length;
  368|  2.78M|        return span<const value_type>(data, length);
  369|  2.78M|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_12basic_stringIcNS2_11char_traitsIcEENS3_IcEEEEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSG_m:
  996|   310k|    {
  997|   310k|        std::size_t unread = length;
  998|       |
  999|   312k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (999:16): [True: 2.98k, False: 309k]
  |  Branch (999:30): [True: 2.80k, False: 186]
  ------------------
 1000|  2.80k|        {
 1001|  2.80k|            if (source.count() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (1001:17): [True: 137, False: 2.66k]
  |  Branch (1001:40): [True: 124, False: 13]
  ------------------
 1002|    124|            {
 1003|    124|                std::size_t n = source.chunk_size();
 1004|    124|                std::size_t offset = buffer.size();
 1005|    124|                buffer.resize(buffer.size()+n);
 1006|    124|                std::size_t actual = source.fill_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
 1007|    124|                unread -= actual;
 1008|    124|            }
 1009|  2.67k|            else
 1010|  2.67k|            {
 1011|  2.67k|                std::size_t n = (std::min)(source.chunk_size(), unread);
 1012|  2.67k|                std::size_t offset = buffer.size();
 1013|  2.67k|                buffer.resize(buffer.size()+n);
 1014|  2.67k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
 1015|  2.67k|                unread -= actual;
 1016|  2.67k|            }
 1017|  2.80k|        }
 1018|   310k|        return length - unread;
 1019|   310k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_12basic_stringIcNS1_11char_traitsIcEENS2_IcEEEEEENS_6detail4spanIKhLm18446744073709551615EEEmOT_:
  352|  2.34M|    {
  353|  2.34M|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   78|  2.34M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2.21M, False: 130k]
  |  |  ------------------
  ------------------
  354|  2.21M|        {
  355|  2.21M|            return span<const value_type>{};
  356|  2.21M|        }
  357|   130k|        if (length > count_)
  ------------------
  |  Branch (357:13): [True: 217, False: 130k]
  ------------------
  358|    217|        {
  359|    217|            buffer.clear();
  360|    217|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  361|    217|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  362|    217|        }
  363|       |
  364|   130k|        const value_type* data = data_;
  365|   130k|        data_ += length;
  366|   130k|        count_ -= length;
  367|   130k|        position_ += length;
  368|   130k|        return span<const value_type>(data, length);
  369|   130k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4peekEv:
  312|   177M|    {
  313|   177M|        if (count_ == 0)
  ------------------
  |  Branch (313:13): [True: 10.1k, False: 177M]
  ------------------
  314|  10.1k|        {
  315|  10.1k|            data_ = chunk_;
  316|  10.1k|            count_ = fill_buffer(chunk_, chunk_size_);
  317|  10.1k|        }
  318|   177M|        if (count_ > 0)
  ------------------
  |  Branch (318:13): [True: 177M, False: 2.05k]
  ------------------
  319|   177M|        {
  320|   177M|            value_type c = *data_;
  321|   177M|            return char_result<value_type>{c, false};
  322|   177M|        }
  323|  2.05k|        else
  324|  2.05k|        {
  325|  2.05k|            return char_result<value_type>{0, true};
  326|  2.05k|        }
  327|   177M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE6ignoreEm:
  286|  13.0M|    {
  287|  13.0M|        std::size_t len = 0;
  288|  13.0M|        if (count_ > 0)
  ------------------
  |  Branch (288:13): [True: 13.0M, False: 0]
  ------------------
  289|  13.0M|        {
  290|  13.0M|            len = (std::min)(count_, length);
  291|  13.0M|            position_ += len;
  292|  13.0M|            data_ += len;
  293|  13.0M|            count_ -= len;
  294|  13.0M|        }
  295|  13.0M|        while (len < length)
  ------------------
  |  Branch (295:16): [True: 0, False: 13.0M]
  ------------------
  296|      0|        {
  297|      0|            data_ = chunk_;
  298|      0|            count_ = fill_buffer(chunk_, chunk_size_);
  299|      0|            if (count_ == 0)
  ------------------
  |  Branch (299:17): [True: 0, False: 0]
  ------------------
  300|      0|            {
  301|      0|                break;
  302|      0|            }
  303|      0|            std::size_t len2 = (std::min)(count_, length-len);
  304|      0|            position_ += len2;
  305|      0|            data_ += len2;
  306|      0|            count_ -= len2;
  307|      0|            len += len2;
  308|      0|        }
  309|  13.0M|    }

_ZN8jsoncons16typed_array_castIKhEENS_6detail4spanIT_Lm18446744073709551615EEENS3_IhLm18446744073709551615EEE:
  141|  6.28k|{
  142|  6.28k|    return jsoncons::span<const uint8_t>{reinterpret_cast<const uint8_t*>(bytes.data()), bytes.size()};
  143|  6.28k|}
_ZN8jsoncons16typed_array_castIhEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   81|  6.28k|{
   82|  6.28k|    return bytes;
   83|  6.28k|}
_ZN8jsoncons16typed_array_castItEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   87|  84.0k|{
   88|  84.0k|    return jsoncons::span<uint16_t>{reinterpret_cast<uint16_t*>(bytes.data()), bytes.size()/sizeof(uint16_t)};
   89|  84.0k|}
_ZN8jsoncons16typed_array_castIjEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   93|  12.3k|{
   94|  12.3k|    return jsoncons::span<uint32_t>{reinterpret_cast<uint32_t*>(bytes.data()), bytes.size()/sizeof(uint32_t)};
   95|  12.3k|}
_ZN8jsoncons16typed_array_castImEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   99|  28.2k|{
  100|  28.2k|    return jsoncons::span<uint64_t>{reinterpret_cast<uint64_t*>(bytes.data()), bytes.size()/sizeof(uint64_t)};
  101|  28.2k|}
_ZN8jsoncons16typed_array_castIaEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  105|  8.64k|{
  106|  8.64k|    return jsoncons::span<int8_t>{reinterpret_cast<int8_t*>(bytes.data()), bytes.size()};
  107|  8.64k|}
_ZN8jsoncons16typed_array_castIsEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  111|  24.4k|{
  112|  24.4k|    return jsoncons::span<int16_t>{reinterpret_cast<int16_t*>(bytes.data()), bytes.size()/sizeof(int16_t)};
  113|  24.4k|}
_ZN8jsoncons16typed_array_castIiEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  117|  7.88k|{
  118|  7.88k|    return jsoncons::span<int32_t>{reinterpret_cast<int32_t*>(bytes.data()), bytes.size()/sizeof(int32_t)};
  119|  7.88k|}
_ZN8jsoncons16typed_array_castIlEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  123|  11.1k|{
  124|  11.1k|    return jsoncons::span<int64_t>{reinterpret_cast<int64_t*>(bytes.data()), bytes.size()/sizeof(int64_t)};
  125|  11.1k|}
_ZN8jsoncons16typed_array_castIfEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  129|  23.9k|{
  130|  23.9k|    return jsoncons::span<float>{reinterpret_cast<float*>(bytes.data()), bytes.size()/sizeof(float)};
  131|  23.9k|}
_ZN8jsoncons16typed_array_castIdEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  135|  13.7k|{
  136|  13.7k|    return jsoncons::span<double>{reinterpret_cast<double*>(bytes.data()), bytes.size()/sizeof(double)};
  137|  13.7k|}
_ZN8jsoncons22calculate_mdarray_sizeENS_6detail4spanIKmLm18446744073709551615EEE:
  247|  9.36k|{
  248|  9.36k|    using result_type = jsoncons::expected<std::size_t,std::errc>;
  249|       |
  250|  9.36k|    if (extents.empty())
  ------------------
  |  Branch (250:9): [True: 1, False: 9.36k]
  ------------------
  251|      1|    {
  252|      1|        return result_type(0);
  253|      1|    }
  254|  9.36k|    std::size_t n = extents[0];
  255|  27.3k|    for (std::size_t i = 1; i < extents.size(); ++i)
  ------------------
  |  Branch (255:29): [True: 18.0k, False: 9.32k]
  ------------------
  256|  18.0k|    {
  257|  18.0k|        if (extents[i] == 0 || JSONCONS_UNLIKELY(n > (std::numeric_limits<std::size_t>::max)()/extents[i]))
  ------------------
  |  |   78|  18.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 16, False: 18.0k]
  |  |  ------------------
  ------------------
  |  Branch (257:13): [True: 17, False: 18.0k]
  ------------------
  258|     33|        {
  259|     33|            return result_type(jsoncons::unexpect, std::errc::value_too_large);
  260|     33|        }
  261|  18.0k|        n *= extents[i];
  262|  18.0k|    }
  263|  9.32k|    return n;
  264|  9.36k|}

_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE13from_bytes_beEiPKhm:
  792|   182k|    {
  793|   182k|        static const double radix_log2 = std::log2(next_power_of_two(256));
  794|       |        // Estimate how big the result will be, so we can pre-allocate it.
  795|   182k|        double bits = radix_log2 * n;
  796|   182k|        double big_digits = std::ceil(bits / 64.0);
  797|       |        //std::cout << "ESTIMATED: " << big_digits << "\n";
  798|       |
  799|   182k|        basic_bigint<Allocator> v = 0;
  800|   182k|        v.reserve(static_cast<size_type>(big_digits));
  801|       |
  802|  3.00M|        for (size_type i = 0; i < n; i++)
  ------------------
  |  Branch (802:31): [True: 2.82M, False: 182k]
  ------------------
  803|  2.82M|        {
  804|  2.82M|            v *= 256;
  805|  2.82M|            v += (word_type)(bytes[i]);
  806|  2.82M|        }
  807|       |        //std::cout << "ACTUAL: " << v.size() << "\n";
  808|       |
  809|   182k|        if (signum < 0)
  ------------------
  |  Branch (809:13): [True: 0, False: 182k]
  ------------------
  810|      0|        {
  811|      0|            v.set_negative(true);
  812|      0|        }
  813|       |
  814|   182k|        return v;
  815|   182k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE17next_power_of_twoEm:
 1921|      1|    static word_type next_power_of_two(word_type n) {
 1922|      1|        n = n - 1;
 1923|      1|        n |= n >> 1u;
 1924|      1|        n |= n >> 2u;
 1925|      1|        n |= n >> 4u;
 1926|      1|        n |= n >> 8u;
 1927|      1|        n |= n >> 16u;
 1928|      1|        n |= n >> 32u;
 1929|      1|        return n + 1;
 1930|      1|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE7reserveEm:
  823|   182k|    {
  824|   182k|        storage_.reserve(n);
  825|   182k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  452|  7.01M|    {
  453|  7.01M|       if (capacity() < n)
  ------------------
  |  Branch (453:12): [True: 47.6k, False: 6.96M]
  ------------------
  454|  47.6k|       {
  455|  47.6k|           if (!is_allocated())
  ------------------
  |  Branch (455:16): [True: 47.6k, False: 0]
  ------------------
  456|  47.6k|           {
  457|  47.6k|               size_type size = inlined_.size_;
  458|  47.6k|               size_type is_neg = inlined_.is_negative_;
  459|  47.6k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  460|       |
  461|  47.6k|               ::new (&allocated_) allocated_storage();
  462|  47.6k|               allocated_.reserve(n, get_allocator());
  463|  47.6k|               allocated_.size_ = size;
  464|  47.6k|               allocated_.is_negative_ = is_neg;
  465|  47.6k|               if (n >= 1)
  ------------------
  |  Branch (465:20): [True: 47.6k, False: 0]
  ------------------
  466|  47.6k|               {
  467|  47.6k|                   allocated_.data_[0] = values[0];
  468|  47.6k|               }
  469|  47.6k|               if (n >= 2)
  ------------------
  |  Branch (469:20): [True: 47.6k, False: 0]
  ------------------
  470|  47.6k|               {
  471|  47.6k|                   allocated_.data_[1] = values[1];
  472|  47.6k|               }
  473|  47.6k|           }
  474|      0|           else
  475|      0|           {
  476|      0|               allocated_.reserve(n, get_allocator());
  477|      0|           }
  478|  47.6k|       }
  479|  7.01M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  505|  7.01M|    {
  506|  7.01M|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (506:16): [True: 5.66M, False: 1.35M]
  ------------------
  507|  7.01M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  500|  17.9M|    {
  501|  17.9M|        return common_.is_allocated_;
  502|  17.9M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  203|  47.6k|            : is_allocated_(true),
  204|  47.6k|            is_negative_(false)
  205|  47.6k|        {
  206|  47.6k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  255|  47.6k|        {
  256|  47.6k|            JSONCONS_ASSERT(n < max_size);
  ------------------
  |  |   49|  47.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 47.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|  47.6k|            size_type capacity_new = round_up(n);
  258|       |
  259|  47.6k|            real_allocator_type alloc(a);
  260|  47.6k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  261|  47.6k|            if (size_ > 0)
  ------------------
  |  Branch (261:17): [True: 0, False: 47.6k]
  ------------------
  262|      0|            {
  263|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  264|      0|            }
  265|  47.6k|            if (data_ != nullptr)
  ------------------
  |  Branch (265:17): [True: 0, False: 47.6k]
  ------------------
  266|      0|            {
  267|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  268|      0|            }
  269|  47.6k|            capacity_ = capacity_new;
  270|  47.6k|            data_ = data_new;
  271|  47.6k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  275|  47.6k|        {
  276|  47.6k|            size_type remainder = i % mem_unit;
  277|  47.6k|            size_type off = mem_unit - remainder;
  278|  47.6k|            bool testoff = i < max_size - off;
  279|  47.6k|            JSONCONS_ASSERT(testoff);
  ------------------
  |  |   49|  47.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 47.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|  47.6k|            return i + off;
  282|  47.6k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  482|  2.95M|    {
  483|  2.95M|        return static_cast<const word_allocator_type&>(*this);
  484|  2.95M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLIiEENS1_9enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueERS4_E4typeES7_:
  988|  2.82M|    {
  989|  2.82M|        *this *= word_type(y < 0 ? -y : y);
  ------------------
  |  Branch (989:28): [True: 0, False: 2.82M]
  ------------------
  990|  2.82M|        if ( y < 0 )
  ------------------
  |  Branch (990:14): [True: 0, False: 2.82M]
  ------------------
  991|      0|            set_negative(!is_negative());
  992|  2.82M|        return *this;
  993|  2.82M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLImEENS1_9enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueERS4_E4typeES7_:
  998|  2.82M|    {
  999|  2.82M|        auto this_view = get_storage_view();
 1000|  2.82M|        size_type len0 = this_view.size();
 1001|  2.82M|        word_type dig = this_view[0];
 1002|  2.82M|        word_type carry = 0;
 1003|       |
 1004|  2.82M|        resize(this_view.size() + 1);
 1005|  2.82M|        this_view = get_storage_view();
 1006|       |
 1007|  2.82M|        size_type i = 0;
 1008|  2.19G|        for (; i < len0; i++ )
  ------------------
  |  Branch (1008:16): [True: 2.19G, False: 2.82M]
  ------------------
 1009|  2.19G|        {
 1010|  2.19G|            word_type hi;
 1011|  2.19G|            word_type lo;
 1012|  2.19G|            DDproduct( dig, y, hi, lo );
 1013|  2.19G|            this_view[i] = lo + carry;
 1014|  2.19G|            dig = this_view[i+1];
 1015|  2.19G|            carry = hi + (this_view[i] < lo);
 1016|  2.19G|        }
 1017|  2.82M|        this_view[i] = carry;
 1018|  2.82M|        reduce();
 1019|  2.82M|        return *this;
 1020|  2.82M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  718|  16.4M|    {
  719|  16.4M|        return storage_.get_storage_view();
  720|  16.4M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  520|  24.1M|    {
  521|  24.1M|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (521:16): [True: 18.9M, False: 5.21M]
  ------------------
  522|  18.9M|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  523|  24.1M|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  524|  24.1M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   64|  24.1M|            : data_(data), size_(size)
   65|  24.1M|        {
   66|  24.1M|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   84|  22.6M|        {
   85|  22.6M|            return size_;
   86|  22.6M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   69|  7.78G|        {
   70|  7.78G|            return data_[i];
   71|  7.78G|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  818|  6.09M|    {
  819|  6.09M|        storage_.resize(new_length);
  820|  6.09M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  534|  6.83M|    {
  535|  6.83M|        size_type old_length = common_.size_;
  536|  6.83M|        reserve(new_length);
  537|  6.83M|        common_.size_ = new_length;
  538|       |
  539|  6.83M|        if (old_length < new_length)
  ------------------
  |  Branch (539:13): [True: 6.29M, False: 538k]
  ------------------
  540|  6.29M|        {
  541|  6.29M|            if (is_allocated())
  ------------------
  |  Branch (541:17): [True: 5.33M, False: 963k]
  ------------------
  542|  5.33M|            {
  543|  5.33M|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  544|  5.33M|            }
  545|   963k|            else
  546|   963k|            {
  547|   963k|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   49|   963k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 963k]
  |  |  ------------------
  |  |   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|  2.39M|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (548:48): [True: 1.43M, False: 963k]
  ------------------
  549|  1.43M|                {
  550|  1.43M|                    inlined_.values_[i] = 0;
  551|  1.43M|                }
  552|   963k|            }
  553|  6.29M|        }
  554|  6.83M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1781|  2.47G|    {
 1782|  2.47G|        word_type hiA = A >> word_type_half_bits, loA = A & r_mask,
 1783|  2.47G|                   hiB = B >> word_type_half_bits, loB = B & r_mask;
 1784|       |
 1785|  2.47G|        lo = loA * loB;
 1786|  2.47G|        hi = hiA * hiB;
 1787|  2.47G|        word_type mid1 = loA * hiB;
 1788|  2.47G|        word_type mid2 = hiA * loB;
 1789|  2.47G|        word_type old = lo;
 1790|  2.47G|        lo += mid1 << word_type_half_bits;
 1791|  2.47G|            hi += (lo < old) + (mid1 >> word_type_half_bits);
 1792|  2.47G|        old = lo;
 1793|  2.47G|        lo += mid2 << word_type_half_bits;
 1794|  2.47G|            hi += (lo < old) + (mid2 >> word_type_half_bits);
 1795|  2.47G|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 1917|  6.97M|    {
 1918|  6.97M|        storage_.reduce();
 1919|  6.97M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  429|  6.97M|    {
  430|  6.97M|        if (common_.size_ > 0)
  ------------------
  |  Branch (430:13): [True: 6.97M, False: 0]
  ------------------
  431|  6.97M|        {
  432|  6.97M|            auto this_view = get_storage_view();
  433|  6.97M|            word_type* p = this_view.end() - 1;
  434|  6.97M|            word_type* first = this_view.begin();
  435|   290M|            while ( p >= first )
  ------------------
  |  Branch (435:21): [True: 290M, False: 162k]
  ------------------
  436|   290M|            {
  437|   290M|                if ( *p )
  ------------------
  |  Branch (437:22): [True: 6.81M, False: 283M]
  ------------------
  438|  6.81M|                {
  439|  6.81M|                    break;
  440|  6.81M|                }
  441|   283M|                --common_.size_;
  442|   283M|                --p;
  443|   283M|            }
  444|  6.97M|        }
  445|  6.97M|        if (common_.size_ == 0)
  ------------------
  |  Branch (445:13): [True: 162k, False: 6.81M]
  ------------------
  446|   162k|        {
  447|   162k|            common_.is_negative_ = false;
  448|   162k|        }
  449|  6.97M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
   93|  6.97M|        {
   94|  6.97M|            return data_ + size_;
   95|  6.97M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
   88|  6.97M|        {
   89|  6.97M|            return data_;
   90|  6.97M|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  728|  6.27M|    {
  729|  6.27M|        return storage_.is_negative();
  730|  6.27M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  510|  6.27M|    {
  511|  6.27M|        return common_.is_negative_;
  512|  6.27M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLImEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  889|  2.82M|    {
  890|  2.82M|        if ( is_negative())
  ------------------
  |  Branch (890:14): [True: 0, False: 2.82M]
  ------------------
  891|      0|            return *this -= -basic_bigint<Allocator>(y);
  892|       |
  893|  2.82M|        word_type d;
  894|  2.82M|        word_type carry = 0;
  895|       |
  896|  2.82M|        auto this_view = get_storage_view();
  897|  2.82M|        resize(this_view.size() + 1);
  898|       |
  899|  2.82M|        this_view = get_storage_view();
  900|  2.82M|        const size_type this_size = this_view.size();
  901|  2.82M|        size_type y_size = 1;
  902|       |
  903|  2.82M|        d = this_view[0] + carry;
  904|  2.82M|        carry = d < carry;
  905|  2.82M|        this_view[0] = d + y;
  906|  2.82M|        if (this_view[0] < d)
  ------------------
  |  Branch (906:13): [True: 0, False: 2.82M]
  ------------------
  907|      0|            carry = 1;
  908|       |
  909|  2.82M|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (909:36): [True: 2.67M, False: 147k]
  |  Branch (909:53): [True: 0, False: 2.67M]
  ------------------
  910|      0|        {
  911|      0|            d = this_view[i] + carry;
  912|      0|            carry = d < carry;
  913|      0|            this_view[i] = d;
  914|      0|        }
  915|  2.82M|        reduce();
  916|  2.82M|        return *this;
  917|  2.82M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ImEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|   363k|        : storage_(n, alloc)
  694|   363k|    {
  695|   363k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ImEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|   363k|        : word_allocator_type(alloc)
  361|   363k|    {
  362|   363k|        ::new (&inlined_) inlined_storage(n);
  363|   363k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ImEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  138|   363k|            : is_allocated_(false),
  139|   363k|            is_negative_(false),
  140|   363k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 180k, False: 182k]
  ------------------
  141|   363k|        {
  142|   363k|            values_[0] = n;
  143|   363k|            values_[1] = 0;
  144|   363k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  835|  52.9k|    {
  836|  52.9k|        basic_bigint<Allocator> v(*this);
  837|  52.9k|        v.set_negative(!v.is_negative());
  838|  52.9k|        return v;
  839|  52.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  671|   288k|        : storage_(other.storage_)
  672|   288k|    {
  673|   288k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  299|   288k|        : word_allocator_type(other.get_allocator())
  300|   288k|    {
  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|   288k|        if (!other.is_allocated())
  ------------------
  |  Branch (305:13): [True: 244k, False: 43.6k]
  ------------------
  306|   244k|        {
  307|   244k|            ::new (&inlined_) inlined_storage(other.inlined_);
  308|   244k|        }
  309|  43.6k|        else
  310|  43.6k|        {
  311|  43.6k|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  312|  43.6k|        }
  313|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  314|       |# pragma GCC diagnostic pop
  315|       |#endif
  316|   288k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  178|  1.22M|            : is_allocated_(false),
  179|  1.22M|            is_negative_(stor.is_negative_),
  180|  1.22M|            size_(stor.size_)
  181|  1.22M|        {
  182|  1.22M|            values_[0] = stor.values_[0];
  183|  1.22M|            values_[1] = stor.values_[1];
  184|  1.22M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  209|   708k|            : is_allocated_(true),
  210|   708k|              is_negative_(stor.is_negative_),
  211|   708k|              size_(stor.size_),
  212|   708k|              capacity_(stor.capacity_)
  213|   708k|        {
  214|   708k|            real_allocator_type alloc(a);
  215|       |
  216|   708k|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  217|   708k|            JSONCONS_TRY
  ------------------
  |  |   37|   708k|    #define JSONCONS_TRY try
  ------------------
  218|   708k|            {
  219|   708k|                std::allocator_traits<real_allocator_type>::construct(alloc, ext_traits::to_plain_pointer(data_));
  220|   708k|            }
  221|   708k|            JSONCONS_CATCH(...)
  222|   708k|            {
  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|   708k|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   49|   708k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 708k]
  |  |  ------------------
  |  |   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|   708k|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  229|   708k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  954|  52.9k|    {
  955|  52.9k|        auto y_view = y.get_storage_view();
  956|       |
  957|  52.9k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (957:14): [True: 52.9k, False: 0]
  ------------------
  958|  52.9k|            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|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  723|  1.43M|    {
  724|  1.43M|        return storage_.get_storage_view();
  725|  1.43M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  527|  2.16M|    {
  528|  2.16M|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (528:16): [True: 1.03M, False: 1.12M]
  ------------------
  529|  1.03M|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  530|  2.16M|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  531|  2.16M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   64|  2.16M|            : data_(data), size_(size)
   65|  2.16M|        {
   66|  2.16M|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLERKS4_:
  920|  52.9k|    {
  921|  52.9k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (921:14): [True: 0, False: 52.9k]
  ------------------
  922|      0|            return *this -= -y;
  923|       |
  924|  52.9k|        auto y_view = y.get_storage_view();
  925|       |        
  926|  52.9k|        word_type d;
  927|  52.9k|        word_type carry = 0;
  928|       |
  929|  52.9k|        auto this_view = get_storage_view();
  930|  52.9k|        resize( (std::max)(y_view.size(), this_view.size()) + 1 );
  931|  52.9k|        this_view = get_storage_view();
  932|       |
  933|  52.9k|        const size_t this_size = this_view.size();
  934|  52.9k|        const size_t y_size = y_view.size();
  935|   241k|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (935:31): [True: 188k, False: 52.9k]
  ------------------
  936|   188k|        {
  937|   188k|            d = this_view[i] + carry;
  938|   188k|            carry = d < carry;
  939|   188k|            this_view[i] = d + y_view[i];
  940|   188k|            if (this_view[i] < d)
  ------------------
  |  Branch (940:17): [True: 530, False: 188k]
  ------------------
  941|    530|                carry = 1;
  942|   188k|        }
  943|  53.2k|        for (size_type i = y_size; i < this_size && carry != 0; i++ )
  ------------------
  |  Branch (943:36): [True: 52.9k, False: 260]
  |  Branch (943:53): [True: 260, False: 52.7k]
  ------------------
  944|    260|        {
  945|    260|            d = this_view[i] + carry;
  946|    260|            carry = d < carry;
  947|    260|            this_view[i] = d;
  948|    260|        }
  949|  52.9k|        reduce();
  950|  52.9k|        return *this;
  951|  52.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1641|   501k|    {
 1642|   501k|        auto this_view = get_storage_view();
 1643|   501k|        auto y_view = y.get_storage_view();
 1644|       |
 1645|   501k|        const size_type y_size = y_view.size();
 1646|   501k|        if ( this_view.size() == 0 && y_size == 0 )
  ------------------
  |  Branch (1646:14): [True: 0, False: 501k]
  |  Branch (1646:39): [True: 0, False: 0]
  ------------------
 1647|      0|            return 0;
 1648|   501k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1648:14): [True: 0, False: 501k]
  ------------------
 1649|      0|            return y.is_negative() - is_negative();
 1650|   501k|        int code = 0;
 1651|   501k|        if ( this_view.size() < y_size)
  ------------------
  |  Branch (1651:14): [True: 0, False: 501k]
  ------------------
 1652|      0|            code = -1;
 1653|   501k|        else if ( this_view.size() > y_size)
  ------------------
  |  Branch (1653:19): [True: 319k, False: 181k]
  ------------------
 1654|   319k|            code = +1;
 1655|   181k|        else
 1656|   181k|        {
 1657|   181k|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1657:50): [True: 181k, False: 241]
  ------------------
 1658|   181k|            {
 1659|   181k|                if (this_view[i] > y_view[i])
  ------------------
  |  Branch (1659:21): [True: 1.40k, False: 180k]
  ------------------
 1660|  1.40k|                {
 1661|  1.40k|                    code = 1;
 1662|  1.40k|                    break;
 1663|  1.40k|                }
 1664|   180k|                else if (this_view[i] < y_view[i])
  ------------------
  |  Branch (1664:26): [True: 179k, False: 241]
  ------------------
 1665|   179k|                {
 1666|   179k|                    code = -1;
 1667|   179k|                    break;
 1668|   179k|                }
 1669|   181k|            }
 1670|   181k|        }
 1671|   501k|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1671:16): [True: 0, False: 501k]
  ------------------
 1672|   501k|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1476|   501k|    {
 1477|   501k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1477:15): [True: 179k, False: 321k]
  ------------------
 1478|   501k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   84|  4.32M|        {
   85|  4.32M|            return size_;
   86|  4.32M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   69|   912k|        {
   70|   912k|            return data_[i];
   71|   912k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  733|  2.05M|    {
  734|  2.05M|        storage_.set_negative(value);
  735|  2.05M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  515|  2.05M|    {
  516|  2.05M|        common_.is_negative_ = value;
  517|  2.05M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE12write_stringIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1359|  91.4k|    {
 1360|  91.4k|        basic_bigint<Allocator> v(*this);
 1361|  91.4k|        auto v_view = v.get_storage_view();
 1362|       |
 1363|  91.4k|        size_type len = (v_view.size() * word_type_bits / 3) + 2;
 1364|  91.4k|        data.reserve(len);
 1365|       |
 1366|  91.4k|        if ( v_view.size() == 0 )
  ------------------
  |  Branch (1366:14): [True: 1.73k, False: 89.7k]
  ------------------
 1367|  1.73k|        {
 1368|  1.73k|            data.push_back('0');
 1369|  1.73k|        }
 1370|  89.7k|        else
 1371|  89.7k|        {
 1372|  89.7k|            word_type r;
 1373|  89.7k|            basic_bigint<Allocator> R(get_allocator());
 1374|  89.7k|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1375|       |
 1376|  89.7k|            do
 1377|   375k|            {
 1378|   375k|                v.divide( LP10, v, R, true );
 1379|   375k|                v_view = v.get_storage_view();
 1380|       |
 1381|   375k|                auto R_view = R.get_storage_view();
 1382|   375k|                r = (R_view.size() ? R_view[0] : 0);
  ------------------
  |  Branch (1382:22): [True: 374k, False: 434]
  ------------------
 1383|  5.98M|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1383:38): [True: 5.70M, False: 285k]
  ------------------
 1384|  5.70M|                {
 1385|  5.70M|                    data.push_back(char(r % 10u + '0'));
 1386|  5.70M|                    r /= 10u;
 1387|  5.70M|                    if ( r + v_view.size() == 0 )
  ------------------
  |  Branch (1387:26): [True: 89.7k, False: 5.61M]
  ------------------
 1388|  89.7k|                        break;
 1389|  5.70M|                }
 1390|   375k|            } 
 1391|   375k|            while ( v_view.size() > 0);
  ------------------
  |  Branch (1391:21): [True: 285k, False: 89.7k]
  ------------------
 1392|       |
 1393|  89.7k|            if (is_negative())
  ------------------
  |  Branch (1393:17): [True: 51.9k, False: 37.7k]
  ------------------
 1394|  51.9k|            {
 1395|  51.9k|                data.push_back('-');
 1396|  51.9k|            }
 1397|  89.7k|            std::reverse(data.begin(),data.end());
 1398|  89.7k|        }
 1399|  91.4k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  713|  1.82M|    {
  714|  1.82M|        return storage_.get_allocator();
  715|  1.82M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  644|  89.7k|        : storage_(alloc)
  645|  89.7k|    {
  646|  89.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  293|   179k|        : word_allocator_type(alloc)
  294|   179k|    {
  295|   179k|        ::new (&inlined_) inlined_storage();
  296|   179k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  113|   179k|            : is_allocated_(false),
  114|   179k|            is_negative_(false),
  115|   179k|            size_(0),
  116|   179k|            values_{0, 0}
  117|   179k|        {
  118|   179k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1675|   501k|    {
 1676|   501k|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1677|   501k|        auto denom_view = denom.get_storage_view();
 1678|       |
 1679|   501k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1679:13): [True: 0, False: 501k]
  ------------------
 1680|      0|        {
 1681|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1682|      0|        }
 1683|   501k|        bool quot_neg = is_negative() ^ denom.is_negative();
 1684|   501k|        bool rem_neg = is_negative();
 1685|   501k|        basic_bigint<Allocator> num(*this, get_allocator());
 1686|   501k|        num.set_negative(false);
 1687|   501k|        denom.set_negative(false);
 1688|   501k|        if ( num < denom )
  ------------------
  |  Branch (1688:14): [True: 179k, False: 321k]
  ------------------
 1689|   179k|        {
 1690|   179k|            quot = word_type(0);
 1691|   179k|            quot.set_negative(quot_neg);
 1692|   179k|            rem = num;
 1693|   179k|            rem.set_negative(rem_neg);
 1694|   179k|            return;
 1695|   179k|        }
 1696|       |
 1697|   321k|        auto num_view = num.get_storage_view();
 1698|   321k|        auto quot_view = quot.get_storage_view();
 1699|   321k|        auto this_view = get_storage_view();
 1700|       |
 1701|   321k|        if ( denom_view.size() == 1 && num_view.size() == 1 )
  ------------------
  |  Branch (1701:14): [True: 321k, False: 0]
  |  Branch (1701:40): [True: 1.64k, False: 319k]
  ------------------
 1702|  1.64k|        {
 1703|  1.64k|            quot = word_type( num_view[0]/denom_view[0] );
 1704|  1.64k|            rem = word_type( num_view[0]%denom_view[0] );
 1705|  1.64k|            quot.set_negative(quot_neg);
 1706|  1.64k|            rem.set_negative(rem_neg);
 1707|  1.64k|            return;
 1708|  1.64k|        }
 1709|   319k|        if (denom_view.size() == 1 && (denom_view[0] & l_mask) == 0 )
  ------------------
  |  Branch (1709:13): [True: 319k, False: 0]
  |  Branch (1709:39): [True: 0, False: 319k]
  ------------------
 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|   319k|        basic_bigint<Allocator> num0(num, get_allocator());
 1732|   319k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1733|   319k|        int x = 0;
 1734|   319k|        bool second_done = normalize(denom, num, x);
 1735|   319k|        denom_view = denom.get_storage_view();
 1736|   319k|        num_view = num.get_storage_view();
 1737|       |
 1738|   319k|        size_type l = denom_view.size() - 1;
 1739|   319k|        size_type n = num_view.size() - 1;
 1740|   319k|        quot.resize(n - l);
 1741|   319k|        quot_view = quot.get_storage_view();
 1742|   278M|        for (size_type i = quot_view.size(); i-- > 0; )
  ------------------
  |  Branch (1742:46): [True: 278M, False: 319k]
  ------------------
 1743|   278M|        {
 1744|   278M|            quot_view[i] = 0;
 1745|   278M|        }
 1746|   319k|        rem = num;
 1747|   319k|        auto rem_view = rem.get_storage_view();
 1748|   319k|        if ( rem_view[n] >= denom_view[l] )
  ------------------
  |  Branch (1748:14): [True: 6.70k, False: 313k]
  ------------------
 1749|  6.70k|        {
 1750|  6.70k|            rem.resize(rem_view.size() + 1);
 1751|  6.70k|            rem_view = rem.get_storage_view();
 1752|  6.70k|            n++;
 1753|  6.70k|            quot.resize(quot_view.size() + 1);
 1754|  6.70k|            quot_view = quot.get_storage_view();
 1755|  6.70k|        }
 1756|   319k|        word_type d = denom_view[l];
 1757|       |
 1758|   278M|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1758:32): [True: 278M, False: 319k]
  ------------------
 1759|   278M|        {
 1760|   278M|            word_type q = DDquotient(rem_view[k], rem_view[k-1], d);
 1761|   278M|            subtractmul( rem_view.data() + (k - l - 1), denom_view.data(), l + 1, q );
 1762|   278M|            quot_view[k - l - 1] = q;
 1763|   278M|        }
 1764|   319k|        quot.reduce();
 1765|   319k|        quot.set_negative(quot_neg);
 1766|   319k|        if (remDesired)
  ------------------
  |  Branch (1766:13): [True: 319k, False: 0]
  ------------------
 1767|   319k|        {
 1768|   319k|            unnormalize(rem, x, second_done);
 1769|   319k|            rem.set_negative(rem_neg);
 1770|   319k|        }
 1771|   319k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  676|  1.64M|        : storage_(other.storage_, alloc)
  677|  1.64M|    {
  678|  1.64M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  319|  1.64M|        : word_allocator_type(alloc)
  320|  1.64M|    {
  321|  1.64M|        if (!other.is_allocated())
  ------------------
  |  Branch (321:13): [True: 977k, False: 665k]
  ------------------
  322|   977k|        {
  323|   977k|            ::new (&inlined_) inlined_storage(other.inlined_);
  324|   977k|        }
  325|   665k|        else
  326|   665k|        {
  327|   665k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  328|   665k|        }
  329|  1.64M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 1872|   319k|    {
 1873|   319k|        auto denom_view = denom.get_storage_view();
 1874|   319k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1874:13): [True: 0, False: 319k]
  ------------------
 1875|      0|        {
 1876|      0|            return false;
 1877|      0|        }
 1878|   319k|        size_type r = denom_view.size() - 1;
 1879|   319k|        word_type y = denom_view[r];
 1880|       |
 1881|   319k|        x = 0;
 1882|   425k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (1882:17): [True: 106k, False: 319k]
  ------------------
 1883|   106k|        {
 1884|   106k|            y <<= 1;
 1885|   106k|            x++;
 1886|   106k|        }
 1887|   319k|        denom <<= x;
 1888|   319k|        num <<= x;
 1889|       |
 1890|   319k|        denom_view = denom.get_storage_view();
 1891|   319k|        if ( r > 0 && denom_view[r] < denom_view[r-1] )
  ------------------
  |  Branch (1891:14): [True: 0, False: 319k]
  |  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|   319k|        return false;
 1898|   319k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1117|   639k|    {
 1118|   639k|        auto this_view = get_storage_view();
 1119|   639k|        size_type q = k / word_type_bits;
 1120|   639k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1120:14): [True: 0, False: 639k]
  ------------------
 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|   639k|        if ( k )  // 0 < k < word_type_bits:
  ------------------
  |  Branch (1128:14): [True: 70.7k, False: 568k]
  ------------------
 1129|  70.7k|        {
 1130|  70.7k|            size_type k1 = word_type_bits - k;
 1131|  70.7k|            word_type mask = (word_type(1) << k) - word_type(1);
 1132|  70.7k|            resize( this_view.size() + 1 );
 1133|  70.7k|            this_view = get_storage_view();
 1134|  12.9M|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1134:50): [True: 12.9M, False: 70.7k]
  ------------------
 1135|  12.9M|            {
 1136|  12.9M|                this_view[i] <<= k;
 1137|  12.9M|                if ( i > 0 )
  ------------------
  |  Branch (1137:22): [True: 12.8M, False: 70.7k]
  ------------------
 1138|  12.8M|                    this_view[i] |= (this_view[i-1] >> k1) & mask;
 1139|  12.9M|            }
 1140|  70.7k|        }
 1141|   639k|        reduce();
 1142|   639k|        return *this;
 1143|   639k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1799|   278M|    {
 1800|   278M|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1801|   278M|                   dHi = d >> word_type_half_bits, dLo = d & r_mask;
 1802|   278M|        qHi = A/(dHi + 1);
 1803|       |        // This initial guess of qHi may be too small.
 1804|   278M|        middle = qHi * dLo;
 1805|   278M|        left = qHi * dHi;
 1806|   278M|        x = B - (middle << word_type_half_bits);
 1807|   278M|        A -= (middle >> word_type_half_bits) + left + (x > B);
 1808|   278M|        B = x;
 1809|   278M|        dLo1 = dLo << word_type_half_bits;
 1810|       |        // Increase qHi if necessary:
 1811|   399M|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1811:17): [True: 120M, False: 278M]
  |  Branch (1811:29): [True: 270k, False: 278M]
  |  Branch (1811:41): [True: 270k, False: 0]
  ------------------
 1812|   121M|        {
 1813|   121M|            x = B - dLo1;
 1814|   121M|            A -= dHi + (x > B);
 1815|   121M|            B = x;
 1816|   121M|            qHi++;
 1817|   121M|        }
 1818|   278M|        qLo = ((A << word_type_half_bits) | (B >> word_type_half_bits))/(dHi + 1);
 1819|       |        // This initial guess of qLo may be too small.
 1820|   278M|        right = qLo * dLo;
 1821|   278M|        middle = qLo * dHi;
 1822|   278M|        x = B - right;
 1823|   278M|        A -= (x > B);
 1824|   278M|        B = x;
 1825|   278M|        x = B - (middle << word_type_half_bits);
 1826|   278M|            A -= (middle >> word_type_half_bits) + (x > B);
 1827|   278M|        B = x;
 1828|       |        // Increase qLo if necessary:
 1829|   399M|        while ( A || B >= d )
  ------------------
  |  Branch (1829:17): [True: 424k, False: 399M]
  |  Branch (1829:22): [True: 120M, False: 278M]
  ------------------
 1830|   121M|        {
 1831|   121M|            x = B - d;
 1832|   121M|            A -= (x > B);
 1833|   121M|            B = x;
 1834|   121M|            qLo++;
 1835|   121M|        }
 1836|   278M|        return (qHi << word_type_half_bits) + qLo;
 1837|   278M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1841|   278M|    {
 1842|   278M|        word_type hi, lo, d, carry = 0;
 1843|   278M|        size_type i;
 1844|   556M|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1844:22): [True: 278M, False: 278M]
  ------------------
 1845|   278M|        {
 1846|   278M|            DDproduct( b[i], q, hi, lo );
 1847|   278M|            d = a[i];
 1848|   278M|            a[i] -= lo;
 1849|   278M|            if ( a[i] > d )
  ------------------
  |  Branch (1849:18): [True: 72.0M, False: 206M]
  ------------------
 1850|  72.0M|                carry++;
 1851|   278M|            d = a[i + 1];
 1852|   278M|            a[i + 1] -= hi + carry;
 1853|   278M|            carry = a[i + 1] > d;
 1854|   278M|        }
 1855|   278M|        if ( carry ) // q was too large
  ------------------
  |  Branch (1855:14): [True: 0, False: 278M]
  ------------------
 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|   278M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   79|   557M|        {
   80|   557M|            return data_;
   81|   557M|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 1901|   319k|    {
 1902|   319k|        if (secondDone)
  ------------------
  |  Branch (1902:13): [True: 0, False: 319k]
  ------------------
 1903|      0|        {
 1904|      0|            rem /= max_word;
 1905|      0|        }
 1906|   319k|        if ( x > 0 )
  ------------------
  |  Branch (1906:14): [True: 35.3k, False: 284k]
  ------------------
 1907|  35.3k|        {
 1908|  35.3k|            rem >>= x;
 1909|  35.3k|        }
 1910|   284k|        else
 1911|   284k|        {
 1912|   284k|            rem.reduce();
 1913|   284k|        }
 1914|   319k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2Ev:
  641|  90.1k|    basic_bigint() = default;
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEErSEm:
 1146|  35.3k|    {
 1147|  35.3k|        auto this_view = get_storage_view();
 1148|  35.3k|        size_type q = k / word_type_bits;
 1149|  35.3k|        if ( q >= this_view.size())
  ------------------
  |  Branch (1149:14): [True: 0, False: 35.3k]
  ------------------
 1150|      0|        {
 1151|      0|            resize( 0 );
 1152|      0|            return *this;
 1153|      0|        }
 1154|  35.3k|        if (q > 0)
  ------------------
  |  Branch (1154:13): [True: 0, False: 35.3k]
  ------------------
 1155|      0|        {
 1156|      0|            memmove( this_view.data(), this_view.data()+q, size_type((this_view.size() - q)*sizeof(word_type)) );
 1157|      0|            resize( size_type(this_view.size() - q) );
 1158|      0|            k %= word_type_bits;
 1159|      0|            if ( k == 0 )
  ------------------
  |  Branch (1159:18): [True: 0, False: 0]
  ------------------
 1160|      0|            {
 1161|      0|                reduce();
 1162|      0|                return *this;
 1163|      0|            }
 1164|      0|        }
 1165|       |
 1166|  35.3k|        this_view = get_storage_view();
 1167|  35.3k|        size_type n = size_type(this_view.size() - 1);
 1168|  35.3k|        ssize_type k1 = word_type_bits - k;
 1169|  35.3k|        word_type mask = (word_type(1) << k) - 1;
 1170|  12.8M|        for (size_type i = 0; i <= n; i++)
  ------------------
  |  Branch (1170:31): [True: 12.8M, False: 35.3k]
  ------------------
 1171|  12.8M|        {
 1172|  12.8M|            this_view[i] >>= k;
 1173|  12.8M|            if ( i < n )
  ------------------
  |  Branch (1173:18): [True: 12.7M, False: 35.3k]
  ------------------
 1174|  12.7M|                this_view[i] |= ((this_view[i+1] & mask) << k1);
 1175|  12.8M|        }
 1176|  35.3k|        reduce();
 1177|  35.3k|        return *this;
 1178|  35.3k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  708|  2.70M|    {
  709|  2.70M|        storage_.destroy();
  710|  2.70M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  487|  2.70M|    {
  488|  2.70M|        if (is_allocated())
  ------------------
  |  Branch (488:13): [True: 756k, False: 1.95M]
  ------------------
  489|   756k|        {
  490|   756k|            allocated_.destroy(get_allocator());
  491|   756k|            allocated_.~allocated_storage();
  492|   756k|        }
  493|  1.95M|        else
  494|  1.95M|        {
  495|  1.95M|            inlined_.~inlined_storage();
  496|  1.95M|        }
  497|  2.70M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  246|   756k|        {
  247|   756k|            if (data_ != nullptr)
  ------------------
  |  Branch (247:17): [True: 756k, False: 0]
  ------------------
  248|   756k|            {
  249|   756k|                real_allocator_type alloc(a);
  250|   756k|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  251|   756k|            }
  252|   756k|        }
_ZN8jsonconsmiENS_12basic_bigintINSt3__19allocatorImEEEERKS4_:
 1526|  52.9k|    {
 1527|  52.9k|        return x -= y;
 1528|  52.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IiEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|   235k|        : storage_(n, alloc)
  694|   235k|    {
  695|   235k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IiEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|   235k|        : word_allocator_type(alloc)
  361|   235k|    {
  362|   235k|        ::new (&inlined_) inlined_storage(n);
  363|   235k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IiEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  125|   235k|            : is_allocated_(false),
  126|   235k|            is_negative_(n < 0),
  127|   235k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (127:19): [True: 182k, False: 52.9k]
  ------------------
  128|   235k|        {
  129|   235k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (129:26): [True: 52.9k, False: 182k]
  ------------------
  130|   235k|            values_[1] = 0;
  131|   235k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  842|   735k|    {
  843|   735k|        storage_ = y.storage_;
  844|   735k|        return *this;
  845|   735k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  366|   735k|    {
  367|   735k|        if (this != &other)
  ------------------
  |  Branch (367:13): [True: 735k, False: 0]
  ------------------
  368|   735k|        {
  369|   735k|            auto other_view = other.get_storage_view();
  370|   735k|            resize(other_view.size());
  371|   735k|            auto this_view = get_storage_view();
  372|   735k|            if (other_view.size() > 0)
  ------------------
  |  Branch (372:17): [True: 555k, False: 180k]
  ------------------
  373|   555k|            {
  374|   555k|                common_.is_negative_ = other.common_.is_negative_;
  375|   555k|                std::memcpy(this_view.data(), other_view.data(), size_type(other_view.size()*sizeof(word_type)));
  376|   555k|            }
  377|   735k|        }
  378|   735k|        return *this;
  379|   735k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   79|   555k|        {
   80|   555k|            return data_;
   81|   555k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16write_string_hexIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1410|  90.8k|    {
 1411|       |
 1412|       |
 1413|  90.8k|        basic_bigint<Allocator> v(*this);
 1414|  90.8k|        auto v_view = v.get_storage_view();
 1415|       |
 1416|  90.8k|        size_type len = (v_view.size() * basic_bigint<Allocator>::word_type_bits / 3) + 2;
 1417|  90.8k|        data.reserve(len);
 1418|       |
 1419|  90.8k|        if ( v_view.size() == 0 )
  ------------------
  |  Branch (1419:14): [True: 726, False: 90.1k]
  ------------------
 1420|    726|        {
 1421|    726|            data.push_back('0');
 1422|    726|        }
 1423|  90.1k|        else
 1424|  90.1k|        {
 1425|  90.1k|            word_type r;
 1426|  90.1k|            basic_bigint<Allocator> R;
 1427|  90.1k|            basic_bigint<Allocator> LP10 = max_unsigned_power_16; // LP10 = max_unsigned_power_16 = ::pow(16, imax_unsigned_power_16)
 1428|  90.1k|            do
 1429|   126k|            {
 1430|   126k|                v.divide( LP10, v, R, true );
 1431|   126k|                v_view = v.get_storage_view();
 1432|   126k|                auto R_view = R.get_storage_view();
 1433|   126k|                r = (R_view.size() ? R_view[0] : 0);
  ------------------
  |  Branch (1433:22): [True: 122k, False: 3.67k]
  ------------------
 1434|   959k|                for ( size_type j=0; j < imax_unsigned_power_16; j++ )
  ------------------
  |  Branch (1434:38): [True: 923k, False: 35.8k]
  ------------------
 1435|   923k|                {
 1436|   923k|                    uint8_t c = r % 16u;
 1437|   923k|                    data.push_back((c < 10u) ? ('0' + c) : ('A' - 10u + c));
  ------------------
  |  Branch (1437:36): [True: 810k, False: 112k]
  ------------------
 1438|   923k|                    r /= 16u;
 1439|   923k|                    if ( r + v_view.size() == 0 )
  ------------------
  |  Branch (1439:26): [True: 90.1k, False: 833k]
  ------------------
 1440|  90.1k|                        break;
 1441|   923k|                }
 1442|   126k|            } 
 1443|   126k|            while (v_view.size() > 0);
  ------------------
  |  Branch (1443:20): [True: 35.8k, False: 90.1k]
  ------------------
 1444|       |
 1445|  90.1k|            if (is_negative())
  ------------------
  |  Branch (1445:17): [True: 997, False: 89.1k]
  ------------------
 1446|    997|            {
 1447|    997|                data.push_back('-');
 1448|    997|            }
 1449|  90.1k|            std::reverse(data.begin(),data.end());
 1450|  90.1k|        }
 1451|  90.8k|    }

_ZN8jsoncons6binary13big_to_nativeItNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   125k|    {
  183|   125k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 125k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   125k|        T val;
  188|   125k|        std::memcpy(&val,first,sizeof(T));
  189|   125k|        return byte_swap(val);
  190|   125k|    }
_ZN8jsoncons6binary9byte_swapItEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  18.5M|    {
   29|  18.5M|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  18.5M|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|  18.5M|#      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|  18.5M|    }
_ZN8jsoncons6binary13big_to_nativeIjNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  11.8k|    {
  183|  11.8k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 11.8k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  11.8k|        T val;
  188|  11.8k|        std::memcpy(&val,first,sizeof(T));
  189|  11.8k|        return byte_swap(val);
  190|  11.8k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|   454k|    {
   40|   454k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|   454k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|   454k|#  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|   454k|    }
_ZN8jsoncons6binary13big_to_nativeImNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  11.6k|    {
  183|  11.6k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 11.6k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  11.6k|        T val;
  188|  11.6k|        std::memcpy(&val,first,sizeof(T));
  189|  11.6k|        return byte_swap(val);
  190|  11.6k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|   174k|    {
   52|   174k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|   174k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|   174k|#  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|   174k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|   769k|    {
   29|   769k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|   769k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|   769k|#      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|   769k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  1.87M|    {
   40|  1.87M|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  1.87M|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|  1.87M|#  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|  1.87M|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|   538k|    {
   52|   538k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|   538k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|   538k|#  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|   538k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|   174k|    {
   65|   174k|        uint32_t x;
   66|   174k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|   174k|        uint32_t y = byte_swap(x);
   68|   174k|        T val2;
   69|   174k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|   174k|        return val2;
   71|   174k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  55.3k|    {
   77|  55.3k|        uint64_t x;
   78|  55.3k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  55.3k|        uint64_t y = byte_swap(x);
   80|  55.3k|        T val2;
   81|  55.3k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  55.3k|        return val2;
   83|  55.3k|    }
_ZN8jsoncons6binary13big_to_nativeIfNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  12.8k|    {
  183|  12.8k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 12.8k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  12.8k|        T val;
  188|  12.8k|        std::memcpy(&val,first,sizeof(T));
  189|  12.8k|        return byte_swap(val);
  190|  12.8k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  8.02k|    {
  183|  8.02k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 8.02k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  8.02k|        T val;
  188|  8.02k|        std::memcpy(&val,first,sizeof(T));
  189|  8.02k|        return byte_swap(val);
  190|  8.02k|    }

_ZNK8jsoncons16byte_string_view4dataEv:
  399|  27.7M|        {
  400|  27.7M|            return data_;
  401|  27.7M|        }
_ZNK8jsoncons16byte_string_view4sizeEv:
  403|  33.5M|        {
  404|  33.5M|            return size_;
  405|  33.5M|        }
_ZN8jsoncons16byte_string_viewC2EPKhm:
  362|  35.8M|            : data_(data), size_(length)
  363|  35.8M|        {
  364|  35.8M|        }
_ZN8jsoncons15bytes_to_base64IPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  188|    768|    {
  189|    768|        static constexpr char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  190|    768|                                                   "abcdefghijklmnopqrstuvwxyz"
  191|    768|                                                   "0123456789+/"
  192|    768|                                                   "=";
  193|    768|        return detail::bytes_to_base64_generic(first, last, alphabet, result);
  194|    768|    }
_ZN8jsoncons6detail23bytes_to_base64_genericIPKhNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEENS4_9enable_ifIXsr3std7is_sameINS4_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESD_SD_PKcRT0_:
   44|  8.19M|    {
   45|  8.19M|        std::size_t count = 0;
   46|  8.19M|        unsigned char a3[3];
   47|  8.19M|        unsigned char a4[4];
   48|  8.19M|        unsigned char fill = alphabet[64];
   49|  8.19M|        int i = 0;
   50|  8.19M|        int j = 0;
   51|       |
   52|  40.3M|        while (first != last)
  ------------------
  |  Branch (52:16): [True: 32.1M, False: 8.19M]
  ------------------
   53|  32.1M|        {
   54|  32.1M|            a3[i++] = *first++;
   55|  32.1M|            if (i == 3)
  ------------------
  |  Branch (55:17): [True: 10.1M, False: 21.9M]
  ------------------
   56|  10.1M|            {
   57|  10.1M|                a4[0] = (a3[0] & 0xfc) >> 2;
   58|  10.1M|                a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   59|  10.1M|                a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   60|  10.1M|                a4[3] = a3[2] & 0x3f;
   61|       |
   62|  50.9M|                for (i = 0; i < 4; i++) 
  ------------------
  |  Branch (62:29): [True: 40.7M, False: 10.1M]
  ------------------
   63|  40.7M|                {
   64|  40.7M|                    result.push_back(alphabet[a4[i]]);
   65|  40.7M|                    ++count;
   66|  40.7M|                }
   67|  10.1M|                i = 0;
   68|  10.1M|            }
   69|  32.1M|        }
   70|       |
   71|  8.19M|        if (i > 0)
  ------------------
  |  Branch (71:13): [True: 770k, False: 7.42M]
  ------------------
   72|   770k|        {
   73|  1.56M|            for (j = i; j < 3; ++j) 
  ------------------
  |  Branch (73:25): [True: 793k, False: 770k]
  ------------------
   74|   793k|            {
   75|   793k|                a3[j] = 0;
   76|   793k|            }
   77|       |
   78|   770k|            a4[0] = (a3[0] & 0xfc) >> 2;
   79|   770k|            a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   80|   770k|            a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   81|       |
   82|  3.05M|            for (j = 0; j < i + 1; ++j) 
  ------------------
  |  Branch (82:25): [True: 2.28M, False: 770k]
  ------------------
   83|  2.28M|            {
   84|  2.28M|                result.push_back(alphabet[a4[j]]);
   85|  2.28M|                ++count;
   86|  2.28M|            }
   87|       |
   88|   770k|            if (fill != 0)
  ------------------
  |  Branch (88:17): [True: 261, False: 769k]
  ------------------
   89|    261|            {
   90|    774|                while (i++ < 3) 
  ------------------
  |  Branch (90:24): [True: 513, False: 261]
  ------------------
   91|    513|                {
   92|    513|                    result.push_back(fill);
   93|    513|                    ++count;
   94|    513|                }
   95|    261|            }
   96|   770k|        }
   97|       |
   98|  8.19M|        return count;
   99|  8.19M|    }
_ZNK8jsoncons16byte_string_view5beginEv:
  409|  10.7M|        {
  410|  10.7M|            return data_;
  411|  10.7M|        }
_ZNK8jsoncons16byte_string_view3endEv:
  413|  10.7M|        {
  414|  10.7M|            return data_ + size_;
  415|  10.7M|        }
_ZN8jsoncons15bytes_to_base16IPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  162|    684|    {
  163|    684|        static constexpr char characters[] = "0123456789ABCDEF";
  164|       |
  165|   419k|        for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (165:31): [True: 419k, False: 684]
  ------------------
  166|   419k|        {
  167|   419k|            uint8_t c = *it;
  168|   419k|            result.push_back(characters[c >> 4]);
  169|   419k|            result.push_back(characters[c & 0xf]);
  170|   419k|        }
  171|    684|        return (last-first)*2;
  172|    684|    }
_ZN8jsoncons18bytes_to_base64urlIPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  177|  8.19M|    {
  178|  8.19M|        static constexpr char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  179|  8.19M|                                                      "abcdefghijklmnopqrstuvwxyz"
  180|  8.19M|                                                      "0123456789-_"
  181|  8.19M|                                                      "\0";
  182|  8.19M|        return detail::bytes_to_base64_generic(first, last, alphabet, result);
  183|  8.19M|    }
_ZN8jsoncons16byte_string_viewC2INSt3__16vectorIhNS2_9allocatorIhEEEEEERKT_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS7_EE5valueEiE4typeE:
  369|  66.5k|            : data_(reinterpret_cast<const uint8_t*>(cont.data())), size_(cont.size())
  370|  66.5k|        {
  371|  66.5k|        }
_ZN8jsoncons16byte_string_viewC2Ev:
  358|    166|        {
  359|    166|        }

_ZNK8jsoncons8identityclIRKhEEOT_S5_:
   19|  2.38M|    {
   20|  2.38M|        return std::forward<T>(val);
   21|  2.38M|    }
_ZNK8jsoncons8identityclIRKtEEOT_S5_:
   19|   411k|    {
   20|   411k|        return std::forward<T>(val);
   21|   411k|    }
_ZNK8jsoncons8identityclIRKjEEOT_S5_:
   19|   269k|    {
   20|   269k|        return std::forward<T>(val);
   21|   269k|    }
_ZNK8jsoncons8identityclIRKmEEOT_S5_:
   19|   108k|    {
   20|   108k|        return std::forward<T>(val);
   21|   108k|    }
_ZNK8jsoncons8identityclIRKaEEOT_S5_:
   19|  2.82M|    {
   20|  2.82M|        return std::forward<T>(val);
   21|  2.82M|    }
_ZNK8jsoncons8identityclIRKsEEOT_S5_:
   19|   770k|    {
   20|   770k|        return std::forward<T>(val);
   21|   770k|    }
_ZNK8jsoncons8identityclIRKiEEOT_S5_:
   19|  1.90M|    {
   20|  1.90M|        return std::forward<T>(val);
   21|  1.90M|    }
_ZNK8jsoncons8identityclIRKlEEOT_S5_:
   19|   555k|    {
   20|   555k|        return std::forward<T>(val);
   21|   555k|    }
_ZNK8jsoncons11decode_halfclEt:
   36|  23.0M|    {
   37|  23.0M|        return binary::decode_half(val);
   38|  23.0M|    }
_ZNK8jsoncons8identityclIRKfEEOT_S5_:
   19|   219k|    {
   20|   219k|        return std::forward<T>(val);
   21|   219k|    }
_ZNK8jsoncons8identityclIRKdEEOT_S5_:
   19|  60.9k|    {
   20|  60.9k|        return std::forward<T>(val);
   21|  60.9k|    }

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  16.8k|    {       
  242|  16.8k|        return (ptr);
  243|  16.8k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|  4.86M|    {       
  242|  4.86M|        return (ptr);
  243|  4.86M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|   469k|    {       
  242|   469k|        return (ptr);
  243|   469k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  17.3M|    {       
  242|  17.3M|        return (ptr);
  243|  17.3M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|  4.88M|    {       
  242|  4.88M|        return (ptr);
  243|  4.88M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerImEEPT_S3_:
  241|   708k|    {       
  242|   708k|        return (ptr);
  243|   708k|    }  

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

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  2.34M|    {
 1148|  2.34M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  2.34M|        const uint8_t* end = it + length;
 1150|       |
 1151|  2.34M|        unicode_errc  result{};
 1152|  3.08M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 746k, False: 2.34M]
  ------------------
 1153|   746k|        {
 1154|   746k|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 152k, False: 594k]
  ------------------
 1155|   152k|            {
 1156|  1.05M|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  281|   304k|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (281:32): [True: 151k, False: 173]
  |  |  |  Branch (281:34): [True: 151k, False: 356]
  |  |  |  Branch (281:36): [True: 150k, False: 538]
  |  |  |  Branch (281:38): [True: 150k, False: 135]
  |  |  |  Branch (281:40): [True: 150k, False: 32]
  |  |  |  Branch (281:42): [True: 150k, False: 48]
  |  |  |  Branch (281:44): [True: 150k, False: 36]
  |  |  |  Branch (281:46): [True: 150k, False: 40]
  |  |  ------------------
  ------------------
 1157|   150k|                continue;
 1158|  1.05M|            }
 1159|   595k|    non_ascii:
 1160|   595k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|   595k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 17, False: 595k]
  ------------------
 1162|     17|            {
 1163|     17|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     17|            }
 1165|   595k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 112, False: 595k]
  ------------------
 1166|    112|            {
 1167|    112|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    112|            }
 1169|   595k|            it += len;
 1170|   595k|        }
 1171|  2.34M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  2.34M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|   595k|    {
  306|   595k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|   595k|        const uint8_t* end = it+length;
  308|       |
  309|   595k|        uint8_t byte;
  310|   595k|        switch (length) {
  311|     16|        default:
  ------------------
  |  Branch (311:9): [True: 16, False: 595k]
  ------------------
  312|     16|            return unicode_errc::over_long_utf8_sequence;
  313|    451|        case 4:
  ------------------
  |  Branch (313:9): [True: 451, False: 595k]
  ------------------
  314|    451|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 14, False: 437]
  ------------------
  315|     14|                return unicode_errc::bad_continuation_byte;
  316|    437|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|    437|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  1.60k|        case 3:
  ------------------
  |  Branch (317:9): [True: 1.17k, False: 594k]
  ------------------
  318|  1.60k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 7, False: 1.60k]
  ------------------
  319|      7|                return unicode_errc::bad_continuation_byte;
  320|  1.60k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.60k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  2.74k|        case 2:
  ------------------
  |  Branch (321:9): [True: 1.14k, False: 594k]
  ------------------
  322|  2.74k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 28, False: 2.71k]
  ------------------
  323|     28|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  2.71k|            switch (*it) 
  326|  2.71k|            {
  327|       |                // no fall-through in this inner switch
  328|    595|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 595, False: 2.12k]
  |  Branch (328:32): [True: 0, False: 595]
  ------------------
  329|    595|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 381, False: 2.33k]
  |  Branch (329:32): [True: 3, False: 378]
  ------------------
  330|    378|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 177, False: 2.53k]
  |  Branch (330:32): [True: 1, False: 176]
  ------------------
  331|    187|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 187, False: 2.52k]
  |  Branch (331:32): [True: 1, False: 186]
  ------------------
  332|  1.37k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 1.37k, False: 1.34k]
  |  Branch (332:32): [True: 0, False: 1.37k]
  ------------------
  333|  2.71k|            }
  334|       |
  335|  2.71k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  2.71k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|   595k|        case 1:
  ------------------
  |  Branch (336:9): [True: 592k, False: 2.78k]
  ------------------
  337|   595k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 2.75k, False: 592k]
  |  Branch (337:32): [True: 42, False: 2.70k]
  ------------------
  338|     42|                return unicode_errc::source_illegal;
  339|   595k|            break;
  340|   595k|        }
  341|   595k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 0, False: 595k]
  ------------------
  342|      0|            return unicode_errc::source_illegal;
  343|       |
  344|   595k|        return unicode_errc();
  345|   595k|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  14.4M|{
   43|  14.4M|    using char_type = typename Result::value_type;
   44|       |
   45|  14.4M|    char_type buf[255];
   46|  14.4M|    char_type *p = buf;
   47|  14.4M|    const char_type* last = buf+255;
   48|       |
   49|  14.4M|    bool is_negative = value < 0;
   50|       |
   51|  14.4M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 14.4M]
  ------------------
   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|  14.4M|    else
   60|  14.4M|    {
   61|       |
   62|  14.4M|        do
   63|  22.3M|        {
   64|  22.3M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  22.3M|        }
   66|  22.3M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 7.93M, False: 14.4M]
  |  Branch (66:33): [True: 7.93M, False: 0]
  ------------------
   67|  14.4M|    }
   68|  14.4M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  14.4M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 14.4M]
  |  |  ------------------
  |  |   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|  14.4M|    std::size_t count = (p - buf);
   71|  14.4M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 14.4M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  36.7M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 22.3M, False: 14.4M]
  ------------------
   77|  22.3M|    {
   78|  22.3M|        result.push_back(*p);
   79|  22.3M|    }
   80|       |
   81|  14.4M|    return count;
   82|  14.4M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  8.07M|{
   43|  8.07M|    using char_type = typename Result::value_type;
   44|       |
   45|  8.07M|    char_type buf[255];
   46|  8.07M|    char_type *p = buf;
   47|  8.07M|    const char_type* last = buf+255;
   48|       |
   49|  8.07M|    bool is_negative = value < 0;
   50|       |
   51|  8.07M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 6.25M, False: 1.82M]
  ------------------
   52|  6.25M|    {
   53|  6.25M|        do
   54|  22.6M|        {
   55|  22.6M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  22.6M|        }
   57|  22.6M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 16.4M, False: 6.25M]
  |  Branch (57:33): [True: 16.4M, False: 0]
  ------------------
   58|  6.25M|    }
   59|  1.82M|    else
   60|  1.82M|    {
   61|       |
   62|  1.82M|        do
   63|  9.11M|        {
   64|  9.11M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  9.11M|        }
   66|  9.11M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 7.29M, False: 1.82M]
  |  Branch (66:33): [True: 7.29M, False: 0]
  ------------------
   67|  1.82M|    }
   68|  8.07M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  8.07M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 8.07M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  8.07M|    std::size_t count = (p - buf);
   71|  8.07M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 6.25M, False: 1.82M]
  ------------------
   72|  6.25M|    {
   73|  6.25M|        result.push_back('-');
   74|  6.25M|        ++count;
   75|  6.25M|    }
   76|  39.8M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 31.7M, False: 8.07M]
  ------------------
   77|  31.7M|    {
   78|  31.7M|        result.push_back(*p);
   79|  31.7M|    }
   80|       |
   81|  8.07M|    return count;
   82|  8.07M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|  20.0M|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|  20.0M|    {
  489|  20.0M|#if !defined(JSONCONS_NO_LOCALECONV)
  490|  20.0M|        struct lconv *lc = localeconv();
  491|  20.0M|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 20.0M, False: 0]
  |  Branch (491:30): [True: 20.0M, False: 0]
  ------------------
  492|  20.0M|        {
  493|  20.0M|            decimal_point_ = lc->decimal_point[0];
  494|  20.0M|        }
  495|  20.0M|#endif
  496|  20.0M|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|  20.0M|    {
  504|  20.0M|        std::size_t count = 0;
  505|       |
  506|  20.0M|        char number_buffer[200];
  507|  20.0M|        int length = 0;
  508|       |
  509|  20.0M|        switch (float_format_)
  510|  20.0M|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 20.0M]
  ------------------
  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: 20.0M]
  ------------------
  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|  20.0M|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 20.0M, False: 0]
  ------------------
  552|  20.0M|            {
  553|  20.0M|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 20.0M]
  ------------------
  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|  20.0M|                else
  563|  20.0M|                {
  564|  20.0M|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 20.0M]
  ------------------
  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|  20.0M|                }             
  569|  20.0M|                break;
  570|  20.0M|            }
  571|  20.0M|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 20.0M]
  ------------------
  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|  20.0M|        }
  575|  20.0M|        return count;
  576|  20.0M|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|   139k|{
  244|   139k|    const char *sbeg = buffer;
  245|   139k|    const char *send = sbeg + length;
  246|       |
  247|   139k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 139k, False: 0]
  ------------------
  248|   139k|    {
  249|   139k|        bool needs_dot = true;
  250|  3.13M|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 2.99M, False: 139k]
  ------------------
  251|  2.99M|        {
  252|  2.99M|            switch (*q)
  253|  2.99M|            {
  254|  54.3k|            case '-':
  ------------------
  |  Branch (254:13): [True: 54.3k, False: 2.94M]
  ------------------
  255|   611k|            case '0':
  ------------------
  |  Branch (255:13): [True: 556k, False: 2.44M]
  ------------------
  256|   926k|            case '1':
  ------------------
  |  Branch (256:13): [True: 315k, False: 2.68M]
  ------------------
  257|  1.13M|            case '2':
  ------------------
  |  Branch (257:13): [True: 204k, False: 2.79M]
  ------------------
  258|  1.45M|            case '3':
  ------------------
  |  Branch (258:13): [True: 326k, False: 2.67M]
  ------------------
  259|  1.71M|            case '4':
  ------------------
  |  Branch (259:13): [True: 262k, False: 2.73M]
  ------------------
  260|  1.86M|            case '5':
  ------------------
  |  Branch (260:13): [True: 141k, False: 2.85M]
  ------------------
  261|  1.99M|            case '6':
  ------------------
  |  Branch (261:13): [True: 129k, False: 2.86M]
  ------------------
  262|  2.29M|            case '7':
  ------------------
  |  Branch (262:13): [True: 299k, False: 2.69M]
  ------------------
  263|  2.67M|            case '8':
  ------------------
  |  Branch (263:13): [True: 386k, False: 2.61M]
  ------------------
  264|  2.83M|            case '9':
  ------------------
  |  Branch (264:13): [True: 154k, False: 2.84M]
  ------------------
  265|  2.83M|            case '+':
  ------------------
  |  Branch (265:13): [True: 606, False: 2.99M]
  ------------------
  266|  2.83M|                result.push_back(*q);
  267|  2.83M|                break;
  268|  25.7k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 25.7k, False: 2.97M]
  ------------------
  269|  25.7k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 2.99M]
  ------------------
  270|  25.7k|                result.push_back('e');
  271|  25.7k|                needs_dot = false;
  272|  25.7k|                break;
  273|   139k|            default:
  ------------------
  |  Branch (273:13): [True: 139k, False: 2.85M]
  ------------------
  274|   139k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 138k, False: 1.38k]
  ------------------
  275|   138k|                {
  276|   138k|                    needs_dot = false;
  277|   138k|                    result.push_back('.');
  278|   138k|                }
  279|   139k|                break;
  280|  2.99M|            }
  281|  2.99M|        }
  282|   139k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 1.26k, False: 138k]
  ------------------
  283|  1.26k|        {
  284|  1.26k|            result.push_back('.');
  285|  1.26k|            result.push_back('0');
  286|  1.26k|        }
  287|   139k|    }
  288|   139k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmiiiRT_:
  171|  18.8M|{
  172|  18.8M|    int nb_digits = (int)length;
  173|  18.8M|    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|  18.8M|    int kk = nb_digits + k;
  179|       |
  180|  18.8M|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 2.91M, False: 15.9M]
  |  Branch (180:28): [True: 1.74M, False: 1.16M]
  ------------------
  181|  1.74M|    {
  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|  7.80M|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 6.05M, False: 1.74M]
  ------------------
  186|  6.05M|        {
  187|  6.05M|            result.push_back(buffer[i]);
  188|  6.05M|        }
  189|  2.09M|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 343k, False: 1.74M]
  ------------------
  190|   343k|        {
  191|   343k|            result.push_back('0');
  192|   343k|        }
  193|  1.74M|        result.push_back('.');
  194|  1.74M|        result.push_back('0');
  195|  1.74M|    } 
  196|  17.1M|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 4.32M, False: 12.8M]
  |  Branch (196:24): [True: 3.16M, False: 1.16M]
  ------------------
  197|  3.16M|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  9.23M|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 6.06M, False: 3.16M]
  ------------------
  200|  6.06M|        {
  201|  6.06M|            result.push_back(buffer[i]);
  202|  6.06M|        }
  203|  3.16M|        result.push_back('.');
  204|  15.4M|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 12.2M, False: 3.16M]
  ------------------
  205|  12.2M|        {
  206|  12.2M|            result.push_back(buffer[i]);
  207|  12.2M|        }
  208|  3.16M|    } 
  209|  13.9M|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 12.3M, False: 1.60M]
  |  Branch (209:30): [True: 11.1M, False: 1.16M]
  ------------------
  210|  11.1M|    {
  211|  11.1M|        offset = 2 - kk;
  212|       |
  213|  11.1M|        result.push_back('0');
  214|  11.1M|        result.push_back('.');
  215|  41.4M|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 30.2M, False: 11.1M]
  ------------------
  216|  30.2M|            result.push_back('0');
  217|   191M|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 180M, False: 11.1M]
  ------------------
  218|   180M|        {
  219|   180M|            result.push_back(buffer[i]);
  220|   180M|        }
  221|  11.1M|    } 
  222|  2.76M|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 449, False: 2.76M]
  ------------------
  223|    449|    {
  224|    449|        result.push_back(buffer[0]);
  225|    449|        result.push_back('e');
  226|    449|        fill_exponent(kk - 1, result);
  227|    449|    } 
  228|  2.76M|    else
  229|  2.76M|    {
  230|  2.76M|        result.push_back(buffer[0]);
  231|  2.76M|        result.push_back('.');
  232|  42.8M|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 40.1M, False: 2.76M]
  ------------------
  233|  40.1M|        {
  234|  40.1M|            result.push_back(buffer[i]);
  235|  40.1M|        }
  236|  2.76M|        result.push_back('e');
  237|  2.76M|        fill_exponent(kk - 1, result);
  238|  2.76M|    }
  239|  18.8M|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  2.76M|{
  137|  2.76M|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 1.60M, False: 1.16M]
  ------------------
  138|  1.60M|    {
  139|  1.60M|        result.push_back('-');
  140|  1.60M|        K = -K;
  141|  1.60M|    }
  142|  1.16M|    else
  143|  1.16M|    {
  144|  1.16M|        result.push_back('+'); // compatibility with sprintf
  145|  1.16M|    }
  146|       |
  147|  2.76M|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 1.50M, False: 1.26M]
  ------------------
  148|  1.50M|    {
  149|  1.50M|        result.push_back('0'); // compatibility with sprintf
  150|  1.50M|        result.push_back((char)('0' + K));
  151|  1.50M|    }
  152|  1.26M|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 130k, False: 1.13M]
  ------------------
  153|   130k|    {
  154|   130k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|   130k|        result.push_back((char)('0' + K));
  156|   130k|    }
  157|  1.13M|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 1.13M, False: 0]
  ------------------
  158|  1.13M|    {
  159|  1.13M|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  1.13M|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  1.13M|        result.push_back((char)('0' + K));
  162|  1.13M|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  2.76M|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|  20.0M|{
  476|  20.0M|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|  20.0M|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|  20.0M|{
  367|  20.0M|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 1.00M, False: 19.0M]
  ------------------
  368|  1.00M|    {
  369|  1.00M|        result.push_back('0');
  370|  1.00M|        result.push_back('.');
  371|  1.00M|        result.push_back('0');
  372|  1.00M|        return true;
  373|  1.00M|    }
  374|       |
  375|  19.0M|    int length = 0;
  376|  19.0M|    int k;
  377|       |
  378|  19.0M|    char buffer[100];
  379|       |
  380|  19.0M|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 14.3M, False: 4.65M]
  ------------------
  381|  19.0M|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 18.8M, False: 139k]
  ------------------
  382|  18.8M|    {
  383|  18.8M|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 14.3M, False: 4.54M]
  ------------------
  384|  14.3M|        {
  385|  14.3M|            result.push_back('-');
  386|  14.3M|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|  18.8M|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|  18.8M|        return true;
  391|  18.8M|    }
  392|   139k|    else
  393|   139k|    {
  394|   139k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|   139k|    }
  396|  19.0M|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|   139k|{
  330|   139k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 139k]
  ------------------
  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|   139k|    char buffer[100];
  339|   139k|    int precision = std::numeric_limits<double>::digits10;
  340|   139k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|   139k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 139k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|   139k|    double x{0};
  346|   139k|    auto res = decstr_to_double(buffer, length, x);
  347|   139k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 139k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|   139k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 139k, False: 299]
  ------------------
  352|   139k|    {
  353|   139k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|   139k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|   139k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 139k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|   139k|    }
  360|   139k|    dump_buffer(buffer, length, decimal_point, result);
  361|   139k|    return true;
  362|   139k|}
_ZN8jsoncons15prettify_stringINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvPKcmiiiRT_:
  171|   845k|{
  172|   845k|    int nb_digits = (int)length;
  173|   845k|    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|   845k|    int kk = nb_digits + k;
  179|       |
  180|   845k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 47.9k, False: 797k]
  |  Branch (180:28): [True: 46.8k, False: 1.15k]
  ------------------
  181|  46.8k|    {
  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|   306k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 259k, False: 46.8k]
  ------------------
  186|   259k|        {
  187|   259k|            result.push_back(buffer[i]);
  188|   259k|        }
  189|   130k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 83.9k, False: 46.8k]
  ------------------
  190|  83.9k|        {
  191|  83.9k|            result.push_back('0');
  192|  83.9k|        }
  193|  46.8k|        result.push_back('.');
  194|  46.8k|        result.push_back('0');
  195|  46.8k|    } 
  196|   798k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 796k, False: 2.21k]
  |  Branch (196:24): [True: 794k, False: 1.40k]
  ------------------
  197|   794k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  1.59M|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 804k, False: 794k]
  ------------------
  200|   804k|        {
  201|   804k|            result.push_back(buffer[i]);
  202|   804k|        }
  203|   794k|        result.push_back('.');
  204|  1.59M|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 797k, False: 794k]
  ------------------
  205|   797k|        {
  206|   797k|            result.push_back(buffer[i]);
  207|   797k|        }
  208|   794k|    } 
  209|  3.62k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 2.67k, False: 949]
  |  Branch (209:30): [True: 1.27k, False: 1.40k]
  ------------------
  210|  1.27k|    {
  211|  1.27k|        offset = 2 - kk;
  212|       |
  213|  1.27k|        result.push_back('0');
  214|  1.27k|        result.push_back('.');
  215|  2.88k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 1.61k, False: 1.27k]
  ------------------
  216|  1.61k|            result.push_back('0');
  217|  2.90k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 1.63k, False: 1.27k]
  ------------------
  218|  1.63k|        {
  219|  1.63k|            result.push_back(buffer[i]);
  220|  1.63k|        }
  221|  1.27k|    } 
  222|  2.35k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 1.14k, False: 1.21k]
  ------------------
  223|  1.14k|    {
  224|  1.14k|        result.push_back(buffer[0]);
  225|  1.14k|        result.push_back('e');
  226|  1.14k|        fill_exponent(kk - 1, result);
  227|  1.14k|    } 
  228|  1.21k|    else
  229|  1.21k|    {
  230|  1.21k|        result.push_back(buffer[0]);
  231|  1.21k|        result.push_back('.');
  232|   343k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 341k, False: 1.21k]
  ------------------
  233|   341k|        {
  234|   341k|            result.push_back(buffer[i]);
  235|   341k|        }
  236|  1.21k|        result.push_back('e');
  237|  1.21k|        fill_exponent(kk - 1, result);
  238|  1.21k|    }
  239|   845k|}
_ZN8jsoncons13fill_exponentINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEviRT_:
  136|  2.35k|{
  137|  2.35k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 949, False: 1.40k]
  ------------------
  138|    949|    {
  139|    949|        result.push_back('-');
  140|    949|        K = -K;
  141|    949|    }
  142|  1.40k|    else
  143|  1.40k|    {
  144|  1.40k|        result.push_back('+'); // compatibility with sprintf
  145|  1.40k|    }
  146|       |
  147|  2.35k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 684, False: 1.67k]
  ------------------
  148|    684|    {
  149|    684|        result.push_back('0'); // compatibility with sprintf
  150|    684|        result.push_back((char)('0' + K));
  151|    684|    }
  152|  1.67k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 810, False: 862]
  ------------------
  153|    810|    {
  154|    810|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|    810|        result.push_back((char)('0' + K));
  156|    810|    }
  157|    862|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 189, False: 673]
  ------------------
  158|    189|    {
  159|    189|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|    189|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|    189|        result.push_back((char)('0' + K));
  162|    189|    }
  163|    673|    else
  164|    673|    {
  165|    673|        jsoncons::from_integer(K, result);
  166|    673|    }
  167|  2.35k|}
_ZN8jsoncons12from_integerIiNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|    673|{
   43|    673|    using char_type = typename Result::value_type;
   44|       |
   45|    673|    char_type buf[255];
   46|    673|    char_type *p = buf;
   47|    673|    const char_type* last = buf+255;
   48|       |
   49|    673|    bool is_negative = value < 0;
   50|       |
   51|    673|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 673]
  ------------------
   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|    673|    else
   60|    673|    {
   61|       |
   62|    673|        do
   63|  4.21k|        {
   64|  4.21k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  4.21k|        }
   66|  4.21k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 3.54k, False: 673]
  |  Branch (66:33): [True: 3.54k, False: 0]
  ------------------
   67|    673|    }
   68|    673|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|    673|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 673]
  |  |  ------------------
  |  |   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|    673|    std::size_t count = (p - buf);
   71|    673|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 673]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  4.89k|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 4.21k, False: 673]
  ------------------
   77|  4.21k|    {
   78|  4.21k|        result.push_back(*p);
   79|  4.21k|    }
   80|       |
   81|    673|    return count;
   82|    673|}
_ZN8jsoncons14integer_to_hexImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   89|   116k|{
   90|   116k|    using char_type = typename Result::value_type;
   91|       |
   92|   116k|    char_type buf[255];
   93|   116k|    char_type *p = buf;
   94|   116k|    const char_type* last = buf+255;
   95|       |
   96|   116k|    bool is_negative = value < 0;
   97|       |
   98|   116k|    if (value < 0)
  ------------------
  |  Branch (98:9): [True: 0, False: 116k]
  ------------------
   99|      0|    {
  100|      0|        do
  101|      0|        {
  102|      0|            *p++ = to_hex_character(0-(value % 16));
  103|      0|        }
  104|      0|        while ((value /= 16) && (p < last));
  ------------------
  |  Branch (104:16): [True: 0, False: 0]
  |  Branch (104:33): [True: 0, False: 0]
  ------------------
  105|      0|    }
  106|   116k|    else
  107|   116k|    {
  108|       |
  109|   116k|        do
  110|   225k|        {
  111|   225k|            *p++ = to_hex_character(value % 16);
  112|   225k|        }
  113|   225k|        while ((value /= 16) && (p < last));
  ------------------
  |  Branch (113:16): [True: 109k, False: 116k]
  |  Branch (113:33): [True: 109k, False: 0]
  ------------------
  114|   116k|    }
  115|   116k|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|   116k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 116k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  116|       |
  117|   116k|    std::size_t count = (p - buf);
  118|   116k|    if (is_negative)
  ------------------
  |  Branch (118:9): [True: 0, False: 116k]
  ------------------
  119|      0|    {
  120|      0|        result.push_back('-');
  121|      0|        ++count;
  122|      0|    }
  123|   341k|    while (--p >= buf)
  ------------------
  |  Branch (123:12): [True: 225k, False: 116k]
  ------------------
  124|   225k|    {
  125|   225k|        result.push_back(*p);
  126|   225k|    }
  127|       |
  128|   116k|    return count;
  129|   116k|}
_ZN8jsoncons16to_hex_characterEh:
   33|   225k|{
   34|   225k|    return (char)((c < 10) ? ('0' + c) : ('A' - 10 + c));
  ------------------
  |  Branch (34:19): [True: 222k, False: 2.46k]
  ------------------
   35|   225k|}

_ZN8jsoncons4cbor6detail24min_length_for_stringrefEm:
   58|  7.13M|{
   59|  7.13M|    std::size_t n;
   60|  7.13M|    if (index <= 23)
  ------------------
  |  Branch (60:9): [True: 2.55M, False: 4.58M]
  ------------------
   61|  2.55M|    {
   62|  2.55M|        n = 3;
   63|  2.55M|    }
   64|  4.58M|    else if (index <= 255)
  ------------------
  |  Branch (64:14): [True: 1.81M, False: 2.76M]
  ------------------
   65|  1.81M|    {
   66|  1.81M|        n = 4;
   67|  1.81M|    }
   68|  2.76M|    else if (index <= 65535)
  ------------------
  |  Branch (68:14): [True: 2.57M, False: 194k]
  ------------------
   69|  2.57M|    {
   70|  2.57M|        n = 5;
   71|  2.57M|    }
   72|   194k|    else if (index <= 4294967295)
  ------------------
  |  Branch (72:14): [True: 194k, False: 0]
  ------------------
   73|   194k|    {
   74|   194k|        n = 7;
   75|   194k|    }
   76|      0|    else 
   77|      0|    {
   78|      0|        n = 11;
   79|      0|    }
   80|  7.13M|    return n;
   81|  7.13M|}

_ZN8jsoncons4cbor15make_error_codeENS0_9cbor_errcE:
   93|  3.38k|{
   94|  3.38k|    return std::error_code(static_cast<int>(e),cbor_error_category());
   95|  3.38k|}
_ZN8jsoncons4cbor19cbor_error_categoryEv:
   86|  3.38k|{
   87|  3.38k|  static cbor_error_category_impl instance;
   88|  3.38k|  return instance;
   89|  3.38k|}
_ZNK8jsoncons4cbor24cbor_error_category_impl7messageEi:
   47|  3.38k|    {
   48|  3.38k|        switch (static_cast<cbor_errc>(ev))
   49|  3.38k|        {
   50|  2.61k|            case cbor_errc::unexpected_eof:
  ------------------
  |  Branch (50:13): [True: 2.61k, False: 769]
  ------------------
   51|  2.61k|                return "Unexpected end of file";
   52|      0|            case cbor_errc::source_error:
  ------------------
  |  Branch (52:13): [True: 0, False: 3.38k]
  ------------------
   53|      0|                return "Source error";
   54|     28|            case cbor_errc::invalid_decimal_fraction:
  ------------------
  |  Branch (54:13): [True: 28, False: 3.35k]
  ------------------
   55|     28|                return "Invalid decimal fraction";
   56|     11|            case cbor_errc::invalid_bigfloat:
  ------------------
  |  Branch (56:13): [True: 11, False: 3.37k]
  ------------------
   57|     11|                return "Invalid bigfloat";
   58|    129|            case cbor_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (58:13): [True: 129, False: 3.25k]
  ------------------
   59|    129|                return "Illegal UTF-8 encoding in text string";
   60|      0|            case cbor_errc::too_many_items:
  ------------------
  |  Branch (60:13): [True: 0, False: 3.38k]
  ------------------
   61|      0|                return "Too many items were added to a CBOR map or array of known length";
   62|      0|            case cbor_errc::too_few_items:
  ------------------
  |  Branch (62:13): [True: 0, False: 3.38k]
  ------------------
   63|      0|                return "Too few items were added to a CBOR map or array of known length";
   64|      0|            case cbor_errc::number_too_large:
  ------------------
  |  Branch (64:13): [True: 0, False: 3.38k]
  ------------------
   65|      0|                return "Number exceeds implementation limits";
   66|     30|            case cbor_errc::stringref_too_large:
  ------------------
  |  Branch (66:13): [True: 30, False: 3.35k]
  ------------------
   67|     30|                return "stringref exceeds stringref map size";
   68|     13|            case cbor_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (68:13): [True: 13, False: 3.37k]
  ------------------
   69|     13|                return "Data item nesting exceeds limit in options";
   70|    376|            case cbor_errc::unknown_type:
  ------------------
  |  Branch (70:13): [True: 376, False: 3.00k]
  ------------------
   71|    376|                return "Unknown type in input";
   72|     52|            case cbor_errc::illegal_chunked_string:
  ------------------
  |  Branch (72:13): [True: 52, False: 3.33k]
  ------------------
   73|     52|                return "An illegal type was found while parsing an indefinite length string";
   74|     73|            case cbor_errc::bad_mdarray:
  ------------------
  |  Branch (74:13): [True: 73, False: 3.31k]
  ------------------
   75|     73|                return "Invalid multi-dimensional array.";
   76|     57|            case cbor_errc::bad_extents:
  ------------------
  |  Branch (76:13): [True: 57, False: 3.32k]
  ------------------
   77|     57|                return "Product of extents does not match number of elements.";
   78|      0|            default:
  ------------------
  |  Branch (78:13): [True: 0, False: 3.38k]
  ------------------
   79|      0|                return "Unknown CBOR parser error";
   80|  3.38k|        }
   81|  3.38k|    }

_ZNK8jsoncons4cbor19cbor_options_common17max_nesting_depthEv:
   33|  4.36k|    {
   34|  4.36k|        return max_nesting_depth_;
   35|  4.36k|    }
_ZN8jsoncons4cbor19cbor_decode_optionsC1Ev:
   42|  4.36k|    cbor_decode_options() = default;
_ZN8jsoncons4cbor19cbor_options_commonC2Ev:
   25|  4.36k|    cbor_options_common() = default;
_ZN8jsoncons4cbor19cbor_options_commonD2Ev:
   27|  4.36k|    virtual ~cbor_options_common() = default;

_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_19cbor_decode_optionsERKS7_:
  218|  4.36k|       : alloc_(alloc),
  219|  4.36k|         source_(std::forward<Sourceable>(source)),
  220|  4.36k|         max_nesting_depth_(options.max_nesting_depth()),
  221|  4.36k|         text_buffer_(alloc),
  222|  4.36k|         bytes_buffer_(alloc),
  223|  4.36k|         state_stack_(alloc),
  224|  4.36k|         stringref_map_stack_(alloc)
  225|  4.36k|    {
  226|  4.36k|        state_stack_.emplace_back(parse_mode::root,0);
  227|  4.36k|    }
_ZN8jsoncons4cbor11parse_stateC2ENS0_10parse_modeEmb:
   51|  13.0M|        : mode(mode), length(length), pop_stringref_map_stack(pop_stringref_map_stack)
   52|  13.0M|    {
   53|  13.0M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringD2Ev:
  134|  8.74M|        ~mapped_string() = default;
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  325|  3.38k|    {
  326|  3.38k|        return 0;
  327|  3.38k|    }
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  330|  3.38k|    {
  331|  3.38k|        return source_.position();
  332|  3.38k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEED2Ev:
  234|  4.36k|    ~basic_cbor_parser() = default;
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
  242|  4.36k|    {
  243|  4.36k|        more_ = true;
  244|  4.36k|        done_ = false;
  245|  4.36k|        text_buffer_.clear();
  246|  4.36k|        bytes_buffer_.clear();
  247|  4.36k|        raw_tag_ = 0;
  248|  4.36k|        state_stack_.clear();
  249|  4.36k|        state_stack_.emplace_back(parse_mode::root,0);
  250|  4.36k|        stringref_map_stack_.clear();
  251|  4.36k|        nesting_depth_ = 0;
  252|  4.36k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  345|  4.36k|    {
  346|   103M|        while (!done_ && more_)
  ------------------
  |  Branch (346:16): [True: 103M, False: 985]
  |  Branch (346:26): [True: 103M, False: 0]
  ------------------
  347|   103M|        {
  348|   103M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (348:21): [True: 103M, False: 0]
  ------------------
  349|   103M|            {
  350|  7.15k|                case parse_mode::multi_dim:
  ------------------
  |  Branch (350:17): [True: 7.15k, False: 103M]
  ------------------
  351|  7.15k|                {
  352|  7.15k|                    JSONCONS_ASSERT(!typed_array_stack_.empty());
  ------------------
  |  |   49|  7.15k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 7.15k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  353|  7.15k|                    typed_array_stack_.pop_back();
  354|  7.15k|                    state_stack_.pop_back();
  355|  7.15k|                    break;
  356|  7.15k|                }
  357|  32.6M|                case parse_mode::typed_array:
  ------------------
  |  Branch (357:17): [True: 32.6M, False: 70.7M]
  ------------------
  358|  32.6M|                {
  359|  32.6M|                    JSONCONS_ASSERT(!typed_array_stack_.empty());
  ------------------
  |  |   49|  32.6M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 32.6M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  360|  32.6M|                    read_typed_array_item(visitor, ec);
  361|  32.6M|                    auto iter = typed_array_stack_.back();
  362|  32.6M|                    if (iter->done())
  ------------------
  |  Branch (362:25): [True: 113k, False: 32.5M]
  ------------------
  363|   113k|                    {
  364|   113k|                        if (!is_multi_dim())
  ------------------
  |  Branch (364:29): [True: 106k, False: 6.50k]
  ------------------
  365|   106k|                        {
  366|   106k|                            typed_array_stack_.pop_back();
  367|   106k|                        }
  368|   113k|                        state_stack_.pop_back();
  369|   113k|                    }
  370|  32.6M|                    break;
  371|  32.6M|                }
  372|  8.22M|                case parse_mode::array:
  ------------------
  |  Branch (372:17): [True: 8.22M, False: 95.2M]
  ------------------
  373|  8.22M|                {
  374|  8.22M|                    if (is_multi_dim())
  ------------------
  |  Branch (374:25): [True: 85.7k, False: 8.13M]
  ------------------
  375|  85.7k|                    {
  376|  85.7k|                        JSONCONS_ASSERT(!typed_array_stack_.empty());
  ------------------
  |  |   49|  85.7k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 85.7k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  377|  85.7k|                        auto iter = typed_array_stack_.back();
  378|  85.7k|                        if (!iter->done())
  ------------------
  |  Branch (378:29): [True: 85.2k, False: 562]
  ------------------
  379|  85.2k|                        {
  380|  85.2k|                            iter->next(visitor, *this, ec);
  381|  85.2k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  85.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 56, False: 85.1k]
  |  |  ------------------
  ------------------
  382|     56|                            {
  383|     56|                                return;
  384|     56|                            }
  385|  85.2k|                        }
  386|    562|                        else
  387|    562|                        {
  388|    562|                            if (iter->count() != state_stack_.back().length)
  ------------------
  |  Branch (388:33): [True: 27, False: 535]
  ------------------
  389|     27|                            {
  390|       |                                //std::cout << state_stack_.back().index << "!=" << state_stack_.back().length << "\n";
  391|     27|                                ec = cbor_errc::bad_mdarray;
  392|     27|                                return;
  393|     27|                            }
  394|    535|                            end_classical_array_storage(ec);
  395|    535|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    535|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 535]
  |  |  ------------------
  ------------------
  396|      0|                            {
  397|      0|                                return;
  398|      0|                            }
  399|    535|                        }
  400|  85.7k|                    }
  401|  8.13M|                    else
  402|  8.13M|                    {
  403|  8.13M|                        if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (403:29): [True: 7.74M, False: 385k]
  ------------------
  404|  7.74M|                        {
  405|  7.74M|                            ++state_stack_.back().index;
  406|  7.74M|                            read_item(visitor, ec);
  407|  7.74M|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  7.74M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 520, False: 7.74M]
  |  |  ------------------
  ------------------
  408|    520|                            {
  409|    520|                                return;
  410|    520|                            }
  411|  7.74M|                        }
  412|   385k|                        else
  413|   385k|                        {
  414|   385k|                            end_array(visitor, ec);
  415|   385k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   385k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 385k]
  |  |  ------------------
  ------------------
  416|      0|                            {
  417|      0|                                return;
  418|      0|                            }
  419|   385k|                        }
  420|  8.13M|                    }
  421|  8.22M|                    break;
  422|  8.22M|                }
  423|  23.7M|                case parse_mode::indefinite_array:
  ------------------
  |  Branch (423:17): [True: 23.7M, False: 79.6M]
  ------------------
  424|  23.7M|                {
  425|  23.7M|                    if (is_multi_dim()) 
  ------------------
  |  Branch (425:25): [True: 92.5k, False: 23.6M]
  ------------------
  426|  92.5k|                    {
  427|  92.5k|                        JSONCONS_ASSERT(!typed_array_stack_.empty());
  ------------------
  |  |   49|  92.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 92.5k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  428|  92.5k|                        auto iter = typed_array_stack_.back();
  429|  92.5k|                        if (!iter->done())
  ------------------
  |  Branch (429:29): [True: 92.4k, False: 129]
  ------------------
  430|  92.4k|                        {
  431|  92.4k|                            iter->next(visitor, *this, ec);
  432|  92.4k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  92.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 32, False: 92.3k]
  |  |  ------------------
  ------------------
  433|     32|                            {
  434|     32|                                return;
  435|     32|                            }
  436|  92.4k|                        }
  437|    129|                        else
  438|    129|                        {
  439|    129|                            auto c = source_.peek();
  440|    129|                            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|    129|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 128]
  |  |  ------------------
  ------------------
  441|      1|                            {
  442|      1|                                ec = cbor_errc::unexpected_eof;
  443|      1|                                more_ = false;
  444|      1|                                return;
  445|      1|                            }
  446|    128|                            if (c.value == 0xff)
  ------------------
  |  Branch (446:33): [True: 111, False: 17]
  ------------------
  447|    111|                            {
  448|    111|                                source_.ignore(1);
  449|    111|                            }
  450|     17|                            else
  451|     17|                            {
  452|     17|                                ec = cbor_errc::bad_mdarray;
  453|     17|                                return;
  454|     17|                            }
  455|    111|                            end_classical_array_storage(ec);
  456|    111|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    111|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 111]
  |  |  ------------------
  ------------------
  457|      0|                            {
  458|      0|                                return;
  459|      0|                            }
  460|    111|                        }
  461|  92.5k|                    }
  462|  23.6M|                    else
  463|  23.6M|                    {
  464|  23.6M|                        auto c = source_.peek();
  465|  23.6M|                        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  23.6M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 562, False: 23.6M]
  |  |  ------------------
  ------------------
  466|    562|                        {
  467|    562|                            ec = cbor_errc::unexpected_eof;
  468|    562|                            more_ = false;
  469|    562|                            return;
  470|    562|                        }
  471|  23.6M|                        if (c.value == 0xff)
  ------------------
  |  Branch (471:29): [True: 294k, False: 23.4M]
  ------------------
  472|   294k|                        {
  473|   294k|                            source_.ignore(1);
  474|   294k|                            end_array(visitor, ec);
  475|   294k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   294k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 294k]
  |  |  ------------------
  ------------------
  476|      0|                            {
  477|      0|                                return;
  478|      0|                            }
  479|   294k|                        }
  480|  23.4M|                        else
  481|  23.4M|                        {
  482|  23.4M|                            read_item(visitor, ec);
  483|  23.4M|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  23.4M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 368, False: 23.4M]
  |  |  ------------------
  ------------------
  484|    368|                            {
  485|    368|                                return;
  486|    368|                            }
  487|  23.4M|                        }
  488|  23.6M|                    }
  489|  23.7M|                    break;
  490|  23.7M|                }
  491|  23.7M|                case parse_mode::map_key:
  ------------------
  |  Branch (491:17): [True: 15.7M, False: 87.7M]
  ------------------
  492|  15.7M|                {
  493|  15.7M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (493:25): [True: 3.86M, False: 11.8M]
  ------------------
  494|  3.86M|                    {
  495|  3.86M|                        ++state_stack_.back().index;
  496|  3.86M|                        state_stack_.back().mode = parse_mode::map_value;
  497|  3.86M|                        read_item(visitor, ec);
  498|  3.86M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.86M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 397, False: 3.86M]
  |  |  ------------------
  ------------------
  499|    397|                        {
  500|    397|                            return;
  501|    397|                        }
  502|  3.86M|                    }
  503|  11.8M|                    else
  504|  11.8M|                    {
  505|  11.8M|                        end_object(visitor, ec);
  506|  11.8M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  11.8M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 11.8M]
  |  |  ------------------
  ------------------
  507|      0|                        {
  508|      0|                            return;
  509|      0|                        }
  510|  11.8M|                    }
  511|  15.7M|                    break;
  512|  15.7M|                }
  513|  15.7M|                case parse_mode::map_value:
  ------------------
  |  Branch (513:17): [True: 3.84M, False: 99.6M]
  ------------------
  514|  3.84M|                {
  515|  3.84M|                    state_stack_.back().mode = parse_mode::map_key;
  516|  3.84M|                    read_item(visitor, ec);
  517|  3.84M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.84M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 399, False: 3.84M]
  |  |  ------------------
  ------------------
  518|    399|                    {
  519|    399|                        return;
  520|    399|                    }
  521|  3.84M|                    break;
  522|  3.84M|                }
  523|  9.71M|                case parse_mode::indefinite_map_key:
  ------------------
  |  Branch (523:17): [True: 9.71M, False: 93.7M]
  ------------------
  524|  9.71M|                {
  525|  9.71M|                    auto c = source_.peek();
  526|  9.71M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  9.71M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 281, False: 9.71M]
  |  |  ------------------
  ------------------
  527|    281|                    {
  528|    281|                        ec = cbor_errc::unexpected_eof;
  529|    281|                        more_ = false;
  530|    281|                        return;
  531|    281|                    }
  532|  9.71M|                    if (c.value == 0xff)
  ------------------
  |  Branch (532:25): [True: 276k, False: 9.43M]
  ------------------
  533|   276k|                    {
  534|   276k|                        source_.ignore(1);
  535|   276k|                        end_object(visitor, ec);
  536|   276k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   276k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 276k]
  |  |  ------------------
  ------------------
  537|      0|                        {
  538|      0|                            return;
  539|      0|                        }
  540|   276k|                    }
  541|  9.43M|                    else
  542|  9.43M|                    {
  543|  9.43M|                        state_stack_.back().mode = parse_mode::indefinite_map_value;
  544|  9.43M|                        read_item(visitor, ec);
  545|  9.43M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  9.43M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 148, False: 9.43M]
  |  |  ------------------
  ------------------
  546|    148|                        {
  547|    148|                            return;
  548|    148|                        }
  549|  9.43M|                    }
  550|  9.71M|                    break;
  551|  9.71M|                }
  552|  9.71M|                case parse_mode::indefinite_map_value:
  ------------------
  |  Branch (552:17): [True: 9.43M, False: 94.0M]
  ------------------
  553|  9.43M|                {
  554|  9.43M|                    state_stack_.back().mode = parse_mode::indefinite_map_key;
  555|  9.43M|                    read_item(visitor, ec);
  556|  9.43M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  9.43M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 481, False: 9.43M]
  |  |  ------------------
  ------------------
  557|    481|                    {
  558|    481|                        return;
  559|    481|                    }
  560|  9.43M|                    break;
  561|  9.43M|                }
  562|  9.43M|                case parse_mode::root:
  ------------------
  |  Branch (562:17): [True: 4.36k, False: 103M]
  ------------------
  563|  4.36k|                {
  564|  4.36k|                    state_stack_.back().mode = parse_mode::accept;
  565|  4.36k|                    read_item(visitor, ec);
  566|  4.36k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.36k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 94, False: 4.27k]
  |  |  ------------------
  ------------------
  567|     94|                    {
  568|     94|                        return;
  569|     94|                    }
  570|  4.27k|                    break;
  571|  4.36k|                }
  572|  4.27k|                case parse_mode::accept:
  ------------------
  |  Branch (572:17): [True: 985, False: 103M]
  ------------------
  573|    985|                {
  574|    985|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   49|    985|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 985]
  |  |  ------------------
  |  |   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|    985|                    state_stack_.clear();
  576|    985|                    more_ = false;
  577|    985|                    done_ = true;
  578|    985|                    visitor.flush();
  579|    985|                    break;
  580|    985|                }
  581|   103M|            }
  582|   103M|        }
  583|  4.36k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21read_typed_array_itemERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  586|  32.6M|    {
  587|  32.6M|        JSONCONS_ASSERT(!typed_array_stack_.empty());
  ------------------
  |  |   49|  32.6M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 32.6M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  588|  32.6M|        auto iter = typed_array_stack_.back();
  589|  32.6M|        if (!iter->done())
  ------------------
  |  Branch (589:13): [True: 32.6M, False: 0]
  ------------------
  590|  32.6M|        {
  591|  32.6M|            iter->next(visitor, *this, ec);
  592|  32.6M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  32.6M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 32.6M]
  |  |  ------------------
  ------------------
  593|      0|            {
  594|      0|                return;
  595|      0|            }
  596|  32.6M|            more_ = !cursor_mode_;
  597|  32.6M|        }
  598|  32.6M|    }
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12is_multi_dimEv:
  260|  32.1M|    {
  261|  32.1M|        return state_stack_.size() >=2 && state_stack_[state_stack_.size()-2].mode == parse_mode::multi_dim;
  ------------------
  |  Branch (261:16): [True: 32.1M, False: 0]
  |  Branch (261:43): [True: 184k, False: 31.9M]
  ------------------
  262|  32.1M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE27end_classical_array_storageERNS3_10error_codeE:
 1033|    646|    {
 1034|    646|        --nesting_depth_;
 1035|       |
 1036|    646|        more_ = !cursor_mode_;
 1037|    646|        if (level() == mark_level_)
  ------------------
  |  Branch (1037:13): [True: 0, False: 646]
  ------------------
 1038|      0|        {
 1039|      0|            more_ = false;
 1040|      0|        }
 1041|    646|        if (state_stack_.back().pop_stringref_map_stack)
  ------------------
  |  Branch (1041:13): [True: 79, False: 567]
  ------------------
 1042|     79|        {
 1043|     79|            stringref_map_stack_.pop_back();
 1044|     79|        }
 1045|    646|        state_stack_.pop_back();
 1046|    646|    }
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5levelEv:
  300|  12.8M|    {
  301|  12.8M|        return static_cast<int>(state_stack_.size());
  302|  12.8M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_itemERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  601|  57.8M|    {
  602|  57.8M|        read_tags(ec);
  603|  57.8M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  57.8M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.16k, False: 57.8M]
  |  |  ------------------
  ------------------
  604|  1.16k|        {
  605|  1.16k|            return;
  606|  1.16k|        }
  607|  57.8M|        auto c = source_.peek();
  608|  57.8M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  57.8M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 57.8M]
  |  |  ------------------
  ------------------
  609|      0|        {
  610|      0|            ec = cbor_errc::unexpected_eof;
  611|      0|            more_ = false;
  612|      0|            return;
  613|      0|        }
  614|  57.8M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
  615|  57.8M|        uint8_t info = get_additional_information_value(c.value);
  616|       |
  617|  57.8M|        switch (major_type)
  618|  57.8M|        {
  619|  18.0M|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (619:13): [True: 18.0M, False: 39.7M]
  ------------------
  620|  18.0M|            {
  621|  18.0M|                uint64_t val = read_uint64(ec);
  622|  18.0M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  18.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 18.0M]
  |  |  ------------------
  ------------------
  623|      0|                {
  624|      0|                    return;
  625|      0|                }
  626|  18.0M|                if (!stringref_map_stack_.empty() && other_tags_[stringref_tag])
  ------------------
  |  Branch (626:21): [True: 5.81M, False: 12.2M]
  |  Branch (626:21): [True: 67.4k, False: 18.0M]
  |  Branch (626:54): [True: 67.4k, False: 5.74M]
  ------------------
  627|  67.4k|                {
  628|  67.4k|                    other_tags_[stringref_tag] = false;
  629|  67.4k|                    if (val >= stringref_map_stack_.back().size())
  ------------------
  |  Branch (629:25): [True: 30, False: 67.4k]
  ------------------
  630|     30|                    {
  631|     30|                        ec = cbor_errc::stringref_too_large;
  632|     30|                        more_ = false;
  633|     30|                        return;
  634|     30|                    }
  635|  67.4k|                    auto index = static_cast<typename stringref_map::size_type>(val);
  636|  67.4k|                    if (index != val)
  ------------------
  |  Branch (636:25): [True: 0, False: 67.4k]
  ------------------
  637|      0|                    {
  638|      0|                        ec = cbor_errc::number_too_large;
  639|      0|                        more_ = false;
  640|      0|                        return;
  641|      0|                    }
  642|  67.4k|                    auto& str = stringref_map_stack_.back().at(index);
  643|  67.4k|                    switch (str.type)
  644|  67.4k|                    {
  645|    878|                        case jsoncons::cbor::detail::cbor_major_type::text_string:
  ------------------
  |  Branch (645:25): [True: 878, False: 66.5k]
  ------------------
  646|    878|                        {
  647|    878|                            handle_string(visitor, jsoncons::string_view(str.str.data(),str.str.length()),ec);
  648|    878|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    878|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 878]
  |  |  ------------------
  ------------------
  649|      0|                            {
  650|      0|                                return;
  651|      0|                            }
  652|    878|                            break;
  653|    878|                        }
  654|  66.5k|                        case jsoncons::cbor::detail::cbor_major_type::byte_string:
  ------------------
  |  Branch (654:25): [True: 66.5k, False: 878]
  ------------------
  655|  66.5k|                        {
  656|  66.5k|                            read_byte_string_from_buffer read(byte_string_view(str.bytes));
  657|  66.5k|                            read_byte_string(read, visitor, ec);
  658|  66.5k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  66.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 66.5k]
  |  |  ------------------
  ------------------
  659|      0|                            {
  660|      0|                                return;
  661|      0|                            }
  662|  66.5k|                            break;
  663|  66.5k|                        }
  664|  66.5k|                        default:
  ------------------
  |  Branch (664:25): [True: 0, False: 67.4k]
  ------------------
  665|      0|                            JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
  666|      0|                            break;
  667|  67.4k|                    }
  668|  67.4k|                }
  669|  18.0M|                else
  670|  18.0M|                {
  671|  18.0M|                    semantic_tag tag = semantic_tag::none;
  672|  18.0M|                    if (other_tags_[item_tag])
  ------------------
  |  Branch (672:25): [True: 65.1k, False: 17.9M]
  ------------------
  673|  65.1k|                    {
  674|  65.1k|                        if (raw_tag_ == 1)
  ------------------
  |  Branch (674:29): [True: 1.37k, False: 63.7k]
  ------------------
  675|  1.37k|                        {
  676|  1.37k|                            tag = semantic_tag::epoch_second;
  677|  1.37k|                        }
  678|  65.1k|                        other_tags_[item_tag] = false;
  679|  65.1k|                    }
  680|  18.0M|                    visitor.uint64_value(val, tag, *this, ec);
  681|  18.0M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  18.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 18.0M]
  |  |  ------------------
  ------------------
  682|      0|                    {
  683|      0|                        return;
  684|      0|                    }
  685|  18.0M|                    more_ = !cursor_mode_;
  686|  18.0M|                }
  687|  18.0M|                break;
  688|  18.0M|            }
  689|  18.0M|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (689:13): [True: 4.82M, False: 53.0M]
  ------------------
  690|  4.82M|            {
  691|  4.82M|                int64_t val = read_int64(ec);
  692|  4.82M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.82M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 19, False: 4.82M]
  |  |  ------------------
  ------------------
  693|     19|                {
  694|     19|                    return;
  695|     19|                }
  696|  4.82M|                semantic_tag tag = semantic_tag::none;
  697|  4.82M|                if (other_tags_[item_tag])
  ------------------
  |  Branch (697:21): [True: 12.8k, False: 4.81M]
  ------------------
  698|  12.8k|                {
  699|  12.8k|                    if (raw_tag_ == 1)
  ------------------
  |  Branch (699:25): [True: 498, False: 12.3k]
  ------------------
  700|    498|                    {
  701|    498|                        tag = semantic_tag::epoch_second;
  702|    498|                    }
  703|  12.8k|                    other_tags_[item_tag] = false;
  704|  12.8k|                }
  705|  4.82M|                visitor.int64_value(val, tag, *this, ec);
  706|  4.82M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.82M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 4.82M]
  |  |  ------------------
  ------------------
  707|      0|                {
  708|      0|                    return;
  709|      0|                }
  710|  4.82M|                more_ = !cursor_mode_;
  711|  4.82M|                break;
  712|  4.82M|            }
  713|  13.1M|            case jsoncons::cbor::detail::cbor_major_type::byte_string:
  ------------------
  |  Branch (713:13): [True: 13.1M, False: 44.6M]
  ------------------
  714|  13.1M|            {
  715|  13.1M|                read_byte_string_from_source read(this);
  716|  13.1M|                read_byte_string(read, visitor, ec);
  717|  13.1M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  13.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 230, False: 13.1M]
  |  |  ------------------
  ------------------
  718|    230|                {
  719|    230|                    return;
  720|    230|                }
  721|  13.1M|                break;
  722|  13.1M|            }
  723|  13.1M|            case jsoncons::cbor::detail::cbor_major_type::text_string:
  ------------------
  |  Branch (723:13): [True: 2.34M, False: 55.4M]
  ------------------
  724|  2.34M|            {
  725|  2.34M|                auto sv = read_text_string_view(ec);
  726|  2.34M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.34M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 188, False: 2.34M]
  |  |  ------------------
  ------------------
  727|    188|                {
  728|    188|                    return;
  729|    188|                }
  730|  2.34M|                auto result = unicode_traits::validate(sv.data(),sv.size());
  731|  2.34M|                if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (731:21): [True: 129, False: 2.34M]
  ------------------
  732|    129|                {
  733|    129|                    ec = cbor_errc::invalid_utf8_text_string;
  734|    129|                    more_ = false;
  735|    129|                    return;
  736|    129|                }
  737|  2.34M|                handle_string(visitor, sv, ec);
  738|  2.34M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.34M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.34M]
  |  |  ------------------
  ------------------
  739|      0|                {
  740|      0|                    return;
  741|      0|                }
  742|  2.34M|                break;
  743|  2.34M|            }
  744|  2.34M|            case jsoncons::cbor::detail::cbor_major_type::semantic_tag:
  ------------------
  |  Branch (744:13): [True: 0, False: 57.8M]
  ------------------
  745|      0|            {
  746|      0|                JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
  747|      0|                break;
  748|  2.34M|            }
  749|  5.52M|            case jsoncons::cbor::detail::cbor_major_type::simple:
  ------------------
  |  Branch (749:13): [True: 5.52M, False: 52.2M]
  ------------------
  750|  5.52M|            {
  751|  5.52M|                switch (info)
  752|  5.52M|                {
  753|  3.22M|                    case 0x14:
  ------------------
  |  Branch (753:21): [True: 3.22M, False: 2.29M]
  ------------------
  754|  3.22M|                        visitor.bool_value(false, semantic_tag::none, *this, ec);
  755|  3.22M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.22M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 3.22M]
  |  |  ------------------
  ------------------
  756|      0|                        {
  757|      0|                            return;
  758|      0|                        }
  759|  3.22M|                        more_ = !cursor_mode_;
  760|  3.22M|                        source_.ignore(1);
  761|  3.22M|                        break;
  762|   840k|                    case 0x15:
  ------------------
  |  Branch (762:21): [True: 840k, False: 4.68M]
  ------------------
  763|   840k|                        visitor.bool_value(true, semantic_tag::none, *this, ec);
  764|   840k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   840k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 840k]
  |  |  ------------------
  ------------------
  765|      0|                        {
  766|      0|                            return;
  767|      0|                        }
  768|   840k|                        more_ = !cursor_mode_;
  769|   840k|                        source_.ignore(1);
  770|   840k|                        break;
  771|  1.28M|                    case 0x16:
  ------------------
  |  Branch (771:21): [True: 1.28M, False: 4.23M]
  ------------------
  772|  1.28M|                        visitor.null_value(semantic_tag::none, *this, ec);
  773|  1.28M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.28M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.28M]
  |  |  ------------------
  ------------------
  774|      0|                        {
  775|      0|                            return;
  776|      0|                        }
  777|  1.28M|                        more_ = !cursor_mode_;
  778|  1.28M|                        source_.ignore(1);
  779|  1.28M|                        break;
  780|  71.2k|                    case 0x17:
  ------------------
  |  Branch (780:21): [True: 71.2k, False: 5.45M]
  ------------------
  781|  71.2k|                        visitor.null_value(semantic_tag::undefined, *this, ec);
  782|  71.2k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  71.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 71.2k]
  |  |  ------------------
  ------------------
  783|      0|                        {
  784|      0|                            return;
  785|      0|                        }
  786|  71.2k|                        more_ = !cursor_mode_;
  787|  71.2k|                        source_.ignore(1);
  788|  71.2k|                        break;
  789|  77.4k|                    case 0x19: // Half-Precision Float (two-byte IEEE 754)
  ------------------
  |  Branch (789:21): [True: 77.4k, False: 5.45M]
  ------------------
  790|  77.4k|                    {
  791|  77.4k|                        uint64_t val = read_uint64(ec);
  792|  77.4k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  77.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 77.4k]
  |  |  ------------------
  ------------------
  793|      0|                        {
  794|      0|                            return;
  795|      0|                        }
  796|  77.4k|                        visitor.half_value(static_cast<uint16_t>(val), semantic_tag::none, *this, ec);
  797|  77.4k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  77.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 77.4k]
  |  |  ------------------
  ------------------
  798|      0|                        {
  799|      0|                            return;
  800|      0|                        }
  801|  77.4k|                        more_ = !cursor_mode_;
  802|  77.4k|                        break;
  803|  77.4k|                    }
  804|  12.9k|                    case 0x1a: // Single-Precision Float (four-byte IEEE 754)
  ------------------
  |  Branch (804:21): [True: 12.9k, False: 5.51M]
  ------------------
  805|  20.9k|                    case 0x1b: // Double-Precision Float (eight-byte IEEE 754)
  ------------------
  |  Branch (805:21): [True: 8.06k, False: 5.52M]
  ------------------
  806|  20.9k|                    {
  807|  20.9k|                        double val = read_double(ec);
  808|  20.9k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  20.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 53, False: 20.9k]
  |  |  ------------------
  ------------------
  809|     53|                        {
  810|     53|                            return;
  811|     53|                        }
  812|  20.9k|                        semantic_tag tag = semantic_tag::none;
  813|  20.9k|                        if (other_tags_[item_tag])
  ------------------
  |  Branch (813:29): [True: 2.65k, False: 18.2k]
  ------------------
  814|  2.65k|                        {
  815|  2.65k|                            if (raw_tag_ == 1)
  ------------------
  |  Branch (815:33): [True: 1.51k, False: 1.13k]
  ------------------
  816|  1.51k|                            {
  817|  1.51k|                                tag = semantic_tag::epoch_second;
  818|  1.51k|                            }
  819|  2.65k|                            other_tags_[item_tag] = false;
  820|  2.65k|                        }
  821|  20.9k|                        visitor.double_value(val, tag, *this, ec);
  822|  20.9k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  20.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 20.9k]
  |  |  ------------------
  ------------------
  823|      0|                        {
  824|      0|                            return;
  825|      0|                        }
  826|  20.9k|                        more_ = !cursor_mode_;
  827|  20.9k|                        break;
  828|  20.9k|                    }
  829|    376|                    default:
  ------------------
  |  Branch (829:21): [True: 376, False: 5.52M]
  ------------------
  830|    376|                    {
  831|    376|                        ec = cbor_errc::unknown_type;
  832|    376|                        more_ = false;
  833|    376|                        return;
  834|  20.9k|                    }
  835|  5.52M|                }
  836|  5.52M|                break;
  837|  5.52M|            }
  838|  5.52M|            case jsoncons::cbor::detail::cbor_major_type::array:
  ------------------
  |  Branch (838:13): [True: 1.70M, False: 56.1M]
  ------------------
  839|  1.70M|            {
  840|  1.70M|                if (other_tags_[item_tag])
  ------------------
  |  Branch (840:21): [True: 995k, False: 713k]
  ------------------
  841|   995k|                {
  842|   995k|                    switch (raw_tag_)
  843|   995k|                    {
  844|   845k|                        case 0x04:
  ------------------
  |  Branch (844:25): [True: 845k, False: 150k]
  ------------------
  845|   845k|                            text_buffer_.clear();
  846|   845k|                            read_decimal_fraction(text_buffer_, ec);
  847|   845k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   845k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 75, False: 845k]
  |  |  ------------------
  ------------------
  848|     75|                            {
  849|     75|                                return;
  850|     75|                            }
  851|   845k|                            visitor.string_value(text_buffer_, semantic_tag::bigdec, *this, ec);
  852|   845k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   845k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 845k]
  |  |  ------------------
  ------------------
  853|      0|                            {
  854|      0|                                return;
  855|      0|                            }
  856|   845k|                            more_ = !cursor_mode_;
  857|   845k|                            break;
  858|   110k|                        case 0x05:
  ------------------
  |  Branch (858:25): [True: 110k, False: 885k]
  ------------------
  859|   110k|                            text_buffer_.clear();
  860|   110k|                            read_bigfloat(text_buffer_, ec);
  861|   110k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   110k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 50, False: 110k]
  |  |  ------------------
  ------------------
  862|     50|                            {
  863|     50|                                return;
  864|     50|                            }
  865|   110k|                            visitor.string_value(text_buffer_, semantic_tag::bigfloat, *this, ec);
  866|   110k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   110k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 110k]
  |  |  ------------------
  ------------------
  867|      0|                            {
  868|      0|                                return;
  869|      0|                            }
  870|   110k|                            more_ = !cursor_mode_;
  871|   110k|                            break;
  872|  9.23k|                        case 40: // row-major storage
  ------------------
  |  Branch (872:25): [True: 9.23k, False: 986k]
  ------------------
  873|  9.23k|                            order_ = mdarray_order::row_major;
  874|  9.23k|                            read_mdarray_header(visitor, ec);
  875|  9.23k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  9.23k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 139, False: 9.09k]
  |  |  ------------------
  ------------------
  876|    139|                            {
  877|    139|                                return;
  878|    139|                            }
  879|  9.09k|                            break;
  880|  9.09k|                        case 1040: // column-major storage
  ------------------
  |  Branch (880:25): [True: 1.13k, False: 994k]
  ------------------
  881|  1.13k|                            order_ = mdarray_order::column_major;
  882|  1.13k|                            read_mdarray_header(visitor, ec);
  883|  1.13k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.13k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 28, False: 1.11k]
  |  |  ------------------
  ------------------
  884|     28|                            {
  885|     28|                                return;
  886|     28|                            }
  887|  1.11k|                            break;
  888|  29.3k|                        default:
  ------------------
  |  Branch (888:25): [True: 29.3k, False: 966k]
  ------------------
  889|  29.3k|                            begin_array(visitor, info, ec);
  890|  29.3k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  29.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 29.3k]
  |  |  ------------------
  ------------------
  891|      1|                            {
  892|      1|                                return;
  893|      1|                            }
  894|  29.3k|                            break;
  895|   995k|                    }
  896|   995k|                    other_tags_[item_tag] = false;
  897|   995k|                }
  898|   713k|                else
  899|   713k|                {
  900|   713k|                    begin_array(visitor, info, ec);
  901|   713k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   713k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 8, False: 713k]
  |  |  ------------------
  ------------------
  902|      8|                    {
  903|      8|                        return;
  904|      8|                    }
  905|   713k|                }
  906|  1.70M|                break;
  907|  1.70M|            }
  908|  12.1M|            case jsoncons::cbor::detail::cbor_major_type::map:
  ------------------
  |  Branch (908:13): [True: 12.1M, False: 45.6M]
  ------------------
  909|  12.1M|            {
  910|  12.1M|                begin_object(visitor, info, ec);
  911|  12.1M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  12.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 8, False: 12.1M]
  |  |  ------------------
  ------------------
  912|      8|                {
  913|      8|                    return;
  914|      8|                }
  915|  12.1M|                break;
  916|  12.1M|            }
  917|  12.1M|            default:
  ------------------
  |  Branch (917:13): [True: 0, False: 57.8M]
  ------------------
  918|      0|                break;
  919|  57.8M|        }
  920|  57.8M|        other_tags_[item_tag] = false;
  921|  57.8M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_tagsERNS3_10error_codeE:
 1904|  57.8M|    {
 1905|  57.8M|        auto c = source_.peek();
 1906|  57.8M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  57.8M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 968, False: 57.8M]
  |  |  ------------------
  ------------------
 1907|    968|        {
 1908|    968|            ec = cbor_errc::unexpected_eof;
 1909|    968|            more_ = false;
 1910|    968|            return;
 1911|    968|        }
 1912|  57.8M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1913|       |
 1914|  60.6M|        while (major_type == jsoncons::cbor::detail::cbor_major_type::semantic_tag)
  ------------------
  |  Branch (1914:16): [True: 2.86M, False: 57.8M]
  ------------------
 1915|  2.86M|        {
 1916|  2.86M|            uint64_t val = read_uint64(ec);
 1917|  2.86M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.86M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 55, False: 2.86M]
  |  |  ------------------
  ------------------
 1918|     55|            {
 1919|     55|                return;
 1920|     55|            }
 1921|  2.86M|            switch(val)
 1922|  2.86M|            {
 1923|  94.3k|                case 25: // stringref
  ------------------
  |  Branch (1923:17): [True: 94.3k, False: 2.76M]
  ------------------
 1924|  94.3k|                    other_tags_[stringref_tag] = true;
 1925|  94.3k|                    break;
 1926|  5.47k|                case 256: // stringref-namespace
  ------------------
  |  Branch (1926:17): [True: 5.47k, False: 2.85M]
  ------------------
 1927|  5.47k|                    other_tags_[stringref_namespace_tag] = true;
 1928|  5.47k|                    break;
 1929|  2.76M|                default:
  ------------------
  |  Branch (1929:17): [True: 2.76M, False: 99.8k]
  ------------------
 1930|  2.76M|                    other_tags_[item_tag] = true;
 1931|  2.76M|                    raw_tag_ = val;
 1932|  2.76M|                    break;
 1933|  2.86M|            }
 1934|  2.86M|            c = source_.peek();
 1935|  2.86M|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  2.86M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 146, False: 2.86M]
  |  |  ------------------
  ------------------
 1936|    146|            {
 1937|    146|                ec = cbor_errc::unexpected_eof;
 1938|    146|                more_ = false;
 1939|    146|                return;
 1940|    146|            }
 1941|  2.86M|            major_type = get_major_type(c.value);
 1942|  2.86M|        }
 1943|  57.8M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE14get_major_typeEh:
 1890|   143M|    {
 1891|   143M|        static constexpr uint8_t major_type_shift = 0x05;
 1892|   143M|        uint8_t value = type >> major_type_shift;
 1893|   143M|        return static_cast<jsoncons::cbor::detail::cbor_major_type>(value);
 1894|   143M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE32get_additional_information_valueEh:
 1897|   132M|    {
 1898|   132M|        static constexpr uint8_t additional_information_mask = (1U << 5) - 1;
 1899|   132M|        uint8_t value = type & additional_information_mask;
 1900|   132M|        return value;
 1901|   132M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_uint64ERNS3_10error_codeE:
 1364|  52.3M|    {
 1365|  52.3M|        uint64_t val = 0;
 1366|       |
 1367|  52.3M|        uint8_t initial_b;
 1368|  52.3M|        if (source_.read(&initial_b, 1) == 0)
  ------------------
  |  Branch (1368:13): [True: 28, False: 52.3M]
  ------------------
 1369|     28|        {
 1370|     28|            ec = cbor_errc::unexpected_eof;
 1371|     28|            more_ = false;
 1372|     28|            return 0;
 1373|     28|        }
 1374|  52.3M|        uint8_t info = get_additional_information_value(initial_b);
 1375|  52.3M|        switch (info)
 1376|  52.3M|        {
 1377|  31.6M|            case JSONCONS_EXT_CBOR_0x00_0x17: // Integer 0x00..0x17 (0..23)
  ------------------
  |  |   18|  31.6M|    0x00:case 0x01:case 0x02:case 0x03:case 0x04:case 0x05:case 0x06:case 0x07:case 0x08:case 0x09:case 0x0a:case 0x0b:case 0x0c:case 0x0d:case 0x0e:case 0x0f:case 0x10:case 0x11:case 0x12:case 0x13:case 0x14:case 0x15:case 0x16:case 0x17
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 1.16M, False: 51.2M]
  |  |  |  Branch (18:20): [True: 1.19M, False: 51.1M]
  |  |  |  Branch (18:30): [True: 51.1k, False: 52.3M]
  |  |  |  Branch (18:40): [True: 933k, False: 51.4M]
  |  |  |  Branch (18:50): [True: 4.37M, False: 48.0M]
  |  |  |  Branch (18:60): [True: 39.6k, False: 52.3M]
  |  |  |  Branch (18:70): [True: 26.6k, False: 52.3M]
  |  |  |  Branch (18:80): [True: 421k, False: 51.9M]
  |  |  |  Branch (18:90): [True: 308k, False: 52.0M]
  |  |  |  Branch (18:100): [True: 154k, False: 52.2M]
  |  |  |  Branch (18:110): [True: 51.9k, False: 52.3M]
  |  |  |  Branch (18:120): [True: 29.9k, False: 52.3M]
  |  |  |  Branch (18:130): [True: 15.7k, False: 52.3M]
  |  |  |  Branch (18:140): [True: 18.4k, False: 52.3M]
  |  |  |  Branch (18:150): [True: 14.6k, False: 52.3M]
  |  |  |  Branch (18:160): [True: 28.7k, False: 52.3M]
  |  |  |  Branch (18:170): [True: 72.2k, False: 52.3M]
  |  |  |  Branch (18:180): [True: 20.6k, False: 52.3M]
  |  |  |  Branch (18:190): [True: 24.0k, False: 52.3M]
  |  |  |  Branch (18:200): [True: 62.9k, False: 52.3M]
  |  |  |  Branch (18:210): [True: 412k, False: 51.9M]
  |  |  |  Branch (18:220): [True: 34.1k, False: 52.3M]
  |  |  ------------------
  ------------------
  |  Branch (1377:13): [True: 22.1M, False: 30.1M]
  ------------------
 1378|  31.6M|            {
 1379|  31.6M|                val = info;
 1380|  31.6M|                break;
 1381|   653M|            }
 1382|       |
 1383|   367k|            case 0x18: // Unsigned integer (one-byte uint8_t follows)
  ------------------
  |  Branch (1383:13): [True: 367k, False: 52.0M]
  ------------------
 1384|   367k|            {
 1385|   367k|                uint8_t b;
 1386|   367k|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1386:21): [True: 71, False: 367k]
  ------------------
 1387|     71|                {
 1388|     71|                    ec = cbor_errc::unexpected_eof;
 1389|     71|                    more_ = false;
 1390|     71|                    return val;
 1391|     71|                }
 1392|   367k|                val = b;
 1393|   367k|                break;
 1394|   367k|            }
 1395|       |
 1396|   120k|            case 0x19: // Unsigned integer (two-byte uint16_t follows)
  ------------------
  |  Branch (1396:13): [True: 120k, False: 52.2M]
  ------------------
 1397|   120k|            {
 1398|   120k|                uint8_t buf[sizeof(uint16_t)];
 1399|   120k|                source_.read(buf, sizeof(uint16_t));
 1400|   120k|                val = binary::big_to_native<uint16_t>(buf, sizeof(buf));
 1401|   120k|                break;
 1402|   367k|            }
 1403|       |
 1404|  7.30k|            case 0x1a: // Unsigned integer (four-byte uint32_t follows)
  ------------------
  |  Branch (1404:13): [True: 7.30k, False: 52.3M]
  ------------------
 1405|  7.30k|            {
 1406|  7.30k|                uint8_t buf[sizeof(uint32_t)];
 1407|  7.30k|                source_.read(buf, sizeof(uint32_t));
 1408|  7.30k|                val = binary::big_to_native<uint32_t>(buf, sizeof(buf));
 1409|  7.30k|                break;
 1410|   367k|            }
 1411|       |
 1412|  8.55k|            case 0x1b: // Unsigned integer (eight-byte uint64_t follows)
  ------------------
  |  Branch (1412:13): [True: 8.55k, False: 52.3M]
  ------------------
 1413|  8.55k|            {
 1414|  8.55k|                uint8_t buf[sizeof(uint64_t)];
 1415|  8.55k|                source_.read(buf, sizeof(uint64_t));
 1416|  8.55k|                val = binary::big_to_native<uint64_t>(buf, sizeof(buf));
 1417|  8.55k|                break;
 1418|   367k|            }
 1419|  20.1M|            default:
  ------------------
  |  Branch (1419:13): [True: 20.1M, False: 32.1M]
  ------------------
 1420|  20.1M|                break;
 1421|  52.3M|        }
 1422|  52.3M|        return val;
 1423|  52.3M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13handle_stringERNS_21basic_generic_visitorIcEERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS3_10error_codeE:
 1946|  2.34M|    {
 1947|  2.34M|        semantic_tag tag = semantic_tag::none;
 1948|  2.34M|        if (other_tags_[item_tag])
  ------------------
  |  Branch (1948:13): [True: 3.01k, False: 2.34M]
  ------------------
 1949|  3.01k|        {
 1950|  3.01k|            switch (raw_tag_)
 1951|  3.01k|            {
 1952|    255|                case 0:
  ------------------
  |  Branch (1952:17): [True: 255, False: 2.76k]
  ------------------
 1953|    255|                    tag = semantic_tag::datetime;
 1954|    255|                    break;
 1955|    228|                case 32:
  ------------------
  |  Branch (1955:17): [True: 228, False: 2.79k]
  ------------------
 1956|    228|                    tag = semantic_tag::uri;
 1957|    228|                    break;
 1958|    380|                case 33:
  ------------------
  |  Branch (1958:17): [True: 380, False: 2.63k]
  ------------------
 1959|    380|                    tag = semantic_tag::base64url;
 1960|    380|                    break;
 1961|    238|                case 34:
  ------------------
  |  Branch (1961:17): [True: 238, False: 2.78k]
  ------------------
 1962|    238|                    tag = semantic_tag::base64;
 1963|    238|                    break;
 1964|  1.91k|                default:
  ------------------
  |  Branch (1964:17): [True: 1.91k, False: 1.10k]
  ------------------
 1965|  1.91k|                    break;
 1966|  3.01k|            }
 1967|  3.01k|            other_tags_[item_tag] = false;
 1968|  3.01k|        }
 1969|  2.34M|        visitor.string_value(v, tag, *this, ec);
 1970|  2.34M|        more_ = !cursor_mode_;
 1971|  2.34M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_bufferC2ERKNS_16byte_string_viewE:
  173|  66.5k|            : bytes(b)
  174|  66.5k|        {
  175|  66.5k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringINS8_28read_byte_string_from_bufferEEEvT_RNS_21basic_generic_visitorIcEERNS3_10error_codeE:
 1988|  66.5k|    {
 1989|  66.5k|        if (other_tags_[item_tag])
  ------------------
  |  Branch (1989:13): [True: 56.7k, False: 9.77k]
  ------------------
 1990|  56.7k|        {
 1991|  56.7k|            switch (raw_tag_)
 1992|  56.7k|            {
 1993|  4.81k|                case 0x2:
  ------------------
  |  Branch (1993:17): [True: 4.81k, False: 51.9k]
  ------------------
 1994|  4.81k|                {
 1995|  4.81k|                    auto bytes = read.view(ec);
 1996|  4.81k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.81k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 4.81k]
  |  |  ------------------
  ------------------
 1997|      0|                    {
 1998|      0|                        more_ = false;
 1999|      0|                        return;
 2000|      0|                    }
 2001|  4.81k|                    bigint n = bigint::from_bytes_be(1, bytes.data(), bytes.size());
 2002|  4.81k|                    text_buffer_.clear();
 2003|  4.81k|                    n.write_string(text_buffer_);
 2004|  4.81k|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 2005|  4.81k|                    more_ = !cursor_mode_;
 2006|  4.81k|                    break;
 2007|  4.81k|                }
 2008|  1.80k|                case 0x3:
  ------------------
  |  Branch (2008:17): [True: 1.80k, False: 54.9k]
  ------------------
 2009|  1.80k|                {
 2010|  1.80k|                    auto bytes = read.view(ec);
 2011|  1.80k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.80k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.80k]
  |  |  ------------------
  ------------------
 2012|      0|                    {
 2013|      0|                        more_ = false;
 2014|      0|                        return;
 2015|      0|                    }
 2016|  1.80k|                    bigint n = bigint::from_bytes_be(1, bytes.data(), bytes.size());
 2017|  1.80k|                    n = -1 - n;
 2018|  1.80k|                    text_buffer_.clear();
 2019|  1.80k|                    n.write_string(text_buffer_);
 2020|  1.80k|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 2021|  1.80k|                    more_ = !cursor_mode_;
 2022|  1.80k|                    break;
 2023|  1.80k|                }
 2024|    220|                case 0x15:
  ------------------
  |  Branch (2024:17): [True: 220, False: 56.5k]
  ------------------
 2025|    400|                case 0x16:
  ------------------
  |  Branch (2025:17): [True: 180, False: 56.5k]
  ------------------
 2026|    648|                case 0x17:
  ------------------
  |  Branch (2026:17): [True: 248, False: 56.5k]
  ------------------
 2027|    648|                {
 2028|    648|                    auto bytes = read.view(ec);
 2029|    648|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    648|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 648]
  |  |  ------------------
  ------------------
 2030|      0|                    {
 2031|      0|                        more_ = false;
 2032|      0|                        return;
 2033|      0|                    }
 2034|    648|                    const semantic_tag tag = raw_tag_ == 0x15 ? semantic_tag::base64url
  ------------------
  |  Branch (2034:46): [True: 220, False: 428]
  ------------------
 2035|    648|                        : raw_tag_ == 0x16 ? semantic_tag::base64
  ------------------
  |  Branch (2035:27): [True: 180, False: 248]
  ------------------
 2036|    428|                        : semantic_tag::base16;
 2037|    648|                    visitor.byte_string_value(bytes, tag, *this, ec);
 2038|    648|                    more_ = !cursor_mode_;
 2039|    648|                    break;
 2040|    648|                }
 2041|    610|                case 0x40:
  ------------------
  |  Branch (2041:17): [True: 610, False: 56.1k]
  ------------------
 2042|    610|                {
 2043|    610|                    array_tag_ = typed_array_tags::uint8;
 2044|    610|                    byte_string_type array_buffer(alloc_);
 2045|    610|                    read(array_buffer, ec);
 2046|    610|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    610|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 610]
  |  |  ------------------
  ------------------
 2047|      0|                    {
 2048|      0|                        more_ = false;
 2049|      0|                        return;
 2050|      0|                    }
 2051|    610|                    auto ta = typed_array_cast<const uint8_t>(array_buffer);
 2052|    610|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2052:25): [True: 610, False: 0]
  |  Branch (2052:42): [True: 0, False: 610]
  ------------------
 2053|      0|                    {
 2054|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2054:29): [True: 0, False: 0]
  ------------------
 2055|      0|                        {
 2056|      0|                            ec = cbor_errc::bad_extents;
 2057|      0|                            more_ = false;
 2058|      0|                            return;
 2059|      0|                        }
 2060|      0|                        auto iter = std::make_shared<mdarray_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2061|      0|                            typed_array_tags::uint8, extents_, order_);
 2062|      0|                        typed_array_stack_.push_back(iter);
 2063|      0|                        iter->next(visitor, *this, ec);
 2064|      0|                    }
 2065|    610|                    else
 2066|    610|                    {
 2067|    610|                        auto iter = std::make_shared<oned_typed_array_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2068|    610|                            typed_array_tags::uint8);
 2069|    610|                        typed_array_stack_.push_back(iter);
 2070|    610|                        iter->next(visitor, *this, ec);
 2071|    610|                    }
 2072|    610|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2073|    610|                    more_ = !cursor_mode_;
 2074|    610|                    break;
 2075|    610|                }
 2076|  2.70k|                case 0x44:
  ------------------
  |  Branch (2076:17): [True: 2.70k, False: 54.0k]
  ------------------
 2077|  2.70k|                {
 2078|  2.70k|                    array_tag_ = typed_array_tags::uint8;
 2079|  2.70k|                    typed_array_tag_ = semantic_tag::clamped;
 2080|  2.70k|                    byte_string_type array_buffer(alloc_);
 2081|  2.70k|                    read(array_buffer, ec);
 2082|  2.70k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.70k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.70k]
  |  |  ------------------
  ------------------
 2083|      0|                    {
 2084|      0|                        more_ = false;
 2085|      0|                        return;
 2086|      0|                    }
 2087|  2.70k|                    auto ta = typed_array_cast<const uint8_t>(array_buffer);
 2088|  2.70k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2088:25): [True: 2.70k, False: 0]
  |  Branch (2088:42): [True: 0, False: 2.70k]
  ------------------
 2089|      0|                    {
 2090|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2090:29): [True: 0, False: 0]
  ------------------
 2091|      0|                        {
 2092|      0|                            ec = cbor_errc::bad_extents;
 2093|      0|                            more_ = false;
 2094|      0|                            return;
 2095|      0|                        }
 2096|      0|                        auto iter = std::make_shared<mdarray_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2097|      0|                            typed_array_tags::uint8, extents_, order_);
 2098|      0|                        typed_array_stack_.push_back(iter);
 2099|      0|                        iter->next(visitor, *this, ec);
 2100|      0|                    }
 2101|  2.70k|                    else
 2102|  2.70k|                    {
 2103|  2.70k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2104|  2.70k|                            typed_array_tags::uint8, semantic_tag::clamped);
 2105|  2.70k|                        typed_array_stack_.push_back(iter);
 2106|  2.70k|                        iter->next(visitor, *this, ec);
 2107|  2.70k|                    }
 2108|  2.70k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2109|  2.70k|                    more_ = !cursor_mode_;
 2110|  2.70k|                    break;
 2111|  2.70k|                }
 2112|    284|                case 0x41:
  ------------------
  |  Branch (2112:17): [True: 284, False: 56.4k]
  ------------------
 2113|  1.67k|                case 0x45:
  ------------------
  |  Branch (2113:17): [True: 1.38k, False: 55.3k]
  ------------------
 2114|  1.67k|                {
 2115|  1.67k|                    array_tag_ = typed_array_tags::uint16;
 2116|  1.67k|                    byte_string_type array_buffer(alloc_);
 2117|  1.67k|                    read(array_buffer, ec);
 2118|  1.67k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.67k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.67k]
  |  |  ------------------
  ------------------
 2119|      0|                    {
 2120|      0|                        more_ = false;
 2121|      0|                        return;
 2122|      0|                    }
 2123|  1.67k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2124|  1.67k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2125|  1.67k|                    auto ta = typed_array_cast<uint16_t>(array_buffer);
 2126|  1.67k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2126:25): [True: 284, False: 1.38k]
  ------------------
 2127|    284|                    {
 2128|  50.8k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2128:49): [True: 50.5k, False: 284]
  ------------------
 2129|  50.5k|                        {
 2130|  50.5k|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 2131|  50.5k|                        }
 2132|    284|                    }
 2133|  1.67k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2133:25): [True: 1.67k, False: 0]
  |  Branch (2133:42): [True: 0, False: 1.67k]
  ------------------
 2134|      0|                    {
 2135|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2135:29): [True: 0, False: 0]
  ------------------
 2136|      0|                        {
 2137|      0|                            ec = cbor_errc::bad_extents;
 2138|      0|                            more_ = false;
 2139|      0|                            return;
 2140|      0|                        }
 2141|      0|                        auto iter = std::make_shared<mdarray_iterator<uint16_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2142|      0|                            typed_array_tags::uint16, extents_, order_);
 2143|      0|                        typed_array_stack_.push_back(iter);
 2144|      0|                        iter->next(visitor, *this, ec);
 2145|      0|                    }
 2146|  1.67k|                    else
 2147|  1.67k|                    {
 2148|  1.67k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint16_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2149|  1.67k|                            typed_array_tags::uint16);
 2150|  1.67k|                        typed_array_stack_.push_back(iter);
 2151|  1.67k|                        iter->next(visitor, *this, ec);
 2152|  1.67k|                    }
 2153|  1.67k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2154|  1.67k|                    more_ = !cursor_mode_;
 2155|  1.67k|                    break;
 2156|  1.67k|                }
 2157|    823|                case 0x42:
  ------------------
  |  Branch (2157:17): [True: 823, False: 55.9k]
  ------------------
 2158|  1.39k|                case 0x46:
  ------------------
  |  Branch (2158:17): [True: 570, False: 56.2k]
  ------------------
 2159|  1.39k|                {
 2160|  1.39k|                    array_tag_ = typed_array_tags::uint32;
 2161|  1.39k|                    byte_string_type array_buffer(alloc_);
 2162|  1.39k|                    read(array_buffer, ec);
 2163|  1.39k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.39k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.39k]
  |  |  ------------------
  ------------------
 2164|      0|                    {
 2165|      0|                        more_ = false;
 2166|      0|                        return;
 2167|      0|                    }
 2168|  1.39k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2169|  1.39k|                    jsoncons::endian e = get_typed_array_endianness(tag);
 2170|  1.39k|                    auto ta = typed_array_cast<uint32_t>(array_buffer);
 2171|  1.39k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2171:25): [True: 823, False: 570]
  ------------------
 2172|    823|                    {
 2173|   267k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2173:49): [True: 266k, False: 823]
  ------------------
 2174|   266k|                        {
 2175|   266k|                            ta[i] = binary::byte_swap<uint32_t>(ta[i]);
 2176|   266k|                        }
 2177|    823|                    }
 2178|  1.39k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2178:25): [True: 1.39k, False: 0]
  |  Branch (2178:42): [True: 0, False: 1.39k]
  ------------------
 2179|      0|                    {
 2180|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2180:29): [True: 0, False: 0]
  ------------------
 2181|      0|                        {
 2182|      0|                            ec = cbor_errc::bad_extents;
 2183|      0|                            more_ = false;
 2184|      0|                            return;
 2185|      0|                        }
 2186|      0|                        auto iter = std::make_shared<mdarray_iterator<uint32_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2187|      0|                            typed_array_tags::uint32, extents_, order_);
 2188|      0|                        typed_array_stack_.push_back(iter);
 2189|      0|                        iter->next(visitor, *this, ec);
 2190|      0|                    }
 2191|  1.39k|                    else
 2192|  1.39k|                    {
 2193|  1.39k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint32_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2194|  1.39k|                            typed_array_tags::uint32);
 2195|  1.39k|                        typed_array_stack_.push_back(iter);
 2196|  1.39k|                        iter->next(visitor, *this, ec);
 2197|  1.39k|                    }
 2198|  1.39k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2199|  1.39k|                    more_ = !cursor_mode_;
 2200|  1.39k|                    break;
 2201|  1.39k|                }
 2202|  3.08k|                case 0x43:
  ------------------
  |  Branch (2202:17): [True: 3.08k, False: 53.6k]
  ------------------
 2203|  3.36k|                case 0x47:
  ------------------
  |  Branch (2203:17): [True: 278, False: 56.4k]
  ------------------
 2204|  3.36k|                {
 2205|  3.36k|                    array_tag_ = typed_array_tags::uint64;
 2206|  3.36k|                    byte_string_type array_buffer(alloc_);
 2207|  3.36k|                    read(array_buffer, ec);
 2208|  3.36k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.36k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 3.36k]
  |  |  ------------------
  ------------------
 2209|      0|                    {
 2210|      0|                        more_ = false;
 2211|      0|                        return;
 2212|      0|                    }
 2213|  3.36k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2214|  3.36k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2215|  3.36k|                    auto ta = typed_array_cast<uint64_t>(array_buffer);
 2216|  3.36k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2216:25): [True: 3.08k, False: 278]
  ------------------
 2217|  3.08k|                    {
 2218|  59.2k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2218:49): [True: 56.1k, False: 3.08k]
  ------------------
 2219|  56.1k|                        {
 2220|  56.1k|                            ta[i] = binary::byte_swap<uint64_t>(ta[i]);
 2221|  56.1k|                        }
 2222|  3.08k|                    }
 2223|  3.36k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2223:25): [True: 3.36k, False: 0]
  |  Branch (2223:42): [True: 0, False: 3.36k]
  ------------------
 2224|      0|                    {
 2225|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2225:29): [True: 0, False: 0]
  ------------------
 2226|      0|                        {
 2227|      0|                            ec = cbor_errc::bad_extents;
 2228|      0|                            more_ = false;
 2229|      0|                            return;
 2230|      0|                        }
 2231|      0|                        auto iter = std::make_shared<mdarray_iterator<uint64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2232|      0|                            typed_array_tags::uint64, extents_, order_);
 2233|      0|                        typed_array_stack_.push_back(iter);
 2234|      0|                        iter->next(visitor, *this, ec);
 2235|      0|                    }
 2236|  3.36k|                    else
 2237|  3.36k|                    {
 2238|  3.36k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint64_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2239|  3.36k|                            typed_array_tags::uint64);
 2240|  3.36k|                        typed_array_stack_.push_back(iter);
 2241|  3.36k|                        iter->next(visitor, *this, ec);
 2242|  3.36k|                    }
 2243|  3.36k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2244|  3.36k|                    more_ = !cursor_mode_;
 2245|  3.36k|                    break;
 2246|  3.36k|                }
 2247|    559|                case 0x48:
  ------------------
  |  Branch (2247:17): [True: 559, False: 56.2k]
  ------------------
 2248|    559|                {
 2249|    559|                    array_tag_ = typed_array_tags::int8;
 2250|    559|                    byte_string_type array_buffer(alloc_);
 2251|    559|                    read(array_buffer, ec);
 2252|    559|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    559|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 559]
  |  |  ------------------
  ------------------
 2253|      0|                    {
 2254|      0|                        more_ = false;
 2255|      0|                        return;
 2256|      0|                    }
 2257|    559|                    auto ta = typed_array_cast<int8_t>(array_buffer);
 2258|    559|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2258:25): [True: 559, False: 0]
  |  Branch (2258:42): [True: 0, False: 559]
  ------------------
 2259|      0|                    {
 2260|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2260:29): [True: 0, False: 0]
  ------------------
 2261|      0|                        {
 2262|      0|                            ec = cbor_errc::bad_extents;
 2263|      0|                            more_ = false;
 2264|      0|                            return;
 2265|      0|                        }
 2266|      0|                        auto iter = std::make_shared<mdarray_iterator<int8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2267|      0|                            typed_array_tags::int8, extents_, order_);
 2268|      0|                        typed_array_stack_.push_back(iter);
 2269|      0|                        iter->next(visitor, *this, ec);
 2270|      0|                    }
 2271|    559|                    else
 2272|    559|                    {
 2273|    559|                        auto iter = std::make_shared<oned_typed_array_iterator<int8_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2274|    559|                            typed_array_tags::int8);
 2275|    559|                        typed_array_stack_.push_back(iter);
 2276|    559|                        iter->next(visitor, *this, ec);
 2277|    559|                    }
 2278|    559|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2279|    559|                    more_ = !cursor_mode_;
 2280|    559|                    break;
 2281|    559|                }
 2282|  4.19k|                case 0x49:
  ------------------
  |  Branch (2282:17): [True: 4.19k, False: 52.5k]
  ------------------
 2283|  4.40k|                case 0x4d:
  ------------------
  |  Branch (2283:17): [True: 210, False: 56.5k]
  ------------------
 2284|  4.40k|                {
 2285|  4.40k|                    array_tag_ = typed_array_tags::int16;
 2286|  4.40k|                    byte_string_type array_buffer(alloc_);
 2287|  4.40k|                    read(array_buffer, ec);
 2288|  4.40k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.40k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 4.40k]
  |  |  ------------------
  ------------------
 2289|      0|                    {
 2290|      0|                        more_ = false;
 2291|      0|                        return;
 2292|      0|                    }
 2293|  4.40k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2294|  4.40k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2295|  4.40k|                    auto ta = typed_array_cast<int16_t>(array_buffer);
 2296|  4.40k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2296:25): [True: 4.19k, False: 210]
  ------------------
 2297|  4.19k|                    {
 2298|   758k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2298:49): [True: 754k, False: 4.19k]
  ------------------
 2299|   754k|                        {
 2300|   754k|                            ta[i] = binary::byte_swap<int16_t>(ta[i]);
 2301|   754k|                        }
 2302|  4.19k|                    }
 2303|  4.40k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2303:25): [True: 4.40k, False: 0]
  |  Branch (2303:42): [True: 0, False: 4.40k]
  ------------------
 2304|      0|                    {
 2305|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2305:29): [True: 0, False: 0]
  ------------------
 2306|      0|                        {
 2307|      0|                            ec = cbor_errc::bad_extents;
 2308|      0|                            more_ = false;
 2309|      0|                            return;
 2310|      0|                        }
 2311|      0|                        auto iter = std::make_shared<mdarray_iterator<int16_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2312|      0|                            typed_array_tags::int16, extents_, order_);
 2313|      0|                        typed_array_stack_.push_back(iter);
 2314|      0|                        iter->next(visitor, *this, ec);
 2315|      0|                    }
 2316|  4.40k|                    else
 2317|  4.40k|                    {
 2318|  4.40k|                        auto iter = std::make_shared<oned_typed_array_iterator<int16_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2319|  4.40k|                            typed_array_tags::int16);
 2320|  4.40k|                        typed_array_stack_.push_back(iter);
 2321|  4.40k|                        iter->next(visitor, *this, ec);
 2322|  4.40k|                    }
 2323|  4.40k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2324|  4.40k|                    more_ = !cursor_mode_;
 2325|  4.40k|                    break;
 2326|  4.40k|                }
 2327|    755|                case 0x4a:
  ------------------
  |  Branch (2327:17): [True: 755, False: 56.0k]
  ------------------
 2328|  1.14k|                case 0x4e:
  ------------------
  |  Branch (2328:17): [True: 387, False: 56.3k]
  ------------------
 2329|  1.14k|                {
 2330|  1.14k|                    array_tag_ = typed_array_tags::int32;
 2331|  1.14k|                    byte_string_type array_buffer(alloc_);
 2332|  1.14k|                    read(array_buffer, ec);
 2333|  1.14k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.14k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.14k]
  |  |  ------------------
  ------------------
 2334|      0|                    {
 2335|      0|                        more_ = false;
 2336|      0|                        return;
 2337|      0|                    }
 2338|  1.14k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2339|  1.14k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2340|  1.14k|                    auto ta = typed_array_cast<int32_t>(array_buffer);
 2341|  1.14k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2341:25): [True: 755, False: 387]
  ------------------
 2342|    755|                    {
 2343|  1.83M|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2343:49): [True: 1.82M, False: 755]
  ------------------
 2344|  1.82M|                        {
 2345|  1.82M|                            ta[i] = binary::byte_swap<int32_t>(ta[i]);
 2346|  1.82M|                        }
 2347|    755|                    }
 2348|  1.14k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2348:25): [True: 1.14k, False: 0]
  |  Branch (2348:42): [True: 0, False: 1.14k]
  ------------------
 2349|      0|                    {
 2350|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2350:29): [True: 0, False: 0]
  ------------------
 2351|      0|                        {
 2352|      0|                            ec = cbor_errc::bad_extents;
 2353|      0|                            more_ = false;
 2354|      0|                            return;
 2355|      0|                        }
 2356|      0|                        auto iter = std::make_shared<mdarray_iterator<int32_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2357|      0|                            typed_array_tags::int32, extents_, order_);
 2358|      0|                        typed_array_stack_.push_back(iter);
 2359|      0|                        iter->next(visitor, *this, ec);
 2360|      0|                    }
 2361|  1.14k|                    else
 2362|  1.14k|                    {
 2363|  1.14k|                        auto iter = std::make_shared<oned_typed_array_iterator<int32_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2364|  1.14k|                            typed_array_tags::int32);
 2365|  1.14k|                        typed_array_stack_.push_back(iter);
 2366|  1.14k|                        iter->next(visitor, *this, ec);
 2367|  1.14k|                    }
 2368|  1.14k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2369|  1.14k|                    more_ = !cursor_mode_;
 2370|  1.14k|                    break;
 2371|  1.14k|                }
 2372|  3.89k|                case 0x4b:
  ------------------
  |  Branch (2372:17): [True: 3.89k, False: 52.8k]
  ------------------
 2373|  4.32k|                case 0x4f:
  ------------------
  |  Branch (2373:17): [True: 430, False: 56.3k]
  ------------------
 2374|  4.32k|                {
 2375|  4.32k|                    array_tag_ = typed_array_tags::int64;
 2376|  4.32k|                    byte_string_type array_buffer(alloc_);
 2377|  4.32k|                    read(array_buffer, ec);
 2378|  4.32k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.32k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 4.32k]
  |  |  ------------------
  ------------------
 2379|      0|                    {
 2380|      0|                        more_ = false;
 2381|      0|                        return;
 2382|      0|                    }
 2383|  4.32k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2384|  4.32k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2385|  4.32k|                    auto ta = typed_array_cast<int64_t>(array_buffer);
 2386|  4.32k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2386:25): [True: 3.89k, False: 430]
  ------------------
 2387|  3.89k|                    {
 2388|   526k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2388:49): [True: 522k, False: 3.89k]
  ------------------
 2389|   522k|                        {
 2390|   522k|                            ta[i] = binary::byte_swap<int64_t>(ta[i]);
 2391|   522k|                        }
 2392|  3.89k|                    }
 2393|  4.32k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2393:25): [True: 4.32k, False: 0]
  |  Branch (2393:42): [True: 0, False: 4.32k]
  ------------------
 2394|      0|                    {
 2395|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2395:29): [True: 0, False: 0]
  ------------------
 2396|      0|                        {
 2397|      0|                            ec = cbor_errc::bad_extents;
 2398|      0|                            more_ = false;
 2399|      0|                            return;
 2400|      0|                        }
 2401|      0|                        auto iter = std::make_shared<mdarray_iterator<int64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2402|      0|                            typed_array_tags::int64, extents_, order_);
 2403|      0|                        typed_array_stack_.push_back(iter);
 2404|      0|                        iter->next(visitor, *this, ec);
 2405|      0|                    }
 2406|  4.32k|                    else
 2407|  4.32k|                    {
 2408|  4.32k|                        auto iter = std::make_shared<oned_typed_array_iterator<int64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), typed_array_tags::int64);
 2409|  4.32k|                        typed_array_stack_.push_back(iter);
 2410|  4.32k|                        iter->next(visitor, *this, ec);
 2411|  4.32k|                    }
 2412|  4.32k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2413|  4.32k|                    more_ = !cursor_mode_;
 2414|  4.32k|                    break;
 2415|  4.32k|                }
 2416|  10.6k|                case 0x50:
  ------------------
  |  Branch (2416:17): [True: 10.6k, False: 46.1k]
  ------------------
 2417|  21.3k|                case 0x54:
  ------------------
  |  Branch (2417:17): [True: 10.7k, False: 46.0k]
  ------------------
 2418|  21.3k|                {
 2419|  21.3k|                    array_tag_ = typed_array_tags::half_float;
 2420|  21.3k|                    byte_string_type array_buffer(alloc_);
 2421|  21.3k|                    read(array_buffer, ec);
 2422|  21.3k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  21.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 21.3k]
  |  |  ------------------
  ------------------
 2423|      0|                    {
 2424|      0|                        more_ = false;
 2425|      0|                        return;
 2426|      0|                    }
 2427|  21.3k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2428|  21.3k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2429|  21.3k|                    auto ta = typed_array_cast<uint16_t>(array_buffer);
 2430|  21.3k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2430:25): [True: 10.6k, False: 10.7k]
  ------------------
 2431|  10.6k|                    {
 2432|  18.2M|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2432:49): [True: 18.1M, False: 10.6k]
  ------------------
 2433|  18.1M|                        {
 2434|  18.1M|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 2435|  18.1M|                        }
 2436|  10.6k|                    }
 2437|  21.3k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2437:25): [True: 21.3k, False: 0]
  |  Branch (2437:42): [True: 0, False: 21.3k]
  ------------------
 2438|      0|                    {
 2439|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2439:29): [True: 0, False: 0]
  ------------------
 2440|      0|                        {
 2441|      0|                            ec = cbor_errc::bad_extents;
 2442|      0|                            more_ = false;
 2443|      0|                            return;
 2444|      0|                        }
 2445|      0|                        auto iter = std::make_shared<mdarray_iterator<uint16_t,decode_half,Allocator>>(std::move(array_buffer), 
 2446|      0|                            typed_array_tags::half_float, extents_, order_);
 2447|      0|                        typed_array_stack_.push_back(iter);
 2448|      0|                        iter->next(visitor, *this, ec);
 2449|      0|                    }
 2450|  21.3k|                    else
 2451|  21.3k|                    {
 2452|  21.3k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint16_t,decode_half,Allocator>>(std::move(array_buffer),
 2453|  21.3k|                            typed_array_tags::half_float);
 2454|  21.3k|                        typed_array_stack_.push_back(iter);
 2455|  21.3k|                        iter->next(visitor, *this, ec);
 2456|  21.3k|                    }
 2457|  21.3k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2458|  21.3k|                    more_ = !cursor_mode_;
 2459|  21.3k|                    break;
 2460|  21.3k|                }
 2461|  1.13k|                case 0x51:
  ------------------
  |  Branch (2461:17): [True: 1.13k, False: 55.6k]
  ------------------
 2462|  1.76k|                case 0x55:
  ------------------
  |  Branch (2462:17): [True: 631, False: 56.1k]
  ------------------
 2463|  1.76k|                {
 2464|  1.76k|                    array_tag_ = typed_array_tags::float32;
 2465|  1.76k|                    byte_string_type array_buffer(alloc_);
 2466|  1.76k|                    read(array_buffer, ec);
 2467|  1.76k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.76k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.76k]
  |  |  ------------------
  ------------------
 2468|      0|                    {
 2469|      0|                        more_ = false;
 2470|      0|                        return;
 2471|      0|                    }
 2472|  1.76k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2473|  1.76k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2474|  1.76k|                    auto ta = typed_array_cast<float>(array_buffer);
 2475|  1.76k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2475:25): [True: 1.13k, False: 631]
  ------------------
 2476|  1.13k|                    {
 2477|  68.5k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2477:49): [True: 67.3k, False: 1.13k]
  ------------------
 2478|  67.3k|                        {
 2479|  67.3k|                            ta[i] = binary::byte_swap<float>(ta[i]);
 2480|  67.3k|                        }
 2481|  1.13k|                    }
 2482|  1.76k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2482:25): [True: 1.76k, False: 0]
  |  Branch (2482:42): [True: 0, False: 1.76k]
  ------------------
 2483|      0|                    {
 2484|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2484:29): [True: 0, False: 0]
  ------------------
 2485|      0|                        {
 2486|      0|                            ec = cbor_errc::bad_extents;
 2487|      0|                            more_ = false;
 2488|      0|                            return;
 2489|      0|                        }
 2490|      0|                        auto iter = std::make_shared<mdarray_iterator<float,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2491|      0|                            typed_array_tags::float32, extents_, order_);
 2492|      0|                        typed_array_stack_.push_back(iter);
 2493|      0|                        iter->next(visitor, *this, ec);
 2494|      0|                    }
 2495|  1.76k|                    else
 2496|  1.76k|                    {
 2497|  1.76k|                        auto iter = std::make_shared<oned_typed_array_iterator<float,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2498|  1.76k|                            typed_array_tags::float32);
 2499|  1.76k|                        typed_array_stack_.push_back(iter);
 2500|  1.76k|                        iter->next(visitor, *this, ec);
 2501|  1.76k|                    }
 2502|  1.76k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2503|  1.76k|                    more_ = !cursor_mode_;
 2504|  1.76k|                    break;
 2505|  1.76k|                }
 2506|  1.21k|                case 0x52:
  ------------------
  |  Branch (2506:17): [True: 1.21k, False: 55.5k]
  ------------------
 2507|  2.21k|                case 0x56:
  ------------------
  |  Branch (2507:17): [True: 996, False: 55.7k]
  ------------------
 2508|  2.21k|                {
 2509|  2.21k|                    array_tag_ = typed_array_tags::float64;
 2510|  2.21k|                    byte_string_type array_buffer(alloc_);
 2511|  2.21k|                    read(array_buffer, ec);
 2512|  2.21k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.21k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.21k]
  |  |  ------------------
  ------------------
 2513|      0|                    {
 2514|      0|                        more_ = false;
 2515|      0|                        return;
 2516|      0|                    }
 2517|  2.21k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2518|  2.21k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2519|  2.21k|                    auto ta = typed_array_cast<double>(array_buffer);
 2520|  2.21k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2520:25): [True: 1.21k, False: 996]
  ------------------
 2521|  1.21k|                    {
 2522|  40.1k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2522:49): [True: 38.9k, False: 1.21k]
  ------------------
 2523|  38.9k|                        {
 2524|  38.9k|                            ta[i] = binary::byte_swap<double>(ta[i]);
 2525|  38.9k|                        }
 2526|  1.21k|                    }
 2527|  2.21k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2527:25): [True: 2.21k, False: 0]
  |  Branch (2527:42): [True: 0, False: 2.21k]
  ------------------
 2528|      0|                    {
 2529|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2529:29): [True: 0, False: 0]
  ------------------
 2530|      0|                        {
 2531|      0|                            ec = cbor_errc::bad_extents;
 2532|      0|                            more_ = false;
 2533|      0|                            return;
 2534|      0|                        }
 2535|      0|                        auto iter = std::make_shared<mdarray_iterator<double,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2536|      0|                            typed_array_tags::float64, extents_, order_);
 2537|      0|                        typed_array_stack_.push_back(iter);
 2538|      0|                        iter->next(visitor, *this, ec);
 2539|      0|                    }
 2540|  2.21k|                    else
 2541|  2.21k|                    {
 2542|  2.21k|                        auto iter = std::make_shared<oned_typed_array_iterator<double,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2543|  2.21k|                            typed_array_tags::float64);
 2544|  2.21k|                        typed_array_stack_.push_back(iter);
 2545|  2.21k|                        iter->next(visitor, *this, ec);
 2546|  2.21k|                    }
 2547|  2.21k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2548|  2.21k|                    more_ = !cursor_mode_;
 2549|  2.21k|                    break;
 2550|  2.21k|                }
 2551|  3.99k|                default:
  ------------------
  |  Branch (2551:17): [True: 3.99k, False: 52.7k]
  ------------------
 2552|  3.99k|                {
 2553|  3.99k|                    auto bytes = read.view(ec);
 2554|  3.99k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.99k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 3.99k]
  |  |  ------------------
  ------------------
 2555|      0|                    {
 2556|      0|                        more_ = false;
 2557|      0|                        return;
 2558|      0|                    }
 2559|  3.99k|                    visitor.byte_string_value(bytes, raw_tag_, *this, ec);
 2560|  3.99k|                    more_ = !cursor_mode_;
 2561|  3.99k|                    break;
 2562|  3.99k|                }
 2563|  56.7k|            }
 2564|  56.7k|            other_tags_[item_tag] = false;
 2565|  56.7k|        }
 2566|  9.77k|        else
 2567|  9.77k|        {
 2568|  9.77k|            auto bytes = read.view(ec);
 2569|  9.77k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  9.77k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 9.77k]
  |  |  ------------------
  ------------------
 2570|      0|            {
 2571|      0|                return;
 2572|      0|            }
 2573|  9.77k|            visitor.byte_string_value(bytes, semantic_tag::none, *this, ec);
 2574|  9.77k|            more_ = !cursor_mode_;
 2575|  9.77k|        }
 2576|  66.5k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_buffer4viewERNS3_10error_codeE:
  188|  21.0k|        {
  189|  21.0k|            return bytes;
  190|  21.0k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_bufferclINS3_6vectorIhS5_EEEEvRT_RNS3_10error_codeE:
  178|  45.5k|        {
  179|  45.5k|            c.clear();
  180|  45.5k|            c.reserve(bytes.size());
  181|  45.5k|            for (auto b : bytes)
  ------------------
  |  Branch (181:25): [True: 67.5M, False: 45.5k]
  ------------------
  182|  67.5M|            {
  183|  67.5M|                c.push_back(b);
  184|  67.5M|            }
  185|  45.5k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE26get_typed_array_endiannessEh:
 1974|   102k|    {
 1975|   102k|        return ((tag & detail::cbor_array_tags_e_mask) >> detail::cbor_array_tags_e_shift) == 0 ? jsoncons::endian::big : jsoncons::endian::little; 
  ------------------
  |  Branch (1975:16): [True: 70.4k, False: 32.3k]
  ------------------
 1976|   102k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10read_int64ERNS3_10error_codeE:
 1426|  6.43M|    {
 1427|  6.43M|        int64_t val = 0;
 1428|       |
 1429|  6.43M|        auto ch = source_.peek();
 1430|  6.43M|        if (ch.eof)
  ------------------
  |  Branch (1430:13): [True: 0, False: 6.43M]
  ------------------
 1431|      0|        {
 1432|      0|            ec = cbor_errc::unexpected_eof;
 1433|      0|            more_ = false;
 1434|      0|            return val;
 1435|      0|        }
 1436|       |
 1437|  6.43M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(ch.value);
 1438|  6.43M|        uint8_t info = get_additional_information_value(ch.value);
 1439|  6.43M|        switch (major_type)
 1440|  6.43M|        {
 1441|  6.43M|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1441:13): [True: 6.43M, False: 0]
  ------------------
 1442|  6.43M|                source_.ignore(1);
 1443|  6.43M|                switch (info)
  ------------------
  |  Branch (1443:25): [True: 6.41M, False: 21.5k]
  ------------------
 1444|  6.43M|                {
 1445|  6.39M|                    case JSONCONS_EXT_CBOR_0x00_0x17: // 0x00..0x17 (0..23)
  ------------------
  |  |   18|  6.39M|    0x00:case 0x01:case 0x02:case 0x03:case 0x04:case 0x05:case 0x06:case 0x07:case 0x08:case 0x09:case 0x0a:case 0x0b:case 0x0c:case 0x0d:case 0x0e:case 0x0f:case 0x10:case 0x11:case 0x12:case 0x13:case 0x14:case 0x15:case 0x16:case 0x17
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 16.4k, False: 6.41M]
  |  |  |  Branch (18:20): [True: 9.53k, False: 6.42M]
  |  |  |  Branch (18:30): [True: 37.4k, False: 6.39M]
  |  |  |  Branch (18:40): [True: 11.9k, False: 6.42M]
  |  |  |  Branch (18:50): [True: 17.0k, False: 6.41M]
  |  |  |  Branch (18:60): [True: 5.72k, False: 6.42M]
  |  |  |  Branch (18:70): [True: 20.0k, False: 6.41M]
  |  |  |  Branch (18:80): [True: 4.27M, False: 2.15M]
  |  |  |  Branch (18:90): [True: 11.8k, False: 6.42M]
  |  |  |  Branch (18:100): [True: 12.0k, False: 6.42M]
  |  |  |  Branch (18:110): [True: 5.16k, False: 6.43M]
  |  |  |  Branch (18:120): [True: 32.9k, False: 6.40M]
  |  |  |  Branch (18:130): [True: 865k, False: 5.56M]
  |  |  |  Branch (18:140): [True: 21.0k, False: 6.41M]
  |  |  |  Branch (18:150): [True: 13.8k, False: 6.42M]
  |  |  |  Branch (18:160): [True: 41.9k, False: 6.39M]
  |  |  |  Branch (18:170): [True: 40.2k, False: 6.39M]
  |  |  |  Branch (18:180): [True: 12.8k, False: 6.42M]
  |  |  |  Branch (18:190): [True: 7.60k, False: 6.42M]
  |  |  |  Branch (18:200): [True: 14.4k, False: 6.42M]
  |  |  |  Branch (18:210): [True: 22.7k, False: 6.41M]
  |  |  |  Branch (18:220): [True: 21.1k, False: 6.41M]
  |  |  ------------------
  ------------------
  |  Branch (1445:21): [True: 849k, False: 5.58M]
  ------------------
 1446|  6.39M|                    {
 1447|  6.39M|                        val = static_cast<int8_t>(- 1 - info);
 1448|  6.39M|                        break;
 1449|  95.5M|                    }
 1450|  7.29k|                    case 0x18: // Negative integer (one-byte uint8_t follows)
  ------------------
  |  Branch (1450:21): [True: 7.29k, False: 6.42M]
  ------------------
 1451|  7.29k|                        {
 1452|  7.29k|                            uint8_t b;
 1453|  7.29k|                            if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1453:33): [True: 3, False: 7.29k]
  ------------------
 1454|      3|                            {
 1455|      3|                                ec = cbor_errc::unexpected_eof;
 1456|      3|                                more_ = false;
 1457|      3|                                return val;
 1458|      3|                            }
 1459|  7.29k|                            val = static_cast<int64_t>(-1) - static_cast<int64_t>(b);
 1460|  7.29k|                            break;
 1461|  7.29k|                        }
 1462|       |
 1463|  4.98k|                    case 0x19: // Negative integer -1-n (two-byte uint16_t follows)
  ------------------
  |  Branch (1463:21): [True: 4.98k, False: 6.43M]
  ------------------
 1464|  4.98k|                        {
 1465|  4.98k|                            uint8_t buf[sizeof(uint16_t)];
 1466|  4.98k|                            if (source_.read(buf, sizeof(uint16_t)) != sizeof(uint16_t))
  ------------------
  |  Branch (1466:33): [True: 1, False: 4.97k]
  ------------------
 1467|      1|                            {
 1468|      1|                                ec = cbor_errc::unexpected_eof;
 1469|      1|                                more_ = false;
 1470|      1|                                return val;
 1471|      1|                            }
 1472|  4.97k|                            auto x = binary::big_to_native<uint16_t>(buf, sizeof(buf));
 1473|  4.97k|                            val = static_cast<int64_t>(-1)- x;
 1474|  4.97k|                            break;
 1475|  4.98k|                        }
 1476|       |
 1477|  4.50k|                    case 0x1a: // Negative integer -1-n (four-byte uint32_t follows)
  ------------------
  |  Branch (1477:21): [True: 4.50k, False: 6.43M]
  ------------------
 1478|  4.50k|                        {
 1479|  4.50k|                            uint8_t buf[sizeof(uint32_t)];
 1480|  4.50k|                            if (source_.read(buf, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (1480:33): [True: 6, False: 4.49k]
  ------------------
 1481|      6|                            {
 1482|      6|                                ec = cbor_errc::unexpected_eof;
 1483|      6|                                more_ = false;
 1484|      6|                                return val;
 1485|      6|                            }
 1486|  4.49k|                            auto x = binary::big_to_native<uint32_t>(buf, sizeof(buf));
 1487|  4.49k|                            val = static_cast<int64_t>(-1)- x;
 1488|  4.49k|                            break;
 1489|  4.50k|                        }
 1490|       |
 1491|  3.08k|                    case 0x1b: // Negative integer -1-n (eight-byte uint64_t follows)
  ------------------
  |  Branch (1491:21): [True: 3.08k, False: 6.43M]
  ------------------
 1492|  3.08k|                        {
 1493|  3.08k|                            uint8_t buf[sizeof(uint64_t)];
 1494|  3.08k|                            if (source_.read(buf, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (1494:33): [True: 10, False: 3.07k]
  ------------------
 1495|     10|                            {
 1496|     10|                                ec = cbor_errc::unexpected_eof;
 1497|     10|                                more_ = false;
 1498|     10|                                return val;
 1499|     10|                            }
 1500|  3.07k|                            auto x = binary::big_to_native<uint64_t>(buf, sizeof(buf));
 1501|  3.07k|                            val = static_cast<int64_t>(-1)- static_cast<int64_t>(x);
 1502|  3.07k|                            break;
 1503|  3.08k|                        }
 1504|  6.43M|                }
 1505|  6.43M|                break;
 1506|       |
 1507|  6.43M|                case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1507:17): [True: 0, False: 6.43M]
  ------------------
 1508|      0|                {
 1509|      0|                    uint64_t x = read_uint64(ec);
 1510|      0|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1511|      0|                    {
 1512|      0|                        return 0;
 1513|      0|                    }
 1514|      0|                    if (x <= static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
  ------------------
  |  Branch (1514:25): [True: 0, False: 0]
  ------------------
 1515|      0|                    {
 1516|      0|                        val = x;
 1517|      0|                    }
 1518|      0|                    else
 1519|      0|                    {
 1520|       |                        // error;
 1521|      0|                    }
 1522|       |                    
 1523|      0|                    break;
 1524|      0|                }
 1525|      0|                break;
 1526|      0|            default:
  ------------------
  |  Branch (1526:13): [True: 0, False: 6.43M]
  ------------------
 1527|      0|                break;
 1528|  6.43M|        }
 1529|       |
 1530|  6.43M|        return val;
 1531|  6.43M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_sourceC2EPS8_:
  198|  13.1M|            : source(source)
  199|  13.1M|        {
  200|  13.1M|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringINS8_28read_byte_string_from_sourceEEEvT_RNS_21basic_generic_visitorIcEERNS3_10error_codeE:
 1988|  13.1M|    {
 1989|  13.1M|        if (other_tags_[item_tag])
  ------------------
  |  Branch (1989:13): [True: 140k, False: 13.0M]
  ------------------
 1990|   140k|        {
 1991|   140k|            switch (raw_tag_)
 1992|   140k|            {
 1993|  34.0k|                case 0x2:
  ------------------
  |  Branch (1993:17): [True: 34.0k, False: 105k]
  ------------------
 1994|  34.0k|                {
 1995|  34.0k|                    auto bytes = read.view(ec);
 1996|  34.0k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  34.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 34.0k]
  |  |  ------------------
  ------------------
 1997|      1|                    {
 1998|      1|                        more_ = false;
 1999|      1|                        return;
 2000|      1|                    }
 2001|  34.0k|                    bigint n = bigint::from_bytes_be(1, bytes.data(), bytes.size());
 2002|  34.0k|                    text_buffer_.clear();
 2003|  34.0k|                    n.write_string(text_buffer_);
 2004|  34.0k|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 2005|  34.0k|                    more_ = !cursor_mode_;
 2006|  34.0k|                    break;
 2007|  34.0k|                }
 2008|  9.14k|                case 0x3:
  ------------------
  |  Branch (2008:17): [True: 9.14k, False: 130k]
  ------------------
 2009|  9.14k|                {
 2010|  9.14k|                    auto bytes = read.view(ec);
 2011|  9.14k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  9.14k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3, False: 9.14k]
  |  |  ------------------
  ------------------
 2012|      3|                    {
 2013|      3|                        more_ = false;
 2014|      3|                        return;
 2015|      3|                    }
 2016|  9.14k|                    bigint n = bigint::from_bytes_be(1, bytes.data(), bytes.size());
 2017|  9.14k|                    n = -1 - n;
 2018|  9.14k|                    text_buffer_.clear();
 2019|  9.14k|                    n.write_string(text_buffer_);
 2020|  9.14k|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 2021|  9.14k|                    more_ = !cursor_mode_;
 2022|  9.14k|                    break;
 2023|  9.14k|                }
 2024|    260|                case 0x15:
  ------------------
  |  Branch (2024:17): [True: 260, False: 139k]
  ------------------
 2025|  1.05k|                case 0x16:
  ------------------
  |  Branch (2025:17): [True: 790, False: 139k]
  ------------------
 2026|  1.68k|                case 0x17:
  ------------------
  |  Branch (2026:17): [True: 632, False: 139k]
  ------------------
 2027|  1.68k|                {
 2028|  1.68k|                    auto bytes = read.view(ec);
 2029|  1.68k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.68k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3, False: 1.67k]
  |  |  ------------------
  ------------------
 2030|      3|                    {
 2031|      3|                        more_ = false;
 2032|      3|                        return;
 2033|      3|                    }
 2034|  1.67k|                    const semantic_tag tag = raw_tag_ == 0x15 ? semantic_tag::base64url
  ------------------
  |  Branch (2034:46): [True: 260, False: 1.41k]
  ------------------
 2035|  1.67k|                        : raw_tag_ == 0x16 ? semantic_tag::base64
  ------------------
  |  Branch (2035:27): [True: 787, False: 632]
  ------------------
 2036|  1.41k|                        : semantic_tag::base16;
 2037|  1.67k|                    visitor.byte_string_value(bytes, tag, *this, ec);
 2038|  1.67k|                    more_ = !cursor_mode_;
 2039|  1.67k|                    break;
 2040|  1.68k|                }
 2041|  1.52k|                case 0x40:
  ------------------
  |  Branch (2041:17): [True: 1.52k, False: 138k]
  ------------------
 2042|  1.52k|                {
 2043|  1.52k|                    array_tag_ = typed_array_tags::uint8;
 2044|  1.52k|                    byte_string_type array_buffer(alloc_);
 2045|  1.52k|                    read(array_buffer, ec);
 2046|  1.52k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.52k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.52k]
  |  |  ------------------
  ------------------
 2047|      0|                    {
 2048|      0|                        more_ = false;
 2049|      0|                        return;
 2050|      0|                    }
 2051|  1.52k|                    auto ta = typed_array_cast<const uint8_t>(array_buffer);
 2052|  1.52k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2052:25): [True: 1.52k, False: 0]
  |  Branch (2052:42): [True: 365, False: 1.15k]
  ------------------
 2053|    365|                    {
 2054|    365|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2054:29): [True: 1, False: 364]
  ------------------
 2055|      1|                        {
 2056|      1|                            ec = cbor_errc::bad_extents;
 2057|      1|                            more_ = false;
 2058|      1|                            return;
 2059|      1|                        }
 2060|    364|                        auto iter = std::make_shared<mdarray_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2061|    364|                            typed_array_tags::uint8, extents_, order_);
 2062|    364|                        typed_array_stack_.push_back(iter);
 2063|    364|                        iter->next(visitor, *this, ec);
 2064|    364|                    }
 2065|  1.15k|                    else
 2066|  1.15k|                    {
 2067|  1.15k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2068|  1.15k|                            typed_array_tags::uint8);
 2069|  1.15k|                        typed_array_stack_.push_back(iter);
 2070|  1.15k|                        iter->next(visitor, *this, ec);
 2071|  1.15k|                    }
 2072|  1.52k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2073|  1.52k|                    more_ = !cursor_mode_;
 2074|  1.52k|                    break;
 2075|  1.52k|                }
 2076|  1.46k|                case 0x44:
  ------------------
  |  Branch (2076:17): [True: 1.46k, False: 138k]
  ------------------
 2077|  1.46k|                {
 2078|  1.46k|                    array_tag_ = typed_array_tags::uint8;
 2079|  1.46k|                    typed_array_tag_ = semantic_tag::clamped;
 2080|  1.46k|                    byte_string_type array_buffer(alloc_);
 2081|  1.46k|                    read(array_buffer, ec);
 2082|  1.46k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.46k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 15, False: 1.45k]
  |  |  ------------------
  ------------------
 2083|     15|                    {
 2084|     15|                        more_ = false;
 2085|     15|                        return;
 2086|     15|                    }
 2087|  1.45k|                    auto ta = typed_array_cast<const uint8_t>(array_buffer);
 2088|  1.45k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2088:25): [True: 1.45k, False: 0]
  |  Branch (2088:42): [True: 147, False: 1.30k]
  ------------------
 2089|    147|                    {
 2090|    147|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2090:29): [True: 0, False: 147]
  ------------------
 2091|      0|                        {
 2092|      0|                            ec = cbor_errc::bad_extents;
 2093|      0|                            more_ = false;
 2094|      0|                            return;
 2095|      0|                        }
 2096|    147|                        auto iter = std::make_shared<mdarray_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2097|    147|                            typed_array_tags::uint8, extents_, order_);
 2098|    147|                        typed_array_stack_.push_back(iter);
 2099|    147|                        iter->next(visitor, *this, ec);
 2100|    147|                    }
 2101|  1.30k|                    else
 2102|  1.30k|                    {
 2103|  1.30k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2104|  1.30k|                            typed_array_tags::uint8, semantic_tag::clamped);
 2105|  1.30k|                        typed_array_stack_.push_back(iter);
 2106|  1.30k|                        iter->next(visitor, *this, ec);
 2107|  1.30k|                    }
 2108|  1.45k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2109|  1.45k|                    more_ = !cursor_mode_;
 2110|  1.45k|                    break;
 2111|  1.45k|                }
 2112|  14.5k|                case 0x41:
  ------------------
  |  Branch (2112:17): [True: 14.5k, False: 125k]
  ------------------
 2113|  14.9k|                case 0x45:
  ------------------
  |  Branch (2113:17): [True: 359, False: 139k]
  ------------------
 2114|  14.9k|                {
 2115|  14.9k|                    array_tag_ = typed_array_tags::uint16;
 2116|  14.9k|                    byte_string_type array_buffer(alloc_);
 2117|  14.9k|                    read(array_buffer, ec);
 2118|  14.9k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  14.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 14.9k]
  |  |  ------------------
  ------------------
 2119|      0|                    {
 2120|      0|                        more_ = false;
 2121|      0|                        return;
 2122|      0|                    }
 2123|  14.9k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2124|  14.9k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2125|  14.9k|                    auto ta = typed_array_cast<uint16_t>(array_buffer);
 2126|  14.9k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2126:25): [True: 14.5k, False: 359]
  ------------------
 2127|  14.5k|                    {
 2128|  20.3k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2128:49): [True: 5.79k, False: 14.5k]
  ------------------
 2129|  5.79k|                        {
 2130|  5.79k|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 2131|  5.79k|                        }
 2132|  14.5k|                    }
 2133|  14.9k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2133:25): [True: 14.9k, False: 0]
  |  Branch (2133:42): [True: 328, False: 14.6k]
  ------------------
 2134|    328|                    {
 2135|    328|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2135:29): [True: 1, False: 327]
  ------------------
 2136|      1|                        {
 2137|      1|                            ec = cbor_errc::bad_extents;
 2138|      1|                            more_ = false;
 2139|      1|                            return;
 2140|      1|                        }
 2141|    327|                        auto iter = std::make_shared<mdarray_iterator<uint16_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2142|    327|                            typed_array_tags::uint16, extents_, order_);
 2143|    327|                        typed_array_stack_.push_back(iter);
 2144|    327|                        iter->next(visitor, *this, ec);
 2145|    327|                    }
 2146|  14.6k|                    else
 2147|  14.6k|                    {
 2148|  14.6k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint16_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2149|  14.6k|                            typed_array_tags::uint16);
 2150|  14.6k|                        typed_array_stack_.push_back(iter);
 2151|  14.6k|                        iter->next(visitor, *this, ec);
 2152|  14.6k|                    }
 2153|  14.9k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2154|  14.9k|                    more_ = !cursor_mode_;
 2155|  14.9k|                    break;
 2156|  14.9k|                }
 2157|  3.55k|                case 0x42:
  ------------------
  |  Branch (2157:17): [True: 3.55k, False: 136k]
  ------------------
 2158|  4.76k|                case 0x46:
  ------------------
  |  Branch (2158:17): [True: 1.21k, False: 138k]
  ------------------
 2159|  4.76k|                {
 2160|  4.76k|                    array_tag_ = typed_array_tags::uint32;
 2161|  4.76k|                    byte_string_type array_buffer(alloc_);
 2162|  4.76k|                    read(array_buffer, ec);
 2163|  4.76k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.76k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 4.76k]
  |  |  ------------------
  ------------------
 2164|      4|                    {
 2165|      4|                        more_ = false;
 2166|      4|                        return;
 2167|      4|                    }
 2168|  4.76k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2169|  4.76k|                    jsoncons::endian e = get_typed_array_endianness(tag);
 2170|  4.76k|                    auto ta = typed_array_cast<uint32_t>(array_buffer);
 2171|  4.76k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2171:25): [True: 3.55k, False: 1.21k]
  ------------------
 2172|  3.55k|                    {
 2173|  4.47k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2173:49): [True: 922, False: 3.55k]
  ------------------
 2174|    922|                        {
 2175|    922|                            ta[i] = binary::byte_swap<uint32_t>(ta[i]);
 2176|    922|                        }
 2177|  3.55k|                    }
 2178|  4.76k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2178:25): [True: 4.76k, False: 0]
  |  Branch (2178:42): [True: 455, False: 4.31k]
  ------------------
 2179|    455|                    {
 2180|    455|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2180:29): [True: 0, False: 455]
  ------------------
 2181|      0|                        {
 2182|      0|                            ec = cbor_errc::bad_extents;
 2183|      0|                            more_ = false;
 2184|      0|                            return;
 2185|      0|                        }
 2186|    455|                        auto iter = std::make_shared<mdarray_iterator<uint32_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2187|    455|                            typed_array_tags::uint32, extents_, order_);
 2188|    455|                        typed_array_stack_.push_back(iter);
 2189|    455|                        iter->next(visitor, *this, ec);
 2190|    455|                    }
 2191|  4.31k|                    else
 2192|  4.31k|                    {
 2193|  4.31k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint32_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2194|  4.31k|                            typed_array_tags::uint32);
 2195|  4.31k|                        typed_array_stack_.push_back(iter);
 2196|  4.31k|                        iter->next(visitor, *this, ec);
 2197|  4.31k|                    }
 2198|  4.76k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2199|  4.76k|                    more_ = !cursor_mode_;
 2200|  4.76k|                    break;
 2201|  4.76k|                }
 2202|  2.35k|                case 0x43:
  ------------------
  |  Branch (2202:17): [True: 2.35k, False: 137k]
  ------------------
 2203|  10.7k|                case 0x47:
  ------------------
  |  Branch (2203:17): [True: 8.43k, False: 131k]
  ------------------
 2204|  10.7k|                {
 2205|  10.7k|                    array_tag_ = typed_array_tags::uint64;
 2206|  10.7k|                    byte_string_type array_buffer(alloc_);
 2207|  10.7k|                    read(array_buffer, ec);
 2208|  10.7k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  10.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 10.7k]
  |  |  ------------------
  ------------------
 2209|      1|                    {
 2210|      1|                        more_ = false;
 2211|      1|                        return;
 2212|      1|                    }
 2213|  10.7k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2214|  10.7k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2215|  10.7k|                    auto ta = typed_array_cast<uint64_t>(array_buffer);
 2216|  10.7k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2216:25): [True: 2.35k, False: 8.43k]
  ------------------
 2217|  2.35k|                    {
 2218|  53.3k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2218:49): [True: 51.0k, False: 2.35k]
  ------------------
 2219|  51.0k|                        {
 2220|  51.0k|                            ta[i] = binary::byte_swap<uint64_t>(ta[i]);
 2221|  51.0k|                        }
 2222|  2.35k|                    }
 2223|  10.7k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2223:25): [True: 10.7k, False: 0]
  |  Branch (2223:42): [True: 352, False: 10.4k]
  ------------------
 2224|    352|                    {
 2225|    352|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2225:29): [True: 1, False: 351]
  ------------------
 2226|      1|                        {
 2227|      1|                            ec = cbor_errc::bad_extents;
 2228|      1|                            more_ = false;
 2229|      1|                            return;
 2230|      1|                        }
 2231|    351|                        auto iter = std::make_shared<mdarray_iterator<uint64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2232|    351|                            typed_array_tags::uint64, extents_, order_);
 2233|    351|                        typed_array_stack_.push_back(iter);
 2234|    351|                        iter->next(visitor, *this, ec);
 2235|    351|                    }
 2236|  10.4k|                    else
 2237|  10.4k|                    {
 2238|  10.4k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint64_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2239|  10.4k|                            typed_array_tags::uint64);
 2240|  10.4k|                        typed_array_stack_.push_back(iter);
 2241|  10.4k|                        iter->next(visitor, *this, ec);
 2242|  10.4k|                    }
 2243|  10.7k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2244|  10.7k|                    more_ = !cursor_mode_;
 2245|  10.7k|                    break;
 2246|  10.7k|                }
 2247|  3.76k|                case 0x48:
  ------------------
  |  Branch (2247:17): [True: 3.76k, False: 136k]
  ------------------
 2248|  3.76k|                {
 2249|  3.76k|                    array_tag_ = typed_array_tags::int8;
 2250|  3.76k|                    byte_string_type array_buffer(alloc_);
 2251|  3.76k|                    read(array_buffer, ec);
 2252|  3.76k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.76k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 3.76k]
  |  |  ------------------
  ------------------
 2253|      2|                    {
 2254|      2|                        more_ = false;
 2255|      2|                        return;
 2256|      2|                    }
 2257|  3.76k|                    auto ta = typed_array_cast<int8_t>(array_buffer);
 2258|  3.76k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2258:25): [True: 3.76k, False: 0]
  |  Branch (2258:42): [True: 515, False: 3.24k]
  ------------------
 2259|    515|                    {
 2260|    515|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2260:29): [True: 0, False: 515]
  ------------------
 2261|      0|                        {
 2262|      0|                            ec = cbor_errc::bad_extents;
 2263|      0|                            more_ = false;
 2264|      0|                            return;
 2265|      0|                        }
 2266|    515|                        auto iter = std::make_shared<mdarray_iterator<int8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2267|    515|                            typed_array_tags::int8, extents_, order_);
 2268|    515|                        typed_array_stack_.push_back(iter);
 2269|    515|                        iter->next(visitor, *this, ec);
 2270|    515|                    }
 2271|  3.24k|                    else
 2272|  3.24k|                    {
 2273|  3.24k|                        auto iter = std::make_shared<oned_typed_array_iterator<int8_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2274|  3.24k|                            typed_array_tags::int8);
 2275|  3.24k|                        typed_array_stack_.push_back(iter);
 2276|  3.24k|                        iter->next(visitor, *this, ec);
 2277|  3.24k|                    }
 2278|  3.76k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2279|  3.76k|                    more_ = !cursor_mode_;
 2280|  3.76k|                    break;
 2281|  3.76k|                }
 2282|  6.10k|                case 0x49:
  ------------------
  |  Branch (2282:17): [True: 6.10k, False: 133k]
  ------------------
 2283|  7.85k|                case 0x4d:
  ------------------
  |  Branch (2283:17): [True: 1.74k, False: 138k]
  ------------------
 2284|  7.85k|                {
 2285|  7.85k|                    array_tag_ = typed_array_tags::int16;
 2286|  7.85k|                    byte_string_type array_buffer(alloc_);
 2287|  7.85k|                    read(array_buffer, ec);
 2288|  7.85k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  7.85k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3, False: 7.85k]
  |  |  ------------------
  ------------------
 2289|      3|                    {
 2290|      3|                        more_ = false;
 2291|      3|                        return;
 2292|      3|                    }
 2293|  7.85k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2294|  7.85k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2295|  7.85k|                    auto ta = typed_array_cast<int16_t>(array_buffer);
 2296|  7.85k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2296:25): [True: 6.10k, False: 1.74k]
  ------------------
 2297|  6.10k|                    {
 2298|  21.8k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2298:49): [True: 15.7k, False: 6.10k]
  ------------------
 2299|  15.7k|                        {
 2300|  15.7k|                            ta[i] = binary::byte_swap<int16_t>(ta[i]);
 2301|  15.7k|                        }
 2302|  6.10k|                    }
 2303|  7.85k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2303:25): [True: 7.85k, False: 0]
  |  Branch (2303:42): [True: 237, False: 7.61k]
  ------------------
 2304|    237|                    {
 2305|    237|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2305:29): [True: 2, False: 235]
  ------------------
 2306|      2|                        {
 2307|      2|                            ec = cbor_errc::bad_extents;
 2308|      2|                            more_ = false;
 2309|      2|                            return;
 2310|      2|                        }
 2311|    235|                        auto iter = std::make_shared<mdarray_iterator<int16_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2312|    235|                            typed_array_tags::int16, extents_, order_);
 2313|    235|                        typed_array_stack_.push_back(iter);
 2314|    235|                        iter->next(visitor, *this, ec);
 2315|    235|                    }
 2316|  7.61k|                    else
 2317|  7.61k|                    {
 2318|  7.61k|                        auto iter = std::make_shared<oned_typed_array_iterator<int16_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2319|  7.61k|                            typed_array_tags::int16);
 2320|  7.61k|                        typed_array_stack_.push_back(iter);
 2321|  7.61k|                        iter->next(visitor, *this, ec);
 2322|  7.61k|                    }
 2323|  7.84k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2324|  7.84k|                    more_ = !cursor_mode_;
 2325|  7.84k|                    break;
 2326|  7.85k|                }
 2327|  1.59k|                case 0x4a:
  ------------------
  |  Branch (2327:17): [True: 1.59k, False: 138k]
  ------------------
 2328|  2.80k|                case 0x4e:
  ------------------
  |  Branch (2328:17): [True: 1.21k, False: 138k]
  ------------------
 2329|  2.80k|                {
 2330|  2.80k|                    array_tag_ = typed_array_tags::int32;
 2331|  2.80k|                    byte_string_type array_buffer(alloc_);
 2332|  2.80k|                    read(array_buffer, ec);
 2333|  2.80k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.80k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5, False: 2.79k]
  |  |  ------------------
  ------------------
 2334|      5|                    {
 2335|      5|                        more_ = false;
 2336|      5|                        return;
 2337|      5|                    }
 2338|  2.79k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2339|  2.79k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2340|  2.79k|                    auto ta = typed_array_cast<int32_t>(array_buffer);
 2341|  2.79k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2341:25): [True: 1.58k, False: 1.21k]
  ------------------
 2342|  1.58k|                    {
 2343|  42.6k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2343:49): [True: 41.0k, False: 1.58k]
  ------------------
 2344|  41.0k|                        {
 2345|  41.0k|                            ta[i] = binary::byte_swap<int32_t>(ta[i]);
 2346|  41.0k|                        }
 2347|  1.58k|                    }
 2348|  2.79k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2348:25): [True: 2.79k, False: 0]
  |  Branch (2348:42): [True: 541, False: 2.25k]
  ------------------
 2349|    541|                    {
 2350|    541|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2350:29): [True: 0, False: 541]
  ------------------
 2351|      0|                        {
 2352|      0|                            ec = cbor_errc::bad_extents;
 2353|      0|                            more_ = false;
 2354|      0|                            return;
 2355|      0|                        }
 2356|    541|                        auto iter = std::make_shared<mdarray_iterator<int32_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2357|    541|                            typed_array_tags::int32, extents_, order_);
 2358|    541|                        typed_array_stack_.push_back(iter);
 2359|    541|                        iter->next(visitor, *this, ec);
 2360|    541|                    }
 2361|  2.25k|                    else
 2362|  2.25k|                    {
 2363|  2.25k|                        auto iter = std::make_shared<oned_typed_array_iterator<int32_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2364|  2.25k|                            typed_array_tags::int32);
 2365|  2.25k|                        typed_array_stack_.push_back(iter);
 2366|  2.25k|                        iter->next(visitor, *this, ec);
 2367|  2.25k|                    }
 2368|  2.79k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2369|  2.79k|                    more_ = !cursor_mode_;
 2370|  2.79k|                    break;
 2371|  2.79k|                }
 2372|    599|                case 0x4b:
  ------------------
  |  Branch (2372:17): [True: 599, False: 139k]
  ------------------
 2373|  1.25k|                case 0x4f:
  ------------------
  |  Branch (2373:17): [True: 660, False: 139k]
  ------------------
 2374|  1.25k|                {
 2375|  1.25k|                    array_tag_ = typed_array_tags::int64;
 2376|  1.25k|                    byte_string_type array_buffer(alloc_);
 2377|  1.25k|                    read(array_buffer, ec);
 2378|  1.25k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.25k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 11, False: 1.24k]
  |  |  ------------------
  ------------------
 2379|     11|                    {
 2380|     11|                        more_ = false;
 2381|     11|                        return;
 2382|     11|                    }
 2383|  1.24k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2384|  1.24k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2385|  1.24k|                    auto ta = typed_array_cast<int64_t>(array_buffer);
 2386|  1.24k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2386:25): [True: 592, False: 656]
  ------------------
 2387|    592|                    {
 2388|  16.7k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2388:49): [True: 16.1k, False: 592]
  ------------------
 2389|  16.1k|                        {
 2390|  16.1k|                            ta[i] = binary::byte_swap<int64_t>(ta[i]);
 2391|  16.1k|                        }
 2392|    592|                    }
 2393|  1.24k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2393:25): [True: 1.24k, False: 0]
  |  Branch (2393:42): [True: 211, False: 1.03k]
  ------------------
 2394|    211|                    {
 2395|    211|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2395:29): [True: 1, False: 210]
  ------------------
 2396|      1|                        {
 2397|      1|                            ec = cbor_errc::bad_extents;
 2398|      1|                            more_ = false;
 2399|      1|                            return;
 2400|      1|                        }
 2401|    210|                        auto iter = std::make_shared<mdarray_iterator<int64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2402|    210|                            typed_array_tags::int64, extents_, order_);
 2403|    210|                        typed_array_stack_.push_back(iter);
 2404|    210|                        iter->next(visitor, *this, ec);
 2405|    210|                    }
 2406|  1.03k|                    else
 2407|  1.03k|                    {
 2408|  1.03k|                        auto iter = std::make_shared<oned_typed_array_iterator<int64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), typed_array_tags::int64);
 2409|  1.03k|                        typed_array_stack_.push_back(iter);
 2410|  1.03k|                        iter->next(visitor, *this, ec);
 2411|  1.03k|                    }
 2412|  1.24k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2413|  1.24k|                    more_ = !cursor_mode_;
 2414|  1.24k|                    break;
 2415|  1.24k|                }
 2416|  2.03k|                case 0x50:
  ------------------
  |  Branch (2416:17): [True: 2.03k, False: 137k]
  ------------------
 2417|  4.04k|                case 0x54:
  ------------------
  |  Branch (2417:17): [True: 2.00k, False: 138k]
  ------------------
 2418|  4.04k|                {
 2419|  4.04k|                    array_tag_ = typed_array_tags::half_float;
 2420|  4.04k|                    byte_string_type array_buffer(alloc_);
 2421|  4.04k|                    read(array_buffer, ec);
 2422|  4.04k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.04k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6, False: 4.03k]
  |  |  ------------------
  ------------------
 2423|      6|                    {
 2424|      6|                        more_ = false;
 2425|      6|                        return;
 2426|      6|                    }
 2427|  4.03k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2428|  4.03k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2429|  4.03k|                    auto ta = typed_array_cast<uint16_t>(array_buffer);
 2430|  4.03k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2430:25): [True: 2.03k, False: 2.00k]
  ------------------
 2431|  2.03k|                    {
 2432|   175k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2432:49): [True: 173k, False: 2.03k]
  ------------------
 2433|   173k|                        {
 2434|   173k|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 2435|   173k|                        }
 2436|  2.03k|                    }
 2437|  4.03k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2437:25): [True: 4.03k, False: 0]
  |  Branch (2437:42): [True: 963, False: 3.07k]
  ------------------
 2438|    963|                    {
 2439|    963|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2439:29): [True: 6, False: 957]
  ------------------
 2440|      6|                        {
 2441|      6|                            ec = cbor_errc::bad_extents;
 2442|      6|                            more_ = false;
 2443|      6|                            return;
 2444|      6|                        }
 2445|    957|                        auto iter = std::make_shared<mdarray_iterator<uint16_t,decode_half,Allocator>>(std::move(array_buffer), 
 2446|    957|                            typed_array_tags::half_float, extents_, order_);
 2447|    957|                        typed_array_stack_.push_back(iter);
 2448|    957|                        iter->next(visitor, *this, ec);
 2449|    957|                    }
 2450|  3.07k|                    else
 2451|  3.07k|                    {
 2452|  3.07k|                        auto iter = std::make_shared<oned_typed_array_iterator<uint16_t,decode_half,Allocator>>(std::move(array_buffer),
 2453|  3.07k|                            typed_array_tags::half_float);
 2454|  3.07k|                        typed_array_stack_.push_back(iter);
 2455|  3.07k|                        iter->next(visitor, *this, ec);
 2456|  3.07k|                    }
 2457|  4.02k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2458|  4.02k|                    more_ = !cursor_mode_;
 2459|  4.02k|                    break;
 2460|  4.03k|                }
 2461|  9.32k|                case 0x51:
  ------------------
  |  Branch (2461:17): [True: 9.32k, False: 130k]
  ------------------
 2462|  10.1k|                case 0x55:
  ------------------
  |  Branch (2462:17): [True: 867, False: 139k]
  ------------------
 2463|  10.1k|                {
 2464|  10.1k|                    array_tag_ = typed_array_tags::float32;
 2465|  10.1k|                    byte_string_type array_buffer(alloc_);
 2466|  10.1k|                    read(array_buffer, ec);
 2467|  10.1k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  10.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5, False: 10.1k]
  |  |  ------------------
  ------------------
 2468|      5|                    {
 2469|      5|                        more_ = false;
 2470|      5|                        return;
 2471|      5|                    }
 2472|  10.1k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2473|  10.1k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2474|  10.1k|                    auto ta = typed_array_cast<float>(array_buffer);
 2475|  10.1k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2475:25): [True: 9.31k, False: 865]
  ------------------
 2476|  9.31k|                    {
 2477|   103k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2477:49): [True: 94.4k, False: 9.31k]
  ------------------
 2478|  94.4k|                        {
 2479|  94.4k|                            ta[i] = binary::byte_swap<float>(ta[i]);
 2480|  94.4k|                        }
 2481|  9.31k|                    }
 2482|  10.1k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2482:25): [True: 10.1k, False: 0]
  |  Branch (2482:42): [True: 1.44k, False: 8.74k]
  ------------------
 2483|  1.44k|                    {
 2484|  1.44k|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2484:29): [True: 4, False: 1.44k]
  ------------------
 2485|      4|                        {
 2486|      4|                            ec = cbor_errc::bad_extents;
 2487|      4|                            more_ = false;
 2488|      4|                            return;
 2489|      4|                        }
 2490|  1.44k|                        auto iter = std::make_shared<mdarray_iterator<float,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2491|  1.44k|                            typed_array_tags::float32, extents_, order_);
 2492|  1.44k|                        typed_array_stack_.push_back(iter);
 2493|  1.44k|                        iter->next(visitor, *this, ec);
 2494|  1.44k|                    }
 2495|  8.74k|                    else
 2496|  8.74k|                    {
 2497|  8.74k|                        auto iter = std::make_shared<oned_typed_array_iterator<float,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2498|  8.74k|                            typed_array_tags::float32);
 2499|  8.74k|                        typed_array_stack_.push_back(iter);
 2500|  8.74k|                        iter->next(visitor, *this, ec);
 2501|  8.74k|                    }
 2502|  10.1k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2503|  10.1k|                    more_ = !cursor_mode_;
 2504|  10.1k|                    break;
 2505|  10.1k|                }
 2506|  4.36k|                case 0x52:
  ------------------
  |  Branch (2506:17): [True: 4.36k, False: 135k]
  ------------------
 2507|  4.66k|                case 0x56:
  ------------------
  |  Branch (2507:17): [True: 303, False: 139k]
  ------------------
 2508|  4.66k|                {
 2509|  4.66k|                    array_tag_ = typed_array_tags::float64;
 2510|  4.66k|                    byte_string_type array_buffer(alloc_);
 2511|  4.66k|                    read(array_buffer, ec);
 2512|  4.66k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.66k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 17, False: 4.64k]
  |  |  ------------------
  ------------------
 2513|     17|                    {
 2514|     17|                        more_ = false;
 2515|     17|                        return;
 2516|     17|                    }
 2517|  4.64k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2518|  4.64k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2519|  4.64k|                    auto ta = typed_array_cast<double>(array_buffer);
 2520|  4.64k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2520:25): [True: 4.34k, False: 302]
  ------------------
 2521|  4.34k|                    {
 2522|  12.7k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2522:49): [True: 8.39k, False: 4.34k]
  ------------------
 2523|  8.39k|                        {
 2524|  8.39k|                            ta[i] = binary::byte_swap<double>(ta[i]);
 2525|  8.39k|                        }
 2526|  4.34k|                    }
 2527|  4.64k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2527:25): [True: 4.64k, False: 0]
  |  Branch (2527:42): [True: 968, False: 3.68k]
  ------------------
 2528|    968|                    {
 2529|    968|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2529:29): [True: 3, False: 965]
  ------------------
 2530|      3|                        {
 2531|      3|                            ec = cbor_errc::bad_extents;
 2532|      3|                            more_ = false;
 2533|      3|                            return;
 2534|      3|                        }
 2535|    965|                        auto iter = std::make_shared<mdarray_iterator<double,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2536|    965|                            typed_array_tags::float64, extents_, order_);
 2537|    965|                        typed_array_stack_.push_back(iter);
 2538|    965|                        iter->next(visitor, *this, ec);
 2539|    965|                    }
 2540|  3.68k|                    else
 2541|  3.68k|                    {
 2542|  3.68k|                        auto iter = std::make_shared<oned_typed_array_iterator<double,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2543|  3.68k|                            typed_array_tags::float64);
 2544|  3.68k|                        typed_array_stack_.push_back(iter);
 2545|  3.68k|                        iter->next(visitor, *this, ec);
 2546|  3.68k|                    }
 2547|  4.64k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2548|  4.64k|                    more_ = !cursor_mode_;
 2549|  4.64k|                    break;
 2550|  4.64k|                }
 2551|  27.0k|                default:
  ------------------
  |  Branch (2551:17): [True: 27.0k, False: 112k]
  ------------------
 2552|  27.0k|                {
 2553|  27.0k|                    auto bytes = read.view(ec);
 2554|  27.0k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  27.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 10, False: 27.0k]
  |  |  ------------------
  ------------------
 2555|     10|                    {
 2556|     10|                        more_ = false;
 2557|     10|                        return;
 2558|     10|                    }
 2559|  27.0k|                    visitor.byte_string_value(bytes, raw_tag_, *this, ec);
 2560|  27.0k|                    more_ = !cursor_mode_;
 2561|  27.0k|                    break;
 2562|  27.0k|                }
 2563|   140k|            }
 2564|   139k|            other_tags_[item_tag] = false;
 2565|   139k|        }
 2566|  13.0M|        else
 2567|  13.0M|        {
 2568|  13.0M|            auto bytes = read.view(ec);
 2569|  13.0M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  13.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 149, False: 13.0M]
  |  |  ------------------
  ------------------
 2570|    149|            {
 2571|    149|                return;
 2572|    149|            }
 2573|  13.0M|            visitor.byte_string_value(bytes, semantic_tag::none, *this, ec);
 2574|  13.0M|            more_ = !cursor_mode_;
 2575|  13.0M|        }
 2576|  13.1M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_source4viewERNS3_10error_codeE:
  208|  13.0M|        {
  209|  13.0M|            return source->read_byte_string_view(ec);
  210|  13.0M|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21read_byte_string_viewERNS3_10error_codeE:
 1206|  13.0M|    {
 1207|  13.0M|        auto c = source_.peek();
 1208|  13.0M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  13.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 13.0M]
  |  |  ------------------
  ------------------
 1209|      0|        {
 1210|      0|            ec = cbor_errc::unexpected_eof;
 1211|      0|            more_ = false;
 1212|      0|            return byte_string_view();
 1213|      0|        }
 1214|  13.0M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1215|  13.0M|        uint8_t info = get_additional_information_value(c.value);
 1216|       |
 1217|  13.0M|        JSONCONS_ASSERT(major_type == jsoncons::cbor::detail::cbor_major_type::byte_string);
  ------------------
  |  |   49|  13.0M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 13.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 ))); }
  ------------------
 1218|       |
 1219|  13.0M|        if (info == jsoncons::cbor::detail::additional_info::indefinite_length)
  ------------------
  |  Branch (1219:13): [True: 1.42k, False: 13.0M]
  ------------------
 1220|  1.42k|        {
 1221|  1.42k|            bytes_buffer_.clear();
 1222|  1.42k|            source_.ignore(1);
 1223|  1.42k|            iterate_string_chunks(bytes_buffer_, major_type, ec);
 1224|  1.42k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.42k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 34, False: 1.38k]
  |  |  ------------------
  ------------------
 1225|     34|            {
 1226|     34|                return byte_string_view();
 1227|     34|            }
 1228|  1.38k|            return byte_string_view(bytes_buffer_.data(), bytes_buffer_.size());
 1229|  1.42k|        }
 1230|       |
 1231|  13.0M|        std::size_t length = read_size(ec);
 1232|  13.0M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  13.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 13.0M]
  |  |  ------------------
  ------------------
 1233|      0|        {
 1234|      0|            return byte_string_view();
 1235|      0|        }
 1236|  13.0M|        auto data = source_.read_span(length, bytes_buffer_);
 1237|  13.0M|        if (data.size() != length)
  ------------------
  |  Branch (1237:13): [True: 132, False: 13.0M]
  ------------------
 1238|    132|        {
 1239|    132|            ec = cbor_errc::unexpected_eof;
 1240|    132|            more_ = false;
 1241|    132|            return byte_string_view();
 1242|    132|        }
 1243|       |        
 1244|  13.0M|        byte_string_view bytes(data.data(), data.size());
 1245|  13.0M|        if (!stringref_map_stack_.empty() &&
  ------------------
  |  Branch (1245:13): [True: 5.76M, False: 7.32M]
  ------------------
 1246|  5.76M|            bytes.size() >= jsoncons::cbor::detail::min_length_for_stringref(stringref_map_stack_.back().size()))
  ------------------
  |  Branch (1246:13): [True: 2.49M, False: 3.26M]
  ------------------
 1247|  2.49M|        {
 1248|  2.49M|            stringref_map_stack_.back().emplace_back(mapped_string(bytes, alloc_));
 1249|  2.49M|        }
 1250|  13.0M|        return bytes;
 1251|  13.0M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21iterate_string_chunksINS3_6vectorIhS5_EEEEvRT_NS0_6detail15cbor_major_typeERNS3_10error_codeE:
 1314|  1.48k|    {
 1315|  1.48k|        bool done = false;
 1316|   124k|        while (!done)
  ------------------
  |  Branch (1316:16): [True: 123k, False: 1.42k]
  ------------------
 1317|   123k|        {
 1318|   123k|            auto c = source_.peek();
 1319|   123k|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   123k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 12, False: 123k]
  |  |  ------------------
  ------------------
 1320|     12|            {
 1321|     12|                ec = cbor_errc::unexpected_eof;
 1322|     12|                more_ = false;
 1323|     12|                return;
 1324|     12|            }
 1325|   123k|            if (c.value == 0xff)
  ------------------
  |  Branch (1325:17): [True: 1.42k, False: 121k]
  ------------------
 1326|  1.42k|            {
 1327|  1.42k|                done = true;
 1328|  1.42k|                source_.ignore(1);
 1329|  1.42k|                continue;
 1330|  1.42k|            }
 1331|       |
 1332|   121k|            jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1333|   121k|            if (major_type != type)
  ------------------
  |  Branch (1333:17): [True: 14, False: 121k]
  ------------------
 1334|     14|            {
 1335|     14|                ec = cbor_errc::illegal_chunked_string;
 1336|     14|                more_ = false;
 1337|     14|                return;
 1338|     14|            }
 1339|   121k|            uint8_t info = get_additional_information_value(c.value);
 1340|   121k|            if (info == jsoncons::cbor::detail::additional_info::indefinite_length)
  ------------------
  |  Branch (1340:17): [True: 6, False: 121k]
  ------------------
 1341|      6|            {
 1342|      6|                ec = cbor_errc::illegal_chunked_string;
 1343|      6|                more_ = false;
 1344|      6|                return;
 1345|      6|            }
 1346|       |
 1347|   121k|            std::size_t length = read_size(ec);
 1348|   121k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   121k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 121k]
  |  |  ------------------
  ------------------
 1349|      0|            {
 1350|      0|                return;
 1351|      0|            }
 1352|   121k|            if (source_reader<Source>::read(source_, v, length) != length)
  ------------------
  |  Branch (1352:17): [True: 28, False: 121k]
  ------------------
 1353|     28|            {
 1354|     28|                ec = cbor_errc::unexpected_eof;
 1355|     28|            }
 1356|   121k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   121k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 28, False: 121k]
  |  |  ------------------
  ------------------
 1357|     28|            {
 1358|     28|                return;
 1359|     28|            }
 1360|   121k|        } 
 1361|  1.48k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_sizeERNS3_10error_codeE:
 1254|  31.2M|    {
 1255|  31.2M|        uint64_t u = read_uint64(ec);
 1256|  31.2M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  31.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 44, False: 31.2M]
  |  |  ------------------
  ------------------
 1257|     44|        {
 1258|     44|            return 0;
 1259|     44|        }
 1260|  31.2M|        std::size_t len = static_cast<std::size_t>(u);
 1261|  31.2M|        if (len != u)
  ------------------
  |  Branch (1261:13): [True: 0, False: 31.2M]
  ------------------
 1262|      0|        {
 1263|      0|            ec = cbor_errc::number_too_large;
 1264|      0|            more_ = false;
 1265|      0|        }
 1266|  31.2M|        return len;
 1267|  31.2M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2EOS9_:
  119|  6.14M|        mapped_string(mapped_string&&) = default;
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2ERKNS_16byte_string_viewERKS7_:
  108|  2.49M|            : type(jsoncons::cbor::detail::cbor_major_type::byte_string), str(alloc), bytes(bytes.begin(),bytes.end(),alloc)
  109|  2.49M|        {
  110|  2.49M|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_sourceclINS3_6vectorIhS5_EEEEvRT_RNS3_10error_codeE:
  203|  68.0k|        {
  204|  68.0k|            source->read_byte_string(cont,ec);
  205|  68.0k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringERNS3_6vectorIhS5_EERNS3_10error_codeE:
 1270|   201k|    {
 1271|   201k|        v.clear();
 1272|   201k|        auto c = source_.peek();
 1273|   201k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   201k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 201k]
  |  |  ------------------
  ------------------
 1274|      0|        {
 1275|      0|            ec = cbor_errc::unexpected_eof;
 1276|      0|            return;
 1277|      0|        }
 1278|   201k|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1279|   201k|        uint8_t info = get_additional_information_value(c.value);
 1280|       |
 1281|   201k|        JSONCONS_ASSERT(major_type == jsoncons::cbor::detail::cbor_major_type::byte_string);
  ------------------
  |  |   49|   201k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 201k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1282|       |
 1283|   201k|        if (info == jsoncons::cbor::detail::additional_info::indefinite_length)
  ------------------
  |  Branch (1283:13): [True: 63, False: 201k]
  ------------------
 1284|     63|        {
 1285|     63|            source_.ignore(1);
 1286|     63|            iterate_string_chunks(v, major_type, ec);
 1287|     63|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|     63|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 26, False: 37]
  |  |  ------------------
  ------------------
 1288|     26|            {
 1289|     26|                return;
 1290|     26|            }
 1291|     63|        }
 1292|   201k|        else 
 1293|   201k|        {
 1294|   201k|            std::size_t length = read_size(ec);
 1295|   201k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   201k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 201k]
  |  |  ------------------
  ------------------
 1296|      0|            {
 1297|      0|                return;
 1298|      0|            }
 1299|   201k|            if (source_reader<Source>::read(source_, v, length) != length)
  ------------------
  |  Branch (1299:17): [True: 82, False: 201k]
  ------------------
 1300|     82|            {
 1301|     82|                ec = cbor_errc::unexpected_eof;
 1302|     82|                return;
 1303|     82|            }
 1304|   201k|            if (!stringref_map_stack_.empty() &&
  ------------------
  |  Branch (1304:17): [True: 71.0k, False: 129k]
  ------------------
 1305|  71.0k|                v.size() >= jsoncons::cbor::detail::min_length_for_stringref(stringref_map_stack_.back().size()))
  ------------------
  |  Branch (1305:17): [True: 5.15k, False: 65.9k]
  ------------------
 1306|  5.15k|            {
 1307|  5.15k|                stringref_map_stack_.back().emplace_back(mapped_string(v, alloc_));
 1308|  5.15k|            }
 1309|   201k|        }
 1310|   201k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2ERKNS3_6vectorIhS5_EERKS7_:
  102|  5.15k|            : type(jsoncons::cbor::detail::cbor_major_type::byte_string), str(alloc), bytes(bytes,alloc)
  103|  5.15k|        {
  104|  5.15k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21read_text_string_viewERNS3_10error_codeE:
 1117|  2.34M|    {
 1118|  2.34M|        auto c = source_.peek();
 1119|  2.34M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  2.34M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.34M]
  |  |  ------------------
  ------------------
 1120|      0|        {
 1121|      0|            ec = cbor_errc::unexpected_eof;
 1122|      0|            more_ = false;
 1123|      0|            return string_view_type();
 1124|      0|        }
 1125|  2.34M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1126|  2.34M|        JSONCONS_ASSERT(major_type == jsoncons::cbor::detail::cbor_major_type::text_string);
  ------------------
  |  |   49|  2.34M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.34M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1127|  2.34M|        uint8_t info = get_additional_information_value(c.value);
 1128|       |
 1129|  2.34M|        if (info == jsoncons::cbor::detail::additional_info::indefinite_length)
  ------------------
  |  Branch (1129:13): [True: 731, False: 2.34M]
  ------------------
 1130|    731|        {
 1131|    731|            text_buffer_.clear();
 1132|    731|            source_.ignore(1);
 1133|    731|            iterate_string_chunks(text_buffer_, major_type, ec);
 1134|    731|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    731|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 95, False: 636]
  |  |  ------------------
  ------------------
 1135|     95|            {
 1136|     95|                return string_view_type();
 1137|     95|            }
 1138|    636|            return string_view_type(text_buffer_.data(), text_buffer_.size());
 1139|    731|        }
 1140|       |
 1141|  2.34M|        std::size_t length = read_size(ec);
 1142|  2.34M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.34M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 2.34M]
  |  |  ------------------
  ------------------
 1143|      1|        {
 1144|      1|            return string_view_type();
 1145|      1|        }
 1146|  2.34M|        auto data = source_.read_span(length, text_buffer_);
 1147|  2.34M|        if (data.size() != length)
  ------------------
  |  Branch (1147:13): [True: 92, False: 2.34M]
  ------------------
 1148|     92|        {
 1149|     92|            ec = cbor_errc::unexpected_eof;
 1150|     92|            more_ = false;
 1151|     92|            return string_view_type();
 1152|     92|        }
 1153|  2.34M|        string_view_type sv(reinterpret_cast<const char_type*>(data.data()), data.size());
 1154|  2.34M|        if (!stringref_map_stack_.empty() &&
  ------------------
  |  Branch (1154:13): [True: 1.29M, False: 1.04M]
  ------------------
 1155|  1.29M|            sv.length() >= jsoncons::cbor::detail::min_length_for_stringref(stringref_map_stack_.back().size()))
  ------------------
  |  Branch (1155:13): [True: 97.1k, False: 1.19M]
  ------------------
 1156|  97.1k|        {
 1157|  97.1k|            stringref_map_stack_.back().emplace_back(mapped_string(sv,alloc_));
 1158|  97.1k|        }
 1159|  2.34M|        return sv;
 1160|  2.34M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21iterate_string_chunksINS3_12basic_stringIcNS3_11char_traitsIcEES7_EEEEvRT_NS0_6detail15cbor_major_typeERNS3_10error_codeE:
 1314|    731|    {
 1315|    731|        bool done = false;
 1316|   311k|        while (!done)
  ------------------
  |  Branch (1316:16): [True: 310k, False: 636]
  ------------------
 1317|   310k|        {
 1318|   310k|            auto c = source_.peek();
 1319|   310k|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   310k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 310k]
  |  |  ------------------
  ------------------
 1320|      4|            {
 1321|      4|                ec = cbor_errc::unexpected_eof;
 1322|      4|                more_ = false;
 1323|      4|                return;
 1324|      4|            }
 1325|   310k|            if (c.value == 0xff)
  ------------------
  |  Branch (1325:17): [True: 636, False: 309k]
  ------------------
 1326|    636|            {
 1327|    636|                done = true;
 1328|    636|                source_.ignore(1);
 1329|    636|                continue;
 1330|    636|            }
 1331|       |
 1332|   309k|            jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1333|   309k|            if (major_type != type)
  ------------------
  |  Branch (1333:17): [True: 19, False: 309k]
  ------------------
 1334|     19|            {
 1335|     19|                ec = cbor_errc::illegal_chunked_string;
 1336|     19|                more_ = false;
 1337|     19|                return;
 1338|     19|            }
 1339|   309k|            uint8_t info = get_additional_information_value(c.value);
 1340|   309k|            if (info == jsoncons::cbor::detail::additional_info::indefinite_length)
  ------------------
  |  Branch (1340:17): [True: 13, False: 309k]
  ------------------
 1341|     13|            {
 1342|     13|                ec = cbor_errc::illegal_chunked_string;
 1343|     13|                more_ = false;
 1344|     13|                return;
 1345|     13|            }
 1346|       |
 1347|   309k|            std::size_t length = read_size(ec);
 1348|   309k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   309k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 309k]
  |  |  ------------------
  ------------------
 1349|      2|            {
 1350|      2|                return;
 1351|      2|            }
 1352|   309k|            if (source_reader<Source>::read(source_, v, length) != length)
  ------------------
  |  Branch (1352:17): [True: 57, False: 309k]
  ------------------
 1353|     57|            {
 1354|     57|                ec = cbor_errc::unexpected_eof;
 1355|     57|            }
 1356|   309k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   309k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 57, False: 309k]
  |  |  ------------------
  ------------------
 1357|     57|            {
 1358|     57|                return;
 1359|     57|            }
 1360|   309k|        } 
 1361|    731|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2ERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKS7_:
   91|  97.1k|            : type(jsoncons::cbor::detail::cbor_major_type::text_string), str(sv.data(), sv.size(), alloc), bytes(alloc)
   92|  97.1k|        {
   93|  97.1k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_doubleERNS3_10error_codeE:
 1534|  20.9k|    {
 1535|  20.9k|        double val = 0;
 1536|       |
 1537|  20.9k|        uint8_t b;
 1538|  20.9k|        if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1538:13): [True: 0, False: 20.9k]
  ------------------
 1539|      0|        {
 1540|      0|            ec = cbor_errc::unexpected_eof;
 1541|      0|            more_ = false;
 1542|      0|            return 0;
 1543|      0|        }
 1544|  20.9k|        uint8_t info = get_additional_information_value(b);
 1545|  20.9k|        switch (info)
 1546|  20.9k|        {
 1547|  12.9k|        case 0x1a: // Single-Precision Float (four-byte IEEE 754)
  ------------------
  |  Branch (1547:9): [True: 12.9k, False: 8.06k]
  ------------------
 1548|  12.9k|            {
 1549|  12.9k|                uint8_t buf[sizeof(float)];
 1550|  12.9k|                if (source_.read(buf, sizeof(float)) !=sizeof(float)) 
  ------------------
  |  Branch (1550:21): [True: 16, False: 12.8k]
  ------------------
 1551|     16|                {
 1552|     16|                    ec = cbor_errc::unexpected_eof;
 1553|     16|                    more_ = false;
 1554|     16|                    return 0;
 1555|     16|                }
 1556|  12.8k|                val = binary::big_to_native<float>(buf, sizeof(buf));
 1557|  12.8k|                break;
 1558|  12.9k|            }
 1559|       |
 1560|  8.06k|        case 0x1b: //  Double-Precision Float (eight-byte IEEE 754)
  ------------------
  |  Branch (1560:9): [True: 8.06k, False: 12.9k]
  ------------------
 1561|  8.06k|            {
 1562|  8.06k|                uint8_t buf[sizeof(double)];
 1563|  8.06k|                if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (1563:21): [True: 37, False: 8.02k]
  ------------------
 1564|     37|                {
 1565|     37|                    ec = cbor_errc::unexpected_eof;
 1566|     37|                    more_ = false;
 1567|     37|                    return 0;
 1568|     37|                }
 1569|  8.02k|                val = binary::big_to_native<double>(buf, sizeof(buf));
 1570|  8.02k|                break;
 1571|  8.06k|            }
 1572|      0|            default:
  ------------------
  |  Branch (1572:13): [True: 0, False: 20.9k]
  ------------------
 1573|      0|                break;
 1574|  20.9k|        }
 1575|       |        
 1576|  20.9k|        return val;
 1577|  20.9k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21read_decimal_fractionERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
 1580|   845k|    {
 1581|   845k|        std::size_t size = read_size(ec);
 1582|   845k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   845k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 845k]
  |  |  ------------------
  ------------------
 1583|      0|        {
 1584|      0|            return;
 1585|      0|        }
 1586|   845k|        if (size != 2)
  ------------------
  |  Branch (1586:13): [True: 8, False: 845k]
  ------------------
 1587|      8|        {
 1588|      8|            ec = cbor_errc::invalid_decimal_fraction;
 1589|      8|            more_ = false;
 1590|      8|            return;
 1591|      8|        }
 1592|       |
 1593|   845k|        auto c = source_.peek();
 1594|   845k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   845k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 8, False: 845k]
  |  |  ------------------
  ------------------
 1595|      8|        {
 1596|      8|            ec = cbor_errc::unexpected_eof;
 1597|      8|            more_ = false;
 1598|      8|            return;
 1599|      8|        }
 1600|   845k|        int64_t exponent = 0;
 1601|   845k|        switch (get_major_type(c.value))
 1602|   845k|        {
 1603|  48.0k|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1603:13): [True: 48.0k, False: 797k]
  ------------------
 1604|  48.0k|            {
 1605|  48.0k|                exponent = read_uint64(ec);
 1606|  48.0k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  48.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 48.0k]
  |  |  ------------------
  ------------------
 1607|      0|                {
 1608|      0|                    return;
 1609|      0|                }
 1610|  48.0k|                break;
 1611|  48.0k|            }
 1612|   797k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1612:13): [True: 797k, False: 48.0k]
  ------------------
 1613|   797k|            {
 1614|   797k|                exponent = read_int64(ec);
 1615|   797k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   797k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 797k]
  |  |  ------------------
  ------------------
 1616|      0|                {
 1617|      0|                    return;
 1618|      0|                }
 1619|   797k|                break;
 1620|   797k|            }
 1621|   797k|            default:
  ------------------
  |  Branch (1621:13): [True: 6, False: 845k]
  ------------------
 1622|      6|            {
 1623|      6|                ec = cbor_errc::invalid_decimal_fraction;
 1624|      6|                more_ = false;
 1625|      6|                return;
 1626|   797k|            }
 1627|   845k|        }
 1628|       |
 1629|   845k|        string_type str(alloc_);
 1630|       |
 1631|   845k|        c = source_.peek();
 1632|   845k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   845k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 14, False: 845k]
  |  |  ------------------
  ------------------
 1633|     14|        {
 1634|     14|            ec = cbor_errc::unexpected_eof;
 1635|     14|            more_ = false;
 1636|     14|            return;
 1637|     14|        }
 1638|       |
 1639|   845k|        switch (get_major_type(c.value))
 1640|   845k|        {
 1641|  7.89k|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1641:13): [True: 7.89k, False: 837k]
  ------------------
 1642|  7.89k|            {
 1643|  7.89k|                uint64_t val = read_uint64(ec);
 1644|  7.89k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  7.89k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 7.89k]
  |  |  ------------------
  ------------------
 1645|      0|                {
 1646|      0|                    return;
 1647|      0|                }
 1648|  7.89k|                jsoncons::from_integer(val, str);
 1649|  7.89k|                break;
 1650|  7.89k|            }
 1651|   795k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1651:13): [True: 795k, False: 49.5k]
  ------------------
 1652|   795k|            {
 1653|   795k|                int64_t val = read_int64(ec);
 1654|   795k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   795k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 795k]
  |  |  ------------------
  ------------------
 1655|      0|                {
 1656|      0|                    return;
 1657|      0|                }
 1658|   795k|                jsoncons::from_integer(val, str);
 1659|   795k|                break;
 1660|   795k|            }
 1661|  41.6k|            case jsoncons::cbor::detail::cbor_major_type::semantic_tag:
  ------------------
  |  Branch (1661:13): [True: 41.6k, False: 803k]
  ------------------
 1662|  41.6k|            {
 1663|  41.6k|                uint8_t b;
 1664|  41.6k|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1664:21): [True: 0, False: 41.6k]
  ------------------
 1665|      0|                {
 1666|      0|                    ec = cbor_errc::unexpected_eof;
 1667|      0|                    more_ = false;
 1668|      0|                    return;
 1669|      0|                }
 1670|  41.6k|                uint8_t tag = get_additional_information_value(b);
 1671|  41.6k|                c = source_.peek();
 1672|  41.6k|                if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  41.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 41.6k]
  |  |  ------------------
  ------------------
 1673|      4|                {
 1674|      4|                    ec = cbor_errc::unexpected_eof;
 1675|      4|                    more_ = false;
 1676|      4|                    return;
 1677|      4|                }
 1678|       |
 1679|  41.6k|                if (get_major_type(c.value) == jsoncons::cbor::detail::cbor_major_type::byte_string)
  ------------------
  |  Branch (1679:21): [True: 41.6k, False: 6]
  ------------------
 1680|  41.6k|                {
 1681|  41.6k|                    bytes_buffer_.clear();
 1682|  41.6k|                    read_byte_string(bytes_buffer_, ec);
 1683|  41.6k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  41.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 21, False: 41.6k]
  |  |  ------------------
  ------------------
 1684|     21|                    {
 1685|     21|                        more_ = false;
 1686|     21|                        return;
 1687|     21|                    }
 1688|  41.6k|                    if (tag == 2)
  ------------------
  |  Branch (1688:25): [True: 629, False: 41.0k]
  ------------------
 1689|    629|                    {
 1690|    629|                        bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1691|    629|                        n.write_string(str);
 1692|    629|                    }
 1693|  41.0k|                    else if (tag == 3)
  ------------------
  |  Branch (1693:30): [True: 41.0k, False: 4]
  ------------------
 1694|  41.0k|                    {
 1695|  41.0k|                        bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1696|  41.0k|                        n = -1 - n;
 1697|  41.0k|                        n.write_string(str);
 1698|  41.0k|                    }
 1699|  41.6k|                }
 1700|  41.6k|                break;
 1701|  41.6k|            }
 1702|  41.6k|            default:
  ------------------
  |  Branch (1702:13): [True: 1, False: 845k]
  ------------------
 1703|      1|            {
 1704|      1|                ec = cbor_errc::invalid_decimal_fraction;
 1705|      1|                more_ = false;
 1706|      1|                return;
 1707|  41.6k|            }
 1708|   845k|        }
 1709|       |
 1710|   845k|        if (str.size() >= static_cast<std::size_t>((std::numeric_limits<int32_t>::max)()) || 
  ------------------
  |  Branch (1710:13): [True: 0, False: 845k]
  ------------------
 1711|   845k|            exponent >= (std::numeric_limits<int32_t>::max)() || 
  ------------------
  |  Branch (1711:13): [True: 1, False: 845k]
  ------------------
 1712|   845k|            exponent <= (std::numeric_limits<int32_t>::min)())
  ------------------
  |  Branch (1712:13): [True: 2, False: 845k]
  ------------------
 1713|      3|        {
 1714|      3|            ec = cbor_errc::invalid_decimal_fraction;
 1715|      3|            more_ = false;
 1716|      3|            return;
 1717|      3|        }
 1718|   845k|        else if (str.size() > 0)
  ------------------
  |  Branch (1718:18): [True: 845k, False: 10]
  ------------------
 1719|   845k|        {
 1720|   845k|            if (str[0] == '-')
  ------------------
  |  Branch (1720:17): [True: 836k, False: 8.58k]
  ------------------
 1721|   836k|            {
 1722|   836k|                result.push_back('-');
 1723|   836k|                jsoncons::prettify_string(str.c_str()+1, str.size()-1, (int)exponent, -4, 17, result);
 1724|   836k|            }
 1725|  8.58k|            else
 1726|  8.58k|            {
 1727|  8.58k|                jsoncons::prettify_string(str.c_str(), str.size(), (int)exponent, -4, 17, result);
 1728|  8.58k|            }
 1729|   845k|        }
 1730|     10|        else
 1731|     10|        {
 1732|     10|            ec = cbor_errc::invalid_decimal_fraction;
 1733|     10|            more_ = false;
 1734|     10|            return;
 1735|     10|        }
 1736|   845k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13read_bigfloatERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
 1739|   110k|    {
 1740|   110k|        std::size_t size = read_size(ec);
 1741|   110k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   110k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 110k]
  |  |  ------------------
  ------------------
 1742|      0|        {
 1743|      0|            return;
 1744|      0|        }
 1745|   110k|        if (size != 2)
  ------------------
  |  Branch (1745:13): [True: 1, False: 110k]
  ------------------
 1746|      1|        {
 1747|      1|            ec = cbor_errc::invalid_bigfloat;
 1748|      1|            more_ = false;
 1749|      1|            return;
 1750|      1|        }
 1751|       |
 1752|   110k|        auto c = source_.peek();
 1753|   110k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   110k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 110k]
  |  |  ------------------
  ------------------
 1754|      2|        {
 1755|      2|            ec = cbor_errc::unexpected_eof;
 1756|      2|            more_ = false;
 1757|      2|            return;
 1758|      2|        }
 1759|   110k|        int64_t exponent = 0;
 1760|   110k|        switch (get_major_type(c.value))
 1761|   110k|        {
 1762|  96.5k|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1762:13): [True: 96.5k, False: 13.7k]
  ------------------
 1763|  96.5k|            {
 1764|  96.5k|                exponent = read_uint64(ec);
 1765|  96.5k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  96.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 96.5k]
  |  |  ------------------
  ------------------
 1766|      0|                {
 1767|      0|                    return;
 1768|      0|                }
 1769|  96.5k|                break;
 1770|  96.5k|            }
 1771|  96.5k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1771:13): [True: 13.7k, False: 96.5k]
  ------------------
 1772|  13.7k|            {
 1773|  13.7k|                exponent = read_int64(ec);
 1774|  13.7k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  13.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 13.7k]
  |  |  ------------------
  ------------------
 1775|      1|                {
 1776|      1|                    return;
 1777|      1|                }
 1778|  13.7k|                break;
 1779|  13.7k|            }
 1780|  13.7k|            default:
  ------------------
  |  Branch (1780:13): [True: 6, False: 110k]
  ------------------
 1781|      6|            {
 1782|      6|                ec = cbor_errc::invalid_bigfloat;
 1783|      6|                more_ = false;
 1784|      6|                return;
 1785|  13.7k|            }
 1786|   110k|        }
 1787|       |
 1788|   110k|        c = source_.peek();
 1789|   110k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   110k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 9, False: 110k]
  |  |  ------------------
  ------------------
 1790|      9|        {
 1791|      9|            ec = cbor_errc::unexpected_eof;
 1792|      9|            more_ = false;
 1793|      9|            return;
 1794|      9|        }
 1795|   110k|        switch (get_major_type(c.value))
 1796|   110k|        {
 1797|  2.97k|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1797:13): [True: 2.97k, False: 107k]
  ------------------
 1798|  2.97k|            {
 1799|  2.97k|                uint64_t val = read_uint64(ec);
 1800|  2.97k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.97k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.97k]
  |  |  ------------------
  ------------------
 1801|      0|                {
 1802|      0|                    return;
 1803|      0|                }
 1804|  2.97k|                str.push_back('0');
 1805|  2.97k|                str.push_back('x');
 1806|  2.97k|                jsoncons::integer_to_hex(val, str);
 1807|  2.97k|                break;
 1808|  2.97k|            }
 1809|  2.99k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1809:13): [True: 2.99k, False: 107k]
  ------------------
 1810|  2.99k|            {
 1811|  2.99k|                int64_t val = read_int64(ec);
 1812|  2.99k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.99k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.99k]
  |  |  ------------------
  ------------------
 1813|      0|                {
 1814|      0|                    return;
 1815|      0|                }
 1816|  2.99k|                str.push_back('-');
 1817|  2.99k|                str.push_back('0');
 1818|  2.99k|                str.push_back('x');
 1819|  2.99k|                jsoncons::integer_to_hex(static_cast<uint64_t>(-val), str);
 1820|  2.99k|                break;
 1821|  2.99k|            }
 1822|   104k|            case jsoncons::cbor::detail::cbor_major_type::semantic_tag:
  ------------------
  |  Branch (1822:13): [True: 104k, False: 5.97k]
  ------------------
 1823|   104k|            {
 1824|   104k|                uint8_t b;
 1825|   104k|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1825:21): [True: 0, False: 104k]
  ------------------
 1826|      0|                {
 1827|      0|                    ec = cbor_errc::unexpected_eof;
 1828|      0|                    more_ = false;
 1829|      0|                    return;
 1830|      0|                }
 1831|   104k|                uint8_t tag = get_additional_information_value(b);
 1832|       |
 1833|   104k|                c = source_.peek();
 1834|   104k|                if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   104k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 9, False: 104k]
  |  |  ------------------
  ------------------
 1835|      9|                {
 1836|      9|                    ec = cbor_errc::unexpected_eof;
 1837|      9|                    more_ = false;
 1838|      9|                    return;
 1839|      9|                }
 1840|       |
 1841|   104k|                if (get_major_type(c.value) == jsoncons::cbor::detail::cbor_major_type::byte_string)
  ------------------
  |  Branch (1841:21): [True: 91.4k, False: 12.9k]
  ------------------
 1842|  91.4k|                {
 1843|  91.4k|                    bytes_buffer_.clear(); 
 1844|  91.4k|                    read_byte_string(bytes_buffer_, ec);
 1845|  91.4k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  91.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 18, False: 91.4k]
  |  |  ------------------
  ------------------
 1846|     18|                    {
 1847|     18|                        more_ = false;
 1848|     18|                        return;
 1849|     18|                    }
 1850|  91.4k|                    if (tag == 2)
  ------------------
  |  Branch (1850:25): [True: 89.8k, False: 1.51k]
  ------------------
 1851|  89.8k|                    {
 1852|  89.8k|                        str.push_back('0');
 1853|  89.8k|                        str.push_back('x');
 1854|  89.8k|                        bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1855|  89.8k|                        n.write_string_hex(str);
 1856|  89.8k|                    }
 1857|  1.51k|                    else if (tag == 3)
  ------------------
  |  Branch (1857:30): [True: 997, False: 516]
  ------------------
 1858|    997|                    {
 1859|    997|                        str.push_back('-');
 1860|    997|                        str.push_back('0');
 1861|    997|                        bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1862|    997|                        n = -1 - n;
 1863|    997|                        n.write_string_hex(str);
 1864|    997|                        str[2] = 'x'; // overwrite minus
 1865|    997|                    }
 1866|  91.4k|                }
 1867|   104k|                break;
 1868|   104k|            }
 1869|   104k|            default:
  ------------------
  |  Branch (1869:13): [True: 4, False: 110k]
  ------------------
 1870|      4|            {
 1871|      4|                ec = cbor_errc::invalid_bigfloat;
 1872|      4|                more_ = false;
 1873|      4|                return;
 1874|   104k|            }
 1875|   110k|        }
 1876|       |
 1877|   110k|        str.push_back('p');
 1878|   110k|        if (exponent >=0)
  ------------------
  |  Branch (1878:13): [True: 97.2k, False: 13.0k]
  ------------------
 1879|  97.2k|        {
 1880|  97.2k|            jsoncons::integer_to_hex(static_cast<uint64_t>(exponent), str);
 1881|  97.2k|        }
 1882|  13.0k|        else
 1883|  13.0k|        {
 1884|  13.0k|            str.push_back('-');
 1885|  13.0k|            jsoncons::integer_to_hex(static_cast<uint64_t>(-exponent), str);
 1886|  13.0k|        }
 1887|   110k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE19read_mdarray_headerERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
 2579|  10.3k|    {
 2580|  10.3k|        uint8_t b;
 2581|  10.3k|        if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (2581:13): [True: 0, False: 10.3k]
  ------------------
 2582|      0|        {
 2583|      0|            ec = cbor_errc::unexpected_eof;
 2584|      0|            more_ = false;
 2585|      0|            return;
 2586|      0|        }
 2587|  10.3k|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(b);
 2588|  10.3k|        JSONCONS_ASSERT(major_type == jsoncons::cbor::detail::cbor_major_type::array);
  ------------------
  |  |   49|  10.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 10.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 ))); }
  ------------------
 2589|  10.3k|        uint8_t info = get_additional_information_value(b);
 2590|       |       
 2591|  10.3k|        read_extents(ec);   
 2592|  10.3k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  10.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 104, False: 10.2k]
  |  |  ------------------
  ------------------
 2593|    104|        {
 2594|    104|            return;
 2595|    104|        }
 2596|       |
 2597|  10.2k|        read_tags(ec);
 2598|  10.2k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  10.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 8, False: 10.2k]
  |  |  ------------------
  ------------------
 2599|      8|        {
 2600|      8|            return;
 2601|      8|        }
 2602|  10.2k|        auto c = source_.peek();
 2603|  10.2k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  10.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 10.2k]
  |  |  ------------------
  ------------------
 2604|      0|        {
 2605|      0|            ec = cbor_errc::unexpected_eof;
 2606|      0|            more_ = false;
 2607|      0|            return;
 2608|      0|        }
 2609|  10.2k|        major_type = get_major_type(c.value);
 2610|  10.2k|        info = get_additional_information_value(c.value);
 2611|  10.2k|        state_stack_.emplace_back(parse_mode::multi_dim, 0);
 2612|  10.2k|        ++state_stack_.back().index;
 2613|       |
 2614|  10.2k|        if (major_type == jsoncons::cbor::detail::cbor_major_type::array && order_ == mdarray_order::row_major) 
  ------------------
  |  Branch (2614:13): [True: 3.69k, False: 6.56k]
  |  Branch (2614:77): [True: 2.69k, False: 1.00k]
  ------------------
 2615|  2.69k|        {
 2616|  2.69k|            begin_classical_array_storage(info, ec);
 2617|  2.69k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.69k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 2.69k]
  |  |  ------------------
  ------------------
 2618|      1|            {
 2619|      1|                return;
 2620|      1|            }
 2621|  2.69k|            auto iter = std::make_shared<cbor_mdarray_row_major_iterator<Source,Allocator>>(extents_, this, cursor_mode_);
 2622|  2.69k|            typed_array_stack_.push_back(iter);
 2623|  2.69k|            if (!iter->done())
  ------------------
  |  Branch (2623:17): [True: 2.69k, False: 0]
  ------------------
 2624|  2.69k|            {
 2625|  2.69k|                iter->next(visitor, *this, ec);
 2626|  2.69k|            }
 2627|  2.69k|        }
 2628|  7.56k|        else if (major_type == jsoncons::cbor::detail::cbor_major_type::array && order_ == mdarray_order::column_major) 
  ------------------
  |  Branch (2628:18): [True: 1.00k, False: 6.56k]
  |  Branch (2628:82): [True: 1.00k, False: 0]
  ------------------
 2629|  1.00k|        {
 2630|  1.00k|            begin_classical_array_storage(info, ec);
 2631|  1.00k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.00k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 1.00k]
  |  |  ------------------
  ------------------
 2632|      1|            {
 2633|      1|                return;
 2634|      1|            }
 2635|  1.00k|            auto iter = std::make_shared<cbor_mdarray_column_major_iterator<Source,Allocator>>(extents_, this, cursor_mode_);
 2636|  1.00k|            typed_array_stack_.push_back(iter);
 2637|  1.00k|            if (!iter->done())
  ------------------
  |  Branch (2637:17): [True: 1.00k, False: 0]
  ------------------
 2638|  1.00k|            {
 2639|  1.00k|                iter->next(visitor, *this, ec);
 2640|  1.00k|            }
 2641|  1.00k|        }
 2642|  6.56k|        else if (major_type == jsoncons::cbor::detail::cbor_major_type::byte_string)
  ------------------
  |  Branch (2642:18): [True: 6.53k, False: 29]
  ------------------
 2643|  6.53k|        {
 2644|  6.53k|            read_byte_string_from_source read(this);
 2645|  6.53k|            read_byte_string(read, visitor, ec);
 2646|  6.53k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  6.53k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 24, False: 6.51k]
  |  |  ------------------
  ------------------
 2647|     24|            {
 2648|     24|                return;
 2649|     24|            }
 2650|  6.53k|        }
 2651|     29|        else
 2652|     29|        {
 2653|     29|            ec = cbor_errc::bad_mdarray;
 2654|     29|            return;
 2655|     29|        }
 2656|       |        // cursor case
 2657|  10.2k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12read_extentsERNS3_10error_codeE:
 2660|  10.3k|    {
 2661|  10.3k|        extents_.clear();
 2662|       |
 2663|  10.3k|        auto b = source_.peek();
 2664|  10.3k|        if (JSONCONS_UNLIKELY(b.eof))
  ------------------
  |  |   78|  10.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 9, False: 10.3k]
  |  |  ------------------
  ------------------
 2665|      9|        {
 2666|      9|            ec = cbor_errc::unexpected_eof;
 2667|      9|            more_ = false;
 2668|      9|            return;
 2669|      9|        }
 2670|  10.3k|        uint8_t info = get_additional_information_value(b.value);
 2671|       |
 2672|  10.3k|        switch (info)
 2673|  10.3k|        {
 2674|    971|            case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (2674:13): [True: 971, False: 9.39k]
  ------------------
 2675|    971|            {
 2676|  1.33M|                while (true)
  ------------------
  |  Branch (2676:24): [True: 1.33M, Folded]
  ------------------
 2677|  1.33M|                {
 2678|  1.33M|                    auto c = source_.peek();
 2679|  1.33M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  1.33M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 22, False: 1.33M]
  |  |  ------------------
  ------------------
 2680|     22|                    {
 2681|     22|                        ec = cbor_errc::unexpected_eof;
 2682|     22|                        more_ = false;
 2683|     22|                        return;
 2684|     22|                    }
 2685|  1.33M|                    if (c.value == 0xff)
  ------------------
  |  Branch (2685:25): [True: 943, False: 1.33M]
  ------------------
 2686|    943|                    {
 2687|    943|                        source_.ignore(1);
 2688|    943|                        return;
 2689|    943|                    }
 2690|  1.33M|                    else
 2691|  1.33M|                    {
 2692|  1.33M|                        std::size_t extent = read_size(ec);
 2693|  1.33M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.33M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6, False: 1.33M]
  |  |  ------------------
  ------------------
 2694|      6|                        {
 2695|      6|                            more_ = false;
 2696|      6|                            return;
 2697|      6|                        }
 2698|  1.33M|                        extents_.push_back(extent);
 2699|  1.33M|                    }
 2700|  1.33M|                }
 2701|      0|                break;
 2702|    971|            }
 2703|  9.39k|            default:
  ------------------
  |  Branch (2703:13): [True: 9.39k, False: 971]
  ------------------
 2704|  9.39k|            {
 2705|  9.39k|                std::size_t size = read_size(ec);
 2706|  9.39k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  9.39k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 9.39k]
  |  |  ------------------
  ------------------
 2707|      0|                {
 2708|      0|                    more_ = false;
 2709|      0|                    return;
 2710|      0|                }
 2711|   529k|                for (std::size_t i = 0; more_ && i < size; ++i)
  ------------------
  |  Branch (2711:41): [True: 529k, False: 0]
  |  Branch (2711:50): [True: 519k, False: 9.36k]
  ------------------
 2712|   519k|                {
 2713|   519k|                    std::size_t extent = read_size(ec);
 2714|   519k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   519k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 29, False: 519k]
  |  |  ------------------
  ------------------
 2715|     29|                    {
 2716|     29|                        more_ = false;
 2717|     29|                        return;
 2718|     29|                    }
 2719|   519k|                    extents_.push_back(extent);
 2720|   519k|                }
 2721|  9.36k|                break;
 2722|  9.39k|            }
 2723|  10.3k|        }
 2724|  9.36k|        auto r = calculate_mdarray_size(extents_);
 2725|  9.36k|        if (!r || *r == 0)
  ------------------
  |  Branch (2725:13): [True: 33, False: 9.33k]
  |  Branch (2725:19): [True: 5, False: 9.32k]
  ------------------
 2726|     38|        {
 2727|     38|            ec = cbor_errc::bad_extents;
 2728|     38|            more_ = false;
 2729|     38|            return;
 2730|     38|        }
 2731|  9.32k|        mdarray_size_ = *r;
 2732|  9.32k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE29begin_classical_array_storageEhRNS3_10error_codeE:
  995|  3.69k|    {
  996|  3.69k|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|  3.69k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 3.69k]
  |  |  ------------------
  ------------------
  997|      2|        {
  998|      2|            ec = cbor_errc::max_nesting_depth_exceeded;
  999|      2|            more_ = false;
 1000|      2|            return;
 1001|      2|        }
 1002|  3.69k|        bool pop_stringref_map_stack = false;
 1003|  3.69k|        if (other_tags_[stringref_namespace_tag])
  ------------------
  |  Branch (1003:13): [True: 152, False: 3.54k]
  ------------------
 1004|    152|        {
 1005|    152|            stringref_map_stack_.emplace_back();
 1006|    152|            other_tags_[stringref_namespace_tag] = false;
 1007|    152|            pop_stringref_map_stack = true;
 1008|    152|        }
 1009|  3.69k|        switch (info)
 1010|  3.69k|        {
 1011|  2.23k|            case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (1011:13): [True: 2.23k, False: 1.45k]
  ------------------
 1012|  2.23k|            {
 1013|  2.23k|                state_stack_.emplace_back(parse_mode::indefinite_array, 0, pop_stringref_map_stack);
 1014|  2.23k|                more_ = !cursor_mode_;
 1015|  2.23k|                source_.ignore(1);
 1016|  2.23k|                break;
 1017|      0|            }
 1018|  1.45k|            default: // definite length
  ------------------
  |  Branch (1018:13): [True: 1.45k, False: 2.23k]
  ------------------
 1019|  1.45k|            {
 1020|  1.45k|                std::size_t len = read_size(ec);
 1021|  1.45k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.45k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.45k]
  |  |  ------------------
  ------------------
 1022|      0|                {
 1023|      0|                    return;
 1024|      0|                }
 1025|  1.45k|                state_stack_.emplace_back(parse_mode::array, len, pop_stringref_map_stack);
 1026|  1.45k|                more_ = !cursor_mode_;
 1027|  1.45k|                break;
 1028|  1.45k|            }
 1029|  3.69k|        }
 1030|  3.69k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_21basic_generic_visitorIcEEhRNS3_10error_codeE:
  925|   743k|    {
  926|   743k|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|   743k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 9, False: 743k]
  |  |  ------------------
  ------------------
  927|      9|        {
  928|      9|            ec = cbor_errc::max_nesting_depth_exceeded;
  929|      9|            more_ = false;
  930|      9|            return;
  931|      9|        } 
  932|   743k|        semantic_tag tag = semantic_tag::none;
  933|   743k|        bool pop_stringref_map_stack = false;
  934|   743k|        if (other_tags_[stringref_namespace_tag])
  ------------------
  |  Branch (934:13): [True: 2.47k, False: 740k]
  ------------------
  935|  2.47k|        {
  936|  2.47k|            stringref_map_stack_.emplace_back();
  937|  2.47k|            other_tags_[stringref_namespace_tag] = false;
  938|  2.47k|            pop_stringref_map_stack = true;
  939|  2.47k|        }
  940|   743k|        switch (info)
  941|   743k|        {
  942|   317k|            case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (942:13): [True: 317k, False: 425k]
  ------------------
  943|   317k|            {
  944|   317k|                state_stack_.emplace_back(parse_mode::indefinite_array,0,pop_stringref_map_stack);
  945|   317k|                visitor.begin_array(tag, *this, ec);
  946|   317k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   317k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 317k]
  |  |  ------------------
  ------------------
  947|      0|                {
  948|      0|                    return;
  949|      0|                }
  950|   317k|                more_ = !cursor_mode_;
  951|   317k|                source_.ignore(1);
  952|   317k|                break;
  953|   317k|            }
  954|   425k|            default: // definite length
  ------------------
  |  Branch (954:13): [True: 425k, False: 317k]
  ------------------
  955|   425k|            {
  956|   425k|                std::size_t len = read_size(ec);
  957|   425k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   425k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 425k]
  |  |  ------------------
  ------------------
  958|      0|                {
  959|      0|                    return;
  960|      0|                }
  961|   425k|                state_stack_.emplace_back(parse_mode::array,len,pop_stringref_map_stack);
  962|   425k|                visitor.begin_array(len, tag, *this, ec);
  963|   425k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   425k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 425k]
  |  |  ------------------
  ------------------
  964|      0|                {
  965|      0|                    return;
  966|      0|                }
  967|   425k|                more_ = !cursor_mode_;
  968|   425k|                break;
  969|   425k|            }
  970|   743k|        }
  971|   743k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12begin_objectERNS_21basic_generic_visitorIcEEhRNS3_10error_codeE:
 1049|  12.1M|    {
 1050|  12.1M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|  12.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 12.1M]
  |  |  ------------------
  ------------------
 1051|      2|        {
 1052|      2|            ec = cbor_errc::max_nesting_depth_exceeded;
 1053|      2|            more_ = false;
 1054|      2|            return;
 1055|      2|        } 
 1056|  12.1M|        bool pop_stringref_map_stack = false;
 1057|  12.1M|        if (other_tags_[stringref_namespace_tag])
  ------------------
  |  Branch (1057:13): [True: 2.52k, False: 12.1M]
  ------------------
 1058|  2.52k|        {
 1059|  2.52k|            stringref_map_stack_.emplace_back();
 1060|  2.52k|            other_tags_[stringref_namespace_tag] = false;
 1061|  2.52k|            pop_stringref_map_stack = true;
 1062|  2.52k|        }
 1063|  12.1M|        switch (info)
 1064|  12.1M|        {
 1065|   292k|            case jsoncons::cbor::detail::additional_info::indefinite_length: 
  ------------------
  |  Branch (1065:13): [True: 292k, False: 11.9M]
  ------------------
 1066|   292k|            {
 1067|   292k|                state_stack_.emplace_back(parse_mode::indefinite_map_key,0,pop_stringref_map_stack);
 1068|   292k|                visitor.begin_object(semantic_tag::none, *this, ec);
 1069|   292k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   292k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 292k]
  |  |  ------------------
  ------------------
 1070|      0|                {
 1071|      0|                    return;
 1072|      0|                }
 1073|   292k|                more_ = !cursor_mode_;
 1074|   292k|                source_.ignore(1);
 1075|   292k|                break;
 1076|   292k|            }
 1077|  11.9M|            default: // definite_length
  ------------------
  |  Branch (1077:13): [True: 11.9M, False: 292k]
  ------------------
 1078|  11.9M|            {
 1079|  11.9M|                std::size_t len = read_size(ec);
 1080|  11.9M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  11.9M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6, False: 11.9M]
  |  |  ------------------
  ------------------
 1081|      6|                {
 1082|      6|                    return;
 1083|      6|                }
 1084|  11.9M|                state_stack_.emplace_back(parse_mode::map_key,len,pop_stringref_map_stack);
 1085|  11.9M|                visitor.begin_object(len, semantic_tag::none, *this, ec);
 1086|  11.9M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  11.9M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 11.9M]
  |  |  ------------------
  ------------------
 1087|      0|                {
 1088|      0|                    return;
 1089|      0|                }
 1090|  11.9M|                more_ = !cursor_mode_;
 1091|  11.9M|                break;
 1092|  11.9M|            }
 1093|  12.1M|        }
 1094|  12.1M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  974|   680k|    {
  975|   680k|        --nesting_depth_;
  976|       |
  977|   680k|        visitor.end_array(*this, ec);
  978|   680k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   680k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 680k]
  |  |  ------------------
  ------------------
  979|      0|        {
  980|      0|            return;
  981|      0|        }
  982|   680k|        more_ = !cursor_mode_;
  983|   680k|        if (level() == mark_level_)
  ------------------
  |  Branch (983:13): [True: 0, False: 680k]
  ------------------
  984|      0|        {
  985|      0|            more_ = false;
  986|      0|        }
  987|   680k|        if (state_stack_.back().pop_stringref_map_stack)
  ------------------
  |  Branch (987:13): [True: 477, False: 679k]
  ------------------
  988|    477|        {
  989|    477|            stringref_map_stack_.pop_back();
  990|    477|        }
  991|   680k|        state_stack_.pop_back();
  992|   680k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10end_objectERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
 1097|  12.1M|    {
 1098|  12.1M|        --nesting_depth_;
 1099|  12.1M|        visitor.end_object(*this, ec);
 1100|  12.1M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  12.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 12.1M]
  |  |  ------------------
  ------------------
 1101|      0|        {
 1102|      0|            return;
 1103|      0|        }
 1104|  12.1M|        more_ = !cursor_mode_;
 1105|  12.1M|        if (level() == mark_level_)
  ------------------
  |  Branch (1105:13): [True: 0, False: 12.1M]
  ------------------
 1106|      0|        {
 1107|      0|            more_ = false;
 1108|      0|        }
 1109|  12.1M|        if (state_stack_.back().pop_stringref_map_stack)
  ------------------
  |  Branch (1109:13): [True: 708, False: 12.1M]
  ------------------
 1110|    708|        {
 1111|    708|            stringref_map_stack_.pop_back();
 1112|    708|        }
 1113|  12.1M|        state_stack_.pop_back();
 1114|  12.1M|    }

_ZN8jsoncons4cbor17basic_cbor_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RNS_18basic_json_visitorIcEERKNS0_19cbor_decode_optionsERKS7_:
   52|  4.36k|       : parser_(std::forward<Sourceable>(source), options, alloc),
   53|  4.36k|         adaptor_(visitor, alloc), visitor_(adaptor_)
   54|  4.36k|    {
   55|  4.36k|    }
_ZN8jsoncons4cbor17basic_cbor_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4readERNS3_10error_codeE:
   88|  4.36k|    {
   89|  4.36k|        parser_.reset();
   90|  4.36k|        parser_.parse(visitor_, ec);
   91|  4.36k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.36k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3.38k, False: 985]
  |  |  ------------------
  ------------------
   92|  3.38k|        {
   93|  3.38k|            return;
   94|  3.38k|        }
   95|  4.36k|    }
_ZNK8jsoncons4cbor17basic_cbor_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
   98|  3.38k|    {
   99|  3.38k|        return parser_.line();
  100|  3.38k|    }
_ZNK8jsoncons4cbor17basic_cbor_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  103|  3.38k|    {
  104|  3.38k|        return parser_.column();
  105|  3.38k|    }

_ZN8jsoncons4cbor16mdarray_iteratorIhNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    511|        : data_(std::move(data)), 
  196|    511|          span_(typed_array_cast<ValueType>(data_)), 
  197|    511|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    511|    {
  199|    511|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    511|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 23, False: 488]
  ------------------
  201|     23|        {
  202|     23|            std::size_t stride = 1;
  203|     23|            const size_t num_extents = extents.size();
  204|  2.23k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 2.20k, False: 23]
  ------------------
  205|  2.20k|            {
  206|  2.20k|                strides[i] = stride;
  207|  2.20k|                stride *= extents[i];
  208|  2.20k|            }
  209|     23|        }
  210|    488|        else
  211|    488|        {
  212|    488|            std::size_t stride = 1;
  213|    488|            const size_t num_extents = extents.size();
  214|  2.43k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 1.94k, False: 488]
  ------------------
  215|  1.94k|            {
  216|  1.94k|                strides[num_extents-i-1] = stride;
  217|  1.94k|                stride *= extents[num_extents-i-1];
  218|  1.94k|            }
  219|    488|        }
  220|  4.66k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 4.15k, False: 511]
  ------------------
  221|  4.15k|        {
  222|  4.15k|            dimensions_[i].extent = extents[i];
  223|  4.15k|            dimensions_[i].stride = strides[i];
  224|  4.15k|            dimensions_[i].index = 0;
  225|  4.15k|            dimensions_[i].end = strides[i]*extents[i];
  226|  4.15k|        }
  227|    511|    }
_ZN8jsoncons4cbor20typed_array_iteratorD2Ev:
   43|   117k|    virtual ~typed_array_iterator() = default;
_ZNK8jsoncons4cbor16mdarray_iteratorIhNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  5.84k|    {
  256|  5.84k|        return done_;
  257|  5.84k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIhNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  3.43k|    {
  262|  3.43k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   49|  3.43k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.43k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  3.43k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 1.50k, False: 1.92k]
  ------------------
  265|  1.50k|        {
  266|  1.50k|            if (first_)
  ------------------
  |  Branch (266:17): [True: 511, False: 993]
  ------------------
  267|    511|            {
  268|    511|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    511|                first_ = false;
  270|    511|                return;
  271|    511|            }
  272|    993|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 511, False: 482]
  ------------------
  273|    511|            {
  274|    511|                visitor.end_array(context, ec);
  275|    511|                done_ = true;
  276|    511|                return;
  277|    511|            }
  278|    993|        }
  279|  2.41k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 1.44k, False: 964]
  |  Branch (279:44): [True: 964, False: 482]
  ------------------
  280|    964|        {
  281|    964|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    964|            ++dim_;
  283|    964|            return;
  284|    964|        }
  285|  1.44k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 482, False: 964]
  ------------------
  286|    482|        {
  287|    482|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    482|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    482|            ++count_;
  290|    482|            return;
  291|    482|        }
  292|    964|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 964, False: 0]
  ------------------
  293|    964|        {
  294|    964|            visitor.end_array(context, ec);
  295|    964|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 964, False: 0]
  ------------------
  296|    964|            {
  297|    964|                --dim_;
  298|    964|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    964|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 964]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    964|            }
  308|    964|        }
  309|    964|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIhEENSt3__19enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   72|  2.38M|    {
   73|  2.38M|        visitor.uint64_value(val, tag, context, ec);
   74|  2.38M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIhNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  5.77k|        : data_(std::move(data)), 
  106|  5.77k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  5.77k|          array_tag_(array_tag), 
  108|  5.77k|          extent_(span_.size()), 
  109|  5.77k|          tag_(tag), 
  110|  5.77k|          func_(func)
  111|  5.77k|    {
  112|  5.77k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIhNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|  4.77M|    {
  141|  4.77M|        return done_;
  142|  4.77M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIhNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|  2.39M|    {
  147|  2.39M|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  2.39M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5.77k, False: 2.38M]
  |  |  ------------------
  ------------------
  148|  5.77k|        {
  149|  5.77k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  5.77k|            first_ = false;
  151|  5.77k|        }
  152|  2.38M|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|  2.38M|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 2.38M, False: 5.77k]
  |  |  ------------------
  ------------------
  153|  2.38M|        {
  154|  2.38M|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|  2.38M|            ++index_;
  156|  2.38M|        }
  157|  5.77k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 5.77k, False: 0]
  ------------------
  158|  5.77k|        {
  159|  5.77k|            visitor.end_array(context, ec);
  160|  5.77k|            done_ = true;
  161|  5.77k|        }
  162|  2.39M|    }
_ZN8jsoncons4cbor16mdarray_iteratorItNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    327|        : data_(std::move(data)), 
  196|    327|          span_(typed_array_cast<ValueType>(data_)), 
  197|    327|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    327|    {
  199|    327|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    327|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 327]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    327|        else
  211|    327|        {
  212|    327|            std::size_t stride = 1;
  213|    327|            const size_t num_extents = extents.size();
  214|  1.27k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 949, False: 327]
  ------------------
  215|    949|            {
  216|    949|                strides[num_extents-i-1] = stride;
  217|    949|                stride *= extents[num_extents-i-1];
  218|    949|            }
  219|    327|        }
  220|  1.27k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 949, False: 327]
  ------------------
  221|    949|        {
  222|    949|            dimensions_[i].extent = extents[i];
  223|    949|            dimensions_[i].stride = strides[i];
  224|    949|            dimensions_[i].index = 0;
  225|    949|            dimensions_[i].end = strides[i]*extents[i];
  226|    949|        }
  227|    327|    }
_ZNK8jsoncons4cbor16mdarray_iteratorItNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  3.68k|    {
  256|  3.68k|        return done_;
  257|  3.68k|    }
_ZN8jsoncons4cbor16mdarray_iteratorItNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  2.17k|    {
  262|  2.17k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   49|  2.17k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.17k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  2.17k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 979, False: 1.19k]
  ------------------
  265|    979|        {
  266|    979|            if (first_)
  ------------------
  |  Branch (266:17): [True: 327, False: 652]
  ------------------
  267|    327|            {
  268|    327|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    327|                first_ = false;
  270|    327|                return;
  271|    327|            }
  272|    652|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 327, False: 325]
  ------------------
  273|    327|            {
  274|    327|                visitor.end_array(context, ec);
  275|    327|                done_ = true;
  276|    327|                return;
  277|    327|            }
  278|    652|        }
  279|  1.51k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 894, False: 623]
  |  Branch (279:44): [True: 596, False: 298]
  ------------------
  280|    596|        {
  281|    596|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    596|            ++dim_;
  283|    596|            return;
  284|    596|        }
  285|    921|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 325, False: 596]
  ------------------
  286|    325|        {
  287|    325|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    325|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    325|            ++count_;
  290|    325|            return;
  291|    325|        }
  292|    596|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 596, False: 0]
  ------------------
  293|    596|        {
  294|    596|            visitor.end_array(context, ec);
  295|    596|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 596, False: 0]
  ------------------
  296|    596|            {
  297|    596|                --dim_;
  298|    596|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    596|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 596]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    596|            }
  308|    596|        }
  309|    596|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueItEENSt3__19enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   72|   411k|    {
   73|   411k|        visitor.uint64_value(val, tag, context, ec);
   74|   411k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorItNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  16.2k|        : data_(std::move(data)), 
  106|  16.2k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  16.2k|          array_tag_(array_tag), 
  108|  16.2k|          extent_(span_.size()), 
  109|  16.2k|          tag_(tag), 
  110|  16.2k|          func_(func)
  111|  16.2k|    {
  112|  16.2k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorItNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|   855k|    {
  141|   855k|        return done_;
  142|   855k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorItNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|   444k|    {
  147|   444k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   444k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 16.2k, False: 427k]
  |  |  ------------------
  ------------------
  148|  16.2k|        {
  149|  16.2k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  16.2k|            first_ = false;
  151|  16.2k|        }
  152|   427k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|   427k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 411k, False: 16.2k]
  |  |  ------------------
  ------------------
  153|   411k|        {
  154|   411k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|   411k|            ++index_;
  156|   411k|        }
  157|  16.2k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 16.2k, False: 0]
  ------------------
  158|  16.2k|        {
  159|  16.2k|            visitor.end_array(context, ec);
  160|  16.2k|            done_ = true;
  161|  16.2k|        }
  162|   444k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIjNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    455|        : data_(std::move(data)), 
  196|    455|          span_(typed_array_cast<ValueType>(data_)), 
  197|    455|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    455|    {
  199|    455|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    455|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 455]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    455|        else
  211|    455|        {
  212|    455|            std::size_t stride = 1;
  213|    455|            const size_t num_extents = extents.size();
  214|   116k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 115k, False: 455]
  ------------------
  215|   115k|            {
  216|   115k|                strides[num_extents-i-1] = stride;
  217|   115k|                stride *= extents[num_extents-i-1];
  218|   115k|            }
  219|    455|        }
  220|   116k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 115k, False: 455]
  ------------------
  221|   115k|        {
  222|   115k|            dimensions_[i].extent = extents[i];
  223|   115k|            dimensions_[i].stride = strides[i];
  224|   115k|            dimensions_[i].index = 0;
  225|   115k|            dimensions_[i].end = strides[i]*extents[i];
  226|   115k|        }
  227|    455|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIjNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  1.76k|    {
  256|  1.76k|        return done_;
  257|  1.76k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIjNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  1.33k|    {
  262|  1.33k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   49|  1.33k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 1.33k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  1.33k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 1.01k, False: 320]
  ------------------
  265|  1.01k|        {
  266|  1.01k|            if (first_)
  ------------------
  |  Branch (266:17): [True: 455, False: 564]
  ------------------
  267|    455|            {
  268|    455|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    455|                first_ = false;
  270|    455|                return;
  271|    455|            }
  272|    564|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 455, False: 109]
  ------------------
  273|    455|            {
  274|    455|                visitor.end_array(context, ec);
  275|    455|                done_ = true;
  276|    455|                return;
  277|    455|            }
  278|    564|        }
  279|    429|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 238, False: 191]
  |  Branch (279:44): [True: 160, False: 78]
  ------------------
  280|    160|        {
  281|    160|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    160|            ++dim_;
  283|    160|            return;
  284|    160|        }
  285|    269|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 109, False: 160]
  ------------------
  286|    109|        {
  287|    109|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    109|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    109|            ++count_;
  290|    109|            return;
  291|    109|        }
  292|    160|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 160, False: 0]
  ------------------
  293|    160|        {
  294|    160|            visitor.end_array(context, ec);
  295|    160|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 160, False: 0]
  ------------------
  296|    160|            {
  297|    160|                --dim_;
  298|    160|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    160|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 160]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    160|            }
  308|    160|        }
  309|    160|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIjEENSt3__19enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   72|   269k|    {
   73|   269k|        visitor.uint64_value(val, tag, context, ec);
   74|   269k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIjNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  5.70k|        : data_(std::move(data)), 
  106|  5.70k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  5.70k|          array_tag_(array_tag), 
  108|  5.70k|          extent_(span_.size()), 
  109|  5.70k|          tag_(tag), 
  110|  5.70k|          func_(func)
  111|  5.70k|    {
  112|  5.70k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIjNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|   550k|    {
  141|   550k|        return done_;
  142|   550k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIjNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|   280k|    {
  147|   280k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   280k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5.70k, False: 275k]
  |  |  ------------------
  ------------------
  148|  5.70k|        {
  149|  5.70k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  5.70k|            first_ = false;
  151|  5.70k|        }
  152|   275k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|   275k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 269k, False: 5.70k]
  |  |  ------------------
  ------------------
  153|   269k|        {
  154|   269k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|   269k|            ++index_;
  156|   269k|        }
  157|  5.70k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 5.70k, False: 0]
  ------------------
  158|  5.70k|        {
  159|  5.70k|            visitor.end_array(context, ec);
  160|  5.70k|            done_ = true;
  161|  5.70k|        }
  162|   280k|    }
_ZN8jsoncons4cbor16mdarray_iteratorImNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    351|        : data_(std::move(data)), 
  196|    351|          span_(typed_array_cast<ValueType>(data_)), 
  197|    351|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    351|    {
  199|    351|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    351|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 351]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    351|        else
  211|    351|        {
  212|    351|            std::size_t stride = 1;
  213|    351|            const size_t num_extents = extents.size();
  214|  9.91k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 9.56k, False: 351]
  ------------------
  215|  9.56k|            {
  216|  9.56k|                strides[num_extents-i-1] = stride;
  217|  9.56k|                stride *= extents[num_extents-i-1];
  218|  9.56k|            }
  219|    351|        }
  220|  9.91k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 9.56k, False: 351]
  ------------------
  221|  9.56k|        {
  222|  9.56k|            dimensions_[i].extent = extents[i];
  223|  9.56k|            dimensions_[i].stride = strides[i];
  224|  9.56k|            dimensions_[i].index = 0;
  225|  9.56k|            dimensions_[i].end = strides[i]*extents[i];
  226|  9.56k|        }
  227|    351|    }
_ZNK8jsoncons4cbor16mdarray_iteratorImNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  4.16k|    {
  256|  4.16k|        return done_;
  257|  4.16k|    }
_ZN8jsoncons4cbor16mdarray_iteratorImNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  2.43k|    {
  262|  2.43k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   49|  2.43k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  2.43k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 1.04k, False: 1.38k]
  ------------------
  265|  1.04k|        {
  266|  1.04k|            if (first_)
  ------------------
  |  Branch (266:17): [True: 351, False: 698]
  ------------------
  267|    351|            {
  268|    351|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    351|                first_ = false;
  270|    351|                return;
  271|    351|            }
  272|    698|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 351, False: 347]
  ------------------
  273|    351|            {
  274|    351|                visitor.end_array(context, ec);
  275|    351|                done_ = true;
  276|    351|                return;
  277|    351|            }
  278|    698|        }
  279|  1.72k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 1.03k, False: 693]
  |  Branch (279:44): [True: 691, False: 345]
  ------------------
  280|    691|        {
  281|    691|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    691|            ++dim_;
  283|    691|            return;
  284|    691|        }
  285|  1.03k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 347, False: 691]
  ------------------
  286|    347|        {
  287|    347|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    347|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    347|            ++count_;
  290|    347|            return;
  291|    347|        }
  292|    691|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 691, False: 0]
  ------------------
  293|    691|        {
  294|    691|            visitor.end_array(context, ec);
  295|    691|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 691, False: 0]
  ------------------
  296|    691|            {
  297|    691|                --dim_;
  298|    691|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    691|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 691]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    691|            }
  308|    691|        }
  309|    691|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueImEENSt3__19enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   72|   108k|    {
   73|   108k|        visitor.uint64_value(val, tag, context, ec);
   74|   108k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorImNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  13.7k|        : data_(std::move(data)), 
  106|  13.7k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  13.7k|          array_tag_(array_tag), 
  108|  13.7k|          extent_(span_.size()), 
  109|  13.7k|          tag_(tag), 
  110|  13.7k|          func_(func)
  111|  13.7k|    {
  112|  13.7k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorImNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|   242k|    {
  141|   242k|        return done_;
  142|   242k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorImNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|   135k|    {
  147|   135k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   135k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 13.7k, False: 121k]
  |  |  ------------------
  ------------------
  148|  13.7k|        {
  149|  13.7k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  13.7k|            first_ = false;
  151|  13.7k|        }
  152|   121k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|   121k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 107k, False: 13.7k]
  |  |  ------------------
  ------------------
  153|   107k|        {
  154|   107k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|   107k|            ++index_;
  156|   107k|        }
  157|  13.7k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 13.7k, False: 0]
  ------------------
  158|  13.7k|        {
  159|  13.7k|            visitor.end_array(context, ec);
  160|  13.7k|            done_ = true;
  161|  13.7k|        }
  162|   135k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIaNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    515|        : data_(std::move(data)), 
  196|    515|          span_(typed_array_cast<ValueType>(data_)), 
  197|    515|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    515|    {
  199|    515|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    515|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 515]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    515|        else
  211|    515|        {
  212|    515|            std::size_t stride = 1;
  213|    515|            const size_t num_extents = extents.size();
  214|  2.30k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 1.79k, False: 515]
  ------------------
  215|  1.79k|            {
  216|  1.79k|                strides[num_extents-i-1] = stride;
  217|  1.79k|                stride *= extents[num_extents-i-1];
  218|  1.79k|            }
  219|    515|        }
  220|  2.30k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 1.79k, False: 515]
  ------------------
  221|  1.79k|        {
  222|  1.79k|            dimensions_[i].extent = extents[i];
  223|  1.79k|            dimensions_[i].stride = strides[i];
  224|  1.79k|            dimensions_[i].index = 0;
  225|  1.79k|            dimensions_[i].end = strides[i]*extents[i];
  226|  1.79k|        }
  227|    515|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIaNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  6.13k|    {
  256|  6.13k|        return done_;
  257|  6.13k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIaNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  3.58k|    {
  262|  3.58k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   49|  3.58k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.58k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  3.58k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 1.54k, False: 2.04k]
  ------------------
  265|  1.54k|        {
  266|  1.54k|            if (first_)
  ------------------
  |  Branch (266:17): [True: 515, False: 1.02k]
  ------------------
  267|    515|            {
  268|    515|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    515|                first_ = false;
  270|    515|                return;
  271|    515|            }
  272|  1.02k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 515, False: 512]
  ------------------
  273|    515|            {
  274|    515|                visitor.end_array(context, ec);
  275|    515|                done_ = true;
  276|    515|                return;
  277|    515|            }
  278|  1.02k|        }
  279|  2.55k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 1.53k, False: 1.02k]
  |  Branch (279:44): [True: 1.02k, False: 509]
  ------------------
  280|  1.02k|        {
  281|  1.02k|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|  1.02k|            ++dim_;
  283|  1.02k|            return;
  284|  1.02k|        }
  285|  1.53k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 512, False: 1.02k]
  ------------------
  286|    512|        {
  287|    512|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    512|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    512|            ++count_;
  290|    512|            return;
  291|    512|        }
  292|  1.02k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 1.02k, False: 0]
  ------------------
  293|  1.02k|        {
  294|  1.02k|            visitor.end_array(context, ec);
  295|  1.02k|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 1.02k, False: 0]
  ------------------
  296|  1.02k|            {
  297|  1.02k|                --dim_;
  298|  1.02k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|  1.02k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 1.02k]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|  1.02k|            }
  308|  1.02k|        }
  309|  1.02k|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIaEENSt3__19enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   64|  2.82M|    {
   65|  2.82M|        visitor.int64_value(val, tag, context, ec);
   66|  2.82M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIaNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  3.80k|        : data_(std::move(data)), 
  106|  3.80k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  3.80k|          array_tag_(array_tag), 
  108|  3.80k|          extent_(span_.size()), 
  109|  3.80k|          tag_(tag), 
  110|  3.80k|          func_(func)
  111|  3.80k|    {
  112|  3.80k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIaNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|  5.65M|    {
  141|  5.65M|        return done_;
  142|  5.65M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIaNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|  2.83M|    {
  147|  2.83M|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  2.83M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3.80k, False: 2.82M]
  |  |  ------------------
  ------------------
  148|  3.80k|        {
  149|  3.80k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  3.80k|            first_ = false;
  151|  3.80k|        }
  152|  2.82M|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|  2.82M|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 2.82M, False: 3.80k]
  |  |  ------------------
  ------------------
  153|  2.82M|        {
  154|  2.82M|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|  2.82M|            ++index_;
  156|  2.82M|        }
  157|  3.80k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 3.80k, False: 0]
  ------------------
  158|  3.80k|        {
  159|  3.80k|            visitor.end_array(context, ec);
  160|  3.80k|            done_ = true;
  161|  3.80k|        }
  162|  2.83M|    }
_ZN8jsoncons4cbor16mdarray_iteratorIsNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    235|        : data_(std::move(data)), 
  196|    235|          span_(typed_array_cast<ValueType>(data_)), 
  197|    235|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    235|    {
  199|    235|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    235|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 235]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    235|        else
  211|    235|        {
  212|    235|            std::size_t stride = 1;
  213|    235|            const size_t num_extents = extents.size();
  214|  1.52k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 1.29k, False: 235]
  ------------------
  215|  1.29k|            {
  216|  1.29k|                strides[num_extents-i-1] = stride;
  217|  1.29k|                stride *= extents[num_extents-i-1];
  218|  1.29k|            }
  219|    235|        }
  220|  1.52k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 1.29k, False: 235]
  ------------------
  221|  1.29k|        {
  222|  1.29k|            dimensions_[i].extent = extents[i];
  223|  1.29k|            dimensions_[i].stride = strides[i];
  224|  1.29k|            dimensions_[i].index = 0;
  225|  1.29k|            dimensions_[i].end = strides[i]*extents[i];
  226|  1.29k|        }
  227|    235|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIsNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  2.65k|    {
  256|  2.65k|        return done_;
  257|  2.65k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIsNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  1.56k|    {
  262|  1.56k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   49|  1.56k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 1.56k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  1.56k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 700, False: 862]
  ------------------
  265|    700|        {
  266|    700|            if (first_)
  ------------------
  |  Branch (266:17): [True: 235, False: 465]
  ------------------
  267|    235|            {
  268|    235|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    235|                first_ = false;
  270|    235|                return;
  271|    235|            }
  272|    465|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 235, False: 230]
  ------------------
  273|    235|            {
  274|    235|                visitor.end_array(context, ec);
  275|    235|                done_ = true;
  276|    235|                return;
  277|    235|            }
  278|    465|        }
  279|  1.09k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 647, False: 445]
  |  Branch (279:44): [True: 431, False: 216]
  ------------------
  280|    431|        {
  281|    431|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    431|            ++dim_;
  283|    431|            return;
  284|    431|        }
  285|    661|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 230, False: 431]
  ------------------
  286|    230|        {
  287|    230|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    230|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    230|            ++count_;
  290|    230|            return;
  291|    230|        }
  292|    431|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 431, False: 0]
  ------------------
  293|    431|        {
  294|    431|            visitor.end_array(context, ec);
  295|    431|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 431, False: 0]
  ------------------
  296|    431|            {
  297|    431|                --dim_;
  298|    431|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    431|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 431]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    431|            }
  308|    431|        }
  309|    431|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIsEENSt3__19enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   64|   770k|    {
   65|   770k|        visitor.int64_value(val, tag, context, ec);
   66|   770k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIsNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  12.0k|        : data_(std::move(data)), 
  106|  12.0k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  12.0k|          array_tag_(array_tag), 
  108|  12.0k|          extent_(span_.size()), 
  109|  12.0k|          tag_(tag), 
  110|  12.0k|          func_(func)
  111|  12.0k|    {
  112|  12.0k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIsNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|  1.56M|    {
  141|  1.56M|        return done_;
  142|  1.56M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIsNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|   794k|    {
  147|   794k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   794k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 12.0k, False: 782k]
  |  |  ------------------
  ------------------
  148|  12.0k|        {
  149|  12.0k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  12.0k|            first_ = false;
  151|  12.0k|        }
  152|   782k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|   782k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 770k, False: 12.0k]
  |  |  ------------------
  ------------------
  153|   770k|        {
  154|   770k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|   770k|            ++index_;
  156|   770k|        }
  157|  12.0k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 12.0k, False: 0]
  ------------------
  158|  12.0k|        {
  159|  12.0k|            visitor.end_array(context, ec);
  160|  12.0k|            done_ = true;
  161|  12.0k|        }
  162|   794k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIiNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    541|        : data_(std::move(data)), 
  196|    541|          span_(typed_array_cast<ValueType>(data_)), 
  197|    541|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    541|    {
  199|    541|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    541|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 541]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    541|        else
  211|    541|        {
  212|    541|            std::size_t stride = 1;
  213|    541|            const size_t num_extents = extents.size();
  214|  1.44k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 899, False: 541]
  ------------------
  215|    899|            {
  216|    899|                strides[num_extents-i-1] = stride;
  217|    899|                stride *= extents[num_extents-i-1];
  218|    899|            }
  219|    541|        }
  220|  1.44k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 899, False: 541]
  ------------------
  221|    899|        {
  222|    899|            dimensions_[i].extent = extents[i];
  223|    899|            dimensions_[i].stride = strides[i];
  224|    899|            dimensions_[i].index = 0;
  225|    899|            dimensions_[i].end = strides[i]*extents[i];
  226|    899|        }
  227|    541|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIiNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  3.59k|    {
  256|  3.59k|        return done_;
  257|  3.59k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIiNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  2.33k|    {
  262|  2.33k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   49|  2.33k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.33k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  2.33k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 1.62k, False: 716]
  ------------------
  265|  1.62k|        {
  266|  1.62k|            if (first_)
  ------------------
  |  Branch (266:17): [True: 541, False: 1.08k]
  ------------------
  267|    541|            {
  268|    541|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    541|                first_ = false;
  270|    541|                return;
  271|    541|            }
  272|  1.08k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 541, False: 541]
  ------------------
  273|    541|            {
  274|    541|                visitor.end_array(context, ec);
  275|    541|                done_ = true;
  276|    541|                return;
  277|    541|            }
  278|  1.08k|        }
  279|  1.25k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 491, False: 766]
  |  Branch (279:44): [True: 358, False: 133]
  ------------------
  280|    358|        {
  281|    358|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    358|            ++dim_;
  283|    358|            return;
  284|    358|        }
  285|    899|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 541, False: 358]
  ------------------
  286|    541|        {
  287|    541|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    541|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    541|            ++count_;
  290|    541|            return;
  291|    541|        }
  292|    358|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 358, False: 0]
  ------------------
  293|    358|        {
  294|    358|            visitor.end_array(context, ec);
  295|    358|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 358, False: 0]
  ------------------
  296|    358|            {
  297|    358|                --dim_;
  298|    358|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    358|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 358]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    358|            }
  308|    358|        }
  309|    358|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIiEENSt3__19enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   64|  1.90M|    {
   65|  1.90M|        visitor.int64_value(val, tag, context, ec);
   66|  1.90M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIiNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  3.39k|        : data_(std::move(data)), 
  106|  3.39k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  3.39k|          array_tag_(array_tag), 
  108|  3.39k|          extent_(span_.size()), 
  109|  3.39k|          tag_(tag), 
  110|  3.39k|          func_(func)
  111|  3.39k|    {
  112|  3.39k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIiNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|  3.80M|    {
  141|  3.80M|        return done_;
  142|  3.80M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIiNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|  1.90M|    {
  147|  1.90M|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  1.90M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3.39k, False: 1.90M]
  |  |  ------------------
  ------------------
  148|  3.39k|        {
  149|  3.39k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  3.39k|            first_ = false;
  151|  3.39k|        }
  152|  1.90M|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|  1.90M|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 1.90M, False: 3.39k]
  |  |  ------------------
  ------------------
  153|  1.90M|        {
  154|  1.90M|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|  1.90M|            ++index_;
  156|  1.90M|        }
  157|  3.39k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 3.39k, False: 0]
  ------------------
  158|  3.39k|        {
  159|  3.39k|            visitor.end_array(context, ec);
  160|  3.39k|            done_ = true;
  161|  3.39k|        }
  162|  1.90M|    }
_ZN8jsoncons4cbor16mdarray_iteratorIlNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    210|        : data_(std::move(data)), 
  196|    210|          span_(typed_array_cast<ValueType>(data_)), 
  197|    210|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    210|    {
  199|    210|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    210|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 210]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    210|        else
  211|    210|        {
  212|    210|            std::size_t stride = 1;
  213|    210|            const size_t num_extents = extents.size();
  214|  1.23k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 1.02k, False: 210]
  ------------------
  215|  1.02k|            {
  216|  1.02k|                strides[num_extents-i-1] = stride;
  217|  1.02k|                stride *= extents[num_extents-i-1];
  218|  1.02k|            }
  219|    210|        }
  220|  1.23k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 1.02k, False: 210]
  ------------------
  221|  1.02k|        {
  222|  1.02k|            dimensions_[i].extent = extents[i];
  223|  1.02k|            dimensions_[i].stride = strides[i];
  224|  1.02k|            dimensions_[i].index = 0;
  225|  1.02k|            dimensions_[i].end = strides[i]*extents[i];
  226|  1.02k|        }
  227|    210|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIlNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  3.30k|    {
  256|  3.30k|        return done_;
  257|  3.30k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIlNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  1.86k|    {
  262|  1.86k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   49|  1.86k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 1.86k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  1.86k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 628, False: 1.23k]
  ------------------
  265|    628|        {
  266|    628|            if (first_)
  ------------------
  |  Branch (266:17): [True: 210, False: 418]
  ------------------
  267|    210|            {
  268|    210|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    210|                first_ = false;
  270|    210|                return;
  271|    210|            }
  272|    418|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 210, False: 208]
  ------------------
  273|    210|            {
  274|    210|                visitor.end_array(context, ec);
  275|    210|                done_ = true;
  276|    210|                return;
  277|    210|            }
  278|    418|        }
  279|  1.44k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 1.02k, False: 415]
  |  Branch (279:44): [True: 617, False: 410]
  ------------------
  280|    617|        {
  281|    617|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    617|            ++dim_;
  283|    617|            return;
  284|    617|        }
  285|    825|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 208, False: 617]
  ------------------
  286|    208|        {
  287|    208|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    208|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    208|            ++count_;
  290|    208|            return;
  291|    208|        }
  292|    617|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 617, False: 0]
  ------------------
  293|    617|        {
  294|    617|            visitor.end_array(context, ec);
  295|    617|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 617, False: 0]
  ------------------
  296|    617|            {
  297|    617|                --dim_;
  298|    617|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    617|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 617]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    617|            }
  308|    617|        }
  309|    617|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIlEENSt3__19enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   64|   555k|    {
   65|   555k|        visitor.int64_value(val, tag, context, ec);
   66|   555k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIlNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  5.36k|        : data_(std::move(data)), 
  106|  5.36k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  5.36k|          array_tag_(array_tag), 
  108|  5.36k|          extent_(span_.size()), 
  109|  5.36k|          tag_(tag), 
  110|  5.36k|          func_(func)
  111|  5.36k|    {
  112|  5.36k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIlNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|  1.12M|    {
  141|  1.12M|        return done_;
  142|  1.12M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIlNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|   566k|    {
  147|   566k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   566k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5.36k, False: 560k]
  |  |  ------------------
  ------------------
  148|  5.36k|        {
  149|  5.36k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  5.36k|            first_ = false;
  151|  5.36k|        }
  152|   560k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|   560k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 555k, False: 5.36k]
  |  |  ------------------
  ------------------
  153|   555k|        {
  154|   555k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|   555k|            ++index_;
  156|   555k|        }
  157|  5.36k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 5.36k, False: 0]
  ------------------
  158|  5.36k|        {
  159|  5.36k|            visitor.end_array(context, ec);
  160|  5.36k|            done_ = true;
  161|  5.36k|        }
  162|   566k|    }
_ZN8jsoncons4cbor16mdarray_iteratorItNS_11decode_halfENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    957|        : data_(std::move(data)), 
  196|    957|          span_(typed_array_cast<ValueType>(data_)), 
  197|    957|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    957|    {
  199|    957|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    957|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 3, False: 954]
  ------------------
  201|      3|        {
  202|      3|            std::size_t stride = 1;
  203|      3|            const size_t num_extents = extents.size();
  204|     99|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 96, False: 3]
  ------------------
  205|     96|            {
  206|     96|                strides[i] = stride;
  207|     96|                stride *= extents[i];
  208|     96|            }
  209|      3|        }
  210|    954|        else
  211|    954|        {
  212|    954|            std::size_t stride = 1;
  213|    954|            const size_t num_extents = extents.size();
  214|  16.1k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 15.2k, False: 954]
  ------------------
  215|  15.2k|            {
  216|  15.2k|                strides[num_extents-i-1] = stride;
  217|  15.2k|                stride *= extents[num_extents-i-1];
  218|  15.2k|            }
  219|    954|        }
  220|  16.2k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 15.3k, False: 957]
  ------------------
  221|  15.3k|        {
  222|  15.3k|            dimensions_[i].extent = extents[i];
  223|  15.3k|            dimensions_[i].stride = strides[i];
  224|  15.3k|            dimensions_[i].index = 0;
  225|  15.3k|            dimensions_[i].end = strides[i]*extents[i];
  226|  15.3k|        }
  227|    957|    }
_ZNK8jsoncons4cbor16mdarray_iteratorItNS_11decode_halfENSt3__19allocatorIcEEE4doneEv:
  255|  9.04k|    {
  256|  9.04k|        return done_;
  257|  9.04k|    }
_ZN8jsoncons4cbor16mdarray_iteratorItNS_11decode_halfENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  5.48k|    {
  262|  5.48k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   49|  5.48k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 5.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 ))); }
  ------------------
  263|       |
  264|  5.48k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 2.62k, False: 2.85k]
  ------------------
  265|  2.62k|        {
  266|  2.62k|            if (first_)
  ------------------
  |  Branch (266:17): [True: 957, False: 1.67k]
  ------------------
  267|    957|            {
  268|    957|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    957|                first_ = false;
  270|    957|                return;
  271|    957|            }
  272|  1.67k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 957, False: 714]
  ------------------
  273|    957|            {
  274|    957|                visitor.end_array(context, ec);
  275|    957|                done_ = true;
  276|    957|                return;
  277|    957|            }
  278|  1.67k|        }
  279|  3.56k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 2.13k, False: 1.42k]
  |  Branch (279:44): [True: 1.42k, False: 713]
  ------------------
  280|  1.42k|        {
  281|  1.42k|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|  1.42k|            ++dim_;
  283|  1.42k|            return;
  284|  1.42k|        }
  285|  2.14k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 714, False: 1.42k]
  ------------------
  286|    714|        {
  287|    714|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    714|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    714|            ++count_;
  290|    714|            return;
  291|    714|        }
  292|  1.42k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 1.42k, False: 0]
  ------------------
  293|  1.42k|        {
  294|  1.42k|            visitor.end_array(context, ec);
  295|  1.42k|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 1.42k, False: 0]
  ------------------
  296|  1.42k|            {
  297|  1.42k|                --dim_;
  298|  1.42k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|  1.42k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 1.42k]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|  1.42k|            }
  308|  1.42k|        }
  309|  1.42k|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIdEENSt3__19enable_ifIXsr17is_floating_pointIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   80|  23.1M|    {
   81|  23.1M|        visitor.double_value(val, tag, context, ec);
   82|  23.1M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorItNS_11decode_halfENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  24.4k|        : data_(std::move(data)), 
  106|  24.4k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  24.4k|          array_tag_(array_tag), 
  108|  24.4k|          extent_(span_.size()), 
  109|  24.4k|          tag_(tag), 
  110|  24.4k|          func_(func)
  111|  24.4k|    {
  112|  24.4k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorItNS_11decode_halfENSt3__19allocatorIcEEE4doneEv:
  140|  46.1M|    {
  141|  46.1M|        return done_;
  142|  46.1M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorItNS_11decode_halfENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|  23.1M|    {
  147|  23.1M|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  23.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 24.4k, False: 23.0M]
  |  |  ------------------
  ------------------
  148|  24.4k|        {
  149|  24.4k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  24.4k|            first_ = false;
  151|  24.4k|        }
  152|  23.0M|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|  23.0M|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 23.0M, False: 24.4k]
  |  |  ------------------
  ------------------
  153|  23.0M|        {
  154|  23.0M|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|  23.0M|            ++index_;
  156|  23.0M|        }
  157|  24.4k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 24.4k, False: 0]
  ------------------
  158|  24.4k|        {
  159|  24.4k|            visitor.end_array(context, ec);
  160|  24.4k|            done_ = true;
  161|  24.4k|        }
  162|  23.1M|    }
_ZN8jsoncons4cbor16mdarray_iteratorIfNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|  1.44k|        : data_(std::move(data)), 
  196|  1.44k|          span_(typed_array_cast<ValueType>(data_)), 
  197|  1.44k|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|  1.44k|    {
  199|  1.44k|        std::vector<std::size_t> strides(extents.size(), 0);
  200|  1.44k|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 77, False: 1.36k]
  ------------------
  201|     77|        {
  202|     77|            std::size_t stride = 1;
  203|     77|            const size_t num_extents = extents.size();
  204|  14.4k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 14.4k, False: 77]
  ------------------
  205|  14.4k|            {
  206|  14.4k|                strides[i] = stride;
  207|  14.4k|                stride *= extents[i];
  208|  14.4k|            }
  209|     77|        }
  210|  1.36k|        else
  211|  1.36k|        {
  212|  1.36k|            std::size_t stride = 1;
  213|  1.36k|            const size_t num_extents = extents.size();
  214|  4.02k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 2.66k, False: 1.36k]
  ------------------
  215|  2.66k|            {
  216|  2.66k|                strides[num_extents-i-1] = stride;
  217|  2.66k|                stride *= extents[num_extents-i-1];
  218|  2.66k|            }
  219|  1.36k|        }
  220|  18.5k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 17.0k, False: 1.44k]
  ------------------
  221|  17.0k|        {
  222|  17.0k|            dimensions_[i].extent = extents[i];
  223|  17.0k|            dimensions_[i].stride = strides[i];
  224|  17.0k|            dimensions_[i].index = 0;
  225|  17.0k|            dimensions_[i].end = strides[i]*extents[i];
  226|  17.0k|        }
  227|  1.44k|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIfNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  8.99k|    {
  256|  8.99k|        return done_;
  257|  8.99k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIfNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  5.93k|    {
  262|  5.93k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   49|  5.93k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 5.93k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  5.93k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 4.23k, False: 1.69k]
  ------------------
  265|  4.23k|        {
  266|  4.23k|            if (first_)
  ------------------
  |  Branch (266:17): [True: 1.44k, False: 2.79k]
  ------------------
  267|  1.44k|            {
  268|  1.44k|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|  1.44k|                first_ = false;
  270|  1.44k|                return;
  271|  1.44k|            }
  272|  2.79k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 1.44k, False: 1.35k]
  ------------------
  273|  1.44k|            {
  274|  1.44k|                visitor.end_array(context, ec);
  275|  1.44k|                done_ = true;
  276|  1.44k|                return;
  277|  1.44k|            }
  278|  2.79k|        }
  279|  3.05k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 1.20k, False: 1.85k]
  |  Branch (279:44): [True: 849, False: 356]
  ------------------
  280|    849|        {
  281|    849|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    849|            ++dim_;
  283|    849|            return;
  284|    849|        }
  285|  2.20k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 1.35k, False: 849]
  ------------------
  286|  1.35k|        {
  287|  1.35k|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|  1.35k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|  1.35k|            ++count_;
  290|  1.35k|            return;
  291|  1.35k|        }
  292|    849|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 849, False: 0]
  ------------------
  293|    849|        {
  294|    849|            visitor.end_array(context, ec);
  295|    849|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 849, False: 0]
  ------------------
  296|    849|            {
  297|    849|                --dim_;
  298|    849|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    849|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 849]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    849|            }
  308|    849|        }
  309|    849|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIfEENSt3__19enable_ifIXsr17is_floating_pointIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   80|   219k|    {
   81|   219k|        visitor.double_value(val, tag, context, ec);
   82|   219k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIfNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  10.5k|        : data_(std::move(data)), 
  106|  10.5k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  10.5k|          array_tag_(array_tag), 
  108|  10.5k|          extent_(span_.size()), 
  109|  10.5k|          tag_(tag), 
  110|  10.5k|          func_(func)
  111|  10.5k|    {
  112|  10.5k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIfNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|   456k|    {
  141|   456k|        return done_;
  142|   456k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIfNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|   238k|    {
  147|   238k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   238k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 10.5k, False: 228k]
  |  |  ------------------
  ------------------
  148|  10.5k|        {
  149|  10.5k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  10.5k|            first_ = false;
  151|  10.5k|        }
  152|   228k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|   228k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 217k, False: 10.5k]
  |  |  ------------------
  ------------------
  153|   217k|        {
  154|   217k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|   217k|            ++index_;
  156|   217k|        }
  157|  10.5k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 10.5k, False: 0]
  ------------------
  158|  10.5k|        {
  159|  10.5k|            visitor.end_array(context, ec);
  160|  10.5k|            done_ = true;
  161|  10.5k|        }
  162|   238k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIdNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    965|        : data_(std::move(data)), 
  196|    965|          span_(typed_array_cast<ValueType>(data_)), 
  197|    965|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    965|    {
  199|    965|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    965|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 965]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    965|        else
  211|    965|        {
  212|    965|            std::size_t stride = 1;
  213|    965|            const size_t num_extents = extents.size();
  214|  11.4k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 10.5k, False: 965]
  ------------------
  215|  10.5k|            {
  216|  10.5k|                strides[num_extents-i-1] = stride;
  217|  10.5k|                stride *= extents[num_extents-i-1];
  218|  10.5k|            }
  219|    965|        }
  220|  11.4k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 10.5k, False: 965]
  ------------------
  221|  10.5k|        {
  222|  10.5k|            dimensions_[i].extent = extents[i];
  223|  10.5k|            dimensions_[i].stride = strides[i];
  224|  10.5k|            dimensions_[i].index = 0;
  225|  10.5k|            dimensions_[i].end = strides[i]*extents[i];
  226|  10.5k|        }
  227|    965|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIdNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  9.81k|    {
  256|  9.81k|        return done_;
  257|  9.81k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIdNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  5.87k|    {
  262|  5.87k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   49|  5.87k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 5.87k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  5.87k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 2.71k, False: 3.15k]
  ------------------
  265|  2.71k|        {
  266|  2.71k|            if (first_)
  ------------------
  |  Branch (266:17): [True: 965, False: 1.75k]
  ------------------
  267|    965|            {
  268|    965|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    965|                first_ = false;
  270|    965|                return;
  271|    965|            }
  272|  1.75k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 965, False: 788]
  ------------------
  273|    965|            {
  274|    965|                visitor.end_array(context, ec);
  275|    965|                done_ = true;
  276|    965|                return;
  277|    965|            }
  278|  1.75k|        }
  279|  3.94k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 2.36k, False: 1.57k]
  |  Branch (279:44): [True: 1.57k, False: 789]
  ------------------
  280|  1.57k|        {
  281|  1.57k|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|  1.57k|            ++dim_;
  283|  1.57k|            return;
  284|  1.57k|        }
  285|  2.36k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 788, False: 1.57k]
  ------------------
  286|    788|        {
  287|    788|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    788|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    788|            ++count_;
  290|    788|            return;
  291|    788|        }
  292|  1.57k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 1.57k, False: 0]
  ------------------
  293|  1.57k|        {
  294|  1.57k|            visitor.end_array(context, ec);
  295|  1.57k|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 1.57k, False: 0]
  ------------------
  296|  1.57k|            {
  297|  1.57k|                --dim_;
  298|  1.57k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|  1.57k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 1.57k]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|  1.57k|            }
  308|  1.57k|        }
  309|  1.57k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIdNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  5.89k|        : data_(std::move(data)), 
  106|  5.89k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  5.89k|          array_tag_(array_tag), 
  108|  5.89k|          extent_(span_.size()), 
  109|  5.89k|          tag_(tag), 
  110|  5.89k|          func_(func)
  111|  5.89k|    {
  112|  5.89k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIdNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|   132k|    {
  141|   132k|        return done_;
  142|   132k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIdNS_8identityENSt3__19allocatorIcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|  71.9k|    {
  147|  71.9k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  71.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5.89k, False: 66.0k]
  |  |  ------------------
  ------------------
  148|  5.89k|        {
  149|  5.89k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  5.89k|            first_ = false;
  151|  5.89k|        }
  152|  66.0k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|  66.0k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 60.1k, False: 5.89k]
  |  |  ------------------
  ------------------
  153|  60.1k|        {
  154|  60.1k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|  60.1k|            ++index_;
  156|  60.1k|        }
  157|  5.89k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 5.89k, False: 0]
  ------------------
  158|  5.89k|        {
  159|  5.89k|            visitor.end_array(context, ec);
  160|  5.89k|            done_ = true;
  161|  5.89k|        }
  162|  71.9k|    }
_ZN8jsoncons4cbor31cbor_mdarray_row_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2ERKNS3_6vectorImNS4_ImEEEEPNS0_17basic_cbor_parserIS6_S7_EEb:
  329|  2.69k|        : extents_(extents), dimensions_(extents.size(), mdarray_dimension{}),
  330|  2.69k|          parser_(parser), cursor_mode_(cursor_mode)
  331|  2.69k|    {
  332|  2.69k|        std::vector<std::size_t> strides(extents.size(), 0);
  333|  2.69k|        std::size_t stride = 1;
  334|  2.69k|        const size_t num_extents = extents.size();
  335|   110k|        for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (335:28): [True: 108k, False: 2.69k]
  ------------------
  336|   108k|        {
  337|   108k|            strides[num_extents - i - 1] = stride;
  338|   108k|            stride *= extents[num_extents - i - 1];
  339|   108k|        }
  340|   110k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (340:33): [True: 108k, False: 2.69k]
  ------------------
  341|   108k|        {
  342|   108k|            dimensions_[i].extent = extents[i];
  343|   108k|            dimensions_[i].stride = strides[i];
  344|   108k|            dimensions_[i].index = 0;
  345|   108k|            dimensions_[i].end = strides[i] * extents[i];
  346|   108k|        }
  347|  2.69k|    }
_ZNK8jsoncons4cbor31cbor_mdarray_row_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5countEv:
  375|    547|    {
  376|    547|        return count_;
  377|    547|    }
_ZNK8jsoncons4cbor31cbor_mdarray_row_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4doneEv:
  370|   140k|    {
  371|   140k|        return done_;
  372|   140k|    }
_ZN8jsoncons4cbor31cbor_mdarray_row_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  381|   140k|    {
  382|   140k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   49|   140k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 140k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  383|       |
  384|   140k|        if (dim_ == 0)
  ------------------
  |  Branch (384:13): [True: 10.7k, False: 129k]
  ------------------
  385|  10.7k|        {
  386|  10.7k|            if (first_)
  ------------------
  |  Branch (386:17): [True: 2.69k, False: 8.08k]
  ------------------
  387|  2.69k|            {
  388|  2.69k|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  389|  2.69k|                first_ = false;
  390|  2.69k|                return;
  391|  2.69k|            }
  392|  8.08k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (392:17): [True: 673, False: 7.41k]
  ------------------
  393|    673|            {
  394|    673|                visitor.end_array(context, ec);
  395|    673|                done_ = true;
  396|    673|                return;
  397|    673|            }
  398|  8.08k|        }
  399|   136k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (399:13): [True: 53.5k, False: 83.3k]
  |  Branch (399:44): [True: 39.2k, False: 14.2k]
  ------------------
  400|  39.2k|        {
  401|  39.2k|            if (!cursor_mode_)
  ------------------
  |  Branch (401:17): [True: 39.2k, False: 0]
  ------------------
  402|  39.2k|            {
  403|  39.2k|                visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  404|  39.2k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  39.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 39.2k]
  |  |  ------------------
  ------------------
  405|      0|                {
  406|      0|                    return;
  407|      0|                }
  408|  39.2k|            }
  409|  39.2k|            ++dim_;
  410|  39.2k|            return;
  411|  39.2k|        }
  412|  97.6k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (412:13): [True: 61.3k, False: 36.2k]
  ------------------
  413|  61.3k|        {
  414|  61.3k|            parser_->read_item(visitor, ec);
  415|  61.3k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  416|  61.3k|            ++count_;
  417|  61.3k|            return;
  418|  61.3k|        }
  419|  36.2k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (419:13): [True: 36.2k, False: 0]
  ------------------
  420|  36.2k|        {
  421|  36.2k|            if (!cursor_mode_)
  ------------------
  |  Branch (421:17): [True: 36.2k, False: 0]
  ------------------
  422|  36.2k|            {
  423|  36.2k|                visitor.end_array(context, ec);
  424|  36.2k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  36.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 36.2k]
  |  |  ------------------
  ------------------
  425|      0|                {
  426|      0|                    return;
  427|      0|                }
  428|  36.2k|            }
  429|  36.2k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  36.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 36.2k]
  |  |  ------------------
  ------------------
  430|      0|            {
  431|      0|                return;
  432|      0|            }
  433|  36.2k|            if (dim_ > 0)
  ------------------
  |  Branch (433:17): [True: 36.2k, False: 0]
  ------------------
  434|  36.2k|            {
  435|  36.2k|                --dim_;
  436|  36.2k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  437|  36.2k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (437:21): [True: 21.8k, False: 14.4k]
  ------------------
  438|  21.8k|                {
  439|  57.8k|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (439:50): [True: 35.9k, False: 21.8k]
  ------------------
  440|  35.9k|                    {
  441|  35.9k|                        dimensions_[i].index = dimensions_[i-1].index;
  442|  35.9k|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  443|  35.9k|                    }
  444|  21.8k|                }
  445|  36.2k|            }
  446|  36.2k|        }
  447|  36.2k|    }
_ZN8jsoncons4cbor34cbor_mdarray_column_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2ERKNS3_6vectorImNS4_ImEEEEPNS0_17basic_cbor_parserIS6_S7_EEb:
  467|  1.00k|        : extents_(extents), dimensions_(extents.size(), mdarray_dimension{}),
  468|  1.00k|          parser_(parser), cursor_mode_(cursor_mode)
  469|  1.00k|    {
  470|  1.00k|        std::vector<std::size_t> strides(extents.size(), 0);
  471|  1.00k|        std::size_t stride = 1;
  472|  1.00k|        const size_t num_extents = extents.size();
  473|  27.1k|        for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (473:28): [True: 26.0k, False: 1.00k]
  ------------------
  474|  26.0k|        {
  475|  26.0k|            strides[num_extents - i - 1] = stride;
  476|  26.0k|            stride *= extents[num_extents - i - 1];
  477|  26.0k|        }
  478|  27.1k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (478:33): [True: 26.0k, False: 1.00k]
  ------------------
  479|  26.0k|        {
  480|  26.0k|            dimensions_[i].extent = extents[i];
  481|  26.0k|            dimensions_[i].stride = strides[i];
  482|  26.0k|            dimensions_[i].index = 0;
  483|  26.0k|            dimensions_[i].end = strides[i] * extents[i];
  484|  26.0k|        }
  485|  1.00k|    }
_ZNK8jsoncons4cbor34cbor_mdarray_column_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5countEv:
  513|     15|    {
  514|     15|        return count_;
  515|     15|    }
_ZNK8jsoncons4cbor34cbor_mdarray_column_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4doneEv:
  508|  41.1k|    {
  509|  41.1k|        return done_;
  510|  41.1k|    }
_ZN8jsoncons4cbor34cbor_mdarray_column_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4nextERNS_21basic_generic_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  519|  41.1k|    {
  520|  41.1k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   49|  41.1k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 41.1k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  521|       |
  522|  41.1k|        if (dim_ == 0)
  ------------------
  |  Branch (522:13): [True: 2.19k, False: 38.9k]
  ------------------
  523|  2.19k|        {
  524|  2.19k|            if (first_)
  ------------------
  |  Branch (524:17): [True: 1.00k, False: 1.18k]
  ------------------
  525|  1.00k|            {
  526|  1.00k|                if (!cursor_mode_)
  ------------------
  |  Branch (526:21): [True: 1.00k, False: 0]
  ------------------
  527|  1.00k|                {
  528|  1.00k|                    visitor.begin_array(dimensions_[dim_].extent, semantic_tag::multi_dim_column_major, context, ec);
  529|  1.00k|                    visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  530|  1.00k|                    for (auto item : dimensions_)
  ------------------
  |  Branch (530:36): [True: 26.0k, False: 1.00k]
  ------------------
  531|  26.0k|                    {
  532|  26.0k|                        visitor.uint64_value(item.extent, semantic_tag::none, context, ec);
  533|  26.0k|                    }
  534|  1.00k|                    visitor.end_array(context, ec);
  535|  1.00k|                }
  536|  1.00k|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  537|  1.00k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.00k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.00k]
  |  |  ------------------
  ------------------
  538|      0|                {
  539|      0|                    return;
  540|      0|                }
  541|  1.00k|                first_ = false;
  542|  1.00k|                return;
  543|  1.00k|            }
  544|  1.18k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (544:17): [True: 18, False: 1.16k]
  ------------------
  545|     18|            {
  546|     18|                visitor.end_array(context, ec);
  547|     18|                if (!cursor_mode_)
  ------------------
  |  Branch (547:21): [True: 18, False: 0]
  ------------------
  548|     18|                {
  549|     18|                    visitor.end_array(context, ec);
  550|     18|                }
  551|     18|                done_ = true;
  552|     18|                return;
  553|     18|            }
  554|  1.18k|        }
  555|  40.0k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (555:13): [True: 10.4k, False: 29.6k]
  |  Branch (555:44): [True: 8.86k, False: 1.58k]
  ------------------
  556|  8.86k|        {
  557|  8.86k|            ++dim_;
  558|  8.86k|            return;
  559|  8.86k|        }
  560|  31.2k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (560:13): [True: 28.2k, False: 2.98k]
  ------------------
  561|  28.2k|        {
  562|  28.2k|            parser_->read_item(visitor, ec);
  563|  28.2k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  564|  28.2k|            ++count_;
  565|  28.2k|            return;
  566|  28.2k|        }
  567|  2.98k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (567:13): [True: 2.98k, False: 0]
  ------------------
  568|  2.98k|        {
  569|  2.98k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.98k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.98k]
  |  |  ------------------
  ------------------
  570|      0|            {
  571|      0|                return;
  572|      0|            }
  573|  2.98k|            if (dim_ > 0)
  ------------------
  |  Branch (573:17): [True: 2.98k, False: 0]
  ------------------
  574|  2.98k|            {
  575|  2.98k|                --dim_;
  576|  2.98k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  577|  2.98k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (577:21): [True: 1.40k, False: 1.58k]
  ------------------
  578|  1.40k|                {
  579|  4.37k|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (579:50): [True: 2.97k, False: 1.40k]
  ------------------
  580|  2.97k|                    {
  581|  2.97k|                        dimensions_[i].index = dimensions_[i-1].index;
  582|  2.97k|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  583|  2.97k|                    }
  584|  1.40k|                }
  585|  2.98k|            }
  586|  2.98k|        }
  587|  2.98k|    }

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

