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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2743|  84.1M|        {
 2744|  84.1M|             destroy();
 2745|  84.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  884|  84.1M|        {
  885|  84.1M|            switch (storage_kind())
  886|  84.1M|            {
  887|    121|                case json_storage_kind::long_str:
  ------------------
  |  Branch (887:17): [True: 121, False: 84.1M]
  ------------------
  888|    121|                {
  889|    121|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (889:25): [True: 121, False: 0]
  ------------------
  890|    121|                    {
  891|    121|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  892|    121|                    }
  893|    121|                    break;
  894|      0|                }
  895|  3.00M|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (895:17): [True: 3.00M, False: 81.1M]
  ------------------
  896|  3.00M|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (896:25): [True: 3.00M, False: 0]
  ------------------
  897|  3.00M|                    {
  898|  3.00M|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  899|  3.00M|                    }
  900|  3.00M|                    break;
  901|  15.8k|                case json_storage_kind::array:
  ------------------
  |  Branch (901:17): [True: 15.8k, False: 84.0M]
  ------------------
  902|  15.8k|                {
  903|  15.8k|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (903:25): [True: 15.8k, False: 0]
  ------------------
  904|  15.8k|                    {
  905|  15.8k|                        auto& stor = cast<array_storage>();
  906|  15.8k|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  907|  15.8k|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  908|  15.8k|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  909|  15.8k|                    }
  910|  15.8k|                    break;
  911|      0|                }
  912|  7.88M|                case json_storage_kind::object:
  ------------------
  |  Branch (912:17): [True: 7.88M, False: 76.2M]
  ------------------
  913|  7.88M|                {
  914|  7.88M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (914:25): [True: 7.88M, False: 0]
  ------------------
  915|  7.88M|                    {
  916|  7.88M|                        auto& stor = cast<object_storage>();
  917|  7.88M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  918|  7.88M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  919|  7.88M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  920|  7.88M|                    }
  921|  7.88M|                    break;
  922|      0|                }
  923|  73.2M|                default:
  ------------------
  |  Branch (923:17): [True: 73.2M, False: 10.9M]
  ------------------
  924|  73.2M|                    break;
  925|  84.1M|            }
  926|  84.1M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1430|   232M|        {
 1431|       |            // It is legal to access 'common_.storage_kind_' even though 
 1432|       |            // common_ is not the active member of the union because 'storage_kind_' 
 1433|       |            // is a part of the common initial sequence of all union members
 1434|       |            // as defined in 11.4-25 of the Standard.
 1435|   232M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1436|   232M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
  990|  1.40k|        {
  991|  1.40k|            return cast(identity<T>());
  992|  1.40k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1081|  1.40k|        {
 1082|  1.40k|            return long_str_;
 1083|  1.40k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
  990|  21.1M|        {
  991|  21.1M|            return cast(identity<T>());
  992|  21.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1091|  21.1M|        {
 1092|  21.1M|            return byte_str_;
 1093|  21.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
  990|  5.08M|        {
  991|  5.08M|            return cast(identity<T>());
  992|  5.08M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1111|  5.08M|        {
 1112|  5.08M|            return array_;
 1113|  5.08M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2275|  58.9M|        {
 2276|  58.9M|            uninitialized_move(std::move(other));
 2277|  58.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1272|  58.9M|        {
 1273|  58.9M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1273:17): [True: 28.0M, False: 30.8M]
  ------------------
 1274|  28.0M|            {
 1275|  28.0M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1276|  28.0M|            }
 1277|  30.8M|            else
 1278|  30.8M|            {
 1279|  30.8M|                switch (other.storage_kind())
 1280|  30.8M|                {
 1281|    461|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1281:21): [True: 461, False: 30.8M]
  ------------------
 1282|    461|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1283|    461|                        other.construct<null_storage>();
 1284|    461|                        break;
 1285|  5.74M|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1285:21): [True: 5.74M, False: 25.1M]
  ------------------
 1286|  5.74M|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1287|  5.74M|                        other.construct<null_storage>();
 1288|  5.74M|                        break;
 1289|  24.7k|                    case json_storage_kind::array:
  ------------------
  |  Branch (1289:21): [True: 24.7k, False: 30.8M]
  ------------------
 1290|  24.7k|                        construct<array_storage>(other.cast<array_storage>());
 1291|  24.7k|                        other.construct<null_storage>();
 1292|  24.7k|                        break;
 1293|  25.0M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1293:21): [True: 25.0M, False: 5.77M]
  ------------------
 1294|  25.0M|                        construct<object_storage>(other.cast<object_storage>());
 1295|  25.0M|                        other.construct<null_storage>();
 1296|  25.0M|                        break;
 1297|      0|                    default:
  ------------------
  |  Branch (1297:21): [True: 0, False: 30.8M]
  ------------------
 1298|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1299|      0|                        break;
 1300|  30.8M|                }
 1301|  30.8M|            }
 1302|  58.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  981|    522|        {
  982|    522|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|    522|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  630|    583|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  631|    583|            {
  632|    583|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  981|  30.8M|        {
  982|  30.8M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  30.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
  990|  43.7M|        {
  991|  43.7M|            return cast(identity<T>());
  992|  43.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1001|  43.7M|        {
 1002|  43.7M|            return null_;
 1003|  43.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  454|  31.8M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  455|  31.8M|            {
  456|  31.8M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  981|  6.05M|        {
  982|  6.05M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  6.05M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  679|  6.35M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  680|  6.35M|            {
  681|  6.35M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  981|  27.5k|        {
  982|  27.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  27.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  731|  30.2k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  732|  30.2k|            {
  733|  30.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  981|  30.8M|        {
  982|  30.8M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  30.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  781|  36.5M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  782|  36.5M|            {
  783|  36.5M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4707|    860|        {
 4708|    860|            switch (storage_kind())
 4709|    860|            {
 4710|    860|                case json_storage_kind::array:
  ------------------
  |  Branch (4710:17): [True: 860, False: 0]
  ------------------
 4711|    860|                    return array_range_type(cast<array_storage>().value().begin(),
 4712|    860|                        cast<array_storage>().value().end());
 4713|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4713:17): [True: 0, False: 860]
  ------------------
 4714|      0|                    return cast<ref_storage>().value().array_range();
 4715|      0|                default:
  ------------------
  |  Branch (4715:17): [True: 0, False: 860]
  ------------------
 4716|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4717|    860|            }
 4718|    860|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  754|  4.98M|            {
  755|  4.98M|                return *ptr_;
  756|  4.98M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  353|    860|            : first_(first), last_(last)
  354|    860|        {
  355|    860|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  358|    860|        {
  359|    860|            return first_;
  360|    860|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  362|    860|        {
  363|    860|            return last_;
  364|    860|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3387|    665|        {
 3388|    665|            switch (storage_kind())
 3389|    665|            {
 3390|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3390:17): [True: 0, False: 665]
  ------------------
 3391|      0|                    return cast<byte_string_storage>().length() == 0;
 3392|      0|                    break;
 3393|      0|                case json_storage_kind::short_str:
  ------------------
  |  Branch (3393:17): [True: 0, False: 665]
  ------------------
 3394|      0|                    return cast<short_string_storage>().length() == 0;
 3395|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3395:17): [True: 0, False: 665]
  ------------------
 3396|      0|                    return cast<long_string_storage>().length() == 0;
 3397|    117|                case json_storage_kind::array:
  ------------------
  |  Branch (3397:17): [True: 117, False: 548]
  ------------------
 3398|    117|                    return cast<array_storage>().value().empty();
 3399|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3399:17): [True: 0, False: 665]
  ------------------
 3400|      0|                    return true;
 3401|    548|                case json_storage_kind::object:
  ------------------
  |  Branch (3401:17): [True: 548, False: 117]
  ------------------
 3402|    548|                    return cast<object_storage>().value().empty();
 3403|      0|                case json_storage_kind::json_const_ref:
  ------------------
  |  Branch (3403:17): [True: 0, False: 665]
  ------------------
 3404|      0|                    return cast<const_ref_storage>().value().empty();
 3405|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3405:17): [True: 0, False: 665]
  ------------------
 3406|      0|                    return cast<ref_storage>().value().empty();
 3407|      0|                default:
  ------------------
  |  Branch (3407:17): [True: 0, False: 665]
  ------------------
 3408|      0|                    return false;
 3409|    665|            }
 3410|    665|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
  996|    117|        {
  997|    117|            return cast(identity<T>());
  998|    117|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1116|    117|        {
 1117|    117|            return array_;
 1118|    117|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  759|    117|            {
  760|    117|                return *ptr_;
  761|    117|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
  996|    548|        {
  997|    548|            return cast(identity<T>());
  998|    548|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1106|    548|        {
 1107|    548|            return object_;
 1108|    548|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  805|    548|            {
  806|    548|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   45|    548|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 548]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  807|    548|                return *ptr_;
  808|    548|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4103|  2.61M|        {
 4104|  2.61M|            switch (storage_kind())
 4105|  2.61M|            {
 4106|    860|                case json_storage_kind::array:
  ------------------
  |  Branch (4106:17): [True: 860, False: 2.61M]
  ------------------
 4107|    860|                    cast<array_storage>().value().clear();
 4108|    860|                    break;
 4109|  2.61M|                case json_storage_kind::object:
  ------------------
  |  Branch (4109:17): [True: 2.61M, False: 860]
  ------------------
 4110|  2.61M|                    cast<object_storage>().value().clear();
 4111|  2.61M|                    break;
 4112|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4112:17): [True: 0, False: 2.61M]
  ------------------
 4113|      0|                    cast<ref_storage>().value().clear();
 4114|      0|                    break;
 4115|      0|                default:
  ------------------
  |  Branch (4115:17): [True: 0, False: 2.61M]
  ------------------
 4116|      0|                    break;
 4117|  2.61M|            }
 4118|  2.61M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  799|  7.85M|            {
  800|  7.85M|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   45|  7.85M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 7.85M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  801|  7.85M|                return *ptr_;
  802|  7.85M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4673|  2.61M|        {
 4674|  2.61M|            switch (storage_kind())
 4675|  2.61M|            {
 4676|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4676:17): [True: 0, False: 2.61M]
  ------------------
 4677|      0|                    return object_range_type(object_iterator(), object_iterator());
 4678|  2.61M|                case json_storage_kind::object:
  ------------------
  |  Branch (4678:17): [True: 2.61M, False: 0]
  ------------------
 4679|  2.61M|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4680|  2.61M|                                                  object_iterator(cast<object_storage>().value().end()));
 4681|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4681:17): [True: 0, False: 2.61M]
  ------------------
 4682|      0|                    return cast<ref_storage>().value().object_range();
 4683|      0|                default:
  ------------------
  |  Branch (4683:17): [True: 0, False: 2.61M]
  ------------------
 4684|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4685|  2.61M|            }
 4686|  2.61M|        }
_ZN8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEEC2ERKSI_SP_:
  353|  2.61M|            : first_(first), last_(last)
  354|  2.61M|        {
  355|  2.61M|        }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEC2ESG_:
  122|  5.23M|            explicit random_access_iterator_wrapper(Iterator ptr) : it_(ptr), has_value_(true)  
  123|  5.23M|            {
  124|  5.23M|            }
_ZNK8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE5beginEv:
  358|  2.61M|        {
  359|  2.61M|            return first_;
  360|  2.61M|        }
_ZNK8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE3endEv:
  362|  2.61M|        {
  363|  2.61M|            return last_;
  364|  2.61M|        }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEneERKSH_:
  225|  2.61M|            {
  226|  2.61M|                return !(*this == rhs);
  227|  2.61M|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEeqERKSH_:
  213|  2.61M|            {
  214|  2.61M|                if (!has_value_ || !rhs.has_value_)
  ------------------
  |  Branch (214:21): [True: 0, False: 2.61M]
  |  Branch (214:36): [True: 0, False: 2.61M]
  ------------------
  215|      0|                {
  216|      0|                    return has_value_ == rhs.has_value_ ? true : false;
  ------------------
  |  Branch (216:28): [True: 0, False: 0]
  ------------------
  217|      0|                }
  218|  2.61M|                else
  219|  2.61M|                {
  220|  2.61M|                    return it_ == rhs.it_;
  221|  2.61M|                }
  222|  2.61M|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEdeEv:
  144|    236|            {
  145|    236|                return *it_;
  146|    236|            }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEppEv:
  154|    236|            {
  155|    236|                ++it_;
  156|    236|                return *this;
  157|    236|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
  990|  93.1M|        {
  991|  93.1M|            return cast(identity<T>());
  992|  93.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1101|  93.1M|        {
 1102|  93.1M|            return object_;
 1103|  93.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2243|    143|        {
 2244|    143|            construct<empty_object_storage>(semantic_tag::none);
 2245|    143|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  981|    143|        {
  982|    143|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|    143|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
  990|    169|        {
  991|    169|            return cast(identity<T>());
  992|    169|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1011|    169|        {
 1012|    169|            return empty_object_;
 1013|    169|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  466|    143|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  467|    143|            {
  468|    143|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3446|  6.96k|        {
 3447|  6.96k|            if (n > 0)
  ------------------
  |  Branch (3447:17): [True: 6.96k, False: 0]
  ------------------
 3448|  6.96k|            {
 3449|  6.96k|                switch (storage_kind())
 3450|  6.96k|                {
 3451|  6.96k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3451:21): [True: 6.96k, False: 0]
  ------------------
 3452|  6.96k|                        cast<array_storage>().value().reserve(n);
 3453|  6.96k|                        break;
 3454|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3454:21): [True: 0, False: 6.96k]
  ------------------
 3455|      0|                        create_object_implicitly();
 3456|      0|                        cast<object_storage>().value().reserve(n);
 3457|      0|                        break;
 3458|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3458:21): [True: 0, False: 6.96k]
  ------------------
 3459|      0|                        cast<object_storage>().value().reserve(n);
 3460|      0|                        break;
 3461|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3461:21): [True: 0, False: 6.96k]
  ------------------
 3462|      0|                        cast<ref_storage>().value().reserve(n);
 3463|      0|                        break;
 3464|      0|                    default:
  ------------------
  |  Branch (3464:21): [True: 0, False: 6.96k]
  ------------------
 3465|      0|                        break;
 3466|  6.96k|                }
 3467|  6.96k|            }
 3468|  6.96k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2288|  7.88M|        {
 2289|  7.88M|            auto ptr = create_object(alloc);
 2290|  7.88M|            construct<object_storage>(ptr, tag);
 2291|  7.88M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  962|  7.88M|        {
  963|  7.88M|            using stor_allocator_type = typename object_storage::allocator_type;
  964|  7.88M|            stor_allocator_type stor_alloc(alloc);
  965|  7.88M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  966|  7.88M|            JSONCONS_TRY
  ------------------
  |  |   37|  7.88M|    #define JSONCONS_TRY try
  ------------------
  967|  7.88M|            {
  968|  7.88M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  969|  7.88M|                    std::forward<Args>(args)...);
  970|  7.88M|            }
  971|  7.88M|            JSONCONS_CATCH(...)
  972|  7.88M|            {
  973|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  974|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  975|      0|            }
  976|  7.88M|            return ptr;
  977|  7.88M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  981|  7.88M|        {
  982|  7.88M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  7.88M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  776|  7.88M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  777|  7.88M|            {
  778|  7.88M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1421|  9.59M|        {
 1422|  9.59M|            if (this != &other)
  ------------------
  |  Branch (1422:17): [True: 9.59M, False: 0]
  ------------------
 1423|  9.59M|            {
 1424|  9.59M|                move_assignment(std::move(other));
 1425|  9.59M|            }
 1426|  9.59M|            return *this;
 1427|  9.59M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1373|  9.59M|        {
 1374|  9.59M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1374:17): [True: 9.59M, False: 0]
  |  Branch (1374:55): [True: 3.57M, False: 6.02M]
  ------------------
 1375|  3.57M|            {
 1376|  3.57M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1377|  3.57M|            }
 1378|  6.02M|            else
 1379|  6.02M|            {
 1380|  6.02M|                swap(other);
 1381|  6.02M|            }
 1382|  9.59M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4649|  4.97M|        {
 4650|  4.97M|            switch (storage_kind())
 4651|  4.97M|            {
 4652|  4.97M|                case json_storage_kind::array:
  ------------------
  |  Branch (4652:17): [True: 4.97M, False: 0]
  ------------------
 4653|  4.97M|                    cast<array_storage>().value().push_back(std::move(val));
 4654|  4.97M|                    break;
 4655|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4655:17): [True: 0, False: 4.97M]
  ------------------
 4656|      0|                    cast<ref_storage>().value().push_back(std::move(val));
 4657|      0|                    break;
 4658|      0|                default:
  ------------------
  |  Branch (4658:17): [True: 0, False: 4.97M]
  ------------------
 4659|      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
  ------------------
 4660|  4.97M|            }
 4661|  4.97M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1902|  6.02M|        {
 1903|  6.02M|            if (this == &other)
  ------------------
  |  Branch (1903:17): [True: 0, False: 6.02M]
  ------------------
 1904|      0|            {
 1905|      0|                return;
 1906|      0|            }
 1907|  6.02M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1907:17): [True: 6.02M, False: 0]
  |  Branch (1907:55): [True: 0, False: 6.02M]
  ------------------
 1908|      0|            {
 1909|      0|                basic_json temp;               
 1910|      0|                std::memcpy(static_cast<void*>(&temp), static_cast<void*>(&other), sizeof(basic_json));
 1911|      0|                std::memcpy(static_cast<void*>(&other), static_cast<void*>(this), sizeof(basic_json));
 1912|      0|                std::memcpy(static_cast<void*>(this), static_cast<void*>(&temp), sizeof(basic_json));
 1913|      0|            }
 1914|  6.02M|            else
 1915|  6.02M|            {
 1916|  6.02M|                switch (storage_kind())
 1917|  6.02M|                {
 1918|  5.94M|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1918:21): [True: 5.94M, False: 82.5k]
  ------------------
 1919|     13|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1919:21): [True: 13, False: 6.02M]
  ------------------
 1920|    213|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1920:21): [True: 213, False: 6.02M]
  ------------------
 1921|  11.7k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1921:21): [True: 11.7k, False: 6.01M]
  ------------------
 1922|  68.5k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1922:21): [True: 68.5k, False: 5.95M]
  ------------------
 1923|     22|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1923:21): [True: 22, False: 6.02M]
  ------------------
 1924|      0|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1924:21): [True: 0, False: 6.02M]
  ------------------
 1925|  2.06k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1925:21): [True: 2.06k, False: 6.02M]
  ------------------
 1926|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1926:21): [True: 0, False: 6.02M]
  ------------------
 1927|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1927:21): [True: 0, False: 6.02M]
  ------------------
 1928|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1928:21): [True: 0, False: 6.02M]
  ------------------
 1929|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1929:21): [True: 0, False: 6.02M]
  ------------------
 1930|      0|                    case json_storage_kind::json_const_ref: swap_l<const_ref_storage>(other); break;
  ------------------
  |  Branch (1930:21): [True: 0, False: 6.02M]
  ------------------
 1931|      0|                    case json_storage_kind::json_ref: swap_l<ref_storage>(other); break;
  ------------------
  |  Branch (1931:21): [True: 0, False: 6.02M]
  ------------------
 1932|      0|                    default:
  ------------------
  |  Branch (1932:21): [True: 0, False: 6.02M]
  ------------------
 1933|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1934|      0|                        break;
 1935|  6.02M|                }
 1936|  6.02M|            }
 1937|  6.02M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1156|  5.94M|        {
 1157|  5.94M|            switch (other.storage_kind())
 1158|  5.94M|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 5.94M]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 5.94M]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 5.94M]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 5.94M]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 5.94M]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 5.94M]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 5.94M]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 5.94M]
  ------------------
 1167|     24|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 24, False: 5.94M]
  ------------------
 1168|   229k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 229k, False: 5.71M]
  ------------------
 1169|  1.96k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 1.96k, False: 5.94M]
  ------------------
 1170|  5.71M|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 5.71M, False: 231k]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 5.94M]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 5.94M]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 5.94M]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|  5.94M|            }
 1177|  5.94M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  981|  5.94M|        {
  982|  5.94M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  5.94M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  981|     13|        {
  982|     13|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|     13|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
  990|  1.09M|        {
  991|  1.09M|            return cast(identity<T>());
  992|  1.09M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1021|  1.09M|        {
 1022|  1.09M|            return boolean_;
 1023|  1.09M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  981|    213|        {
  982|    213|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|    213|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
  990|  5.19M|        {
  991|  5.19M|            return cast(identity<T>());
  992|  5.19M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1031|  5.19M|        {
 1032|  5.19M|            return int64_;
 1033|  5.19M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  981|  11.7k|        {
  982|  11.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  11.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
  990|  4.89M|        {
  991|  4.89M|            return cast(identity<T>());
  992|  4.89M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1041|  4.89M|        {
 1042|  4.89M|            return uint64_;
 1043|  4.89M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  981|  68.5k|        {
  982|  68.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  68.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12half_storageEEERT_v:
  990|    274|        {
  991|    274|            return cast(identity<T>());
  992|    274|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12half_storageEEE:
 1051|    274|        {
 1052|    274|            return half_float_;
 1053|    274|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12half_storageEJRS7_EEEvDpOT0_:
  981|     22|        {
  982|     22|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|     22|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
  990|  1.23M|        {
  991|  1.23M|            return cast(identity<T>());
  992|  1.23M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1061|  1.23M|        {
 1062|  1.23M|            return float64_;
 1063|  1.23M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
  990|  1.03M|        {
  991|  1.03M|            return cast(identity<T>());
  992|  1.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1071|  1.03M|        {
 1072|  1.03M|            return short_str_;
 1073|  1.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  589|  2.06k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  590|  2.06k|            {
  591|  2.06k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  592|  2.06k|                data_[short_str_length_] = 0;
  593|  2.06k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  981|  2.06k|        {
  982|  2.06k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  2.06k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1142|     24|        {
 1143|     24|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|     24|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|     24|        {
 1149|     24|            TypeR temp{other.cast<TypeR>()};
 1150|     24|            other.construct<TypeL>(cast<TypeL>());
 1151|     24|            construct<TypeR>(temp);
 1152|     24|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1142|   229k|        {
 1143|   229k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|   229k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|   229k|        {
 1149|   229k|            TypeR temp{other.cast<TypeR>()};
 1150|   229k|            other.construct<TypeL>(cast<TypeL>());
 1151|   229k|            construct<TypeR>(temp);
 1152|   229k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1142|  1.96k|        {
 1143|  1.96k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  1.96k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  1.96k|        {
 1149|  1.96k|            TypeR temp{other.cast<TypeR>()};
 1150|  1.96k|            other.construct<TypeL>(cast<TypeL>());
 1151|  1.96k|            construct<TypeR>(temp);
 1152|  1.96k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1142|  5.71M|        {
 1143|  5.71M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  5.71M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  5.71M|        {
 1149|  5.71M|            TypeR temp{other.cast<TypeR>()};
 1150|  5.71M|            other.construct<TypeL>(cast<TypeL>());
 1151|  5.71M|            construct<TypeR>(temp);
 1152|  5.71M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1156|     13|        {
 1157|     13|            switch (other.storage_kind())
 1158|     13|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 13]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 13]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 13]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 13]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 13]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 13]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 13]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 13]
  ------------------
 1167|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 0, False: 13]
  ------------------
 1168|      1|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 1, False: 12]
  ------------------
 1169|      4|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 4, False: 9]
  ------------------
 1170|      8|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 8, False: 5]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 13]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 13]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 13]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|     13|            }
 1177|     13|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvRS5_:
 1142|      1|        {
 1143|      1|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|      1|        {
 1149|      1|            TypeR temp{other.cast<TypeR>()};
 1150|      1|            other.construct<TypeL>(cast<TypeL>());
 1151|      1|            construct<TypeR>(temp);
 1152|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1142|      4|        {
 1143|      4|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|      4|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|      4|        {
 1149|      4|            TypeR temp{other.cast<TypeR>()};
 1150|      4|            other.construct<TypeL>(cast<TypeL>());
 1151|      4|            construct<TypeR>(temp);
 1152|      4|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1142|      8|        {
 1143|      8|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|      8|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|      8|        {
 1149|      8|            TypeR temp{other.cast<TypeR>()};
 1150|      8|            other.construct<TypeL>(cast<TypeL>());
 1151|      8|            construct<TypeR>(temp);
 1152|      8|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1156|    213|        {
 1157|    213|            switch (other.storage_kind())
 1158|    213|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 213]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 213]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 213]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 213]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 213]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 213]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 213]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 213]
  ------------------
 1167|      2|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 2, False: 211]
  ------------------
 1168|     25|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 25, False: 188]
  ------------------
 1169|     21|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 21, False: 192]
  ------------------
 1170|    165|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 165, False: 48]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 213]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 213]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 213]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|    213|            }
 1177|    213|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1142|      2|        {
 1143|      2|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|      2|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|      2|        {
 1149|      2|            TypeR temp{other.cast<TypeR>()};
 1150|      2|            other.construct<TypeL>(cast<TypeL>());
 1151|      2|            construct<TypeR>(temp);
 1152|      2|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1142|     25|        {
 1143|     25|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|     25|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|     25|        {
 1149|     25|            TypeR temp{other.cast<TypeR>()};
 1150|     25|            other.construct<TypeL>(cast<TypeL>());
 1151|     25|            construct<TypeR>(temp);
 1152|     25|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1142|     21|        {
 1143|     21|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|     21|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|     21|        {
 1149|     21|            TypeR temp{other.cast<TypeR>()};
 1150|     21|            other.construct<TypeL>(cast<TypeL>());
 1151|     21|            construct<TypeR>(temp);
 1152|     21|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1142|    165|        {
 1143|    165|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|    165|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|    165|        {
 1149|    165|            TypeR temp{other.cast<TypeR>()};
 1150|    165|            other.construct<TypeL>(cast<TypeL>());
 1151|    165|            construct<TypeR>(temp);
 1152|    165|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1156|  11.7k|        {
 1157|  11.7k|            switch (other.storage_kind())
 1158|  11.7k|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 11.7k]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 11.7k]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 11.7k]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 11.7k]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 11.7k]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 11.7k]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 11.7k]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 11.7k]
  ------------------
 1167|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 0, False: 11.7k]
  ------------------
 1168|  9.46k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 9.46k, False: 2.25k]
  ------------------
 1169|     52|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 52, False: 11.6k]
  ------------------
 1170|  2.20k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 2.20k, False: 9.51k]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 11.7k]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 11.7k]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 11.7k]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|  11.7k|            }
 1177|  11.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1142|  9.46k|        {
 1143|  9.46k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  9.46k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  9.46k|        {
 1149|  9.46k|            TypeR temp{other.cast<TypeR>()};
 1150|  9.46k|            other.construct<TypeL>(cast<TypeL>());
 1151|  9.46k|            construct<TypeR>(temp);
 1152|  9.46k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1142|     52|        {
 1143|     52|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|     52|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|     52|        {
 1149|     52|            TypeR temp{other.cast<TypeR>()};
 1150|     52|            other.construct<TypeL>(cast<TypeL>());
 1151|     52|            construct<TypeR>(temp);
 1152|     52|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1142|  2.20k|        {
 1143|  2.20k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  2.20k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  2.20k|        {
 1149|  2.20k|            TypeR temp{other.cast<TypeR>()};
 1150|  2.20k|            other.construct<TypeL>(cast<TypeL>());
 1151|  2.20k|            construct<TypeR>(temp);
 1152|  2.20k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1156|  68.5k|        {
 1157|  68.5k|            switch (other.storage_kind())
 1158|  68.5k|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 68.5k]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 68.5k]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 68.5k]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 68.5k]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 68.5k]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 68.5k]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 68.5k]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 68.5k]
  ------------------
 1167|     34|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 34, False: 68.4k]
  ------------------
 1168|  63.0k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 63.0k, False: 5.46k]
  ------------------
 1169|    696|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 696, False: 67.8k]
  ------------------
 1170|  4.73k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 4.73k, False: 63.7k]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 68.5k]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 68.5k]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 68.5k]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|  68.5k|            }
 1177|  68.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1142|     34|        {
 1143|     34|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|     34|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|     34|        {
 1149|     34|            TypeR temp{other.cast<TypeR>()};
 1150|     34|            other.construct<TypeL>(cast<TypeL>());
 1151|     34|            construct<TypeR>(temp);
 1152|     34|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1142|  63.0k|        {
 1143|  63.0k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  63.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  63.0k|        {
 1149|  63.0k|            TypeR temp{other.cast<TypeR>()};
 1150|  63.0k|            other.construct<TypeL>(cast<TypeL>());
 1151|  63.0k|            construct<TypeR>(temp);
 1152|  63.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1142|    696|        {
 1143|    696|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|    696|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|    696|        {
 1149|    696|            TypeR temp{other.cast<TypeR>()};
 1150|    696|            other.construct<TypeL>(cast<TypeL>());
 1151|    696|            construct<TypeR>(temp);
 1152|    696|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1142|  4.73k|        {
 1143|  4.73k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  4.73k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  4.73k|        {
 1149|  4.73k|            TypeR temp{other.cast<TypeR>()};
 1150|  4.73k|            other.construct<TypeL>(cast<TypeL>());
 1151|  4.73k|            construct<TypeR>(temp);
 1152|  4.73k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12half_storageEEEvRS5_:
 1156|     22|        {
 1157|     22|            switch (other.storage_kind())
 1158|     22|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 22]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 22]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 22]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 22]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 22]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 22]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 22]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 22]
  ------------------
 1167|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 0, False: 22]
  ------------------
 1168|     22|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 22, False: 0]
  ------------------
 1169|      0|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 22]
  ------------------
 1170|      0|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 22]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 22]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 22]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 22]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|     22|            }
 1177|     22|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_19byte_string_storageEEEvRS5_:
 1142|     22|        {
 1143|     22|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|     22|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|     22|        {
 1149|     22|            TypeR temp{other.cast<TypeR>()};
 1150|     22|            other.construct<TypeL>(cast<TypeL>());
 1151|     22|            construct<TypeR>(temp);
 1152|     22|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1156|  2.06k|        {
 1157|  2.06k|            switch (other.storage_kind())
 1158|  2.06k|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 2.06k]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 2.06k]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 2.06k]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 2.06k]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 2.06k]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 2.06k]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 2.06k]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 2.06k]
  ------------------
 1167|      1|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 1, False: 2.06k]
  ------------------
 1168|  2.01k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 2.01k, False: 52]
  ------------------
 1169|     13|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 13, False: 2.05k]
  ------------------
 1170|     38|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 38, False: 2.03k]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 2.06k]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 2.06k]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.06k]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|  2.06k|            }
 1177|  2.06k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1142|      1|        {
 1143|      1|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|      1|        {
 1149|      1|            TypeR temp{other.cast<TypeR>()};
 1150|      1|            other.construct<TypeL>(cast<TypeL>());
 1151|      1|            construct<TypeR>(temp);
 1152|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1142|  2.01k|        {
 1143|  2.01k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  2.01k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  2.01k|        {
 1149|  2.01k|            TypeR temp{other.cast<TypeR>()};
 1150|  2.01k|            other.construct<TypeL>(cast<TypeL>());
 1151|  2.01k|            construct<TypeR>(temp);
 1152|  2.01k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1142|     13|        {
 1143|     13|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|     13|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|     13|        {
 1149|     13|            TypeR temp{other.cast<TypeR>()};
 1150|     13|            other.construct<TypeL>(cast<TypeL>());
 1151|     13|            construct<TypeR>(temp);
 1152|     13|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1142|     38|        {
 1143|     38|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|     38|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|     38|        {
 1149|     38|            TypeR temp{other.cast<TypeR>()};
 1150|     38|            other.construct<TypeL>(cast<TypeL>());
 1151|     38|            construct<TypeR>(temp);
 1152|     38|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2583|  4.76M|        {
 2584|  4.76M|            construct<uint64_storage>(val, tag);
 2585|  4.76M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  981|  4.76M|        {
  982|  4.76M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  4.76M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  520|  4.76M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  521|  4.76M|                  val_(val)
  522|  4.76M|            {
  523|  4.76M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2614|  5.16M|        {
 2615|  5.16M|            construct<int64_storage>(val, tag);
 2616|  5.16M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  981|  5.16M|        {
  982|  5.16M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  5.16M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  500|  5.16M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  501|  5.16M|                  val_(val)
  502|  5.16M|            {
  503|  5.16M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2571|  1.23M|        {
 2572|  1.23M|            construct<double_storage>(val, tag);
 2573|  1.23M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  981|  1.23M|        {
  982|  1.23M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  1.23M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  559|  1.23M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  560|  1.23M|                  val_(val)
  561|  1.23M|            {
  562|  1.23M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2369|  15.8k|        {
 2370|  15.8k|            auto ptr = create_array(Allocator());
 2371|  15.8k|            construct<array_storage>(ptr, tag);
 2372|  15.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  943|  15.8k|        {
  944|  15.8k|            using stor_allocator_type = typename array_storage::allocator_type;
  945|  15.8k|            stor_allocator_type stor_alloc(alloc);
  946|  15.8k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  947|  15.8k|            JSONCONS_TRY
  ------------------
  |  |   37|  15.8k|    #define JSONCONS_TRY try
  ------------------
  948|  15.8k|            {
  949|  15.8k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  950|  15.8k|                    std::forward<Args>(args)...);
  951|  15.8k|            }
  952|  15.8k|            JSONCONS_CATCH(...)
  953|  15.8k|            {
  954|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  955|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  956|      0|            }
  957|  15.8k|            return ptr;
  958|  15.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  981|  15.8k|        {
  982|  15.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  15.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  726|  15.8k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  727|  15.8k|            {
  728|  15.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2660|   947k|        {
 2661|   947k|            construct<null_storage>(tag);
 2662|   947k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  981|   947k|        {
  982|   947k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|   947k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2670|  1.09M|        {
 2671|  1.09M|            construct<bool_storage>(val,tag);
 2672|  1.09M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  981|  1.09M|        {
  982|  1.09M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  1.09M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  479|  1.09M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  480|  1.09M|                  val_(val)
  481|  1.09M|            {
  482|  1.09M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2518|  1.03M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2519|  1.03M|        {
 2520|  1.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2548|  1.03M|        {
 2549|  1.03M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2549:17): [True: 1.03M, False: 121]
  ------------------
 2550|  1.03M|            {
 2551|  1.03M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2552|  1.03M|            }
 2553|    121|            else
 2554|    121|            {
 2555|    121|                auto ptr = create_long_string(alloc, s, length);
 2556|    121|                construct<long_string_storage>(ptr, tag);
 2557|    121|            }
 2558|  1.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  981|  1.03M|        {
  982|  1.03M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  1.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  581|  1.03M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  582|  1.03M|            {
  583|  1.03M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   45|  1.03M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 1.03M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  584|  1.03M|                std::memcpy(data_,p,length*sizeof(char_type));
  585|  1.03M|                data_[length] = 0;
  586|  1.03M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  929|    121|        {
  930|    121|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  931|    121|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  932|    121|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  981|    121|        {
  982|    121|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|    121|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  625|    121|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  626|    121|            {
  627|    121|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2688|  2.99M|        {
 2689|  2.99M|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2690|       |            
 2691|  2.99M|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2692|  2.99M|            construct<byte_string_storage>(ptr, tag);
 2693|  2.99M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  936|  3.00M|        {
  937|  3.00M|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  938|  3.00M|            return heap_string_factory_type::create(data, length, ext_tag, alloc); 
  939|  3.00M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
  981|  2.99M|        {
  982|  2.99M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  2.99M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  674|  3.00M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  675|  3.00M|            {
  676|  3.00M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2700|      1|        {
 2701|      1|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2702|       |
 2703|      1|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0);
 2704|      1|            construct<byte_string_storage>(ptr, tag);
 2705|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2711|    451|        {
 2712|    451|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2713|       |
 2714|    451|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), ext_tag);
 2715|    451|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2716|    451|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  981|    451|        {
  982|    451|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|    451|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_10half_arg_tEtNS_12semantic_tagE:
 2561|    230|        {
 2562|    230|            construct<half_storage>(val, tag);
 2563|    230|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12half_storageEJRtRNS_12semantic_tagEEEEvDpOT0_:
  981|    230|        {
  982|    230|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|    230|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12half_storageC2EtNS_12semantic_tagE:
  539|    230|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::half_float)), short_str_length_(0), tag_(tag),
  540|    230|                  val_(val)
  541|    230|            {
  542|    230|            }

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

_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEET_PT0_:
  239|    121|    {
  240|    121|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|    121|        return std::launder(reinterpret_cast<T>(u));
  242|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  243|       |        return __builtin_launder(reinterpret_cast<T>(u));
  244|       |    #else
  245|       |        return reinterpret_cast<T>(u);
  246|       |    #endif
  247|    121|    }
_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEET_PT0_:
  239|  3.00M|    {
  240|  3.00M|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  3.00M|        return std::launder(reinterpret_cast<T>(u));
  242|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  243|       |        return __builtin_launder(reinterpret_cast<T>(u));
  244|       |    #else
  245|       |        return reinterpret_cast<T>(u);
  246|       |    #endif
  247|  3.00M|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  239|    121|    {
  240|    121|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|    121|        return std::launder(reinterpret_cast<T>(u));
  242|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  243|       |        return __builtin_launder(reinterpret_cast<T>(u));
  244|       |    #else
  245|       |        return reinterpret_cast<T>(u);
  246|       |    #endif
  247|    121|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  239|  3.00M|    {
  240|  3.00M|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  3.00M|        return std::launder(reinterpret_cast<T>(u));
  242|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  243|       |        return __builtin_launder(reinterpret_cast<T>(u));
  244|       |    #else
  245|       |        return reinterpret_cast<T>(u);
  246|       |    #endif
  247|  3.00M|    }

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

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

_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|  3.00M|            : data_(data), size_(size)
   62|  3.00M|        {
   63|  3.00M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|  3.00M|        {
  112|  3.00M|            return data_;
  113|  3.00M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|  3.00M|        {
  117|  3.00M|            return size_;
  118|  3.00M|        }
_ZNK8jsoncons6detail4spanIKmLm18446744073709551615EE4sizeEv:
  116|     45|        {
  117|     45|            return size_;
  118|     45|        }
_ZNK8jsoncons6detail4spanIhLm18446744073709551615EE4dataEv:
  111|  24.4k|        {
  112|  24.4k|            return data_;
  113|  24.4k|        }
_ZNK8jsoncons6detail4spanIhLm18446744073709551615EE4sizeEv:
  116|  24.4k|        {
  117|  24.4k|            return size_;
  118|  24.4k|        }
_ZN8jsoncons6detail4spanIhLm18446744073709551615EEC2INSt3__16vectorIhNS4_9allocatorIhEEEEEERT_PNS4_9enable_ifIXaaaaaantsr7is_spanIS9_EE5valuentsr10ext_traits12is_std_arrayIS9_EE5valuesr10ext_traits21is_compatible_elementIS9_hEE5valuesr10ext_traits17has_data_and_sizeIS9_EE5valueEvE4typeE:
   68|  24.4k|            : data_(c.data()), size_(c.size())
   69|  24.4k|        {
   70|  24.4k|        }
_ZN8jsoncons6detail4spanIKmLm18446744073709551615EEC2INSt3__16vectorImNS5_9allocatorImEEEEEERT_PNS5_9enable_ifIXaaaaaantsr7is_spanISA_EE5valuentsr10ext_traits12is_std_arrayISA_EE5valuesr10ext_traits21is_compatible_elementISA_S2_EE5valuesr10ext_traits17has_data_and_sizeISA_EE5valueEvE4typeE:
   68|     15|            : data_(c.data()), size_(c.size())
   69|     15|        {
   70|     15|        }
_ZNK8jsoncons6detail4spanIKmLm18446744073709551615EEixEm:
  126|    225|         {
  127|    225|             return data_[index];
  128|    225|         }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EEixEm:
  126|  3.72k|         {
  127|  3.72k|             return data_[index];
  128|  3.72k|         }
_ZN8jsoncons6detail4spanItLm18446744073709551615EEC2EPtm:
   61|  17.3k|            : data_(data), size_(size)
   62|  17.3k|        {
   63|  17.3k|        }
_ZNK8jsoncons6detail4spanItLm18446744073709551615EE4sizeEv:
  116|  1.36M|        {
  117|  1.36M|            return size_;
  118|  1.36M|        }
_ZNK8jsoncons6detail4spanItLm18446744073709551615EEixEm:
  126|  1.34M|         {
  127|  1.34M|             return data_[index];
  128|  1.34M|         }
_ZN8jsoncons6detail4spanIjLm18446744073709551615EEC2EPjm:
   61|    172|            : data_(data), size_(size)
   62|    172|        {
   63|    172|        }
_ZNK8jsoncons6detail4spanIjLm18446744073709551615EE4sizeEv:
  116|    704|        {
  117|    704|            return size_;
  118|    704|        }
_ZNK8jsoncons6detail4spanIjLm18446744073709551615EEixEm:
  126|    101|         {
  127|    101|             return data_[index];
  128|    101|         }
_ZN8jsoncons6detail4spanImLm18446744073709551615EEC2EPmm:
   61|    811|            : data_(data), size_(size)
   62|    811|        {
   63|    811|        }
_ZNK8jsoncons6detail4spanImLm18446744073709551615EE4sizeEv:
  116|  4.33k|        {
  117|  4.33k|            return size_;
  118|  4.33k|        }
_ZNK8jsoncons6detail4spanImLm18446744073709551615EEixEm:
  126|  1.74k|         {
  127|  1.74k|             return data_[index];
  128|  1.74k|         }
_ZN8jsoncons6detail4spanIaLm18446744073709551615EEC2EPam:
   61|  1.08k|            : data_(data), size_(size)
   62|  1.08k|        {
   63|  1.08k|        }
_ZNK8jsoncons6detail4spanIaLm18446744073709551615EEixEm:
  126|    161|         {
  127|    161|             return data_[index];
  128|    161|         }
_ZNK8jsoncons6detail4spanIaLm18446744073709551615EE4sizeEv:
  116|  3.41k|        {
  117|  3.41k|            return size_;
  118|  3.41k|        }
_ZN8jsoncons6detail4spanIsLm18446744073709551615EEC2EPsm:
   61|  1.05k|            : data_(data), size_(size)
   62|  1.05k|        {
   63|  1.05k|        }
_ZNK8jsoncons6detail4spanIsLm18446744073709551615EE4sizeEv:
  116|   214k|        {
  117|   214k|            return size_;
  118|   214k|        }
_ZNK8jsoncons6detail4spanIsLm18446744073709551615EEixEm:
  126|   316k|         {
  127|   316k|             return data_[index];
  128|   316k|         }
_ZN8jsoncons6detail4spanIiLm18446744073709551615EEC2EPim:
   61|    364|            : data_(data), size_(size)
   62|    364|        {
   63|    364|        }
_ZNK8jsoncons6detail4spanIiLm18446744073709551615EE4sizeEv:
  116|   130k|        {
  117|   130k|            return size_;
  118|   130k|        }
_ZNK8jsoncons6detail4spanIiLm18446744073709551615EEixEm:
  126|   192k|         {
  127|   192k|             return data_[index];
  128|   192k|         }
_ZN8jsoncons6detail4spanIlLm18446744073709551615EEC2EPlm:
   61|  1.69k|            : data_(data), size_(size)
   62|  1.69k|        {
   63|  1.69k|        }
_ZNK8jsoncons6detail4spanIlLm18446744073709551615EE4sizeEv:
  116|   219k|        {
  117|   219k|            return size_;
  118|   219k|        }
_ZNK8jsoncons6detail4spanIlLm18446744073709551615EEixEm:
  126|   319k|         {
  127|   319k|             return data_[index];
  128|   319k|         }
_ZN8jsoncons6detail4spanIfLm18446744073709551615EEC2EPfm:
   61|  1.52k|            : data_(data), size_(size)
   62|  1.52k|        {
   63|  1.52k|        }
_ZNK8jsoncons6detail4spanIfLm18446744073709551615EE4sizeEv:
  116|  67.1k|        {
  117|  67.1k|            return size_;
  118|  67.1k|        }
_ZNK8jsoncons6detail4spanIfLm18446744073709551615EEixEm:
  126|  89.5k|         {
  127|  89.5k|             return data_[index];
  128|  89.5k|         }
_ZN8jsoncons6detail4spanIdLm18446744073709551615EEC2EPdm:
   61|    309|            : data_(data), size_(size)
   62|    309|        {
   63|    309|        }
_ZNK8jsoncons6detail4spanIdLm18446744073709551615EE4sizeEv:
  116|  30.4k|        {
  117|  30.4k|            return size_;
  118|  30.4k|        }
_ZNK8jsoncons6detail4spanIdLm18446744073709551615EEixEm:
  126|  40.7k|         {
  127|  40.7k|             return data_[index];
  128|  40.7k|         }

_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  858|    143|            : destination_(std::addressof(visitor)), 
  859|    143|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  860|    143|        {
  861|    143|            level_stack_.emplace_back(target_t::destination,container_t::root); // root
  862|    143|        }
_ZN8jsoncons24basic_item_event_visitorIcEC2Ev:
   51|    143|        basic_item_event_visitor() = default;
_ZN8jsoncons24basic_item_event_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  293|   373k|        {
  294|   373k|            visit_begin_array(length, tag, context, ec);
  295|   373k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   373k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  296|   373k|        }
_ZN8jsoncons24basic_item_event_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  362|  11.2M|        {
  363|  11.2M|            visit_uint64(value, tag, context, ec);
  364|  11.2M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  11.2M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  365|  11.2M|        }
_ZN8jsoncons24basic_item_event_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  299|   668k|        {
  300|   668k|            visit_end_array(context, ec);
  301|   668k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   668k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  302|   668k|        }
_ZN8jsoncons24basic_item_event_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  371|  5.40M|        {
  372|  5.40M|            visit_int64(value, tag, context, ec);
  373|  5.40M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  374|  5.40M|        }
_ZN8jsoncons24basic_item_event_visitorIcE10half_valueEtNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  380|  8.07k|        {
  381|  8.07k|            visit_half(value, tag, context, ec);
  382|  8.07k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.07k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  383|  8.07k|        }
_ZN8jsoncons24basic_item_event_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  389|  1.67k|        {
  390|  1.67k|            visit_double(value, tag, context, ec);
  391|  1.67k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.67k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  392|  1.67k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5levelC2ENS4_8target_tENS4_11container_tE:
  797|  11.3M|                : state_(state), type_(type), even_odd_(type == container_t::object ? 0 : 1)
  ------------------
  |  Branch (797:57): [True: 10.6M, False: 707k]
  ------------------
  798|  11.3M|            {
  799|  11.3M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1011|   409k|        {
 1012|   409k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1012:17): [True: 23.4k, False: 386k]
  ------------------
 1013|  23.4k|            {
 1014|  23.4k|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1014:21): [True: 22.8k, False: 655]
  |  Branch (1014:73): [True: 22.6k, False: 167]
  ------------------
 1015|  22.6k|                {
 1016|  22.6k|                    key_buffer_.push_back(',');
 1017|  22.6k|                }
 1018|  23.4k|                level_stack_.emplace_back(target_t::buffer, container_t::array);
 1019|  23.4k|                key_buffer_.push_back('[');
 1020|  23.4k|            }
 1021|   386k|            else
 1022|   386k|            {
 1023|   386k|                switch (level_stack_.back().target())
 1024|   386k|                {
 1025|   371k|                    case target_t::buffer:
  ------------------
  |  Branch (1025:21): [True: 371k, False: 15.3k]
  ------------------
 1026|   371k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1026:29): [True: 347k, False: 23.1k]
  |  Branch (1026:65): [True: 343k, False: 4.52k]
  ------------------
 1027|   343k|                        {
 1028|   343k|                            key_buffer_.push_back(',');
 1029|   343k|                        }
 1030|   371k|                        level_stack_.emplace_back(target_t::buffer, container_t::array);
 1031|   371k|                        key_buffer_.push_back('[');
 1032|   371k|                        break;
 1033|  15.3k|                    default:
  ------------------
  |  Branch (1033:21): [True: 15.3k, False: 371k]
  ------------------
 1034|  15.3k|                        level_stack_.emplace_back(target_t::destination, container_t::array);
 1035|  15.3k|                        destination_->begin_array(length, tag, context, ec);
 1036|  15.3k|                        break;
 1037|   386k|                }
 1038|   386k|            }
 1039|   409k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   409k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1040|   409k|        }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level6is_keyEv:
  814|   111M|            {
  815|   111M|                return even_odd_ == 0;
  816|   111M|            }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level6targetEv:
  824|  79.1M|            {
  825|  79.1M|                return state_;
  826|  79.1M|            }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level5countEv:
  829|  9.51M|            {
  830|  9.51M|                return count_;
  831|  9.51M|            }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level9is_objectEv:
  819|  50.7M|            {
  820|  50.7M|                return type_ == container_t::object;
  821|  50.7M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1043|   705k|        {
 1044|   705k|            switch (level_stack_.back().target())
 1045|   705k|            {
 1046|   689k|                case target_t::buffer:
  ------------------
  |  Branch (1046:17): [True: 689k, False: 15.3k]
  ------------------
 1047|   689k|                    key_buffer_.push_back(']');
 1048|   689k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|   689k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 689k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1049|   689k|                    level_stack_.pop_back();
 1050|   689k|                    if (level_stack_.back().target() == target_t::destination)
  ------------------
  |  Branch (1050:25): [True: 646, False: 689k]
  ------------------
 1051|    646|                    {
 1052|    646|                        destination_->key(key_buffer_, context, ec);
 1053|    646|                        key_buffer_.clear();
 1054|    646|                    }
 1055|   689k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1055:30): [True: 32.7k, False: 656k]
  ------------------
 1056|  32.7k|                    {
 1057|  32.7k|                        key_buffer_.push_back(':');
 1058|  32.7k|                    }
 1059|   689k|                    level_stack_.back().advance();
 1060|   689k|                    break;
 1061|  15.3k|                default:
  ------------------
  |  Branch (1061:17): [True: 15.3k, False: 689k]
  ------------------
 1062|  15.3k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|  15.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 15.3k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1063|  15.3k|                    level_stack_.pop_back();
 1064|  15.3k|                    level_stack_.back().advance();
 1065|  15.3k|                    destination_->end_array(context, ec);
 1066|  15.3k|                    break;
 1067|   705k|            }
 1068|   705k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   705k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1069|   705k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level7advanceEv:
  802|  41.2M|            {
  803|  41.2M|                if (!is_key())
  ------------------
  |  Branch (803:21): [True: 34.9M, False: 6.28M]
  ------------------
  804|  34.9M|                {
  805|  34.9M|                    ++count_;
  806|  34.9M|                }
  807|  41.2M|                if (is_object())
  ------------------
  |  Branch (807:21): [True: 12.5M, False: 28.6M]
  ------------------
  808|  12.5M|                {
  809|  12.5M|                    even_odd_ = !even_odd_;
  810|  12.5M|                }
  811|  41.2M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1236|  11.3M|        {
 1237|  11.3M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1237:17): [True: 2.94M, False: 8.35M]
  |  Branch (1237:49): [True: 3.59M, False: 4.76M]
  ------------------
 1238|  6.53M|            {
 1239|  6.53M|                key_.clear();
 1240|  6.53M|                jsoncons::from_integer(value,key_);
 1241|  6.53M|            }
 1242|       |
 1243|  11.3M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1243:17): [True: 2.94M, False: 8.35M]
  ------------------
 1244|  2.94M|            {
 1245|  2.94M|                switch (level_stack_.back().target())
 1246|  2.94M|                {
 1247|  1.15M|                    case target_t::buffer:
  ------------------
  |  Branch (1247:21): [True: 1.15M, False: 1.79M]
  ------------------
 1248|  1.15M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1248:29): [True: 1.15M, False: 834]
  ------------------
 1249|  1.15M|                        {
 1250|  1.15M|                            key_buffer_.push_back(',');
 1251|  1.15M|                        }
 1252|  1.15M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1253|  1.15M|                        key_buffer_.push_back(':');
 1254|  1.15M|                        break;
 1255|  1.79M|                    default:
  ------------------
  |  Branch (1255:21): [True: 1.79M, False: 1.15M]
  ------------------
 1256|  1.79M|                        destination_->key(key_, context, ec);
 1257|  1.79M|                        break;
 1258|  2.94M|                }
 1259|  2.94M|            }
 1260|  8.35M|            else
 1261|  8.35M|            {
 1262|  8.35M|                switch (level_stack_.back().target())
 1263|  8.35M|                {
 1264|  3.59M|                    case target_t::buffer:
  ------------------
  |  Branch (1264:21): [True: 3.59M, False: 4.76M]
  ------------------
 1265|  3.59M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1265:29): [True: 2.43M, False: 1.15M]
  |  Branch (1265:65): [True: 2.42M, False: 10.7k]
  ------------------
 1266|  2.42M|                        {
 1267|  2.42M|                            key_buffer_.push_back(',');
 1268|  2.42M|                        }
 1269|  3.59M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1270|  3.59M|                        break;
 1271|  4.76M|                    default:
  ------------------
  |  Branch (1271:21): [True: 4.76M, False: 3.59M]
  ------------------
 1272|  4.76M|                        destination_->uint64_value(value, tag, context, ec);
 1273|  4.76M|                        break;
 1274|  8.35M|                }
 1275|  8.35M|            }
 1276|       |
 1277|  11.3M|            level_stack_.back().advance();
 1278|  11.3M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  11.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1279|  11.3M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1282|  5.67M|        {
 1283|  5.67M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1283:17): [True: 33.6k, False: 5.64M]
  |  Branch (1283:49): [True: 475k, False: 5.16M]
  ------------------
 1284|   508k|            {
 1285|   508k|                key_.clear();
 1286|   508k|                jsoncons::from_integer(value,key_);
 1287|   508k|            }
 1288|       |
 1289|  5.67M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1289:17): [True: 33.6k, False: 5.64M]
  ------------------
 1290|  33.6k|            {
 1291|  33.6k|                switch (level_stack_.back().target())
 1292|  33.6k|                {
 1293|  29.2k|                    case target_t::buffer:
  ------------------
  |  Branch (1293:21): [True: 29.2k, False: 4.36k]
  ------------------
 1294|  29.2k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1294:29): [True: 29.0k, False: 232]
  ------------------
 1295|  29.0k|                        {
 1296|  29.0k|                            key_buffer_.push_back(',');
 1297|  29.0k|                        }
 1298|  29.2k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1299|  29.2k|                        key_buffer_.push_back(':');
 1300|  29.2k|                        break;
 1301|  4.36k|                    default:
  ------------------
  |  Branch (1301:21): [True: 4.36k, False: 29.2k]
  ------------------
 1302|  4.36k|                        destination_->key(key_, context, ec);
 1303|  4.36k|                        break;
 1304|  33.6k|                }
 1305|  33.6k|            }
 1306|  5.64M|            else
 1307|  5.64M|            {
 1308|  5.64M|                switch (level_stack_.back().target())
 1309|  5.64M|                {
 1310|   475k|                    case target_t::buffer:
  ------------------
  |  Branch (1310:21): [True: 475k, False: 5.16M]
  ------------------
 1311|   475k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1311:29): [True: 446k, False: 28.8k]
  |  Branch (1311:65): [True: 411k, False: 35.5k]
  ------------------
 1312|   411k|                        {
 1313|   411k|                            key_buffer_.push_back(',');
 1314|   411k|                        }
 1315|   475k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1316|   475k|                        break;
 1317|  5.16M|                    default:
  ------------------
  |  Branch (1317:21): [True: 5.16M, False: 475k]
  ------------------
 1318|  5.16M|                        destination_->int64_value(value, tag, context, ec);
 1319|  5.16M|                        break;
 1320|  5.64M|                }
 1321|  5.64M|            }
 1322|       |
 1323|  5.67M|            level_stack_.back().advance();
 1324|  5.67M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.67M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1325|  5.67M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1377|  1.34M|        {
 1378|  1.34M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1378:17): [True: 436, False: 1.34M]
  |  Branch (1378:49): [True: 110k, False: 1.23M]
  ------------------
 1379|   110k|            {
 1380|   110k|                key_.clear();
 1381|   110k|                string_sink<string_type> sink(key_);
 1382|   110k|                jsoncons::write_double f{float_chars_format::general,0};
 1383|   110k|                f(value, sink);
 1384|   110k|            }
 1385|       |
 1386|  1.34M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1386:17): [True: 436, False: 1.34M]
  ------------------
 1387|    436|            {
 1388|    436|                switch (level_stack_.back().target())
 1389|    436|                {
 1390|    421|                    case target_t::buffer:
  ------------------
  |  Branch (1390:21): [True: 421, False: 15]
  ------------------
 1391|    421|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1391:29): [True: 142, False: 279]
  ------------------
 1392|    142|                        {
 1393|    142|                            key_buffer_.push_back(',');
 1394|    142|                        }
 1395|    421|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1396|    421|                        key_buffer_.push_back(':');
 1397|    421|                        break;
 1398|     15|                    default:
  ------------------
  |  Branch (1398:21): [True: 15, False: 421]
  ------------------
 1399|     15|                        destination_->key(key_, context, ec);
 1400|     15|                        break;
 1401|    436|                }
 1402|    436|            }
 1403|  1.34M|            else
 1404|  1.34M|            {
 1405|  1.34M|                switch (level_stack_.back().target())
 1406|  1.34M|                {
 1407|   110k|                    case target_t::buffer:
  ------------------
  |  Branch (1407:21): [True: 110k, False: 1.23M]
  ------------------
 1408|   110k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1408:29): [True: 110k, False: 156]
  |  Branch (1408:65): [True: 110k, False: 249]
  ------------------
 1409|   110k|                        {
 1410|   110k|                            key_buffer_.push_back(',');
 1411|   110k|                        }
 1412|   110k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1413|   110k|                        break;
 1414|  1.23M|                    default:
  ------------------
  |  Branch (1414:21): [True: 1.23M, False: 110k]
  ------------------
 1415|  1.23M|                        destination_->double_value(value, tag, context, ec);
 1416|  1.23M|                        break;
 1417|  1.34M|                }
 1418|  1.34M|            }
 1419|       |
 1420|  1.34M|            level_stack_.back().advance();
 1421|  1.34M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.34M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1422|  1.34M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  884|     17|        {
  885|     17|            destination_->flush();
  886|     17|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  889|   442k|        {
  890|   442k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (890:17): [True: 221k, False: 221k]
  ------------------
  891|   221k|            {
  892|   221k|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (892:21): [True: 221k, False: 18]
  |  Branch (892:73): [True: 220k, False: 603]
  ------------------
  893|   220k|                {
  894|   220k|                    key_buffer_.push_back(',');
  895|   220k|                }
  896|   221k|                level_stack_.emplace_back(target_t::buffer, container_t::object);
  897|   221k|                key_buffer_.push_back('{');
  898|   221k|            }
  899|   221k|            else
  900|   221k|            {
  901|   221k|                switch (level_stack_.back().target())
  902|   221k|                {
  903|   221k|                    case target_t::buffer:
  ------------------
  |  Branch (903:21): [True: 221k, False: 83]
  ------------------
  904|   221k|                        level_stack_.emplace_back(target_t::buffer, container_t::object);
  905|   221k|                        key_buffer_.push_back('{');
  906|   221k|                        break;
  907|     83|                    default:
  ------------------
  |  Branch (907:21): [True: 83, False: 221k]
  ------------------
  908|     83|                        level_stack_.emplace_back(target_t::destination, container_t::object);
  909|     83|                        destination_->begin_object(tag, context, ec);
  910|     83|                        break;
  911|   221k|                }
  912|   221k|            }
  913|   442k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   442k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  914|   442k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  917|  10.2M|        {
  918|  10.2M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (918:17): [True: 1.36M, False: 8.85M]
  ------------------
  919|  1.36M|            {
  920|  1.36M|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (920:21): [True: 318k, False: 1.04M]
  |  Branch (920:73): [True: 317k, False: 991]
  ------------------
  921|   317k|                {
  922|   317k|                    key_buffer_.push_back(',');
  923|   317k|                }
  924|  1.36M|                level_stack_.emplace_back(target_t::buffer, container_t::object);
  925|  1.36M|                key_buffer_.push_back('{');
  926|  1.36M|            }
  927|  8.85M|            else
  928|  8.85M|            {
  929|  8.85M|                switch (level_stack_.back().target())
  930|  8.85M|                {
  931|   972k|                    case target_t::buffer:
  ------------------
  |  Branch (931:21): [True: 972k, False: 7.88M]
  ------------------
  932|   972k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (932:29): [True: 653k, False: 318k]
  |  Branch (932:65): [True: 653k, False: 96]
  ------------------
  933|   653k|                        {
  934|   653k|                            key_buffer_.push_back(',');
  935|   653k|                        }
  936|   972k|                        level_stack_.emplace_back(target_t::buffer, container_t::object);
  937|   972k|                        key_buffer_.push_back('{');
  938|   972k|                        break;
  939|  7.88M|                    default:
  ------------------
  |  Branch (939:21): [True: 7.88M, False: 972k]
  ------------------
  940|  7.88M|                        level_stack_.emplace_back(target_t::destination, container_t::object);
  941|  7.88M|                        destination_->begin_object(length, tag, context, ec);
  942|  7.88M|                        break;
  943|  8.85M|                }
  944|  8.85M|            }
  945|  10.2M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  10.2M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  946|  10.2M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  949|  10.6M|        {
  950|  10.6M|            switch (level_stack_.back().target())
  951|  10.6M|            {
  952|  2.77M|                case target_t::buffer:
  ------------------
  |  Branch (952:17): [True: 2.77M, False: 7.88M]
  ------------------
  953|  2.77M|                    key_buffer_.push_back('}');
  954|  2.77M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|  2.77M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.77M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  955|  2.77M|                    level_stack_.pop_back();
  956|       |                    
  957|  2.77M|                    if (level_stack_.back().target() == target_t::destination)
  ------------------
  |  Branch (957:25): [True: 1.04M, False: 1.73M]
  ------------------
  958|  1.04M|                    {
  959|  1.04M|                        destination_->key(key_buffer_,context, ec);
  960|  1.04M|                        key_buffer_.clear();
  961|  1.04M|                    }
  962|  1.73M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (962:30): [True: 538k, False: 1.19M]
  ------------------
  963|   538k|                    {
  964|   538k|                        key_buffer_.push_back(':');
  965|   538k|                    }
  966|  2.77M|                    level_stack_.back().advance();
  967|  2.77M|                    break;
  968|  7.88M|                default:
  ------------------
  |  Branch (968:17): [True: 7.88M, False: 2.77M]
  ------------------
  969|  7.88M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|  7.88M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 7.88M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  970|  7.88M|                    level_stack_.pop_back();
  971|  7.88M|                    level_stack_.back().advance();
  972|  7.88M|                    destination_->end_object(context, ec);
  973|  7.88M|                    break;
  974|  10.6M|            }
  975|  10.6M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  10.6M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  976|  10.6M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  979|   297k|        {
  980|   297k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (980:17): [True: 10.0k, False: 287k]
  ------------------
  981|  10.0k|            {
  982|  10.0k|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (982:21): [True: 10.0k, False: 13]
  |  Branch (982:73): [True: 10.0k, False: 12]
  ------------------
  983|  10.0k|                {
  984|  10.0k|                    key_buffer_.push_back(',');
  985|  10.0k|                }
  986|  10.0k|                level_stack_.emplace_back(target_t::buffer, container_t::array);
  987|  10.0k|                key_buffer_.push_back('[');
  988|  10.0k|            }
  989|   287k|            else
  990|   287k|            {
  991|   287k|                switch (level_stack_.back().target())
  992|   287k|                {
  993|   287k|                    case target_t::buffer:
  ------------------
  |  Branch (993:21): [True: 287k, False: 472]
  ------------------
  994|   287k|                        if (level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (994:29): [True: 11.0k, False: 276k]
  |  Branch (994:64): [True: 10.9k, False: 71]
  ------------------
  995|  10.9k|                        {
  996|  10.9k|                            key_buffer_.push_back(',');
  997|  10.9k|                        }
  998|   287k|                        level_stack_.emplace_back(target_t::buffer, container_t::array);
  999|   287k|                        key_buffer_.push_back('[');
 1000|   287k|                        break;
 1001|    472|                    default:
  ------------------
  |  Branch (1001:21): [True: 472, False: 287k]
  ------------------
 1002|    472|                        level_stack_.emplace_back(target_t::destination, container_t::array);
 1003|    472|                        destination_->begin_array(tag, context, ec);
 1004|    472|                        break;
 1005|   287k|                }
 1006|   287k|            }
 1007|   297k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   297k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1008|   297k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1478|   997k|        {
 1479|   997k|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1479:17): [True: 46.6k, False: 950k]
  |  Branch (1479:49): [True: 2.84k, False: 947k]
  ------------------
 1480|  49.5k|            {
 1481|  49.5k|                key_.clear(); 
 1482|  49.5k|                key_.insert(key_.begin(), null_constant.begin(), null_constant.end());
 1483|  49.5k|            }
 1484|       |
 1485|   997k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1485:17): [True: 46.6k, False: 950k]
  ------------------
 1486|  46.6k|            {
 1487|  46.6k|                switch (level_stack_.back().target())
 1488|  46.6k|                {
 1489|  2.63k|                    case target_t::buffer:
  ------------------
  |  Branch (1489:21): [True: 2.63k, False: 44.0k]
  ------------------
 1490|  2.63k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1490:29): [True: 2.54k, False: 92]
  ------------------
 1491|  2.54k|                        {
 1492|  2.54k|                            key_buffer_.push_back(',');
 1493|  2.54k|                        }
 1494|  2.63k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1495|  2.63k|                        key_buffer_.push_back(':');
 1496|  2.63k|                        break;
 1497|  44.0k|                    default:
  ------------------
  |  Branch (1497:21): [True: 44.0k, False: 2.63k]
  ------------------
 1498|  44.0k|                        destination_->key(key_, context, ec);
 1499|  44.0k|                        break;
 1500|  46.6k|                }
 1501|  46.6k|            }
 1502|   950k|            else
 1503|   950k|            {
 1504|   950k|                switch (level_stack_.back().target())
 1505|   950k|                {
 1506|  2.84k|                    case target_t::buffer:
  ------------------
  |  Branch (1506:21): [True: 2.84k, False: 947k]
  ------------------
 1507|  2.84k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1507:29): [True: 285, False: 2.56k]
  |  Branch (1507:65): [True: 235, False: 50]
  ------------------
 1508|    235|                        {
 1509|    235|                            key_buffer_.push_back(',');
 1510|    235|                        }
 1511|  2.84k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1512|  2.84k|                        break;
 1513|   947k|                    default:
  ------------------
  |  Branch (1513:21): [True: 947k, False: 2.84k]
  ------------------
 1514|   947k|                        destination_->null_value(tag, context, ec);
 1515|   947k|                        break;
 1516|   950k|                }
 1517|   950k|            }
 1518|       |
 1519|   997k|            level_stack_.back().advance();
 1520|   997k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   997k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1521|   997k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1425|  1.10M|        {
 1426|  1.10M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1426:17): [True: 3.97k, False: 1.10M]
  |  Branch (1426:49): [True: 8.75k, False: 1.09M]
  ------------------
 1427|  12.7k|            {
 1428|  12.7k|                key_.clear(); 
 1429|  12.7k|                if (value)
  ------------------
  |  Branch (1429:21): [True: 783, False: 11.9k]
  ------------------
 1430|    783|                {
 1431|    783|                    key_.insert(key_.begin(), true_constant.begin(), true_constant.end());
 1432|    783|                }
 1433|  11.9k|                else
 1434|  11.9k|                {
 1435|  11.9k|                    key_.insert(key_.begin(), false_constant.begin(), false_constant.end());
 1436|  11.9k|                }
 1437|  12.7k|            }
 1438|       |
 1439|  1.10M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1439:17): [True: 3.97k, False: 1.10M]
  ------------------
 1440|  3.97k|            {
 1441|  3.97k|                switch (level_stack_.back().target())
 1442|  3.97k|                {
 1443|  3.05k|                    case target_t::buffer:
  ------------------
  |  Branch (1443:21): [True: 3.05k, False: 926]
  ------------------
 1444|  3.05k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1444:29): [True: 3.03k, False: 13]
  ------------------
 1445|  3.03k|                        {
 1446|  3.03k|                            key_buffer_.push_back(',');
 1447|  3.03k|                        }
 1448|  3.05k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1449|  3.05k|                        key_buffer_.push_back(':');
 1450|  3.05k|                        break;
 1451|    926|                    default:
  ------------------
  |  Branch (1451:21): [True: 926, False: 3.05k]
  ------------------
 1452|    926|                        destination_->key(key_, context, ec);
 1453|    926|                        break;
 1454|  3.97k|                }
 1455|  3.97k|            }
 1456|  1.10M|            else
 1457|  1.10M|            {
 1458|  1.10M|                switch (level_stack_.back().target())
 1459|  1.10M|                {
 1460|  8.75k|                    case target_t::buffer:
  ------------------
  |  Branch (1460:21): [True: 8.75k, False: 1.09M]
  ------------------
 1461|  8.75k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1461:29): [True: 5.75k, False: 2.99k]
  |  Branch (1461:65): [True: 5.73k, False: 20]
  ------------------
 1462|  5.73k|                        {
 1463|  5.73k|                            key_buffer_.push_back(',');
 1464|  5.73k|                        }
 1465|  8.75k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1466|  8.75k|                        break;
 1467|  1.09M|                    default:
  ------------------
  |  Branch (1467:21): [True: 1.09M, False: 8.75k]
  ------------------
 1468|  1.09M|                        destination_->bool_value(value, tag, context, ec);
 1469|  1.09M|                        break;
 1470|  1.10M|                }
 1471|  1.10M|            }
 1472|       |
 1473|  1.10M|            level_stack_.back().advance();
 1474|  1.10M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.10M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1475|  1.10M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1075|  2.72M|        {
 1076|  2.72M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1076:17): [True: 670k, False: 2.05M]
  ------------------
 1077|   670k|            {
 1078|   670k|                switch (level_stack_.back().target())
 1079|   670k|                {
 1080|   651k|                    case target_t::buffer:
  ------------------
  |  Branch (1080:21): [True: 651k, False: 18.6k]
  ------------------
 1081|   651k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1081:29): [True: 651k, False: 365]
  ------------------
 1082|   651k|                        {
 1083|   651k|                            key_buffer_.push_back(',');
 1084|   651k|                        }
 1085|   651k|                        key_buffer_.push_back('\"');
 1086|   651k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1087|   651k|                        key_buffer_.push_back('\"');
 1088|   651k|                        key_buffer_.push_back(':');
 1089|   651k|                        break;
 1090|  18.6k|                    default:
  ------------------
  |  Branch (1090:21): [True: 18.6k, False: 651k]
  ------------------
 1091|  18.6k|                        destination_->key(value, context, ec);
 1092|  18.6k|                        break;
 1093|   670k|                }
 1094|   670k|            }
 1095|  2.05M|            else
 1096|  2.05M|            {
 1097|  2.05M|                switch (level_stack_.back().target())
 1098|  2.05M|                {
 1099|  1.02M|                    case target_t::buffer:
  ------------------
  |  Branch (1099:21): [True: 1.02M, False: 1.03M]
  ------------------
 1100|  1.02M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1100:29): [True: 373k, False: 651k]
  |  Branch (1100:65): [True: 373k, False: 154]
  ------------------
 1101|   373k|                        {
 1102|   373k|                            key_buffer_.push_back(',');
 1103|   373k|                        }
 1104|  1.02M|                        key_buffer_.push_back('\"');
 1105|  1.02M|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1106|  1.02M|                        key_buffer_.push_back('\"');
 1107|  1.02M|                        break;
 1108|  1.03M|                    default:
  ------------------
  |  Branch (1108:21): [True: 1.03M, False: 1.02M]
  ------------------
 1109|  1.03M|                        destination_->string_value(value, tag, context, ec);
 1110|  1.03M|                        break;
 1111|  2.05M|                }
 1112|  2.05M|            }
 1113|       |
 1114|  2.72M|            level_stack_.back().advance();
 1115|  2.72M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.72M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1116|  2.72M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1122|  6.66M|        {
 1123|  6.66M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1123:17): [True: 956k, False: 5.71M]
  |  Branch (1123:49): [True: 2.71M, False: 2.99M]
  ------------------
 1124|  3.66M|            {
 1125|  3.66M|                key_.clear();
 1126|  3.66M|                switch (tag)
 1127|  3.66M|                {
 1128|      4|                    case semantic_tag::base64:
  ------------------
  |  Branch (1128:21): [True: 4, False: 3.66M]
  ------------------
 1129|      4|                        bytes_to_base64(value.begin(), value.end(), key_);
 1130|      4|                        break;
 1131|      0|                    case semantic_tag::base16:
  ------------------
  |  Branch (1131:21): [True: 0, False: 3.66M]
  ------------------
 1132|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1133|      0|                        break;
 1134|  3.66M|                    default:
  ------------------
  |  Branch (1134:21): [True: 3.66M, False: 4]
  ------------------
 1135|  3.66M|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1136|  3.66M|                        break;
 1137|  3.66M|                }
 1138|  3.66M|            }
 1139|       |
 1140|  6.66M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1140:17): [True: 956k, False: 5.71M]
  ------------------
 1141|   956k|            {
 1142|   956k|                switch (level_stack_.back().target())
 1143|   956k|                {
 1144|   826k|                    case target_t::buffer:
  ------------------
  |  Branch (1144:21): [True: 826k, False: 130k]
  ------------------
 1145|   826k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1145:29): [True: 826k, False: 606]
  ------------------
 1146|   826k|                        {
 1147|   826k|                            key_buffer_.push_back(',');
 1148|   826k|                        }
 1149|   826k|                        key_buffer_.push_back('\"');
 1150|   826k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1151|   826k|                        key_buffer_.push_back('\"');
 1152|   826k|                        key_buffer_.push_back(':');
 1153|   826k|                        break;
 1154|   130k|                    default:
  ------------------
  |  Branch (1154:21): [True: 130k, False: 826k]
  ------------------
 1155|   130k|                        destination_->key(key_, context, ec);
 1156|   130k|                        break;
 1157|   956k|                }
 1158|   956k|            }
 1159|  5.71M|            else
 1160|  5.71M|            {
 1161|  5.71M|                switch (level_stack_.back().target())
 1162|  5.71M|                {
 1163|  2.71M|                    case target_t::buffer:
  ------------------
  |  Branch (1163:21): [True: 2.71M, False: 2.99M]
  ------------------
 1164|  2.71M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1164:29): [True: 1.88M, False: 826k]
  |  Branch (1164:65): [True: 1.88M, False: 154]
  ------------------
 1165|  1.88M|                        {
 1166|  1.88M|                            key_buffer_.push_back(',');
 1167|  1.88M|                        }
 1168|  2.71M|                        key_buffer_.push_back('\"');
 1169|  2.71M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1170|  2.71M|                        key_buffer_.push_back('\"');
 1171|  2.71M|                        break;
 1172|  2.99M|                    default:
  ------------------
  |  Branch (1172:21): [True: 2.99M, False: 2.71M]
  ------------------
 1173|  2.99M|                        destination_->byte_string_value(value, tag, context, ec);
 1174|  2.99M|                        break;
 1175|  5.71M|                }
 1176|  5.71M|            }
 1177|       |
 1178|  6.66M|            level_stack_.back().advance();
 1179|  6.66M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.66M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1180|  6.66M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1186|  1.67k|        {
 1187|  1.67k|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1187:17): [True: 557, False: 1.11k]
  |  Branch (1187:49): [True: 666, False: 451]
  ------------------
 1188|  1.22k|            {
 1189|  1.22k|                key_.clear();
 1190|  1.22k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1191|  1.22k|            }
 1192|       |
 1193|  1.67k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1193:17): [True: 557, False: 1.11k]
  ------------------
 1194|    557|            {
 1195|    557|                switch (level_stack_.back().target())
 1196|    557|                {
 1197|    538|                    case target_t::buffer:
  ------------------
  |  Branch (1197:21): [True: 538, False: 19]
  ------------------
 1198|    538|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1198:29): [True: 522, False: 16]
  ------------------
 1199|    522|                        {
 1200|    522|                            key_buffer_.push_back(',');
 1201|    522|                        }
 1202|    538|                        key_buffer_.push_back('\"');
 1203|    538|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1204|    538|                        key_buffer_.push_back('\"');
 1205|    538|                        key_buffer_.push_back(':');
 1206|    538|                        break;
 1207|     19|                    default:
  ------------------
  |  Branch (1207:21): [True: 19, False: 538]
  ------------------
 1208|     19|                        destination_->key(key_, context, ec);
 1209|     19|                        break;
 1210|    557|                }
 1211|    557|            }
 1212|  1.11k|            else
 1213|  1.11k|            {
 1214|  1.11k|                switch (level_stack_.back().target())
 1215|  1.11k|                {
 1216|    666|                    case target_t::buffer:
  ------------------
  |  Branch (1216:21): [True: 666, False: 451]
  ------------------
 1217|    666|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1217:29): [True: 206, False: 460]
  |  Branch (1217:65): [True: 185, False: 21]
  ------------------
 1218|    185|                        {
 1219|    185|                            key_buffer_.push_back(',');
 1220|    185|                        }
 1221|    666|                        key_buffer_.push_back('\"');
 1222|    666|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1223|    666|                        key_buffer_.push_back('\"');
 1224|    666|                        break;
 1225|    451|                    default:
  ------------------
  |  Branch (1225:21): [True: 451, False: 666]
  ------------------
 1226|    451|                        destination_->byte_string_value(value, ext_tag, context, ec);
 1227|    451|                        break;
 1228|  1.11k|                }
 1229|  1.11k|            }
 1230|       |
 1231|  1.67k|            level_stack_.back().advance();
 1232|  1.67k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.67k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1233|  1.67k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE10visit_halfEtNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1328|  8.07k|        {
 1329|  8.07k|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1329:17): [True: 2.23k, False: 5.83k]
  |  Branch (1329:49): [True: 5.60k, False: 230]
  ------------------
 1330|  7.84k|            {
 1331|  7.84k|                key_.clear();
 1332|  7.84k|                jsoncons::string_sink<string_type> sink(key_);
 1333|  7.84k|                jsoncons::write_double f{float_chars_format::general,0};
 1334|  7.84k|                double x = binary::decode_half(value);
 1335|  7.84k|                f(x, sink);
 1336|  7.84k|            }
 1337|       |
 1338|  8.07k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1338:17): [True: 2.23k, False: 5.83k]
  ------------------
 1339|  2.23k|            {
 1340|  2.23k|                switch (level_stack_.back().target())
 1341|  2.23k|                {
 1342|  2.16k|                    case target_t::buffer:
  ------------------
  |  Branch (1342:21): [True: 2.16k, False: 73]
  ------------------
 1343|  2.16k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1343:29): [True: 2.14k, False: 17]
  ------------------
 1344|  2.14k|                        {
 1345|  2.14k|                            key_buffer_.push_back(',');
 1346|  2.14k|                        }
 1347|  2.16k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1348|  2.16k|                        key_buffer_.push_back(':');
 1349|  2.16k|                        break;
 1350|     73|                    default:
  ------------------
  |  Branch (1350:21): [True: 73, False: 2.16k]
  ------------------
 1351|     73|                        destination_->key(key_, context, ec);
 1352|     73|                        break;
 1353|  2.23k|                }
 1354|  2.23k|            }
 1355|  5.83k|            else
 1356|  5.83k|            {
 1357|  5.83k|                switch (level_stack_.back().target())
 1358|  5.83k|                {
 1359|  5.60k|                    case target_t::buffer:
  ------------------
  |  Branch (1359:21): [True: 5.60k, False: 230]
  ------------------
 1360|  5.60k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1360:29): [True: 3.56k, False: 2.04k]
  |  Branch (1360:65): [True: 3.55k, False: 10]
  ------------------
 1361|  3.55k|                        {
 1362|  3.55k|                            key_buffer_.push_back(',');
 1363|  3.55k|                        }
 1364|  5.60k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1365|  5.60k|                        break;
 1366|    230|                    default:
  ------------------
  |  Branch (1366:21): [True: 230, False: 5.60k]
  ------------------
 1367|    230|                        destination_->half_value(value, tag, context, ec);
 1368|    230|                        break;
 1369|  5.83k|                }
 1370|  5.83k|            }
 1371|       |
 1372|  8.07k|            level_stack_.back().advance();
 1373|  8.07k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.07k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1374|  8.07k|        }
_ZN8jsoncons24basic_item_event_visitorIcE17byte_string_valueINSt3__16vectorIhNS3_9allocatorIhEEEEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeENS3_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS8_EE5valueEiE4typeE:
  342|  6.66M|        {
  343|  6.66M|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  344|  6.66M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.66M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  345|  6.66M|        }
_ZN8jsoncons24basic_item_event_visitorIcE17byte_string_valueINSt3__16vectorIhNS3_9allocatorIhEEEEEEbRKT_mRKNS_11ser_contextERNS3_10error_codeENS3_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS8_EE5valueEiE4typeE:
  353|  1.67k|        {
  354|  1.67k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), ext_tag, context, ec);
  355|  1.67k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.67k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  356|  1.67k|        }
_ZN8jsoncons24basic_item_event_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  322|  1.10M|        {
  323|  1.10M|            visit_bool(value, tag, context, ec);
  324|  1.10M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.10M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  325|  1.10M|        }
_ZN8jsoncons24basic_item_event_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  313|   997k|        {
  314|   997k|            visit_null(tag, context, ec);
  315|   997k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   997k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  316|   997k|        }
_ZN8jsoncons24basic_item_event_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  331|  2.72M|        {
  332|  2.72M|            visit_string(value, tag, context, ec);
  333|  2.72M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.72M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  334|  2.72M|        }
_ZN8jsoncons24basic_item_event_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  287|   297k|        {
  288|   297k|            visit_begin_array(tag, context, ec);
  289|   297k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   297k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  290|   297k|        }
_ZN8jsoncons24basic_item_event_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  266|   442k|        {
  267|   442k|            visit_begin_object(tag, context, ec);
  268|   442k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   442k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  269|   442k|        }
_ZN8jsoncons24basic_item_event_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  275|  10.2M|        {
  276|  10.2M|            visit_begin_object(length, tag, context, ec);
  277|  10.2M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  10.2M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  278|  10.2M|        }
_ZN8jsoncons24basic_item_event_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  281|  10.6M|        {
  282|  10.6M|            visit_end_object(context, ec);
  283|  10.6M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  10.6M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|  10.6M|        }
_ZN8jsoncons24basic_item_event_visitorIcE5flushEv:
   56|     17|        {
   57|     17|            visit_flush();
   58|     17|        }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  107|  17.3k|        {
  108|  17.3k|            flatten_and_destroy();
  109|  17.3k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  246|  17.3k|        {
  247|  4.98M|            while (!elements_.empty())
  ------------------
  |  Branch (247:20): [True: 4.97M, False: 17.3k]
  ------------------
  248|  4.97M|            {
  249|  4.97M|                value_type current = std::move(elements_.back());
  250|  4.97M|                elements_.pop_back();
  251|  4.97M|                switch (current.storage_kind())
  252|  4.97M|                {
  253|    860|                    case json_storage_kind::array:
  ------------------
  |  Branch (253:21): [True: 860, False: 4.96M]
  ------------------
  254|    860|                    {
  255|    860|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (255:42): [True: 3.99k, False: 860]
  ------------------
  256|  3.99k|                        {
  257|  3.99k|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (257:34): [True: 103, False: 3.89k]
  |  Branch (257:85): [True: 134, False: 3.75k]
  ------------------
  258|    237|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (258:36): [True: 94, False: 143]
  ------------------
  259|     94|                            {
  260|     94|                                elements_.push_back(std::move(item));
  261|     94|                            }
  262|  3.99k|                        }
  263|    860|                        current.clear();                           
  264|    860|                        break;
  265|      0|                    }
  266|  2.61M|                    case json_storage_kind::object:
  ------------------
  |  Branch (266:21): [True: 2.61M, False: 2.35M]
  ------------------
  267|  2.61M|                    {
  268|  2.61M|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (268:40): [True: 236, False: 2.61M]
  ------------------
  269|    236|                        {
  270|    236|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (270:34): [True: 1, False: 235]
  |  Branch (270:91): [True: 29, False: 206]
  ------------------
  271|     30|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (271:36): [True: 10, False: 20]
  ------------------
  272|     10|                            {
  273|     10|                                elements_.push_back(std::move(kv.value()));
  274|     10|                            }
  275|    236|                        }
  276|  2.61M|                        current.clear();                           
  277|  2.61M|                        break;
  278|      0|                    }
  279|  2.35M|                    default:
  ------------------
  |  Branch (279:21): [True: 2.35M, False: 2.61M]
  ------------------
  280|  2.35M|                        break;
  281|  4.97M|                }
  282|  4.97M|            }
  283|  17.3k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  220|    860|        iterator begin() {return elements_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  222|    860|        iterator end() {return elements_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  127|    117|        {
  128|    117|            return elements_.empty();
  129|    117|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  140|    860|        void clear() {elements_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   51|  1.56k|            : allocator_holder<allocator_type>(alloc), 
   52|  1.56k|              elements_(value_allocator_type(alloc))
   53|  1.56k|        {
   54|  1.56k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  215|     11|        {
  216|     11|            elements_.emplace_back(std::forward<Args>(args)...);
  217|     11|            return elements_.back();
  218|     11|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  151|  6.96k|        void reserve(std::size_t n) {elements_.reserve(n);}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE9push_backIS6_S5_EENS3_9enable_ifIXsr3std16allocator_traitsIT0_E15is_always_equalE5valueEvE4typeEOT_:
  176|  4.97M|        {
  177|  4.97M|            elements_.emplace_back(std::forward<T>(value));
  178|  4.97M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   47|  15.8k|        {
   48|  15.8k|        }

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|    143|        : allocator_(alloc),
   75|    143|          result_(),
   76|    143|          name_(alloc),
   77|    143|          item_stack_(alloc),
   78|    143|          structure_stack_(temp_alloc)
   79|    143|    {
   80|    143|        item_stack_.reserve(1000);
   81|    143|        structure_stack_.reserve(100);
   82|    143|        structure_stack_.emplace_back(structure_type::root_t, 0);
   83|    143|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14structure_infoC2ENS7_14structure_typeEm:
   51|  7.90M|            : type_(type), container_index_(offset)
   52|  7.90M|        {
   53|  7.90M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  179|  15.3k|    {
  180|  15.3k|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   45|  15.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 15.3k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  181|  15.3k|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::array_t);
  ------------------
  |  |   45|  15.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 15.3k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  182|  15.3k|        const size_t container_index = structure_stack_.back().container_index_;
  183|  15.3k|        JSONCONS_ASSERT(item_stack_.size() > container_index);
  ------------------
  |  |   45|  15.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 15.3k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  184|       |
  185|  15.3k|        auto& container = item_stack_[container_index].value;
  186|       |
  187|  15.3k|        const size_t size = item_stack_.size() - (container_index + 1);
  188|       |        //std::cout << "size on item stack: " << size << "\n";
  189|       |
  190|  15.3k|        if (size > 0)
  ------------------
  |  Branch (190:13): [True: 6.96k, False: 8.36k]
  ------------------
  191|  6.96k|        {
  192|  6.96k|            container.reserve(size);
  193|  6.96k|            auto first = item_stack_.begin() + (container_index+1);
  194|  6.96k|            auto last = first + size;
  195|  4.98M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (195:35): [True: 4.97M, False: 6.96k]
  ------------------
  196|  4.97M|            {
  197|  4.97M|                container.push_back(std::move((*it).value));
  198|  4.97M|            }
  199|  6.96k|            item_stack_.erase(first, item_stack_.end());
  200|  6.96k|        }
  201|       |
  202|  15.3k|        structure_stack_.pop_back();
  203|  15.3k|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (203:13): [True: 4, False: 15.3k]
  ------------------
  204|      4|        {
  205|      4|            result_.swap(item_stack_.front().value);
  206|      4|            item_stack_.pop_back();
  207|      4|            is_valid_ = true;
  208|      4|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      4|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  209|      4|        }
  210|  15.3k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  15.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  211|  15.3k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  296|  4.76M|    {
  297|  4.76M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (297:17): [True: 4.76M, False: 0]
  ------------------
  298|  4.76M|        {
  299|  1.79M|            case structure_type::object_t:
  ------------------
  |  Branch (299:13): [True: 1.79M, False: 2.96M]
  ------------------
  300|  4.76M|            case structure_type::array_t:
  ------------------
  |  Branch (300:13): [True: 2.96M, False: 1.79M]
  ------------------
  301|  4.76M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  302|  4.76M|                break;
  303|      2|            case structure_type::root_t:
  ------------------
  |  Branch (303:13): [True: 2, False: 4.76M]
  ------------------
  304|      2|                result_ = Json(value,tag);
  305|      2|                is_valid_ = true;
  306|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  307|  4.76M|        }
  308|  4.76M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.76M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  309|  4.76M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  277|  5.16M|    {
  278|  5.16M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (278:17): [True: 5.16M, False: 0]
  ------------------
  279|  5.16M|        {
  280|  4.21k|            case structure_type::object_t:
  ------------------
  |  Branch (280:13): [True: 4.21k, False: 5.16M]
  ------------------
  281|  5.16M|            case structure_type::array_t:
  ------------------
  |  Branch (281:13): [True: 5.16M, False: 4.21k]
  ------------------
  282|  5.16M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  283|  5.16M|                break;
  284|      0|            case structure_type::root_t:
  ------------------
  |  Branch (284:13): [True: 0, False: 5.16M]
  ------------------
  285|      0|                result_ = Json(value,tag);
  286|      0|                is_valid_ = true;
  287|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  288|  5.16M|        }
  289|  5.16M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.16M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  290|  5.16M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  334|  1.23M|    {
  335|  1.23M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (335:17): [True: 1.23M, False: 0]
  ------------------
  336|  1.23M|        {
  337|      6|            case structure_type::object_t:
  ------------------
  |  Branch (337:13): [True: 6, False: 1.23M]
  ------------------
  338|  1.23M|            case structure_type::array_t:
  ------------------
  |  Branch (338:13): [True: 1.23M, False: 6]
  ------------------
  339|  1.23M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  340|  1.23M|                break;
  341|      0|            case structure_type::root_t:
  ------------------
  |  Branch (341:13): [True: 0, False: 1.23M]
  ------------------
  342|      0|                result_ = Json(value, tag);
  343|      0|                is_valid_ = true;
  344|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  345|  1.23M|        }
  346|  1.23M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.23M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  347|  1.23M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|     17|    {
  123|     17|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  7.88M|    {
  127|  7.88M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (127:13): [True: 85, False: 7.88M]
  ------------------
  128|     85|        {
  129|     85|            index_ = 0;
  130|     85|            item_stack_.clear();
  131|     85|            is_valid_ = false;
  132|     85|        }
  133|  7.88M|        item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  134|  7.88M|        structure_stack_.emplace_back(structure_type::object_t, item_stack_.size()-1);
  135|  7.88M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  7.88M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  136|  7.88M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  139|  7.88M|    {
  140|  7.88M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   45|  7.88M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 7.88M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  141|  7.88M|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::object_t);
  ------------------
  |  |   45|  7.88M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 7.88M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  142|  7.88M|        const size_t structure_index = structure_stack_.back().container_index_;
  143|  7.88M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   45|  7.88M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 7.88M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  144|  7.88M|        const size_t count = item_stack_.size() - (structure_index + 1);
  145|  7.88M|        auto first = item_stack_.begin() + (structure_index+1);
  146|       |
  147|  7.88M|        if (count > 0)
  ------------------
  |  Branch (147:13): [True: 1.65k, False: 7.88M]
  ------------------
  148|  1.65k|        {
  149|  1.65k|            item_stack_[structure_index].value.template cast<typename Json::object_storage>().value().uninitialized_init(
  150|  1.65k|                &item_stack_[structure_index+1], count);
  151|  1.65k|        }
  152|       |
  153|  7.88M|        item_stack_.erase(first, item_stack_.end());
  154|  7.88M|        structure_stack_.pop_back();
  155|  7.88M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (155:13): [True: 8, False: 7.88M]
  ------------------
  156|      8|        {
  157|      8|            result_.swap(item_stack_.front().value);
  158|      8|            item_stack_.pop_back();
  159|      8|            is_valid_ = true;
  160|      8|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      8|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  161|      8|        }
  162|  7.88M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  7.88M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  163|  7.88M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  166|  15.8k|    {
  167|  15.8k|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (167:13): [True: 41, False: 15.7k]
  ------------------
  168|     41|        {
  169|     41|            index_ = 0;
  170|     41|            item_stack_.clear();
  171|     41|            is_valid_ = false;
  172|     41|        }
  173|  15.8k|        item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  174|  15.8k|        structure_stack_.emplace_back(structure_type::array_t, item_stack_.size()-1);
  175|  15.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  15.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  176|  15.8k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  214|  3.04M|    {
  215|  3.04M|        name_ = key_type(name.data(),name.length(),allocator_);
  216|  3.04M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.04M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  3.04M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  366|   947k|    {
  367|   947k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (367:17): [True: 947k, False: 0]
  ------------------
  368|   947k|        {
  369|  43.8k|            case structure_type::object_t:
  ------------------
  |  Branch (369:13): [True: 43.8k, False: 903k]
  ------------------
  370|   947k|            case structure_type::array_t:
  ------------------
  |  Branch (370:13): [True: 903k, False: 43.8k]
  ------------------
  371|   947k|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  372|   947k|                break;
  373|      0|            case structure_type::root_t:
  ------------------
  |  Branch (373:13): [True: 0, False: 947k]
  ------------------
  374|      0|                result_ = Json(null_type(), tag);
  375|      0|                is_valid_ = true;
  376|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|   947k|        }
  378|   947k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   947k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  379|   947k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  350|  1.09M|    {
  351|  1.09M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (351:17): [True: 1.09M, False: 0]
  ------------------
  352|  1.09M|        {
  353|    775|            case structure_type::object_t:
  ------------------
  |  Branch (353:13): [True: 775, False: 1.09M]
  ------------------
  354|  1.09M|            case structure_type::array_t:
  ------------------
  |  Branch (354:13): [True: 1.09M, False: 775]
  ------------------
  355|  1.09M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  356|  1.09M|                break;
  357|      0|            case structure_type::root_t:
  ------------------
  |  Branch (357:13): [True: 0, False: 1.09M]
  ------------------
  358|      0|                result_ = Json(value, tag);
  359|      0|                is_valid_ = true;
  360|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  361|  1.09M|        }
  362|  1.09M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.09M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  363|  1.09M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  220|  1.03M|    {
  221|  1.03M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (221:17): [True: 1.03M, False: 0]
  ------------------
  222|  1.03M|        {
  223|  18.6k|            case structure_type::object_t:
  ------------------
  |  Branch (223:13): [True: 18.6k, False: 1.01M]
  ------------------
  224|  1.03M|            case structure_type::array_t:
  ------------------
  |  Branch (224:13): [True: 1.01M, False: 18.6k]
  ------------------
  225|  1.03M|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  226|  1.03M|                break;
  227|      0|            case structure_type::root_t:
  ------------------
  |  Branch (227:13): [True: 0, False: 1.03M]
  ------------------
  228|      0|                result_ = Json(sv, tag, allocator_);
  229|      0|                is_valid_ = true;
  230|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  231|  1.03M|        }
  232|  1.03M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.03M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  233|  1.03M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  239|  2.99M|    {
  240|  2.99M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (240:17): [True: 2.99M, False: 0]
  ------------------
  241|  2.99M|        {
  242|   130k|            case structure_type::object_t:
  ------------------
  |  Branch (242:13): [True: 130k, False: 2.86M]
  ------------------
  243|  2.99M|            case structure_type::array_t:
  ------------------
  |  Branch (243:13): [True: 2.86M, False: 130k]
  ------------------
  244|  2.99M|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, tag);
  245|  2.99M|                break;
  246|      1|            case structure_type::root_t:
  ------------------
  |  Branch (246:13): [True: 1, False: 2.99M]
  ------------------
  247|      1|                result_ = Json(byte_string_arg, b, tag, allocator_);
  248|      1|                is_valid_ = true;
  249|      1|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      1|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  250|  2.99M|        }
  251|  2.99M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.99M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  252|  2.99M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  258|    451|    {
  259|    451|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (259:17): [True: 451, False: 0]
  ------------------
  260|    451|        {
  261|      6|            case structure_type::object_t:
  ------------------
  |  Branch (261:13): [True: 6, False: 445]
  ------------------
  262|    451|            case structure_type::array_t:
  ------------------
  |  Branch (262:13): [True: 445, False: 6]
  ------------------
  263|    451|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, ext_tag);
  264|    451|                break;
  265|      0|            case structure_type::root_t:
  ------------------
  |  Branch (265:13): [True: 0, False: 451]
  ------------------
  266|      0|                result_ = Json(byte_string_arg, b, ext_tag, allocator_);
  267|      0|                is_valid_ = true;
  268|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  269|    451|        }
  270|    451|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    451|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  271|    451|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_halfEtNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  315|    230|    {
  316|    230|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (316:17): [True: 230, False: 0]
  ------------------
  317|    230|        {
  318|     74|            case structure_type::object_t:
  ------------------
  |  Branch (318:13): [True: 74, False: 156]
  ------------------
  319|    230|            case structure_type::array_t:
  ------------------
  |  Branch (319:13): [True: 156, False: 74]
  ------------------
  320|    230|                item_stack_.emplace_back(std::move(name_), index_++, half_arg, value, tag);
  321|    230|                break;
  322|      0|            case structure_type::root_t:
  ------------------
  |  Branch (322:13): [True: 0, False: 230]
  ------------------
  323|      0|                result_ = Json(half_arg, value, tag);
  324|      0|                is_valid_ = true;
  325|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|    230|        }
  327|    230|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    230|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  328|    230|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|     15|    {
  109|     15|        return is_valid_;
  110|     15|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|     15|    {
  114|     15|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   45|     15|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 15]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  115|     15|        is_valid_ = false;
  116|     15|        return std::move(result_);
  117|     15|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|    143|{
 1065|    143|    return json_visitor_adaptor<From, To>(to);
 1066|    143|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|    143|        : supertype(visitor)
  984|    143|    {
  985|    143|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|    143|        : destination1_(std::addressof(visitor))
  722|    143|    {
  723|    143|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  777|  15.3k|    {
  778|  15.3k|        destination1_->begin_array(length, tag, context, ec);
  779|  15.3k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  15.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|  15.3k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  15.3k|    {
  784|  15.3k|        destination1_->end_array(context, ec);
  785|  15.3k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  15.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  15.3k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  4.76M|    {
  826|  4.76M|        destination1_->uint64_value(value, tag, context, ec);
  827|  4.76M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.76M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  4.76M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  5.16M|    {
  820|  5.16M|        destination1_->int64_value(value, tag, context, ec);
  821|  5.16M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.16M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  5.16M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  1.23M|    {
  814|  1.23M|        destination1_->double_value(value, tag, context, ec);
  815|  1.23M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.23M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  1.23M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|     17|    {
  739|     17|        destination1_->flush();
  740|     17|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  745|     83|    {
  746|     83|        destination1_->begin_object(tag, context, ec);
  747|     83|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|     83|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  748|     83|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|  7.88M|    {
  755|  7.88M|        destination1_->begin_object(length, tag, context, ec);
  756|  7.88M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  7.88M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  7.88M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  7.88M|    {
  761|  7.88M|        destination1_->end_object(context, ec);
  762|  7.88M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  7.88M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  7.88M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  768|    472|    {
  769|    472|        destination1_->begin_array(tag, context, ec);
  770|    472|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    472|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  771|    472|    }
_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|  3.04M|    {
  996|  3.04M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  3.04M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  4.07M|    {
  733|  4.07M|        return *destination1_;
  734|  4.07M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|   947k|    {
  838|   947k|        destination1_->null_value(tag, context, ec);
  839|   947k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   947k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|   947k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  1.09M|    {
  832|  1.09M|        destination1_->bool_value(value, tag, context, ec);
  833|  1.09M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.09M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  1.09M|    }
_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.03M|    {
 1004|  1.03M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  1.03M|    }
_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|  2.99M|    {
  793|  2.99M|        destination1_->byte_string_value(b, tag, context, ec);
  794|  2.99M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.99M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  795|  2.99M|    }
_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|    451|    {
  802|    451|        destination1_->byte_string_value(b, ext_tag, context, ec);
  803|    451|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    451|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|    451|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_halfEtNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  807|    230|    {
  808|    230|        destination1_->half_value(value, tag, context, ec);
  809|    230|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    230|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  810|    230|    }

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  432|    548|        {
  433|    548|            return members_.empty();
  434|    548|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  465|  2.61M|        void clear() {members_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  442|  2.61M|        {
  443|  2.61M|            return members_.begin();
  444|  2.61M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  447|  2.61M|        {
  448|  2.61M|            return members_.end();
  449|  2.61M|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|  3.26k|        {
  121|  3.26k|            return value_;
  122|  3.26k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  427|  7.88M|        {
  428|  7.88M|            flatten_and_destroy();
  429|  7.88M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  986|  7.88M|        {
  987|  7.88M|            if (!members_.empty())
  ------------------
  |  Branch (987:17): [True: 1.56k, False: 7.88M]
  ------------------
  988|  1.56k|            {
  989|  1.56k|                json_array<Json> temp(get_allocator());
  990|       |
  991|  1.56k|                for (auto& kv : members_)
  ------------------
  |  Branch (991:31): [True: 2.34k, False: 1.56k]
  ------------------
  992|  2.34k|                {
  993|  2.34k|                    switch (kv.value().storage_kind())
  994|  2.34k|                    {
  995|     13|                        case json_storage_kind::array:
  ------------------
  |  Branch (995:25): [True: 13, False: 2.33k]
  ------------------
  996|    398|                        case json_storage_kind::object:
  ------------------
  |  Branch (996:25): [True: 385, False: 1.95k]
  ------------------
  997|    398|                            if (!kv.value().empty())
  ------------------
  |  Branch (997:33): [True: 11, False: 387]
  ------------------
  998|     11|                            {
  999|     11|                                temp.emplace_back(std::move(kv.value()));
 1000|     11|                            }
 1001|    398|                            break;
 1002|  1.94k|                        default:
  ------------------
  |  Branch (1002:25): [True: 1.94k, False: 398]
  ------------------
 1003|  1.94k|                            break;
 1004|  2.34k|                    }
 1005|  2.34k|                }
 1006|  1.56k|            }
 1007|  7.88M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  46.3M|        index_key_value(index_key_value&&) = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
  334|  7.88M|        {
  335|  7.88M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  9.59M|        index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.76M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.76M|        {
   45|  4.76M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  5.16M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  5.16M|        {
   45|  5.16M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.23M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.23M|        {
   45|  1.23M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  7.88M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  7.88M|        {
   45|  7.88M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  539|  1.65k|        {
  540|  1.65k|            if (count > 0)
  ------------------
  |  Branch (540:17): [True: 1.65k, False: 0]
  ------------------
  541|  1.65k|            {
  542|  1.65k|                members_.reserve(count);
  543|       |
  544|  1.65k|                std::sort(items, items+count, compare);
  545|  1.65k|                members_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  546|       |                
  547|  1.78M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (547:41): [True: 1.78M, False: 1.65k]
  ------------------
  548|  1.78M|                {
  549|  1.78M|                    auto& item = items[i];
  550|  1.78M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (550:25): [True: 929, False: 1.78M]
  ------------------
  551|    929|                    {
  552|    929|                        members_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  553|    929|                    }
  554|  1.78M|                }
  555|  1.65k|            }
  556|  1.65k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  530|  46.8M|        {
  531|  46.8M|            int comp = item1.name.compare(item2.name); 
  532|  46.8M|            if (comp < 0) return true;
  ------------------
  |  Branch (532:17): [True: 56.7k, False: 46.7M]
  ------------------
  533|  46.7M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (533:17): [True: 45.5M, False: 1.17M]
  ------------------
  534|       |
  535|  1.17M|            return false;
  536|  46.7M|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|  2.57k|            : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|  2.57k|        {
   88|  2.57k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  15.8k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  15.8k|        {
   45|  15.8k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   947k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   947k|        {
   45|   947k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.09M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.09M|        {
   45|  1.09M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  1.03M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.03M|        {
   45|  1.03M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.99M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.99M|        {
   45|  2.99M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|    451|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|    451|        {
   45|    451|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_10half_arg_tERtRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|    230|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|    230|        {
   45|    230|        }

_ZN8jsoncons18is_trivial_storageENS_17json_storage_kindE:
  210|  90.2M|    {
  211|  90.2M|        static const uint8_t mask{ uint8_t(json_storage_kind::long_str) & uint8_t(json_storage_kind::byte_str) 
  212|  90.2M|            & uint8_t(json_storage_kind::array) & uint8_t(json_storage_kind::object) };
  213|  90.2M|        return (uint8_t(storage_kind) & mask) != mask;
  214|  90.2M|    }

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|    429|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|    572|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|  15.3k|        {
  561|  15.3k|            visit_begin_array(tag, context, ec);
  562|  15.3k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  15.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  15.3k|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  7.88M|        {
  545|  7.88M|            visit_begin_object(tag, context, ec);
  546|  7.88M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  7.88M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  7.88M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  30.6k|        {
  346|  30.6k|            visit_begin_array(length, tag, context, ec);
  347|  30.6k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  30.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  30.6k|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  9.52M|        {
  415|  9.52M|            visit_uint64(value, tag, context, ec);
  416|  9.52M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  9.52M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  9.52M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  30.6k|        {
  352|  30.6k|            visit_end_array(context, ec);
  353|  30.6k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  30.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  30.6k|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  10.3M|        {
  424|  10.3M|            visit_int64(value, tag, context, ec);
  425|  10.3M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  10.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  10.3M|        }
_ZN8jsoncons18basic_json_visitorIcE10half_valueEtNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  432|    460|        {
  433|    460|            visit_half(value, tag, context, ec);
  434|    460|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    460|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  435|    460|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  2.47M|        {
  442|  2.47M|            visit_double(value, tag, context, ec);
  443|  2.47M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.47M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  2.47M|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|     34|        {
  109|     34|            visit_flush();
  110|     34|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  318|    166|        {
  319|    166|            visit_begin_object(tag, context, ec);
  320|    166|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    166|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  321|    166|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  15.7M|        {
  328|  15.7M|            visit_begin_object(length, tag, context, ec);
  329|  15.7M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  15.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  15.7M|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  15.7M|        {
  334|  15.7M|            visit_end_object(context, ec);
  335|  15.7M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  15.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  15.7M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  339|    944|        {
  340|    944|            visit_begin_array(tag, context, ec);
  341|    944|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    944|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  342|    944|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  6.08M|        {
  358|  6.08M|            visit_key(name, context, ec);
  359|  6.08M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.08M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  6.08M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  1.89M|        {
  366|  1.89M|            visit_null(tag, context, ec);
  367|  1.89M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.89M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  1.89M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  2.19M|        {
  375|  2.19M|            visit_bool(value, tag, context, ec);
  376|  2.19M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.19M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  2.19M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  2.06M|        {
  384|  2.06M|            visit_string(value, tag, context, ec);
  385|  2.06M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.06M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  2.06M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  394|  5.99M|        {
  395|  5.99M|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  396|  5.99M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.99M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  397|  5.99M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|    902|        {
  406|    902|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), ext_tag, context, ec);
  407|    902|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    902|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|    902|        }
_ZN8jsoncons26basic_default_json_visitorIcEC2Ev:
  811|    143|        basic_default_json_visitor() = default;
_ZN8jsoncons19typed_array_visitor11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
   36|  36.1k|        {
   37|  36.1k|            visit_begin_array(length, tag, context, ec);
   38|  36.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  36.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
   39|  36.1k|        }
_ZN8jsoncons19typed_array_visitor9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
   42|  36.1k|        {
   43|  36.1k|            visit_end_array(context, ec);
   44|  36.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  36.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
   45|  36.1k|        }
_ZN8jsoncons19typed_array_visitor12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
   51|  51.2k|        {
   52|  51.2k|            visit_uint64(value, tag, context, ec);
   53|  51.2k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  51.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
   54|  51.2k|        }
_ZN8jsoncons19typed_array_visitor11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
   60|   277k|        {
   61|   277k|            visit_int64(value, tag, context, ec);
   62|   277k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   277k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
   63|   277k|        }
_ZN8jsoncons19typed_array_visitor12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
   69|  1.34M|        {
   70|  1.34M|            visit_double(value, tag, context, ec);
   71|  1.34M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.34M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
   72|  1.34M|        }

_ZN8jsoncons11ser_contextD2Ev:
   21|    143|    virtual ~ser_context() = default;
_ZN8jsoncons10read_errorC2ENSt3__110error_codeEmm:
   63|    128|        : ec_{ec}, line_{line}, column_{column}
   64|    128|    {
   65|    128|    }
_ZNK8jsoncons10read_error4codeEv:
   81|    128|    {
   82|    128|        return ec_;
   83|    128|    }
_ZNK8jsoncons10read_error4lineEv:
   89|    128|    {
   90|    128|        return line_;
   91|    128|    }
_ZNK8jsoncons10read_error6columnEv:
   93|    128|    {
   94|    128|        return column_;
   95|    128|    }

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

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  171|    143|            : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  172|    143|              buffer_size_(default_max_buffer_size)
  173|    143|        {
  174|    143|            buffer_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, buffer_size_);
  175|    143|            data_ = buffer_;
  176|    143|        }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   54|    143|          : std::basic_istream<CharT>(&nb_)
   55|    143|        {
   56|    143|        }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   40|    143|            null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  188|    143|        {
  189|    143|            if (buffer_)
  ------------------
  |  Branch (189:17): [True: 143, False: 0]
  ------------------
  190|    143|            {
  191|    143|                std::allocator_traits<char_allocator_type>::deallocate(alloc_, buffer_, buffer_size_);
  192|    143|            }
  193|    143|        }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|    128|        {
  282|    128|            return position_;
  283|    128|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  343|  54.7M|        {
  344|  54.7M|            std::size_t len = 0;
  345|  54.7M|            if (length_ > 0)
  ------------------
  |  Branch (345:17): [True: 54.7M, False: 1.18k]
  ------------------
  346|  54.7M|            {
  347|  54.7M|                len = (std::min)(length_, length);
  348|  54.7M|                std::memcpy(p, data_, len*sizeof(value_type));
  349|  54.7M|                data_ += len;
  350|  54.7M|                length_ -= len;
  351|  54.7M|                position_ += len;
  352|  54.7M|            }
  353|  54.7M|            if (length - len == 0)
  ------------------
  |  Branch (353:17): [True: 54.7M, False: 1.87k]
  ------------------
  354|  54.7M|            {
  355|  54.7M|                return len;
  356|  54.7M|            }
  357|  1.87k|            else if (length - len < buffer_size_)
  ------------------
  |  Branch (357:22): [True: 1.75k, False: 118]
  ------------------
  358|  1.75k|            {
  359|  1.75k|                fill_buffer();
  360|  1.75k|                if (length_ > 0)
  ------------------
  |  Branch (360:21): [True: 1.70k, False: 45]
  ------------------
  361|  1.70k|                {
  362|  1.70k|                    std::size_t len2 = (std::min)(length_, length-len);
  363|  1.70k|                    std::memcpy(p+len, data_, len2*sizeof(value_type));
  364|  1.70k|                    data_ += len2;
  365|  1.70k|                    length_ -= len2;
  366|  1.70k|                    position_ += len2;
  367|  1.70k|                    len += len2;
  368|  1.70k|                }
  369|  1.75k|                return len;
  370|  1.75k|            }
  371|    118|            else
  372|    118|            {
  373|    118|                if (stream_ptr_->eof())
  ------------------
  |  Branch (373:21): [True: 0, False: 118]
  ------------------
  374|      0|                {
  375|      0|                    length_ = 0;
  376|      0|                    return 0;
  377|      0|                }
  378|    118|                JSONCONS_TRY
  ------------------
  |  |   37|    118|    #define JSONCONS_TRY try
  ------------------
  379|    118|                {
  380|    118|                    std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(p+len), length-len);
  381|    118|                    std::size_t len2 = static_cast<std::size_t>(count);
  382|    118|                    if (len2 < length-len)
  ------------------
  |  Branch (382:25): [True: 3, False: 115]
  ------------------
  383|      3|                    {
  384|      3|                        stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  385|      3|                    }
  386|    118|                    len += len2;
  387|    118|                    position_ += len2;
  388|    118|                    return len;
  389|    118|                }
  390|    118|                JSONCONS_CATCH(const std::exception&)     
  391|    118|                {
  392|      0|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  393|      0|                    return 0;
  394|      0|                }
  395|    118|            }
  396|  54.7M|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEv:
  399|  5.22k|        {
  400|  5.22k|            if (stream_ptr_->eof())
  ------------------
  |  Branch (400:17): [True: 81, False: 5.14k]
  ------------------
  401|     81|            {
  402|     81|                length_ = 0;
  403|     81|                return;
  404|     81|            }
  405|       |
  406|  5.14k|            data_ = buffer_;
  407|  5.14k|            JSONCONS_TRY
  ------------------
  |  |   37|  5.14k|    #define JSONCONS_TRY try
  ------------------
  408|  5.14k|            {
  409|  5.14k|                std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(buffer_), buffer_size_);
  410|  5.14k|                length_ = static_cast<std::size_t>(count);
  411|       |
  412|  5.14k|                if (length_ < buffer_size_)
  ------------------
  |  Branch (412:21): [True: 122, False: 5.02k]
  ------------------
  413|    122|                {
  414|    122|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  415|    122|                }
  416|  5.14k|            }
  417|  5.14k|            JSONCONS_CATCH(const std::exception&)     
  418|  5.14k|            {
  419|      0|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  420|      0|                length_ = 0;
  421|      0|            }
  422|  5.14k|        }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaaasr3std14is_convertibleIhNT_10value_typeEEE5valuesr10ext_traits11has_reserveISB_EE5valuesr10ext_traits14has_data_exactIPhSB_EE5valueEmE4typeERS5_RSB_m:
  859|  6.83M|        {
  860|  6.83M|            std::size_t unread = length;
  861|       |
  862|  6.83M|            std::size_t n = (std::min)(max_buffer_length, unread);
  863|  8.67M|            while (n > 0 && !source.eof())
  ------------------
  |  Branch (863:20): [True: 1.83M, False: 6.83M]
  |  Branch (863:29): [True: 1.83M, False: 16]
  ------------------
  864|  1.83M|            {
  865|  1.83M|                std::size_t offset = v.size();
  866|  1.83M|                v.resize(v.size()+n);
  867|  1.83M|                std::size_t actual = source.read(v.data()+offset, n);
  868|  1.83M|                unread -= actual;
  869|  1.83M|                n = (std::min)(max_buffer_length, unread);
  870|  1.83M|            }
  871|       |
  872|  6.83M|            return length - unread;
  873|  6.83M|        }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  1.84M|        {
  272|  1.84M|            return length_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:20): [True: 366, False: 1.84M]
  |  Branch (272:36): [True: 36, False: 330]
  ------------------
  273|  1.84M|        }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_12basic_stringIcNS2_11char_traitsIcEENS3_IcEEEEEENS2_9enable_ifIXaaaasr3std14is_convertibleIhNT_10value_typeEEE5valuesr10ext_traits11has_reserveISE_EE5valuentsr10ext_traits14has_data_exactIPhSE_EE5valueEmE4typeERS5_RSE_m:
  882|  1.95M|        {
  883|  1.95M|            std::size_t unread = length;
  884|       |
  885|  1.95M|            std::size_t n = (std::min)(max_buffer_length, unread);
  886|  1.96M|            while (n > 0 && !source.eof())
  ------------------
  |  Branch (886:20): [True: 5.82k, False: 1.95M]
  |  Branch (886:29): [True: 5.80k, False: 20]
  ------------------
  887|  5.80k|            {
  888|  5.80k|                v.reserve(v.size()+n);
  889|  5.80k|                std::size_t actual = 0;
  890|  14.6M|                while (actual < n)
  ------------------
  |  Branch (890:24): [True: 14.6M, False: 5.78k]
  ------------------
  891|  14.6M|                {
  892|  14.6M|                    typename Source::value_type c{};
  893|  14.6M|                    if (source.read(&c,1) != 1)
  ------------------
  |  Branch (893:25): [True: 20, False: 14.6M]
  ------------------
  894|     20|                    {
  895|     20|                        break;
  896|     20|                    }
  897|  14.6M|                    v.push_back(c);
  898|  14.6M|                    ++actual;
  899|  14.6M|                }
  900|  5.80k|                unread -= actual;
  901|  5.80k|                n = (std::min)(max_buffer_length, unread);
  902|  5.80k|            }
  903|       |
  904|  1.95M|            return length - unread;
  905|  1.95M|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4peekEv:
  311|   139M|        {
  312|   139M|            if (length_ == 0)
  ------------------
  |  Branch (312:17): [True: 3.46k, False: 139M]
  ------------------
  313|  3.46k|            {
  314|  3.46k|                fill_buffer();
  315|  3.46k|            }
  316|   139M|            if (length_ > 0)
  ------------------
  |  Branch (316:17): [True: 139M, False: 59]
  ------------------
  317|   139M|            {
  318|   139M|                value_type c = *data_;
  319|   139M|                return char_result<value_type>{c, false};
  320|   139M|            }
  321|     59|            else
  322|     59|            {
  323|     59|                return char_result<value_type>{0, true};
  324|     59|            }
  325|   139M|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE6ignoreEm:
  286|  17.0M|        {
  287|  17.0M|            std::size_t len = 0;
  288|  17.0M|            if (length_ > 0)
  ------------------
  |  Branch (288:17): [True: 17.0M, False: 0]
  ------------------
  289|  17.0M|            {
  290|  17.0M|                len = (std::min)(length_, length);
  291|  17.0M|                position_ += len;
  292|  17.0M|                data_ += len;
  293|  17.0M|                length_ -= len;
  294|  17.0M|            }
  295|  17.0M|            while (len < length)
  ------------------
  |  Branch (295:20): [True: 0, False: 17.0M]
  ------------------
  296|      0|            {
  297|      0|                fill_buffer();
  298|      0|                if (length_ == 0)
  ------------------
  |  Branch (298:21): [True: 0, False: 0]
  ------------------
  299|      0|                {
  300|      0|                    break;
  301|      0|                }
  302|      0|                std::size_t len2 = (std::min)(length_, length-len);
  303|      0|                position_ += len2;
  304|      0|                data_ += len2;
  305|      0|                length_ -= len2;
  306|      0|                len += len2;
  307|      0|            }
  308|  17.0M|        }

_ZN8jsoncons16typed_array_castIKhEENS_6detail4spanIT_Lm18446744073709551615EEENS3_IhLm18446744073709551615EEE:
  108|     67|{
  109|     67|    return jsoncons::span<const uint8_t>{reinterpret_cast<const uint8_t*>(bytes.data()), bytes.size()};
  110|     67|}
_ZN8jsoncons20typed_array_iteratorD2Ev:
  215|  24.4k|    virtual ~typed_array_iterator() = default;
_ZN8jsoncons20typed_array_iterator11write_valueIhEENSt3__19enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  234|  3.72k|    {
  235|  3.72k|        visitor.uint64_value(val, tag, context, ec);
  236|  3.72k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIKhNS_8identityEEC2ENS_6detail4spanIS1_Lm18446744073709551615EEENS_12semantic_tagES2_:
  259|     67|        : data_(data), tag_(tag), func_(func)
  260|     67|    {
  261|     67|    }
_ZNK8jsoncons31sequential_typed_array_iteratorIKhNS_8identityEE4doneEv:
  263|  3.85k|    {
  264|  3.85k|        return done_;
  265|  3.85k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIKhNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  269|  3.85k|    {
  270|  3.85k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  3.85k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 67, False: 3.78k]
  |  |  ------------------
  ------------------
  271|     67|        {
  272|     67|            visitor.begin_array(data_.size(), tag_, context, ec);
  273|     67|            first_ = false;
  274|     67|        }
  275|  3.78k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|  3.78k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 3.72k, False: 67]
  |  |  ------------------
  ------------------
  276|  3.72k|        {
  277|  3.72k|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  278|  3.72k|            ++index_;
  279|  3.72k|        }
  280|     67|        else if (!done_)
  ------------------
  |  Branch (280:18): [True: 67, False: 0]
  ------------------
  281|     67|        {
  282|     67|            visitor.end_array(context, ec);
  283|     67|            done_ = true;
  284|     67|        }
  285|  3.85k|    }
_ZN8jsoncons16typed_array_castItEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   54|  17.3k|{
   55|  17.3k|    return jsoncons::span<uint16_t>{reinterpret_cast<uint16_t*>(bytes.data()), bytes.size()/sizeof(uint16_t)};
   56|  17.3k|}
_ZN8jsoncons16mdarray_iteratorItEC2ENS_6detail4spanItLm18446744073709551615EEENS3_IKmLm18446744073709551615EEENS_13mdarray_orderE:
  309|     15|        : data_{data}, dimensions_(extents.size(), mdarray_dimension<ValueType>{})
  310|     15|    {
  311|     15|        std::vector<std::size_t> strides(extents.size(), 0);
  312|     15|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (312:13): [True: 15, False: 0]
  ------------------
  313|     15|        {
  314|     15|            std::size_t stride = 1;
  315|     15|            const size_t num_extents = extents.size();
  316|     90|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (316:32): [True: 75, False: 15]
  ------------------
  317|     75|            {
  318|     75|                strides[i] = stride;
  319|     75|                stride *= extents[i];
  320|     75|            }
  321|     15|        }
  322|      0|        else
  323|      0|        {
  324|      0|            std::size_t stride = 1;
  325|      0|            const size_t num_extents = extents.size();
  326|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (326:32): [True: 0, False: 0]
  ------------------
  327|      0|            {
  328|      0|                strides[num_extents-i-1] = stride;
  329|      0|                stride *= extents[num_extents-i-1];
  330|      0|            }
  331|      0|        }
  332|     90|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (332:33): [True: 75, False: 15]
  ------------------
  333|     75|        {
  334|     75|            dimensions_[i].extent = extents[i];
  335|     75|            dimensions_[i].stride = strides[i];
  336|     75|            dimensions_[i].index = 0;
  337|     75|            dimensions_[i].end = strides[i]*extents[i];
  338|     75|        }
  339|     15|    }
_ZNK8jsoncons16mdarray_iteratorItE4doneEv:
  342|  70.3k|    {
  343|  70.3k|        return done_;
  344|  70.3k|    }
_ZN8jsoncons16mdarray_iteratorItE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  348|  70.3k|    {
  349|  70.3k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   45|  70.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 70.3k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  350|       |
  351|  70.3k|        if (dim_ == 0)
  ------------------
  |  Branch (351:13): [True: 105, False: 70.2k]
  ------------------
  352|    105|        {
  353|    105|            if (first_)
  ------------------
  |  Branch (353:17): [True: 15, False: 90]
  ------------------
  354|     15|            {
  355|     15|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  356|     15|                first_ = false;
  357|     15|                return;
  358|     15|            }
  359|     90|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (359:17): [True: 15, False: 75]
  ------------------
  360|     15|            {
  361|     15|                visitor.end_array(context, ec);
  362|     15|                done_ = true;
  363|     15|                return;
  364|     15|            }
  365|     90|        }
  366|  70.2k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (366:13): [True: 14.0k, False: 56.2k]
  |  Branch (366:44): [True: 11.7k, False: 2.32k]
  ------------------
  367|  11.7k|        {
  368|  11.7k|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  369|  11.7k|            ++dim_;
  370|  11.7k|            return;
  371|  11.7k|        }
  372|  58.5k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (372:13): [True: 46.8k, False: 11.7k]
  ------------------
  373|  46.8k|        {
  374|  46.8k|            this->write_value(data_[dimensions_[dim_].index], semantic_tag::none, visitor, context, ec);
  375|  46.8k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  376|  46.8k|            return;
  377|  46.8k|        }
  378|  11.7k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (378:13): [True: 11.7k, False: 0]
  ------------------
  379|  11.7k|        {
  380|  11.7k|            visitor.end_array(context, ec);
  381|  11.7k|            if (dim_ > 0)
  ------------------
  |  Branch (381:17): [True: 11.7k, False: 0]
  ------------------
  382|  11.7k|            {
  383|  11.7k|                --dim_;
  384|  11.7k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  385|  11.7k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (385:21): [True: 9.36k, False: 2.34k]
  ------------------
  386|  9.36k|                {
  387|  21.0k|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (387:50): [True: 11.6k, False: 9.36k]
  ------------------
  388|  11.6k|                    {
  389|  11.6k|                        dimensions_[i].index = dimensions_[i-1].index;
  390|  11.6k|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  391|  11.6k|                    }
  392|  9.36k|                }
  393|  11.7k|            }
  394|  11.7k|        }
  395|  11.7k|    }
_ZN8jsoncons20typed_array_iterator11write_valueItEENSt3__19enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  234|  46.9k|    {
  235|  46.9k|        visitor.uint64_value(val, tag, context, ec);
  236|  46.9k|    }
_ZN8jsoncons31sequential_typed_array_iteratorItNS_8identityEEC2ENS_6detail4spanItLm18446744073709551615EEENS_12semantic_tagES1_:
  259|  13.2k|        : data_(data), tag_(tag), func_(func)
  260|  13.2k|    {
  261|  13.2k|    }
_ZNK8jsoncons31sequential_typed_array_iteratorItNS_8identityEE4doneEv:
  263|  26.4k|    {
  264|  26.4k|        return done_;
  265|  26.4k|    }
_ZN8jsoncons31sequential_typed_array_iteratorItNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  269|  26.4k|    {
  270|  26.4k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  26.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 13.2k, False: 13.2k]
  |  |  ------------------
  ------------------
  271|  13.2k|        {
  272|  13.2k|            visitor.begin_array(data_.size(), tag_, context, ec);
  273|  13.2k|            first_ = false;
  274|  13.2k|        }
  275|  13.2k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|  13.2k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 32, False: 13.2k]
  |  |  ------------------
  ------------------
  276|     32|        {
  277|     32|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  278|     32|            ++index_;
  279|     32|        }
  280|  13.2k|        else if (!done_)
  ------------------
  |  Branch (280:18): [True: 13.2k, False: 0]
  ------------------
  281|  13.2k|        {
  282|  13.2k|            visitor.end_array(context, ec);
  283|  13.2k|            done_ = true;
  284|  13.2k|        }
  285|  26.4k|    }
_ZN8jsoncons16typed_array_castIjEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   60|    172|{
   61|    172|    return jsoncons::span<uint32_t>{reinterpret_cast<uint32_t*>(bytes.data()), bytes.size()/sizeof(uint32_t)};
   62|    172|}
_ZN8jsoncons20typed_array_iterator11write_valueIjEENSt3__19enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  234|     47|    {
  235|     47|        visitor.uint64_value(val, tag, context, ec);
  236|     47|    }
_ZN8jsoncons31sequential_typed_array_iteratorIjNS_8identityEEC2ENS_6detail4spanIjLm18446744073709551615EEENS_12semantic_tagES1_:
  259|    172|        : data_(data), tag_(tag), func_(func)
  260|    172|    {
  261|    172|    }
_ZNK8jsoncons31sequential_typed_array_iteratorIjNS_8identityEE4doneEv:
  263|    391|    {
  264|    391|        return done_;
  265|    391|    }
_ZN8jsoncons31sequential_typed_array_iteratorIjNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  269|    391|    {
  270|    391|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|    391|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 172, False: 219]
  |  |  ------------------
  ------------------
  271|    172|        {
  272|    172|            visitor.begin_array(data_.size(), tag_, context, ec);
  273|    172|            first_ = false;
  274|    172|        }
  275|    219|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|    219|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 47, False: 172]
  |  |  ------------------
  ------------------
  276|     47|        {
  277|     47|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  278|     47|            ++index_;
  279|     47|        }
  280|    172|        else if (!done_)
  ------------------
  |  Branch (280:18): [True: 172, False: 0]
  ------------------
  281|    172|        {
  282|    172|            visitor.end_array(context, ec);
  283|    172|            done_ = true;
  284|    172|        }
  285|    391|    }
_ZN8jsoncons16typed_array_castImEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   66|    811|{
   67|    811|    return jsoncons::span<uint64_t>{reinterpret_cast<uint64_t*>(bytes.data()), bytes.size()/sizeof(uint64_t)};
   68|    811|}
_ZN8jsoncons20typed_array_iterator11write_valueImEENSt3__19enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  234|    580|    {
  235|    580|        visitor.uint64_value(val, tag, context, ec);
  236|    580|    }
_ZN8jsoncons31sequential_typed_array_iteratorImNS_8identityEEC2ENS_6detail4spanImLm18446744073709551615EEENS_12semantic_tagES1_:
  259|    811|        : data_(data), tag_(tag), func_(func)
  260|    811|    {
  261|    811|    }
_ZNK8jsoncons31sequential_typed_array_iteratorImNS_8identityEE4doneEv:
  263|  2.20k|    {
  264|  2.20k|        return done_;
  265|  2.20k|    }
_ZN8jsoncons31sequential_typed_array_iteratorImNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  269|  2.20k|    {
  270|  2.20k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  2.20k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 811, False: 1.39k]
  |  |  ------------------
  ------------------
  271|    811|        {
  272|    811|            visitor.begin_array(data_.size(), tag_, context, ec);
  273|    811|            first_ = false;
  274|    811|        }
  275|  1.39k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|  1.39k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 580, False: 811]
  |  |  ------------------
  ------------------
  276|    580|        {
  277|    580|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  278|    580|            ++index_;
  279|    580|        }
  280|    811|        else if (!done_)
  ------------------
  |  Branch (280:18): [True: 811, False: 0]
  ------------------
  281|    811|        {
  282|    811|            visitor.end_array(context, ec);
  283|    811|            done_ = true;
  284|    811|        }
  285|  2.20k|    }
_ZN8jsoncons16typed_array_castIaEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   72|  1.08k|{
   73|  1.08k|    return jsoncons::span<int8_t>{reinterpret_cast<int8_t*>(bytes.data()), bytes.size()};
   74|  1.08k|}
_ZN8jsoncons20typed_array_iterator11write_valueIaEENSt3__19enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  226|    161|    {
  227|    161|        visitor.int64_value(val, tag, context, ec);
  228|    161|    }
_ZN8jsoncons31sequential_typed_array_iteratorIaNS_8identityEEC2ENS_6detail4spanIaLm18446744073709551615EEENS_12semantic_tagES1_:
  259|  1.08k|        : data_(data), tag_(tag), func_(func)
  260|  1.08k|    {
  261|  1.08k|    }
_ZNK8jsoncons31sequential_typed_array_iteratorIaNS_8identityEE4doneEv:
  263|  2.33k|    {
  264|  2.33k|        return done_;
  265|  2.33k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIaNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  269|  2.33k|    {
  270|  2.33k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  2.33k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.08k, False: 1.24k]
  |  |  ------------------
  ------------------
  271|  1.08k|        {
  272|  1.08k|            visitor.begin_array(data_.size(), tag_, context, ec);
  273|  1.08k|            first_ = false;
  274|  1.08k|        }
  275|  1.24k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|  1.24k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 161, False: 1.08k]
  |  |  ------------------
  ------------------
  276|    161|        {
  277|    161|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  278|    161|            ++index_;
  279|    161|        }
  280|  1.08k|        else if (!done_)
  ------------------
  |  Branch (280:18): [True: 1.08k, False: 0]
  ------------------
  281|  1.08k|        {
  282|  1.08k|            visitor.end_array(context, ec);
  283|  1.08k|            done_ = true;
  284|  1.08k|        }
  285|  2.33k|    }
_ZN8jsoncons16typed_array_castIsEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   78|  1.05k|{
   79|  1.05k|    return jsoncons::span<int16_t>{reinterpret_cast<int16_t*>(bytes.data()), bytes.size()/sizeof(int16_t)};
   80|  1.05k|}
_ZN8jsoncons20typed_array_iterator11write_valueIsEENSt3__19enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  226|   105k|    {
  227|   105k|        visitor.int64_value(val, tag, context, ec);
  228|   105k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIsNS_8identityEEC2ENS_6detail4spanIsLm18446744073709551615EEENS_12semantic_tagES1_:
  259|  1.05k|        : data_(data), tag_(tag), func_(func)
  260|  1.05k|    {
  261|  1.05k|    }
_ZNK8jsoncons31sequential_typed_array_iteratorIsNS_8identityEE4doneEv:
  263|   107k|    {
  264|   107k|        return done_;
  265|   107k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIsNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  269|   107k|    {
  270|   107k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   107k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.05k, False: 106k]
  |  |  ------------------
  ------------------
  271|  1.05k|        {
  272|  1.05k|            visitor.begin_array(data_.size(), tag_, context, ec);
  273|  1.05k|            first_ = false;
  274|  1.05k|        }
  275|   106k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|   106k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 105k, False: 1.05k]
  |  |  ------------------
  ------------------
  276|   105k|        {
  277|   105k|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  278|   105k|            ++index_;
  279|   105k|        }
  280|  1.05k|        else if (!done_)
  ------------------
  |  Branch (280:18): [True: 1.05k, False: 0]
  ------------------
  281|  1.05k|        {
  282|  1.05k|            visitor.end_array(context, ec);
  283|  1.05k|            done_ = true;
  284|  1.05k|        }
  285|   107k|    }
_ZN8jsoncons16typed_array_castIiEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   84|    364|{
   85|    364|    return jsoncons::span<int32_t>{reinterpret_cast<int32_t*>(bytes.data()), bytes.size()/sizeof(int32_t)};
   86|    364|}
_ZN8jsoncons20typed_array_iterator11write_valueIiEENSt3__19enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  226|  65.5k|    {
  227|  65.5k|        visitor.int64_value(val, tag, context, ec);
  228|  65.5k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIiNS_8identityEEC2ENS_6detail4spanIiLm18446744073709551615EEENS_12semantic_tagES1_:
  259|    364|        : data_(data), tag_(tag), func_(func)
  260|    364|    {
  261|    364|    }
_ZNK8jsoncons31sequential_typed_array_iteratorIiNS_8identityEE4doneEv:
  263|  66.2k|    {
  264|  66.2k|        return done_;
  265|  66.2k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIiNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  269|  66.2k|    {
  270|  66.2k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  66.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 364, False: 65.8k]
  |  |  ------------------
  ------------------
  271|    364|        {
  272|    364|            visitor.begin_array(data_.size(), tag_, context, ec);
  273|    364|            first_ = false;
  274|    364|        }
  275|  65.8k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|  65.8k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 65.5k, False: 364]
  |  |  ------------------
  ------------------
  276|  65.5k|        {
  277|  65.5k|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  278|  65.5k|            ++index_;
  279|  65.5k|        }
  280|    364|        else if (!done_)
  ------------------
  |  Branch (280:18): [True: 364, False: 0]
  ------------------
  281|    364|        {
  282|    364|            visitor.end_array(context, ec);
  283|    364|            done_ = true;
  284|    364|        }
  285|  66.2k|    }
_ZN8jsoncons16typed_array_castIlEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   90|  1.69k|{
   91|  1.69k|    return jsoncons::span<int64_t>{reinterpret_cast<int64_t*>(bytes.data()), bytes.size()/sizeof(int64_t)};
   92|  1.69k|}
_ZN8jsoncons20typed_array_iterator11write_valueIlEENSt3__19enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  226|   106k|    {
  227|   106k|        visitor.int64_value(val, tag, context, ec);
  228|   106k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIlNS_8identityEEC2ENS_6detail4spanIlLm18446744073709551615EEENS_12semantic_tagES1_:
  259|  1.69k|        : data_(data), tag_(tag), func_(func)
  260|  1.69k|    {
  261|  1.69k|    }
_ZNK8jsoncons31sequential_typed_array_iteratorIlNS_8identityEE4doneEv:
  263|   109k|    {
  264|   109k|        return done_;
  265|   109k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIlNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  269|   109k|    {
  270|   109k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   109k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.69k, False: 108k]
  |  |  ------------------
  ------------------
  271|  1.69k|        {
  272|  1.69k|            visitor.begin_array(data_.size(), tag_, context, ec);
  273|  1.69k|            first_ = false;
  274|  1.69k|        }
  275|   108k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|   108k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 106k, False: 1.69k]
  |  |  ------------------
  ------------------
  276|   106k|        {
  277|   106k|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  278|   106k|            ++index_;
  279|   106k|        }
  280|  1.69k|        else if (!done_)
  ------------------
  |  Branch (280:18): [True: 1.69k, False: 0]
  ------------------
  281|  1.69k|        {
  282|  1.69k|            visitor.end_array(context, ec);
  283|  1.69k|            done_ = true;
  284|  1.69k|        }
  285|   109k|    }
_ZN8jsoncons31sequential_typed_array_iteratorItNS_11decode_halfEEC2ENS_6detail4spanItLm18446744073709551615EEENS_12semantic_tagES1_:
  259|  4.12k|        : data_(data), tag_(tag), func_(func)
  260|  4.12k|    {
  261|  4.12k|    }
_ZNK8jsoncons31sequential_typed_array_iteratorItNS_11decode_halfEE4doneEv:
  263|  1.30M|    {
  264|  1.30M|        return done_;
  265|  1.30M|    }
_ZN8jsoncons31sequential_typed_array_iteratorItNS_11decode_halfEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  269|  1.30M|    {
  270|  1.30M|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  1.30M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4.12k, False: 1.30M]
  |  |  ------------------
  ------------------
  271|  4.12k|        {
  272|  4.12k|            visitor.begin_array(data_.size(), tag_, context, ec);
  273|  4.12k|            first_ = false;
  274|  4.12k|        }
  275|  1.30M|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|  1.30M|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 1.29M, False: 4.12k]
  |  |  ------------------
  ------------------
  276|  1.29M|        {
  277|  1.29M|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  278|  1.29M|            ++index_;
  279|  1.29M|        }
  280|  4.12k|        else if (!done_)
  ------------------
  |  Branch (280:18): [True: 4.12k, False: 0]
  ------------------
  281|  4.12k|        {
  282|  4.12k|            visitor.end_array(context, ec);
  283|  4.12k|            done_ = true;
  284|  4.12k|        }
  285|  1.30M|    }
_ZN8jsoncons20typed_array_iterator11write_valueIdEENSt3__19enable_ifIXsr17is_floating_pointIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  242|  1.31M|    {
  243|  1.31M|        visitor.double_value(val, tag, context, ec);
  244|  1.31M|    }
_ZN8jsoncons16typed_array_castIfEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   96|  1.52k|{
   97|  1.52k|    return jsoncons::span<float>{reinterpret_cast<float*>(bytes.data()), bytes.size()/sizeof(float)};
   98|  1.52k|}
_ZN8jsoncons20typed_array_iterator11write_valueIfEENSt3__19enable_ifIXsr17is_floating_pointIT_EE5valueEvE4typeES4_NS_12semantic_tagERNS_19typed_array_visitorERKNS_11ser_contextERNS2_10error_codeE:
  242|  32.6k|    {
  243|  32.6k|        visitor.double_value(val, tag, context, ec);
  244|  32.6k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIfNS_8identityEEC2ENS_6detail4spanIfLm18446744073709551615EEENS_12semantic_tagES1_:
  259|  1.52k|        : data_(data), tag_(tag), func_(func)
  260|  1.52k|    {
  261|  1.52k|    }
_ZNK8jsoncons31sequential_typed_array_iteratorIfNS_8identityEE4doneEv:
  263|  35.6k|    {
  264|  35.6k|        return done_;
  265|  35.6k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIfNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  269|  35.6k|    {
  270|  35.6k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  35.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.52k, False: 34.1k]
  |  |  ------------------
  ------------------
  271|  1.52k|        {
  272|  1.52k|            visitor.begin_array(data_.size(), tag_, context, ec);
  273|  1.52k|            first_ = false;
  274|  1.52k|        }
  275|  34.1k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|  34.1k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 32.6k, False: 1.52k]
  |  |  ------------------
  ------------------
  276|  32.6k|        {
  277|  32.6k|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  278|  32.6k|            ++index_;
  279|  32.6k|        }
  280|  1.52k|        else if (!done_)
  ------------------
  |  Branch (280:18): [True: 1.52k, False: 0]
  ------------------
  281|  1.52k|        {
  282|  1.52k|            visitor.end_array(context, ec);
  283|  1.52k|            done_ = true;
  284|  1.52k|        }
  285|  35.6k|    }
_ZN8jsoncons16typed_array_castIdEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  102|    309|{
  103|    309|    return jsoncons::span<double>{reinterpret_cast<double*>(bytes.data()), bytes.size()/sizeof(double)};
  104|    309|}
_ZN8jsoncons31sequential_typed_array_iteratorIdNS_8identityEEC2ENS_6detail4spanIdLm18446744073709551615EEENS_12semantic_tagES1_:
  259|    309|        : data_(data), tag_(tag), func_(func)
  260|    309|    {
  261|    309|    }
_ZNK8jsoncons31sequential_typed_array_iteratorIdNS_8identityEE4doneEv:
  263|  18.3k|    {
  264|  18.3k|        return done_;
  265|  18.3k|    }
_ZN8jsoncons31sequential_typed_array_iteratorIdNS_8identityEE4nextERNS_19typed_array_visitorERKNS_11ser_contextERNSt3__110error_codeE:
  269|  18.3k|    {
  270|  18.3k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  18.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 309, False: 18.0k]
  |  |  ------------------
  ------------------
  271|    309|        {
  272|    309|            visitor.begin_array(data_.size(), tag_, context, ec);
  273|    309|            first_ = false;
  274|    309|        }
  275|  18.0k|        else if (JSONCONS_LIKELY(index_ < data_.size()))
  ------------------
  |  |   77|  18.0k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 17.7k, False: 309]
  |  |  ------------------
  ------------------
  276|  17.7k|        {
  277|  17.7k|            this->write_value(func_(data_[index_]), semantic_tag::none, visitor, context, ec);
  278|  17.7k|            ++index_;
  279|  17.7k|        }
  280|    309|        else if (!done_)
  ------------------
  |  Branch (280:18): [True: 309, False: 0]
  ------------------
  281|    309|        {
  282|    309|            visitor.end_array(context, ec);
  283|    309|            done_ = true;
  284|    309|        }
  285|  18.3k|    }

_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE13from_bytes_beEiPKhm:
  792|    477|    {
  793|    477|        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|    477|        double bits = radix_log2 * n;
  796|    477|        double big_digits = std::ceil(bits / 64.0);
  797|       |        //std::cout << "ESTIMATED: " << big_digits << "\n";
  798|       |
  799|    477|        basic_bigint<Allocator> v = 0;
  800|    477|        v.reserve(static_cast<size_type>(big_digits));
  801|       |
  802|    477|        if (n > 0)
  ------------------
  |  Branch (802:13): [True: 466, False: 11]
  ------------------
  803|    466|        {
  804|   780k|            for (size_type i = 0; i < n; i++)
  ------------------
  |  Branch (804:35): [True: 780k, False: 466]
  ------------------
  805|   780k|            {
  806|   780k|                v = (v * 256) + (word_type)(str[i]);
  807|   780k|            }
  808|    466|        }
  809|       |        //std::cout << "ACTUAL: " << v.size() << "\n";
  810|       |
  811|    477|        if (signum < 0)
  ------------------
  |  Branch (811:13): [True: 0, False: 477]
  ------------------
  812|      0|        {
  813|      0|            v.set_negative(true);
  814|      0|        }
  815|       |
  816|    477|        return v;
  817|    477|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE17next_power_of_twoEm:
 1849|      1|    static word_type next_power_of_two(word_type n) {
 1850|      1|        n = n - 1;
 1851|      1|        n |= n >> 1u;
 1852|      1|        n |= n >> 2u;
 1853|      1|        n |= n >> 4u;
 1854|      1|        n |= n >> 8u;
 1855|      1|        n |= n >> 16u;
 1856|      1|        n |= n >> 32u;
 1857|      1|        return n + 1;
 1858|      1|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE7reserveEm:
  825|    477|    {
  826|    477|        storage_.reserve(n);
  827|    477|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  437|  2.54M|    {
  438|  2.54M|       if (capacity() < n)
  ------------------
  |  Branch (438:12): [True: 2.18k, False: 2.54M]
  ------------------
  439|  2.18k|       {
  440|  2.18k|           if (!is_allocated())
  ------------------
  |  Branch (440:16): [True: 2.18k, False: 0]
  ------------------
  441|  2.18k|           {
  442|  2.18k|               size_type size = inlined_.size_;
  443|  2.18k|               size_type is_neg = inlined_.is_negative_;
  444|  2.18k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  445|       |
  446|  2.18k|               ::new (&allocated_) allocated_storage();
  447|  2.18k|               allocated_.reserve(n, get_allocator());
  448|  2.18k|               allocated_.size_ = size;
  449|  2.18k|               allocated_.is_negative_ = is_neg;
  450|  2.18k|               if (n >= 1)
  ------------------
  |  Branch (450:20): [True: 2.18k, False: 0]
  ------------------
  451|  2.18k|               {
  452|  2.18k|                   allocated_.data_[0] = values[0];
  453|  2.18k|               }
  454|  2.18k|               if (n >= 2)
  ------------------
  |  Branch (454:20): [True: 2.18k, False: 0]
  ------------------
  455|  2.18k|               {
  456|  2.18k|                   allocated_.data_[1] = values[1];
  457|  2.18k|               }
  458|  2.18k|           }
  459|      0|           else
  460|      0|           {
  461|      0|               allocated_.reserve(n, get_allocator());
  462|      0|           }
  463|  2.18k|       }
  464|  2.54M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  490|  2.54M|    {
  491|  2.54M|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (491:16): [True: 2.52M, False: 14.5k]
  ------------------
  492|  2.54M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  485|  10.5M|    {
  486|  10.5M|        return common_.is_allocated_;
  487|  10.5M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  201|  2.18k|            : is_allocated_(true),
  202|  2.18k|            is_negative_(false)
  203|  2.18k|        {
  204|  2.18k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  253|  2.18k|        {
  254|  2.18k|            size_type capacity_new = round_up(n);
  255|       |
  256|  2.18k|            real_allocator_type alloc(a);
  257|  2.18k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  258|  2.18k|            if (size_ > 0)
  ------------------
  |  Branch (258:17): [True: 0, False: 2.18k]
  ------------------
  259|      0|            {
  260|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  261|      0|            }
  262|  2.18k|            if (data_ != nullptr)
  ------------------
  |  Branch (262:17): [True: 0, False: 2.18k]
  ------------------
  263|      0|            {
  264|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  265|      0|            }
  266|  2.18k|            capacity_ = capacity_new;
  267|  2.18k|            data_ = data_new;
  268|  2.18k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  272|  2.53M|        {
  273|  2.53M|            return ((i + 1/3) / mem_unit + 1) * mem_unit;
  274|  2.53M|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  467|  7.60M|    {
  468|  7.60M|        return static_cast<const word_allocator_type&>(*this);
  469|  7.60M|    }
_ZN8jsonconsplENS_12basic_bigintINSt3__19allocatorImEEEEl:
 1450|   780k|    {
 1451|   780k|        return x += y;
 1452|   780k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IlEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  678|   780k|        : storage_(n, alloc)
  679|   780k|    {
  680|   780k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IlEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  345|   780k|        : word_allocator_type(alloc)
  346|   780k|    {
  347|   780k|        ::new (&inlined_) inlined_storage(n);
  348|   780k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IlEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  124|   780k|            : is_allocated_(false),
  125|   780k|            is_negative_(n < 0),
  126|   780k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (126:19): [True: 240k, False: 540k]
  ------------------
  127|   780k|        {
  128|   780k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (128:26): [True: 0, False: 780k]
  ------------------
  129|   780k|            values_[1] = 0;
  130|   780k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLERKS4_:
  850|   780k|    {
  851|   780k|        auto y_view = y.get_storage_view();
  852|       |        
  853|   780k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (853:14): [True: 0, False: 780k]
  ------------------
  854|      0|            return *this -= -y;
  855|   780k|        word_type d;
  856|   780k|        word_type carry = 0;
  857|       |
  858|   780k|        auto this_view = get_storage_view();
  859|   780k|        resize( (std::max)(y_view.size(), this_view.size()) + 1 );
  860|   780k|        this_view = get_storage_view();
  861|       |
  862|  1.41M|        for (size_type i = 0; i < this_view.size(); i++ )
  ------------------
  |  Branch (862:31): [True: 1.41M, False: 9]
  ------------------
  863|  1.41M|        {
  864|  1.41M|            if ( i >= y_view.size() && carry == 0 )
  ------------------
  |  Branch (864:18): [True: 780k, False: 637k]
  |  Branch (864:40): [True: 780k, False: 9]
  ------------------
  865|   780k|                break;
  866|   637k|            d = this_view[i] + carry;
  867|   637k|            carry = d < carry;
  868|   637k|            if ( i < y_view.size())
  ------------------
  |  Branch (868:18): [True: 637k, False: 9]
  ------------------
  869|   637k|            {
  870|   637k|                this_view[i] = d + y_view[i];
  871|   637k|                if (this_view[i] < d)
  ------------------
  |  Branch (871:21): [True: 9, False: 637k]
  ------------------
  872|      9|                    carry = 1;
  873|   637k|            }
  874|      9|            else
  875|      9|            {
  876|      9|                this_view[i] = d;
  877|      9|            }
  878|   637k|        }
  879|   780k|        reduce();
  880|   780k|        return *this;
  881|   780k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  708|  1.07M|    {
  709|  1.07M|        return storage_.get_storage_view();
  710|  1.07M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  512|  1.95M|    {
  513|  1.95M|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (513:16): [True: 1.07M, False: 885k]
  ------------------
  514|  1.07M|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  515|  1.95M|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  516|  1.95M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   63|  1.95M|            : data_(data), size_(size)
   64|  1.95M|        {
   65|  1.95M|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  713|  2.15M|    {
  714|  2.15M|        return storage_.is_negative();
  715|  2.15M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  495|  2.15M|    {
  496|  2.15M|        return common_.is_negative_;
  497|  2.15M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  837|    325|    {
  838|    325|        basic_bigint<Allocator> v(*this);
  839|    325|        v.set_negative(!v.is_negative());
  840|    325|        return v;
  841|    325|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  884|    325|    {
  885|    325|        auto y_view = y.get_storage_view();
  886|       |
  887|    325|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (887:14): [True: 325, False: 0]
  ------------------
  888|    325|            return *this += -y;
  889|      0|        if ( (!is_negative() && y > *this) || (is_negative() && y < *this) )
  ------------------
  |  Branch (889:15): [True: 0, False: 0]
  |  Branch (889:33): [True: 0, False: 0]
  |  Branch (889:48): [True: 0, False: 0]
  |  Branch (889:65): [True: 0, False: 0]
  ------------------
  890|      0|            return *this = -(y - *this);
  891|      0|        word_type borrow = 0;
  892|      0|        word_type d;
  893|      0|        auto this_view = get_storage_view();
  894|      0|        for (size_type i = 0; i < this_view.size(); i++ )
  ------------------
  |  Branch (894:31): [True: 0, False: 0]
  ------------------
  895|      0|        {
  896|      0|            if ( i >= y_view.size() && borrow == 0 )
  ------------------
  |  Branch (896:18): [True: 0, False: 0]
  |  Branch (896:40): [True: 0, False: 0]
  ------------------
  897|      0|                break;
  898|      0|            d = this_view[i] - borrow;
  899|      0|            borrow = d > this_view[i];
  900|      0|            if ( i < y_view.size())
  ------------------
  |  Branch (900:18): [True: 0, False: 0]
  ------------------
  901|      0|            {
  902|      0|                this_view[i] = d - y_view[i];
  903|      0|                if ( this_view[i] > d )
  ------------------
  |  Branch (903:22): [True: 0, False: 0]
  ------------------
  904|      0|                    borrow = 1;
  905|      0|            }
  906|      0|            else 
  907|      0|            {
  908|      0|                this_view[i] = d;
  909|      0|            }
  910|      0|        }
  911|      0|        reduce();
  912|      0|        return *this;
  913|      0|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1570|  99.2k|    {
 1571|  99.2k|        auto this_view = get_storage_view();
 1572|  99.2k|        auto y_view = y.get_storage_view();
 1573|       |
 1574|  99.2k|        if ( this_view.size() == 0 && y_view.size() == 0 )
  ------------------
  |  Branch (1574:14): [True: 0, False: 99.2k]
  |  Branch (1574:39): [True: 0, False: 0]
  ------------------
 1575|      0|            return 0;
 1576|  99.2k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1576:14): [True: 0, False: 99.2k]
  ------------------
 1577|      0|            return y.is_negative() - is_negative();
 1578|  99.2k|        int code = 0;
 1579|  99.2k|        if ( this_view.size() < y_view.size())
  ------------------
  |  Branch (1579:14): [True: 0, False: 99.2k]
  ------------------
 1580|      0|            code = -1;
 1581|  99.2k|        else if ( this_view.size() > y_view.size())
  ------------------
  |  Branch (1581:19): [True: 98.6k, False: 614]
  ------------------
 1582|  98.6k|            code = +1;
 1583|    614|        else
 1584|    614|        {
 1585|    614|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1585:50): [True: 614, False: 0]
  ------------------
 1586|    614|            {
 1587|    614|                if (this_view[i] > y_view[i])
  ------------------
  |  Branch (1587:21): [True: 144, False: 470]
  ------------------
 1588|    144|                {
 1589|    144|                    code = 1;
 1590|    144|                    break;
 1591|    144|                }
 1592|    470|                else if (this_view[i] < y_view[i])
  ------------------
  |  Branch (1592:26): [True: 470, False: 0]
  ------------------
 1593|    470|                {
 1594|    470|                    code = -1;
 1595|    470|                    break;
 1596|    470|                }
 1597|    614|            }
 1598|    614|        }
 1599|  99.2k|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1599:16): [True: 0, False: 99.2k]
  ------------------
 1600|  99.2k|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1405|  99.2k|    {
 1406|  99.2k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1406:15): [True: 470, False: 98.7k]
  ------------------
 1407|  99.2k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  703|  4.40M|    {
  704|  4.40M|        return storage_.get_storage_view();
  705|  4.40M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  505|  7.24M|    {
  506|  7.24M|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (506:16): [True: 6.62M, False: 621k]
  ------------------
  507|  6.62M|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  508|  7.24M|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  509|  7.24M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   63|  7.24M|            : data_(data), size_(size)
   64|  7.24M|        {
   65|  7.24M|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  820|  1.66M|    {
  821|  1.66M|        storage_.resize(new_length);
  822|  1.66M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  519|  2.54M|    {
  520|  2.54M|        size_type old_length = common_.size_;
  521|  2.54M|        reserve(new_length);
  522|  2.54M|        common_.size_ = new_length;
  523|       |
  524|  2.54M|        if (old_length < new_length)
  ------------------
  |  Branch (524:13): [True: 1.76M, False: 782k]
  ------------------
  525|  1.76M|        {
  526|  1.76M|            if (is_allocated())
  ------------------
  |  Branch (526:17): [True: 1.75M, False: 6.72k]
  ------------------
  527|  1.75M|            {
  528|  1.75M|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  529|  1.75M|            }
  530|  6.72k|            else
  531|  6.72k|            {
  532|  6.72k|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   45|  6.72k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 6.72k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  533|  15.0k|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (533:48): [True: 8.35k, False: 6.72k]
  ------------------
  534|  8.35k|                {
  535|  8.35k|                    inlined_.values_[i] = 0;
  536|  8.35k|                }
  537|  6.72k|            }
  538|  1.76M|        }
  539|  2.54M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   83|  5.97M|        {
   84|  5.97M|            return size_;
   85|  5.97M|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   83|  6.72M|        {
   84|  6.72M|            return size_;
   85|  6.72M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   68|  5.35G|        {
   69|  5.35G|            return data_[i];
   70|  5.35G|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   68|   639k|        {
   69|   639k|            return data_[i];
   70|   639k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 1845|  1.95M|    {
 1846|  1.95M|        storage_.reduce();
 1847|  1.95M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  414|  1.95M|    {
  415|  1.95M|        if (common_.size_ > 0)
  ------------------
  |  Branch (415:13): [True: 1.95M, False: 0]
  ------------------
  416|  1.95M|        {
  417|  1.95M|            auto this_view = get_storage_view();
  418|  1.95M|            word_type* p = this_view.end() - 1;
  419|  1.95M|            word_type* first = this_view.begin();
  420|   196M|            while ( p >= first )
  ------------------
  |  Branch (420:21): [True: 196M, False: 538]
  ------------------
  421|   196M|            {
  422|   196M|                if ( *p )
  ------------------
  |  Branch (422:22): [True: 1.95M, False: 194M]
  ------------------
  423|  1.95M|                {
  424|  1.95M|                    break;
  425|  1.95M|                }
  426|   194M|                --common_.size_;
  427|   194M|                --p;
  428|   194M|            }
  429|  1.95M|        }
  430|  1.95M|        if (common_.size_ == 0)
  ------------------
  |  Branch (430:13): [True: 538, False: 1.95M]
  ------------------
  431|    538|        {
  432|    538|            common_.is_negative_ = false;
  433|    538|        }
  434|  1.95M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
   92|  1.95M|        {
   93|  1.95M|            return data_ + size_;
   94|  1.95M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
   87|  1.95M|        {
   88|  1.95M|            return data_;
   89|  1.95M|        }
_ZN8jsonconsmlENS_12basic_bigintINSt3__19allocatorImEEEEl:
 1475|   780k|    {
 1476|   780k|        return x *= y;
 1477|   780k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLIlEENS1_9enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueERS4_E4typeES7_:
  918|   780k|    {
  919|   780k|        *this *= word_type(y < 0 ? -y : y);
  ------------------
  |  Branch (919:28): [True: 0, False: 780k]
  ------------------
  920|   780k|        if ( y < 0 )
  ------------------
  |  Branch (920:14): [True: 0, False: 780k]
  ------------------
  921|      0|            set_negative(!is_negative());
  922|   780k|        return *this;
  923|   780k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLImEENS1_9enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueERS4_E4typeES7_:
  928|   780k|    {
  929|   780k|        auto this_view = get_storage_view();
  930|   780k|        size_type len0 = this_view.size();
  931|   780k|        word_type dig = this_view[0];
  932|   780k|        word_type carry = 0;
  933|       |
  934|   780k|        resize(this_view.size() + 1);
  935|   780k|        this_view = get_storage_view();
  936|       |
  937|   780k|        size_type i = 0;
  938|  1.52G|        for (; i < len0; i++ )
  ------------------
  |  Branch (938:16): [True: 1.52G, False: 780k]
  ------------------
  939|  1.52G|        {
  940|  1.52G|            word_type hi;
  941|  1.52G|            word_type lo;
  942|  1.52G|            DDproduct( dig, y, hi, lo );
  943|  1.52G|            this_view[i] = lo + carry;
  944|  1.52G|            dig = this_view[i+1];
  945|  1.52G|            carry = hi + (this_view[i] < lo);
  946|  1.52G|        }
  947|   780k|        this_view[i] = carry;
  948|   780k|        reduce();
  949|   780k|        return *this;
  950|   780k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1709|  1.71G|    {
 1710|  1.71G|        word_type hiA = A >> word_type_half_bits, loA = A & r_mask,
 1711|  1.71G|                   hiB = B >> word_type_half_bits, loB = B & r_mask;
 1712|       |
 1713|  1.71G|        lo = loA * loB;
 1714|  1.71G|        hi = hiA * hiB;
 1715|  1.71G|        word_type mid1 = loA * hiB;
 1716|  1.71G|        word_type mid2 = hiA * loB;
 1717|  1.71G|        word_type old = lo;
 1718|  1.71G|        lo += mid1 << word_type_half_bits;
 1719|  1.71G|            hi += (lo < old) + (mid1 >> word_type_half_bits);
 1720|  1.71G|        old = lo;
 1721|  1.71G|        lo += mid2 << word_type_half_bits;
 1722|  1.71G|            hi += (lo < old) + (mid2 >> word_type_half_bits);
 1723|  1.71G|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  656|  2.34M|        : storage_(other.storage_)
  657|  2.34M|    {
  658|  2.34M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  291|  2.34M|        : word_allocator_type(other.get_allocator())
  292|  2.34M|    {
  293|  2.34M|        if (!other.is_allocated())
  ------------------
  |  Branch (293:13): [True: 10.7k, False: 2.33M]
  ------------------
  294|  10.7k|        {
  295|  10.7k|            ::new (&inlined_) inlined_storage(other.inlined_);
  296|  10.7k|        }
  297|  2.33M|        else
  298|  2.33M|        {
  299|  2.33M|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  300|  2.33M|        }
  301|  2.34M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  177|   209k|            : is_allocated_(false),
  178|   209k|            is_negative_(stor.is_negative_),
  179|   209k|            size_(stor.size_)
  180|   209k|        {
  181|   209k|            values_[0] = stor.values_[0];
  182|   209k|            values_[1] = stor.values_[1];
  183|   209k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  207|  2.52M|            : is_allocated_(true),
  208|  2.52M|              is_negative_(stor.is_negative_),
  209|  2.52M|              size_(stor.size_),
  210|  2.52M|              capacity_(round_up(stor.size_))
  211|  2.52M|        {
  212|  2.52M|            real_allocator_type alloc(a);
  213|       |
  214|  2.52M|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  215|  2.52M|            JSONCONS_TRY
  ------------------
  |  |   37|  2.52M|    #define JSONCONS_TRY try
  ------------------
  216|  2.52M|            {
  217|  2.52M|                std::allocator_traits<real_allocator_type>::construct(alloc, ext_traits::to_plain_pointer(data_));
  218|  2.52M|            }
  219|  2.52M|            JSONCONS_CATCH(...)
  220|  2.52M|            {
  221|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  222|      0|                data_ = nullptr;
  223|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  224|      0|            }
  225|  2.52M|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   45|  2.52M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.52M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  226|  2.52M|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  227|  2.52M|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  718|   397k|    {
  719|   397k|        storage_.set_negative(value);
  720|   397k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  500|   397k|    {
  501|   397k|        common_.is_negative_ = value;
  502|   397k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE12write_stringIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1288|    477|    {
 1289|    477|        basic_bigint<Allocator> v(*this);
 1290|    477|        auto v_view = v.get_storage_view();
 1291|       |
 1292|    477|        size_type len = (v_view.size() * word_type_bits / 3) + 2;
 1293|    477|        data.reserve(len);
 1294|       |
 1295|    477|        if ( v_view.size() == 0 )
  ------------------
  |  Branch (1295:14): [True: 7, False: 470]
  ------------------
 1296|      7|        {
 1297|      7|            data.push_back('0');
 1298|      7|        }
 1299|    470|        else
 1300|    470|        {
 1301|    470|            word_type r;
 1302|    470|            basic_bigint<Allocator> R(get_allocator());
 1303|    470|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1304|       |
 1305|    470|            do
 1306|  99.2k|            {
 1307|  99.2k|                v.divide( LP10, v, R, true );
 1308|  99.2k|                v_view = v.get_storage_view();
 1309|       |
 1310|  99.2k|                auto R_view = R.get_storage_view();
 1311|  99.2k|                r = (R_view.size() ? R_view[0] : 0);
  ------------------
  |  Branch (1311:22): [True: 99.2k, False: 0]
  ------------------
 1312|  1.97M|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1312:38): [True: 1.87M, False: 98.7k]
  ------------------
 1313|  1.87M|                {
 1314|  1.87M|                    data.push_back(char(r % 10u + '0'));
 1315|  1.87M|                    r /= 10u;
 1316|  1.87M|                    if ( r + v_view.size() == 0 )
  ------------------
  |  Branch (1316:26): [True: 470, False: 1.87M]
  ------------------
 1317|    470|                        break;
 1318|  1.87M|                }
 1319|  99.2k|            } 
 1320|  99.2k|            while ( v_view.size() > 0);
  ------------------
  |  Branch (1320:21): [True: 98.7k, False: 470]
  ------------------
 1321|       |
 1322|    470|            if (is_negative())
  ------------------
  |  Branch (1322:17): [True: 325, False: 145]
  ------------------
 1323|    325|            {
 1324|    325|                data.push_back('-');
 1325|    325|            }
 1326|    470|            std::reverse(data.begin(),data.end());
 1327|    470|        }
 1328|    477|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  698|   396k|    {
  699|   396k|        return storage_.get_allocator();
  700|   396k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  629|    470|        : storage_(alloc)
  630|    470|    {
  631|    470|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  285|    470|        : word_allocator_type(alloc)
  286|    470|    {
  287|    470|        ::new (&inlined_) inlined_storage();
  288|    470|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  112|    470|            : is_allocated_(false),
  113|    470|            is_negative_(false),
  114|    470|            size_(0),
  115|    470|            values_{0, 0}
  116|    470|        {
  117|    470|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ImEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  678|  1.22k|        : storage_(n, alloc)
  679|  1.22k|    {
  680|  1.22k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ImEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  345|  1.22k|        : word_allocator_type(alloc)
  346|  1.22k|    {
  347|  1.22k|        ::new (&inlined_) inlined_storage(n);
  348|  1.22k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ImEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  137|  1.22k|            : is_allocated_(false),
  138|  1.22k|            is_negative_(false),
  139|  1.22k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (139:19): [True: 470, False: 758]
  ------------------
  140|  1.22k|        {
  141|  1.22k|            values_[0] = n;
  142|  1.22k|            values_[1] = 0;
  143|  1.22k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1603|  99.2k|    {
 1604|  99.2k|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1605|  99.2k|        auto denom_view = denom.get_storage_view();
 1606|       |
 1607|  99.2k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1607:13): [True: 0, False: 99.2k]
  ------------------
 1608|      0|        {
 1609|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1610|      0|        }
 1611|  99.2k|        bool quot_neg = is_negative() ^ denom.is_negative();
 1612|  99.2k|        bool rem_neg = is_negative();
 1613|  99.2k|        basic_bigint<Allocator> num(*this, get_allocator());
 1614|  99.2k|        num.set_negative(false);
 1615|  99.2k|        denom.set_negative(false);
 1616|  99.2k|        if ( num < denom )
  ------------------
  |  Branch (1616:14): [True: 470, False: 98.7k]
  ------------------
 1617|    470|        {
 1618|    470|            quot = word_type(0);
 1619|    470|            quot.set_negative(quot_neg);
 1620|    470|            rem = num;
 1621|    470|            rem.set_negative(rem_neg);
 1622|    470|            return;
 1623|    470|        }
 1624|       |
 1625|  98.7k|        auto num_view = num.get_storage_view();
 1626|  98.7k|        auto quot_view = quot.get_storage_view();
 1627|  98.7k|        auto this_view = get_storage_view();
 1628|       |
 1629|  98.7k|        if ( denom_view.size() == 1 && num_view.size() == 1 )
  ------------------
  |  Branch (1629:14): [True: 98.7k, False: 0]
  |  Branch (1629:40): [True: 144, False: 98.6k]
  ------------------
 1630|    144|        {
 1631|    144|            quot = word_type( num_view[0]/denom_view[0] );
 1632|    144|            rem = word_type( num_view[0]%denom_view[0] );
 1633|    144|            quot.set_negative(quot_neg);
 1634|    144|            rem.set_negative(rem_neg);
 1635|    144|            return;
 1636|    144|        }
 1637|  98.6k|        if (denom_view.size() == 1 && (denom_view[0] & l_mask) == 0 )
  ------------------
  |  Branch (1637:13): [True: 98.6k, False: 0]
  |  Branch (1637:39): [True: 0, False: 98.6k]
  ------------------
 1638|      0|        {
 1639|       |            // Denominator fits into a half word
 1640|      0|            word_type divisor = denom_view[0], dHi = 0, q1, r, q2, dividend;
 1641|      0|            quot.resize(this_view.size());
 1642|      0|            quot_view = quot.get_storage_view();
 1643|      0|            for (size_type i=this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1643:48): [True: 0, False: 0]
  ------------------
 1644|      0|            {
 1645|      0|                dividend = (dHi << word_type_half_bits) | (this_view[i] >> word_type_half_bits);
 1646|      0|                q1 = dividend/divisor;
 1647|      0|                r = dividend % divisor;
 1648|      0|                dividend = (r << word_type_half_bits) | (this_view[i] & r_mask);
 1649|      0|                q2 = dividend/divisor;
 1650|      0|                dHi = dividend % divisor;
 1651|      0|                quot_view[i] = (q1 << word_type_half_bits) | q2;
 1652|      0|            }
 1653|      0|            quot.reduce();
 1654|      0|            rem = dHi;
 1655|      0|            quot.set_negative(quot_neg);
 1656|      0|            rem.set_negative(rem_neg);
 1657|      0|            return;
 1658|      0|        }
 1659|  98.6k|        basic_bigint<Allocator> num0(num, get_allocator());
 1660|  98.6k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1661|  98.6k|        int x = 0;
 1662|  98.6k|        bool second_done = normalize(denom, num, x);
 1663|  98.6k|        denom_view = denom.get_storage_view();
 1664|  98.6k|        num_view = num.get_storage_view();
 1665|       |
 1666|  98.6k|        size_type l = denom_view.size() - 1;
 1667|  98.6k|        size_type n = num_view.size() - 1;
 1668|  98.6k|        quot.resize(n - l);
 1669|  98.6k|        quot_view = quot.get_storage_view();
 1670|   193M|        for (size_type i = quot_view.size(); i-- > 0; )
  ------------------
  |  Branch (1670:46): [True: 193M, False: 98.6k]
  ------------------
 1671|   193M|        {
 1672|   193M|            quot_view[i] = 0;
 1673|   193M|        }
 1674|  98.6k|        rem = num;
 1675|  98.6k|        auto rem_view = rem.get_storage_view();
 1676|  98.6k|        if ( rem_view[n] >= denom_view[l] )
  ------------------
  |  Branch (1676:14): [True: 1.40k, False: 97.2k]
  ------------------
 1677|  1.40k|        {
 1678|  1.40k|            rem.resize(rem_view.size() + 1);
 1679|  1.40k|            rem_view = rem.get_storage_view();
 1680|  1.40k|            n++;
 1681|  1.40k|            quot.resize(quot_view.size() + 1);
 1682|  1.40k|            quot_view = quot.get_storage_view();
 1683|  1.40k|        }
 1684|  98.6k|        word_type d = denom_view[l];
 1685|       |
 1686|   193M|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1686:32): [True: 193M, False: 98.6k]
  ------------------
 1687|   193M|        {
 1688|   193M|            word_type q = DDquotient(rem_view[k], rem_view[k-1], d);
 1689|   193M|            subtractmul( rem_view.data() + (k - l - 1), denom_view.data(), l + 1, q );
 1690|   193M|            quot_view[k - l - 1] = q;
 1691|   193M|        }
 1692|  98.6k|        quot.reduce();
 1693|  98.6k|        quot.set_negative(quot_neg);
 1694|  98.6k|        if (remDesired)
  ------------------
  |  Branch (1694:13): [True: 98.6k, False: 0]
  ------------------
 1695|  98.6k|        {
 1696|  98.6k|            unnormalize(rem, x, second_done);
 1697|  98.6k|            rem.set_negative(rem_neg);
 1698|  98.6k|        }
 1699|  98.6k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  661|   395k|        : storage_(other.storage_, alloc)
  662|   395k|    {
  663|   395k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  304|   395k|        : word_allocator_type(alloc)
  305|   395k|    {
  306|   395k|        if (!other.is_allocated())
  ------------------
  |  Branch (306:13): [True: 198k, False: 196k]
  ------------------
  307|   198k|        {
  308|   198k|            ::new (&inlined_) inlined_storage(other.inlined_);
  309|   198k|        }
  310|   196k|        else
  311|   196k|        {
  312|   196k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  313|   196k|        }
  314|   395k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 1800|  98.6k|    {
 1801|  98.6k|        auto denom_view = denom.get_storage_view();
 1802|  98.6k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1802:13): [True: 0, False: 98.6k]
  ------------------
 1803|      0|        {
 1804|      0|            return false;
 1805|      0|        }
 1806|  98.6k|        size_type r = denom_view.size() - 1;
 1807|  98.6k|        word_type y = denom_view[r];
 1808|       |
 1809|  98.6k|        x = 0;
 1810|  98.6k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (1810:17): [True: 0, False: 98.6k]
  ------------------
 1811|      0|        {
 1812|      0|            y <<= 1;
 1813|      0|            x++;
 1814|      0|        }
 1815|  98.6k|        denom <<= x;
 1816|  98.6k|        num <<= x;
 1817|       |
 1818|  98.6k|        denom_view = denom.get_storage_view();
 1819|  98.6k|        if ( r > 0 && denom_view[r] < denom_view[r-1] )
  ------------------
  |  Branch (1819:14): [True: 0, False: 98.6k]
  |  Branch (1819:23): [True: 0, False: 0]
  ------------------
 1820|      0|        {
 1821|      0|            denom *= max_word;
 1822|      0|            num *= max_word;
 1823|      0|            return true;
 1824|      0|        }
 1825|  98.6k|        return false;
 1826|  98.6k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1046|   197k|    {
 1047|   197k|        auto this_view = get_storage_view();
 1048|   197k|        size_type q = k / word_type_bits;
 1049|   197k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1049:14): [True: 0, False: 197k]
  ------------------
 1050|      0|        {
 1051|      0|            resize(this_view.size() + q);
 1052|      0|            this_view = get_storage_view();
 1053|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1053:50): [True: 0, False: 0]
  ------------------
 1054|      0|                this_view[i] = ( i < q ? 0 : this_view[i - q]);
  ------------------
  |  Branch (1054:34): [True: 0, False: 0]
  ------------------
 1055|      0|            k %= word_type_bits;
 1056|      0|        }
 1057|   197k|        if ( k )  // 0 < k < word_type_bits:
  ------------------
  |  Branch (1057:14): [True: 0, False: 197k]
  ------------------
 1058|      0|        {
 1059|      0|            size_type k1 = word_type_bits - k;
 1060|      0|            word_type mask = (word_type(1) << k) - word_type(1);
 1061|      0|            resize( this_view.size() + 1 );
 1062|      0|            this_view = get_storage_view();
 1063|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1063:50): [True: 0, False: 0]
  ------------------
 1064|      0|            {
 1065|      0|                this_view[i] <<= k;
 1066|      0|                if ( i > 0 )
  ------------------
  |  Branch (1066:22): [True: 0, False: 0]
  ------------------
 1067|      0|                    this_view[i] |= (this_view[i-1] >> k1) & mask;
 1068|      0|            }
 1069|      0|        }
 1070|   197k|        reduce();
 1071|   197k|        return *this;
 1072|   197k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1727|   193M|    {
 1728|   193M|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1729|   193M|                   dHi = d >> word_type_half_bits, dLo = d & r_mask;
 1730|   193M|        qHi = A/(dHi + 1);
 1731|       |        // This initial guess of qHi may be too small.
 1732|   193M|        middle = qHi * dLo;
 1733|   193M|        left = qHi * dHi;
 1734|   193M|        x = B - (middle << word_type_half_bits);
 1735|   193M|        A -= (middle >> word_type_half_bits) + left + (x > B);
 1736|   193M|        B = x;
 1737|   193M|        dLo1 = dLo << word_type_half_bits;
 1738|       |        // Increase qHi if necessary:
 1739|   275M|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1739:17): [True: 82.1M, False: 193M]
  |  Branch (1739:29): [True: 0, False: 193M]
  |  Branch (1739:41): [True: 0, False: 0]
  ------------------
 1740|  82.1M|        {
 1741|  82.1M|            x = B - dLo1;
 1742|  82.1M|            A -= dHi + (x > B);
 1743|  82.1M|            B = x;
 1744|  82.1M|            qHi++;
 1745|  82.1M|        }
 1746|   193M|        qLo = ((A << word_type_half_bits) | (B >> word_type_half_bits))/(dHi + 1);
 1747|       |        // This initial guess of qLo may be too small.
 1748|   193M|        right = qLo * dLo;
 1749|   193M|        middle = qLo * dHi;
 1750|   193M|        x = B - right;
 1751|   193M|        A -= (x > B);
 1752|   193M|        B = x;
 1753|   193M|        x = B - (middle << word_type_half_bits);
 1754|   193M|            A -= (middle >> word_type_half_bits) + (x > B);
 1755|   193M|        B = x;
 1756|       |        // Increase qLo if necessary:
 1757|   275M|        while ( A || B >= d )
  ------------------
  |  Branch (1757:17): [True: 4.06k, False: 275M]
  |  Branch (1757:22): [True: 82.2M, False: 193M]
  ------------------
 1758|  82.2M|        {
 1759|  82.2M|            x = B - d;
 1760|  82.2M|            A -= (x > B);
 1761|  82.2M|            B = x;
 1762|  82.2M|            qLo++;
 1763|  82.2M|        }
 1764|   193M|        return (qHi << word_type_half_bits) + qLo;
 1765|   193M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1769|   193M|    {
 1770|   193M|        word_type hi, lo, d, carry = 0;
 1771|   193M|        size_type i;
 1772|   386M|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1772:22): [True: 193M, False: 193M]
  ------------------
 1773|   193M|        {
 1774|   193M|            DDproduct( b[i], q, hi, lo );
 1775|   193M|            d = a[i];
 1776|   193M|            a[i] -= lo;
 1777|   193M|            if ( a[i] > d )
  ------------------
  |  Branch (1777:18): [True: 52.4M, False: 140M]
  ------------------
 1778|  52.4M|                carry++;
 1779|   193M|            d = a[i + 1];
 1780|   193M|            a[i + 1] -= hi + carry;
 1781|   193M|            carry = a[i + 1] > d;
 1782|   193M|        }
 1783|   193M|        if ( carry ) // q was too large
  ------------------
  |  Branch (1783:14): [True: 0, False: 193M]
  ------------------
 1784|      0|        {
 1785|      0|            q--;
 1786|      0|            carry = 0;
 1787|      0|            for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1787:26): [True: 0, False: 0]
  ------------------
 1788|      0|            {
 1789|      0|                d = a[i] + carry;
 1790|      0|                carry = d < carry;
 1791|      0|                a[i] = d + b[i];
 1792|      0|                if ( a[i] < d )
  ------------------
  |  Branch (1792:22): [True: 0, False: 0]
  ------------------
 1793|      0|                    carry = 1;
 1794|      0|            }
 1795|      0|            a[n] = 0;
 1796|      0|        }
 1797|   193M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   78|   387M|        {
   79|   387M|            return data_;
   80|   387M|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 1829|  98.6k|    {
 1830|  98.6k|        if (secondDone)
  ------------------
  |  Branch (1830:13): [True: 0, False: 98.6k]
  ------------------
 1831|      0|        {
 1832|      0|            rem /= max_word;
 1833|      0|        }
 1834|  98.6k|        if ( x > 0 )
  ------------------
  |  Branch (1834:14): [True: 0, False: 98.6k]
  ------------------
 1835|      0|        {
 1836|      0|            rem >>= x;
 1837|      0|        }
 1838|  98.6k|        else
 1839|  98.6k|        {
 1840|  98.6k|            rem.reduce();
 1841|  98.6k|        }
 1842|  98.6k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  693|  3.52M|    {
  694|  3.52M|        storage_.destroy();
  695|  3.52M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  472|  3.52M|    {
  473|  3.52M|        if (is_allocated())
  ------------------
  |  Branch (473:13): [True: 2.53M, False: 990k]
  ------------------
  474|  2.53M|        {
  475|  2.53M|            allocated_.destroy(get_allocator());
  476|  2.53M|            allocated_.~allocated_storage();
  477|  2.53M|        }
  478|   990k|        else
  479|   990k|        {
  480|   990k|            inlined_.~inlined_storage();
  481|   990k|        }
  482|  3.52M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  244|  2.53M|        {
  245|  2.53M|            if (data_ != nullptr)
  ------------------
  |  Branch (245:17): [True: 2.53M, False: 0]
  ------------------
  246|  2.53M|            {
  247|  2.53M|                real_allocator_type alloc(a);
  248|  2.53M|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  249|  2.53M|            }
  250|  2.53M|        }
_ZN8jsonconsmiENS_12basic_bigintINSt3__19allocatorImEEEERKS4_:
 1455|    325|    {
 1456|    325|        return x -= y;
 1457|    325|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IiEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  678|    802|        : storage_(n, alloc)
  679|    802|    {
  680|    802|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IiEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  345|    802|        : word_allocator_type(alloc)
  346|    802|    {
  347|    802|        ::new (&inlined_) inlined_storage(n);
  348|    802|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IiEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  124|    802|            : is_allocated_(false),
  125|    802|            is_negative_(n < 0),
  126|    802|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (126:19): [True: 477, False: 325]
  ------------------
  127|    802|        {
  128|    802|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (128:26): [True: 325, False: 477]
  ------------------
  129|    802|            values_[1] = 0;
  130|    802|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  844|   880k|    {
  845|   880k|        storage_ = y.storage_;
  846|   880k|        return *this;
  847|   880k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  351|   880k|    {
  352|   880k|        if (this != &other)
  ------------------
  |  Branch (352:13): [True: 880k, False: 0]
  ------------------
  353|   880k|        {
  354|   880k|            auto other_view = other.get_storage_view();
  355|   880k|            resize(other_view.size());
  356|   880k|            auto this_view = get_storage_view();
  357|   880k|            if (other_view.size() > 0)
  ------------------
  |  Branch (357:17): [True: 880k, False: 506]
  ------------------
  358|   880k|            {
  359|   880k|                common_.is_negative_ = other.common_.is_negative_;
  360|   880k|                std::memcpy(this_view.data(), other_view.data(), size_type(other_view.size()*sizeof(word_type)));
  361|   880k|            }
  362|   880k|        }
  363|   880k|        return *this;
  364|   880k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   78|   880k|        {
   79|   880k|            return data_;
   80|   880k|        }

_ZN8jsoncons6binary13big_to_nativeItNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  13.5k|    {
  183|  13.5k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 13.5k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  13.5k|        T val;
  188|  13.5k|        std::memcpy(&val,first,sizeof(T));
  189|  13.5k|        return byte_swap(val);
  190|  13.5k|    }
_ZN8jsoncons6binary9byte_swapItEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  15.2k|    {
   29|  15.2k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  15.2k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|  15.2k|#      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|  15.2k|    }
_ZN8jsoncons6binary13big_to_nativeIjNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|    555|    {
  183|    555|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 555]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|    555|        T val;
  188|    555|        std::memcpy(&val,first,sizeof(T));
  189|    555|        return byte_swap(val);
  190|    555|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  29.8k|    {
   40|  29.8k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  29.8k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|  29.8k|#  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|  29.8k|    }
_ZN8jsoncons6binary13big_to_nativeImNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|    461|    {
  183|    461|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 461]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|    461|        T val;
  188|    461|        std::memcpy(&val,first,sizeof(T));
  189|    461|        return byte_swap(val);
  190|    461|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  13.3k|    {
   52|  13.3k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  13.3k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  13.3k|#  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|  13.3k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|   105k|    {
   29|   105k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|   105k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|   105k|#      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|   105k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  63.4k|    {
   40|  63.4k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  63.4k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|  63.4k|#  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|  63.4k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|   106k|    {
   52|   106k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|   106k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|   106k|#  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|   106k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|  29.3k|    {
   65|  29.3k|        uint32_t x;
   66|  29.3k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|  29.3k|        uint32_t y = byte_swap(x);
   68|  29.3k|        T val2;
   69|  29.3k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|  29.3k|        return val2;
   71|  29.3k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  12.2k|    {
   77|  12.2k|        uint64_t x;
   78|  12.2k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  12.2k|        uint64_t y = byte_swap(x);
   80|  12.2k|        T val2;
   81|  12.2k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  12.2k|        return val2;
   83|  12.2k|    }
_ZN8jsoncons6binary13big_to_nativeIfNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|    875|    {
  183|    875|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 875]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|    875|        T val;
  188|    875|        std::memcpy(&val,first,sizeof(T));
  189|    875|        return byte_swap(val);
  190|    875|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|    798|    {
  183|    798|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 798]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|    798|        T val;
  188|    798|        std::memcpy(&val,first,sizeof(T));
  189|    798|        return byte_swap(val);
  190|    798|    }

_ZNK8jsoncons16byte_string_view4dataEv:
  399|  9.00M|        {
  400|  9.00M|            return data_;
  401|  9.00M|        }
_ZNK8jsoncons16byte_string_view4sizeEv:
  403|  9.01M|        {
  404|  9.01M|            return size_;
  405|  9.01M|        }
_ZN8jsoncons16byte_string_viewC2EPKhm:
  362|  12.6M|            : data_(data), size_(length)
  363|  12.6M|        {
  364|  12.6M|        }
_ZN8jsoncons15bytes_to_base64IPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  188|      4|    {
  189|      4|        static constexpr char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  190|      4|                                                   "abcdefghijklmnopqrstuvwxyz"
  191|      4|                                                   "0123456789+/"
  192|      4|                                                   "=";
  193|      4|        return detail::bytes_to_base64_generic(first, last, alphabet, result);
  194|      4|    }
_ZN8jsoncons6detail23bytes_to_base64_genericIPKhNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEENS4_9enable_ifIXsr3std7is_sameINS4_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESD_SD_PKcRT0_:
   44|  3.66M|    {
   45|  3.66M|        std::size_t count = 0;
   46|  3.66M|        unsigned char a3[3];
   47|  3.66M|        unsigned char a4[4];
   48|  3.66M|        unsigned char fill = alphabet[64];
   49|  3.66M|        int i = 0;
   50|  3.66M|        int j = 0;
   51|       |
   52|  18.8M|        while (first != last)
  ------------------
  |  Branch (52:16): [True: 15.2M, False: 3.66M]
  ------------------
   53|  15.2M|        {
   54|  15.2M|            a3[i++] = *first++;
   55|  15.2M|            if (i == 3)
  ------------------
  |  Branch (55:17): [True: 4.43M, False: 10.7M]
  ------------------
   56|  4.43M|            {
   57|  4.43M|                a4[0] = (a3[0] & 0xfc) >> 2;
   58|  4.43M|                a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   59|  4.43M|                a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   60|  4.43M|                a4[3] = a3[2] & 0x3f;
   61|       |
   62|  22.1M|                for (i = 0; i < 4; i++) 
  ------------------
  |  Branch (62:29): [True: 17.7M, False: 4.43M]
  ------------------
   63|  17.7M|                {
   64|  17.7M|                    result.push_back(alphabet[a4[i]]);
   65|  17.7M|                    ++count;
   66|  17.7M|                }
   67|  4.43M|                i = 0;
   68|  4.43M|            }
   69|  15.2M|        }
   70|       |
   71|  3.66M|        if (i > 0)
  ------------------
  |  Branch (71:13): [True: 955k, False: 2.71M]
  ------------------
   72|   955k|        {
   73|  1.91M|            for (j = i; j < 3; ++j) 
  ------------------
  |  Branch (73:25): [True: 957k, False: 955k]
  ------------------
   74|   957k|            {
   75|   957k|                a3[j] = 0;
   76|   957k|            }
   77|       |
   78|   955k|            a4[0] = (a3[0] & 0xfc) >> 2;
   79|   955k|            a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   80|   955k|            a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   81|       |
   82|  3.82M|            for (j = 0; j < i + 1; ++j) 
  ------------------
  |  Branch (82:25): [True: 2.86M, False: 955k]
  ------------------
   83|  2.86M|            {
   84|  2.86M|                result.push_back(alphabet[a4[j]]);
   85|  2.86M|                ++count;
   86|  2.86M|            }
   87|       |
   88|   955k|            if (fill != 0)
  ------------------
  |  Branch (88:17): [True: 4, False: 955k]
  ------------------
   89|      4|            {
   90|     12|                while (i++ < 3) 
  ------------------
  |  Branch (90:24): [True: 8, False: 4]
  ------------------
   91|      8|                {
   92|      8|                    result.push_back(fill);
   93|      8|                    ++count;
   94|      8|                }
   95|      4|            }
   96|   955k|        }
   97|       |
   98|  3.66M|        return count;
   99|  3.66M|    }
_ZNK8jsoncons16byte_string_view5beginEv:
  409|  3.67M|        {
  410|  3.67M|            return data_;
  411|  3.67M|        }
_ZNK8jsoncons16byte_string_view3endEv:
  413|  3.67M|        {
  414|  3.67M|            return data_ + size_;
  415|  3.67M|        }
_ZN8jsoncons18bytes_to_base64urlIPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  177|  3.66M|    {
  178|  3.66M|        static constexpr char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  179|  3.66M|                                                      "abcdefghijklmnopqrstuvwxyz"
  180|  3.66M|                                                      "0123456789-_"
  181|  3.66M|                                                      "\0";
  182|  3.66M|        return detail::bytes_to_base64_generic(first, last, alphabet, result);
  183|  3.66M|    }
_ZN8jsoncons16byte_string_viewC2INSt3__16vectorIhNS2_9allocatorIhEEEEEERKT_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS7_EE5valueEiE4typeE:
  369|  9.98k|            : data_(reinterpret_cast<const uint8_t*>(cont.data())), size_(cont.size())
  370|  9.98k|        {
  371|  9.98k|        }

_ZNK8jsoncons8identityclIRKhEEOT_S5_:
   19|  3.72k|    {
   20|  3.72k|        return std::forward<T>(val);
   21|  3.72k|    }
_ZNK8jsoncons8identityclIRtEEOT_S4_:
   19|     32|    {
   20|     32|        return std::forward<T>(val);
   21|     32|    }
_ZNK8jsoncons8identityclIRjEEOT_S4_:
   19|     47|    {
   20|     47|        return std::forward<T>(val);
   21|     47|    }
_ZNK8jsoncons8identityclIRmEEOT_S4_:
   19|    580|    {
   20|    580|        return std::forward<T>(val);
   21|    580|    }
_ZNK8jsoncons8identityclIRaEEOT_S4_:
   19|    161|    {
   20|    161|        return std::forward<T>(val);
   21|    161|    }
_ZNK8jsoncons8identityclIRsEEOT_S4_:
   19|   105k|    {
   20|   105k|        return std::forward<T>(val);
   21|   105k|    }
_ZNK8jsoncons8identityclIRiEEOT_S4_:
   19|  65.5k|    {
   20|  65.5k|        return std::forward<T>(val);
   21|  65.5k|    }
_ZNK8jsoncons8identityclIRlEEOT_S4_:
   19|   106k|    {
   20|   106k|        return std::forward<T>(val);
   21|   106k|    }
_ZNK8jsoncons11decode_halfclEt:
   36|  1.29M|    {
   37|  1.29M|        return binary::decode_half(val);
   38|  1.29M|    }
_ZNK8jsoncons8identityclIRfEEOT_S4_:
   19|  32.6k|    {
   20|  32.6k|        return std::forward<T>(val);
   21|  32.6k|    }
_ZNK8jsoncons8identityclIRdEEOT_S4_:
   19|  17.7k|    {
   20|  17.7k|        return std::forward<T>(val);
   21|  17.7k|    }

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|    121|    {       
  242|    121|        return (ptr);
  243|    121|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|  3.00M|    {       
  242|  3.00M|        return (ptr);
  243|  3.00M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  31.6k|    {       
  242|  31.6k|        return (ptr);
  243|  31.6k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  15.7M|    {       
  242|  15.7M|        return (ptr);
  243|  15.7M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|  3.00M|    {       
  242|  3.00M|        return (ptr);
  243|  3.00M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerImEEPT_S3_:
  241|  2.52M|    {       
  242|  2.52M|        return (ptr);
  243|  2.52M|    }  

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

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14convert_resultIS4_EEE4typeEPKS4_m:
 1134|  1.95M|    {
 1135|  1.95M|        conv_errc  result = conv_errc();
 1136|  1.95M|        const CharT* last = data + length;
 1137|  2.15M|        while (data != last) 
  ------------------
  |  Branch (1137:16): [True: 197k, False: 1.95M]
  ------------------
 1138|   197k|        {
 1139|   197k|            std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[static_cast<uint8_t>(*data)]) + 1;
 1140|   197k|            if (len > (std::size_t)(last - data))
  ------------------
  |  Branch (1140:17): [True: 1, False: 197k]
  ------------------
 1141|      1|            {
 1142|      1|                return convert_result<CharT>{data, conv_errc::source_exhausted};
 1143|      1|            }
 1144|   197k|            if ((result=is_legal_utf8(data, len)) != conv_errc())
  ------------------
  |  Branch (1144:17): [True: 5, False: 197k]
  ------------------
 1145|      5|            {
 1146|      5|                return convert_result<CharT>{data,result} ;
 1147|      5|            }
 1148|   197k|            data += len;
 1149|   197k|        }
 1150|  1.95M|        return convert_result<CharT>{data,result} ;
 1151|  1.95M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8IcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_9conv_errcEE4typeEPKS4_m:
  303|   197k|    {
  304|   197k|        uint8_t a;
  305|   197k|        const CharT* srcptr = first+length;
  306|   197k|        switch (length) {
  307|      0|        default:
  ------------------
  |  Branch (307:9): [True: 0, False: 197k]
  ------------------
  308|      0|            return conv_errc::over_long_utf8_sequence;
  309|      2|        case 4:
  ------------------
  |  Branch (309:9): [True: 2, False: 197k]
  ------------------
  310|      2|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (310:17): [True: 0, False: 2]
  ------------------
  311|      0|                return conv_errc::expected_continuation_byte;
  312|      2|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|      2|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  313|     35|        case 3:
  ------------------
  |  Branch (313:9): [True: 33, False: 197k]
  ------------------
  314|     35|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 0, False: 35]
  ------------------
  315|      0|                return conv_errc::expected_continuation_byte;
  316|     35|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|     35|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|    396|        case 2:
  ------------------
  |  Branch (317:9): [True: 361, False: 197k]
  ------------------
  318|    396|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 2, False: 394]
  ------------------
  319|      2|                return conv_errc::expected_continuation_byte;
  320|       |
  321|    394|            switch (static_cast<uint8_t>(*first)) 
  322|    394|            {
  323|       |                // no fall-through in this inner switch
  324|      0|                case 0xE0: if (a < 0xA0) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (324:17): [True: 0, False: 394]
  |  Branch (324:32): [True: 0, False: 0]
  ------------------
  325|     31|                case 0xED: if (a > 0x9F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (325:17): [True: 31, False: 363]
  |  Branch (325:32): [True: 0, False: 31]
  ------------------
  326|     31|                case 0xF0: if (a < 0x90) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (326:17): [True: 0, False: 394]
  |  Branch (326:32): [True: 0, False: 0]
  ------------------
  327|      0|                case 0xF4: if (a > 0x8F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (327:17): [True: 0, False: 394]
  |  Branch (327:32): [True: 0, False: 0]
  ------------------
  328|    363|                default:   if (a < 0x80) return conv_errc::source_illegal;
  ------------------
  |  Branch (328:17): [True: 363, False: 31]
  |  Branch (328:32): [True: 0, False: 363]
  ------------------
  329|    394|            }
  330|       |
  331|    394|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|    394|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  332|   197k|        case 1:
  ------------------
  |  Branch (332:9): [True: 197k, False: 396]
  ------------------
  333|   197k|            if (static_cast<uint8_t>(*first) >= 0x80 && static_cast<uint8_t>(*first) < 0xC2)
  ------------------
  |  Branch (333:17): [True: 397, False: 197k]
  |  Branch (333:57): [True: 3, False: 394]
  ------------------
  334|      3|                return conv_errc::source_illegal;
  335|   197k|            break;
  336|   197k|        }
  337|   197k|        if (static_cast<uint8_t>(*first) > 0xF4) 
  ------------------
  |  Branch (337:13): [True: 0, False: 197k]
  ------------------
  338|      0|            return conv_errc::source_illegal;
  339|       |
  340|   197k|        return conv_errc();
  341|   197k|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  6.54M|{
   43|  6.54M|    using char_type = typename Result::value_type;
   44|       |
   45|  6.54M|    char_type buf[255];
   46|  6.54M|    char_type *p = buf;
   47|  6.54M|    const char_type* last = buf+255;
   48|       |
   49|  6.54M|    bool is_negative = value < 0;
   50|       |
   51|  6.54M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 6.54M]
  ------------------
   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|  6.54M|    else
   60|  6.54M|    {
   61|       |
   62|  6.54M|        do
   63|  7.12M|        {
   64|  7.12M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  7.12M|        }
   66|  7.12M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 579k, False: 6.54M]
  |  Branch (66:33): [True: 579k, False: 0]
  ------------------
   67|  6.54M|    }
   68|  6.54M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|  6.54M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 6.54M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  6.54M|    std::size_t count = (p - buf);
   71|  6.54M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 6.54M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  13.6M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 7.12M, False: 6.54M]
  ------------------
   77|  7.12M|    {
   78|  7.12M|        result.push_back(*p);
   79|  7.12M|    }
   80|       |
   81|  6.54M|    return count;
   82|  6.54M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  1.27M|{
   43|  1.27M|    using char_type = typename Result::value_type;
   44|       |
   45|  1.27M|    char_type buf[255];
   46|  1.27M|    char_type *p = buf;
   47|  1.27M|    const char_type* last = buf+255;
   48|       |
   49|  1.27M|    bool is_negative = value < 0;
   50|       |
   51|  1.27M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 1.24M, False: 36.4k]
  ------------------
   52|  1.24M|    {
   53|  1.24M|        do
   54|  2.39M|        {
   55|  2.39M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  2.39M|        }
   57|  2.39M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 1.15M, False: 1.24M]
  |  Branch (57:33): [True: 1.15M, False: 0]
  ------------------
   58|  1.24M|    }
   59|  36.4k|    else
   60|  36.4k|    {
   61|       |
   62|  36.4k|        do
   63|   282k|        {
   64|   282k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|   282k|        }
   66|   282k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 245k, False: 36.4k]
  |  Branch (66:33): [True: 245k, False: 0]
  ------------------
   67|  36.4k|    }
   68|  1.27M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|  1.27M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 1.27M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  1.27M|    std::size_t count = (p - buf);
   71|  1.27M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 1.24M, False: 36.4k]
  ------------------
   72|  1.24M|    {
   73|  1.24M|        result.push_back('-');
   74|  1.24M|        ++count;
   75|  1.24M|    }
   76|  3.95M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 2.67M, False: 1.27M]
  ------------------
   77|  2.67M|    {
   78|  2.67M|        result.push_back(*p);
   79|  2.67M|    }
   80|       |
   81|  1.27M|    return count;
   82|  1.27M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|   118k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|   118k|    {
  489|   118k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|   118k|        struct lconv *lc = localeconv();
  491|   118k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 118k, False: 0]
  |  Branch (491:30): [True: 118k, False: 0]
  ------------------
  492|   118k|        {
  493|   118k|            decimal_point_ = lc->decimal_point[0];
  494|   118k|        }
  495|   118k|#endif
  496|   118k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|   118k|    {
  504|   118k|        std::size_t count = 0;
  505|       |
  506|   118k|        char number_buffer[200];
  507|   118k|        int length = 0;
  508|       |
  509|   118k|        switch (float_format_)
  510|   118k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 118k]
  ------------------
  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: 118k]
  ------------------
  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|   118k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 118k, False: 0]
  ------------------
  552|   118k|            {
  553|   118k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 118k]
  ------------------
  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|   118k|                else
  563|   118k|                {
  564|   118k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 118k]
  ------------------
  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|   118k|                }             
  569|   118k|                break;
  570|   118k|            }
  571|   118k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 118k]
  ------------------
  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|   118k|        }
  575|   118k|        return count;
  576|   118k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|    267|{
  244|    267|    const char *sbeg = buffer;
  245|    267|    const char *send = sbeg + length;
  246|       |
  247|    267|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 267, False: 0]
  ------------------
  248|    267|    {
  249|    267|        bool needs_dot = true;
  250|  4.00k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 3.73k, False: 267]
  ------------------
  251|  3.73k|        {
  252|  3.73k|            switch (*q)
  253|  3.73k|            {
  254|    257|            case '-':
  ------------------
  |  Branch (254:13): [True: 257, False: 3.47k]
  ------------------
  255|    625|            case '0':
  ------------------
  |  Branch (255:13): [True: 368, False: 3.36k]
  ------------------
  256|    782|            case '1':
  ------------------
  |  Branch (256:13): [True: 157, False: 3.57k]
  ------------------
  257|  1.00k|            case '2':
  ------------------
  |  Branch (257:13): [True: 226, False: 3.50k]
  ------------------
  258|  1.19k|            case '3':
  ------------------
  |  Branch (258:13): [True: 182, False: 3.55k]
  ------------------
  259|  1.59k|            case '4':
  ------------------
  |  Branch (259:13): [True: 409, False: 3.32k]
  ------------------
  260|  2.07k|            case '5':
  ------------------
  |  Branch (260:13): [True: 471, False: 3.26k]
  ------------------
  261|  2.41k|            case '6':
  ------------------
  |  Branch (261:13): [True: 340, False: 3.39k]
  ------------------
  262|  2.75k|            case '7':
  ------------------
  |  Branch (262:13): [True: 341, False: 3.39k]
  ------------------
  263|  3.09k|            case '8':
  ------------------
  |  Branch (263:13): [True: 345, False: 3.38k]
  ------------------
  264|  3.13k|            case '9':
  ------------------
  |  Branch (264:13): [True: 36, False: 3.69k]
  ------------------
  265|  3.13k|            case '+':
  ------------------
  |  Branch (265:13): [True: 4, False: 3.73k]
  ------------------
  266|  3.13k|                result.push_back(*q);
  267|  3.13k|                break;
  268|    120|            case 'e':
  ------------------
  |  Branch (268:13): [True: 120, False: 3.61k]
  ------------------
  269|    120|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 3.73k]
  ------------------
  270|    120|                result.push_back('e');
  271|    120|                needs_dot = false;
  272|    120|                break;
  273|    478|            default:
  ------------------
  |  Branch (273:13): [True: 478, False: 3.25k]
  ------------------
  274|    478|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 142, False: 336]
  ------------------
  275|    142|                {
  276|    142|                    needs_dot = false;
  277|    142|                    result.push_back('.');
  278|    142|                }
  279|    478|                break;
  280|  3.73k|            }
  281|  3.73k|        }
  282|    267|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 125, False: 142]
  ------------------
  283|    125|        {
  284|    125|            result.push_back('.');
  285|    125|            result.push_back('0');
  286|    125|        }
  287|    267|    }
  288|    267|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmiiiRT_:
  171|   106k|{
  172|   106k|    int nb_digits = (int)length;
  173|   106k|    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|   106k|    int kk = nb_digits + k;
  179|       |
  180|   106k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 16.3k, False: 89.9k]
  |  Branch (180:28): [True: 12.1k, False: 4.13k]
  ------------------
  181|  12.1k|    {
  182|       |        /* the first digits are already in. Add some 0s and call it a day. */
  183|       |        /* the max_exp is a personal choice. Only 16 digits could possibly be relevant.
  184|       |         * Basically we want to print 12340000000 rather than 1234.0e7 or 1.234e10 */
  185|  69.2k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 57.0k, False: 12.1k]
  ------------------
  186|  57.0k|        {
  187|  57.0k|            result.push_back(buffer[i]);
  188|  57.0k|        }
  189|  14.0k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 1.86k, False: 12.1k]
  ------------------
  190|  1.86k|        {
  191|  1.86k|            result.push_back('0');
  192|  1.86k|        }
  193|  12.1k|        result.push_back('.');
  194|  12.1k|        result.push_back('0');
  195|  12.1k|    } 
  196|  94.1k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 59.6k, False: 34.4k]
  |  Branch (196:24): [True: 55.5k, False: 4.13k]
  ------------------
  197|  55.5k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|   154k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 98.5k, False: 55.5k]
  ------------------
  200|  98.5k|        {
  201|  98.5k|            result.push_back(buffer[i]);
  202|  98.5k|        }
  203|  55.5k|        result.push_back('.');
  204|   322k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 267k, False: 55.5k]
  ------------------
  205|   267k|        {
  206|   267k|            result.push_back(buffer[i]);
  207|   267k|        }
  208|  55.5k|    } 
  209|  38.5k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 25.5k, False: 13.0k]
  |  Branch (209:30): [True: 21.4k, False: 4.13k]
  ------------------
  210|  21.4k|    {
  211|  21.4k|        offset = 2 - kk;
  212|       |
  213|  21.4k|        result.push_back('0');
  214|  21.4k|        result.push_back('.');
  215|  58.3k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 36.8k, False: 21.4k]
  ------------------
  216|  36.8k|            result.push_back('0');
  217|   303k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 281k, False: 21.4k]
  ------------------
  218|   281k|        {
  219|   281k|            result.push_back(buffer[i]);
  220|   281k|        }
  221|  21.4k|    } 
  222|  17.1k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 0, False: 17.1k]
  ------------------
  223|      0|    {
  224|      0|        result.push_back(buffer[0]);
  225|      0|        result.push_back('e');
  226|      0|        fill_exponent(kk - 1, result);
  227|      0|    } 
  228|  17.1k|    else
  229|  17.1k|    {
  230|  17.1k|        result.push_back(buffer[0]);
  231|  17.1k|        result.push_back('.');
  232|   278k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 261k, False: 17.1k]
  ------------------
  233|   261k|        {
  234|   261k|            result.push_back(buffer[i]);
  235|   261k|        }
  236|  17.1k|        result.push_back('e');
  237|  17.1k|        fill_exponent(kk - 1, result);
  238|  17.1k|    }
  239|   106k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  17.1k|{
  137|  17.1k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 13.0k, False: 4.13k]
  ------------------
  138|  13.0k|    {
  139|  13.0k|        result.push_back('-');
  140|  13.0k|        K = -K;
  141|  13.0k|    }
  142|  4.13k|    else
  143|  4.13k|    {
  144|  4.13k|        result.push_back('+'); // compatibility with sprintf
  145|  4.13k|    }
  146|       |
  147|  17.1k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 7.95k, False: 9.17k]
  ------------------
  148|  7.95k|    {
  149|  7.95k|        result.push_back('0'); // compatibility with sprintf
  150|  7.95k|        result.push_back((char)('0' + K));
  151|  7.95k|    }
  152|  9.17k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 3.87k, False: 5.30k]
  ------------------
  153|  3.87k|    {
  154|  3.87k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  3.87k|        result.push_back((char)('0' + K));
  156|  3.87k|    }
  157|  5.30k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 5.30k, False: 0]
  ------------------
  158|  5.30k|    {
  159|  5.30k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  5.30k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  5.30k|        result.push_back((char)('0' + K));
  162|  5.30k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  17.1k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|   118k|{
  476|   118k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|   118k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|   118k|{
  367|   118k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 12.1k, False: 106k]
  ------------------
  368|  12.1k|    {
  369|  12.1k|        result.push_back('0');
  370|  12.1k|        result.push_back('.');
  371|  12.1k|        result.push_back('0');
  372|  12.1k|        return true;
  373|  12.1k|    }
  374|       |
  375|   106k|    int length = 0;
  376|   106k|    int k;
  377|       |
  378|   106k|    char buffer[100];
  379|       |
  380|   106k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 36.4k, False: 70.1k]
  ------------------
  381|   106k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 106k, False: 267]
  ------------------
  382|   106k|    {
  383|   106k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 36.2k, False: 70.0k]
  ------------------
  384|  36.2k|        {
  385|  36.2k|            result.push_back('-');
  386|  36.2k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|   106k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|   106k|        return true;
  391|   106k|    }
  392|    267|    else
  393|    267|    {
  394|    267|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|    267|    }
  396|   106k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|    267|{
  330|    267|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 267]
  ------------------
  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|    267|    char buffer[100];
  339|    267|    int precision = std::numeric_limits<double>::digits10;
  340|    267|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|    267|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 267]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|    267|    double x{0};
  346|    267|    auto res = decstr_to_double(buffer, length, x);
  347|    267|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 267]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|    267|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 267, False: 0]
  ------------------
  352|    267|    {
  353|    267|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|    267|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|    267|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 267]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|    267|    }
  360|    267|    dump_buffer(buffer, length, decimal_point, result);
  361|    267|    return true;
  362|    267|}
_ZN8jsoncons15prettify_stringINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvPKcmiiiRT_:
  171|   770k|{
  172|   770k|    int nb_digits = (int)length;
  173|   770k|    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|   770k|    int kk = nb_digits + k;
  179|       |
  180|   770k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 669, False: 770k]
  |  Branch (180:28): [True: 661, False: 8]
  ------------------
  181|    661|    {
  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|  1.35k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 695, False: 661]
  ------------------
  186|    695|        {
  187|    695|            result.push_back(buffer[i]);
  188|    695|        }
  189|  4.36k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 3.70k, False: 661]
  ------------------
  190|  3.70k|        {
  191|  3.70k|            result.push_back('0');
  192|  3.70k|        }
  193|    661|        result.push_back('.');
  194|    661|        result.push_back('0');
  195|    661|    } 
  196|   770k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 769k, False: 532]
  |  Branch (196:24): [True: 769k, False: 8]
  ------------------
  197|   769k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  1.53M|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 769k, False: 769k]
  ------------------
  200|   769k|        {
  201|   769k|            result.push_back(buffer[i]);
  202|   769k|        }
  203|   769k|        result.push_back('.');
  204|  1.53M|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 769k, False: 769k]
  ------------------
  205|   769k|        {
  206|   769k|            result.push_back(buffer[i]);
  207|   769k|        }
  208|   769k|    } 
  209|    540|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 513, False: 27]
  |  Branch (209:30): [True: 505, False: 8]
  ------------------
  210|    505|    {
  211|    505|        offset = 2 - kk;
  212|       |
  213|    505|        result.push_back('0');
  214|    505|        result.push_back('.');
  215|    619|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 114, False: 505]
  ------------------
  216|    114|            result.push_back('0');
  217|  1.06k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 560, False: 505]
  ------------------
  218|    560|        {
  219|    560|            result.push_back(buffer[i]);
  220|    560|        }
  221|    505|    } 
  222|     35|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 13, False: 22]
  ------------------
  223|     13|    {
  224|     13|        result.push_back(buffer[0]);
  225|     13|        result.push_back('e');
  226|     13|        fill_exponent(kk - 1, result);
  227|     13|    } 
  228|     22|    else
  229|     22|    {
  230|     22|        result.push_back(buffer[0]);
  231|     22|        result.push_back('.');
  232|     44|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 22, False: 22]
  ------------------
  233|     22|        {
  234|     22|            result.push_back(buffer[i]);
  235|     22|        }
  236|     22|        result.push_back('e');
  237|     22|        fill_exponent(kk - 1, result);
  238|     22|    }
  239|   770k|}
_ZN8jsoncons13fill_exponentINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEviRT_:
  136|     35|{
  137|     35|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 27, False: 8]
  ------------------
  138|     27|    {
  139|     27|        result.push_back('-');
  140|     27|        K = -K;
  141|     27|    }
  142|      8|    else
  143|      8|    {
  144|      8|        result.push_back('+'); // compatibility with sprintf
  145|      8|    }
  146|       |
  147|     35|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 9, False: 26]
  ------------------
  148|      9|    {
  149|      9|        result.push_back('0'); // compatibility with sprintf
  150|      9|        result.push_back((char)('0' + K));
  151|      9|    }
  152|     26|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 1, False: 25]
  ------------------
  153|      1|    {
  154|      1|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|      1|        result.push_back((char)('0' + K));
  156|      1|    }
  157|     25|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 0, False: 25]
  ------------------
  158|      0|    {
  159|      0|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|      0|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|      0|        result.push_back((char)('0' + K));
  162|      0|    }
  163|     25|    else
  164|     25|    {
  165|     25|        jsoncons::from_integer(K, result);
  166|     25|    }
  167|     35|}
_ZN8jsoncons12from_integerIiNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|     25|{
   43|     25|    using char_type = typename Result::value_type;
   44|       |
   45|     25|    char_type buf[255];
   46|     25|    char_type *p = buf;
   47|     25|    const char_type* last = buf+255;
   48|       |
   49|     25|    bool is_negative = value < 0;
   50|       |
   51|     25|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 25]
  ------------------
   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|     25|    else
   60|     25|    {
   61|       |
   62|     25|        do
   63|    228|        {
   64|    228|            *p++ = static_cast<char_type>(48 + value % 10);
   65|    228|        }
   66|    228|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 203, False: 25]
  |  Branch (66:33): [True: 203, False: 0]
  ------------------
   67|     25|    }
   68|     25|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|     25|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 25]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|     25|    std::size_t count = (p - buf);
   71|     25|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 25]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|    253|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 228, False: 25]
  ------------------
   77|    228|    {
   78|    228|        result.push_back(*p);
   79|    228|    }
   80|       |
   81|     25|    return count;
   82|     25|}
_ZN8jsoncons14integer_to_hexImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   89|    698|{
   90|    698|    using char_type = typename Result::value_type;
   91|       |
   92|    698|    char_type buf[255];
   93|    698|    char_type *p = buf;
   94|    698|    const char_type* last = buf+255;
   95|       |
   96|    698|    bool is_negative = value < 0;
   97|       |
   98|    698|    if (value < 0)
  ------------------
  |  Branch (98:9): [True: 0, False: 698]
  ------------------
   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|    698|    else
  107|    698|    {
  108|       |
  109|    698|        do
  110|    882|        {
  111|    882|            *p++ = to_hex_character(value % 16);
  112|    882|        }
  113|    882|        while ((value /= 16) && (p < last));
  ------------------
  |  Branch (113:16): [True: 184, False: 698]
  |  Branch (113:33): [True: 184, False: 0]
  ------------------
  114|    698|    }
  115|    698|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|    698|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 698]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  116|       |
  117|    698|    std::size_t count = (p - buf);
  118|    698|    if (is_negative)
  ------------------
  |  Branch (118:9): [True: 0, False: 698]
  ------------------
  119|      0|    {
  120|      0|        result.push_back('-');
  121|      0|        ++count;
  122|      0|    }
  123|  1.58k|    while (--p >= buf)
  ------------------
  |  Branch (123:12): [True: 882, False: 698]
  ------------------
  124|    882|    {
  125|    882|        result.push_back(*p);
  126|    882|    }
  127|       |
  128|    698|    return count;
  129|    698|}
_ZN8jsoncons16to_hex_characterEh:
   33|    882|{
   34|    882|    return (char)((c < 10) ? ('0' + c) : ('A' - 10 + c));
  ------------------
  |  Branch (34:19): [True: 880, False: 2]
  ------------------
   35|    882|}

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

_ZN8jsoncons4cbor15make_error_codeENS0_9cbor_errcE:
   87|    140|{
   88|    140|    return std::error_code(static_cast<int>(e),cbor_error_category());
   89|    140|}
_ZN8jsoncons4cbor19cbor_error_categoryEv:
   80|    140|{
   81|    140|  static cbor_error_category_impl instance;
   82|    140|  return instance;
   83|    140|}
_ZNK8jsoncons4cbor24cbor_error_category_impl7messageEi:
   45|    128|    {
   46|    128|        switch (static_cast<cbor_errc>(ev))
   47|    128|        {
   48|     96|            case cbor_errc::unexpected_eof:
  ------------------
  |  Branch (48:13): [True: 96, False: 32]
  ------------------
   49|     96|                return "Unexpected end of file";
   50|      0|            case cbor_errc::source_error:
  ------------------
  |  Branch (50:13): [True: 0, False: 128]
  ------------------
   51|      0|                return "Source error";
   52|      3|            case cbor_errc::invalid_decimal_fraction:
  ------------------
  |  Branch (52:13): [True: 3, False: 125]
  ------------------
   53|      3|                return "Invalid decimal fraction";
   54|      0|            case cbor_errc::invalid_bigfloat:
  ------------------
  |  Branch (54:13): [True: 0, False: 128]
  ------------------
   55|      0|                return "Invalid bigfloat";
   56|      6|            case cbor_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (56:13): [True: 6, False: 122]
  ------------------
   57|      6|                return "Illegal UTF-8 encoding in text string";
   58|      0|            case cbor_errc::too_many_items:
  ------------------
  |  Branch (58:13): [True: 0, False: 128]
  ------------------
   59|      0|                return "Too many items were added to a CBOR map or array of known length";
   60|      0|            case cbor_errc::too_few_items:
  ------------------
  |  Branch (60:13): [True: 0, False: 128]
  ------------------
   61|      0|                return "Too few items were added to a CBOR map or array of known length";
   62|      0|            case cbor_errc::number_too_large:
  ------------------
  |  Branch (62:13): [True: 0, False: 128]
  ------------------
   63|      0|                return "Number exceeds implementation limits";
   64|      1|            case cbor_errc::stringref_too_large:
  ------------------
  |  Branch (64:13): [True: 1, False: 127]
  ------------------
   65|      1|                return "stringref exceeds stringref map size";
   66|      0|            case cbor_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (66:13): [True: 0, False: 128]
  ------------------
   67|      0|                return "Data item nesting exceeds limit in options";
   68|     15|            case cbor_errc::unknown_type:
  ------------------
  |  Branch (68:13): [True: 15, False: 113]
  ------------------
   69|     15|                return "An unknown type was found in the stream";
   70|      7|            case cbor_errc::illegal_chunked_string:
  ------------------
  |  Branch (70:13): [True: 7, False: 121]
  ------------------
   71|      7|                return "An illegal type was found while parsing an indefinite length string";
   72|      0|            default:
  ------------------
  |  Branch (72:13): [True: 0, False: 128]
  ------------------
   73|      0|                return "Unknown CBOR parser error";
   74|    128|        }
   75|    128|    }

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

_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_19cbor_decode_optionsERKS7_:
  194|    143|       : alloc_(alloc),
  195|    143|         source_(std::forward<Sourceable>(source)),
  196|    143|         max_nesting_depth_(options.max_nesting_depth()),
  197|    143|         text_buffer_(alloc),
  198|    143|         bytes_buffer_(alloc),
  199|    143|         state_stack_(alloc),
  200|    143|         array_buffer_(alloc),
  201|    143|         stringref_map_stack_(alloc)
  202|    143|    {
  203|    143|        state_stack_.emplace_back(parse_mode::root,0);
  204|    143|    }
_ZN8jsoncons4cbor11parse_stateC2ENS0_10parse_modeEmb:
   47|  11.9M|        : mode(mode), length(length), pop_stringref_map_stack(pop_stringref_map_stack)
   48|  11.9M|    {
   49|  11.9M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringD2Ev:
  118|  5.69M|        ~mapped_string() = default;
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  290|    128|    {
  291|    128|        return 0;
  292|    128|    }
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  295|    128|    {
  296|    128|        return source_.position();
  297|    128|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEED2Ev:
  211|    143|    ~basic_cbor_parser() = default;
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
  219|    143|    {
  220|    143|        more_ = true;
  221|    143|        done_ = false;
  222|    143|        text_buffer_.clear();
  223|    143|        bytes_buffer_.clear();
  224|    143|        raw_tag_ = 0;
  225|    143|        state_stack_.clear();
  226|    143|        state_stack_.emplace_back(parse_mode::root,0);
  227|    143|        array_buffer_.clear();
  228|    143|        stringref_map_stack_.clear();
  229|    143|        nesting_depth_ = 0;
  230|    143|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  323|    143|    {
  324|  53.3M|        while (!done_ && more_)
  ------------------
  |  Branch (324:16): [True: 53.3M, False: 17]
  |  Branch (324:26): [True: 53.3M, False: 92]
  ------------------
  325|  53.3M|        {
  326|  53.3M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (326:21): [True: 53.3M, False: 0]
  ------------------
  327|  53.3M|            {
  328|   693k|                case parse_mode::multi_dim:
  ------------------
  |  Branch (328:17): [True: 693k, False: 52.6M]
  ------------------
  329|   693k|                {
  330|   693k|                    if (state_stack_.back().index == 0)
  ------------------
  |  Branch (330:25): [True: 588k, False: 105k]
  ------------------
  331|   588k|                    {
  332|   588k|                        ++state_stack_.back().index;
  333|   588k|                        read_item(visitor, ec);
  334|   588k|                    }
  335|   105k|                    else
  336|   105k|                    {
  337|   105k|                        state_stack_.pop_back();
  338|   105k|                    }
  339|   693k|                    break;
  340|      0|                }
  341|  3.69M|                case parse_mode::array:
  ------------------
  |  Branch (341:17): [True: 3.69M, False: 49.6M]
  ------------------
  342|  3.69M|                {
  343|  3.69M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (343:25): [True: 3.32M, False: 372k]
  ------------------
  344|  3.32M|                    {
  345|  3.32M|                        ++state_stack_.back().index;
  346|  3.32M|                        read_item(visitor, ec);
  347|  3.32M|                    }
  348|   372k|                    else
  349|   372k|                    {
  350|   372k|                        end_array(visitor, ec);
  351|   372k|                    }
  352|  3.69M|                    break;
  353|      0|                }
  354|  1.74M|                case parse_mode::typed_array:
  ------------------
  |  Branch (354:17): [True: 1.74M, False: 51.5M]
  ------------------
  355|  1.74M|                {
  356|  1.74M|                    read_item(visitor, ec);
  357|  1.74M|                    break;
  358|      0|                }
  359|  23.9M|                case parse_mode::indefinite_array:
  ------------------
  |  Branch (359:17): [True: 23.9M, False: 29.3M]
  ------------------
  360|  23.9M|                {
  361|  23.9M|                    auto c = source_.peek();
  362|  23.9M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  23.9M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 26, False: 23.9M]
  |  |  ------------------
  ------------------
  363|     26|                    {
  364|     26|                        ec = cbor_errc::unexpected_eof;
  365|     26|                        more_ = false;
  366|     26|                        return;
  367|     26|                    }
  368|  23.9M|                    if (c.value == 0xff)
  ------------------
  |  Branch (368:25): [True: 296k, False: 23.6M]
  ------------------
  369|   296k|                    {
  370|   296k|                        source_.ignore(1);
  371|   296k|                        end_array(visitor, ec);
  372|   296k|                    }
  373|  23.6M|                    else
  374|  23.6M|                    {
  375|  23.6M|                        read_item(visitor, ec);
  376|  23.6M|                    }
  377|  23.9M|                    break;
  378|  23.9M|                }
  379|  12.0M|                case parse_mode::map_key:
  ------------------
  |  Branch (379:17): [True: 12.0M, False: 41.2M]
  ------------------
  380|  12.0M|                {
  381|  12.0M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (381:25): [True: 1.79M, False: 10.2M]
  ------------------
  382|  1.79M|                    {
  383|  1.79M|                        ++state_stack_.back().index;
  384|  1.79M|                        state_stack_.back().mode = parse_mode::map_value;
  385|  1.79M|                        read_item(visitor, ec);
  386|  1.79M|                    }
  387|  10.2M|                    else
  388|  10.2M|                    {
  389|  10.2M|                        end_object(visitor, ec);
  390|  10.2M|                    }
  391|  12.0M|                    break;
  392|  23.9M|                }
  393|  1.79M|                case parse_mode::map_value:
  ------------------
  |  Branch (393:17): [True: 1.79M, False: 51.5M]
  ------------------
  394|  1.79M|                {
  395|  1.79M|                    state_stack_.back().mode = parse_mode::map_key;
  396|  1.79M|                    read_item(visitor, ec);
  397|  1.79M|                    break;
  398|  23.9M|                }
  399|  4.93M|                case parse_mode::indefinite_map_key:
  ------------------
  |  Branch (399:17): [True: 4.93M, False: 48.3M]
  ------------------
  400|  4.93M|                {
  401|  4.93M|                    auto c = source_.peek();
  402|  4.93M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  4.93M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 8, False: 4.93M]
  |  |  ------------------
  ------------------
  403|      8|                    {
  404|      8|                        ec = cbor_errc::unexpected_eof;
  405|      8|                        more_ = false;
  406|      8|                        return;
  407|      8|                    }
  408|  4.93M|                    if (c.value == 0xff)
  ------------------
  |  Branch (408:25): [True: 441k, False: 4.49M]
  ------------------
  409|   441k|                    {
  410|   441k|                        source_.ignore(1);
  411|   441k|                        end_object(visitor, ec);
  412|   441k|                    }
  413|  4.49M|                    else
  414|  4.49M|                    {
  415|  4.49M|                        state_stack_.back().mode = parse_mode::indefinite_map_value;
  416|  4.49M|                        read_item(visitor, ec);
  417|  4.49M|                    }
  418|  4.93M|                    break;
  419|  4.93M|                }
  420|  4.49M|                case parse_mode::indefinite_map_value:
  ------------------
  |  Branch (420:17): [True: 4.49M, False: 48.8M]
  ------------------
  421|  4.49M|                {
  422|  4.49M|                    state_stack_.back().mode = parse_mode::indefinite_map_key;
  423|  4.49M|                    read_item(visitor, ec);
  424|  4.49M|                    break;
  425|  4.93M|                }
  426|    143|                case parse_mode::root:
  ------------------
  |  Branch (426:17): [True: 143, False: 53.3M]
  ------------------
  427|    143|                {
  428|    143|                    state_stack_.back().mode = parse_mode::accept;
  429|    143|                    read_item(visitor, ec);
  430|    143|                    break;
  431|  4.93M|                }
  432|     17|                case parse_mode::accept:
  ------------------
  |  Branch (432:17): [True: 17, False: 53.3M]
  ------------------
  433|     17|                {
  434|     17|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   45|     17|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 17]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  435|     17|                    state_stack_.clear();
  436|     17|                    more_ = false;
  437|     17|                    done_ = true;
  438|     17|                    visitor.flush();
  439|     17|                    break;
  440|     17|                }
  441|  53.3M|            }
  442|  53.3M|        }
  443|    143|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_itemERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  446|  41.8M|    {
  447|  41.8M|        if (is_typed_array_)
  ------------------
  |  Branch (447:13): [True: 1.74M, False: 40.1M]
  ------------------
  448|  1.74M|        {
  449|  1.74M|            if (!typed_array_iter_->done())
  ------------------
  |  Branch (449:17): [True: 1.72M, False: 24.4k]
  ------------------
  450|  1.72M|            {
  451|  1.72M|                typed_array_iter_->next(visitor, *this, ec);
  452|  1.72M|                more_ = !cursor_mode_;
  453|  1.72M|            }
  454|  24.4k|            else
  455|  24.4k|            {
  456|  24.4k|                is_typed_array_ = false;
  457|  24.4k|                state_stack_.pop_back();
  458|  24.4k|            }
  459|  1.74M|            return;
  460|  1.74M|        }
  461|  40.1M|        read_tags(ec);
  462|  40.1M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  40.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 17, False: 40.1M]
  |  |  ------------------
  ------------------
  463|     17|        {
  464|     17|            return;
  465|     17|        }
  466|  40.1M|        auto c = source_.peek();
  467|  40.1M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  40.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 40.1M]
  |  |  ------------------
  ------------------
  468|      0|        {
  469|      0|            ec = cbor_errc::unexpected_eof;
  470|      0|            more_ = false;
  471|      0|            return;
  472|      0|        }
  473|  40.1M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
  474|  40.1M|        uint8_t info = get_additional_information_value(c.value);
  475|       |
  476|  40.1M|        switch (major_type)
  477|  40.1M|        {
  478|  11.2M|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (478:13): [True: 11.2M, False: 28.8M]
  ------------------
  479|  11.2M|            {
  480|  11.2M|                uint64_t val = read_uint64(ec);
  481|  11.2M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  11.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 11.2M]
  |  |  ------------------
  ------------------
  482|      0|                {
  483|      0|                    return;
  484|      0|                }
  485|  11.2M|                if (!stringref_map_stack_.empty() && other_tags_[stringref_tag])
  ------------------
  |  Branch (485:21): [True: 3.19M, False: 8.06M]
  |  Branch (485:21): [True: 9.98k, False: 11.2M]
  |  Branch (485:54): [True: 9.98k, False: 3.18M]
  ------------------
  486|  9.98k|                {
  487|  9.98k|                    other_tags_[stringref_tag] = false;
  488|  9.98k|                    if (val >= stringref_map_stack_.back().size())
  ------------------
  |  Branch (488:25): [True: 1, False: 9.98k]
  ------------------
  489|      1|                    {
  490|      1|                        ec = cbor_errc::stringref_too_large;
  491|      1|                        more_ = false;
  492|      1|                        return;
  493|      1|                    }
  494|  9.98k|                    auto index = static_cast<typename stringref_map::size_type>(val);
  495|  9.98k|                    if (index != val)
  ------------------
  |  Branch (495:25): [True: 0, False: 9.98k]
  ------------------
  496|      0|                    {
  497|      0|                        ec = cbor_errc::number_too_large;
  498|      0|                        more_ = false;
  499|      0|                        return;
  500|      0|                    }
  501|  9.98k|                    auto& str = stringref_map_stack_.back().at(index);
  502|  9.98k|                    switch (str.type)
  503|  9.98k|                    {
  504|      0|                        case jsoncons::cbor::detail::cbor_major_type::text_string:
  ------------------
  |  Branch (504:25): [True: 0, False: 9.98k]
  ------------------
  505|      0|                        {
  506|      0|                            handle_string(visitor, jsoncons::basic_string_view<char>(str.str.data(),str.str.length()),ec);
  507|      0|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  508|      0|                            {
  509|      0|                                return;
  510|      0|                            }
  511|      0|                            break;
  512|      0|                        }
  513|  9.98k|                        case jsoncons::cbor::detail::cbor_major_type::byte_string:
  ------------------
  |  Branch (513:25): [True: 9.98k, False: 0]
  ------------------
  514|  9.98k|                        {
  515|  9.98k|                            read_byte_string_from_buffer read(byte_string_view(str.bytes));
  516|  9.98k|                            read_byte_string(read, visitor, ec);
  517|  9.98k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  9.98k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 9.98k]
  |  |  ------------------
  ------------------
  518|      0|                            {
  519|      0|                                return;
  520|      0|                            }
  521|  9.98k|                            break;
  522|  9.98k|                        }
  523|  9.98k|                        default:
  ------------------
  |  Branch (523:25): [True: 0, False: 9.98k]
  ------------------
  524|      0|                            JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
  525|      0|                            break;
  526|  9.98k|                    }
  527|  9.98k|                }
  528|  11.2M|                else
  529|  11.2M|                {
  530|  11.2M|                    semantic_tag tag = semantic_tag::none;
  531|  11.2M|                    if (other_tags_[item_tag])
  ------------------
  |  Branch (531:25): [True: 8.31k, False: 11.2M]
  ------------------
  532|  8.31k|                    {
  533|  8.31k|                        if (raw_tag_ == 1)
  ------------------
  |  Branch (533:29): [True: 825, False: 7.49k]
  ------------------
  534|    825|                        {
  535|    825|                            tag = semantic_tag::epoch_second;
  536|    825|                        }
  537|  8.31k|                        other_tags_[item_tag] = false;
  538|  8.31k|                    }
  539|  11.2M|                    visitor.uint64_value(val, tag, *this, ec);
  540|  11.2M|                    more_ = !cursor_mode_;
  541|  11.2M|                }
  542|  11.2M|                break;
  543|  11.2M|            }
  544|  11.2M|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (544:13): [True: 5.40M, False: 34.7M]
  ------------------
  545|  5.40M|            {
  546|  5.40M|                int64_t val = read_int64(ec);
  547|  5.40M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  5.40M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 5.40M]
  |  |  ------------------
  ------------------
  548|      0|                {
  549|      0|                    return;
  550|      0|                }
  551|  5.40M|                semantic_tag tag = semantic_tag::none;
  552|  5.40M|                if (other_tags_[item_tag])
  ------------------
  |  Branch (552:21): [True: 2.14k, False: 5.39M]
  ------------------
  553|  2.14k|                {
  554|  2.14k|                    if (raw_tag_ == 1)
  ------------------
  |  Branch (554:25): [True: 55, False: 2.09k]
  ------------------
  555|     55|                    {
  556|     55|                        tag = semantic_tag::epoch_second;
  557|     55|                    }
  558|  2.14k|                    other_tags_[item_tag] = false;
  559|  2.14k|                }
  560|  5.40M|                visitor.int64_value(val, tag, *this, ec);
  561|  5.40M|                more_ = !cursor_mode_;
  562|  5.40M|                break;
  563|  5.40M|            }
  564|  6.68M|            case jsoncons::cbor::detail::cbor_major_type::byte_string:
  ------------------
  |  Branch (564:13): [True: 6.68M, False: 33.4M]
  ------------------
  565|  6.68M|            {
  566|  6.68M|                read_byte_string_from_source read(this);
  567|  6.68M|                read_byte_string(read, visitor, ec);
  568|  6.68M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  6.68M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 21, False: 6.68M]
  |  |  ------------------
  ------------------
  569|     21|                {
  570|     21|                    return;
  571|     21|                }
  572|  6.68M|                break;
  573|  6.68M|            }
  574|  6.68M|            case jsoncons::cbor::detail::cbor_major_type::text_string:
  ------------------
  |  Branch (574:13): [True: 1.95M, False: 38.1M]
  ------------------
  575|  1.95M|            {
  576|  1.95M|                text_buffer_.clear();
  577|       |
  578|  1.95M|                read_text_string(text_buffer_, ec);
  579|  1.95M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.95M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 23, False: 1.95M]
  |  |  ------------------
  ------------------
  580|     23|                {
  581|     23|                    return;
  582|     23|                }
  583|  1.95M|                auto result = unicode_traits::validate(text_buffer_.data(),text_buffer_.size());
  584|  1.95M|                if (result.ec != unicode_traits::conv_errc())
  ------------------
  |  Branch (584:21): [True: 6, False: 1.95M]
  ------------------
  585|      6|                {
  586|      6|                    ec = cbor_errc::invalid_utf8_text_string;
  587|      6|                    more_ = false;
  588|      6|                    return;
  589|      6|                }
  590|  1.95M|                handle_string(visitor, jsoncons::basic_string_view<char>(text_buffer_.data(),text_buffer_.length()),ec);
  591|  1.95M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.95M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.95M]
  |  |  ------------------
  ------------------
  592|      0|                {
  593|      0|                    return;
  594|      0|                }
  595|  1.95M|                break;
  596|  1.95M|            }
  597|  1.95M|            case jsoncons::cbor::detail::cbor_major_type::semantic_tag:
  ------------------
  |  Branch (597:13): [True: 0, False: 40.1M]
  ------------------
  598|      0|            {
  599|      0|                JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
  600|      0|                break;
  601|  1.95M|            }
  602|  2.11M|            case jsoncons::cbor::detail::cbor_major_type::simple:
  ------------------
  |  Branch (602:13): [True: 2.11M, False: 37.9M]
  ------------------
  603|  2.11M|            {
  604|  2.11M|                switch (info)
  605|  2.11M|                {
  606|  1.07M|                    case 0x14:
  ------------------
  |  Branch (606:21): [True: 1.07M, False: 1.04M]
  ------------------
  607|  1.07M|                        visitor.bool_value(false, semantic_tag::none, *this, ec);
  608|  1.07M|                        more_ = !cursor_mode_;
  609|  1.07M|                        source_.ignore(1);
  610|  1.07M|                        break;
  611|  35.7k|                    case 0x15:
  ------------------
  |  Branch (611:21): [True: 35.7k, False: 2.07M]
  ------------------
  612|  35.7k|                        visitor.bool_value(true, semantic_tag::none, *this, ec);
  613|  35.7k|                        more_ = !cursor_mode_;
  614|  35.7k|                        source_.ignore(1);
  615|  35.7k|                        break;
  616|   973k|                    case 0x16:
  ------------------
  |  Branch (616:21): [True: 973k, False: 1.14M]
  ------------------
  617|   973k|                        visitor.null_value(semantic_tag::none, *this, ec);
  618|   973k|                        more_ = !cursor_mode_;
  619|   973k|                        source_.ignore(1);
  620|   973k|                        break;
  621|  23.8k|                    case 0x17:
  ------------------
  |  Branch (621:21): [True: 23.8k, False: 2.09M]
  ------------------
  622|  23.8k|                        visitor.null_value(semantic_tag::undefined, *this, ec);
  623|  23.8k|                        more_ = !cursor_mode_;
  624|  23.8k|                        source_.ignore(1);
  625|  23.8k|                        break;
  626|  8.07k|                    case 0x19: // Half-Precision Float (two-byte IEEE 754)
  ------------------
  |  Branch (626:21): [True: 8.07k, False: 2.10M]
  ------------------
  627|  8.07k|                    {
  628|  8.07k|                        uint64_t val = read_uint64(ec);
  629|  8.07k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  8.07k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 8.07k]
  |  |  ------------------
  ------------------
  630|      0|                        {
  631|      0|                            return;
  632|      0|                        }
  633|  8.07k|                        visitor.half_value(static_cast<uint16_t>(val), semantic_tag::none, *this, ec);
  634|  8.07k|                        more_ = !cursor_mode_;
  635|  8.07k|                        break;
  636|  8.07k|                    }
  637|    875|                    case 0x1a: // Single-Precision Float (four-byte IEEE 754)
  ------------------
  |  Branch (637:21): [True: 875, False: 2.11M]
  ------------------
  638|  1.68k|                    case 0x1b: // Double-Precision Float (eight-byte IEEE 754)
  ------------------
  |  Branch (638:21): [True: 811, False: 2.11M]
  ------------------
  639|  1.68k|                    {
  640|  1.68k|                        double val = read_double(ec);
  641|  1.68k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.68k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 13, False: 1.67k]
  |  |  ------------------
  ------------------
  642|     13|                        {
  643|     13|                            return;
  644|     13|                        }
  645|  1.67k|                        semantic_tag tag = semantic_tag::none;
  646|  1.67k|                        if (other_tags_[item_tag])
  ------------------
  |  Branch (646:29): [True: 39, False: 1.63k]
  ------------------
  647|     39|                        {
  648|     39|                            if (raw_tag_ == 1)
  ------------------
  |  Branch (648:33): [True: 0, False: 39]
  ------------------
  649|      0|                            {
  650|      0|                                tag = semantic_tag::epoch_second;
  651|      0|                            }
  652|     39|                            other_tags_[item_tag] = false;
  653|     39|                        }
  654|  1.67k|                        visitor.double_value(val, tag, *this, ec);
  655|  1.67k|                        more_ = !cursor_mode_;
  656|  1.67k|                        break;
  657|  1.68k|                    }
  658|     15|                    default:
  ------------------
  |  Branch (658:21): [True: 15, False: 2.11M]
  ------------------
  659|     15|                    {
  660|     15|                        ec = cbor_errc::unknown_type;
  661|     15|                        more_ = false;
  662|     15|                        return;
  663|  1.68k|                    }
  664|  2.11M|                }
  665|  2.11M|                break;
  666|  2.11M|            }
  667|  2.11M|            case jsoncons::cbor::detail::cbor_major_type::array:
  ------------------
  |  Branch (667:13): [True: 2.03M, False: 38.0M]
  ------------------
  668|  2.03M|            {
  669|  2.03M|                if (other_tags_[item_tag])
  ------------------
  |  Branch (669:21): [True: 1.37M, False: 652k]
  ------------------
  670|  1.37M|                {
  671|  1.37M|                    switch (raw_tag_)
  672|  1.37M|                    {
  673|   770k|                        case 0x04:
  ------------------
  |  Branch (673:25): [True: 770k, False: 607k]
  ------------------
  674|   770k|                            text_buffer_.clear();
  675|   770k|                            read_decimal_fraction(text_buffer_, ec);
  676|   770k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   770k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5, False: 770k]
  |  |  ------------------
  ------------------
  677|      5|                            {
  678|      5|                                return;
  679|      5|                            }
  680|   770k|                            visitor.string_value(text_buffer_, semantic_tag::bigdec, *this, ec);
  681|   770k|                            more_ = !cursor_mode_;
  682|   770k|                            break;
  683|    351|                        case 0x05:
  ------------------
  |  Branch (683:25): [True: 351, False: 1.37M]
  ------------------
  684|    351|                            text_buffer_.clear();
  685|    351|                            read_bigfloat(text_buffer_, ec);
  686|    351|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    351|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 350]
  |  |  ------------------
  ------------------
  687|      1|                            {
  688|      1|                                return;
  689|      1|                            }
  690|    350|                            visitor.string_value(text_buffer_, semantic_tag::bigfloat, *this, ec);
  691|    350|                            more_ = !cursor_mode_;
  692|    350|                            break;
  693|   588k|                        case 40: // row major storage
  ------------------
  |  Branch (693:25): [True: 588k, False: 789k]
  ------------------
  694|   588k|                            is_multi_dim_ = true;
  695|   588k|                            order_ = mdarray_order::row_major;
  696|   588k|                            produce_begin_multi_dim(ec);
  697|   588k|                            break;
  698|     18|                        case 1040: // column major storage
  ------------------
  |  Branch (698:25): [True: 18, False: 1.37M]
  ------------------
  699|     18|                            is_multi_dim_ = true;
  700|     18|                            order_ = mdarray_order::column_major;
  701|     18|                            produce_begin_multi_dim(ec);
  702|     18|                            break;
  703|  18.4k|                        default:
  ------------------
  |  Branch (703:25): [True: 18.4k, False: 1.35M]
  ------------------
  704|  18.4k|                            begin_array(visitor, info, ec);
  705|  18.4k|                            break;
  706|  1.37M|                    }
  707|  1.37M|                    other_tags_[item_tag] = false;
  708|  1.37M|                }
  709|   652k|                else
  710|   652k|                {
  711|   652k|                    begin_array(visitor, info, ec);
  712|   652k|                }
  713|  2.03M|                break;
  714|  2.03M|            }
  715|  10.6M|            case jsoncons::cbor::detail::cbor_major_type::map:
  ------------------
  |  Branch (715:13): [True: 10.6M, False: 29.4M]
  ------------------
  716|  10.6M|            {
  717|  10.6M|                begin_object(visitor, info, ec);
  718|  10.6M|                break;
  719|  2.03M|            }
  720|      0|            default:
  ------------------
  |  Branch (720:13): [True: 0, False: 40.1M]
  ------------------
  721|      0|                break;
  722|  40.1M|        }
  723|  40.1M|        other_tags_[item_tag] = false;
  724|  40.1M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_tagsERNS3_10error_codeE:
 1548|  40.1M|    {
 1549|  40.1M|        auto c = source_.peek();
 1550|  40.1M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  40.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 13, False: 40.1M]
  |  |  ------------------
  ------------------
 1551|     13|        {
 1552|     13|            ec = cbor_errc::unexpected_eof;
 1553|     13|            more_ = false;
 1554|     13|            return;
 1555|     13|        }
 1556|  40.1M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1557|       |
 1558|  42.9M|        while (major_type == jsoncons::cbor::detail::cbor_major_type::semantic_tag)
  ------------------
  |  Branch (1558:16): [True: 2.86M, False: 40.1M]
  ------------------
 1559|  2.86M|        {
 1560|  2.86M|            uint64_t val = read_uint64(ec);
 1561|  2.86M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.86M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.86M]
  |  |  ------------------
  ------------------
 1562|      0|            {
 1563|      0|                return;
 1564|      0|            }
 1565|  2.86M|            switch(val)
 1566|  2.86M|            {
 1567|  10.7k|                case 25: // stringref
  ------------------
  |  Branch (1567:17): [True: 10.7k, False: 2.85M]
  ------------------
 1568|  10.7k|                    other_tags_[stringref_tag] = true;
 1569|  10.7k|                    break;
 1570|    287|                case 256: // stringref-namespace
  ------------------
  |  Branch (1570:17): [True: 287, False: 2.86M]
  ------------------
 1571|    287|                    other_tags_[stringref_namespace_tag] = true;
 1572|    287|                    break;
 1573|  2.85M|                default:
  ------------------
  |  Branch (1573:17): [True: 2.85M, False: 11.0k]
  ------------------
 1574|  2.85M|                    other_tags_[item_tag] = true;
 1575|  2.85M|                    raw_tag_ = val;
 1576|  2.85M|                    break;
 1577|  2.86M|            }
 1578|  2.86M|            c = source_.peek();
 1579|  2.86M|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  2.86M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 2.86M]
  |  |  ------------------
  ------------------
 1580|      4|            {
 1581|      4|                ec = cbor_errc::unexpected_eof;
 1582|      4|                more_ = false;
 1583|      4|                return;
 1584|      4|            }
 1585|  2.86M|            major_type = get_major_type(c.value);
 1586|  2.86M|        }
 1587|  40.1M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE14get_major_typeEh:
 1534|   108M|    {
 1535|   108M|        static constexpr uint8_t major_type_shift = 0x05;
 1536|   108M|        uint8_t value = type >> major_type_shift;
 1537|   108M|        return static_cast<jsoncons::cbor::detail::cbor_major_type>(value);
 1538|   108M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE32get_additional_information_valueEh:
 1541|   100M|    {
 1542|   100M|        static constexpr uint8_t additional_information_mask = (1U << 5) - 1;
 1543|   100M|        uint8_t value = type & additional_information_mask;
 1544|   100M|        return value;
 1545|   100M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_uint64ERNS3_10error_codeE:
 1008|  37.0M|    {
 1009|  37.0M|        uint64_t val = 0;
 1010|       |
 1011|  37.0M|        uint8_t initial_b;
 1012|  37.0M|        if (source_.read(&initial_b, 1) == 0)
  ------------------
  |  Branch (1012:13): [True: 0, False: 37.0M]
  ------------------
 1013|      0|        {
 1014|      0|            ec = cbor_errc::unexpected_eof;
 1015|      0|            more_ = false;
 1016|      0|            return 0;
 1017|      0|        }
 1018|  37.0M|        uint8_t info = get_additional_information_value(initial_b);
 1019|  37.0M|        switch (info)
 1020|  37.0M|        {
 1021|  19.9M|            case JSONCONS_EXT_CBOR_0x00_0x17: // Integer 0x00..0x17 (0..23)
  ------------------
  |  |   18|  19.9M|    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: 431k, False: 36.5M]
  |  |  |  Branch (18:20): [True: 808k, False: 36.2M]
  |  |  |  Branch (18:30): [True: 996k, False: 36.0M]
  |  |  |  Branch (18:40): [True: 784k, False: 36.2M]
  |  |  |  Branch (18:50): [True: 1.84M, False: 35.1M]
  |  |  |  Branch (18:60): [True: 977, False: 37.0M]
  |  |  |  Branch (18:70): [True: 1.70k, False: 37.0M]
  |  |  |  Branch (18:80): [True: 5.52k, False: 37.0M]
  |  |  |  Branch (18:90): [True: 452k, False: 36.5M]
  |  |  |  Branch (18:100): [True: 5.22k, False: 37.0M]
  |  |  |  Branch (18:110): [True: 4.00k, False: 37.0M]
  |  |  |  Branch (18:120): [True: 19.0k, False: 37.0M]
  |  |  |  Branch (18:130): [True: 5.86k, False: 37.0M]
  |  |  |  Branch (18:140): [True: 286, False: 37.0M]
  |  |  |  Branch (18:150): [True: 1.74k, False: 37.0M]
  |  |  |  Branch (18:160): [True: 1.32k, False: 37.0M]
  |  |  |  Branch (18:170): [True: 18.5k, False: 37.0M]
  |  |  |  Branch (18:180): [True: 4.07k, False: 37.0M]
  |  |  |  Branch (18:190): [True: 9.31k, False: 37.0M]
  |  |  |  Branch (18:200): [True: 714, False: 37.0M]
  |  |  |  Branch (18:210): [True: 444k, False: 36.5M]
  |  |  |  Branch (18:220): [True: 2.83k, False: 37.0M]
  |  |  ------------------
  ------------------
  |  Branch (1021:13): [True: 14.1M, False: 22.8M]
  ------------------
 1022|  19.9M|            {
 1023|  19.9M|                val = info;
 1024|  19.9M|                break;
 1025|   413M|            }
 1026|       |
 1027|   661k|            case 0x18: // Unsigned integer (one-byte uint8_t follows)
  ------------------
  |  Branch (1027:13): [True: 661k, False: 36.3M]
  ------------------
 1028|   661k|            {
 1029|   661k|                uint8_t b;
 1030|   661k|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1030:21): [True: 0, False: 661k]
  ------------------
 1031|      0|                {
 1032|      0|                    ec = cbor_errc::unexpected_eof;
 1033|      0|                    more_ = false;
 1034|      0|                    return val;
 1035|      0|                }
 1036|   661k|                val = b;
 1037|   661k|                break;
 1038|   661k|            }
 1039|       |
 1040|  10.9k|            case 0x19: // Unsigned integer (two-byte uint16_t follows)
  ------------------
  |  Branch (1040:13): [True: 10.9k, False: 37.0M]
  ------------------
 1041|  10.9k|            {
 1042|  10.9k|                uint8_t buf[sizeof(uint16_t)];
 1043|  10.9k|                source_.read(buf, sizeof(uint16_t));
 1044|  10.9k|                val = binary::big_to_native<uint16_t>(buf, sizeof(buf));
 1045|  10.9k|                break;
 1046|   661k|            }
 1047|       |
 1048|    363|            case 0x1a: // Unsigned integer (four-byte uint32_t follows)
  ------------------
  |  Branch (1048:13): [True: 363, False: 37.0M]
  ------------------
 1049|    363|            {
 1050|    363|                uint8_t buf[sizeof(uint32_t)];
 1051|    363|                source_.read(buf, sizeof(uint32_t));
 1052|    363|                val = binary::big_to_native<uint32_t>(buf, sizeof(buf));
 1053|    363|                break;
 1054|   661k|            }
 1055|       |
 1056|    320|            case 0x1b: // Unsigned integer (eight-byte uint64_t follows)
  ------------------
  |  Branch (1056:13): [True: 320, False: 37.0M]
  ------------------
 1057|    320|            {
 1058|    320|                uint8_t buf[sizeof(uint64_t)];
 1059|    320|                source_.read(buf, sizeof(uint64_t));
 1060|    320|                val = binary::big_to_native<uint64_t>(buf, sizeof(buf));
 1061|    320|                break;
 1062|   661k|            }
 1063|  16.3M|            default:
  ------------------
  |  Branch (1063:13): [True: 16.3M, False: 20.6M]
  ------------------
 1064|  16.3M|                break;
 1065|  37.0M|        }
 1066|  37.0M|        return val;
 1067|  37.0M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13handle_stringERNS_24basic_item_event_visitorIcEERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS3_10error_codeE:
 1590|  1.95M|    {
 1591|  1.95M|        semantic_tag tag = semantic_tag::none;
 1592|  1.95M|        if (other_tags_[item_tag])
  ------------------
  |  Branch (1592:13): [True: 760, False: 1.95M]
  ------------------
 1593|    760|        {
 1594|    760|            switch (raw_tag_)
 1595|    760|            {
 1596|    412|                case 0:
  ------------------
  |  Branch (1596:17): [True: 412, False: 348]
  ------------------
 1597|    412|                    tag = semantic_tag::datetime;
 1598|    412|                    break;
 1599|     66|                case 32:
  ------------------
  |  Branch (1599:17): [True: 66, False: 694]
  ------------------
 1600|     66|                    tag = semantic_tag::uri;
 1601|     66|                    break;
 1602|      0|                case 33:
  ------------------
  |  Branch (1602:17): [True: 0, False: 760]
  ------------------
 1603|      0|                    tag = semantic_tag::base64url;
 1604|      0|                    break;
 1605|    124|                case 34:
  ------------------
  |  Branch (1605:17): [True: 124, False: 636]
  ------------------
 1606|    124|                    tag = semantic_tag::base64;
 1607|    124|                    break;
 1608|    158|                default:
  ------------------
  |  Branch (1608:17): [True: 158, False: 602]
  ------------------
 1609|    158|                    break;
 1610|    760|            }
 1611|    760|            other_tags_[item_tag] = false;
 1612|    760|        }
 1613|  1.95M|        visitor.string_value(v, tag, *this, ec);
 1614|  1.95M|        more_ = !cursor_mode_;
 1615|  1.95M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_bufferC2ERKNS_16byte_string_viewE:
  159|  9.98k|            : bytes(b)
  160|  9.98k|        {
  161|  9.98k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringINS8_28read_byte_string_from_bufferEEEvT_RNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
 1632|  9.98k|    {
 1633|  9.98k|        if (other_tags_[item_tag])
  ------------------
  |  Branch (1633:13): [True: 8.03k, False: 1.95k]
  ------------------
 1634|  8.03k|        {
 1635|  8.03k|            switch (raw_tag_)
 1636|  8.03k|            {
 1637|    128|                case 0x2:
  ------------------
  |  Branch (1637:17): [True: 128, False: 7.90k]
  ------------------
 1638|    128|                {
 1639|    128|                    bytes_buffer_.clear();
 1640|    128|                    read(bytes_buffer_,ec);
 1641|    128|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    128|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 128]
  |  |  ------------------
  ------------------
 1642|      0|                    {
 1643|      0|                        more_ = false;
 1644|      0|                        return;
 1645|      0|                    }
 1646|    128|                    bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1647|    128|                    text_buffer_.clear();
 1648|    128|                    n.write_string(text_buffer_);
 1649|    128|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 1650|    128|                    more_ = !cursor_mode_;
 1651|    128|                    break;
 1652|    128|                }
 1653|    152|                case 0x3:
  ------------------
  |  Branch (1653:17): [True: 152, False: 7.87k]
  ------------------
 1654|    152|                {
 1655|    152|                    bytes_buffer_.clear();
 1656|    152|                    read(bytes_buffer_,ec);
 1657|    152|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    152|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 152]
  |  |  ------------------
  ------------------
 1658|      0|                    {
 1659|      0|                        more_ = false;
 1660|      0|                        return;
 1661|      0|                    }
 1662|    152|                    bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1663|    152|                    n = -1 - n;
 1664|    152|                    text_buffer_.clear();
 1665|    152|                    n.write_string(text_buffer_);
 1666|    152|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 1667|    152|                    more_ = !cursor_mode_;
 1668|    152|                    break;
 1669|    152|                }
 1670|      1|                case 0x15:
  ------------------
  |  Branch (1670:17): [True: 1, False: 8.02k]
  ------------------
 1671|      1|                {
 1672|      1|                    read(bytes_buffer_,ec);
 1673|      1|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      1|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1]
  |  |  ------------------
  ------------------
 1674|      0|                    {
 1675|      0|                        more_ = false;
 1676|      0|                        return;
 1677|      0|                    }
 1678|      1|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base64url, *this, ec);
 1679|      1|                    more_ = !cursor_mode_;
 1680|      1|                    break;
 1681|      1|                }
 1682|      0|                case 0x16:
  ------------------
  |  Branch (1682:17): [True: 0, False: 8.03k]
  ------------------
 1683|      0|                {
 1684|      0|                    read(bytes_buffer_,ec);
 1685|      0|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1686|      0|                    {
 1687|      0|                        more_ = false;
 1688|      0|                        return;
 1689|      0|                    }
 1690|      0|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base64, *this, ec);
 1691|      0|                    more_ = !cursor_mode_;
 1692|      0|                    break;
 1693|      0|                }
 1694|      0|                case 0x17:
  ------------------
  |  Branch (1694:17): [True: 0, False: 8.03k]
  ------------------
 1695|      0|                {
 1696|      0|                    read(bytes_buffer_,ec);
 1697|      0|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1698|      0|                    {
 1699|      0|                        more_ = false;
 1700|      0|                        return;
 1701|      0|                    }
 1702|      0|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base16, *this, ec);
 1703|      0|                    more_ = !cursor_mode_;
 1704|      0|                    break;
 1705|      0|                }
 1706|      0|                case 0x40:
  ------------------
  |  Branch (1706:17): [True: 0, False: 8.03k]
  ------------------
 1707|      0|                {
 1708|      0|                    is_typed_array_ = true;
 1709|      0|                    element_type_ = typed_array_element_types::uint8;
 1710|      0|                    array_buffer_.clear();
 1711|      0|                    read(array_buffer_,ec);
 1712|      0|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1713|      0|                    {
 1714|      0|                        more_ = false;
 1715|      0|                        return;
 1716|      0|                    }
 1717|      0|                    auto ta = typed_array_cast<const uint8_t>(array_buffer_);
 1718|      0|                    if (is_multi_dim_)
  ------------------
  |  Branch (1718:25): [True: 0, False: 0]
  ------------------
 1719|      0|                    {
 1720|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<const uint8_t>>(ta, extents_, order_);
 1721|      0|                    }
 1722|      0|                    else
 1723|      0|                    {
 1724|      0|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<const uint8_t>>(ta);
 1725|      0|                    }
 1726|      0|                    typed_array_iter_->next(visitor, *this, ec);
 1727|      0|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1728|      0|                    more_ = !cursor_mode_;
 1729|      0|                    break;
 1730|      0|                }
 1731|      7|                case 0x44:
  ------------------
  |  Branch (1731:17): [True: 7, False: 8.02k]
  ------------------
 1732|      7|                {
 1733|      7|                    is_typed_array_ = true;
 1734|      7|                    element_type_ = typed_array_element_types::uint8;
 1735|      7|                    typed_array_tag_ = semantic_tag::clamped;
 1736|      7|                    array_buffer_.clear();
 1737|      7|                    read(array_buffer_,ec);
 1738|      7|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      7|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 7]
  |  |  ------------------
  ------------------
 1739|      0|                    {
 1740|      0|                        more_ = false;
 1741|      0|                        return;
 1742|      0|                    }
 1743|      7|                    auto ta = typed_array_cast<const uint8_t>(array_buffer_);
 1744|      7|                    if (is_multi_dim_)
  ------------------
  |  Branch (1744:25): [True: 0, False: 7]
  ------------------
 1745|      0|                    {
 1746|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<const uint8_t>>(ta, extents_, order_);
 1747|      0|                    }
 1748|      7|                    else
 1749|      7|                    {
 1750|      7|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<const uint8_t>>(ta, semantic_tag::clamped);
 1751|      7|                    }
 1752|      7|                    typed_array_iter_->next(visitor, *this, ec);
 1753|      7|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1754|      7|                    more_ = !cursor_mode_;
 1755|      7|                    break;
 1756|      7|                }
 1757|      0|                case 0x41:
  ------------------
  |  Branch (1757:17): [True: 0, False: 8.03k]
  ------------------
 1758|      0|                case 0x45:
  ------------------
  |  Branch (1758:17): [True: 0, False: 8.03k]
  ------------------
 1759|      0|                {
 1760|      0|                    is_typed_array_ = true;
 1761|      0|                    element_type_ = typed_array_element_types::uint16;
 1762|      0|                    array_buffer_.clear();
 1763|      0|                    read(array_buffer_,ec);
 1764|      0|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1765|      0|                    {
 1766|      0|                        more_ = false;
 1767|      0|                        return;
 1768|      0|                    }
 1769|      0|                    const uint8_t tag = (uint8_t)raw_tag_;
 1770|      0|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1771|      0|                    auto ta = typed_array_cast<uint16_t>(array_buffer_);
 1772|      0|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1772:25): [True: 0, False: 0]
  ------------------
 1773|      0|                    {
 1774|      0|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1774:49): [True: 0, False: 0]
  ------------------
 1775|      0|                        {
 1776|      0|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 1777|      0|                        }
 1778|      0|                    }
 1779|      0|                    if (is_multi_dim_)
  ------------------
  |  Branch (1779:25): [True: 0, False: 0]
  ------------------
 1780|      0|                    {
 1781|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<uint16_t>>(ta, extents_, order_);
 1782|      0|                    }
 1783|      0|                    else
 1784|      0|                    {
 1785|      0|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<uint16_t>>(ta);
 1786|      0|                    }
 1787|      0|                    typed_array_iter_->next(visitor, *this, ec);
 1788|      0|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1789|      0|                    more_ = !cursor_mode_;
 1790|      0|                    break;
 1791|      0|                }
 1792|     27|                case 0x42:
  ------------------
  |  Branch (1792:17): [True: 27, False: 8.00k]
  ------------------
 1793|     27|                case 0x46:
  ------------------
  |  Branch (1793:17): [True: 0, False: 8.03k]
  ------------------
 1794|     27|                {
 1795|     27|                    is_typed_array_ = true;
 1796|     27|                    element_type_ = typed_array_element_types::uint32;
 1797|     27|                    array_buffer_.clear();
 1798|     27|                    read(array_buffer_,ec);
 1799|     27|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|     27|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 27]
  |  |  ------------------
  ------------------
 1800|      0|                    {
 1801|      0|                        more_ = false;
 1802|      0|                        return;
 1803|      0|                    }
 1804|     27|                    const uint8_t tag = (uint8_t)raw_tag_;
 1805|     27|                    jsoncons::endian e = get_typed_array_endianness(tag);
 1806|     27|                    auto ta = typed_array_cast<uint32_t>(array_buffer_);
 1807|     27|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1807:25): [True: 27, False: 0]
  ------------------
 1808|     27|                    {
 1809|     54|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1809:49): [True: 27, False: 27]
  ------------------
 1810|     27|                        {
 1811|     27|                            ta[i] = binary::byte_swap<uint32_t>(ta[i]);
 1812|     27|                        }
 1813|     27|                    }
 1814|     27|                    if (is_multi_dim_)
  ------------------
  |  Branch (1814:25): [True: 0, False: 27]
  ------------------
 1815|      0|                    {
 1816|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<uint32_t>>(ta, extents_, order_);
 1817|      0|                    }
 1818|     27|                    else
 1819|     27|                    {
 1820|     27|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<uint32_t>>(ta);
 1821|     27|                    }
 1822|     27|                    typed_array_iter_->next(visitor, *this, ec);
 1823|     27|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1824|     27|                    more_ = !cursor_mode_;
 1825|     27|                    break;
 1826|     27|                }
 1827|    568|                case 0x43:
  ------------------
  |  Branch (1827:17): [True: 568, False: 7.46k]
  ------------------
 1828|    568|                case 0x47:
  ------------------
  |  Branch (1828:17): [True: 0, False: 8.03k]
  ------------------
 1829|    568|                {
 1830|    568|                    is_typed_array_ = true;
 1831|    568|                    element_type_ = typed_array_element_types::uint64;
 1832|    568|                    array_buffer_.clear();
 1833|    568|                    read(array_buffer_,ec);
 1834|    568|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    568|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 568]
  |  |  ------------------
  ------------------
 1835|      0|                    {
 1836|      0|                        more_ = false;
 1837|      0|                        return;
 1838|      0|                    }
 1839|    568|                    const uint8_t tag = (uint8_t)raw_tag_;
 1840|    568|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1841|    568|                    auto ta = typed_array_cast<uint64_t>(array_buffer_);
 1842|    568|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1842:25): [True: 568, False: 0]
  ------------------
 1843|    568|                    {
 1844|  1.13k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1844:49): [True: 568, False: 568]
  ------------------
 1845|    568|                        {
 1846|    568|                            ta[i] = binary::byte_swap<uint64_t>(ta[i]);
 1847|    568|                        }
 1848|    568|                    }
 1849|    568|                    if (is_multi_dim_)
  ------------------
  |  Branch (1849:25): [True: 0, False: 568]
  ------------------
 1850|      0|                    {
 1851|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<uint64_t>>(ta, extents_, order_);
 1852|      0|                    }
 1853|    568|                    else
 1854|    568|                    {
 1855|    568|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<uint64_t>>(ta);
 1856|    568|                    }
 1857|    568|                    typed_array_iter_->next(visitor, *this, ec);
 1858|    568|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1859|    568|                    more_ = !cursor_mode_;
 1860|    568|                    break;
 1861|    568|                }
 1862|      9|                case 0x48:
  ------------------
  |  Branch (1862:17): [True: 9, False: 8.02k]
  ------------------
 1863|      9|                {
 1864|      9|                    is_typed_array_ = true;
 1865|      9|                    element_type_ = typed_array_element_types::int8;
 1866|      9|                    array_buffer_.clear();
 1867|      9|                    read(array_buffer_,ec);
 1868|      9|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      9|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 9]
  |  |  ------------------
  ------------------
 1869|      0|                    {
 1870|      0|                        more_ = false;
 1871|      0|                        return;
 1872|      0|                    }
 1873|      9|                    auto ta = typed_array_cast<int8_t>(array_buffer_);
 1874|      9|                    if (is_multi_dim_)
  ------------------
  |  Branch (1874:25): [True: 0, False: 9]
  ------------------
 1875|      0|                    {
 1876|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<int8_t>>(ta, extents_, order_);
 1877|      0|                    }
 1878|      9|                    else
 1879|      9|                    {
 1880|      9|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<int8_t>>(ta);
 1881|      9|                    }
 1882|      9|                    typed_array_iter_->next(visitor, *this, ec);
 1883|      9|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1884|      9|                    more_ = !cursor_mode_;
 1885|      9|                    break;
 1886|      9|                }
 1887|    423|                case 0x49:
  ------------------
  |  Branch (1887:17): [True: 423, False: 7.60k]
  ------------------
 1888|    423|                case 0x4d:
  ------------------
  |  Branch (1888:17): [True: 0, False: 8.03k]
  ------------------
 1889|    423|                {
 1890|    423|                    is_typed_array_ = true;
 1891|    423|                    element_type_ = typed_array_element_types::int16;
 1892|    423|                    array_buffer_.clear();
 1893|    423|                    read(array_buffer_,ec);
 1894|    423|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    423|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 423]
  |  |  ------------------
  ------------------
 1895|      0|                    {
 1896|      0|                        more_ = false;
 1897|      0|                        return;
 1898|      0|                    }
 1899|    423|                    const uint8_t tag = (uint8_t)raw_tag_;
 1900|    423|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1901|    423|                    auto ta = typed_array_cast<int16_t>(array_buffer_);
 1902|    423|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1902:25): [True: 423, False: 0]
  ------------------
 1903|    423|                    {
 1904|   105k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1904:49): [True: 105k, False: 423]
  ------------------
 1905|   105k|                        {
 1906|   105k|                            ta[i] = binary::byte_swap<int16_t>(ta[i]);
 1907|   105k|                        }
 1908|    423|                    }
 1909|    423|                    if (is_multi_dim_)
  ------------------
  |  Branch (1909:25): [True: 0, False: 423]
  ------------------
 1910|      0|                    {
 1911|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<int16_t>>(ta, extents_, order_);
 1912|      0|                    }
 1913|    423|                    else
 1914|    423|                    {
 1915|    423|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<int16_t>>(ta);
 1916|    423|                    }
 1917|    423|                    typed_array_iter_->next(visitor, *this, ec);
 1918|    423|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1919|    423|                    more_ = !cursor_mode_;
 1920|    423|                    break;
 1921|    423|                }
 1922|      0|                case 0x4a:
  ------------------
  |  Branch (1922:17): [True: 0, False: 8.03k]
  ------------------
 1923|     10|                case 0x4e:
  ------------------
  |  Branch (1923:17): [True: 10, False: 8.02k]
  ------------------
 1924|     10|                {
 1925|     10|                    is_typed_array_ = true;
 1926|     10|                    element_type_ = typed_array_element_types::int32;
 1927|     10|                    array_buffer_.clear();
 1928|     10|                    read(array_buffer_,ec);
 1929|     10|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|     10|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 10]
  |  |  ------------------
  ------------------
 1930|      0|                    {
 1931|      0|                        more_ = false;
 1932|      0|                        return;
 1933|      0|                    }
 1934|     10|                    const uint8_t tag = (uint8_t)raw_tag_;
 1935|     10|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1936|     10|                    auto ta = typed_array_cast<int32_t>(array_buffer_);
 1937|     10|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1937:25): [True: 0, False: 10]
  ------------------
 1938|      0|                    {
 1939|      0|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1939:49): [True: 0, False: 0]
  ------------------
 1940|      0|                        {
 1941|      0|                            ta[i] = binary::byte_swap<int32_t>(ta[i]);
 1942|      0|                        }
 1943|      0|                    }
 1944|     10|                    if (is_multi_dim_)
  ------------------
  |  Branch (1944:25): [True: 0, False: 10]
  ------------------
 1945|      0|                    {
 1946|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<int32_t>>(ta, extents_, order_);
 1947|      0|                    }
 1948|     10|                    else
 1949|     10|                    {
 1950|     10|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<int32_t>>(ta);
 1951|     10|                    }
 1952|     10|                    typed_array_iter_->next(visitor, *this, ec);
 1953|     10|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1954|     10|                    more_ = !cursor_mode_;
 1955|     10|                    break;
 1956|     10|                }
 1957|  1.68k|                case 0x4b:
  ------------------
  |  Branch (1957:17): [True: 1.68k, False: 6.34k]
  ------------------
 1958|  1.68k|                case 0x4f:
  ------------------
  |  Branch (1958:17): [True: 0, False: 8.03k]
  ------------------
 1959|  1.68k|                {
 1960|  1.68k|                    is_typed_array_ = true;
 1961|  1.68k|                    element_type_ = typed_array_element_types::int64;
 1962|  1.68k|                    array_buffer_.clear();
 1963|  1.68k|                    read(array_buffer_,ec);
 1964|  1.68k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.68k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.68k]
  |  |  ------------------
  ------------------
 1965|      0|                    {
 1966|      0|                        more_ = false;
 1967|      0|                        return;
 1968|      0|                    }
 1969|  1.68k|                    const uint8_t tag = (uint8_t)raw_tag_;
 1970|  1.68k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1971|  1.68k|                    auto ta = typed_array_cast<int64_t>(array_buffer_);
 1972|  1.68k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1972:25): [True: 1.68k, False: 0]
  ------------------
 1973|  1.68k|                    {
 1974|   107k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1974:49): [True: 105k, False: 1.68k]
  ------------------
 1975|   105k|                        {
 1976|   105k|                            ta[i] = binary::byte_swap<int64_t>(ta[i]);
 1977|   105k|                        }
 1978|  1.68k|                    }
 1979|  1.68k|                    if (is_multi_dim_)
  ------------------
  |  Branch (1979:25): [True: 0, False: 1.68k]
  ------------------
 1980|      0|                    {
 1981|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<int64_t>>(ta, extents_, order_);
 1982|      0|                    }
 1983|  1.68k|                    else
 1984|  1.68k|                    {
 1985|  1.68k|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<int64_t>>(ta);
 1986|  1.68k|                    }
 1987|  1.68k|                    typed_array_iter_->next(visitor, *this, ec);
 1988|  1.68k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1989|  1.68k|                    more_ = !cursor_mode_;
 1990|  1.68k|                    break;
 1991|  1.68k|                }
 1992|      7|                case 0x50:
  ------------------
  |  Branch (1992:17): [True: 7, False: 8.02k]
  ------------------
 1993|  4.10k|                case 0x54:
  ------------------
  |  Branch (1993:17): [True: 4.10k, False: 3.92k]
  ------------------
 1994|  4.10k|                {
 1995|  4.10k|                    is_typed_array_ = true;
 1996|  4.10k|                    element_type_ = typed_array_element_types::half_float;
 1997|  4.10k|                    array_buffer_.clear();
 1998|  4.10k|                    read(array_buffer_,ec);
 1999|  4.10k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.10k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 4.10k]
  |  |  ------------------
  ------------------
 2000|      0|                    {
 2001|      0|                        more_ = false;
 2002|      0|                        return;
 2003|      0|                    }
 2004|  4.10k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2005|  4.10k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2006|  4.10k|                    auto ta = typed_array_cast<uint16_t>(array_buffer_);
 2007|  4.10k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2007:25): [True: 7, False: 4.10k]
  ------------------
 2008|      7|                    {
 2009|  1.64k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2009:49): [True: 1.63k, False: 7]
  ------------------
 2010|  1.63k|                        {
 2011|  1.63k|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 2012|  1.63k|                        }
 2013|      7|                    }
 2014|  4.10k|                    if (is_multi_dim_)
  ------------------
  |  Branch (2014:25): [True: 15, False: 4.09k]
  ------------------
 2015|     15|                    {
 2016|     15|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<uint16_t>>(ta, extents_, order_);
 2017|     15|                    }
 2018|  4.09k|                    else
 2019|  4.09k|                    {
 2020|  4.09k|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<uint16_t,decode_half>>(ta);
 2021|  4.09k|                    }
 2022|  4.10k|                    typed_array_iter_->next(visitor, *this, ec);
 2023|  4.10k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2024|  4.10k|                    more_ = !cursor_mode_;
 2025|  4.10k|                    break;
 2026|  4.10k|                }
 2027|    191|                case 0x51:
  ------------------
  |  Branch (2027:17): [True: 191, False: 7.83k]
  ------------------
 2028|    213|                case 0x55:
  ------------------
  |  Branch (2028:17): [True: 22, False: 8.00k]
  ------------------
 2029|    213|                {
 2030|    213|                    is_typed_array_ = true;
 2031|    213|                    element_type_ = typed_array_element_types::float32;
 2032|    213|                    array_buffer_.clear();
 2033|    213|                    read(array_buffer_,ec);
 2034|    213|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    213|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 213]
  |  |  ------------------
  ------------------
 2035|      0|                    {
 2036|      0|                        more_ = false;
 2037|      0|                        return;
 2038|      0|                    }
 2039|    213|                    const uint8_t tag = (uint8_t)raw_tag_;
 2040|    213|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2041|    213|                    auto ta = typed_array_cast<float>(array_buffer_);
 2042|    213|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2042:25): [True: 191, False: 22]
  ------------------
 2043|    191|                    {
 2044|  28.4k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2044:49): [True: 28.2k, False: 191]
  ------------------
 2045|  28.2k|                        {
 2046|  28.2k|                            ta[i] = binary::byte_swap<float>(ta[i]);
 2047|  28.2k|                        }
 2048|    191|                    }
 2049|    213|                    if (is_multi_dim_)
  ------------------
  |  Branch (2049:25): [True: 0, False: 213]
  ------------------
 2050|      0|                    {
 2051|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<float>>(ta, extents_, order_);
 2052|      0|                    }
 2053|    213|                    else
 2054|    213|                    {
 2055|    213|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<float>>(ta);
 2056|    213|                    }
 2057|    213|                    typed_array_iter_->next(visitor, *this, ec);
 2058|    213|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2059|    213|                    more_ = !cursor_mode_;
 2060|    213|                    break;
 2061|    213|                }
 2062|     54|                case 0x52:
  ------------------
  |  Branch (2062:17): [True: 54, False: 7.97k]
  ------------------
 2063|    120|                case 0x56:
  ------------------
  |  Branch (2063:17): [True: 66, False: 7.96k]
  ------------------
 2064|    120|                {
 2065|    120|                    is_typed_array_ = true;
 2066|    120|                    element_type_ = typed_array_element_types::float64 ;
 2067|    120|                    array_buffer_.clear();
 2068|    120|                    read(array_buffer_,ec);
 2069|    120|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    120|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 120]
  |  |  ------------------
  ------------------
 2070|      0|                    {
 2071|      0|                        more_ = false;
 2072|      0|                        return;
 2073|      0|                    }
 2074|    120|                    const uint8_t tag = (uint8_t)raw_tag_;
 2075|    120|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2076|    120|                    auto ta = typed_array_cast<double>(array_buffer_);
 2077|    120|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2077:25): [True: 54, False: 66]
  ------------------
 2078|     54|                    {
 2079|  11.5k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2079:49): [True: 11.4k, False: 54]
  ------------------
 2080|  11.4k|                        {
 2081|  11.4k|                            ta[i] = binary::byte_swap<double>(ta[i]);
 2082|  11.4k|                        }
 2083|     54|                    }
 2084|    120|                    if (is_multi_dim_)
  ------------------
  |  Branch (2084:25): [True: 0, False: 120]
  ------------------
 2085|      0|                    {
 2086|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<double>>(ta, extents_, order_);
 2087|      0|                    }
 2088|    120|                    else
 2089|    120|                    {
 2090|    120|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<double>>(ta);
 2091|    120|                    }
 2092|    120|                    typed_array_iter_->next(visitor, *this, ec);
 2093|    120|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2094|    120|                    more_ = !cursor_mode_;
 2095|    120|                    break;
 2096|    120|                }
 2097|    577|                default:
  ------------------
  |  Branch (2097:17): [True: 577, False: 7.45k]
  ------------------
 2098|    577|                {
 2099|    577|                    read(bytes_buffer_,ec);
 2100|    577|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    577|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 577]
  |  |  ------------------
  ------------------
 2101|      0|                    {
 2102|      0|                        more_ = false;
 2103|      0|                        return;
 2104|      0|                    }
 2105|    577|                    visitor.byte_string_value(bytes_buffer_, raw_tag_, *this, ec);
 2106|    577|                    more_ = !cursor_mode_;
 2107|    577|                    break;
 2108|    577|                }
 2109|  8.03k|            }
 2110|  8.03k|            other_tags_[item_tag] = false;
 2111|  8.03k|        }
 2112|  1.95k|        else
 2113|  1.95k|        {
 2114|  1.95k|            read(bytes_buffer_,ec);
 2115|  1.95k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.95k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.95k]
  |  |  ------------------
  ------------------
 2116|      0|            {
 2117|      0|                return;
 2118|      0|            }
 2119|  1.95k|            visitor.byte_string_value(bytes_buffer_, semantic_tag::none, *this, ec);
 2120|  1.95k|            more_ = !cursor_mode_;
 2121|  1.95k|        }
 2122|  9.98k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_bufferclINS3_6vectorIhS5_EEEEvRT_RNS3_10error_codeE:
  164|  9.98k|        {
  165|  9.98k|            c.clear();
  166|  9.98k|            c.reserve(bytes.size());
  167|  9.98k|            for (auto b : bytes)
  ------------------
  |  Branch (167:25): [True: 15.7M, False: 9.98k]
  ------------------
  168|  15.7M|            {
  169|  15.7M|                c.push_back(b);
  170|  15.7M|            }
  171|  9.98k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE26get_typed_array_endiannessEh:
 1618|  23.2k|    {
 1619|  23.2k|        return ((tag & detail::cbor_array_tags_e_mask) >> detail::cbor_array_tags_e_shift) == 0 ? jsoncons::endian::big : jsoncons::endian::little; 
  ------------------
  |  Branch (1619:16): [True: 18.6k, False: 4.63k]
  ------------------
 1620|  23.2k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10read_int64ERNS3_10error_codeE:
 1070|  6.94M|    {
 1071|  6.94M|        int64_t val = 0;
 1072|       |
 1073|  6.94M|        auto ch = source_.peek();
 1074|  6.94M|        if (ch.eof)
  ------------------
  |  Branch (1074:13): [True: 0, False: 6.94M]
  ------------------
 1075|      0|        {
 1076|      0|            ec = cbor_errc::unexpected_eof;
 1077|      0|            more_ = false;
 1078|      0|            return val;
 1079|      0|        }
 1080|       |
 1081|  6.94M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(ch.value);
 1082|  6.94M|        uint8_t info = get_additional_information_value(ch.value);
 1083|  6.94M|        switch (major_type)
 1084|  6.94M|        {
 1085|  6.94M|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1085:13): [True: 6.94M, False: 0]
  ------------------
 1086|  6.94M|                source_.ignore(1);
 1087|  6.94M|                switch (info)
  ------------------
  |  Branch (1087:25): [True: 6.93M, False: 6.15k]
  ------------------
 1088|  6.94M|                {
 1089|  6.92M|                    case JSONCONS_EXT_CBOR_0x00_0x17: // 0x00..0x17 (0..23)
  ------------------
  |  |   18|  6.92M|    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: 399, False: 6.94M]
  |  |  |  Branch (18:20): [True: 1.11k, False: 6.93M]
  |  |  |  Branch (18:30): [True: 7.15k, False: 6.93M]
  |  |  |  Branch (18:40): [True: 790, False: 6.93M]
  |  |  |  Branch (18:50): [True: 507, False: 6.94M]
  |  |  |  Branch (18:60): [True: 594, False: 6.94M]
  |  |  |  Branch (18:70): [True: 297, False: 6.94M]
  |  |  |  Branch (18:80): [True: 5.19M, False: 1.74M]
  |  |  |  Branch (18:90): [True: 7.80k, False: 6.93M]
  |  |  |  Branch (18:100): [True: 1.52k, False: 6.93M]
  |  |  |  Branch (18:110): [True: 1.33k, False: 6.93M]
  |  |  |  Branch (18:120): [True: 24.1k, False: 6.91M]
  |  |  |  Branch (18:130): [True: 816k, False: 6.12M]
  |  |  |  Branch (18:140): [True: 15.9k, False: 6.92M]
  |  |  |  Branch (18:150): [True: 1.26k, False: 6.93M]
  |  |  |  Branch (18:160): [True: 3.58k, False: 6.93M]
  |  |  |  Branch (18:170): [True: 8.95k, False: 6.93M]
  |  |  |  Branch (18:180): [True: 8.47k, False: 6.93M]
  |  |  |  Branch (18:190): [True: 1.58k, False: 6.93M]
  |  |  |  Branch (18:200): [True: 637, False: 6.94M]
  |  |  |  Branch (18:210): [True: 2.27k, False: 6.93M]
  |  |  |  Branch (18:220): [True: 10.4k, False: 6.93M]
  |  |  ------------------
  ------------------
  |  Branch (1089:21): [True: 813k, False: 6.12M]
  ------------------
 1090|  6.92M|                    {
 1091|  6.92M|                        val = static_cast<int8_t>(- 1 - info);
 1092|  6.92M|                        break;
 1093|   104M|                    }
 1094|  1.75k|                    case 0x18: // Negative integer (one-byte uint8_t follows)
  ------------------
  |  Branch (1094:21): [True: 1.75k, False: 6.93M]
  ------------------
 1095|  1.75k|                        {
 1096|  1.75k|                            uint8_t b;
 1097|  1.75k|                            if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1097:33): [True: 0, False: 1.75k]
  ------------------
 1098|      0|                            {
 1099|      0|                                ec = cbor_errc::unexpected_eof;
 1100|      0|                                more_ = false;
 1101|      0|                                return val;
 1102|      0|                            }
 1103|  1.75k|                            val = static_cast<int64_t>(-1) - static_cast<int64_t>(b);
 1104|  1.75k|                            break;
 1105|  1.75k|                        }
 1106|       |
 1107|  2.60k|                    case 0x19: // Negative integer -1-n (two-byte uint16_t follows)
  ------------------
  |  Branch (1107:21): [True: 2.60k, False: 6.93M]
  ------------------
 1108|  2.60k|                        {
 1109|  2.60k|                            uint8_t buf[sizeof(uint16_t)];
 1110|  2.60k|                            if (source_.read(buf, sizeof(uint16_t)) != sizeof(uint16_t))
  ------------------
  |  Branch (1110:33): [True: 0, False: 2.60k]
  ------------------
 1111|      0|                            {
 1112|      0|                                ec = cbor_errc::unexpected_eof;
 1113|      0|                                more_ = false;
 1114|      0|                                return val;
 1115|      0|                            }
 1116|  2.60k|                            auto x = binary::big_to_native<uint16_t>(buf, sizeof(buf));
 1117|  2.60k|                            val = static_cast<int64_t>(-1)- x;
 1118|  2.60k|                            break;
 1119|  2.60k|                        }
 1120|       |
 1121|    192|                    case 0x1a: // Negative integer -1-n (four-byte uint32_t follows)
  ------------------
  |  Branch (1121:21): [True: 192, False: 6.94M]
  ------------------
 1122|    192|                        {
 1123|    192|                            uint8_t buf[sizeof(uint32_t)];
 1124|    192|                            if (source_.read(buf, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (1124:33): [True: 0, False: 192]
  ------------------
 1125|      0|                            {
 1126|      0|                                ec = cbor_errc::unexpected_eof;
 1127|      0|                                more_ = false;
 1128|      0|                                return val;
 1129|      0|                            }
 1130|    192|                            auto x = binary::big_to_native<uint32_t>(buf, sizeof(buf));
 1131|    192|                            val = static_cast<int64_t>(-1)- x;
 1132|    192|                            break;
 1133|    192|                        }
 1134|       |
 1135|    141|                    case 0x1b: // Negative integer -1-n (eight-byte uint64_t follows)
  ------------------
  |  Branch (1135:21): [True: 141, False: 6.94M]
  ------------------
 1136|    141|                        {
 1137|    141|                            uint8_t buf[sizeof(uint64_t)];
 1138|    141|                            if (source_.read(buf, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (1138:33): [True: 0, False: 141]
  ------------------
 1139|      0|                            {
 1140|      0|                                ec = cbor_errc::unexpected_eof;
 1141|      0|                                more_ = false;
 1142|      0|                                return val;
 1143|      0|                            }
 1144|    141|                            auto x = binary::big_to_native<uint64_t>(buf, sizeof(buf));
 1145|    141|                            val = static_cast<int64_t>(-1)- static_cast<int64_t>(x);
 1146|    141|                            break;
 1147|    141|                        }
 1148|  6.94M|                }
 1149|  6.94M|                break;
 1150|       |
 1151|  6.94M|                case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1151:17): [True: 0, False: 6.94M]
  ------------------
 1152|      0|                {
 1153|      0|                    uint64_t x = read_uint64(ec);
 1154|      0|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1155|      0|                    {
 1156|      0|                        return 0;
 1157|      0|                    }
 1158|      0|                    if (x <= static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
  ------------------
  |  Branch (1158:25): [True: 0, False: 0]
  ------------------
 1159|      0|                    {
 1160|      0|                        val = x;
 1161|      0|                    }
 1162|      0|                    else
 1163|      0|                    {
 1164|       |                        // error;
 1165|      0|                    }
 1166|       |                    
 1167|      0|                    break;
 1168|      0|                }
 1169|      0|                break;
 1170|      0|            default:
  ------------------
  |  Branch (1170:13): [True: 0, False: 6.94M]
  ------------------
 1171|      0|                break;
 1172|  6.94M|        }
 1173|       |
 1174|  6.94M|        return val;
 1175|  6.94M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_sourceC2EPS8_:
  179|  6.68M|            : source(source)
  180|  6.68M|        {
  181|  6.68M|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringINS8_28read_byte_string_from_sourceEEEvT_RNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
 1632|  6.68M|    {
 1633|  6.68M|        if (other_tags_[item_tag])
  ------------------
  |  Branch (1633:13): [True: 18.5k, False: 6.66M]
  ------------------
 1634|  18.5k|        {
 1635|  18.5k|            switch (raw_tag_)
 1636|  18.5k|            {
 1637|     24|                case 0x2:
  ------------------
  |  Branch (1637:17): [True: 24, False: 18.5k]
  ------------------
 1638|     24|                {
 1639|     24|                    bytes_buffer_.clear();
 1640|     24|                    read(bytes_buffer_,ec);
 1641|     24|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|     24|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 24]
  |  |  ------------------
  ------------------
 1642|      0|                    {
 1643|      0|                        more_ = false;
 1644|      0|                        return;
 1645|      0|                    }
 1646|     24|                    bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1647|     24|                    text_buffer_.clear();
 1648|     24|                    n.write_string(text_buffer_);
 1649|     24|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 1650|     24|                    more_ = !cursor_mode_;
 1651|     24|                    break;
 1652|     24|                }
 1653|    173|                case 0x3:
  ------------------
  |  Branch (1653:17): [True: 173, False: 18.3k]
  ------------------
 1654|    173|                {
 1655|    173|                    bytes_buffer_.clear();
 1656|    173|                    read(bytes_buffer_,ec);
 1657|    173|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    173|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 173]
  |  |  ------------------
  ------------------
 1658|      0|                    {
 1659|      0|                        more_ = false;
 1660|      0|                        return;
 1661|      0|                    }
 1662|    173|                    bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1663|    173|                    n = -1 - n;
 1664|    173|                    text_buffer_.clear();
 1665|    173|                    n.write_string(text_buffer_);
 1666|    173|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 1667|    173|                    more_ = !cursor_mode_;
 1668|    173|                    break;
 1669|    173|                }
 1670|      0|                case 0x15:
  ------------------
  |  Branch (1670:17): [True: 0, False: 18.5k]
  ------------------
 1671|      0|                {
 1672|      0|                    read(bytes_buffer_,ec);
 1673|      0|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1674|      0|                    {
 1675|      0|                        more_ = false;
 1676|      0|                        return;
 1677|      0|                    }
 1678|      0|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base64url, *this, ec);
 1679|      0|                    more_ = !cursor_mode_;
 1680|      0|                    break;
 1681|      0|                }
 1682|      6|                case 0x16:
  ------------------
  |  Branch (1682:17): [True: 6, False: 18.5k]
  ------------------
 1683|      6|                {
 1684|      6|                    read(bytes_buffer_,ec);
 1685|      6|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      6|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 6]
  |  |  ------------------
  ------------------
 1686|      0|                    {
 1687|      0|                        more_ = false;
 1688|      0|                        return;
 1689|      0|                    }
 1690|      6|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base64, *this, ec);
 1691|      6|                    more_ = !cursor_mode_;
 1692|      6|                    break;
 1693|      6|                }
 1694|      0|                case 0x17:
  ------------------
  |  Branch (1694:17): [True: 0, False: 18.5k]
  ------------------
 1695|      0|                {
 1696|      0|                    read(bytes_buffer_,ec);
 1697|      0|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1698|      0|                    {
 1699|      0|                        more_ = false;
 1700|      0|                        return;
 1701|      0|                    }
 1702|      0|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base16, *this, ec);
 1703|      0|                    more_ = !cursor_mode_;
 1704|      0|                    break;
 1705|      0|                }
 1706|     60|                case 0x40:
  ------------------
  |  Branch (1706:17): [True: 60, False: 18.5k]
  ------------------
 1707|     60|                {
 1708|     60|                    is_typed_array_ = true;
 1709|     60|                    element_type_ = typed_array_element_types::uint8;
 1710|     60|                    array_buffer_.clear();
 1711|     60|                    read(array_buffer_,ec);
 1712|     60|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|     60|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 60]
  |  |  ------------------
  ------------------
 1713|      0|                    {
 1714|      0|                        more_ = false;
 1715|      0|                        return;
 1716|      0|                    }
 1717|     60|                    auto ta = typed_array_cast<const uint8_t>(array_buffer_);
 1718|     60|                    if (is_multi_dim_)
  ------------------
  |  Branch (1718:25): [True: 0, False: 60]
  ------------------
 1719|      0|                    {
 1720|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<const uint8_t>>(ta, extents_, order_);
 1721|      0|                    }
 1722|     60|                    else
 1723|     60|                    {
 1724|     60|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<const uint8_t>>(ta);
 1725|     60|                    }
 1726|     60|                    typed_array_iter_->next(visitor, *this, ec);
 1727|     60|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1728|     60|                    more_ = !cursor_mode_;
 1729|     60|                    break;
 1730|     60|                }
 1731|      0|                case 0x44:
  ------------------
  |  Branch (1731:17): [True: 0, False: 18.5k]
  ------------------
 1732|      0|                {
 1733|      0|                    is_typed_array_ = true;
 1734|      0|                    element_type_ = typed_array_element_types::uint8;
 1735|      0|                    typed_array_tag_ = semantic_tag::clamped;
 1736|      0|                    array_buffer_.clear();
 1737|      0|                    read(array_buffer_,ec);
 1738|      0|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1739|      0|                    {
 1740|      0|                        more_ = false;
 1741|      0|                        return;
 1742|      0|                    }
 1743|      0|                    auto ta = typed_array_cast<const uint8_t>(array_buffer_);
 1744|      0|                    if (is_multi_dim_)
  ------------------
  |  Branch (1744:25): [True: 0, False: 0]
  ------------------
 1745|      0|                    {
 1746|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<const uint8_t>>(ta, extents_, order_);
 1747|      0|                    }
 1748|      0|                    else
 1749|      0|                    {
 1750|      0|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<const uint8_t>>(ta, semantic_tag::clamped);
 1751|      0|                    }
 1752|      0|                    typed_array_iter_->next(visitor, *this, ec);
 1753|      0|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1754|      0|                    more_ = !cursor_mode_;
 1755|      0|                    break;
 1756|      0|                }
 1757|  13.2k|                case 0x41:
  ------------------
  |  Branch (1757:17): [True: 13.2k, False: 5.34k]
  ------------------
 1758|  13.2k|                case 0x45:
  ------------------
  |  Branch (1758:17): [True: 2, False: 18.5k]
  ------------------
 1759|  13.2k|                {
 1760|  13.2k|                    is_typed_array_ = true;
 1761|  13.2k|                    element_type_ = typed_array_element_types::uint16;
 1762|  13.2k|                    array_buffer_.clear();
 1763|  13.2k|                    read(array_buffer_,ec);
 1764|  13.2k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  13.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 13.2k]
  |  |  ------------------
  ------------------
 1765|      0|                    {
 1766|      0|                        more_ = false;
 1767|      0|                        return;
 1768|      0|                    }
 1769|  13.2k|                    const uint8_t tag = (uint8_t)raw_tag_;
 1770|  13.2k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1771|  13.2k|                    auto ta = typed_array_cast<uint16_t>(array_buffer_);
 1772|  13.2k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1772:25): [True: 13.2k, False: 2]
  ------------------
 1773|  13.2k|                    {
 1774|  13.2k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1774:49): [True: 28, False: 13.2k]
  ------------------
 1775|     28|                        {
 1776|     28|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 1777|     28|                        }
 1778|  13.2k|                    }
 1779|  13.2k|                    if (is_multi_dim_)
  ------------------
  |  Branch (1779:25): [True: 0, False: 13.2k]
  ------------------
 1780|      0|                    {
 1781|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<uint16_t>>(ta, extents_, order_);
 1782|      0|                    }
 1783|  13.2k|                    else
 1784|  13.2k|                    {
 1785|  13.2k|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<uint16_t>>(ta);
 1786|  13.2k|                    }
 1787|  13.2k|                    typed_array_iter_->next(visitor, *this, ec);
 1788|  13.2k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1789|  13.2k|                    more_ = !cursor_mode_;
 1790|  13.2k|                    break;
 1791|  13.2k|                }
 1792|     87|                case 0x42:
  ------------------
  |  Branch (1792:17): [True: 87, False: 18.4k]
  ------------------
 1793|    145|                case 0x46:
  ------------------
  |  Branch (1793:17): [True: 58, False: 18.5k]
  ------------------
 1794|    145|                {
 1795|    145|                    is_typed_array_ = true;
 1796|    145|                    element_type_ = typed_array_element_types::uint32;
 1797|    145|                    array_buffer_.clear();
 1798|    145|                    read(array_buffer_,ec);
 1799|    145|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    145|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 145]
  |  |  ------------------
  ------------------
 1800|      0|                    {
 1801|      0|                        more_ = false;
 1802|      0|                        return;
 1803|      0|                    }
 1804|    145|                    const uint8_t tag = (uint8_t)raw_tag_;
 1805|    145|                    jsoncons::endian e = get_typed_array_endianness(tag);
 1806|    145|                    auto ta = typed_array_cast<uint32_t>(array_buffer_);
 1807|    145|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1807:25): [True: 87, False: 58]
  ------------------
 1808|     87|                    {
 1809|     87|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1809:49): [True: 0, False: 87]
  ------------------
 1810|      0|                        {
 1811|      0|                            ta[i] = binary::byte_swap<uint32_t>(ta[i]);
 1812|      0|                        }
 1813|     87|                    }
 1814|    145|                    if (is_multi_dim_)
  ------------------
  |  Branch (1814:25): [True: 0, False: 145]
  ------------------
 1815|      0|                    {
 1816|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<uint32_t>>(ta, extents_, order_);
 1817|      0|                    }
 1818|    145|                    else
 1819|    145|                    {
 1820|    145|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<uint32_t>>(ta);
 1821|    145|                    }
 1822|    145|                    typed_array_iter_->next(visitor, *this, ec);
 1823|    145|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1824|    145|                    more_ = !cursor_mode_;
 1825|    145|                    break;
 1826|    145|                }
 1827|    178|                case 0x43:
  ------------------
  |  Branch (1827:17): [True: 178, False: 18.3k]
  ------------------
 1828|    243|                case 0x47:
  ------------------
  |  Branch (1828:17): [True: 65, False: 18.5k]
  ------------------
 1829|    243|                {
 1830|    243|                    is_typed_array_ = true;
 1831|    243|                    element_type_ = typed_array_element_types::uint64;
 1832|    243|                    array_buffer_.clear();
 1833|    243|                    read(array_buffer_,ec);
 1834|    243|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    243|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 243]
  |  |  ------------------
  ------------------
 1835|      0|                    {
 1836|      0|                        more_ = false;
 1837|      0|                        return;
 1838|      0|                    }
 1839|    243|                    const uint8_t tag = (uint8_t)raw_tag_;
 1840|    243|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1841|    243|                    auto ta = typed_array_cast<uint64_t>(array_buffer_);
 1842|    243|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1842:25): [True: 178, False: 65]
  ------------------
 1843|    178|                    {
 1844|    190|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1844:49): [True: 12, False: 178]
  ------------------
 1845|     12|                        {
 1846|     12|                            ta[i] = binary::byte_swap<uint64_t>(ta[i]);
 1847|     12|                        }
 1848|    178|                    }
 1849|    243|                    if (is_multi_dim_)
  ------------------
  |  Branch (1849:25): [True: 0, False: 243]
  ------------------
 1850|      0|                    {
 1851|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<uint64_t>>(ta, extents_, order_);
 1852|      0|                    }
 1853|    243|                    else
 1854|    243|                    {
 1855|    243|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<uint64_t>>(ta);
 1856|    243|                    }
 1857|    243|                    typed_array_iter_->next(visitor, *this, ec);
 1858|    243|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1859|    243|                    more_ = !cursor_mode_;
 1860|    243|                    break;
 1861|    243|                }
 1862|  1.07k|                case 0x48:
  ------------------
  |  Branch (1862:17): [True: 1.07k, False: 17.4k]
  ------------------
 1863|  1.07k|                {
 1864|  1.07k|                    is_typed_array_ = true;
 1865|  1.07k|                    element_type_ = typed_array_element_types::int8;
 1866|  1.07k|                    array_buffer_.clear();
 1867|  1.07k|                    read(array_buffer_,ec);
 1868|  1.07k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.07k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.07k]
  |  |  ------------------
  ------------------
 1869|      0|                    {
 1870|      0|                        more_ = false;
 1871|      0|                        return;
 1872|      0|                    }
 1873|  1.07k|                    auto ta = typed_array_cast<int8_t>(array_buffer_);
 1874|  1.07k|                    if (is_multi_dim_)
  ------------------
  |  Branch (1874:25): [True: 0, False: 1.07k]
  ------------------
 1875|      0|                    {
 1876|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<int8_t>>(ta, extents_, order_);
 1877|      0|                    }
 1878|  1.07k|                    else
 1879|  1.07k|                    {
 1880|  1.07k|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<int8_t>>(ta);
 1881|  1.07k|                    }
 1882|  1.07k|                    typed_array_iter_->next(visitor, *this, ec);
 1883|  1.07k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1884|  1.07k|                    more_ = !cursor_mode_;
 1885|  1.07k|                    break;
 1886|  1.07k|                }
 1887|    628|                case 0x49:
  ------------------
  |  Branch (1887:17): [True: 628, False: 17.9k]
  ------------------
 1888|    628|                case 0x4d:
  ------------------
  |  Branch (1888:17): [True: 0, False: 18.5k]
  ------------------
 1889|    628|                {
 1890|    628|                    is_typed_array_ = true;
 1891|    628|                    element_type_ = typed_array_element_types::int16;
 1892|    628|                    array_buffer_.clear();
 1893|    628|                    read(array_buffer_,ec);
 1894|    628|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    628|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 628]
  |  |  ------------------
  ------------------
 1895|      0|                    {
 1896|      0|                        more_ = false;
 1897|      0|                        return;
 1898|      0|                    }
 1899|    628|                    const uint8_t tag = (uint8_t)raw_tag_;
 1900|    628|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1901|    628|                    auto ta = typed_array_cast<int16_t>(array_buffer_);
 1902|    628|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1902:25): [True: 628, False: 0]
  ------------------
 1903|    628|                    {
 1904|    652|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1904:49): [True: 24, False: 628]
  ------------------
 1905|     24|                        {
 1906|     24|                            ta[i] = binary::byte_swap<int16_t>(ta[i]);
 1907|     24|                        }
 1908|    628|                    }
 1909|    628|                    if (is_multi_dim_)
  ------------------
  |  Branch (1909:25): [True: 0, False: 628]
  ------------------
 1910|      0|                    {
 1911|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<int16_t>>(ta, extents_, order_);
 1912|      0|                    }
 1913|    628|                    else
 1914|    628|                    {
 1915|    628|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<int16_t>>(ta);
 1916|    628|                    }
 1917|    628|                    typed_array_iter_->next(visitor, *this, ec);
 1918|    628|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1919|    628|                    more_ = !cursor_mode_;
 1920|    628|                    break;
 1921|    628|                }
 1922|     48|                case 0x4a:
  ------------------
  |  Branch (1922:17): [True: 48, False: 18.5k]
  ------------------
 1923|    354|                case 0x4e:
  ------------------
  |  Branch (1923:17): [True: 306, False: 18.2k]
  ------------------
 1924|    354|                {
 1925|    354|                    is_typed_array_ = true;
 1926|    354|                    element_type_ = typed_array_element_types::int32;
 1927|    354|                    array_buffer_.clear();
 1928|    354|                    read(array_buffer_,ec);
 1929|    354|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    354|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 354]
  |  |  ------------------
  ------------------
 1930|      0|                    {
 1931|      0|                        more_ = false;
 1932|      0|                        return;
 1933|      0|                    }
 1934|    354|                    const uint8_t tag = (uint8_t)raw_tag_;
 1935|    354|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1936|    354|                    auto ta = typed_array_cast<int32_t>(array_buffer_);
 1937|    354|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1937:25): [True: 48, False: 306]
  ------------------
 1938|     48|                    {
 1939|  63.5k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1939:49): [True: 63.4k, False: 48]
  ------------------
 1940|  63.4k|                        {
 1941|  63.4k|                            ta[i] = binary::byte_swap<int32_t>(ta[i]);
 1942|  63.4k|                        }
 1943|     48|                    }
 1944|    354|                    if (is_multi_dim_)
  ------------------
  |  Branch (1944:25): [True: 0, False: 354]
  ------------------
 1945|      0|                    {
 1946|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<int32_t>>(ta, extents_, order_);
 1947|      0|                    }
 1948|    354|                    else
 1949|    354|                    {
 1950|    354|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<int32_t>>(ta);
 1951|    354|                    }
 1952|    354|                    typed_array_iter_->next(visitor, *this, ec);
 1953|    354|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1954|    354|                    more_ = !cursor_mode_;
 1955|    354|                    break;
 1956|    354|                }
 1957|      7|                case 0x4b:
  ------------------
  |  Branch (1957:17): [True: 7, False: 18.5k]
  ------------------
 1958|      7|                case 0x4f:
  ------------------
  |  Branch (1958:17): [True: 0, False: 18.5k]
  ------------------
 1959|      7|                {
 1960|      7|                    is_typed_array_ = true;
 1961|      7|                    element_type_ = typed_array_element_types::int64;
 1962|      7|                    array_buffer_.clear();
 1963|      7|                    read(array_buffer_,ec);
 1964|      7|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      7|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 7]
  |  |  ------------------
  ------------------
 1965|      0|                    {
 1966|      0|                        more_ = false;
 1967|      0|                        return;
 1968|      0|                    }
 1969|      7|                    const uint8_t tag = (uint8_t)raw_tag_;
 1970|      7|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 1971|      7|                    auto ta = typed_array_cast<int64_t>(array_buffer_);
 1972|      7|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (1972:25): [True: 7, False: 0]
  ------------------
 1973|      7|                    {
 1974|    448|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (1974:49): [True: 441, False: 7]
  ------------------
 1975|    441|                        {
 1976|    441|                            ta[i] = binary::byte_swap<int64_t>(ta[i]);
 1977|    441|                        }
 1978|      7|                    }
 1979|      7|                    if (is_multi_dim_)
  ------------------
  |  Branch (1979:25): [True: 0, False: 7]
  ------------------
 1980|      0|                    {
 1981|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<int64_t>>(ta, extents_, order_);
 1982|      0|                    }
 1983|      7|                    else
 1984|      7|                    {
 1985|      7|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<int64_t>>(ta);
 1986|      7|                    }
 1987|      7|                    typed_array_iter_->next(visitor, *this, ec);
 1988|      7|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1989|      7|                    more_ = !cursor_mode_;
 1990|      7|                    break;
 1991|      7|                }
 1992|     30|                case 0x50:
  ------------------
  |  Branch (1992:17): [True: 30, False: 18.5k]
  ------------------
 1993|     30|                case 0x54:
  ------------------
  |  Branch (1993:17): [True: 0, False: 18.5k]
  ------------------
 1994|     30|                {
 1995|     30|                    is_typed_array_ = true;
 1996|     30|                    element_type_ = typed_array_element_types::half_float;
 1997|     30|                    array_buffer_.clear();
 1998|     30|                    read(array_buffer_,ec);
 1999|     30|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|     30|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 30]
  |  |  ------------------
  ------------------
 2000|      0|                    {
 2001|      0|                        more_ = false;
 2002|      0|                        return;
 2003|      0|                    }
 2004|     30|                    const uint8_t tag = (uint8_t)raw_tag_;
 2005|     30|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2006|     30|                    auto ta = typed_array_cast<uint16_t>(array_buffer_);
 2007|     30|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2007:25): [True: 30, False: 0]
  ------------------
 2008|     30|                    {
 2009|     30|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2009:49): [True: 0, False: 30]
  ------------------
 2010|      0|                        {
 2011|      0|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 2012|      0|                        }
 2013|     30|                    }
 2014|     30|                    if (is_multi_dim_)
  ------------------
  |  Branch (2014:25): [True: 0, False: 30]
  ------------------
 2015|      0|                    {
 2016|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<uint16_t>>(ta, extents_, order_);
 2017|      0|                    }
 2018|     30|                    else
 2019|     30|                    {
 2020|     30|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<uint16_t,decode_half>>(ta);
 2021|     30|                    }
 2022|     30|                    typed_array_iter_->next(visitor, *this, ec);
 2023|     30|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2024|     30|                    more_ = !cursor_mode_;
 2025|     30|                    break;
 2026|     30|                }
 2027|  1.30k|                case 0x51:
  ------------------
  |  Branch (2027:17): [True: 1.30k, False: 17.2k]
  ------------------
 2028|  1.30k|                case 0x55:
  ------------------
  |  Branch (2028:17): [True: 0, False: 18.5k]
  ------------------
 2029|  1.30k|                {
 2030|  1.30k|                    is_typed_array_ = true;
 2031|  1.30k|                    element_type_ = typed_array_element_types::float32;
 2032|  1.30k|                    array_buffer_.clear();
 2033|  1.30k|                    read(array_buffer_,ec);
 2034|  1.30k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.30k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.30k]
  |  |  ------------------
  ------------------
 2035|      0|                    {
 2036|      0|                        more_ = false;
 2037|      0|                        return;
 2038|      0|                    }
 2039|  1.30k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2040|  1.30k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2041|  1.30k|                    auto ta = typed_array_cast<float>(array_buffer_);
 2042|  1.30k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2042:25): [True: 1.30k, False: 0]
  ------------------
 2043|  1.30k|                    {
 2044|  1.51k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2044:49): [True: 208, False: 1.30k]
  ------------------
 2045|    208|                        {
 2046|    208|                            ta[i] = binary::byte_swap<float>(ta[i]);
 2047|    208|                        }
 2048|  1.30k|                    }
 2049|  1.30k|                    if (is_multi_dim_)
  ------------------
  |  Branch (2049:25): [True: 0, False: 1.30k]
  ------------------
 2050|      0|                    {
 2051|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<float>>(ta, extents_, order_);
 2052|      0|                    }
 2053|  1.30k|                    else
 2054|  1.30k|                    {
 2055|  1.30k|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<float>>(ta);
 2056|  1.30k|                    }
 2057|  1.30k|                    typed_array_iter_->next(visitor, *this, ec);
 2058|  1.30k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2059|  1.30k|                    more_ = !cursor_mode_;
 2060|  1.30k|                    break;
 2061|  1.30k|                }
 2062|    189|                case 0x52:
  ------------------
  |  Branch (2062:17): [True: 189, False: 18.3k]
  ------------------
 2063|    189|                case 0x56:
  ------------------
  |  Branch (2063:17): [True: 0, False: 18.5k]
  ------------------
 2064|    189|                {
 2065|    189|                    is_typed_array_ = true;
 2066|    189|                    element_type_ = typed_array_element_types::float64 ;
 2067|    189|                    array_buffer_.clear();
 2068|    189|                    read(array_buffer_,ec);
 2069|    189|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    189|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 189]
  |  |  ------------------
  ------------------
 2070|      0|                    {
 2071|      0|                        more_ = false;
 2072|      0|                        return;
 2073|      0|                    }
 2074|    189|                    const uint8_t tag = (uint8_t)raw_tag_;
 2075|    189|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2076|    189|                    auto ta = typed_array_cast<double>(array_buffer_);
 2077|    189|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2077:25): [True: 189, False: 0]
  ------------------
 2078|    189|                    {
 2079|    189|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2079:49): [True: 0, False: 189]
  ------------------
 2080|      0|                        {
 2081|      0|                            ta[i] = binary::byte_swap<double>(ta[i]);
 2082|      0|                        }
 2083|    189|                    }
 2084|    189|                    if (is_multi_dim_)
  ------------------
  |  Branch (2084:25): [True: 0, False: 189]
  ------------------
 2085|      0|                    {
 2086|      0|                        typed_array_iter_ = jsoncons::make_unique<mdarray_iterator<double>>(ta, extents_, order_);
 2087|      0|                    }
 2088|    189|                    else
 2089|    189|                    {
 2090|    189|                        typed_array_iter_ = jsoncons::make_unique<sequential_typed_array_iterator<double>>(ta);
 2091|    189|                    }
 2092|    189|                    typed_array_iter_->next(visitor, *this, ec);
 2093|    189|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2094|    189|                    more_ = !cursor_mode_;
 2095|    189|                    break;
 2096|    189|                }
 2097|  1.09k|                default:
  ------------------
  |  Branch (2097:17): [True: 1.09k, False: 17.4k]
  ------------------
 2098|  1.09k|                {
 2099|  1.09k|                    read(bytes_buffer_,ec);
 2100|  1.09k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.09k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.09k]
  |  |  ------------------
  ------------------
 2101|      0|                    {
 2102|      0|                        more_ = false;
 2103|      0|                        return;
 2104|      0|                    }
 2105|  1.09k|                    visitor.byte_string_value(bytes_buffer_, raw_tag_, *this, ec);
 2106|  1.09k|                    more_ = !cursor_mode_;
 2107|  1.09k|                    break;
 2108|  1.09k|                }
 2109|  18.5k|            }
 2110|  18.5k|            other_tags_[item_tag] = false;
 2111|  18.5k|        }
 2112|  6.66M|        else
 2113|  6.66M|        {
 2114|  6.66M|            read(bytes_buffer_,ec);
 2115|  6.66M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  6.66M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 21, False: 6.66M]
  |  |  ------------------
  ------------------
 2116|     21|            {
 2117|     21|                return;
 2118|     21|            }
 2119|  6.66M|            visitor.byte_string_value(bytes_buffer_, semantic_tag::none, *this, ec);
 2120|  6.66M|            more_ = !cursor_mode_;
 2121|  6.66M|        }
 2122|  6.68M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_sourceclINS3_6vectorIhS5_EEEEvRT_RNS3_10error_codeE:
  184|  6.68M|        {
  185|  6.68M|            source->read_byte_string(cont,ec);
  186|  6.68M|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringERNS3_6vectorIhS5_EERNS3_10error_codeE:
  890|  6.68M|    {
  891|  6.68M|        v.clear();
  892|  6.68M|        auto c = source_.peek();
  893|  6.68M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  6.68M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 6.68M]
  |  |  ------------------
  ------------------
  894|      0|        {
  895|      0|            ec = cbor_errc::unexpected_eof;
  896|      0|            return;
  897|      0|        }
  898|  6.68M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
  899|  6.68M|        uint8_t info = get_additional_information_value(c.value);
  900|       |
  901|  6.68M|        JSONCONS_ASSERT(major_type == jsoncons::cbor::detail::cbor_major_type::byte_string);
  ------------------
  |  |   45|  6.68M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 6.68M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  902|       |
  903|  6.68M|        switch(info)
  904|  6.68M|        {
  905|      9|            case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (905:13): [True: 9, False: 6.68M]
  ------------------
  906|      9|            {
  907|      9|                auto func = [&v](Source& source, std::size_t length, std::error_code& ec) -> bool
  908|      9|                {
  909|      9|                    if (source_reader<Source>::read(source, v, length) != length)
  910|      9|                    {
  911|      9|                        ec = cbor_errc::unexpected_eof;
  912|      9|                        return false;
  913|      9|                    }
  914|      9|                    return true;
  915|      9|                };
  916|      9|                iterate_string_chunks(func, major_type, ec);
  917|      9|                break;
  918|      0|            }
  919|  6.68M|            default:
  ------------------
  |  Branch (919:13): [True: 6.68M, False: 9]
  ------------------
  920|  6.68M|            {
  921|  6.68M|                std::size_t length = read_size(ec);
  922|  6.68M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  6.68M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 6.68M]
  |  |  ------------------
  ------------------
  923|      0|                {
  924|      0|                    return;
  925|      0|                }
  926|  6.68M|                if (source_reader<Source>::read(source_, v, length) != length)
  ------------------
  |  Branch (926:21): [True: 14, False: 6.68M]
  ------------------
  927|     14|                {
  928|     14|                    ec = cbor_errc::unexpected_eof;
  929|     14|                    return;
  930|     14|                }
  931|  6.68M|                if (!stringref_map_stack_.empty() &&
  ------------------
  |  Branch (931:21): [True: 3.36M, False: 3.32M]
  ------------------
  932|  3.36M|                    v.size() >= jsoncons::cbor::detail::min_length_for_stringref(stringref_map_stack_.back().size()))
  ------------------
  |  Branch (932:21): [True: 1.76M, False: 1.59M]
  ------------------
  933|  1.76M|                {
  934|  1.76M|                    stringref_map_stack_.back().emplace_back(mapped_string(v, alloc_));
  935|  1.76M|                }
  936|  6.68M|                break;
  937|  6.68M|            }
  938|       |
  939|  6.68M|        }
  940|  6.68M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21iterate_string_chunksIZNS8_16read_byte_stringERNS3_6vectorIhS5_EERNS3_10error_codeEEUlRS6_mSE_E_EEvRT_NS0_6detail15cbor_major_typeESE_:
  944|      9|    {
  945|      9|        int nesting_level = 0;
  946|       |
  947|      9|        bool done = false;
  948|  3.69M|        while (!done)
  ------------------
  |  Branch (948:16): [True: 3.69M, False: 0]
  ------------------
  949|  3.69M|        {
  950|  3.69M|            auto c = source_.peek();
  951|  3.69M|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  3.69M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 3.69M]
  |  |  ------------------
  ------------------
  952|      0|            {
  953|      0|                ec = cbor_errc::unexpected_eof;
  954|      0|                more_ = false;
  955|      0|                return;
  956|      0|            }
  957|  3.69M|            if (nesting_level > 0 && c.value == 0xff)
  ------------------
  |  Branch (957:17): [True: 3.69M, False: 9]
  |  Branch (957:38): [True: 121k, False: 3.56M]
  ------------------
  958|   121k|            {
  959|   121k|                --nesting_level;
  960|   121k|                if (nesting_level == 0)
  ------------------
  |  Branch (960:21): [True: 0, False: 121k]
  ------------------
  961|      0|                {
  962|      0|                    done = true;
  963|      0|                }
  964|   121k|                source_.ignore(1);
  965|   121k|                continue;
  966|   121k|            }
  967|       |
  968|  3.56M|            jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
  969|  3.56M|            if (major_type != type)
  ------------------
  |  Branch (969:17): [True: 7, False: 3.56M]
  ------------------
  970|      7|            {
  971|      7|                ec = cbor_errc::illegal_chunked_string;
  972|      7|                more_ = false;
  973|      7|                return;
  974|      7|            }
  975|  3.56M|            uint8_t info = get_additional_information_value(c.value);
  976|       |
  977|  3.56M|            switch (info)
  978|  3.56M|            {
  979|  3.41M|                case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (979:17): [True: 3.41M, False: 150k]
  ------------------
  980|  3.41M|                {
  981|  3.41M|                    ++nesting_level;
  982|  3.41M|                    source_.ignore(1);
  983|  3.41M|                    break;
  984|      0|                }
  985|   150k|                default: // definite length
  ------------------
  |  Branch (985:17): [True: 150k, False: 3.41M]
  ------------------
  986|   150k|                {
  987|   150k|                    std::size_t length = read_size(ec);
  988|   150k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   150k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 150k]
  |  |  ------------------
  ------------------
  989|      0|                    {
  990|      0|                        return;
  991|      0|                    }
  992|   150k|                    more_ = func(source_, length, ec);
  993|   150k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   150k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 150k]
  |  |  ------------------
  ------------------
  994|      2|                    {
  995|      2|                        return;
  996|      2|                    }
  997|   150k|                    if (nesting_level == 0)
  ------------------
  |  Branch (997:25): [True: 0, False: 150k]
  ------------------
  998|      0|                    {
  999|      0|                        done = true;
 1000|      0|                    }
 1001|   150k|                    break;
 1002|   150k|                }
 1003|  3.56M|            }
 1004|  3.56M|        } 
 1005|      9|    }
_ZZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringERNS3_6vectorIhS5_EERNS3_10error_codeEENKUlRS6_mSD_E_clESE_mSD_:
  908|   150k|                {
  909|   150k|                    if (source_reader<Source>::read(source, v, length) != length)
  ------------------
  |  Branch (909:25): [True: 2, False: 150k]
  ------------------
  910|      2|                    {
  911|      2|                        ec = cbor_errc::unexpected_eof;
  912|      2|                        return false;
  913|      2|                    }
  914|   150k|                    return true;
  915|   150k|                };
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_sizeERNS3_10error_codeE:
  874|  22.8M|    {
  875|  22.8M|        uint64_t u = read_uint64(ec);
  876|  22.8M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  22.8M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 22.8M]
  |  |  ------------------
  ------------------
  877|      0|        {
  878|      0|            return 0;
  879|      0|        }
  880|  22.8M|        std::size_t len = static_cast<std::size_t>(u);
  881|  22.8M|        if (len != u)
  ------------------
  |  Branch (881:13): [True: 0, False: 22.8M]
  ------------------
  882|      0|        {
  883|      0|            ec = cbor_errc::number_too_large;
  884|      0|            more_ = false;
  885|      0|        }
  886|  22.8M|        return len;
  887|  22.8M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2EOS9_:
  103|  3.93M|        mapped_string(mapped_string&&) = default;
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2ERKNS3_6vectorIhS5_EERKS7_:
   92|  1.76M|            : type(jsoncons::cbor::detail::cbor_major_type::byte_string), str(alloc), bytes(bytes,alloc)
   93|  1.76M|        {
   94|  1.76M|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_text_stringERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
  841|  1.95M|    {
  842|  1.95M|        auto c = source_.peek();
  843|  1.95M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  1.95M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.95M]
  |  |  ------------------
  ------------------
  844|      0|        {
  845|      0|            ec = cbor_errc::unexpected_eof;
  846|      0|            more_ = false;
  847|      0|            return;
  848|      0|        }
  849|  1.95M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
  850|  1.95M|        uint8_t info = get_additional_information_value(c.value);
  851|       |
  852|  1.95M|        JSONCONS_ASSERT(major_type == jsoncons::cbor::detail::cbor_major_type::text_string);
  ------------------
  |  |   45|  1.95M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 1.95M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  853|  1.95M|        auto func = [&str](Source& source, std::size_t length, std::error_code& ec) -> bool
  854|  1.95M|        {
  855|  1.95M|            if (source_reader<Source>::read(source, str, length) != length)
  856|  1.95M|            {
  857|  1.95M|                ec = cbor_errc::unexpected_eof;
  858|  1.95M|                return false;
  859|  1.95M|            }
  860|  1.95M|            return true;
  861|  1.95M|        };
  862|  1.95M|        iterate_string_chunks(func, major_type, ec);
  863|       |
  864|  1.95M|        if (!stringref_map_stack_.empty() && 
  ------------------
  |  Branch (864:13): [True: 1.41M, False: 539k]
  ------------------
  865|  1.41M|            info != jsoncons::cbor::detail::additional_info::indefinite_length &&
  ------------------
  |  Branch (865:13): [True: 1.41M, False: 2]
  ------------------
  866|  1.41M|            str.length() >= jsoncons::cbor::detail::min_length_for_stringref(stringref_map_stack_.back().size()))
  ------------------
  |  Branch (866:13): [True: 601, False: 1.41M]
  ------------------
  867|    601|        {
  868|    601|            stringref_map_stack_.back().emplace_back(mapped_string(str,alloc_));
  869|    601|        }
  870|       |
  871|  1.95M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21iterate_string_chunksIZNS8_16read_text_stringERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeEEUlRS6_mSG_E_EEvRT_NS0_6detail15cbor_major_typeESG_:
  944|  1.95M|    {
  945|  1.95M|        int nesting_level = 0;
  946|       |
  947|  1.95M|        bool done = false;
  948|  6.43M|        while (!done)
  ------------------
  |  Branch (948:16): [True: 4.47M, False: 1.95M]
  ------------------
  949|  4.47M|        {
  950|  4.47M|            auto c = source_.peek();
  951|  4.47M|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  4.47M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3, False: 4.47M]
  |  |  ------------------
  ------------------
  952|      3|            {
  953|      3|                ec = cbor_errc::unexpected_eof;
  954|      3|                more_ = false;
  955|      3|                return;
  956|      3|            }
  957|  4.47M|            if (nesting_level > 0 && c.value == 0xff)
  ------------------
  |  Branch (957:17): [True: 2.51M, False: 1.95M]
  |  Branch (957:38): [True: 695k, False: 1.82M]
  ------------------
  958|   695k|            {
  959|   695k|                --nesting_level;
  960|   695k|                if (nesting_level == 0)
  ------------------
  |  Branch (960:21): [True: 4, False: 695k]
  ------------------
  961|      4|                {
  962|      4|                    done = true;
  963|      4|                }
  964|   695k|                source_.ignore(1);
  965|   695k|                continue;
  966|   695k|            }
  967|       |
  968|  3.77M|            jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
  969|  3.77M|            if (major_type != type)
  ------------------
  |  Branch (969:17): [True: 0, False: 3.77M]
  ------------------
  970|      0|            {
  971|      0|                ec = cbor_errc::illegal_chunked_string;
  972|      0|                more_ = false;
  973|      0|                return;
  974|      0|            }
  975|  3.77M|            uint8_t info = get_additional_information_value(c.value);
  976|       |
  977|  3.77M|            switch (info)
  978|  3.77M|            {
  979|  1.82M|                case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (979:17): [True: 1.82M, False: 1.95M]
  ------------------
  980|  1.82M|                {
  981|  1.82M|                    ++nesting_level;
  982|  1.82M|                    source_.ignore(1);
  983|  1.82M|                    break;
  984|      0|                }
  985|  1.95M|                default: // definite length
  ------------------
  |  Branch (985:17): [True: 1.95M, False: 1.82M]
  ------------------
  986|  1.95M|                {
  987|  1.95M|                    std::size_t length = read_size(ec);
  988|  1.95M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.95M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.95M]
  |  |  ------------------
  ------------------
  989|      0|                    {
  990|      0|                        return;
  991|      0|                    }
  992|  1.95M|                    more_ = func(source_, length, ec);
  993|  1.95M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.95M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 20, False: 1.95M]
  |  |  ------------------
  ------------------
  994|     20|                    {
  995|     20|                        return;
  996|     20|                    }
  997|  1.95M|                    if (nesting_level == 0)
  ------------------
  |  Branch (997:25): [True: 1.95M, False: 2.84k]
  ------------------
  998|  1.95M|                    {
  999|  1.95M|                        done = true;
 1000|  1.95M|                    }
 1001|  1.95M|                    break;
 1002|  1.95M|                }
 1003|  3.77M|            }
 1004|  3.77M|        } 
 1005|  1.95M|    }
_ZZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_text_stringERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeEENKUlRS6_mSF_E_clESG_mSF_:
  854|  1.95M|        {
  855|  1.95M|            if (source_reader<Source>::read(source, str, length) != length)
  ------------------
  |  Branch (855:17): [True: 20, False: 1.95M]
  ------------------
  856|     20|            {
  857|     20|                ec = cbor_errc::unexpected_eof;
  858|     20|                return false;
  859|     20|            }
  860|  1.95M|            return true;
  861|  1.95M|        };
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2ERKNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERKS7_:
   81|    601|            : type(jsoncons::cbor::detail::cbor_major_type::text_string), str(str.c_str(), str.size(), alloc), bytes(alloc)
   82|    601|        {
   83|    601|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_doubleERNS3_10error_codeE:
 1178|  1.68k|    {
 1179|  1.68k|        double val = 0;
 1180|       |
 1181|  1.68k|        uint8_t b;
 1182|  1.68k|        if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1182:13): [True: 0, False: 1.68k]
  ------------------
 1183|      0|        {
 1184|      0|            ec = cbor_errc::unexpected_eof;
 1185|      0|            more_ = false;
 1186|      0|            return 0;
 1187|      0|        }
 1188|  1.68k|        uint8_t info = get_additional_information_value(b);
 1189|  1.68k|        switch (info)
 1190|  1.68k|        {
 1191|    875|        case 0x1a: // Single-Precision Float (four-byte IEEE 754)
  ------------------
  |  Branch (1191:9): [True: 875, False: 811]
  ------------------
 1192|    875|            {
 1193|    875|                uint8_t buf[sizeof(float)];
 1194|    875|                if (source_.read(buf, sizeof(float)) !=sizeof(float)) 
  ------------------
  |  Branch (1194:21): [True: 0, False: 875]
  ------------------
 1195|      0|                {
 1196|      0|                    ec = cbor_errc::unexpected_eof;
 1197|      0|                    more_ = false;
 1198|      0|                    return 0;
 1199|      0|                }
 1200|    875|                val = binary::big_to_native<float>(buf, sizeof(buf));
 1201|    875|                break;
 1202|    875|            }
 1203|       |
 1204|    811|        case 0x1b: //  Double-Precision Float (eight-byte IEEE 754)
  ------------------
  |  Branch (1204:9): [True: 811, False: 875]
  ------------------
 1205|    811|            {
 1206|    811|                uint8_t buf[sizeof(double)];
 1207|    811|                if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (1207:21): [True: 13, False: 798]
  ------------------
 1208|     13|                {
 1209|     13|                    ec = cbor_errc::unexpected_eof;
 1210|     13|                    more_ = false;
 1211|     13|                    return 0;
 1212|     13|                }
 1213|    798|                val = binary::big_to_native<double>(buf, sizeof(buf));
 1214|    798|                break;
 1215|    811|            }
 1216|      0|            default:
  ------------------
  |  Branch (1216:13): [True: 0, False: 1.68k]
  ------------------
 1217|      0|                break;
 1218|  1.68k|        }
 1219|       |        
 1220|  1.67k|        return val;
 1221|  1.68k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21read_decimal_fractionERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
 1224|   770k|    {
 1225|   770k|        std::size_t size = read_size(ec);
 1226|   770k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   770k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 770k]
  |  |  ------------------
  ------------------
 1227|      0|        {
 1228|      0|            return;
 1229|      0|        }
 1230|   770k|        if (size != 2)
  ------------------
  |  Branch (1230:13): [True: 0, False: 770k]
  ------------------
 1231|      0|        {
 1232|      0|            ec = cbor_errc::invalid_decimal_fraction;
 1233|      0|            more_ = false;
 1234|      0|            return;
 1235|      0|        }
 1236|       |
 1237|   770k|        auto c = source_.peek();
 1238|   770k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   770k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 770k]
  |  |  ------------------
  ------------------
 1239|      0|        {
 1240|      0|            ec = cbor_errc::unexpected_eof;
 1241|      0|            more_ = false;
 1242|      0|            return;
 1243|      0|        }
 1244|   770k|        int64_t exponent = 0;
 1245|   770k|        switch (get_major_type(c.value))
 1246|   770k|        {
 1247|    670|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1247:13): [True: 670, False: 770k]
  ------------------
 1248|    670|            {
 1249|    670|                exponent = read_uint64(ec);
 1250|    670|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    670|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 670]
  |  |  ------------------
  ------------------
 1251|      0|                {
 1252|      0|                    return;
 1253|      0|                }
 1254|    670|                break;
 1255|    670|            }
 1256|   770k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1256:13): [True: 770k, False: 673]
  ------------------
 1257|   770k|            {
 1258|   770k|                exponent = read_int64(ec);
 1259|   770k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   770k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 770k]
  |  |  ------------------
  ------------------
 1260|      0|                {
 1261|      0|                    return;
 1262|      0|                }
 1263|   770k|                break;
 1264|   770k|            }
 1265|   770k|            default:
  ------------------
  |  Branch (1265:13): [True: 3, False: 770k]
  ------------------
 1266|      3|            {
 1267|      3|                ec = cbor_errc::invalid_decimal_fraction;
 1268|      3|                more_ = false;
 1269|      3|                return;
 1270|   770k|            }
 1271|   770k|        }
 1272|       |
 1273|   770k|        string_type str(alloc_);
 1274|       |
 1275|   770k|        c = source_.peek();
 1276|   770k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   770k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 770k]
  |  |  ------------------
  ------------------
 1277|      1|        {
 1278|      1|            ec = cbor_errc::unexpected_eof;
 1279|      1|            more_ = false;
 1280|      1|            return;
 1281|      1|        }
 1282|       |
 1283|   770k|        switch (get_major_type(c.value))
 1284|   770k|        {
 1285|    802|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1285:13): [True: 802, False: 770k]
  ------------------
 1286|    802|            {
 1287|    802|                uint64_t val = read_uint64(ec);
 1288|    802|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    802|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 802]
  |  |  ------------------
  ------------------
 1289|      0|                {
 1290|      0|                    return;
 1291|      0|                }
 1292|    802|                jsoncons::from_integer(val, str);
 1293|    802|                break;
 1294|    802|            }
 1295|   770k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1295:13): [True: 770k, False: 803]
  ------------------
 1296|   770k|            {
 1297|   770k|                int64_t val = read_int64(ec);
 1298|   770k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   770k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 770k]
  |  |  ------------------
  ------------------
 1299|      0|                {
 1300|      0|                    return;
 1301|      0|                }
 1302|   770k|                jsoncons::from_integer(val, str);
 1303|   770k|                break;
 1304|   770k|            }
 1305|      1|            case jsoncons::cbor::detail::cbor_major_type::semantic_tag:
  ------------------
  |  Branch (1305:13): [True: 1, False: 770k]
  ------------------
 1306|      1|            {
 1307|      1|                uint8_t b;
 1308|      1|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1308:21): [True: 0, False: 1]
  ------------------
 1309|      0|                {
 1310|      0|                    ec = cbor_errc::unexpected_eof;
 1311|      0|                    more_ = false;
 1312|      0|                    return;
 1313|      0|                }
 1314|      1|                uint8_t tag = get_additional_information_value(b);
 1315|      1|                c = source_.peek();
 1316|      1|                if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|      1|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1]
  |  |  ------------------
  ------------------
 1317|      0|                {
 1318|      0|                    ec = cbor_errc::unexpected_eof;
 1319|      0|                    more_ = false;
 1320|      0|                    return;
 1321|      0|                }
 1322|       |
 1323|      1|                if (get_major_type(c.value) == jsoncons::cbor::detail::cbor_major_type::byte_string)
  ------------------
  |  Branch (1323:21): [True: 1, False: 0]
  ------------------
 1324|      1|                {
 1325|      1|                    bytes_buffer_.clear();
 1326|      1|                    read_byte_string(bytes_buffer_, ec);
 1327|      1|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      1|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 0]
  |  |  ------------------
  ------------------
 1328|      1|                    {
 1329|      1|                        more_ = false;
 1330|      1|                        return;
 1331|      1|                    }
 1332|      0|                    if (tag == 2)
  ------------------
  |  Branch (1332:25): [True: 0, False: 0]
  ------------------
 1333|      0|                    {
 1334|      0|                        bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1335|      0|                        n.write_string(str);
 1336|      0|                    }
 1337|      0|                    else if (tag == 3)
  ------------------
  |  Branch (1337:30): [True: 0, False: 0]
  ------------------
 1338|      0|                    {
 1339|      0|                        bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1340|      0|                        n = -1 - n;
 1341|      0|                        n.write_string(str);
 1342|      0|                    }
 1343|      0|                }
 1344|      0|                break;
 1345|      1|            }
 1346|      0|            default:
  ------------------
  |  Branch (1346:13): [True: 0, False: 770k]
  ------------------
 1347|      0|            {
 1348|      0|                ec = cbor_errc::invalid_decimal_fraction;
 1349|      0|                more_ = false;
 1350|      0|                return;
 1351|      1|            }
 1352|   770k|        }
 1353|       |
 1354|   770k|        if (str.size() >= static_cast<std::size_t>((std::numeric_limits<int32_t>::max)()) || 
  ------------------
  |  Branch (1354:13): [True: 0, False: 770k]
  ------------------
 1355|   770k|            exponent >= (std::numeric_limits<int32_t>::max)() || 
  ------------------
  |  Branch (1355:13): [True: 0, False: 770k]
  ------------------
 1356|   770k|            exponent <= (std::numeric_limits<int32_t>::min)())
  ------------------
  |  Branch (1356:13): [True: 0, False: 770k]
  ------------------
 1357|      0|        {
 1358|      0|            ec = cbor_errc::invalid_decimal_fraction;
 1359|      0|            more_ = false;
 1360|      0|            return;
 1361|      0|        }
 1362|   770k|        else if (str.size() > 0)
  ------------------
  |  Branch (1362:18): [True: 770k, False: 0]
  ------------------
 1363|   770k|        {
 1364|   770k|            if (str[0] == '-')
  ------------------
  |  Branch (1364:17): [True: 770k, False: 802]
  ------------------
 1365|   770k|            {
 1366|   770k|                result.push_back('-');
 1367|   770k|                jsoncons::prettify_string(str.c_str()+1, str.size()-1, (int)exponent, -4, 17, result);
 1368|   770k|            }
 1369|    802|            else
 1370|    802|            {
 1371|    802|                jsoncons::prettify_string(str.c_str(), str.size(), (int)exponent, -4, 17, result);
 1372|    802|            }
 1373|   770k|        }
 1374|      0|        else
 1375|      0|        {
 1376|      0|            ec = cbor_errc::invalid_decimal_fraction;
 1377|      0|            more_ = false;
 1378|      0|            return;
 1379|      0|        }
 1380|   770k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13read_bigfloatERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
 1383|    351|    {
 1384|    351|        std::size_t size = read_size(ec);
 1385|    351|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    351|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 351]
  |  |  ------------------
  ------------------
 1386|      0|        {
 1387|      0|            return;
 1388|      0|        }
 1389|    351|        if (size != 2)
  ------------------
  |  Branch (1389:13): [True: 0, False: 351]
  ------------------
 1390|      0|        {
 1391|      0|            ec = cbor_errc::invalid_bigfloat;
 1392|      0|            more_ = false;
 1393|      0|            return;
 1394|      0|        }
 1395|       |
 1396|    351|        auto c = source_.peek();
 1397|    351|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|    351|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 351]
  |  |  ------------------
  ------------------
 1398|      0|        {
 1399|      0|            ec = cbor_errc::unexpected_eof;
 1400|      0|            more_ = false;
 1401|      0|            return;
 1402|      0|        }
 1403|    351|        int64_t exponent = 0;
 1404|    351|        switch (get_major_type(c.value))
 1405|    351|        {
 1406|    351|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1406:13): [True: 351, False: 0]
  ------------------
 1407|    351|            {
 1408|    351|                exponent = read_uint64(ec);
 1409|    351|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    351|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 351]
  |  |  ------------------
  ------------------
 1410|      0|                {
 1411|      0|                    return;
 1412|      0|                }
 1413|    351|                break;
 1414|    351|            }
 1415|    351|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1415:13): [True: 0, False: 351]
  ------------------
 1416|      0|            {
 1417|      0|                exponent = read_int64(ec);
 1418|      0|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1419|      0|                {
 1420|      0|                    return;
 1421|      0|                }
 1422|      0|                break;
 1423|      0|            }
 1424|      0|            default:
  ------------------
  |  Branch (1424:13): [True: 0, False: 351]
  ------------------
 1425|      0|            {
 1426|      0|                ec = cbor_errc::invalid_bigfloat;
 1427|      0|                more_ = false;
 1428|      0|                return;
 1429|      0|            }
 1430|    351|        }
 1431|       |
 1432|    351|        c = source_.peek();
 1433|    351|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|    351|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 351]
  |  |  ------------------
  ------------------
 1434|      0|        {
 1435|      0|            ec = cbor_errc::unexpected_eof;
 1436|      0|            more_ = false;
 1437|      0|            return;
 1438|      0|        }
 1439|    351|        switch (get_major_type(c.value))
 1440|    351|        {
 1441|    348|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1441:13): [True: 348, False: 3]
  ------------------
 1442|    348|            {
 1443|    348|                uint64_t val = read_uint64(ec);
 1444|    348|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    348|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 348]
  |  |  ------------------
  ------------------
 1445|      0|                {
 1446|      0|                    return;
 1447|      0|                }
 1448|    348|                str.push_back('0');
 1449|    348|                str.push_back('x');
 1450|    348|                jsoncons::integer_to_hex(val, str);
 1451|    348|                break;
 1452|    348|            }
 1453|      0|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1453:13): [True: 0, False: 351]
  ------------------
 1454|      0|            {
 1455|      0|                int64_t val = read_int64(ec);
 1456|      0|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1457|      0|                {
 1458|      0|                    return;
 1459|      0|                }
 1460|      0|                str.push_back('-');
 1461|      0|                str.push_back('0');
 1462|      0|                str.push_back('x');
 1463|      0|                jsoncons::integer_to_hex(static_cast<uint64_t>(-val), str);
 1464|      0|                break;
 1465|      0|            }
 1466|      3|            case jsoncons::cbor::detail::cbor_major_type::semantic_tag:
  ------------------
  |  Branch (1466:13): [True: 3, False: 348]
  ------------------
 1467|      3|            {
 1468|      3|                uint8_t b;
 1469|      3|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1469:21): [True: 0, False: 3]
  ------------------
 1470|      0|                {
 1471|      0|                    ec = cbor_errc::unexpected_eof;
 1472|      0|                    more_ = false;
 1473|      0|                    return;
 1474|      0|                }
 1475|      3|                uint8_t tag = get_additional_information_value(b);
 1476|       |
 1477|      3|                c = source_.peek();
 1478|      3|                if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|      3|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 3]
  |  |  ------------------
  ------------------
 1479|      0|                {
 1480|      0|                    ec = cbor_errc::unexpected_eof;
 1481|      0|                    more_ = false;
 1482|      0|                    return;
 1483|      0|                }
 1484|       |
 1485|      3|                if (get_major_type(c.value) == jsoncons::cbor::detail::cbor_major_type::byte_string)
  ------------------
  |  Branch (1485:21): [True: 3, False: 0]
  ------------------
 1486|      3|                {
 1487|      3|                    bytes_buffer_.clear(); 
 1488|      3|                    read_byte_string(bytes_buffer_, ec);
 1489|      3|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      3|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 2]
  |  |  ------------------
  ------------------
 1490|      1|                    {
 1491|      1|                        more_ = false;
 1492|      1|                        return;
 1493|      1|                    }
 1494|      2|                    if (tag == 2)
  ------------------
  |  Branch (1494:25): [True: 0, False: 2]
  ------------------
 1495|      0|                    {
 1496|      0|                        str.push_back('0');
 1497|      0|                        str.push_back('x');
 1498|      0|                        bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1499|      0|                        n.write_string_hex(str);
 1500|      0|                    }
 1501|      2|                    else if (tag == 3)
  ------------------
  |  Branch (1501:30): [True: 0, False: 2]
  ------------------
 1502|      0|                    {
 1503|      0|                        str.push_back('-');
 1504|      0|                        str.push_back('0');
 1505|      0|                        bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1506|      0|                        n = -1 - n;
 1507|      0|                        n.write_string_hex(str);
 1508|      0|                        str[2] = 'x'; // overwrite minus
 1509|      0|                    }
 1510|      2|                }
 1511|      2|                break;
 1512|      3|            }
 1513|      2|            default:
  ------------------
  |  Branch (1513:13): [True: 0, False: 351]
  ------------------
 1514|      0|            {
 1515|      0|                ec = cbor_errc::invalid_bigfloat;
 1516|      0|                more_ = false;
 1517|      0|                return;
 1518|      3|            }
 1519|    351|        }
 1520|       |
 1521|    350|        str.push_back('p');
 1522|    350|        if (exponent >=0)
  ------------------
  |  Branch (1522:13): [True: 350, False: 0]
  ------------------
 1523|    350|        {
 1524|    350|            jsoncons::integer_to_hex(static_cast<uint64_t>(exponent), str);
 1525|    350|        }
 1526|      0|        else
 1527|      0|        {
 1528|      0|            str.push_back('-');
 1529|      0|            jsoncons::integer_to_hex(static_cast<uint64_t>(-exponent), str);
 1530|      0|        }
 1531|    350|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE23produce_begin_multi_dimERNS3_10error_codeE:
 2125|   588k|    {
 2126|   588k|        uint8_t b;
 2127|   588k|        if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (2127:13): [True: 0, False: 588k]
  ------------------
 2128|      0|        {
 2129|      0|            ec = cbor_errc::unexpected_eof;
 2130|      0|            more_ = false;
 2131|      0|            return;
 2132|      0|        }
 2133|   588k|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(b);
 2134|   588k|        JSONCONS_ASSERT(major_type == jsoncons::cbor::detail::cbor_major_type::array);
  ------------------
  |  |   45|   588k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 588k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 2135|   588k|        uint8_t info = get_additional_information_value(b);
 2136|       |       
 2137|   588k|        read_extents(info, ec);   
 2138|   588k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   588k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 588k]
  |  |  ------------------
  ------------------
 2139|      4|        {
 2140|      4|            return;
 2141|      4|        }
 2142|       |
 2143|   588k|        state_stack_.emplace_back(parse_mode::multi_dim, 0);
 2144|   588k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12read_extentsEhRNS3_10error_codeE:
 2147|   588k|    {
 2148|   588k|        extents_.clear();
 2149|   588k|        switch (info)
 2150|   588k|        {
 2151|      4|            case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (2151:13): [True: 4, False: 588k]
  ------------------
 2152|      4|            {
 2153|  2.59M|                while (true)
  ------------------
  |  Branch (2153:24): [True: 2.59M, Folded]
  ------------------
 2154|  2.59M|                {
 2155|  2.59M|                    auto c = source_.peek();
 2156|  2.59M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  2.59M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 2.59M]
  |  |  ------------------
  ------------------
 2157|      4|                    {
 2158|      4|                        ec = cbor_errc::unexpected_eof;
 2159|      4|                        more_ = false;
 2160|      4|                        return;
 2161|      4|                    }
 2162|  2.59M|                    if (c.value == 0xff)
  ------------------
  |  Branch (2162:25): [True: 469k, False: 2.12M]
  ------------------
 2163|   469k|                    {
 2164|   469k|                        source_.ignore(1);
 2165|   469k|                    }
 2166|  2.12M|                    else
 2167|  2.12M|                    {
 2168|  2.12M|                        std::size_t extent_size = read_size(ec);
 2169|  2.12M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.12M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.12M]
  |  |  ------------------
  ------------------
 2170|      0|                        {
 2171|      0|                            return;
 2172|      0|                        }
 2173|  2.12M|                        extents_.push_back(extent_size);
 2174|  2.12M|                    }
 2175|  2.59M|                }
 2176|      0|                break;
 2177|      4|            }
 2178|   588k|            default:
  ------------------
  |  Branch (2178:13): [True: 588k, False: 4]
  ------------------
 2179|   588k|            {
 2180|   588k|                std::size_t size = read_size(ec);
 2181|   588k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   588k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 588k]
  |  |  ------------------
  ------------------
 2182|      0|                {
 2183|      0|                    return;
 2184|      0|                }
 2185|   599k|                for (std::size_t i = 0; more_ && i < size; ++i)
  ------------------
  |  Branch (2185:41): [True: 599k, False: 0]
  |  Branch (2185:50): [True: 11.3k, False: 588k]
  ------------------
 2186|  11.3k|                {
 2187|  11.3k|                    std::size_t extent_size = read_size(ec);
 2188|  11.3k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  11.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 11.3k]
  |  |  ------------------
  ------------------
 2189|      0|                    {
 2190|      0|                        return;
 2191|      0|                    }
 2192|  11.3k|                    extents_.push_back(extent_size);
 2193|  11.3k|                }
 2194|   588k|                break;
 2195|   588k|            }
 2196|   588k|        }
 2197|   588k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_24basic_item_event_visitorIcEEhRNS3_10error_codeE:
  727|   671k|    {
  728|   671k|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|   671k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 671k]
  |  |  ------------------
  ------------------
  729|      0|        {
  730|      0|            ec = cbor_errc::max_nesting_depth_exceeded;
  731|      0|            more_ = false;
  732|      0|            return;
  733|      0|        } 
  734|   671k|        semantic_tag tag = semantic_tag::none;
  735|   671k|        bool pop_stringref_map_stack = false;
  736|   671k|        if (other_tags_[stringref_namespace_tag])
  ------------------
  |  Branch (736:13): [True: 150, False: 671k]
  ------------------
  737|    150|        {
  738|    150|            stringref_map_stack_.emplace_back();
  739|    150|            other_tags_[stringref_namespace_tag] = false;
  740|    150|            pop_stringref_map_stack = true;
  741|    150|        }
  742|   671k|        switch (info)
  743|   671k|        {
  744|   297k|            case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (744:13): [True: 297k, False: 373k]
  ------------------
  745|   297k|            {
  746|   297k|                state_stack_.emplace_back(parse_mode::indefinite_array,0,pop_stringref_map_stack);
  747|   297k|                visitor.begin_array(tag, *this, ec);
  748|   297k|                more_ = !cursor_mode_;
  749|   297k|                source_.ignore(1);
  750|   297k|                break;
  751|      0|            }
  752|   373k|            default: // definite length
  ------------------
  |  Branch (752:13): [True: 373k, False: 297k]
  ------------------
  753|   373k|            {
  754|   373k|                std::size_t len = read_size(ec);
  755|   373k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   373k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 373k]
  |  |  ------------------
  ------------------
  756|      0|                {
  757|      0|                    return;
  758|      0|                }
  759|   373k|                state_stack_.emplace_back(parse_mode::array,len,pop_stringref_map_stack);
  760|   373k|                visitor.begin_array(len, tag, *this, ec);
  761|   373k|                more_ = !cursor_mode_;
  762|   373k|                break;
  763|   373k|            }
  764|   671k|        }
  765|   671k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12begin_objectERNS_24basic_item_event_visitorIcEEhRNS3_10error_codeE:
  785|  10.6M|    {
  786|  10.6M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|  10.6M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 10.6M]
  |  |  ------------------
  ------------------
  787|      0|        {
  788|      0|            ec = cbor_errc::max_nesting_depth_exceeded;
  789|      0|            more_ = false;
  790|      0|            return;
  791|      0|        } 
  792|  10.6M|        bool pop_stringref_map_stack = false;
  793|  10.6M|        if (other_tags_[stringref_namespace_tag])
  ------------------
  |  Branch (793:13): [True: 128, False: 10.6M]
  ------------------
  794|    128|        {
  795|    128|            stringref_map_stack_.emplace_back();
  796|    128|            other_tags_[stringref_namespace_tag] = false;
  797|    128|            pop_stringref_map_stack = true;
  798|    128|        }
  799|  10.6M|        switch (info)
  800|  10.6M|        {
  801|   442k|            case jsoncons::cbor::detail::additional_info::indefinite_length: 
  ------------------
  |  Branch (801:13): [True: 442k, False: 10.2M]
  ------------------
  802|   442k|            {
  803|   442k|                state_stack_.emplace_back(parse_mode::indefinite_map_key,0,pop_stringref_map_stack);
  804|   442k|                visitor.begin_object(semantic_tag::none, *this, ec);
  805|   442k|                more_ = !cursor_mode_;
  806|   442k|                source_.ignore(1);
  807|   442k|                break;
  808|      0|            }
  809|  10.2M|            default: // definite_length
  ------------------
  |  Branch (809:13): [True: 10.2M, False: 442k]
  ------------------
  810|  10.2M|            {
  811|  10.2M|                std::size_t len = read_size(ec);
  812|  10.2M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  10.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 10.2M]
  |  |  ------------------
  ------------------
  813|      0|                {
  814|      0|                    return;
  815|      0|                }
  816|  10.2M|                state_stack_.emplace_back(parse_mode::map_key,len,pop_stringref_map_stack);
  817|  10.2M|                visitor.begin_object(len, semantic_tag::none, *this, ec);
  818|  10.2M|                more_ = !cursor_mode_;
  819|  10.2M|                break;
  820|  10.2M|            }
  821|  10.6M|        }
  822|  10.6M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  768|   668k|    {
  769|   668k|        --nesting_depth_;
  770|       |
  771|   668k|        visitor.end_array(*this, ec);
  772|   668k|        more_ = !cursor_mode_;
  773|   668k|        if (level() == mark_level_)
  ------------------
  |  Branch (773:13): [True: 0, False: 668k]
  ------------------
  774|      0|        {
  775|      0|            more_ = false;
  776|      0|        }
  777|   668k|        if (state_stack_.back().pop_stringref_map_stack)
  ------------------
  |  Branch (777:13): [True: 57, False: 668k]
  ------------------
  778|     57|        {
  779|     57|            stringref_map_stack_.pop_back();
  780|     57|        }
  781|   668k|        state_stack_.pop_back();
  782|   668k|    }
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5levelEv:
  265|  11.3M|    {
  266|  11.3M|        return static_cast<int>(state_stack_.size());
  267|  11.3M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10end_objectERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  825|  10.6M|    {
  826|  10.6M|        --nesting_depth_;
  827|  10.6M|        visitor.end_object(*this, ec);
  828|  10.6M|        if (level() == mark_level_)
  ------------------
  |  Branch (828:13): [True: 0, False: 10.6M]
  ------------------
  829|      0|        {
  830|      0|            more_ = false;
  831|      0|        }
  832|  10.6M|        more_ = !cursor_mode_;
  833|  10.6M|        if (state_stack_.back().pop_stringref_map_stack)
  ------------------
  |  Branch (833:13): [True: 60, False: 10.6M]
  ------------------
  834|     60|        {
  835|     60|            stringref_map_stack_.pop_back();
  836|     60|        }
  837|  10.6M|        state_stack_.pop_back();
  838|  10.6M|    }

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

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

