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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2779|   160M|        {
 2780|   160M|             destroy();
 2781|   160M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  903|   160M|        {
  904|   160M|            switch (storage_kind())
  905|   160M|            {
  906|  18.0k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (906:17): [True: 18.0k, False: 160M]
  ------------------
  907|  18.0k|                {
  908|  18.0k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (908:25): [True: 18.0k, False: 0]
  ------------------
  909|  18.0k|                    {
  910|  18.0k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  911|  18.0k|                    }
  912|  18.0k|                    break;
  913|      0|                }
  914|  4.59M|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (914:17): [True: 4.59M, False: 155M]
  ------------------
  915|  4.59M|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (915:25): [True: 4.59M, False: 0]
  ------------------
  916|  4.59M|                    {
  917|  4.59M|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  918|  4.59M|                    }
  919|  4.59M|                    break;
  920|   232k|                case json_storage_kind::array:
  ------------------
  |  Branch (920:17): [True: 232k, False: 159M]
  ------------------
  921|   232k|                {
  922|   232k|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (922:25): [True: 232k, False: 0]
  ------------------
  923|   232k|                    {
  924|   232k|                        auto& stor = cast<array_storage>();
  925|   232k|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  926|   232k|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  927|   232k|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  928|   232k|                    }
  929|   232k|                    break;
  930|      0|                }
  931|  8.91M|                case json_storage_kind::object:
  ------------------
  |  Branch (931:17): [True: 8.91M, False: 151M]
  ------------------
  932|  8.91M|                {
  933|  8.91M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (933:25): [True: 8.91M, False: 0]
  ------------------
  934|  8.91M|                    {
  935|  8.91M|                        auto& stor = cast<object_storage>();
  936|  8.91M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  937|  8.91M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  938|  8.91M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  939|  8.91M|                    }
  940|  8.91M|                    break;
  941|      0|                }
  942|   146M|                default:
  ------------------
  |  Branch (942:17): [True: 146M, False: 13.7M]
  ------------------
  943|   146M|                    break;
  944|   160M|            }
  945|   160M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1467|   457M|        {
 1468|       |            // It is legal to access 'common_.storage_kind_' even though 
 1469|       |            // common_ is not the active member of the union because 'storage_kind_' 
 1470|       |            // is a part of the common initial sequence of all union members
 1471|       |            // as defined in 11.4-25 of the Standard.
 1472|   457M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1473|   457M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1009|   146k|        {
 1010|   146k|            return cast(identity<T>());
 1011|   146k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1100|   146k|        {
 1101|   146k|            return long_str_;
 1102|   146k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1009|  37.9M|        {
 1010|  37.9M|            return cast(identity<T>());
 1011|  37.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1110|  37.9M|        {
 1111|  37.9M|            return byte_str_;
 1112|  37.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1009|  29.1M|        {
 1010|  29.1M|            return cast(identity<T>());
 1011|  29.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  29.1M|        {
 1131|  29.1M|            return array_;
 1132|  29.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2312|   112M|        {
 2313|   112M|            uninitialized_move(std::move(other));
 2314|   112M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1307|   112M|        {
 1308|   112M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1308:17): [True: 71.3M, False: 41.2M]
  ------------------
 1309|  71.3M|            {
 1310|  71.3M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1311|  71.3M|            }
 1312|  41.2M|            else
 1313|  41.2M|            {
 1314|  41.2M|                switch (other.storage_kind())
 1315|  41.2M|                {
 1316|  27.2k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1316:21): [True: 27.2k, False: 41.2M]
  ------------------
 1317|  27.2k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1318|  27.2k|                        other.construct<null_storage>();
 1319|  27.2k|                        break;
 1320|  9.43M|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1320:21): [True: 9.43M, False: 31.8M]
  ------------------
 1321|  9.43M|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1322|  9.43M|                        other.construct<null_storage>();
 1323|  9.43M|                        break;
 1324|   547k|                    case json_storage_kind::array:
  ------------------
  |  Branch (1324:21): [True: 547k, False: 40.7M]
  ------------------
 1325|   547k|                        construct<array_storage>(other.cast<array_storage>());
 1326|   547k|                        other.construct<null_storage>();
 1327|   547k|                        break;
 1328|  31.2M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1328:21): [True: 31.2M, False: 10.0M]
  ------------------
 1329|  31.2M|                        construct<object_storage>(other.cast<object_storage>());
 1330|  31.2M|                        other.construct<null_storage>();
 1331|  31.2M|                        break;
 1332|      0|                    default:
  ------------------
  |  Branch (1332:21): [True: 0, False: 41.2M]
  ------------------
 1333|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1334|      0|                        break;
 1335|  41.2M|                }
 1336|  41.2M|            }
 1337|   112M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
 1000|  45.9k|        {
 1001|  45.9k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  45.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  631|  64.6k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  632|  64.6k|            {
  633|  64.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
 1000|  41.2M|        {
 1001|  41.2M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  41.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1009|  63.0M|        {
 1010|  63.0M|            return cast(identity<T>());
 1011|  63.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1020|  63.0M|        {
 1021|  63.0M|            return null_;
 1022|  63.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  455|  42.4M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  456|  42.4M|            {
  457|  42.4M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
 1000|  12.1M|        {
 1001|  12.1M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  12.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  680|  14.7M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  681|  14.7M|            {
  682|  14.7M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
 1000|   926k|        {
 1001|   926k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   926k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  732|  1.30M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  733|  1.30M|            {
  734|  1.30M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
 1000|  38.8M|        {
 1001|  38.8M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  38.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  782|  46.3M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  783|  46.3M|            {
  784|  46.3M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4743|  65.7k|        {
 4744|  65.7k|            switch (storage_kind())
 4745|  65.7k|            {
 4746|  65.7k|                case json_storage_kind::array:
  ------------------
  |  Branch (4746:17): [True: 65.7k, False: 0]
  ------------------
 4747|  65.7k|                    return array_range_type(cast<array_storage>().value().begin(),
 4748|  65.7k|                        cast<array_storage>().value().end());
 4749|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4749:17): [True: 0, False: 65.7k]
  ------------------
 4750|      0|                    return cast<json_ref_storage>().value().array_range();
 4751|      0|                default:
  ------------------
  |  Branch (4751:17): [True: 0, False: 65.7k]
  ------------------
 4752|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4753|  65.7k|            }
 4754|  65.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  26.5M|            {
  756|  26.5M|                return *ptr_;
  757|  26.5M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  353|  65.7k|            : first_(first), last_(last)
  354|  65.7k|        {
  355|  65.7k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  358|  65.7k|        {
  359|  65.7k|            return first_;
  360|  65.7k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  362|  65.7k|        {
  363|  65.7k|            return last_;
  364|  65.7k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3408|   292k|        {
 3409|   292k|            switch (storage_kind())
 3410|   292k|            {
 3411|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3411:17): [True: 0, False: 292k]
  ------------------
 3412|      0|                    return cast<byte_string_storage>().length() == 0;
 3413|      0|                    break;
 3414|      0|                case json_storage_kind::short_str:
  ------------------
  |  Branch (3414:17): [True: 0, False: 292k]
  ------------------
 3415|      0|                    return cast<short_string_storage>().length() == 0;
 3416|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3416:17): [True: 0, False: 292k]
  ------------------
 3417|      0|                    return cast<long_string_storage>().length() == 0;
 3418|  16.3k|                case json_storage_kind::array:
  ------------------
  |  Branch (3418:17): [True: 16.3k, False: 275k]
  ------------------
 3419|  16.3k|                    return cast<array_storage>().value().empty();
 3420|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3420:17): [True: 0, False: 292k]
  ------------------
 3421|      0|                    return true;
 3422|   275k|                case json_storage_kind::object:
  ------------------
  |  Branch (3422:17): [True: 275k, False: 16.3k]
  ------------------
 3423|   275k|                    return cast<object_storage>().value().empty();
 3424|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3424:17): [True: 0, False: 292k]
  ------------------
 3425|      0|                    return cast<const_json_ref_storage>().value().empty();
 3426|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3426:17): [True: 0, False: 292k]
  ------------------
 3427|      0|                    return cast<json_ref_storage>().value().empty();
 3428|      0|                default:
  ------------------
  |  Branch (3428:17): [True: 0, False: 292k]
  ------------------
 3429|      0|                    return false;
 3430|   292k|            }
 3431|   292k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1015|  16.3k|        {
 1016|  16.3k|            return cast(identity<T>());
 1017|  16.3k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1135|  16.3k|        {
 1136|  16.3k|            return array_;
 1137|  16.3k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  760|  16.3k|            {
  761|  16.3k|                return *ptr_;
  762|  16.3k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1015|   275k|        {
 1016|   275k|            return cast(identity<T>());
 1017|   275k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1125|   275k|        {
 1126|   275k|            return object_;
 1127|   275k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  806|   275k|            {
  807|   275k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   45|   275k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 275k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  808|   275k|                return *ptr_;
  809|   275k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4139|  3.94M|        {
 4140|  3.94M|            switch (storage_kind())
 4141|  3.94M|            {
 4142|  65.7k|                case json_storage_kind::array:
  ------------------
  |  Branch (4142:17): [True: 65.7k, False: 3.88M]
  ------------------
 4143|  65.7k|                    cast<array_storage>().value().clear();
 4144|  65.7k|                    break;
 4145|  3.88M|                case json_storage_kind::object:
  ------------------
  |  Branch (4145:17): [True: 3.88M, False: 65.7k]
  ------------------
 4146|  3.88M|                    cast<object_storage>().value().clear();
 4147|  3.88M|                    break;
 4148|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4148:17): [True: 0, False: 3.94M]
  ------------------
 4149|      0|                    cast<json_ref_storage>().value().clear();
 4150|      0|                    break;
 4151|      0|                default:
  ------------------
  |  Branch (4151:17): [True: 0, False: 3.94M]
  ------------------
 4152|      0|                    break;
 4153|  3.94M|            }
 4154|  3.94M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  800|  11.6M|            {
  801|  11.6M|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   45|  11.6M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 11.6M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  802|  11.6M|                return *ptr_;
  803|  11.6M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4709|  3.88M|        {
 4710|  3.88M|            switch (storage_kind())
 4711|  3.88M|            {
 4712|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4712:17): [True: 0, False: 3.88M]
  ------------------
 4713|      0|                    return object_range_type(object_iterator(), object_iterator());
 4714|  3.88M|                case json_storage_kind::object:
  ------------------
  |  Branch (4714:17): [True: 3.88M, False: 0]
  ------------------
 4715|  3.88M|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4716|  3.88M|                                                  object_iterator(cast<object_storage>().value().end()));
 4717|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4717:17): [True: 0, False: 3.88M]
  ------------------
 4718|      0|                    return cast<json_ref_storage>().value().object_range();
 4719|      0|                default:
  ------------------
  |  Branch (4719:17): [True: 0, False: 3.88M]
  ------------------
 4720|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4721|  3.88M|            }
 4722|  3.88M|        }
_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|  3.88M|            : first_(first), last_(last)
  354|  3.88M|        {
  355|  3.88M|        }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEC2ESG_:
  122|  7.76M|            explicit random_access_iterator_wrapper(Iterator ptr) : it_(ptr), has_value_(true)  
  123|  7.76M|            {
  124|  7.76M|            }
_ZNK8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE5beginEv:
  358|  3.88M|        {
  359|  3.88M|            return first_;
  360|  3.88M|        }
_ZNK8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE3endEv:
  362|  3.88M|        {
  363|  3.88M|            return last_;
  364|  3.88M|        }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEneERKSH_:
  225|  3.90M|            {
  226|  3.90M|                return !(*this == rhs);
  227|  3.90M|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEeqERKSH_:
  213|  3.90M|            {
  214|  3.90M|                if (!has_value_ || !rhs.has_value_)
  ------------------
  |  Branch (214:21): [True: 0, False: 3.90M]
  |  Branch (214:36): [True: 0, False: 3.90M]
  ------------------
  215|      0|                {
  216|      0|                    return has_value_ == rhs.has_value_ ? true : false;
  ------------------
  |  Branch (216:28): [True: 0, False: 0]
  ------------------
  217|      0|                }
  218|  3.90M|                else
  219|  3.90M|                {
  220|  3.90M|                    return it_ == rhs.it_;
  221|  3.90M|                }
  222|  3.90M|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEdeEv:
  144|  17.4k|            {
  145|  17.4k|                return *it_;
  146|  17.4k|            }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEppEv:
  154|  17.4k|            {
  155|  17.4k|                ++it_;
  156|  17.4k|                return *this;
  157|  17.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1009|   116M|        {
 1010|   116M|            return cast(identity<T>());
 1011|   116M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|   116M|        {
 1121|   116M|            return object_;
 1122|   116M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2280|  11.2k|        {
 2281|  11.2k|            construct<empty_object_storage>(semantic_tag::none);
 2282|  11.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
 1000|  11.2k|        {
 1001|  11.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  11.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1009|  16.7k|        {
 1010|  16.7k|            return cast(identity<T>());
 1011|  16.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1030|  16.7k|        {
 1031|  16.7k|            return empty_object_;
 1032|  16.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  467|  11.2k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  468|  11.2k|            {
  469|  11.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3467|  48.0k|        {
 3468|  48.0k|            if (n > 0)
  ------------------
  |  Branch (3468:17): [True: 48.0k, False: 0]
  ------------------
 3469|  48.0k|            {
 3470|  48.0k|                switch (storage_kind())
 3471|  48.0k|                {
 3472|  48.0k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3472:21): [True: 48.0k, False: 0]
  ------------------
 3473|  48.0k|                        cast<array_storage>().value().reserve(n);
 3474|  48.0k|                        break;
 3475|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3475:21): [True: 0, False: 48.0k]
  ------------------
 3476|      0|                        create_object_implicitly();
 3477|      0|                        cast<object_storage>().value().reserve(n);
 3478|      0|                        break;
 3479|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3479:21): [True: 0, False: 48.0k]
  ------------------
 3480|      0|                        cast<object_storage>().value().reserve(n);
 3481|      0|                        break;
 3482|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3482:21): [True: 0, False: 48.0k]
  ------------------
 3483|      0|                        cast<json_ref_storage>().value().reserve(n);
 3484|      0|                        break;
 3485|      0|                    default:
  ------------------
  |  Branch (3485:21): [True: 0, False: 48.0k]
  ------------------
 3486|      0|                        break;
 3487|  48.0k|                }
 3488|  48.0k|            }
 3489|  48.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2325|  8.91M|        {
 2326|  8.91M|            auto ptr = create_object(alloc);
 2327|  8.91M|            construct<object_storage>(ptr, tag);
 2328|  8.91M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  981|  8.91M|        {
  982|  8.91M|            using stor_allocator_type = typename object_storage::allocator_type;
  983|  8.91M|            stor_allocator_type stor_alloc(alloc);
  984|  8.91M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  985|  8.91M|            JSONCONS_TRY
  ------------------
  |  |   37|  8.91M|    #define JSONCONS_TRY try
  ------------------
  986|  8.91M|            {
  987|  8.91M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  988|  8.91M|                    std::forward<Args>(args)...);
  989|  8.91M|            }
  990|  8.91M|            JSONCONS_CATCH(...)
  991|  8.91M|            {
  992|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  993|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  994|      0|            }
  995|  8.91M|            return ptr;
  996|  8.91M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
 1000|  8.91M|        {
 1001|  8.91M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  8.91M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  777|  8.91M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  778|  8.91M|            {
  779|  8.91M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1458|  18.6M|        {
 1459|  18.6M|            if (this != &other)
  ------------------
  |  Branch (1459:17): [True: 18.6M, False: 0]
  ------------------
 1460|  18.6M|            {
 1461|  18.6M|                move_assignment(std::move(other));
 1462|  18.6M|            }
 1463|  18.6M|            return *this;
 1464|  18.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1420|  18.6M|        {
 1421|  18.6M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1421:17): [True: 18.6M, False: 0]
  |  Branch (1421:55): [True: 8.08M, False: 10.5M]
  ------------------
 1422|  8.08M|            {
 1423|  8.08M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1424|  8.08M|            }
 1425|  10.5M|            else
 1426|  10.5M|            {
 1427|  10.5M|                swap(other);
 1428|  10.5M|            }
 1429|  18.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4685|  26.3M|        {
 4686|  26.3M|            switch (storage_kind())
 4687|  26.3M|            {
 4688|  26.3M|                case json_storage_kind::array:
  ------------------
  |  Branch (4688:17): [True: 26.3M, False: 0]
  ------------------
 4689|  26.3M|                    cast<array_storage>().value().push_back(std::move(val));
 4690|  26.3M|                    break;
 4691|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4691:17): [True: 0, False: 26.3M]
  ------------------
 4692|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4693|      0|                    break;
 4694|      0|                default:
  ------------------
  |  Branch (4694:17): [True: 0, False: 26.3M]
  ------------------
 4695|      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
  ------------------
 4696|  26.3M|            }
 4697|  26.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1939|  10.5M|        {
 1940|  10.5M|            if (this == &other)
  ------------------
  |  Branch (1940:17): [True: 0, False: 10.5M]
  ------------------
 1941|      0|            {
 1942|      0|                return;
 1943|      0|            }
 1944|  10.5M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1944:17): [True: 10.5M, False: 0]
  |  Branch (1944:55): [True: 0, False: 10.5M]
  ------------------
 1945|      0|            {
 1946|      0|                basic_json temp;               
 1947|      0|                std::memcpy(static_cast<void*>(&temp), static_cast<void*>(&other), sizeof(basic_json));
 1948|      0|                std::memcpy(static_cast<void*>(&other), static_cast<void*>(this), sizeof(basic_json));
 1949|      0|                std::memcpy(static_cast<void*>(this), static_cast<void*>(&temp), sizeof(basic_json));
 1950|      0|            }
 1951|  10.5M|            else
 1952|  10.5M|            {
 1953|  10.5M|                switch (storage_kind())
 1954|  10.5M|                {
 1955|  10.2M|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 10.2M, False: 314k]
  ------------------
 1956|  2.72k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 2.72k, False: 10.5M]
  ------------------
 1957|  20.2k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 20.2k, False: 10.5M]
  ------------------
 1958|  71.3k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 71.3k, False: 10.5M]
  ------------------
 1959|   172k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 172k, False: 10.4M]
  ------------------
 1960|  1.23k|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 1.23k, False: 10.5M]
  ------------------
 1961|  1.95k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 1.95k, False: 10.5M]
  ------------------
 1962|  43.7k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 43.7k, False: 10.5M]
  ------------------
 1963|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 10.5M]
  ------------------
 1964|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1964:21): [True: 0, False: 10.5M]
  ------------------
 1965|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1965:21): [True: 0, False: 10.5M]
  ------------------
 1966|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1966:21): [True: 0, False: 10.5M]
  ------------------
 1967|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1967:21): [True: 0, False: 10.5M]
  ------------------
 1968|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1968:21): [True: 0, False: 10.5M]
  ------------------
 1969|      0|                    default:
  ------------------
  |  Branch (1969:21): [True: 0, False: 10.5M]
  ------------------
 1970|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1971|      0|                        break;
 1972|  10.5M|                }
 1973|  10.5M|            }
 1974|  10.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1175|  10.2M|        {
 1176|  10.2M|            switch (other.storage_kind())
 1177|  10.2M|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 10.2M]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 10.2M]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 10.2M]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 10.2M]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 10.2M]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 10.2M]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 10.2M]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 10.2M]
  ------------------
 1186|  9.84k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 9.84k, False: 10.2M]
  ------------------
 1187|  2.50M|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 2.50M, False: 7.76M]
  ------------------
 1188|   284k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 284k, False: 9.98M]
  ------------------
 1189|  7.47M|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 7.47M, False: 2.79M]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 10.2M]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 10.2M]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 10.2M]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  10.2M|            }
 1196|  10.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
 1000|  10.2M|        {
 1001|  10.2M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  10.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
 1000|  2.72k|        {
 1001|  2.72k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  2.72k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1009|  2.42M|        {
 1010|  2.42M|            return cast(identity<T>());
 1011|  2.42M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1040|  2.42M|        {
 1041|  2.42M|            return boolean_;
 1042|  2.42M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
 1000|  20.2k|        {
 1001|  20.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  20.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1009|  12.1M|        {
 1010|  12.1M|            return cast(identity<T>());
 1011|  12.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1050|  12.1M|        {
 1051|  12.1M|            return int64_;
 1052|  12.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
 1000|  71.3k|        {
 1001|  71.3k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  71.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1009|  6.06M|        {
 1010|  6.06M|            return cast(identity<T>());
 1011|  6.06M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1060|  6.06M|        {
 1061|  6.06M|            return uint64_;
 1062|  6.06M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
 1000|   172k|        {
 1001|   172k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   172k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12half_storageEEERT_v:
 1009|  17.1k|        {
 1010|  17.1k|            return cast(identity<T>());
 1011|  17.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12half_storageEEE:
 1070|  17.1k|        {
 1071|  17.1k|            return half_float_;
 1072|  17.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12half_storageEJRS7_EEEvDpOT0_:
 1000|  1.23k|        {
 1001|  1.23k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  1.23k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1009|  11.8M|        {
 1010|  11.8M|            return cast(identity<T>());
 1011|  11.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1080|  11.8M|        {
 1081|  11.8M|            return float64_;
 1082|  11.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
 1000|  1.95k|        {
 1001|  1.95k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  1.95k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1009|   695k|        {
 1010|   695k|            return cast(identity<T>());
 1011|   695k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1090|   695k|        {
 1091|   695k|            return short_str_;
 1092|   695k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  590|  43.7k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  591|  43.7k|            {
  592|  43.7k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  593|  43.7k|                data_[short_str_length_] = 0;
  594|  43.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
 1000|  43.7k|        {
 1001|  43.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  43.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1161|  9.84k|        {
 1162|  9.84k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  9.84k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  9.84k|        {
 1168|  9.84k|            TypeR temp{other.cast<TypeR>()};
 1169|  9.84k|            other.construct<TypeL>(cast<TypeL>());
 1170|  9.84k|            construct<TypeR>(temp);
 1171|  9.84k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1161|  2.50M|        {
 1162|  2.50M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  2.50M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  2.50M|        {
 1168|  2.50M|            TypeR temp{other.cast<TypeR>()};
 1169|  2.50M|            other.construct<TypeL>(cast<TypeL>());
 1170|  2.50M|            construct<TypeR>(temp);
 1171|  2.50M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1161|   284k|        {
 1162|   284k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|   284k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|   284k|        {
 1168|   284k|            TypeR temp{other.cast<TypeR>()};
 1169|   284k|            other.construct<TypeL>(cast<TypeL>());
 1170|   284k|            construct<TypeR>(temp);
 1171|   284k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1161|  7.47M|        {
 1162|  7.47M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  7.47M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  7.47M|        {
 1168|  7.47M|            TypeR temp{other.cast<TypeR>()};
 1169|  7.47M|            other.construct<TypeL>(cast<TypeL>());
 1170|  7.47M|            construct<TypeR>(temp);
 1171|  7.47M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1175|  2.72k|        {
 1176|  2.72k|            switch (other.storage_kind())
 1177|  2.72k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.72k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.72k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.72k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.72k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.72k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 2.72k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 2.72k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 2.72k]
  ------------------
 1186|  1.02k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 1.02k, False: 1.70k]
  ------------------
 1187|     25|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 25, False: 2.70k]
  ------------------
 1188|    403|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 403, False: 2.32k]
  ------------------
 1189|  1.27k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 1.27k, False: 1.45k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 2.72k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 2.72k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 2.72k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  2.72k|            }
 1196|  2.72k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1161|  1.02k|        {
 1162|  1.02k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.02k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.02k|        {
 1168|  1.02k|            TypeR temp{other.cast<TypeR>()};
 1169|  1.02k|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.02k|            construct<TypeR>(temp);
 1171|  1.02k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvRS5_:
 1161|     25|        {
 1162|     25|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|     25|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|     25|        {
 1168|     25|            TypeR temp{other.cast<TypeR>()};
 1169|     25|            other.construct<TypeL>(cast<TypeL>());
 1170|     25|            construct<TypeR>(temp);
 1171|     25|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1161|    403|        {
 1162|    403|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    403|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    403|        {
 1168|    403|            TypeR temp{other.cast<TypeR>()};
 1169|    403|            other.construct<TypeL>(cast<TypeL>());
 1170|    403|            construct<TypeR>(temp);
 1171|    403|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1161|  1.27k|        {
 1162|  1.27k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.27k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.27k|        {
 1168|  1.27k|            TypeR temp{other.cast<TypeR>()};
 1169|  1.27k|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.27k|            construct<TypeR>(temp);
 1171|  1.27k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1175|  20.2k|        {
 1176|  20.2k|            switch (other.storage_kind())
 1177|  20.2k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 20.2k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 20.2k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 20.2k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 20.2k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 20.2k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 20.2k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 20.2k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 20.2k]
  ------------------
 1186|    429|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 429, False: 19.8k]
  ------------------
 1187|  8.18k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 8.18k, False: 12.1k]
  ------------------
 1188|  8.74k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 8.74k, False: 11.5k]
  ------------------
 1189|  2.92k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 2.92k, False: 17.3k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 20.2k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 20.2k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 20.2k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  20.2k|            }
 1196|  20.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1161|    429|        {
 1162|    429|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    429|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    429|        {
 1168|    429|            TypeR temp{other.cast<TypeR>()};
 1169|    429|            other.construct<TypeL>(cast<TypeL>());
 1170|    429|            construct<TypeR>(temp);
 1171|    429|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1161|  8.18k|        {
 1162|  8.18k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  8.18k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  8.18k|        {
 1168|  8.18k|            TypeR temp{other.cast<TypeR>()};
 1169|  8.18k|            other.construct<TypeL>(cast<TypeL>());
 1170|  8.18k|            construct<TypeR>(temp);
 1171|  8.18k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1161|  8.74k|        {
 1162|  8.74k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  8.74k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  8.74k|        {
 1168|  8.74k|            TypeR temp{other.cast<TypeR>()};
 1169|  8.74k|            other.construct<TypeL>(cast<TypeL>());
 1170|  8.74k|            construct<TypeR>(temp);
 1171|  8.74k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1161|  2.92k|        {
 1162|  2.92k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  2.92k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  2.92k|        {
 1168|  2.92k|            TypeR temp{other.cast<TypeR>()};
 1169|  2.92k|            other.construct<TypeL>(cast<TypeL>());
 1170|  2.92k|            construct<TypeR>(temp);
 1171|  2.92k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1175|  71.3k|        {
 1176|  71.3k|            switch (other.storage_kind())
 1177|  71.3k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 71.3k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 71.3k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 71.3k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 71.3k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 71.3k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 71.3k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 71.3k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 71.3k]
  ------------------
 1186|  1.29k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 1.29k, False: 70.0k]
  ------------------
 1187|  39.1k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 39.1k, False: 32.1k]
  ------------------
 1188|  16.8k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 16.8k, False: 54.4k]
  ------------------
 1189|  13.9k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 13.9k, False: 57.3k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 71.3k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 71.3k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 71.3k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  71.3k|            }
 1196|  71.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1161|  1.29k|        {
 1162|  1.29k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.29k|        {
 1168|  1.29k|            TypeR temp{other.cast<TypeR>()};
 1169|  1.29k|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.29k|            construct<TypeR>(temp);
 1171|  1.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1161|  39.1k|        {
 1162|  39.1k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  39.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  39.1k|        {
 1168|  39.1k|            TypeR temp{other.cast<TypeR>()};
 1169|  39.1k|            other.construct<TypeL>(cast<TypeL>());
 1170|  39.1k|            construct<TypeR>(temp);
 1171|  39.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1161|  16.8k|        {
 1162|  16.8k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  16.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  16.8k|        {
 1168|  16.8k|            TypeR temp{other.cast<TypeR>()};
 1169|  16.8k|            other.construct<TypeL>(cast<TypeL>());
 1170|  16.8k|            construct<TypeR>(temp);
 1171|  16.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1161|  13.9k|        {
 1162|  13.9k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  13.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  13.9k|        {
 1168|  13.9k|            TypeR temp{other.cast<TypeR>()};
 1169|  13.9k|            other.construct<TypeL>(cast<TypeL>());
 1170|  13.9k|            construct<TypeR>(temp);
 1171|  13.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1175|   172k|        {
 1176|   172k|            switch (other.storage_kind())
 1177|   172k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 172k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 172k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 172k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 172k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 172k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 172k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 172k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 172k]
  ------------------
 1186|  5.28k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 5.28k, False: 167k]
  ------------------
 1187|  85.2k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 85.2k, False: 87.5k]
  ------------------
 1188|  61.5k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 61.5k, False: 111k]
  ------------------
 1189|  20.7k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 20.7k, False: 152k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 172k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 172k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 172k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|   172k|            }
 1196|   172k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1161|  5.28k|        {
 1162|  5.28k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  5.28k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  5.28k|        {
 1168|  5.28k|            TypeR temp{other.cast<TypeR>()};
 1169|  5.28k|            other.construct<TypeL>(cast<TypeL>());
 1170|  5.28k|            construct<TypeR>(temp);
 1171|  5.28k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1161|  85.2k|        {
 1162|  85.2k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  85.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  85.2k|        {
 1168|  85.2k|            TypeR temp{other.cast<TypeR>()};
 1169|  85.2k|            other.construct<TypeL>(cast<TypeL>());
 1170|  85.2k|            construct<TypeR>(temp);
 1171|  85.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1161|  61.5k|        {
 1162|  61.5k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  61.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  61.5k|        {
 1168|  61.5k|            TypeR temp{other.cast<TypeR>()};
 1169|  61.5k|            other.construct<TypeL>(cast<TypeL>());
 1170|  61.5k|            construct<TypeR>(temp);
 1171|  61.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1161|  20.7k|        {
 1162|  20.7k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  20.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  20.7k|        {
 1168|  20.7k|            TypeR temp{other.cast<TypeR>()};
 1169|  20.7k|            other.construct<TypeL>(cast<TypeL>());
 1170|  20.7k|            construct<TypeR>(temp);
 1171|  20.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12half_storageEEEvRS5_:
 1175|  1.23k|        {
 1176|  1.23k|            switch (other.storage_kind())
 1177|  1.23k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.23k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.23k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.23k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 1.23k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 1.23k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 1.23k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 1.23k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 1.23k]
  ------------------
 1186|    230|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 230, False: 1.00k]
  ------------------
 1187|    435|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 435, False: 803]
  ------------------
 1188|    327|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 327, False: 911]
  ------------------
 1189|    246|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 246, False: 992]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 1.23k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 1.23k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 1.23k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  1.23k|            }
 1196|  1.23k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_19long_string_storageEEEvRS5_:
 1161|    230|        {
 1162|    230|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    230|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    230|        {
 1168|    230|            TypeR temp{other.cast<TypeR>()};
 1169|    230|            other.construct<TypeL>(cast<TypeL>());
 1170|    230|            construct<TypeR>(temp);
 1171|    230|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_19byte_string_storageEEEvRS5_:
 1161|    435|        {
 1162|    435|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    435|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    435|        {
 1168|    435|            TypeR temp{other.cast<TypeR>()};
 1169|    435|            other.construct<TypeL>(cast<TypeL>());
 1170|    435|            construct<TypeR>(temp);
 1171|    435|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_13array_storageEEEvRS5_:
 1161|    327|        {
 1162|    327|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    327|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    327|        {
 1168|    327|            TypeR temp{other.cast<TypeR>()};
 1169|    327|            other.construct<TypeL>(cast<TypeL>());
 1170|    327|            construct<TypeR>(temp);
 1171|    327|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_14object_storageEEEvRS5_:
 1161|    246|        {
 1162|    246|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    246|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12half_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    246|        {
 1168|    246|            TypeR temp{other.cast<TypeR>()};
 1169|    246|            other.construct<TypeL>(cast<TypeL>());
 1170|    246|            construct<TypeR>(temp);
 1171|    246|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1175|  1.95k|        {
 1176|  1.95k|            switch (other.storage_kind())
 1177|  1.95k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.95k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.95k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.95k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 1.95k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 1.95k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 1.95k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 1.95k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 1.95k]
  ------------------
 1186|    198|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 198, False: 1.75k]
  ------------------
 1187|    931|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 931, False: 1.02k]
  ------------------
 1188|    298|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 298, False: 1.65k]
  ------------------
 1189|    526|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 526, False: 1.42k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 1.95k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 1.95k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 1.95k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  1.95k|            }
 1196|  1.95k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1161|    198|        {
 1162|    198|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    198|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    198|        {
 1168|    198|            TypeR temp{other.cast<TypeR>()};
 1169|    198|            other.construct<TypeL>(cast<TypeL>());
 1170|    198|            construct<TypeR>(temp);
 1171|    198|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1161|    931|        {
 1162|    931|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    931|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    931|        {
 1168|    931|            TypeR temp{other.cast<TypeR>()};
 1169|    931|            other.construct<TypeL>(cast<TypeL>());
 1170|    931|            construct<TypeR>(temp);
 1171|    931|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1161|    298|        {
 1162|    298|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    298|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    298|        {
 1168|    298|            TypeR temp{other.cast<TypeR>()};
 1169|    298|            other.construct<TypeL>(cast<TypeL>());
 1170|    298|            construct<TypeR>(temp);
 1171|    298|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1161|    526|        {
 1162|    526|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    526|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    526|        {
 1168|    526|            TypeR temp{other.cast<TypeR>()};
 1169|    526|            other.construct<TypeL>(cast<TypeL>());
 1170|    526|            construct<TypeR>(temp);
 1171|    526|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1175|  43.7k|        {
 1176|  43.7k|            switch (other.storage_kind())
 1177|  43.7k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 43.7k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 43.7k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 43.7k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 43.7k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 43.7k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 43.7k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 43.7k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 43.7k]
  ------------------
 1186|    412|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 412, False: 43.3k]
  ------------------
 1187|  33.3k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 33.3k, False: 10.4k]
  ------------------
 1188|  6.69k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 6.69k, False: 37.0k]
  ------------------
 1189|  3.35k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 3.35k, False: 40.4k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 43.7k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 43.7k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 43.7k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  43.7k|            }
 1196|  43.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1161|    412|        {
 1162|    412|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    412|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    412|        {
 1168|    412|            TypeR temp{other.cast<TypeR>()};
 1169|    412|            other.construct<TypeL>(cast<TypeL>());
 1170|    412|            construct<TypeR>(temp);
 1171|    412|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1161|  33.3k|        {
 1162|  33.3k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  33.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  33.3k|        {
 1168|  33.3k|            TypeR temp{other.cast<TypeR>()};
 1169|  33.3k|            other.construct<TypeL>(cast<TypeL>());
 1170|  33.3k|            construct<TypeR>(temp);
 1171|  33.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1161|  6.69k|        {
 1162|  6.69k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  6.69k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  6.69k|        {
 1168|  6.69k|            TypeR temp{other.cast<TypeR>()};
 1169|  6.69k|            other.construct<TypeL>(cast<TypeL>());
 1170|  6.69k|            construct<TypeR>(temp);
 1171|  6.69k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1161|  3.35k|        {
 1162|  3.35k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  3.35k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  3.35k|        {
 1168|  3.35k|            TypeR temp{other.cast<TypeR>()};
 1169|  3.35k|            other.construct<TypeL>(cast<TypeL>());
 1170|  3.35k|            construct<TypeR>(temp);
 1171|  3.35k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2619|  5.72M|        {
 2620|  5.72M|            construct<uint64_storage>(val, tag);
 2621|  5.72M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
 1000|  5.72M|        {
 1001|  5.72M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  5.72M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  521|  5.72M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  522|  5.72M|                  val_(val)
  523|  5.72M|            {
  524|  5.72M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2650|  11.9M|        {
 2651|  11.9M|            construct<int64_storage>(val, tag);
 2652|  11.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
 1000|  11.9M|        {
 1001|  11.9M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  11.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  501|  11.9M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  502|  11.9M|                  val_(val)
  503|  11.9M|            {
  504|  11.9M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2607|  11.8M|        {
 2608|  11.8M|            construct<double_storage>(val, tag);
 2609|  11.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
 1000|  11.8M|        {
 1001|  11.8M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  11.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  560|  11.8M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  561|  11.8M|                  val_(val)
  562|  11.8M|            {
  563|  11.8M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2406|   232k|        {
 2407|   232k|            auto ptr = create_array(Allocator());
 2408|   232k|            construct<array_storage>(ptr, tag);
 2409|   232k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  962|   232k|        {
  963|   232k|            using stor_allocator_type = typename array_storage::allocator_type;
  964|   232k|            stor_allocator_type stor_alloc(alloc);
  965|   232k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  966|   232k|            JSONCONS_TRY
  ------------------
  |  |   37|   232k|    #define JSONCONS_TRY try
  ------------------
  967|   232k|            {
  968|   232k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  969|   232k|                    std::forward<Args>(args)...);
  970|   232k|            }
  971|   232k|            JSONCONS_CATCH(...)
  972|   232k|            {
  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|   232k|            return ptr;
  977|   232k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
 1000|   232k|        {
 1001|   232k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   232k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  727|   232k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  728|   232k|            {
  729|   232k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2696|  1.16M|        {
 2697|  1.16M|            construct<null_storage>(tag);
 2698|  1.16M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
 1000|  1.16M|        {
 1001|  1.16M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  1.16M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2706|  2.38M|        {
 2707|  2.38M|            construct<bool_storage>(val,tag);
 2708|  2.38M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
 1000|  2.38M|        {
 1001|  2.38M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  2.38M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  480|  2.38M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  481|  2.38M|                  val_(val)
  482|  2.38M|            {
  483|  2.38M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2554|   624k|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2555|   624k|        {
 2556|   624k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2584|   626k|        {
 2585|   626k|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2585:17): [True: 607k, False: 18.0k]
  ------------------
 2586|   607k|            {
 2587|   607k|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2588|   607k|            }
 2589|  18.0k|            else
 2590|  18.0k|            {
 2591|  18.0k|                auto ptr = create_long_string(alloc, s, length);
 2592|  18.0k|                construct<long_string_storage>(ptr, tag);
 2593|  18.0k|            }
 2594|   626k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
 1000|   607k|        {
 1001|   607k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   607k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  582|   607k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  583|   607k|            {
  584|   607k|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   45|   607k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 607k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  585|   607k|                std::memcpy(data_,p,length*sizeof(char_type));
  586|   607k|                data_[length] = 0;
  587|   607k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  948|  18.0k|        {
  949|  18.0k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  950|  18.0k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  951|  18.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
 1000|  18.0k|        {
 1001|  18.0k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  18.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  626|  18.0k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  627|  18.0k|            {
  628|  18.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2716|  1.34k|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2717|  1.34k|        {
 2718|  1.34k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2724|  4.58M|        {
 2725|  4.58M|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2726|       |            
 2727|  4.58M|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2728|  4.58M|            construct<byte_string_storage>(ptr, tag);
 2729|  4.58M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  955|  4.59M|        {
  956|  4.59M|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  957|  4.59M|            return heap_string_factory_type::create(data, length, ext_tag, alloc); 
  958|  4.59M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
 1000|  4.58M|        {
 1001|  4.58M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  4.58M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  675|  4.59M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  676|  4.59M|            {
  677|  4.59M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2736|     21|        {
 2737|     21|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2738|       |
 2739|     21|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0);
 2740|     21|            construct<byte_string_storage>(ptr, tag);
 2741|     21|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2747|  8.57k|        {
 2748|  8.57k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2749|       |
 2750|  8.57k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), ext_tag);
 2751|  8.57k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2752|  8.57k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
 1000|  8.58k|        {
 1001|  8.58k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  8.58k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mRKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2759|      4|        {
 2760|      4|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2761|       |
 2762|      4|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), ext_tag);
 2763|      4|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2764|      4|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_10half_arg_tEtNS_12semantic_tagE:
 2597|  14.6k|        {
 2598|  14.6k|            construct<half_storage>(val, tag);
 2599|  14.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12half_storageEJRtRNS_12semantic_tagEEEEvDpOT0_:
 1000|  14.6k|        {
 1001|  14.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  14.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12half_storageC2EtNS_12semantic_tagE:
  540|  14.6k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::half_float)), short_str_length_(0), tag_(tag),
  541|  14.6k|                  val_(val)
  542|  14.6k|            {
  543|  14.6k|            }

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

_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEET_PT0_:
  239|  18.0k|    {
  240|  18.0k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  18.0k|        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|  18.0k|    }
_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEET_PT0_:
  239|  4.59M|    {
  240|  4.59M|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  4.59M|        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|  4.59M|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  239|  18.0k|    {
  240|  18.0k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  18.0k|        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|  18.0k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  239|  4.59M|    {
  240|  4.59M|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  4.59M|        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|  4.59M|    }

_ZN8jsoncons15make_error_codeENS_9conv_errcE:
  174|      1|{
  175|      1|    return std::error_code(static_cast<int>(result),conv_error_category());
  176|      1|}
_ZN8jsoncons19conv_error_categoryEv:
  167|      1|{
  168|      1|  static detail::conv_error_category_impl instance;
  169|      1|  return instance;
  170|      1|}
_ZNK8jsoncons6detail24conv_error_category_impl7messageEi:
  100|      1|        {
  101|      1|            switch (static_cast<conv_errc>(ev))
  102|      1|            {
  103|      1|                case conv_errc::conversion_failed:
  ------------------
  |  Branch (103:17): [True: 1, False: 0]
  ------------------
  104|      1|                    return "Unable to convert into the provided type";
  105|      0|                case conv_errc::not_utf8:
  ------------------
  |  Branch (105:17): [True: 0, False: 1]
  ------------------
  106|      0|                    return "Cannot convert string to UTF-8";
  107|      0|                case conv_errc::not_wide_char:
  ------------------
  |  Branch (107:17): [True: 0, False: 1]
  ------------------
  108|      0|                    return "Cannot convert string to wide characters";
  109|      0|                case conv_errc::not_vector:
  ------------------
  |  Branch (109:17): [True: 0, False: 1]
  ------------------
  110|      0|                    return "Cannot convert to vector";
  111|      0|                case conv_errc::not_array:
  ------------------
  |  Branch (111:17): [True: 0, False: 1]
  ------------------
  112|      0|                    return "Cannot convert to std::array";
  113|      0|                case conv_errc::invalid_mdarray:
  ------------------
  |  Branch (113:17): [True: 0, False: 1]
  ------------------
  114|      0|                    return "Invalid multi-dimensional array";
  115|      0|                case conv_errc::not_map:
  ------------------
  |  Branch (115:17): [True: 0, False: 1]
  ------------------
  116|      0|                    return "Cannot convert to map";
  117|      0|                case conv_errc::not_pair:
  ------------------
  |  Branch (117:17): [True: 0, False: 1]
  ------------------
  118|      0|                    return "Cannot convert to std::pair";
  119|      0|                case conv_errc::not_string:
  ------------------
  |  Branch (119:17): [True: 0, False: 1]
  ------------------
  120|      0|                    return "Cannot convert to string";
  121|      0|                case conv_errc::not_string_view:
  ------------------
  |  Branch (121:17): [True: 0, False: 1]
  ------------------
  122|      0|                    return "Cannot convert to string_view";
  123|      0|                case conv_errc::not_byte_string:
  ------------------
  |  Branch (123:17): [True: 0, False: 1]
  ------------------
  124|      0|                    return "Cannot convert to byte_string";
  125|      0|                case conv_errc::not_byte_string_view:
  ------------------
  |  Branch (125:17): [True: 0, False: 1]
  ------------------
  126|      0|                    return "Cannot convert to byte_string_view";
  127|      0|                case conv_errc::not_integer:
  ------------------
  |  Branch (127:17): [True: 0, False: 1]
  ------------------
  128|      0|                    return "Cannot convert to integer";
  129|      0|                case conv_errc::not_signed_integer:
  ------------------
  |  Branch (129:17): [True: 0, False: 1]
  ------------------
  130|      0|                    return "Cannot convert to signed integer";
  131|      0|                case conv_errc::not_unsigned_integer:
  ------------------
  |  Branch (131:17): [True: 0, False: 1]
  ------------------
  132|      0|                    return "Cannot convert to unsigned integer";
  133|      0|                case conv_errc::not_bigint:
  ------------------
  |  Branch (133:17): [True: 0, False: 1]
  ------------------
  134|      0|                    return "Cannot convert to bigint";
  135|      0|                case conv_errc::not_double:
  ------------------
  |  Branch (135:17): [True: 0, False: 1]
  ------------------
  136|      0|                    return "Cannot convert to double";
  137|      0|                case conv_errc::not_bool:
  ------------------
  |  Branch (137:17): [True: 0, False: 1]
  ------------------
  138|      0|                    return "Cannot convert to bool";
  139|      0|                case conv_errc::not_variant:
  ------------------
  |  Branch (139:17): [True: 0, False: 1]
  ------------------
  140|      0|                    return "Cannot convert to std::variant";
  141|      0|                case conv_errc::not_nullptr:
  ------------------
  |  Branch (141:17): [True: 0, False: 1]
  ------------------
  142|      0|                    return "Cannot convert to std::nullptr_t";
  143|      0|                case conv_errc::not_jsoncons_null_type:
  ------------------
  |  Branch (143:17): [True: 0, False: 1]
  ------------------
  144|      0|                    return "Cannot convert to jsoncons::null_type";
  145|      0|                case conv_errc::not_bitset:
  ------------------
  |  Branch (145:17): [True: 0, False: 1]
  ------------------
  146|      0|                    return "Cannot convert to std::bitset";
  147|      0|                case conv_errc::not_base64:
  ------------------
  |  Branch (147:17): [True: 0, False: 1]
  ------------------
  148|      0|                    return "Input is not a base64 encoded string";
  149|      0|                case conv_errc::not_base64url:
  ------------------
  |  Branch (149:17): [True: 0, False: 1]
  ------------------
  150|      0|                    return "Input is not a base64url encoded string";
  151|      0|                case conv_errc::not_base16:
  ------------------
  |  Branch (151:17): [True: 0, False: 1]
  ------------------
  152|      0|                    return "Input is not a base16 encoded string";
  153|      0|                case conv_errc::not_epoch:
  ------------------
  |  Branch (153:17): [True: 0, False: 1]
  ------------------
  154|      0|                    return "Cannot convert to epoch";
  155|      0|                case conv_errc::missing_required_member:
  ------------------
  |  Branch (155:17): [True: 0, False: 1]
  ------------------
  156|      0|                    return "Missing required JSON object member";
  157|      0|                default:
  ------------------
  |  Branch (157:17): [True: 0, False: 1]
  ------------------
  158|      0|                    return "Unknown conversion error";
  159|      1|            }
  160|      1|        }

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

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

_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|  4.59M|            : data_(data), size_(size)
   62|  4.59M|        {
   63|  4.59M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|  4.59M|        {
  112|  4.59M|            return data_;
  113|  4.59M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|  7.20M|        {
  117|  7.20M|            return size_;
  118|  7.20M|        }
_ZNK8jsoncons6detail4spanIKtLm18446744073709551615EE4sizeEv:
  116|  58.7M|        {
  117|  58.7M|            return size_;
  118|  58.7M|        }
_ZNK8jsoncons6detail4spanIKjLm18446744073709551615EE4sizeEv:
  116|   633k|        {
  117|   633k|            return size_;
  118|   633k|        }
_ZNK8jsoncons6detail4spanIKmLm18446744073709551615EE4sizeEv:
  116|   195k|        {
  117|   195k|            return size_;
  118|   195k|        }
_ZNK8jsoncons6detail4spanIKaLm18446744073709551615EE4sizeEv:
  116|  10.1M|        {
  117|  10.1M|            return size_;
  118|  10.1M|        }
_ZNK8jsoncons6detail4spanIKsLm18446744073709551615EE4sizeEv:
  116|   897k|        {
  117|   897k|            return size_;
  118|   897k|        }
_ZNK8jsoncons6detail4spanIKiLm18446744073709551615EE4sizeEv:
  116|  7.52M|        {
  117|  7.52M|            return size_;
  118|  7.52M|        }
_ZNK8jsoncons6detail4spanIKlLm18446744073709551615EE4sizeEv:
  116|   625k|        {
  117|   625k|            return size_;
  118|   625k|        }
_ZNK8jsoncons6detail4spanIKfLm18446744073709551615EE4sizeEv:
  116|   338k|        {
  117|   338k|            return size_;
  118|   338k|        }
_ZNK8jsoncons6detail4spanIKdLm18446744073709551615EE4sizeEv:
  116|   153k|        {
  117|   153k|            return size_;
  118|   153k|        }
_ZNK8jsoncons6detail4spanIhLm18446744073709551615EE4dataEv:
  111|   308k|        {
  112|   308k|            return data_;
  113|   308k|        }
_ZNK8jsoncons6detail4spanIhLm18446744073709551615EE4sizeEv:
  116|   308k|        {
  117|   308k|            return size_;
  118|   308k|        }
_ZN8jsoncons6detail4spanIhLm18446744073709551615EEC2INSt3__16vectorIhNS4_9allocatorIhEEEEEERT_PNS4_9enable_ifIXaaaaaantsr7is_spanIS9_EE5valuentsr10ext_traits12is_std_arrayIS9_EE5valuesr10ext_traits21is_compatible_elementIS9_hEE5valuesr10ext_traits17has_data_and_sizeIS9_EE5valueEvE4typeE:
   68|   308k|            : data_(c.data()), size_(c.size())
   69|   308k|        {
   70|   308k|        }
_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2IhLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  5.08k|            : data_(s.data()), size_(s.size())
  103|  5.08k|        {
  104|  5.08k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EEixEm:
  126|  2.59M|         {
  127|  2.59M|             return data_[index];
  128|  2.59M|         }
_ZN8jsoncons6detail4spanItLm18446744073709551615EEC2EPtm:
   61|   134k|            : data_(data), size_(size)
   62|   134k|        {
   63|   134k|        }
_ZNK8jsoncons6detail4spanItLm18446744073709551615EE4sizeEv:
  116|  44.7M|        {
  117|  44.7M|            return size_;
  118|  44.7M|        }
_ZNK8jsoncons6detail4spanItLm18446744073709551615EEixEm:
  126|  89.1M|         {
  127|  89.1M|             return data_[index];
  128|  89.1M|         }
_ZN8jsoncons6detail4spanIKtLm18446744073709551615EEC2ItLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  67.0k|            : data_(s.data()), size_(s.size())
  103|  67.0k|        {
  104|  67.0k|        }
_ZNK8jsoncons6detail4spanItLm18446744073709551615EE4dataEv:
  111|  67.0k|        {
  112|  67.0k|            return data_;
  113|  67.0k|        }
_ZNK8jsoncons6detail4spanIKtLm18446744073709551615EEixEm:
  126|  58.5M|         {
  127|  58.5M|             return data_[index];
  128|  58.5M|         }
_ZN8jsoncons6detail4spanIjLm18446744073709551615EEC2EPjm:
   61|  13.1k|            : data_(data), size_(size)
   62|  13.1k|        {
   63|  13.1k|        }
_ZNK8jsoncons6detail4spanIjLm18446744073709551615EE4sizeEv:
  116|   630k|        {
  117|   630k|            return size_;
  118|   630k|        }
_ZNK8jsoncons6detail4spanIjLm18446744073709551615EEixEm:
  126|  1.22M|         {
  127|  1.22M|             return data_[index];
  128|  1.22M|         }
_ZN8jsoncons6detail4spanIKjLm18446744073709551615EEC2IjLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  6.57k|            : data_(s.data()), size_(s.size())
  103|  6.57k|        {
  104|  6.57k|        }
_ZNK8jsoncons6detail4spanIjLm18446744073709551615EE4dataEv:
  111|  6.57k|        {
  112|  6.57k|            return data_;
  113|  6.57k|        }
_ZNK8jsoncons6detail4spanIKjLm18446744073709551615EEixEm:
  126|   614k|         {
  127|   614k|             return data_[index];
  128|   614k|         }
_ZN8jsoncons6detail4spanImLm18446744073709551615EEC2EPmm:
   61|  26.8k|            : data_(data), size_(size)
   62|  26.8k|        {
   63|  26.8k|        }
_ZNK8jsoncons6detail4spanImLm18446744073709551615EE4sizeEv:
  116|   166k|        {
  117|   166k|            return size_;
  118|   166k|        }
_ZNK8jsoncons6detail4spanImLm18446744073709551615EEixEm:
  126|   271k|         {
  127|   271k|             return data_[index];
  128|   271k|         }
_ZN8jsoncons6detail4spanIKmLm18446744073709551615EEC2ImLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  13.4k|            : data_(s.data()), size_(s.size())
  103|  13.4k|        {
  104|  13.4k|        }
_ZNK8jsoncons6detail4spanImLm18446744073709551615EE4dataEv:
  111|  13.4k|        {
  112|  13.4k|            return data_;
  113|  13.4k|        }
_ZNK8jsoncons6detail4spanIKmLm18446744073709551615EEixEm:
  126|   179k|         {
  127|   179k|             return data_[index];
  128|   179k|         }
_ZN8jsoncons6detail4spanIaLm18446744073709551615EEC2EPam:
   61|  11.2k|            : data_(data), size_(size)
   62|  11.2k|        {
   63|  11.2k|        }
_ZNK8jsoncons6detail4spanIaLm18446744073709551615EE4sizeEv:
  116|  11.3k|        {
  117|  11.3k|            return size_;
  118|  11.3k|        }
_ZN8jsoncons6detail4spanIKaLm18446744073709551615EEC2IaLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  5.61k|            : data_(s.data()), size_(s.size())
  103|  5.61k|        {
  104|  5.61k|        }
_ZNK8jsoncons6detail4spanIaLm18446744073709551615EE4dataEv:
  111|  5.61k|        {
  112|  5.61k|            return data_;
  113|  5.61k|        }
_ZNK8jsoncons6detail4spanIKaLm18446744073709551615EEixEm:
  126|  10.1M|         {
  127|  10.1M|             return data_[index];
  128|  10.1M|         }
_ZN8jsoncons6detail4spanIsLm18446744073709551615EEC2EPsm:
   61|  37.6k|            : data_(data), size_(size)
   62|  37.6k|        {
   63|  37.6k|        }
_ZNK8jsoncons6detail4spanIsLm18446744073709551615EE4sizeEv:
  116|   894k|        {
  117|   894k|            return size_;
  118|   894k|        }
_ZNK8jsoncons6detail4spanIsLm18446744073709551615EEixEm:
  126|  1.68M|         {
  127|  1.68M|             return data_[index];
  128|  1.68M|         }
_ZN8jsoncons6detail4spanIKsLm18446744073709551615EEC2IsLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  18.8k|            : data_(s.data()), size_(s.size())
  103|  18.8k|        {
  104|  18.8k|        }
_ZNK8jsoncons6detail4spanIsLm18446744073709551615EE4dataEv:
  111|  18.8k|        {
  112|  18.8k|            return data_;
  113|  18.8k|        }
_ZNK8jsoncons6detail4spanIKsLm18446744073709551615EEixEm:
  126|   842k|         {
  127|   842k|             return data_[index];
  128|   842k|         }
_ZN8jsoncons6detail4spanIiLm18446744073709551615EEC2EPim:
   61|  11.3k|            : data_(data), size_(size)
   62|  11.3k|        {
   63|  11.3k|        }
_ZNK8jsoncons6detail4spanIiLm18446744073709551615EE4sizeEv:
  116|  7.51M|        {
  117|  7.51M|            return size_;
  118|  7.51M|        }
_ZNK8jsoncons6detail4spanIiLm18446744073709551615EEixEm:
  126|  15.0M|         {
  127|  15.0M|             return data_[index];
  128|  15.0M|         }
_ZN8jsoncons6detail4spanIKiLm18446744073709551615EEC2IiLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  5.65k|            : data_(s.data()), size_(s.size())
  103|  5.65k|        {
  104|  5.65k|        }
_ZNK8jsoncons6detail4spanIiLm18446744073709551615EE4dataEv:
  111|  5.65k|        {
  112|  5.65k|            return data_;
  113|  5.65k|        }
_ZNK8jsoncons6detail4spanIKiLm18446744073709551615EEixEm:
  126|  7.50M|         {
  127|  7.50M|             return data_[index];
  128|  7.50M|         }
_ZN8jsoncons6detail4spanIlLm18446744073709551615EEC2EPlm:
   61|  17.7k|            : data_(data), size_(size)
   62|  17.7k|        {
   63|  17.7k|        }
_ZNK8jsoncons6detail4spanIlLm18446744073709551615EE4sizeEv:
  116|   608k|        {
  117|   608k|            return size_;
  118|   608k|        }
_ZNK8jsoncons6detail4spanIlLm18446744073709551615EEixEm:
  126|  1.16M|         {
  127|  1.16M|             return data_[index];
  128|  1.16M|         }
_ZN8jsoncons6detail4spanIKlLm18446744073709551615EEC2IlLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  8.87k|            : data_(s.data()), size_(s.size())
  103|  8.87k|        {
  104|  8.87k|        }
_ZNK8jsoncons6detail4spanIlLm18446744073709551615EE4dataEv:
  111|  8.87k|        {
  112|  8.87k|            return data_;
  113|  8.87k|        }
_ZNK8jsoncons6detail4spanIKlLm18446744073709551615EEixEm:
  126|   601k|         {
  127|   601k|             return data_[index];
  128|   601k|         }
_ZN8jsoncons6detail4spanIfLm18446744073709551615EEC2EPfm:
   61|  32.4k|            : data_(data), size_(size)
   62|  32.4k|        {
   63|  32.4k|        }
_ZNK8jsoncons6detail4spanIfLm18446744073709551615EE4sizeEv:
  116|   266k|        {
  117|   266k|            return size_;
  118|   266k|        }
_ZNK8jsoncons6detail4spanIfLm18446744073709551615EEixEm:
  126|   437k|         {
  127|   437k|             return data_[index];
  128|   437k|         }
_ZN8jsoncons6detail4spanIKfLm18446744073709551615EEC2IfLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  16.2k|            : data_(s.data()), size_(s.size())
  103|  16.2k|        {
  104|  16.2k|        }
_ZNK8jsoncons6detail4spanIfLm18446744073709551615EE4dataEv:
  111|  16.2k|        {
  112|  16.2k|            return data_;
  113|  16.2k|        }
_ZNK8jsoncons6detail4spanIKfLm18446744073709551615EEixEm:
  126|   293k|         {
  127|   293k|             return data_[index];
  128|   293k|         }
_ZN8jsoncons6detail4spanIdLm18446744073709551615EEC2EPdm:
   61|  13.8k|            : data_(data), size_(size)
   62|  13.8k|        {
   63|  13.8k|        }
_ZNK8jsoncons6detail4spanIdLm18446744073709551615EE4sizeEv:
  116|   106k|        {
  117|   106k|            return size_;
  118|   106k|        }
_ZNK8jsoncons6detail4spanIdLm18446744073709551615EEixEm:
  126|   175k|         {
  127|   175k|             return data_[index];
  128|   175k|         }
_ZN8jsoncons6detail4spanIKdLm18446744073709551615EEC2IdLm18446744073709551615EEERKNS1_IT_XT0_EEEPNSt3__19enable_ifIXaaooeqT0_L_ZNS0_L14dynamic_extentEEeqT0_L_ZNS3_6extentEEsr3std14is_convertibleIPA_S5_PA_S2_EE5valueEvE4typeE:
  102|  6.90k|            : data_(s.data()), size_(s.size())
  103|  6.90k|        {
  104|  6.90k|        }
_ZNK8jsoncons6detail4spanIdLm18446744073709551615EE4dataEv:
  111|  6.90k|        {
  112|  6.90k|            return data_;
  113|  6.90k|        }
_ZNK8jsoncons6detail4spanIKdLm18446744073709551615EEixEm:
  126|   133k|         {
  127|   133k|             return data_[index];
  128|   133k|         }
_ZNK8jsoncons6detail4spanIKmLm18446744073709551615EE5emptyEv:
  121|  5.59k|        { 
  122|  5.59k|            return size_ == 0; 
  123|  5.59k|        }
_ZN8jsoncons6detail4spanIKmLm18446744073709551615EEC2INSt3__16vectorImNS5_9allocatorImEEEEEERT_PNS5_9enable_ifIXaaaaaantsr7is_spanISA_EE5valuentsr10ext_traits12is_std_arrayISA_EE5valuesr10ext_traits21is_compatible_elementISA_S2_EE5valuesr10ext_traits17has_data_and_sizeISA_EE5valueEvE4typeE:
   68|  5.59k|            : data_(c.data()), size_(c.size())
   69|  5.59k|        {
   70|  5.59k|        }

_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  858|  11.2k|            : destination_(std::addressof(visitor)), 
  859|  11.2k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  860|  11.2k|        {
  861|  11.2k|            level_stack_.emplace_back(target_t::destination,container_t::root); // root
  862|  11.2k|        }
_ZN8jsoncons24basic_item_event_visitorIcEC2Ev:
   51|  11.2k|        basic_item_event_visitor() = default;
_ZN8jsoncons24basic_item_event_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  293|   769k|        {
  294|   769k|            visit_begin_array(length, tag, context, ec);
  295|   769k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   769k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  296|   769k|        }
_ZN8jsoncons24basic_item_event_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  362|  18.3M|        {
  363|  18.3M|            visit_uint64(value, tag, context, ec);
  364|  18.3M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  18.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  365|  18.3M|        }
_ZN8jsoncons24basic_item_event_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  299|  1.16M|        {
  300|  1.16M|            visit_end_array(context, ec);
  301|  1.16M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.16M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  302|  1.16M|        }
_ZN8jsoncons24basic_item_event_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  371|  25.7M|        {
  372|  25.7M|            visit_int64(value, tag, context, ec);
  373|  25.7M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  25.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  374|  25.7M|        }
_ZN8jsoncons24basic_item_event_visitorIcE10half_valueEtNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  380|  52.9k|        {
  381|  52.9k|            visit_half(value, tag, context, ec);
  382|  52.9k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  52.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  383|  52.9k|        }
_ZN8jsoncons24basic_item_event_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  389|  58.5M|        {
  390|  58.5M|            visit_double(value, tag, context, ec);
  391|  58.5M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  58.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  392|  58.5M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5levelC2ENS4_8target_tENS4_11container_tE:
  797|  12.8M|                : state_(state), type_(type), even_odd_(type == container_t::object ? 0 : 1)
  ------------------
  |  Branch (797:57): [True: 11.5M, False: 1.24M]
  ------------------
  798|  12.8M|            {
  799|  12.8M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1011|   769k|        {
 1012|   769k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1012:17): [True: 156k, False: 613k]
  ------------------
 1013|   156k|            {
 1014|   156k|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1014:21): [True: 71.2k, False: 84.8k]
  |  Branch (1014:73): [True: 65.5k, False: 5.70k]
  ------------------
 1015|  65.5k|                {
 1016|  65.5k|                    key_buffer_.push_back(',');
 1017|  65.5k|                }
 1018|   156k|                level_stack_.emplace_back(target_t::buffer, container_t::array);
 1019|   156k|                key_buffer_.push_back('[');
 1020|   156k|            }
 1021|   613k|            else
 1022|   613k|            {
 1023|   613k|                switch (level_stack_.back().target())
 1024|   613k|                {
 1025|   389k|                    case target_t::buffer:
  ------------------
  |  Branch (1025:21): [True: 389k, False: 224k]
  ------------------
 1026|   389k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1026:29): [True: 317k, False: 71.7k]
  |  Branch (1026:65): [True: 269k, False: 48.3k]
  ------------------
 1027|   269k|                        {
 1028|   269k|                            key_buffer_.push_back(',');
 1029|   269k|                        }
 1030|   389k|                        level_stack_.emplace_back(target_t::buffer, container_t::array);
 1031|   389k|                        key_buffer_.push_back('[');
 1032|   389k|                        break;
 1033|   224k|                    default:
  ------------------
  |  Branch (1033:21): [True: 224k, False: 389k]
  ------------------
 1034|   224k|                        level_stack_.emplace_back(target_t::destination, container_t::array);
 1035|   224k|                        destination_->begin_array(length, tag, context, ec);
 1036|   224k|                        break;
 1037|   613k|                }
 1038|   613k|            }
 1039|   769k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   769k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1040|   769k|        }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level6is_keyEv:
  814|   384M|            {
  815|   384M|                return even_odd_ == 0;
  816|   384M|            }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level6targetEv:
  824|   258M|            {
  825|   258M|                return state_;
  826|   258M|            }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level5countEv:
  829|  74.1M|            {
  830|  74.1M|                return count_;
  831|  74.1M|            }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level9is_objectEv:
  819|   206M|            {
  820|   206M|                return type_ == container_t::object;
  821|   206M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1043|  1.16M|        {
 1044|  1.16M|            switch (level_stack_.back().target())
 1045|  1.16M|            {
 1046|   956k|                case target_t::buffer:
  ------------------
  |  Branch (1046:17): [True: 956k, False: 206k]
  ------------------
 1047|   956k|                    key_buffer_.push_back(']');
 1048|   956k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|   956k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 956k]
  |  |  ------------------
  |  |   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|   956k|                    level_stack_.pop_back();
 1050|   956k|                    if (level_stack_.back().target() == target_t::destination)
  ------------------
  |  Branch (1050:25): [True: 84.6k, False: 872k]
  ------------------
 1051|  84.6k|                    {
 1052|  84.6k|                        destination_->key(key_buffer_, context, ec);
 1053|  84.6k|                        key_buffer_.clear();
 1054|  84.6k|                    }
 1055|   872k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1055:30): [True: 84.7k, False: 787k]
  ------------------
 1056|  84.7k|                    {
 1057|  84.7k|                        key_buffer_.push_back(':');
 1058|  84.7k|                    }
 1059|   956k|                    level_stack_.back().advance();
 1060|   956k|                    break;
 1061|   206k|                default:
  ------------------
  |  Branch (1061:17): [True: 206k, False: 956k]
  ------------------
 1062|   206k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|   206k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 206k]
  |  |  ------------------
  |  |   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|   206k|                    level_stack_.pop_back();
 1064|   206k|                    level_stack_.back().advance();
 1065|   206k|                    destination_->end_array(context, ec);
 1066|   206k|                    break;
 1067|  1.16M|            }
 1068|  1.16M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.16M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1069|  1.16M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level7advanceEv:
  802|   132M|            {
  803|   132M|                if (!is_key())
  ------------------
  |  Branch (803:21): [True: 121M, False: 10.4M]
  ------------------
  804|   121M|                {
  805|   121M|                    ++count_;
  806|   121M|                }
  807|   132M|                if (is_object())
  ------------------
  |  Branch (807:21): [True: 20.8M, False: 111M]
  ------------------
  808|  20.8M|                {
  809|  20.8M|                    even_odd_ = !even_odd_;
  810|  20.8M|                }
  811|   132M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1236|  18.3M|        {
 1237|  18.3M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1237:17): [True: 4.66M, False: 13.7M]
  |  Branch (1237:49): [True: 7.99M, False: 5.72M]
  ------------------
 1238|  12.6M|            {
 1239|  12.6M|                key_.clear();
 1240|  12.6M|                jsoncons::from_integer(value,key_);
 1241|  12.6M|            }
 1242|       |
 1243|  18.3M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1243:17): [True: 4.66M, False: 13.7M]
  ------------------
 1244|  4.66M|            {
 1245|  4.66M|                switch (level_stack_.back().target())
 1246|  4.66M|                {
 1247|  2.23M|                    case target_t::buffer:
  ------------------
  |  Branch (1247:21): [True: 2.23M, False: 2.43M]
  ------------------
 1248|  2.23M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1248:29): [True: 2.22M, False: 7.70k]
  ------------------
 1249|  2.22M|                        {
 1250|  2.22M|                            key_buffer_.push_back(',');
 1251|  2.22M|                        }
 1252|  2.23M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1253|  2.23M|                        key_buffer_.push_back(':');
 1254|  2.23M|                        break;
 1255|  2.43M|                    default:
  ------------------
  |  Branch (1255:21): [True: 2.43M, False: 2.23M]
  ------------------
 1256|  2.43M|                        destination_->key(key_, context, ec);
 1257|  2.43M|                        break;
 1258|  4.66M|                }
 1259|  4.66M|            }
 1260|  13.7M|            else
 1261|  13.7M|            {
 1262|  13.7M|                switch (level_stack_.back().target())
 1263|  13.7M|                {
 1264|  7.99M|                    case target_t::buffer:
  ------------------
  |  Branch (1264:21): [True: 7.99M, False: 5.72M]
  ------------------
 1265|  7.99M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1265:29): [True: 5.76M, False: 2.22M]
  |  Branch (1265:65): [True: 5.73M, False: 26.4k]
  ------------------
 1266|  5.73M|                        {
 1267|  5.73M|                            key_buffer_.push_back(',');
 1268|  5.73M|                        }
 1269|  7.99M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1270|  7.99M|                        break;
 1271|  5.72M|                    default:
  ------------------
  |  Branch (1271:21): [True: 5.72M, False: 7.99M]
  ------------------
 1272|  5.72M|                        destination_->uint64_value(value, tag, context, ec);
 1273|  5.72M|                        break;
 1274|  13.7M|                }
 1275|  13.7M|            }
 1276|       |
 1277|  18.3M|            level_stack_.back().advance();
 1278|  18.3M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  18.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1279|  18.3M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1282|  25.7M|        {
 1283|  25.7M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1283:17): [True: 726k, False: 25.0M]
  |  Branch (1283:49): [True: 13.0M, False: 11.9M]
  ------------------
 1284|  13.7M|            {
 1285|  13.7M|                key_.clear();
 1286|  13.7M|                jsoncons::from_integer(value,key_);
 1287|  13.7M|            }
 1288|       |
 1289|  25.7M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1289:17): [True: 726k, False: 25.0M]
  ------------------
 1290|   726k|            {
 1291|   726k|                switch (level_stack_.back().target())
 1292|   726k|                {
 1293|   243k|                    case target_t::buffer:
  ------------------
  |  Branch (1293:21): [True: 243k, False: 483k]
  ------------------
 1294|   243k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1294:29): [True: 238k, False: 5.20k]
  ------------------
 1295|   238k|                        {
 1296|   238k|                            key_buffer_.push_back(',');
 1297|   238k|                        }
 1298|   243k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1299|   243k|                        key_buffer_.push_back(':');
 1300|   243k|                        break;
 1301|   483k|                    default:
  ------------------
  |  Branch (1301:21): [True: 483k, False: 243k]
  ------------------
 1302|   483k|                        destination_->key(key_, context, ec);
 1303|   483k|                        break;
 1304|   726k|                }
 1305|   726k|            }
 1306|  25.0M|            else
 1307|  25.0M|            {
 1308|  25.0M|                switch (level_stack_.back().target())
 1309|  25.0M|                {
 1310|  13.0M|                    case target_t::buffer:
  ------------------
  |  Branch (1310:21): [True: 13.0M, False: 11.9M]
  ------------------
 1311|  13.0M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1311:29): [True: 12.7M, False: 241k]
  |  Branch (1311:65): [True: 12.7M, False: 53.8k]
  ------------------
 1312|  12.7M|                        {
 1313|  12.7M|                            key_buffer_.push_back(',');
 1314|  12.7M|                        }
 1315|  13.0M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1316|  13.0M|                        break;
 1317|  11.9M|                    default:
  ------------------
  |  Branch (1317:21): [True: 11.9M, False: 13.0M]
  ------------------
 1318|  11.9M|                        destination_->int64_value(value, tag, context, ec);
 1319|  11.9M|                        break;
 1320|  25.0M|                }
 1321|  25.0M|            }
 1322|       |
 1323|  25.7M|            level_stack_.back().advance();
 1324|  25.7M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  25.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1325|  25.7M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1377|  58.5M|        {
 1378|  58.5M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1378:17): [True: 7.78k, False: 58.5M]
  |  Branch (1378:49): [True: 46.7M, False: 11.8M]
  ------------------
 1379|  46.7M|            {
 1380|  46.7M|                key_.clear();
 1381|  46.7M|                string_sink<string_type> sink(key_);
 1382|  46.7M|                jsoncons::write_double f{float_chars_format::general,0};
 1383|  46.7M|                f(value, sink);
 1384|  46.7M|            }
 1385|       |
 1386|  58.5M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1386:17): [True: 7.78k, False: 58.5M]
  ------------------
 1387|  7.78k|            {
 1388|  7.78k|                switch (level_stack_.back().target())
 1389|  7.78k|                {
 1390|  5.29k|                    case target_t::buffer:
  ------------------
  |  Branch (1390:21): [True: 5.29k, False: 2.49k]
  ------------------
 1391|  5.29k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1391:29): [True: 2.93k, False: 2.35k]
  ------------------
 1392|  2.93k|                        {
 1393|  2.93k|                            key_buffer_.push_back(',');
 1394|  2.93k|                        }
 1395|  5.29k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1396|  5.29k|                        key_buffer_.push_back(':');
 1397|  5.29k|                        break;
 1398|  2.49k|                    default:
  ------------------
  |  Branch (1398:21): [True: 2.49k, False: 5.29k]
  ------------------
 1399|  2.49k|                        destination_->key(key_, context, ec);
 1400|  2.49k|                        break;
 1401|  7.78k|                }
 1402|  7.78k|            }
 1403|  58.5M|            else
 1404|  58.5M|            {
 1405|  58.5M|                switch (level_stack_.back().target())
 1406|  58.5M|                {
 1407|  46.7M|                    case target_t::buffer:
  ------------------
  |  Branch (1407:21): [True: 46.7M, False: 11.8M]
  ------------------
 1408|  46.7M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1408:29): [True: 46.7M, False: 3.04k]
  |  Branch (1408:65): [True: 46.6M, False: 44.4k]
  ------------------
 1409|  46.6M|                        {
 1410|  46.6M|                            key_buffer_.push_back(',');
 1411|  46.6M|                        }
 1412|  46.7M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1413|  46.7M|                        break;
 1414|  11.8M|                    default:
  ------------------
  |  Branch (1414:21): [True: 11.8M, False: 46.7M]
  ------------------
 1415|  11.8M|                        destination_->double_value(value, tag, context, ec);
 1416|  11.8M|                        break;
 1417|  58.5M|                }
 1418|  58.5M|            }
 1419|       |
 1420|  58.5M|            level_stack_.back().advance();
 1421|  58.5M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  58.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1422|  58.5M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  884|  3.33k|        {
  885|  3.33k|            destination_->flush();
  886|  3.33k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  889|   310k|        {
  890|   310k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (890:17): [True: 152k, False: 158k]
  ------------------
  891|   152k|            {
  892|   152k|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (892:21): [True: 151k, False: 1.42k]
  |  Branch (892:73): [True: 145k, False: 6.17k]
  ------------------
  893|   145k|                {
  894|   145k|                    key_buffer_.push_back(',');
  895|   145k|                }
  896|   152k|                level_stack_.emplace_back(target_t::buffer, container_t::object);
  897|   152k|                key_buffer_.push_back('{');
  898|   152k|            }
  899|   158k|            else
  900|   158k|            {
  901|   158k|                switch (level_stack_.back().target())
  902|   158k|                {
  903|   150k|                    case target_t::buffer:
  ------------------
  |  Branch (903:21): [True: 150k, False: 7.38k]
  ------------------
  904|   150k|                        level_stack_.emplace_back(target_t::buffer, container_t::object);
  905|   150k|                        key_buffer_.push_back('{');
  906|   150k|                        break;
  907|  7.38k|                    default:
  ------------------
  |  Branch (907:21): [True: 7.38k, False: 150k]
  ------------------
  908|  7.38k|                        level_stack_.emplace_back(target_t::destination, container_t::object);
  909|  7.38k|                        destination_->begin_object(tag, context, ec);
  910|  7.38k|                        break;
  911|   158k|                }
  912|   158k|            }
  913|   310k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   310k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  914|   310k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  917|  11.2M|        {
  918|  11.2M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (918:17): [True: 1.53M, False: 9.71M]
  ------------------
  919|  1.53M|            {
  920|  1.53M|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (920:21): [True: 137k, False: 1.39M]
  |  Branch (920:73): [True: 122k, False: 15.7k]
  ------------------
  921|   122k|                {
  922|   122k|                    key_buffer_.push_back(',');
  923|   122k|                }
  924|  1.53M|                level_stack_.emplace_back(target_t::buffer, container_t::object);
  925|  1.53M|                key_buffer_.push_back('{');
  926|  1.53M|            }
  927|  9.71M|            else
  928|  9.71M|            {
  929|  9.71M|                switch (level_stack_.back().target())
  930|  9.71M|                {
  931|   807k|                    case target_t::buffer:
  ------------------
  |  Branch (931:21): [True: 807k, False: 8.91M]
  ------------------
  932|   807k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (932:29): [True: 677k, False: 129k]
  |  Branch (932:65): [True: 673k, False: 4.32k]
  ------------------
  933|   673k|                        {
  934|   673k|                            key_buffer_.push_back(',');
  935|   673k|                        }
  936|   807k|                        level_stack_.emplace_back(target_t::buffer, container_t::object);
  937|   807k|                        key_buffer_.push_back('{');
  938|   807k|                        break;
  939|  8.91M|                    default:
  ------------------
  |  Branch (939:21): [True: 8.91M, False: 807k]
  ------------------
  940|  8.91M|                        level_stack_.emplace_back(target_t::destination, container_t::object);
  941|  8.91M|                        destination_->begin_object(length, tag, context, ec);
  942|  8.91M|                        break;
  943|  9.71M|                }
  944|  9.71M|            }
  945|  11.2M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  11.2M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  946|  11.2M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  949|  11.5M|        {
  950|  11.5M|            switch (level_stack_.back().target())
  951|  11.5M|            {
  952|  2.60M|                case target_t::buffer:
  ------------------
  |  Branch (952:17): [True: 2.60M, False: 8.90M]
  ------------------
  953|  2.60M|                    key_buffer_.push_back('}');
  954|  2.60M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|  2.60M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.60M]
  |  |  ------------------
  |  |   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.60M|                    level_stack_.pop_back();
  956|       |                    
  957|  2.60M|                    if (level_stack_.back().target() == target_t::destination)
  ------------------
  |  Branch (957:25): [True: 1.39M, False: 1.21M]
  ------------------
  958|  1.39M|                    {
  959|  1.39M|                        destination_->key(key_buffer_,context, ec);
  960|  1.39M|                        key_buffer_.clear();
  961|  1.39M|                    }
  962|  1.21M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (962:30): [True: 269k, False: 943k]
  ------------------
  963|   269k|                    {
  964|   269k|                        key_buffer_.push_back(':');
  965|   269k|                    }
  966|  2.60M|                    level_stack_.back().advance();
  967|  2.60M|                    break;
  968|  8.90M|                default:
  ------------------
  |  Branch (968:17): [True: 8.90M, False: 2.60M]
  ------------------
  969|  8.90M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|  8.90M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 8.90M]
  |  |  ------------------
  |  |   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|  8.90M|                    level_stack_.pop_back();
  971|  8.90M|                    level_stack_.back().advance();
  972|  8.90M|                    destination_->end_object(context, ec);
  973|  8.90M|                    break;
  974|  11.5M|            }
  975|  11.5M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  11.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  976|  11.5M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  979|   465k|        {
  980|   465k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (980:17): [True: 17.7k, False: 448k]
  ------------------
  981|  17.7k|            {
  982|  17.7k|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (982:21): [True: 17.0k, False: 664]
  |  Branch (982:73): [True: 15.4k, False: 1.61k]
  ------------------
  983|  15.4k|                {
  984|  15.4k|                    key_buffer_.push_back(',');
  985|  15.4k|                }
  986|  17.7k|                level_stack_.emplace_back(target_t::buffer, container_t::array);
  987|  17.7k|                key_buffer_.push_back('[');
  988|  17.7k|            }
  989|   448k|            else
  990|   448k|            {
  991|   448k|                switch (level_stack_.back().target())
  992|   448k|                {
  993|   439k|                    case target_t::buffer:
  ------------------
  |  Branch (993:21): [True: 439k, False: 8.72k]
  ------------------
  994|   439k|                        if (level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (994:29): [True: 17.6k, False: 421k]
  |  Branch (994:64): [True: 17.1k, False: 423]
  ------------------
  995|  17.1k|                        {
  996|  17.1k|                            key_buffer_.push_back(',');
  997|  17.1k|                        }
  998|   439k|                        level_stack_.emplace_back(target_t::buffer, container_t::array);
  999|   439k|                        key_buffer_.push_back('[');
 1000|   439k|                        break;
 1001|  8.72k|                    default:
  ------------------
  |  Branch (1001:21): [True: 8.72k, False: 439k]
  ------------------
 1002|  8.72k|                        level_stack_.emplace_back(target_t::destination, container_t::array);
 1003|  8.72k|                        destination_->begin_array(tag, context, ec);
 1004|  8.72k|                        break;
 1005|   448k|                }
 1006|   448k|            }
 1007|   465k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   465k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1008|   465k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1478|  1.84M|        {
 1479|  1.84M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1479:17): [True: 247k, False: 1.59M]
  |  Branch (1479:49): [True: 428k, False: 1.16M]
  ------------------
 1480|   676k|            {
 1481|   676k|                key_.clear(); 
 1482|   676k|                key_.insert(key_.begin(), null_constant.begin(), null_constant.end());
 1483|   676k|            }
 1484|       |
 1485|  1.84M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1485:17): [True: 247k, False: 1.59M]
  ------------------
 1486|   247k|            {
 1487|   247k|                switch (level_stack_.back().target())
 1488|   247k|                {
 1489|   175k|                    case target_t::buffer:
  ------------------
  |  Branch (1489:21): [True: 175k, False: 71.9k]
  ------------------
 1490|   175k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1490:29): [True: 174k, False: 1.32k]
  ------------------
 1491|   174k|                        {
 1492|   174k|                            key_buffer_.push_back(',');
 1493|   174k|                        }
 1494|   175k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1495|   175k|                        key_buffer_.push_back(':');
 1496|   175k|                        break;
 1497|  71.9k|                    default:
  ------------------
  |  Branch (1497:21): [True: 71.9k, False: 175k]
  ------------------
 1498|  71.9k|                        destination_->key(key_, context, ec);
 1499|  71.9k|                        break;
 1500|   247k|                }
 1501|   247k|            }
 1502|  1.59M|            else
 1503|  1.59M|            {
 1504|  1.59M|                switch (level_stack_.back().target())
 1505|  1.59M|                {
 1506|   428k|                    case target_t::buffer:
  ------------------
  |  Branch (1506:21): [True: 428k, False: 1.16M]
  ------------------
 1507|   428k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1507:29): [True: 253k, False: 175k]
  |  Branch (1507:65): [True: 252k, False: 408]
  ------------------
 1508|   252k|                        {
 1509|   252k|                            key_buffer_.push_back(',');
 1510|   252k|                        }
 1511|   428k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1512|   428k|                        break;
 1513|  1.16M|                    default:
  ------------------
  |  Branch (1513:21): [True: 1.16M, False: 428k]
  ------------------
 1514|  1.16M|                        destination_->null_value(tag, context, ec);
 1515|  1.16M|                        break;
 1516|  1.59M|                }
 1517|  1.59M|            }
 1518|       |
 1519|  1.84M|            level_stack_.back().advance();
 1520|  1.84M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.84M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1521|  1.84M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1425|  3.44M|        {
 1426|  3.44M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1426:17): [True: 240k, False: 3.20M]
  |  Branch (1426:49): [True: 823k, False: 2.38M]
  ------------------
 1427|  1.06M|            {
 1428|  1.06M|                key_.clear(); 
 1429|  1.06M|                if (value)
  ------------------
  |  Branch (1429:21): [True: 268k, False: 794k]
  ------------------
 1430|   268k|                {
 1431|   268k|                    key_.insert(key_.begin(), true_constant.begin(), true_constant.end());
 1432|   268k|                }
 1433|   794k|                else
 1434|   794k|                {
 1435|   794k|                    key_.insert(key_.begin(), false_constant.begin(), false_constant.end());
 1436|   794k|                }
 1437|  1.06M|            }
 1438|       |
 1439|  3.44M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1439:17): [True: 240k, False: 3.20M]
  ------------------
 1440|   240k|            {
 1441|   240k|                switch (level_stack_.back().target())
 1442|   240k|                {
 1443|   188k|                    case target_t::buffer:
  ------------------
  |  Branch (1443:21): [True: 188k, False: 51.5k]
  ------------------
 1444|   188k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1444:29): [True: 188k, False: 534]
  ------------------
 1445|   188k|                        {
 1446|   188k|                            key_buffer_.push_back(',');
 1447|   188k|                        }
 1448|   188k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1449|   188k|                        key_buffer_.push_back(':');
 1450|   188k|                        break;
 1451|  51.5k|                    default:
  ------------------
  |  Branch (1451:21): [True: 51.5k, False: 188k]
  ------------------
 1452|  51.5k|                        destination_->key(key_, context, ec);
 1453|  51.5k|                        break;
 1454|   240k|                }
 1455|   240k|            }
 1456|  3.20M|            else
 1457|  3.20M|            {
 1458|  3.20M|                switch (level_stack_.back().target())
 1459|  3.20M|                {
 1460|   823k|                    case target_t::buffer:
  ------------------
  |  Branch (1460:21): [True: 823k, False: 2.38M]
  ------------------
 1461|   823k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1461:29): [True: 634k, False: 188k]
  |  Branch (1461:65): [True: 633k, False: 513]
  ------------------
 1462|   633k|                        {
 1463|   633k|                            key_buffer_.push_back(',');
 1464|   633k|                        }
 1465|   823k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1466|   823k|                        break;
 1467|  2.38M|                    default:
  ------------------
  |  Branch (1467:21): [True: 2.38M, False: 823k]
  ------------------
 1468|  2.38M|                        destination_->bool_value(value, tag, context, ec);
 1469|  2.38M|                        break;
 1470|  3.20M|                }
 1471|  3.20M|            }
 1472|       |
 1473|  3.44M|            level_stack_.back().advance();
 1474|  3.44M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.44M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1475|  3.44M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1075|  2.22M|        {
 1076|  2.22M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1076:17): [True: 871k, False: 1.34M]
  ------------------
 1077|   871k|            {
 1078|   871k|                switch (level_stack_.back().target())
 1079|   871k|                {
 1080|   638k|                    case target_t::buffer:
  ------------------
  |  Branch (1080:21): [True: 638k, False: 232k]
  ------------------
 1081|   638k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1081:29): [True: 637k, False: 1.22k]
  ------------------
 1082|   637k|                        {
 1083|   637k|                            key_buffer_.push_back(',');
 1084|   637k|                        }
 1085|   638k|                        key_buffer_.push_back('\"');
 1086|   638k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1087|   638k|                        key_buffer_.push_back('\"');
 1088|   638k|                        key_buffer_.push_back(':');
 1089|   638k|                        break;
 1090|   232k|                    default:
  ------------------
  |  Branch (1090:21): [True: 232k, False: 638k]
  ------------------
 1091|   232k|                        destination_->key(value, context, ec);
 1092|   232k|                        break;
 1093|   871k|                }
 1094|   871k|            }
 1095|  1.34M|            else
 1096|  1.34M|            {
 1097|  1.34M|                switch (level_stack_.back().target())
 1098|  1.34M|                {
 1099|   723k|                    case target_t::buffer:
  ------------------
  |  Branch (1099:21): [True: 723k, False: 626k]
  ------------------
 1100|   723k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1100:29): [True: 83.3k, False: 639k]
  |  Branch (1100:65): [True: 81.8k, False: 1.55k]
  ------------------
 1101|  81.8k|                        {
 1102|  81.8k|                            key_buffer_.push_back(',');
 1103|  81.8k|                        }
 1104|   723k|                        key_buffer_.push_back('\"');
 1105|   723k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1106|   723k|                        key_buffer_.push_back('\"');
 1107|   723k|                        break;
 1108|   626k|                    default:
  ------------------
  |  Branch (1108:21): [True: 626k, False: 723k]
  ------------------
 1109|   626k|                        destination_->string_value(value, tag, context, ec);
 1110|   626k|                        break;
 1111|  1.34M|                }
 1112|  1.34M|            }
 1113|       |
 1114|  2.22M|            level_stack_.back().advance();
 1115|  2.22M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.22M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1116|  2.22M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1122|  9.36M|        {
 1123|  9.36M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1123:17): [True: 1.80M, False: 7.56M]
  |  Branch (1123:49): [True: 2.97M, False: 4.58M]
  ------------------
 1124|  4.78M|            {
 1125|  4.78M|                key_.clear();
 1126|  4.78M|                switch (tag)
 1127|  4.78M|                {
 1128|    795|                    case semantic_tag::base64:
  ------------------
  |  Branch (1128:21): [True: 795, False: 4.78M]
  ------------------
 1129|    795|                        bytes_to_base64(value.begin(), value.end(), key_);
 1130|    795|                        break;
 1131|    901|                    case semantic_tag::base16:
  ------------------
  |  Branch (1131:21): [True: 901, False: 4.78M]
  ------------------
 1132|    901|                        bytes_to_base16(value.begin(), value.end(),key_);
 1133|    901|                        break;
 1134|  4.78M|                    default:
  ------------------
  |  Branch (1134:21): [True: 4.78M, False: 1.69k]
  ------------------
 1135|  4.78M|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1136|  4.78M|                        break;
 1137|  4.78M|                }
 1138|  4.78M|            }
 1139|       |
 1140|  9.36M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1140:17): [True: 1.80M, False: 7.56M]
  ------------------
 1141|  1.80M|            {
 1142|  1.80M|                switch (level_stack_.back().target())
 1143|  1.80M|                {
 1144|   948k|                    case target_t::buffer:
  ------------------
  |  Branch (1144:21): [True: 948k, False: 858k]
  ------------------
 1145|   948k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1145:29): [True: 942k, False: 6.16k]
  ------------------
 1146|   942k|                        {
 1147|   942k|                            key_buffer_.push_back(',');
 1148|   942k|                        }
 1149|   948k|                        key_buffer_.push_back('\"');
 1150|   948k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1151|   948k|                        key_buffer_.push_back('\"');
 1152|   948k|                        key_buffer_.push_back(':');
 1153|   948k|                        break;
 1154|   858k|                    default:
  ------------------
  |  Branch (1154:21): [True: 858k, False: 948k]
  ------------------
 1155|   858k|                        destination_->key(key_, context, ec);
 1156|   858k|                        break;
 1157|  1.80M|                }
 1158|  1.80M|            }
 1159|  7.56M|            else
 1160|  7.56M|            {
 1161|  7.56M|                switch (level_stack_.back().target())
 1162|  7.56M|                {
 1163|  2.97M|                    case target_t::buffer:
  ------------------
  |  Branch (1163:21): [True: 2.97M, False: 4.58M]
  ------------------
 1164|  2.97M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1164:29): [True: 2.03M, False: 945k]
  |  Branch (1164:65): [True: 2.02M, False: 5.40k]
  ------------------
 1165|  2.02M|                        {
 1166|  2.02M|                            key_buffer_.push_back(',');
 1167|  2.02M|                        }
 1168|  2.97M|                        key_buffer_.push_back('\"');
 1169|  2.97M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1170|  2.97M|                        key_buffer_.push_back('\"');
 1171|  2.97M|                        break;
 1172|  4.58M|                    default:
  ------------------
  |  Branch (1172:21): [True: 4.58M, False: 2.97M]
  ------------------
 1173|  4.58M|                        destination_->byte_string_value(value, tag, context, ec);
 1174|  4.58M|                        break;
 1175|  7.56M|                }
 1176|  7.56M|            }
 1177|       |
 1178|  9.36M|            level_stack_.back().advance();
 1179|  9.36M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  9.36M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1180|  9.36M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1186|  31.4k|        {
 1187|  31.4k|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1187:17): [True: 7.72k, False: 23.6k]
  |  Branch (1187:49): [True: 15.1k, False: 8.58k]
  ------------------
 1188|  22.8k|            {
 1189|  22.8k|                key_.clear();
 1190|  22.8k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1191|  22.8k|            }
 1192|       |
 1193|  31.4k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1193:17): [True: 7.72k, False: 23.6k]
  ------------------
 1194|  7.72k|            {
 1195|  7.72k|                switch (level_stack_.back().target())
 1196|  7.72k|                {
 1197|  4.91k|                    case target_t::buffer:
  ------------------
  |  Branch (1197:21): [True: 4.91k, False: 2.81k]
  ------------------
 1198|  4.91k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1198:29): [True: 4.43k, False: 475]
  ------------------
 1199|  4.43k|                        {
 1200|  4.43k|                            key_buffer_.push_back(',');
 1201|  4.43k|                        }
 1202|  4.91k|                        key_buffer_.push_back('\"');
 1203|  4.91k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1204|  4.91k|                        key_buffer_.push_back('\"');
 1205|  4.91k|                        key_buffer_.push_back(':');
 1206|  4.91k|                        break;
 1207|  2.81k|                    default:
  ------------------
  |  Branch (1207:21): [True: 2.81k, False: 4.91k]
  ------------------
 1208|  2.81k|                        destination_->key(key_, context, ec);
 1209|  2.81k|                        break;
 1210|  7.72k|                }
 1211|  7.72k|            }
 1212|  23.6k|            else
 1213|  23.6k|            {
 1214|  23.6k|                switch (level_stack_.back().target())
 1215|  23.6k|                {
 1216|  15.1k|                    case target_t::buffer:
  ------------------
  |  Branch (1216:21): [True: 15.1k, False: 8.58k]
  ------------------
 1217|  15.1k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1217:29): [True: 11.5k, False: 3.53k]
  |  Branch (1217:65): [True: 10.1k, False: 1.47k]
  ------------------
 1218|  10.1k|                        {
 1219|  10.1k|                            key_buffer_.push_back(',');
 1220|  10.1k|                        }
 1221|  15.1k|                        key_buffer_.push_back('\"');
 1222|  15.1k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1223|  15.1k|                        key_buffer_.push_back('\"');
 1224|  15.1k|                        break;
 1225|  8.58k|                    default:
  ------------------
  |  Branch (1225:21): [True: 8.58k, False: 15.1k]
  ------------------
 1226|  8.58k|                        destination_->byte_string_value(value, ext_tag, context, ec);
 1227|  8.58k|                        break;
 1228|  23.6k|                }
 1229|  23.6k|            }
 1230|       |
 1231|  31.4k|            level_stack_.back().advance();
 1232|  31.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  31.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1233|  31.4k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE10visit_halfEtNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1328|  52.9k|        {
 1329|  52.9k|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1329:17): [True: 13.9k, False: 39.0k]
  |  Branch (1329:49): [True: 24.4k, False: 14.6k]
  ------------------
 1330|  38.3k|            {
 1331|  38.3k|                key_.clear();
 1332|  38.3k|                jsoncons::string_sink<string_type> sink(key_);
 1333|  38.3k|                jsoncons::write_double f{float_chars_format::general,0};
 1334|  38.3k|                double x = binary::decode_half(value);
 1335|  38.3k|                f(x, sink);
 1336|  38.3k|            }
 1337|       |
 1338|  52.9k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1338:17): [True: 13.9k, False: 39.0k]
  ------------------
 1339|  13.9k|            {
 1340|  13.9k|                switch (level_stack_.back().target())
 1341|  13.9k|                {
 1342|  11.2k|                    case target_t::buffer:
  ------------------
  |  Branch (1342:21): [True: 11.2k, False: 2.62k]
  ------------------
 1343|  11.2k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1343:29): [True: 9.72k, False: 1.55k]
  ------------------
 1344|  9.72k|                        {
 1345|  9.72k|                            key_buffer_.push_back(',');
 1346|  9.72k|                        }
 1347|  11.2k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1348|  11.2k|                        key_buffer_.push_back(':');
 1349|  11.2k|                        break;
 1350|  2.62k|                    default:
  ------------------
  |  Branch (1350:21): [True: 2.62k, False: 11.2k]
  ------------------
 1351|  2.62k|                        destination_->key(key_, context, ec);
 1352|  2.62k|                        break;
 1353|  13.9k|                }
 1354|  13.9k|            }
 1355|  39.0k|            else
 1356|  39.0k|            {
 1357|  39.0k|                switch (level_stack_.back().target())
 1358|  39.0k|                {
 1359|  24.4k|                    case target_t::buffer:
  ------------------
  |  Branch (1359:21): [True: 24.4k, False: 14.6k]
  ------------------
 1360|  24.4k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1360:29): [True: 15.7k, False: 8.61k]
  |  Branch (1360:65): [True: 15.1k, False: 666]
  ------------------
 1361|  15.1k|                        {
 1362|  15.1k|                            key_buffer_.push_back(',');
 1363|  15.1k|                        }
 1364|  24.4k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1365|  24.4k|                        break;
 1366|  14.6k|                    default:
  ------------------
  |  Branch (1366:21): [True: 14.6k, False: 24.4k]
  ------------------
 1367|  14.6k|                        destination_->half_value(value, tag, context, ec);
 1368|  14.6k|                        break;
 1369|  39.0k|                }
 1370|  39.0k|            }
 1371|       |
 1372|  52.9k|            level_stack_.back().advance();
 1373|  52.9k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  52.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1374|  52.9k|        }
_ZN8jsoncons24basic_item_event_visitorIcE17byte_string_valueINSt3__16vectorIhNS3_9allocatorIhEEEEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeENS3_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS8_EE5valueEiE4typeE:
  342|  9.36M|        {
  343|  9.36M|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  344|  9.36M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  9.36M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  345|  9.36M|        }
_ZN8jsoncons24basic_item_event_visitorIcE17byte_string_valueINSt3__16vectorIhNS3_9allocatorIhEEEEEEbRKT_mRKNS_11ser_contextERNS3_10error_codeENS3_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS8_EE5valueEiE4typeE:
  353|  31.4k|        {
  354|  31.4k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), ext_tag, context, ec);
  355|  31.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  31.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  356|  31.4k|        }
_ZN8jsoncons24basic_item_event_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  322|  3.44M|        {
  323|  3.44M|            visit_bool(value, tag, context, ec);
  324|  3.44M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.44M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  325|  3.44M|        }
_ZN8jsoncons24basic_item_event_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  313|  1.84M|        {
  314|  1.84M|            visit_null(tag, context, ec);
  315|  1.84M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.84M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  316|  1.84M|        }
_ZN8jsoncons24basic_item_event_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  331|  2.22M|        {
  332|  2.22M|            visit_string(value, tag, context, ec);
  333|  2.22M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.22M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  334|  2.22M|        }
_ZN8jsoncons24basic_item_event_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  287|   465k|        {
  288|   465k|            visit_begin_array(tag, context, ec);
  289|   465k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   465k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  290|   465k|        }
_ZN8jsoncons24basic_item_event_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  266|   310k|        {
  267|   310k|            visit_begin_object(tag, context, ec);
  268|   310k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   310k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  269|   310k|        }
_ZN8jsoncons24basic_item_event_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  275|  11.2M|        {
  276|  11.2M|            visit_begin_object(length, tag, context, ec);
  277|  11.2M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  11.2M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  278|  11.2M|        }
_ZN8jsoncons24basic_item_event_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  281|  11.5M|        {
  282|  11.5M|            visit_end_object(context, ec);
  283|  11.5M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  11.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|  11.5M|        }
_ZN8jsoncons24basic_item_event_visitorIcE5flushEv:
   56|  3.33k|        {
   57|  3.33k|            visit_flush();
   58|  3.33k|        }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  107|   247k|        {
  108|   247k|            flatten_and_destroy();
  109|   247k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  246|   247k|        {
  247|  24.1M|            while (!elements_.empty())
  ------------------
  |  Branch (247:20): [True: 23.8M, False: 247k]
  ------------------
  248|  23.8M|            {
  249|  23.8M|                value_type current = std::move(elements_.back());
  250|  23.8M|                elements_.pop_back();
  251|  23.8M|                switch (current.storage_kind())
  252|  23.8M|                {
  253|  65.7k|                    case json_storage_kind::array:
  ------------------
  |  Branch (253:21): [True: 65.7k, False: 23.8M]
  ------------------
  254|  65.7k|                    {
  255|  65.7k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (255:42): [True: 2.49M, False: 65.7k]
  ------------------
  256|  2.49M|                        {
  257|  2.49M|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (257:34): [True: 8.96k, False: 2.48M]
  |  Branch (257:85): [True: 267k, False: 2.21M]
  ------------------
  258|   276k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (258:36): [True: 8.27k, False: 267k]
  ------------------
  259|  8.27k|                            {
  260|  8.27k|                                elements_.push_back(std::move(item));
  261|  8.27k|                            }
  262|  2.49M|                        }
  263|  65.7k|                        current.clear();                           
  264|  65.7k|                        break;
  265|      0|                    }
  266|  3.88M|                    case json_storage_kind::object:
  ------------------
  |  Branch (266:21): [True: 3.88M, False: 19.9M]
  ------------------
  267|  3.88M|                    {
  268|  3.88M|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (268:40): [True: 17.4k, False: 3.88M]
  ------------------
  269|  17.4k|                        {
  270|  17.4k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (270:34): [True: 2.00k, False: 15.4k]
  |  Branch (270:91): [True: 4.71k, False: 10.7k]
  ------------------
  271|  6.72k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (271:36): [True: 4.76k, False: 1.95k]
  ------------------
  272|  4.76k|                            {
  273|  4.76k|                                elements_.push_back(std::move(kv.value()));
  274|  4.76k|                            }
  275|  17.4k|                        }
  276|  3.88M|                        current.clear();                           
  277|  3.88M|                        break;
  278|      0|                    }
  279|  19.9M|                    default:
  ------------------
  |  Branch (279:21): [True: 19.9M, False: 3.94M]
  ------------------
  280|  19.9M|                        break;
  281|  23.8M|                }
  282|  23.8M|            }
  283|   247k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  220|  65.7k|        iterator begin() {return elements_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  222|  65.7k|        iterator end() {return elements_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  127|  16.3k|        {
  128|  16.3k|            return elements_.empty();
  129|  16.3k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  140|  65.7k|        void clear() {elements_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   51|  14.2k|            : allocator_holder<allocator_type>(alloc), 
   52|  14.2k|              elements_(value_allocator_type(alloc))
   53|  14.2k|        {
   54|  14.2k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  215|  3.32k|        {
  216|  3.32k|            elements_.emplace_back(std::forward<Args>(args)...);
  217|  3.32k|            return elements_.back();
  218|  3.32k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  151|  48.0k|        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|  26.3M|        {
  177|  26.3M|            elements_.emplace_back(std::forward<T>(value));
  178|  26.3M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   47|   232k|        {
   48|   232k|        }

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  11.2k|        : allocator_(alloc),
   75|  11.2k|          result_(),
   76|  11.2k|          name_(alloc),
   77|  11.2k|          item_stack_(alloc),
   78|  11.2k|          structure_stack_(temp_alloc)
   79|  11.2k|    {
   80|  11.2k|        item_stack_.reserve(1000);
   81|  11.2k|        structure_stack_.reserve(100);
   82|  11.2k|        structure_stack_.emplace_back(structure_type::root_t, 0);
   83|  11.2k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14structure_infoC2ENS7_14structure_typeEm:
   51|  9.16M|            : type_(type), container_index_(offset)
   52|  9.16M|        {
   53|  9.16M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  179|   206k|    {
  180|   206k|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   45|   206k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 206k]
  |  |  ------------------
  |  |   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|   206k|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::array_t);
  ------------------
  |  |   45|   206k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 206k]
  |  |  ------------------
  |  |   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|   206k|        const size_t container_index = structure_stack_.back().container_index_;
  183|   206k|        JSONCONS_ASSERT(item_stack_.size() > container_index);
  ------------------
  |  |   45|   206k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 206k]
  |  |  ------------------
  |  |   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|   206k|        auto& container = item_stack_[container_index].value;
  186|       |
  187|   206k|        const size_t size = item_stack_.size() - (container_index + 1);
  188|       |        //std::cout << "size on item stack: " << size << "\n";
  189|       |
  190|   206k|        if (size > 0)
  ------------------
  |  Branch (190:13): [True: 48.0k, False: 158k]
  ------------------
  191|  48.0k|        {
  192|  48.0k|            container.reserve(size);
  193|  48.0k|            auto first = item_stack_.begin() + (container_index+1);
  194|  48.0k|            auto last = first + size;
  195|  26.3M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (195:35): [True: 26.3M, False: 48.0k]
  ------------------
  196|  26.3M|            {
  197|  26.3M|                container.push_back(std::move((*it).value));
  198|  26.3M|            }
  199|  48.0k|            item_stack_.erase(first, item_stack_.end());
  200|  48.0k|        }
  201|       |
  202|   206k|        structure_stack_.pop_back();
  203|   206k|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (203:13): [True: 403, False: 205k]
  ------------------
  204|    403|        {
  205|    403|            result_.swap(item_stack_.front().value);
  206|    403|            item_stack_.pop_back();
  207|    403|            is_valid_ = true;
  208|    403|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    403|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  209|    403|        }
  210|   205k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   205k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  211|   206k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  296|  5.72M|    {
  297|  5.72M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (297:17): [True: 5.72M, False: 0]
  ------------------
  298|  5.72M|        {
  299|  2.42M|            case structure_type::object_t:
  ------------------
  |  Branch (299:13): [True: 2.42M, False: 3.29M]
  ------------------
  300|  5.72M|            case structure_type::array_t:
  ------------------
  |  Branch (300:13): [True: 3.29M, False: 2.42M]
  ------------------
  301|  5.72M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  302|  5.72M|                break;
  303|     95|            case structure_type::root_t:
  ------------------
  |  Branch (303:13): [True: 95, False: 5.72M]
  ------------------
  304|     95|                result_ = Json(value,tag);
  305|     95|                is_valid_ = true;
  306|     95|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|     95|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  307|  5.72M|        }
  308|  5.72M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.72M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  309|  5.72M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  277|  11.9M|    {
  278|  11.9M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (278:17): [True: 11.9M, False: 0]
  ------------------
  279|  11.9M|        {
  280|   478k|            case structure_type::object_t:
  ------------------
  |  Branch (280:13): [True: 478k, False: 11.5M]
  ------------------
  281|  11.9M|            case structure_type::array_t:
  ------------------
  |  Branch (281:13): [True: 11.5M, False: 478k]
  ------------------
  282|  11.9M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  283|  11.9M|                break;
  284|    114|            case structure_type::root_t:
  ------------------
  |  Branch (284:13): [True: 114, False: 11.9M]
  ------------------
  285|    114|                result_ = Json(value,tag);
  286|    114|                is_valid_ = true;
  287|    114|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    114|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  288|  11.9M|        }
  289|  11.9M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  11.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  290|  11.9M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  334|  11.8M|    {
  335|  11.8M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (335:17): [True: 11.8M, False: 0]
  ------------------
  336|  11.8M|        {
  337|  1.60k|            case structure_type::object_t:
  ------------------
  |  Branch (337:13): [True: 1.60k, False: 11.8M]
  ------------------
  338|  11.8M|            case structure_type::array_t:
  ------------------
  |  Branch (338:13): [True: 11.8M, False: 1.66k]
  ------------------
  339|  11.8M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  340|  11.8M|                break;
  341|     63|            case structure_type::root_t:
  ------------------
  |  Branch (341:13): [True: 63, False: 11.8M]
  ------------------
  342|     63|                result_ = Json(value, tag);
  343|     63|                is_valid_ = true;
  344|     63|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|     63|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  345|  11.8M|        }
  346|  11.8M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  11.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  347|  11.8M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|  3.33k|    {
  123|  3.33k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  8.91M|    {
  127|  8.91M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (127:13): [True: 5.78k, False: 8.91M]
  ------------------
  128|  5.78k|        {
  129|  5.78k|            index_ = 0;
  130|  5.78k|            item_stack_.clear();
  131|  5.78k|            is_valid_ = false;
  132|  5.78k|        }
  133|  8.91M|        item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  134|  8.91M|        structure_stack_.emplace_back(structure_type::object_t, item_stack_.size()-1);
  135|  8.91M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.91M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  136|  8.91M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  139|  8.90M|    {
  140|  8.90M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   45|  8.90M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 8.90M]
  |  |  ------------------
  |  |   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|  8.90M|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::object_t);
  ------------------
  |  |   45|  8.90M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 8.90M]
  |  |  ------------------
  |  |   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|  8.90M|        const size_t structure_index = structure_stack_.back().container_index_;
  143|  8.90M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   45|  8.90M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 8.90M]
  |  |  ------------------
  |  |   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|  8.90M|        const size_t count = item_stack_.size() - (structure_index + 1);
  145|  8.90M|        auto first = item_stack_.begin() + (structure_index+1);
  146|       |
  147|  8.90M|        if (count > 0)
  ------------------
  |  Branch (147:13): [True: 20.5k, False: 8.88M]
  ------------------
  148|  20.5k|        {
  149|  20.5k|            item_stack_[structure_index].value.template cast<typename Json::object_storage>().value().uninitialized_init(
  150|  20.5k|                &item_stack_[structure_index+1], count);
  151|  20.5k|        }
  152|       |
  153|  8.90M|        item_stack_.erase(first, item_stack_.end());
  154|  8.90M|        structure_stack_.pop_back();
  155|  8.90M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (155:13): [True: 1.27k, False: 8.90M]
  ------------------
  156|  1.27k|        {
  157|  1.27k|            result_.swap(item_stack_.front().value);
  158|  1.27k|            item_stack_.pop_back();
  159|  1.27k|            is_valid_ = true;
  160|  1.27k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.27k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  161|  1.27k|        }
  162|  8.90M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.90M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  163|  8.90M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  166|   232k|    {
  167|   232k|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (167:13): [True: 2.53k, False: 230k]
  ------------------
  168|  2.53k|        {
  169|  2.53k|            index_ = 0;
  170|  2.53k|            item_stack_.clear();
  171|  2.53k|            is_valid_ = false;
  172|  2.53k|        }
  173|   232k|        item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  174|   232k|        structure_stack_.emplace_back(structure_type::array_t, item_stack_.size()-1);
  175|   232k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   232k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  176|   232k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  214|  5.61M|    {
  215|  5.61M|        name_ = key_type(name.data(),name.length(),allocator_);
  216|  5.61M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.61M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  5.61M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  366|  1.16M|    {
  367|  1.16M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (367:17): [True: 1.16M, False: 0]
  ------------------
  368|  1.16M|        {
  369|  70.9k|            case structure_type::object_t:
  ------------------
  |  Branch (369:13): [True: 70.9k, False: 1.09M]
  ------------------
  370|  1.16M|            case structure_type::array_t:
  ------------------
  |  Branch (370:13): [True: 1.09M, False: 70.9k]
  ------------------
  371|  1.16M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  372|  1.16M|                break;
  373|      4|            case structure_type::root_t:
  ------------------
  |  Branch (373:13): [True: 4, False: 1.16M]
  ------------------
  374|      4|                result_ = Json(null_type(), tag);
  375|      4|                is_valid_ = true;
  376|      4|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      4|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  1.16M|        }
  378|  1.16M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.16M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  379|  1.16M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  350|  2.38M|    {
  351|  2.38M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (351:17): [True: 2.38M, False: 0]
  ------------------
  352|  2.38M|        {
  353|  50.1k|            case structure_type::object_t:
  ------------------
  |  Branch (353:13): [True: 50.1k, False: 2.33M]
  ------------------
  354|  2.38M|            case structure_type::array_t:
  ------------------
  |  Branch (354:13): [True: 2.33M, False: 50.1k]
  ------------------
  355|  2.38M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  356|  2.38M|                break;
  357|      6|            case structure_type::root_t:
  ------------------
  |  Branch (357:13): [True: 6, False: 2.38M]
  ------------------
  358|      6|                result_ = Json(value, tag);
  359|      6|                is_valid_ = true;
  360|      6|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      6|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  361|  2.38M|        }
  362|  2.38M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.38M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  363|  2.38M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  220|   626k|    {
  221|   626k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (221:17): [True: 626k, False: 0]
  ------------------
  222|   626k|        {
  223|   234k|            case structure_type::object_t:
  ------------------
  |  Branch (223:13): [True: 234k, False: 391k]
  ------------------
  224|   624k|            case structure_type::array_t:
  ------------------
  |  Branch (224:13): [True: 389k, False: 236k]
  ------------------
  225|   624k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  226|   624k|                break;
  227|  1.34k|            case structure_type::root_t:
  ------------------
  |  Branch (227:13): [True: 1.34k, False: 624k]
  ------------------
  228|  1.34k|                result_ = Json(sv, tag, allocator_);
  229|  1.34k|                is_valid_ = true;
  230|  1.34k|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.34k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  231|   626k|        }
  232|   624k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   624k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  233|   626k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  239|  4.58M|    {
  240|  4.58M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (240:17): [True: 4.58M, False: 0]
  ------------------
  241|  4.58M|        {
  242|   861k|            case structure_type::object_t:
  ------------------
  |  Branch (242:13): [True: 861k, False: 3.71M]
  ------------------
  243|  4.58M|            case structure_type::array_t:
  ------------------
  |  Branch (243:13): [True: 3.71M, False: 861k]
  ------------------
  244|  4.58M|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, tag);
  245|  4.58M|                break;
  246|     21|            case structure_type::root_t:
  ------------------
  |  Branch (246:13): [True: 21, False: 4.58M]
  ------------------
  247|     21|                result_ = Json(byte_string_arg, b, tag, allocator_);
  248|     21|                is_valid_ = true;
  249|     21|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|     21|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  250|  4.58M|        }
  251|  4.58M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.58M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  252|  4.58M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  258|  8.58k|    {
  259|  8.58k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (259:17): [True: 8.58k, False: 0]
  ------------------
  260|  8.58k|        {
  261|  1.62k|            case structure_type::object_t:
  ------------------
  |  Branch (261:13): [True: 1.62k, False: 6.95k]
  ------------------
  262|  8.57k|            case structure_type::array_t:
  ------------------
  |  Branch (262:13): [True: 6.95k, False: 1.62k]
  ------------------
  263|  8.57k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, ext_tag);
  264|  8.57k|                break;
  265|      4|            case structure_type::root_t:
  ------------------
  |  Branch (265:13): [True: 4, False: 8.57k]
  ------------------
  266|      4|                result_ = Json(byte_string_arg, b, ext_tag, allocator_);
  267|      4|                is_valid_ = true;
  268|      4|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      4|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  269|  8.58k|        }
  270|  8.57k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.57k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  271|  8.58k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_halfEtNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  315|  14.6k|    {
  316|  14.6k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (316:17): [True: 14.6k, False: 0]
  ------------------
  317|  14.6k|        {
  318|    958|            case structure_type::object_t:
  ------------------
  |  Branch (318:13): [True: 958, False: 13.6k]
  ------------------
  319|  14.6k|            case structure_type::array_t:
  ------------------
  |  Branch (319:13): [True: 13.6k, False: 960]
  ------------------
  320|  14.6k|                item_stack_.emplace_back(std::move(name_), index_++, half_arg, value, tag);
  321|  14.6k|                break;
  322|      2|            case structure_type::root_t:
  ------------------
  |  Branch (322:13): [True: 2, False: 14.6k]
  ------------------
  323|      2|                result_ = Json(half_arg, value, tag);
  324|      2|                is_valid_ = true;
  325|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  14.6k|        }
  327|  14.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  14.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  328|  14.6k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|  3.33k|    {
  109|  3.33k|        return is_valid_;
  110|  3.33k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|  3.33k|    {
  114|  3.33k|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   45|  3.33k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 3.33k]
  |  |  ------------------
  |  |   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|  3.33k|        is_valid_ = false;
  116|  3.33k|        return std::move(result_);
  117|  3.33k|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  11.2k|{
 1065|  11.2k|    return json_visitor_adaptor<From, To>(to);
 1066|  11.2k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  11.2k|        : supertype(visitor)
  984|  11.2k|    {
  985|  11.2k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  11.2k|        : destination1_(std::addressof(visitor))
  722|  11.2k|    {
  723|  11.2k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  777|   224k|    {
  778|   224k|        destination1_->begin_array(length, tag, context, ec);
  779|   224k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   224k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|   224k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|   206k|    {
  784|   206k|        destination1_->end_array(context, ec);
  785|   206k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   206k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|   206k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  5.72M|    {
  826|  5.72M|        destination1_->uint64_value(value, tag, context, ec);
  827|  5.72M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.72M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  5.72M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  11.9M|    {
  820|  11.9M|        destination1_->int64_value(value, tag, context, ec);
  821|  11.9M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  11.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  11.9M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  11.8M|    {
  814|  11.8M|        destination1_->double_value(value, tag, context, ec);
  815|  11.8M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  11.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  11.8M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|  3.33k|    {
  739|  3.33k|        destination1_->flush();
  740|  3.33k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  745|  7.38k|    {
  746|  7.38k|        destination1_->begin_object(tag, context, ec);
  747|  7.38k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  7.38k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  748|  7.38k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|  8.91M|    {
  755|  8.91M|        destination1_->begin_object(length, tag, context, ec);
  756|  8.91M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.91M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  8.91M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  8.90M|    {
  761|  8.90M|        destination1_->end_object(context, ec);
  762|  8.90M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.90M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  8.90M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  768|  8.72k|    {
  769|  8.72k|        destination1_->begin_array(tag, context, ec);
  770|  8.72k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.72k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  771|  8.72k|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE9visit_keyERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEERKNS_11ser_contextERNS6_10error_codeE:
  995|  5.61M|    {
  996|  5.61M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  5.61M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  6.24M|    {
  733|  6.24M|        return *destination1_;
  734|  6.24M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  1.16M|    {
  838|  1.16M|        destination1_->null_value(tag, context, ec);
  839|  1.16M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.16M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  1.16M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  2.38M|    {
  832|  2.38M|        destination1_->bool_value(value, tag, context, ec);
  833|  2.38M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.38M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  2.38M|    }
_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|   626k|    {
 1004|   626k|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|   626k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  792|  4.58M|    {
  793|  4.58M|        destination1_->byte_string_value(b, tag, context, ec);
  794|  4.58M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.58M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  795|  4.58M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS6_10error_codeE:
  801|  8.58k|    {
  802|  8.58k|        destination1_->byte_string_value(b, ext_tag, context, ec);
  803|  8.58k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.58k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|  8.58k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_halfEtNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  807|  14.6k|    {
  808|  14.6k|        destination1_->half_value(value, tag, context, ec);
  809|  14.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  14.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  810|  14.6k|    }

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  432|   275k|        {
  433|   275k|            return members_.empty();
  434|   275k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  465|  3.88M|        void clear() {members_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  442|  3.88M|        {
  443|  3.88M|            return members_.begin();
  444|  3.88M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  447|  3.88M|        {
  448|  3.88M|            return members_.end();
  449|  3.88M|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|   117k|        {
  121|   117k|            return value_;
  122|   117k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  427|  8.91M|        {
  428|  8.91M|            flatten_and_destroy();
  429|  8.91M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  986|  8.91M|        {
  987|  8.91M|            if (!members_.empty())
  ------------------
  |  Branch (987:17): [True: 14.2k, False: 8.90M]
  ------------------
  988|  14.2k|            {
  989|  14.2k|                json_array<Json> temp(get_allocator());
  990|       |
  991|  14.2k|                for (auto& kv : members_)
  ------------------
  |  Branch (991:31): [True: 60.8k, False: 14.2k]
  ------------------
  992|  60.8k|                {
  993|  60.8k|                    switch (kv.value().storage_kind())
  994|  60.8k|                    {
  995|  5.39k|                        case json_storage_kind::array:
  ------------------
  |  Branch (995:25): [True: 5.39k, False: 55.4k]
  ------------------
  996|  9.19k|                        case json_storage_kind::object:
  ------------------
  |  Branch (996:25): [True: 3.79k, False: 57.0k]
  ------------------
  997|  9.19k|                            if (!kv.value().empty())
  ------------------
  |  Branch (997:33): [True: 3.32k, False: 5.86k]
  ------------------
  998|  3.32k|                            {
  999|  3.32k|                                temp.emplace_back(std::move(kv.value()));
 1000|  3.32k|                            }
 1001|  9.19k|                            break;
 1002|  51.6k|                        default:
  ------------------
  |  Branch (1002:25): [True: 51.6k, False: 9.19k]
  ------------------
 1003|  51.6k|                            break;
 1004|  60.8k|                    }
 1005|  60.8k|                }
 1006|  14.2k|            }
 1007|  8.91M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  57.1M|        index_key_value(index_key_value&&) = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
  334|  8.91M|        {
  335|  8.91M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  18.6M|        index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  5.72M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  5.72M|        {
   45|  5.72M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  11.9M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  11.9M|        {
   45|  11.9M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  11.8M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  11.8M|        {
   45|  11.8M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  8.91M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  8.91M|        {
   45|  8.91M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  539|  20.5k|        {
  540|  20.5k|            if (count > 0)
  ------------------
  |  Branch (540:17): [True: 20.5k, False: 0]
  ------------------
  541|  20.5k|            {
  542|  20.5k|                members_.reserve(count);
  543|       |
  544|  20.5k|                std::sort(items, items+count, compare);
  545|  20.5k|                members_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  546|       |                
  547|  3.48M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (547:41): [True: 3.46M, False: 20.5k]
  ------------------
  548|  3.46M|                {
  549|  3.46M|                    auto& item = items[i];
  550|  3.46M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (550:25): [True: 57.7k, False: 3.40M]
  ------------------
  551|  57.7k|                    {
  552|  57.7k|                        members_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  553|  57.7k|                    }
  554|  3.46M|                }
  555|  20.5k|            }
  556|  20.5k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  530|  77.5M|        {
  531|  77.5M|            int comp = item1.name.compare(item2.name); 
  532|  77.5M|            if (comp < 0) return true;
  ------------------
  |  Branch (532:17): [True: 1.61M, False: 75.9M]
  ------------------
  533|  75.9M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (533:17): [True: 74.2M, False: 1.74M]
  ------------------
  534|       |
  535|  1.74M|            return false;
  536|  75.9M|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|  78.3k|            : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|  78.3k|        {
   88|  78.3k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   232k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   232k|        {
   45|   232k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.16M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.16M|        {
   45|  1.16M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.38M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.38M|        {
   45|  2.38M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|   624k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   624k|        {
   45|   624k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.58M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.58M|        {
   45|  4.58M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  8.57k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  8.57k|        {
   45|  8.57k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_10half_arg_tERtRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  14.6k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  14.6k|        {
   45|  14.6k|        }

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

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

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

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

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  171|  11.2k|            : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  172|  11.2k|              buffer_size_(default_max_buffer_size)
  173|  11.2k|        {
  174|  11.2k|            buffer_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, buffer_size_);
  175|  11.2k|            data_ = buffer_;
  176|  11.2k|        }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   54|  11.2k|          : std::basic_istream<CharT>(&nb_)
   55|  11.2k|        {
   56|  11.2k|        }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   40|  11.2k|            null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  188|  11.2k|        {
  189|  11.2k|            if (buffer_)
  ------------------
  |  Branch (189:17): [True: 11.2k, False: 0]
  ------------------
  190|  11.2k|            {
  191|  11.2k|                std::allocator_traits<char_allocator_type>::deallocate(alloc_, buffer_, buffer_size_);
  192|  11.2k|            }
  193|  11.2k|        }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|  7.94k|        {
  282|  7.94k|            return position_;
  283|  7.94k|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  343|  56.0M|        {
  344|  56.0M|            std::size_t len = 0;
  345|  56.0M|            if (length_ > 0)
  ------------------
  |  Branch (345:17): [True: 56.0M, False: 1.55k]
  ------------------
  346|  56.0M|            {
  347|  56.0M|                len = (std::min)(length_, length);
  348|  56.0M|                std::memcpy(p, data_, len*sizeof(value_type));
  349|  56.0M|                data_ += len;
  350|  56.0M|                length_ -= len;
  351|  56.0M|                position_ += len;
  352|  56.0M|            }
  353|  56.0M|            if (length - len == 0)
  ------------------
  |  Branch (353:17): [True: 56.0M, False: 3.98k]
  ------------------
  354|  56.0M|            {
  355|  56.0M|                return len;
  356|  56.0M|            }
  357|  3.98k|            else if (length - len < buffer_size_)
  ------------------
  |  Branch (357:22): [True: 3.78k, False: 203]
  ------------------
  358|  3.78k|            {
  359|  3.78k|                fill_buffer();
  360|  3.78k|                if (length_ > 0)
  ------------------
  |  Branch (360:21): [True: 1.76k, False: 2.01k]
  ------------------
  361|  1.76k|                {
  362|  1.76k|                    std::size_t len2 = (std::min)(length_, length-len);
  363|  1.76k|                    std::memcpy(p+len, data_, len2*sizeof(value_type));
  364|  1.76k|                    data_ += len2;
  365|  1.76k|                    length_ -= len2;
  366|  1.76k|                    position_ += len2;
  367|  1.76k|                    len += len2;
  368|  1.76k|                }
  369|  3.78k|                return len;
  370|  3.78k|            }
  371|    203|            else
  372|    203|            {
  373|    203|                if (stream_ptr_->eof())
  ------------------
  |  Branch (373:21): [True: 0, False: 203]
  ------------------
  374|      0|                {
  375|      0|                    length_ = 0;
  376|      0|                    return 0;
  377|      0|                }
  378|    203|                JSONCONS_TRY
  ------------------
  |  |   37|    203|    #define JSONCONS_TRY try
  ------------------
  379|    203|                {
  380|    203|                    std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(p+len), length-len);
  381|    203|                    std::size_t len2 = static_cast<std::size_t>(count);
  382|    203|                    if (len2 < length-len)
  ------------------
  |  Branch (382:25): [True: 13, False: 190]
  ------------------
  383|     13|                    {
  384|     13|                        stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  385|     13|                    }
  386|    203|                    len += len2;
  387|    203|                    position_ += len2;
  388|    203|                    return len;
  389|    203|                }
  390|    203|                JSONCONS_CATCH(const std::exception&)     
  391|    203|                {
  392|      0|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  393|      0|                    return 0;
  394|      0|                }
  395|    203|            }
  396|  56.0M|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEv:
  399|  24.1k|        {
  400|  24.1k|            if (stream_ptr_->eof())
  ------------------
  |  Branch (400:17): [True: 7.27k, False: 16.8k]
  ------------------
  401|  7.27k|            {
  402|  7.27k|                length_ = 0;
  403|  7.27k|                return;
  404|  7.27k|            }
  405|       |
  406|  16.8k|            data_ = buffer_;
  407|  16.8k|            JSONCONS_TRY
  ------------------
  |  |   37|  16.8k|    #define JSONCONS_TRY try
  ------------------
  408|  16.8k|            {
  409|  16.8k|                std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(buffer_), buffer_size_);
  410|  16.8k|                length_ = static_cast<std::size_t>(count);
  411|       |
  412|  16.8k|                if (length_ < buffer_size_)
  ------------------
  |  Branch (412:21): [True: 11.2k, False: 5.67k]
  ------------------
  413|  11.2k|                {
  414|  11.2k|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  415|  11.2k|                }
  416|  16.8k|            }
  417|  16.8k|            JSONCONS_CATCH(const std::exception&)     
  418|  16.8k|            {
  419|      0|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  420|      0|                length_ = 0;
  421|      0|            }
  422|  16.8k|        }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaaasr3std14is_convertibleIhNT_10value_typeEEE5valuesr10ext_traits11has_reserveISB_EE5valuesr10ext_traits14has_data_exactIPhSB_EE5valueEmE4typeERS5_RSB_m:
  859|  9.78M|        {
  860|  9.78M|            std::size_t unread = length;
  861|       |
  862|  9.78M|            std::size_t n = (std::min)(max_buffer_length, unread);
  863|  12.3M|            while (n > 0 && !source.eof())
  ------------------
  |  Branch (863:20): [True: 2.58M, False: 9.78M]
  |  Branch (863:29): [True: 2.58M, False: 702]
  ------------------
  864|  2.58M|            {
  865|  2.58M|                std::size_t offset = v.size();
  866|  2.58M|                v.resize(v.size()+n);
  867|  2.58M|                std::size_t actual = source.read(v.data()+offset, n);
  868|  2.58M|                unread -= actual;
  869|  2.58M|                n = (std::min)(max_buffer_length, unread);
  870|  2.58M|            }
  871|       |
  872|  9.78M|            return length - unread;
  873|  9.78M|        }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  2.64M|        {
  272|  2.64M|            return length_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:20): [True: 1.48k, False: 2.64M]
  |  Branch (272:36): [True: 1.01k, False: 473]
  ------------------
  273|  2.64M|        }
_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.35M|        {
  883|  1.35M|            std::size_t unread = length;
  884|       |
  885|  1.35M|            std::size_t n = (std::min)(max_buffer_length, unread);
  886|  1.40M|            while (n > 0 && !source.eof())
  ------------------
  |  Branch (886:20): [True: 53.3k, False: 1.35M]
  |  Branch (886:29): [True: 53.0k, False: 311]
  ------------------
  887|  53.0k|            {
  888|  53.0k|                v.reserve(v.size()+n);
  889|  53.0k|                std::size_t actual = 0;
  890|  9.41M|                while (actual < n)
  ------------------
  |  Branch (890:24): [True: 9.35M, False: 52.9k]
  ------------------
  891|  9.35M|                {
  892|  9.35M|                    typename Source::value_type c{};
  893|  9.35M|                    if (source.read(&c,1) != 1)
  ------------------
  |  Branch (893:25): [True: 188, False: 9.35M]
  ------------------
  894|    188|                    {
  895|    188|                        break;
  896|    188|                    }
  897|  9.35M|                    v.push_back(c);
  898|  9.35M|                    ++actual;
  899|  9.35M|                }
  900|  53.0k|                unread -= actual;
  901|  53.0k|                n = (std::min)(max_buffer_length, unread);
  902|  53.0k|            }
  903|       |
  904|  1.35M|            return length - unread;
  905|  1.35M|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4peekEv:
  311|   173M|        {
  312|   173M|            if (length_ == 0)
  ------------------
  |  Branch (312:17): [True: 20.3k, False: 173M]
  ------------------
  313|  20.3k|            {
  314|  20.3k|                fill_buffer();
  315|  20.3k|            }
  316|   173M|            if (length_ > 0)
  ------------------
  |  Branch (316:17): [True: 173M, False: 5.31k]
  ------------------
  317|   173M|            {
  318|   173M|                value_type c = *data_;
  319|   173M|                return char_result<value_type>{c, false};
  320|   173M|            }
  321|  5.31k|            else
  322|  5.31k|            {
  323|  5.31k|                return char_result<value_type>{0, true};
  324|  5.31k|            }
  325|   173M|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE6ignoreEm:
  286|  23.3M|        {
  287|  23.3M|            std::size_t len = 0;
  288|  23.3M|            if (length_ > 0)
  ------------------
  |  Branch (288:17): [True: 23.3M, False: 0]
  ------------------
  289|  23.3M|            {
  290|  23.3M|                len = (std::min)(length_, length);
  291|  23.3M|                position_ += len;
  292|  23.3M|                data_ += len;
  293|  23.3M|                length_ -= len;
  294|  23.3M|            }
  295|  23.3M|            while (len < length)
  ------------------
  |  Branch (295:20): [True: 0, False: 23.3M]
  ------------------
  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|  23.3M|        }

_ZN8jsoncons16typed_array_castIKhEENS_6detail4spanIT_Lm18446744073709551615EEENS3_IhLm18446744073709551615EEE:
  141|  5.08k|{
  142|  5.08k|    return jsoncons::span<const uint8_t>{reinterpret_cast<const uint8_t*>(bytes.data()), bytes.size()};
  143|  5.08k|}
_ZN8jsoncons16typed_array_castIhEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   81|  5.08k|{
   82|  5.08k|    return bytes;
   83|  5.08k|}
_ZN8jsoncons16typed_array_castItEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   87|   134k|{
   88|   134k|    return jsoncons::span<uint16_t>{reinterpret_cast<uint16_t*>(bytes.data()), bytes.size()/sizeof(uint16_t)};
   89|   134k|}
_ZN8jsoncons16typed_array_castIjEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   93|  13.1k|{
   94|  13.1k|    return jsoncons::span<uint32_t>{reinterpret_cast<uint32_t*>(bytes.data()), bytes.size()/sizeof(uint32_t)};
   95|  13.1k|}
_ZN8jsoncons16typed_array_castImEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
   99|  26.8k|{
  100|  26.8k|    return jsoncons::span<uint64_t>{reinterpret_cast<uint64_t*>(bytes.data()), bytes.size()/sizeof(uint64_t)};
  101|  26.8k|}
_ZN8jsoncons16typed_array_castIaEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  105|  11.2k|{
  106|  11.2k|    return jsoncons::span<int8_t>{reinterpret_cast<int8_t*>(bytes.data()), bytes.size()};
  107|  11.2k|}
_ZN8jsoncons16typed_array_castIsEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  111|  37.6k|{
  112|  37.6k|    return jsoncons::span<int16_t>{reinterpret_cast<int16_t*>(bytes.data()), bytes.size()/sizeof(int16_t)};
  113|  37.6k|}
_ZN8jsoncons16typed_array_castIiEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  117|  11.3k|{
  118|  11.3k|    return jsoncons::span<int32_t>{reinterpret_cast<int32_t*>(bytes.data()), bytes.size()/sizeof(int32_t)};
  119|  11.3k|}
_ZN8jsoncons16typed_array_castIlEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  123|  17.7k|{
  124|  17.7k|    return jsoncons::span<int64_t>{reinterpret_cast<int64_t*>(bytes.data()), bytes.size()/sizeof(int64_t)};
  125|  17.7k|}
_ZN8jsoncons16typed_array_castIfEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  129|  32.4k|{
  130|  32.4k|    return jsoncons::span<float>{reinterpret_cast<float*>(bytes.data()), bytes.size()/sizeof(float)};
  131|  32.4k|}
_ZN8jsoncons16typed_array_castIdEENS_6detail4spanIT_Lm18446744073709551615EEENS2_IhLm18446744073709551615EEE:
  135|  13.8k|{
  136|  13.8k|    return jsoncons::span<double>{reinterpret_cast<double*>(bytes.data()), bytes.size()/sizeof(double)};
  137|  13.8k|}
_ZN8jsoncons22calculate_mdarray_sizeENS_6detail4spanIKmLm18446744073709551615EEE:
  247|  5.59k|{
  248|  5.59k|    using result_type = jsoncons::expected<std::size_t,std::errc>;
  249|       |
  250|  5.59k|    if (extents.empty())
  ------------------
  |  Branch (250:9): [True: 6, False: 5.58k]
  ------------------
  251|      6|    {
  252|      6|        return result_type(0);
  253|      6|    }
  254|  5.58k|    std::size_t n = extents[0];
  255|  16.9k|    for (std::size_t i = 1; i < extents.size(); ++i)
  ------------------
  |  Branch (255:29): [True: 11.4k, False: 5.55k]
  ------------------
  256|  11.4k|    {
  257|  11.4k|        if (extents[i] == 0 || JSONCONS_UNLIKELY(n > (std::numeric_limits<std::size_t>::max)()/extents[i]))
  ------------------
  |  |   78|  11.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 15, False: 11.4k]
  |  |  ------------------
  ------------------
  |  Branch (257:13): [True: 18, False: 11.4k]
  ------------------
  258|     33|        {
  259|     33|            return result_type(jsoncons::unexpect, std::errc::value_too_large);
  260|     33|        }
  261|  11.4k|        n *= extents[i];
  262|  11.4k|    }
  263|  5.55k|    return n;
  264|  5.58k|}

_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE13from_bytes_beEiPKhm:
  785|   180k|    {
  786|   180k|        static const double radix_log2 = std::log2(next_power_of_two(256));
  787|       |        // Estimate how big the result will be, so we can pre-allocate it.
  788|   180k|        double bits = radix_log2 * n;
  789|   180k|        double big_digits = std::ceil(bits / 64.0);
  790|       |        //std::cout << "ESTIMATED: " << big_digits << "\n";
  791|       |
  792|   180k|        basic_bigint<Allocator> v = 0;
  793|   180k|        v.reserve(static_cast<size_type>(big_digits));
  794|       |
  795|  2.93M|        for (size_type i = 0; i < n; i++)
  ------------------
  |  Branch (795:31): [True: 2.75M, False: 180k]
  ------------------
  796|  2.75M|        {
  797|  2.75M|            v *= 256;
  798|  2.75M|            v += (word_type)(bytes[i]);
  799|  2.75M|        }
  800|       |        //std::cout << "ACTUAL: " << v.size() << "\n";
  801|       |
  802|   180k|        if (signum < 0)
  ------------------
  |  Branch (802:13): [True: 0, False: 180k]
  ------------------
  803|      0|        {
  804|      0|            v.set_negative(true);
  805|      0|        }
  806|       |
  807|   180k|        return v;
  808|   180k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE17next_power_of_twoEm:
 1914|      1|    static word_type next_power_of_two(word_type n) {
 1915|      1|        n = n - 1;
 1916|      1|        n |= n >> 1u;
 1917|      1|        n |= n >> 2u;
 1918|      1|        n |= n >> 4u;
 1919|      1|        n |= n >> 8u;
 1920|      1|        n |= n >> 16u;
 1921|      1|        n |= n >> 32u;
 1922|      1|        return n + 1;
 1923|      1|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE7reserveEm:
  816|   180k|    {
  817|   180k|        storage_.reserve(n);
  818|   180k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  445|  6.85M|    {
  446|  6.85M|       if (capacity() < n)
  ------------------
  |  Branch (446:12): [True: 49.6k, False: 6.80M]
  ------------------
  447|  49.6k|       {
  448|  49.6k|           if (!is_allocated())
  ------------------
  |  Branch (448:16): [True: 49.6k, False: 0]
  ------------------
  449|  49.6k|           {
  450|  49.6k|               size_type size = inlined_.size_;
  451|  49.6k|               size_type is_neg = inlined_.is_negative_;
  452|  49.6k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  453|       |
  454|  49.6k|               ::new (&allocated_) allocated_storage();
  455|  49.6k|               allocated_.reserve(n, get_allocator());
  456|  49.6k|               allocated_.size_ = size;
  457|  49.6k|               allocated_.is_negative_ = is_neg;
  458|  49.6k|               if (n >= 1)
  ------------------
  |  Branch (458:20): [True: 49.6k, False: 0]
  ------------------
  459|  49.6k|               {
  460|  49.6k|                   allocated_.data_[0] = values[0];
  461|  49.6k|               }
  462|  49.6k|               if (n >= 2)
  ------------------
  |  Branch (462:20): [True: 49.6k, False: 0]
  ------------------
  463|  49.6k|               {
  464|  49.6k|                   allocated_.data_[1] = values[1];
  465|  49.6k|               }
  466|  49.6k|           }
  467|      0|           else
  468|      0|           {
  469|      0|               allocated_.reserve(n, get_allocator());
  470|      0|           }
  471|  49.6k|       }
  472|  6.85M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  498|  6.85M|    {
  499|  6.85M|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (499:16): [True: 5.47M, False: 1.37M]
  ------------------
  500|  6.85M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  493|  17.5M|    {
  494|  17.5M|        return common_.is_allocated_;
  495|  17.5M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  203|  49.6k|            : is_allocated_(true),
  204|  49.6k|            is_negative_(false)
  205|  49.6k|        {
  206|  49.6k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  255|  49.6k|        {
  256|  49.6k|            JSONCONS_ASSERT(n < max_size);
  ------------------
  |  |   45|  49.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 49.6k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  257|  49.6k|            size_type capacity_new = round_up(n);
  258|       |
  259|  49.6k|            real_allocator_type alloc(a);
  260|  49.6k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  261|  49.6k|            if (size_ > 0)
  ------------------
  |  Branch (261:17): [True: 0, False: 49.6k]
  ------------------
  262|      0|            {
  263|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  264|      0|            }
  265|  49.6k|            if (data_ != nullptr)
  ------------------
  |  Branch (265:17): [True: 0, False: 49.6k]
  ------------------
  266|      0|            {
  267|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  268|      0|            }
  269|  49.6k|            capacity_ = capacity_new;
  270|  49.6k|            data_ = data_new;
  271|  49.6k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  275|  49.6k|        {
  276|  49.6k|            size_type remainder = i % mem_unit;
  277|  49.6k|            size_type off = mem_unit - remainder;
  278|  49.6k|            bool testoff = i < max_size - off;
  279|  49.6k|            JSONCONS_ASSERT(testoff);
  ------------------
  |  |   45|  49.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 49.6k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  280|       |
  281|  49.6k|            return i + off;
  282|  49.6k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  475|  2.87M|    {
  476|  2.87M|        return static_cast<const word_allocator_type&>(*this);
  477|  2.87M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLIiEENS1_9enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueERS4_E4typeES7_:
  981|  2.75M|    {
  982|  2.75M|        *this *= word_type(y < 0 ? -y : y);
  ------------------
  |  Branch (982:28): [True: 0, False: 2.75M]
  ------------------
  983|  2.75M|        if ( y < 0 )
  ------------------
  |  Branch (983:14): [True: 0, False: 2.75M]
  ------------------
  984|      0|            set_negative(!is_negative());
  985|  2.75M|        return *this;
  986|  2.75M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLImEENS1_9enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueERS4_E4typeES7_:
  991|  2.75M|    {
  992|  2.75M|        auto this_view = get_storage_view();
  993|  2.75M|        size_type len0 = this_view.size();
  994|  2.75M|        word_type dig = this_view[0];
  995|  2.75M|        word_type carry = 0;
  996|       |
  997|  2.75M|        resize(this_view.size() + 1);
  998|  2.75M|        this_view = get_storage_view();
  999|       |
 1000|  2.75M|        size_type i = 0;
 1001|  1.97G|        for (; i < len0; i++ )
  ------------------
  |  Branch (1001:16): [True: 1.97G, False: 2.75M]
  ------------------
 1002|  1.97G|        {
 1003|  1.97G|            word_type hi;
 1004|  1.97G|            word_type lo;
 1005|  1.97G|            DDproduct( dig, y, hi, lo );
 1006|  1.97G|            this_view[i] = lo + carry;
 1007|  1.97G|            dig = this_view[i+1];
 1008|  1.97G|            carry = hi + (this_view[i] < lo);
 1009|  1.97G|        }
 1010|  2.75M|        this_view[i] = carry;
 1011|  2.75M|        reduce();
 1012|  2.75M|        return *this;
 1013|  2.75M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  711|  16.0M|    {
  712|  16.0M|        return storage_.get_storage_view();
  713|  16.0M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  513|  23.5M|    {
  514|  23.5M|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (514:16): [True: 18.2M, False: 5.25M]
  ------------------
  515|  18.2M|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  516|  23.5M|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  517|  23.5M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   64|  23.5M|            : data_(data), size_(size)
   65|  23.5M|        {
   66|  23.5M|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   84|  22.1M|        {
   85|  22.1M|            return size_;
   86|  22.1M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   69|  7.01G|        {
   70|  7.01G|            return data_[i];
   71|  7.01G|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  811|  5.95M|    {
  812|  5.95M|        storage_.resize(new_length);
  813|  5.95M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  527|  6.67M|    {
  528|  6.67M|        size_type old_length = common_.size_;
  529|  6.67M|        reserve(new_length);
  530|  6.67M|        common_.size_ = new_length;
  531|       |
  532|  6.67M|        if (old_length < new_length)
  ------------------
  |  Branch (532:13): [True: 6.14M, False: 529k]
  ------------------
  533|  6.14M|        {
  534|  6.14M|            if (is_allocated())
  ------------------
  |  Branch (534:17): [True: 5.15M, False: 990k]
  ------------------
  535|  5.15M|            {
  536|  5.15M|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  537|  5.15M|            }
  538|   990k|            else
  539|   990k|            {
  540|   990k|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   45|   990k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 990k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  541|  2.45M|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (541:48): [True: 1.45M, False: 990k]
  ------------------
  542|  1.45M|                {
  543|  1.45M|                    inlined_.values_[i] = 0;
  544|  1.45M|                }
  545|   990k|            }
  546|  6.14M|        }
  547|  6.67M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1774|  2.22G|    {
 1775|  2.22G|        word_type hiA = A >> word_type_half_bits, loA = A & r_mask,
 1776|  2.22G|                   hiB = B >> word_type_half_bits, loB = B & r_mask;
 1777|       |
 1778|  2.22G|        lo = loA * loB;
 1779|  2.22G|        hi = hiA * hiB;
 1780|  2.22G|        word_type mid1 = loA * hiB;
 1781|  2.22G|        word_type mid2 = hiA * loB;
 1782|  2.22G|        word_type old = lo;
 1783|  2.22G|        lo += mid1 << word_type_half_bits;
 1784|  2.22G|            hi += (lo < old) + (mid1 >> word_type_half_bits);
 1785|  2.22G|        old = lo;
 1786|  2.22G|        lo += mid2 << word_type_half_bits;
 1787|  2.22G|            hi += (lo < old) + (mid2 >> word_type_half_bits);
 1788|  2.22G|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 1910|  6.80M|    {
 1911|  6.80M|        storage_.reduce();
 1912|  6.80M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  422|  6.80M|    {
  423|  6.80M|        if (common_.size_ > 0)
  ------------------
  |  Branch (423:13): [True: 6.80M, False: 0]
  ------------------
  424|  6.80M|        {
  425|  6.80M|            auto this_view = get_storage_view();
  426|  6.80M|            word_type* p = this_view.end() - 1;
  427|  6.80M|            word_type* first = this_view.begin();
  428|   262M|            while ( p >= first )
  ------------------
  |  Branch (428:21): [True: 262M, False: 168k]
  ------------------
  429|   262M|            {
  430|   262M|                if ( *p )
  ------------------
  |  Branch (430:22): [True: 6.63M, False: 256M]
  ------------------
  431|  6.63M|                {
  432|  6.63M|                    break;
  433|  6.63M|                }
  434|   256M|                --common_.size_;
  435|   256M|                --p;
  436|   256M|            }
  437|  6.80M|        }
  438|  6.80M|        if (common_.size_ == 0)
  ------------------
  |  Branch (438:13): [True: 168k, False: 6.63M]
  ------------------
  439|   168k|        {
  440|   168k|            common_.is_negative_ = false;
  441|   168k|        }
  442|  6.80M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
   93|  6.80M|        {
   94|  6.80M|            return data_ + size_;
   95|  6.80M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
   88|  6.80M|        {
   89|  6.80M|            return data_;
   90|  6.80M|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  721|  6.09M|    {
  722|  6.09M|        return storage_.is_negative();
  723|  6.09M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  503|  6.09M|    {
  504|  6.09M|        return common_.is_negative_;
  505|  6.09M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLImEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  882|  2.75M|    {
  883|  2.75M|        if ( is_negative())
  ------------------
  |  Branch (883:14): [True: 0, False: 2.75M]
  ------------------
  884|      0|            return *this -= -basic_bigint<Allocator>(y);
  885|       |
  886|  2.75M|        word_type d;
  887|  2.75M|        word_type carry = 0;
  888|       |
  889|  2.75M|        auto this_view = get_storage_view();
  890|  2.75M|        resize(this_view.size() + 1);
  891|       |
  892|  2.75M|        this_view = get_storage_view();
  893|  2.75M|        const size_type this_size = this_view.size();
  894|  2.75M|        size_type y_size = 1;
  895|       |
  896|  2.75M|        d = this_view[0] + carry;
  897|  2.75M|        carry = d < carry;
  898|  2.75M|        this_view[0] = d + y;
  899|  2.75M|        if (this_view[0] < d)
  ------------------
  |  Branch (899:13): [True: 0, False: 2.75M]
  ------------------
  900|      0|            carry = 1;
  901|       |
  902|  2.75M|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (902:36): [True: 2.60M, False: 154k]
  |  Branch (902:53): [True: 0, False: 2.60M]
  ------------------
  903|      0|        {
  904|      0|            d = this_view[i] + carry;
  905|      0|            carry = d < carry;
  906|      0|            this_view[i] = d;
  907|      0|        }
  908|  2.75M|        reduce();
  909|  2.75M|        return *this;
  910|  2.75M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ImEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  686|   359k|        : storage_(n, alloc)
  687|   359k|    {
  688|   359k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ImEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  353|   359k|        : word_allocator_type(alloc)
  354|   359k|    {
  355|   359k|        ::new (&inlined_) inlined_storage(n);
  356|   359k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ImEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  138|   359k|            : is_allocated_(false),
  139|   359k|            is_negative_(false),
  140|   359k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 177k, False: 181k]
  ------------------
  141|   359k|        {
  142|   359k|            values_[0] = n;
  143|   359k|            values_[1] = 0;
  144|   359k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  828|  45.0k|    {
  829|  45.0k|        basic_bigint<Allocator> v(*this);
  830|  45.0k|        v.set_negative(!v.is_negative());
  831|  45.0k|        return v;
  832|  45.0k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  664|   270k|        : storage_(other.storage_)
  665|   270k|    {
  666|   270k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  299|   270k|        : word_allocator_type(other.get_allocator())
  300|   270k|    {
  301|   270k|        if (!other.is_allocated())
  ------------------
  |  Branch (301:13): [True: 225k, False: 44.8k]
  ------------------
  302|   225k|        {
  303|   225k|            ::new (&inlined_) inlined_storage(other.inlined_);
  304|   225k|        }
  305|  44.8k|        else
  306|  44.8k|        {
  307|  44.8k|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  308|  44.8k|        }
  309|   270k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  178|  1.17M|            : is_allocated_(false),
  179|  1.17M|            is_negative_(stor.is_negative_),
  180|  1.17M|            size_(stor.size_)
  181|  1.17M|        {
  182|  1.17M|            values_[0] = stor.values_[0];
  183|  1.17M|            values_[1] = stor.values_[1];
  184|  1.17M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  209|   691k|            : is_allocated_(true),
  210|   691k|              is_negative_(stor.is_negative_),
  211|   691k|              size_(stor.size_),
  212|   691k|              capacity_(stor.capacity_)
  213|   691k|        {
  214|   691k|            real_allocator_type alloc(a);
  215|       |
  216|   691k|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  217|   691k|            JSONCONS_TRY
  ------------------
  |  |   37|   691k|    #define JSONCONS_TRY try
  ------------------
  218|   691k|            {
  219|   691k|                std::allocator_traits<real_allocator_type>::construct(alloc, ext_traits::to_plain_pointer(data_));
  220|   691k|            }
  221|   691k|            JSONCONS_CATCH(...)
  222|   691k|            {
  223|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  224|      0|                data_ = nullptr;
  225|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  226|      0|            }
  227|   691k|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   45|   691k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 691k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  228|   691k|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  229|   691k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  947|  45.0k|    {
  948|  45.0k|        auto y_view = y.get_storage_view();
  949|       |
  950|  45.0k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (950:14): [True: 45.0k, False: 0]
  ------------------
  951|  45.0k|            return *this += -y;
  952|      0|        if ( (!is_negative() && y > *this) || (is_negative() && y < *this) )
  ------------------
  |  Branch (952:15): [True: 0, False: 0]
  |  Branch (952:33): [True: 0, False: 0]
  |  Branch (952:48): [True: 0, False: 0]
  |  Branch (952:65): [True: 0, False: 0]
  ------------------
  953|      0|            return *this = -(y - *this);
  954|      0|        word_type borrow = 0;
  955|      0|        word_type d;
  956|      0|        auto this_view = get_storage_view();
  957|      0|        const size_type this_size = this_view.size();
  958|      0|        const size_type y_size = y_view.size();
  959|       |
  960|      0|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (960:31): [True: 0, False: 0]
  ------------------
  961|      0|        {
  962|      0|            d = this_view[i] - borrow;
  963|      0|            borrow = d > this_view[i];
  964|      0|            this_view[i] = d - y_view[i];
  965|      0|            if ( this_view[i] > d )
  ------------------
  |  Branch (965:18): [True: 0, False: 0]
  ------------------
  966|      0|                borrow = 1;
  967|      0|        }
  968|      0|        for (size_type i = y_size; i < this_size && borrow != 0; i++ )
  ------------------
  |  Branch (968:36): [True: 0, False: 0]
  |  Branch (968:53): [True: 0, False: 0]
  ------------------
  969|      0|        {
  970|      0|            d = this_view[i] - borrow;
  971|      0|            borrow = d > this_view[i];
  972|      0|            this_view[i] = d;
  973|      0|        }
  974|      0|        reduce();
  975|      0|        return *this;
  976|      0|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  716|  1.38M|    {
  717|  1.38M|        return storage_.get_storage_view();
  718|  1.38M|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  520|  2.09M|    {
  521|  2.09M|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (521:16): [True: 1.01M, False: 1.08M]
  ------------------
  522|  1.01M|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  523|  2.09M|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  524|  2.09M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   64|  2.09M|            : data_(data), size_(size)
   65|  2.09M|        {
   66|  2.09M|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLERKS4_:
  913|  45.0k|    {
  914|  45.0k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (914:14): [True: 0, False: 45.0k]
  ------------------
  915|      0|            return *this -= -y;
  916|       |
  917|  45.0k|        auto y_view = y.get_storage_view();
  918|       |        
  919|  45.0k|        word_type d;
  920|  45.0k|        word_type carry = 0;
  921|       |
  922|  45.0k|        auto this_view = get_storage_view();
  923|  45.0k|        resize( (std::max)(y_view.size(), this_view.size()) + 1 );
  924|  45.0k|        this_view = get_storage_view();
  925|       |
  926|  45.0k|        const size_t this_size = this_view.size();
  927|  45.0k|        const size_t y_size = y_view.size();
  928|   223k|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (928:31): [True: 178k, False: 45.0k]
  ------------------
  929|   178k|        {
  930|   178k|            d = this_view[i] + carry;
  931|   178k|            carry = d < carry;
  932|   178k|            this_view[i] = d + y_view[i];
  933|   178k|            if (this_view[i] < d)
  ------------------
  |  Branch (933:17): [True: 602, False: 177k]
  ------------------
  934|    602|                carry = 1;
  935|   178k|        }
  936|  45.3k|        for (size_type i = y_size; i < this_size && carry != 0; i++ )
  ------------------
  |  Branch (936:36): [True: 45.0k, False: 293]
  |  Branch (936:53): [True: 293, False: 44.7k]
  ------------------
  937|    293|        {
  938|    293|            d = this_view[i] + carry;
  939|    293|            carry = d < carry;
  940|    293|            this_view[i] = d;
  941|    293|        }
  942|  45.0k|        reduce();
  943|  45.0k|        return *this;
  944|  45.0k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1634|   489k|    {
 1635|   489k|        auto this_view = get_storage_view();
 1636|   489k|        auto y_view = y.get_storage_view();
 1637|       |
 1638|   489k|        const size_type y_size = y_view.size();
 1639|   489k|        if ( this_view.size() == 0 && y_size == 0 )
  ------------------
  |  Branch (1639:14): [True: 0, False: 489k]
  |  Branch (1639:39): [True: 0, False: 0]
  ------------------
 1640|      0|            return 0;
 1641|   489k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1641:14): [True: 0, False: 489k]
  ------------------
 1642|      0|            return y.is_negative() - is_negative();
 1643|   489k|        int code = 0;
 1644|   489k|        if ( this_view.size() < y_size)
  ------------------
  |  Branch (1644:14): [True: 0, False: 489k]
  ------------------
 1645|      0|            code = -1;
 1646|   489k|        else if ( this_view.size() > y_size)
  ------------------
  |  Branch (1646:19): [True: 309k, False: 179k]
  ------------------
 1647|   309k|            code = +1;
 1648|   179k|        else
 1649|   179k|        {
 1650|   179k|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1650:50): [True: 179k, False: 260]
  ------------------
 1651|   179k|            {
 1652|   179k|                if (this_view[i] > y_view[i])
  ------------------
  |  Branch (1652:21): [True: 1.99k, False: 177k]
  ------------------
 1653|  1.99k|                {
 1654|  1.99k|                    code = 1;
 1655|  1.99k|                    break;
 1656|  1.99k|                }
 1657|   177k|                else if (this_view[i] < y_view[i])
  ------------------
  |  Branch (1657:26): [True: 177k, False: 260]
  ------------------
 1658|   177k|                {
 1659|   177k|                    code = -1;
 1660|   177k|                    break;
 1661|   177k|                }
 1662|   179k|            }
 1663|   179k|        }
 1664|   489k|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1664:16): [True: 0, False: 489k]
  ------------------
 1665|   489k|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1469|   489k|    {
 1470|   489k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1470:15): [True: 177k, False: 312k]
  ------------------
 1471|   489k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   84|  4.19M|        {
   85|  4.19M|            return size_;
   86|  4.19M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   69|   893k|        {
   70|   893k|            return data_[i];
   71|   893k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  726|  2.00M|    {
  727|  2.00M|        storage_.set_negative(value);
  728|  2.00M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  508|  2.00M|    {
  509|  2.00M|        common_.is_negative_ = value;
  510|  2.00M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE12write_stringIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1352|  86.3k|    {
 1353|  86.3k|        basic_bigint<Allocator> v(*this);
 1354|  86.3k|        auto v_view = v.get_storage_view();
 1355|       |
 1356|  86.3k|        size_type len = (v_view.size() * word_type_bits / 3) + 2;
 1357|  86.3k|        data.reserve(len);
 1358|       |
 1359|  86.3k|        if ( v_view.size() == 0 )
  ------------------
  |  Branch (1359:14): [True: 2.21k, False: 84.1k]
  ------------------
 1360|  2.21k|        {
 1361|  2.21k|            data.push_back('0');
 1362|  2.21k|        }
 1363|  84.1k|        else
 1364|  84.1k|        {
 1365|  84.1k|            word_type r;
 1366|  84.1k|            basic_bigint<Allocator> R(get_allocator());
 1367|  84.1k|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1368|       |
 1369|  84.1k|            do
 1370|   360k|            {
 1371|   360k|                v.divide( LP10, v, R, true );
 1372|   360k|                v_view = v.get_storage_view();
 1373|       |
 1374|   360k|                auto R_view = R.get_storage_view();
 1375|   360k|                r = (R_view.size() ? R_view[0] : 0);
  ------------------
  |  Branch (1375:22): [True: 360k, False: 469]
  ------------------
 1376|  5.81M|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1376:38): [True: 5.53M, False: 276k]
  ------------------
 1377|  5.53M|                {
 1378|  5.53M|                    data.push_back(char(r % 10u + '0'));
 1379|  5.53M|                    r /= 10u;
 1380|  5.53M|                    if ( r + v_view.size() == 0 )
  ------------------
  |  Branch (1380:26): [True: 84.1k, False: 5.45M]
  ------------------
 1381|  84.1k|                        break;
 1382|  5.53M|                }
 1383|   360k|            } 
 1384|   360k|            while ( v_view.size() > 0);
  ------------------
  |  Branch (1384:21): [True: 276k, False: 84.1k]
  ------------------
 1385|       |
 1386|  84.1k|            if (is_negative())
  ------------------
  |  Branch (1386:17): [True: 44.0k, False: 40.1k]
  ------------------
 1387|  44.0k|            {
 1388|  44.0k|                data.push_back('-');
 1389|  44.0k|            }
 1390|  84.1k|            std::reverse(data.begin(),data.end());
 1391|  84.1k|        }
 1392|  86.3k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  706|  1.76M|    {
  707|  1.76M|        return storage_.get_allocator();
  708|  1.76M|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  637|  84.1k|        : storage_(alloc)
  638|  84.1k|    {
  639|  84.1k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  293|   177k|        : word_allocator_type(alloc)
  294|   177k|    {
  295|   177k|        ::new (&inlined_) inlined_storage();
  296|   177k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  113|   177k|            : is_allocated_(false),
  114|   177k|            is_negative_(false),
  115|   177k|            size_(0),
  116|   177k|            values_{0, 0}
  117|   177k|        {
  118|   177k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1668|   489k|    {
 1669|   489k|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1670|   489k|        auto denom_view = denom.get_storage_view();
 1671|       |
 1672|   489k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1672:13): [True: 0, False: 489k]
  ------------------
 1673|      0|        {
 1674|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1675|      0|        }
 1676|   489k|        bool quot_neg = is_negative() ^ denom.is_negative();
 1677|   489k|        bool rem_neg = is_negative();
 1678|   489k|        basic_bigint<Allocator> num(*this, get_allocator());
 1679|   489k|        num.set_negative(false);
 1680|   489k|        denom.set_negative(false);
 1681|   489k|        if ( num < denom )
  ------------------
  |  Branch (1681:14): [True: 177k, False: 312k]
  ------------------
 1682|   177k|        {
 1683|   177k|            quot = word_type(0);
 1684|   177k|            quot.set_negative(quot_neg);
 1685|   177k|            rem = num;
 1686|   177k|            rem.set_negative(rem_neg);
 1687|   177k|            return;
 1688|   177k|        }
 1689|       |
 1690|   312k|        auto num_view = num.get_storage_view();
 1691|   312k|        auto quot_view = quot.get_storage_view();
 1692|   312k|        auto this_view = get_storage_view();
 1693|       |
 1694|   312k|        if ( denom_view.size() == 1 && num_view.size() == 1 )
  ------------------
  |  Branch (1694:14): [True: 312k, False: 0]
  |  Branch (1694:40): [True: 2.25k, False: 309k]
  ------------------
 1695|  2.25k|        {
 1696|  2.25k|            quot = word_type( num_view[0]/denom_view[0] );
 1697|  2.25k|            rem = word_type( num_view[0]%denom_view[0] );
 1698|  2.25k|            quot.set_negative(quot_neg);
 1699|  2.25k|            rem.set_negative(rem_neg);
 1700|  2.25k|            return;
 1701|  2.25k|        }
 1702|   309k|        if (denom_view.size() == 1 && (denom_view[0] & l_mask) == 0 )
  ------------------
  |  Branch (1702:13): [True: 309k, False: 0]
  |  Branch (1702:39): [True: 0, False: 309k]
  ------------------
 1703|      0|        {
 1704|       |            // Denominator fits into a half word
 1705|      0|            word_type divisor = denom_view[0], dHi = 0, q1, r, q2, dividend;
 1706|      0|            quot.resize(this_view.size());
 1707|      0|            quot_view = quot.get_storage_view();
 1708|      0|            for (size_type i=this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1708:48): [True: 0, False: 0]
  ------------------
 1709|      0|            {
 1710|      0|                dividend = (dHi << word_type_half_bits) | (this_view[i] >> word_type_half_bits);
 1711|      0|                q1 = dividend/divisor;
 1712|      0|                r = dividend % divisor;
 1713|      0|                dividend = (r << word_type_half_bits) | (this_view[i] & r_mask);
 1714|      0|                q2 = dividend/divisor;
 1715|      0|                dHi = dividend % divisor;
 1716|      0|                quot_view[i] = (q1 << word_type_half_bits) | q2;
 1717|      0|            }
 1718|      0|            quot.reduce();
 1719|      0|            rem = dHi;
 1720|      0|            quot.set_negative(quot_neg);
 1721|      0|            rem.set_negative(rem_neg);
 1722|      0|            return;
 1723|      0|        }
 1724|   309k|        basic_bigint<Allocator> num0(num, get_allocator());
 1725|   309k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1726|   309k|        int x = 0;
 1727|   309k|        bool second_done = normalize(denom, num, x);
 1728|   309k|        denom_view = denom.get_storage_view();
 1729|   309k|        num_view = num.get_storage_view();
 1730|       |
 1731|   309k|        size_type l = denom_view.size() - 1;
 1732|   309k|        size_type n = num_view.size() - 1;
 1733|   309k|        quot.resize(n - l);
 1734|   309k|        quot_view = quot.get_storage_view();
 1735|   251M|        for (size_type i = quot_view.size(); i-- > 0; )
  ------------------
  |  Branch (1735:46): [True: 250M, False: 309k]
  ------------------
 1736|   250M|        {
 1737|   250M|            quot_view[i] = 0;
 1738|   250M|        }
 1739|   309k|        rem = num;
 1740|   309k|        auto rem_view = rem.get_storage_view();
 1741|   309k|        if ( rem_view[n] >= denom_view[l] )
  ------------------
  |  Branch (1741:14): [True: 6.38k, False: 303k]
  ------------------
 1742|  6.38k|        {
 1743|  6.38k|            rem.resize(rem_view.size() + 1);
 1744|  6.38k|            rem_view = rem.get_storage_view();
 1745|  6.38k|            n++;
 1746|  6.38k|            quot.resize(quot_view.size() + 1);
 1747|  6.38k|            quot_view = quot.get_storage_view();
 1748|  6.38k|        }
 1749|   309k|        word_type d = denom_view[l];
 1750|       |
 1751|   251M|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1751:32): [True: 250M, False: 309k]
  ------------------
 1752|   250M|        {
 1753|   250M|            word_type q = DDquotient(rem_view[k], rem_view[k-1], d);
 1754|   250M|            subtractmul( rem_view.data() + (k - l - 1), denom_view.data(), l + 1, q );
 1755|   250M|            quot_view[k - l - 1] = q;
 1756|   250M|        }
 1757|   309k|        quot.reduce();
 1758|   309k|        quot.set_negative(quot_neg);
 1759|   309k|        if (remDesired)
  ------------------
  |  Branch (1759:13): [True: 309k, False: 0]
  ------------------
 1760|   309k|        {
 1761|   309k|            unnormalize(rem, x, second_done);
 1762|   309k|            rem.set_negative(rem_neg);
 1763|   309k|        }
 1764|   309k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  669|  1.59M|        : storage_(other.storage_, alloc)
  670|  1.59M|    {
  671|  1.59M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  312|  1.59M|        : word_allocator_type(alloc)
  313|  1.59M|    {
  314|  1.59M|        if (!other.is_allocated())
  ------------------
  |  Branch (314:13): [True: 951k, False: 646k]
  ------------------
  315|   951k|        {
  316|   951k|            ::new (&inlined_) inlined_storage(other.inlined_);
  317|   951k|        }
  318|   646k|        else
  319|   646k|        {
  320|   646k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  321|   646k|        }
  322|  1.59M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 1865|   309k|    {
 1866|   309k|        auto denom_view = denom.get_storage_view();
 1867|   309k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1867:13): [True: 0, False: 309k]
  ------------------
 1868|      0|        {
 1869|      0|            return false;
 1870|      0|        }
 1871|   309k|        size_type r = denom_view.size() - 1;
 1872|   309k|        word_type y = denom_view[r];
 1873|       |
 1874|   309k|        x = 0;
 1875|   415k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (1875:17): [True: 105k, False: 309k]
  ------------------
 1876|   105k|        {
 1877|   105k|            y <<= 1;
 1878|   105k|            x++;
 1879|   105k|        }
 1880|   309k|        denom <<= x;
 1881|   309k|        num <<= x;
 1882|       |
 1883|   309k|        denom_view = denom.get_storage_view();
 1884|   309k|        if ( r > 0 && denom_view[r] < denom_view[r-1] )
  ------------------
  |  Branch (1884:14): [True: 0, False: 309k]
  |  Branch (1884:23): [True: 0, False: 0]
  ------------------
 1885|      0|        {
 1886|      0|            denom *= max_word;
 1887|      0|            num *= max_word;
 1888|      0|            return true;
 1889|      0|        }
 1890|   309k|        return false;
 1891|   309k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1110|   619k|    {
 1111|   619k|        auto this_view = get_storage_view();
 1112|   619k|        size_type q = k / word_type_bits;
 1113|   619k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1113:14): [True: 0, False: 619k]
  ------------------
 1114|      0|        {
 1115|      0|            resize(this_view.size() + q);
 1116|      0|            this_view = get_storage_view();
 1117|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1117:50): [True: 0, False: 0]
  ------------------
 1118|      0|                this_view[i] = ( i < q ? 0 : this_view[i - q]);
  ------------------
  |  Branch (1118:34): [True: 0, False: 0]
  ------------------
 1119|      0|            k %= word_type_bits;
 1120|      0|        }
 1121|   619k|        if ( k )  // 0 < k < word_type_bits:
  ------------------
  |  Branch (1121:14): [True: 70.5k, False: 548k]
  ------------------
 1122|  70.5k|        {
 1123|  70.5k|            size_type k1 = word_type_bits - k;
 1124|  70.5k|            word_type mask = (word_type(1) << k) - word_type(1);
 1125|  70.5k|            resize( this_view.size() + 1 );
 1126|  70.5k|            this_view = get_storage_view();
 1127|  11.3M|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1127:50): [True: 11.2M, False: 70.5k]
  ------------------
 1128|  11.2M|            {
 1129|  11.2M|                this_view[i] <<= k;
 1130|  11.2M|                if ( i > 0 )
  ------------------
  |  Branch (1130:22): [True: 11.1M, False: 70.5k]
  ------------------
 1131|  11.1M|                    this_view[i] |= (this_view[i-1] >> k1) & mask;
 1132|  11.2M|            }
 1133|  70.5k|        }
 1134|   619k|        reduce();
 1135|   619k|        return *this;
 1136|   619k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1792|   250M|    {
 1793|   250M|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1794|   250M|                   dHi = d >> word_type_half_bits, dLo = d & r_mask;
 1795|   250M|        qHi = A/(dHi + 1);
 1796|       |        // This initial guess of qHi may be too small.
 1797|   250M|        middle = qHi * dLo;
 1798|   250M|        left = qHi * dHi;
 1799|   250M|        x = B - (middle << word_type_half_bits);
 1800|   250M|        A -= (middle >> word_type_half_bits) + left + (x > B);
 1801|   250M|        B = x;
 1802|   250M|        dLo1 = dLo << word_type_half_bits;
 1803|       |        // Increase qHi if necessary:
 1804|   360M|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1804:17): [True: 109M, False: 251M]
  |  Branch (1804:29): [True: 209k, False: 250M]
  |  Branch (1804:41): [True: 209k, False: 3]
  ------------------
 1805|   109M|        {
 1806|   109M|            x = B - dLo1;
 1807|   109M|            A -= dHi + (x > B);
 1808|   109M|            B = x;
 1809|   109M|            qHi++;
 1810|   109M|        }
 1811|   250M|        qLo = ((A << word_type_half_bits) | (B >> word_type_half_bits))/(dHi + 1);
 1812|       |        // This initial guess of qLo may be too small.
 1813|   250M|        right = qLo * dLo;
 1814|   250M|        middle = qLo * dHi;
 1815|   250M|        x = B - right;
 1816|   250M|        A -= (x > B);
 1817|   250M|        B = x;
 1818|   250M|        x = B - (middle << word_type_half_bits);
 1819|   250M|            A -= (middle >> word_type_half_bits) + (x > B);
 1820|   250M|        B = x;
 1821|       |        // Increase qLo if necessary:
 1822|   360M|        while ( A || B >= d )
  ------------------
  |  Branch (1822:17): [True: 346k, False: 359M]
  |  Branch (1822:22): [True: 109M, False: 250M]
  ------------------
 1823|   109M|        {
 1824|   109M|            x = B - d;
 1825|   109M|            A -= (x > B);
 1826|   109M|            B = x;
 1827|   109M|            qLo++;
 1828|   109M|        }
 1829|   250M|        return (qHi << word_type_half_bits) + qLo;
 1830|   250M|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1834|   250M|    {
 1835|   250M|        word_type hi, lo, d, carry = 0;
 1836|   250M|        size_type i;
 1837|   501M|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1837:22): [True: 250M, False: 250M]
  ------------------
 1838|   250M|        {
 1839|   250M|            DDproduct( b[i], q, hi, lo );
 1840|   250M|            d = a[i];
 1841|   250M|            a[i] -= lo;
 1842|   250M|            if ( a[i] > d )
  ------------------
  |  Branch (1842:18): [True: 65.0M, False: 185M]
  ------------------
 1843|  65.0M|                carry++;
 1844|   250M|            d = a[i + 1];
 1845|   250M|            a[i + 1] -= hi + carry;
 1846|   250M|            carry = a[i + 1] > d;
 1847|   250M|        }
 1848|   250M|        if ( carry ) // q was too large
  ------------------
  |  Branch (1848:14): [True: 0, False: 250M]
  ------------------
 1849|      0|        {
 1850|      0|            q--;
 1851|      0|            carry = 0;
 1852|      0|            for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1852:26): [True: 0, False: 0]
  ------------------
 1853|      0|            {
 1854|      0|                d = a[i] + carry;
 1855|      0|                carry = d < carry;
 1856|      0|                a[i] = d + b[i];
 1857|      0|                if ( a[i] < d )
  ------------------
  |  Branch (1857:22): [True: 0, False: 0]
  ------------------
 1858|      0|                    carry = 1;
 1859|      0|            }
 1860|      0|            a[n] = 0;
 1861|      0|        }
 1862|   250M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   79|   502M|        {
   80|   502M|            return data_;
   81|   502M|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 1894|   309k|    {
 1895|   309k|        if (secondDone)
  ------------------
  |  Branch (1895:13): [True: 0, False: 309k]
  ------------------
 1896|      0|        {
 1897|      0|            rem /= max_word;
 1898|      0|        }
 1899|   309k|        if ( x > 0 )
  ------------------
  |  Branch (1899:14): [True: 35.2k, False: 274k]
  ------------------
 1900|  35.2k|        {
 1901|  35.2k|            rem >>= x;
 1902|  35.2k|        }
 1903|   274k|        else
 1904|   274k|        {
 1905|   274k|            rem.reduce();
 1906|   274k|        }
 1907|   309k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2Ev:
  634|  93.2k|    basic_bigint() = default;
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEErSEm:
 1139|  35.2k|    {
 1140|  35.2k|        auto this_view = get_storage_view();
 1141|  35.2k|        size_type q = k / word_type_bits;
 1142|  35.2k|        if ( q >= this_view.size())
  ------------------
  |  Branch (1142:14): [True: 0, False: 35.2k]
  ------------------
 1143|      0|        {
 1144|      0|            resize( 0 );
 1145|      0|            return *this;
 1146|      0|        }
 1147|  35.2k|        if (q > 0)
  ------------------
  |  Branch (1147:13): [True: 0, False: 35.2k]
  ------------------
 1148|      0|        {
 1149|      0|            memmove( this_view.data(), this_view.data()+q, size_type((this_view.size() - q)*sizeof(word_type)) );
 1150|      0|            resize( size_type(this_view.size() - q) );
 1151|      0|            k %= word_type_bits;
 1152|      0|            if ( k == 0 )
  ------------------
  |  Branch (1152:18): [True: 0, False: 0]
  ------------------
 1153|      0|            {
 1154|      0|                reduce();
 1155|      0|                return *this;
 1156|      0|            }
 1157|      0|        }
 1158|       |
 1159|  35.2k|        this_view = get_storage_view();
 1160|  35.2k|        size_type n = size_type(this_view.size() - 1);
 1161|  35.2k|        ssize_type k1 = word_type_bits - k;
 1162|  35.2k|        word_type mask = (word_type(1) << k) - 1;
 1163|  11.1M|        for (size_type i = 0; i <= n; i++)
  ------------------
  |  Branch (1163:31): [True: 11.1M, False: 35.2k]
  ------------------
 1164|  11.1M|        {
 1165|  11.1M|            this_view[i] >>= k;
 1166|  11.1M|            if ( i < n )
  ------------------
  |  Branch (1166:18): [True: 11.0M, False: 35.2k]
  ------------------
 1167|  11.0M|                this_view[i] |= ((this_view[i+1] & mask) << k1);
 1168|  11.1M|        }
 1169|  35.2k|        reduce();
 1170|  35.2k|        return *this;
 1171|  35.2k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  701|  2.63M|    {
  702|  2.63M|        storage_.destroy();
  703|  2.63M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  480|  2.63M|    {
  481|  2.63M|        if (is_allocated())
  ------------------
  |  Branch (481:13): [True: 741k, False: 1.88M]
  ------------------
  482|   741k|        {
  483|   741k|            allocated_.destroy(get_allocator());
  484|   741k|            allocated_.~allocated_storage();
  485|   741k|        }
  486|  1.88M|        else
  487|  1.88M|        {
  488|  1.88M|            inlined_.~inlined_storage();
  489|  1.88M|        }
  490|  2.63M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  246|   741k|        {
  247|   741k|            if (data_ != nullptr)
  ------------------
  |  Branch (247:17): [True: 741k, False: 0]
  ------------------
  248|   741k|            {
  249|   741k|                real_allocator_type alloc(a);
  250|   741k|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  251|   741k|            }
  252|   741k|        }
_ZN8jsonconsmiENS_12basic_bigintINSt3__19allocatorImEEEERKS4_:
 1519|  45.0k|    {
 1520|  45.0k|        return x -= y;
 1521|  45.0k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IiEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  686|   225k|        : storage_(n, alloc)
  687|   225k|    {
  688|   225k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IiEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  353|   225k|        : word_allocator_type(alloc)
  354|   225k|    {
  355|   225k|        ::new (&inlined_) inlined_storage(n);
  356|   225k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IiEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  125|   225k|            : is_allocated_(false),
  126|   225k|            is_negative_(n < 0),
  127|   225k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (127:19): [True: 180k, False: 45.0k]
  ------------------
  128|   225k|        {
  129|   225k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (129:26): [True: 45.0k, False: 180k]
  ------------------
  130|   225k|            values_[1] = 0;
  131|   225k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  835|   714k|    {
  836|   714k|        storage_ = y.storage_;
  837|   714k|        return *this;
  838|   714k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  359|   714k|    {
  360|   714k|        if (this != &other)
  ------------------
  |  Branch (360:13): [True: 714k, False: 0]
  ------------------
  361|   714k|        {
  362|   714k|            auto other_view = other.get_storage_view();
  363|   714k|            resize(other_view.size());
  364|   714k|            auto this_view = get_storage_view();
  365|   714k|            if (other_view.size() > 0)
  ------------------
  |  Branch (365:17): [True: 536k, False: 177k]
  ------------------
  366|   536k|            {
  367|   536k|                common_.is_negative_ = other.common_.is_negative_;
  368|   536k|                std::memcpy(this_view.data(), other_view.data(), size_type(other_view.size()*sizeof(word_type)));
  369|   536k|            }
  370|   714k|        }
  371|   714k|        return *this;
  372|   714k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   79|   536k|        {
   80|   536k|            return data_;
   81|   536k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16write_string_hexIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1403|  93.6k|    {
 1404|       |
 1405|       |
 1406|  93.6k|        basic_bigint<Allocator> v(*this);
 1407|  93.6k|        auto v_view = v.get_storage_view();
 1408|       |
 1409|  93.6k|        size_type len = (v_view.size() * basic_bigint<Allocator>::word_type_bits / 3) + 2;
 1410|  93.6k|        data.reserve(len);
 1411|       |
 1412|  93.6k|        if ( v_view.size() == 0 )
  ------------------
  |  Branch (1412:14): [True: 443, False: 93.2k]
  ------------------
 1413|    443|        {
 1414|    443|            data.push_back('0');
 1415|    443|        }
 1416|  93.2k|        else
 1417|  93.2k|        {
 1418|  93.2k|            word_type r;
 1419|  93.2k|            basic_bigint<Allocator> R;
 1420|  93.2k|            basic_bigint<Allocator> LP10 = max_unsigned_power_16; // LP10 = max_unsigned_power_16 = ::pow(16, imax_unsigned_power_16)
 1421|  93.2k|            do
 1422|   128k|            {
 1423|   128k|                v.divide( LP10, v, R, true );
 1424|   128k|                v_view = v.get_storage_view();
 1425|   128k|                auto R_view = R.get_storage_view();
 1426|   128k|                r = (R_view.size() ? R_view[0] : 0);
  ------------------
  |  Branch (1426:22): [True: 125k, False: 3.31k]
  ------------------
 1427|   967k|                for ( size_type j=0; j < imax_unsigned_power_16; j++ )
  ------------------
  |  Branch (1427:38): [True: 931k, False: 35.5k]
  ------------------
 1428|   931k|                {
 1429|   931k|                    uint8_t c = r % 16u;
 1430|   931k|                    data.push_back((c < 10u) ? ('0' + c) : ('A' - 10u + c));
  ------------------
  |  Branch (1430:36): [True: 819k, False: 112k]
  ------------------
 1431|   931k|                    r /= 16u;
 1432|   931k|                    if ( r + v_view.size() == 0 )
  ------------------
  |  Branch (1432:26): [True: 93.2k, False: 838k]
  ------------------
 1433|  93.2k|                        break;
 1434|   931k|                }
 1435|   128k|            } 
 1436|   128k|            while (v_view.size() > 0);
  ------------------
  |  Branch (1436:20): [True: 35.5k, False: 93.2k]
  ------------------
 1437|       |
 1438|  93.2k|            if (is_negative())
  ------------------
  |  Branch (1438:17): [True: 1.02k, False: 92.2k]
  ------------------
 1439|  1.02k|            {
 1440|  1.02k|                data.push_back('-');
 1441|  1.02k|            }
 1442|  93.2k|            std::reverse(data.begin(),data.end());
 1443|  93.2k|        }
 1444|  93.6k|    }

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

_ZNK8jsoncons16byte_string_view4dataEv:
  399|  13.7M|        {
  400|  13.7M|            return data_;
  401|  13.7M|        }
_ZNK8jsoncons16byte_string_view4sizeEv:
  403|  13.8M|        {
  404|  13.8M|            return size_;
  405|  13.8M|        }
_ZN8jsoncons16byte_string_viewC2EPKhm:
  362|  18.5M|            : data_(data), size_(length)
  363|  18.5M|        {
  364|  18.5M|        }
_ZN8jsoncons15bytes_to_base64IPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  188|    795|    {
  189|    795|        static constexpr char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  190|    795|                                                   "abcdefghijklmnopqrstuvwxyz"
  191|    795|                                                   "0123456789+/"
  192|    795|                                                   "=";
  193|    795|        return detail::bytes_to_base64_generic(first, last, alphabet, result);
  194|    795|    }
_ZN8jsoncons6detail23bytes_to_base64_genericIPKhNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEENS4_9enable_ifIXsr3std7is_sameINS4_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESD_SD_PKcRT0_:
   44|  4.80M|    {
   45|  4.80M|        std::size_t count = 0;
   46|  4.80M|        unsigned char a3[3];
   47|  4.80M|        unsigned char a4[4];
   48|  4.80M|        unsigned char fill = alphabet[64];
   49|  4.80M|        int i = 0;
   50|  4.80M|        int j = 0;
   51|       |
   52|  55.9M|        while (first != last)
  ------------------
  |  Branch (52:16): [True: 51.1M, False: 4.80M]
  ------------------
   53|  51.1M|        {
   54|  51.1M|            a3[i++] = *first++;
   55|  51.1M|            if (i == 3)
  ------------------
  |  Branch (55:17): [True: 16.4M, False: 34.7M]
  ------------------
   56|  16.4M|            {
   57|  16.4M|                a4[0] = (a3[0] & 0xfc) >> 2;
   58|  16.4M|                a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   59|  16.4M|                a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   60|  16.4M|                a4[3] = a3[2] & 0x3f;
   61|       |
   62|  82.1M|                for (i = 0; i < 4; i++) 
  ------------------
  |  Branch (62:29): [True: 65.6M, False: 16.4M]
  ------------------
   63|  65.6M|                {
   64|  65.6M|                    result.push_back(alphabet[a4[i]]);
   65|  65.6M|                    ++count;
   66|  65.6M|                }
   67|  16.4M|                i = 0;
   68|  16.4M|            }
   69|  51.1M|        }
   70|       |
   71|  4.80M|        if (i > 0)
  ------------------
  |  Branch (71:13): [True: 963k, False: 3.84M]
  ------------------
   72|   963k|        {
   73|  1.95M|            for (j = i; j < 3; ++j) 
  ------------------
  |  Branch (73:25): [True: 989k, False: 963k]
  ------------------
   74|   989k|            {
   75|   989k|                a3[j] = 0;
   76|   989k|            }
   77|       |
   78|   963k|            a4[0] = (a3[0] & 0xfc) >> 2;
   79|   963k|            a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   80|   963k|            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: 963k]
  ------------------
   83|  2.86M|            {
   84|  2.86M|                result.push_back(alphabet[a4[j]]);
   85|  2.86M|                ++count;
   86|  2.86M|            }
   87|       |
   88|   963k|            if (fill != 0)
  ------------------
  |  Branch (88:17): [True: 271, False: 963k]
  ------------------
   89|    271|            {
   90|    811|                while (i++ < 3) 
  ------------------
  |  Branch (90:24): [True: 540, False: 271]
  ------------------
   91|    540|                {
   92|    540|                    result.push_back(fill);
   93|    540|                    ++count;
   94|    540|                }
   95|    271|            }
   96|   963k|        }
   97|       |
   98|  4.80M|        return count;
   99|  4.80M|    }
_ZNK8jsoncons16byte_string_view5beginEv:
  409|  4.89M|        {
  410|  4.89M|            return data_;
  411|  4.89M|        }
_ZNK8jsoncons16byte_string_view3endEv:
  413|  4.89M|        {
  414|  4.89M|            return data_ + size_;
  415|  4.89M|        }
_ZN8jsoncons15bytes_to_base16IPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  162|    901|    {
  163|    901|        static constexpr char characters[] = "0123456789ABCDEF";
  164|       |
  165|   848k|        for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (165:31): [True: 847k, False: 901]
  ------------------
  166|   847k|        {
  167|   847k|            uint8_t c = *it;
  168|   847k|            result.push_back(characters[c >> 4]);
  169|   847k|            result.push_back(characters[c & 0xf]);
  170|   847k|        }
  171|    901|        return (last-first)*2;
  172|    901|    }
_ZN8jsoncons18bytes_to_base64urlIPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  177|  4.80M|    {
  178|  4.80M|        static constexpr char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  179|  4.80M|                                                      "abcdefghijklmnopqrstuvwxyz"
  180|  4.80M|                                                      "0123456789-_"
  181|  4.80M|                                                      "\0";
  182|  4.80M|        return detail::bytes_to_base64_generic(first, last, alphabet, result);
  183|  4.80M|    }
_ZN8jsoncons16byte_string_viewC2INSt3__16vectorIhNS2_9allocatorIhEEEEEERKT_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS7_EE5valueEiE4typeE:
  369|  90.6k|            : data_(reinterpret_cast<const uint8_t*>(cont.data())), size_(cont.size())
  370|  90.6k|        {
  371|  90.6k|        }

_ZNK8jsoncons8identityclIRKhEEOT_S5_:
   19|  2.59M|    {
   20|  2.59M|        return std::forward<T>(val);
   21|  2.59M|    }
_ZNK8jsoncons8identityclIRKtEEOT_S5_:
   19|   437k|    {
   20|   437k|        return std::forward<T>(val);
   21|   437k|    }
_ZNK8jsoncons8identityclIRKjEEOT_S5_:
   19|   614k|    {
   20|   614k|        return std::forward<T>(val);
   21|   614k|    }
_ZNK8jsoncons8identityclIRKmEEOT_S5_:
   19|   139k|    {
   20|   139k|        return std::forward<T>(val);
   21|   139k|    }
_ZNK8jsoncons8identityclIRKaEEOT_S5_:
   19|  10.1M|    {
   20|  10.1M|        return std::forward<T>(val);
   21|  10.1M|    }
_ZNK8jsoncons8identityclIRKsEEOT_S5_:
   19|   842k|    {
   20|   842k|        return std::forward<T>(val);
   21|   842k|    }
_ZNK8jsoncons8identityclIRKiEEOT_S5_:
   19|  7.50M|    {
   20|  7.50M|        return std::forward<T>(val);
   21|  7.50M|    }
_ZNK8jsoncons8identityclIRKlEEOT_S5_:
   19|   601k|    {
   20|   601k|        return std::forward<T>(val);
   21|   601k|    }
_ZNK8jsoncons11decode_halfclEt:
   36|  58.1M|    {
   37|  58.1M|        return binary::decode_half(val);
   38|  58.1M|    }
_ZNK8jsoncons8identityclIRKfEEOT_S5_:
   19|   293k|    {
   20|   293k|        return std::forward<T>(val);
   21|   293k|    }
_ZNK8jsoncons8identityclIRKdEEOT_S5_:
   19|   133k|    {
   20|   133k|        return std::forward<T>(val);
   21|   133k|    }

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  18.0k|    {       
  242|  18.0k|        return (ptr);
  243|  18.0k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|  4.59M|    {       
  242|  4.59M|        return (ptr);
  243|  4.59M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|   465k|    {       
  242|   465k|        return (ptr);
  243|   465k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  17.8M|    {       
  242|  17.8M|        return (ptr);
  243|  17.8M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|  4.60M|    {       
  242|  4.60M|        return (ptr);
  243|  4.60M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerImEEPT_S3_:
  241|   691k|    {       
  242|   691k|        return (ptr);
  243|   691k|    }  

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

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14convert_resultIS4_EEE4typeEPKS4_m:
 1136|  1.35M|    {
 1137|  1.35M|        conv_errc  result = conv_errc();
 1138|  1.35M|        const CharT* last = data + length;
 1139|  2.19M|        while (data != last) 
  ------------------
  |  Branch (1139:16): [True: 845k, False: 1.35M]
  ------------------
 1140|   845k|        {
 1141|   845k|            std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[static_cast<uint8_t>(*data)]) + 1;
 1142|   845k|            if (len > (std::size_t)(last - data))
  ------------------
  |  Branch (1142:17): [True: 16, False: 845k]
  ------------------
 1143|     16|            {
 1144|     16|                return convert_result<CharT>{data, conv_errc::source_exhausted};
 1145|     16|            }
 1146|   845k|            if ((result=is_legal_utf8(data, len)) != conv_errc())
  ------------------
  |  Branch (1146:17): [True: 112, False: 845k]
  ------------------
 1147|    112|            {
 1148|    112|                return convert_result<CharT>{data,result} ;
 1149|    112|            }
 1150|   845k|            data += len;
 1151|   845k|        }
 1152|  1.35M|        return convert_result<CharT>{data,result} ;
 1153|  1.35M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8IcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_9conv_errcEE4typeEPKS4_m:
  305|   845k|    {
  306|   845k|        uint8_t a;
  307|   845k|        const CharT* srcptr = first+length;
  308|   845k|        switch (length) {
  309|     10|        default:
  ------------------
  |  Branch (309:9): [True: 10, False: 845k]
  ------------------
  310|     10|            return conv_errc::over_long_utf8_sequence;
  311|    471|        case 4:
  ------------------
  |  Branch (311:9): [True: 471, False: 844k]
  ------------------
  312|    471|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (312:17): [True: 11, False: 460]
  ------------------
  313|     11|                return conv_errc::expected_continuation_byte;
  314|    460|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|    460|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  315|  1.15k|        case 3:
  ------------------
  |  Branch (315:9): [True: 694, False: 844k]
  ------------------
  316|  1.15k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (316:17): [True: 8, False: 1.14k]
  ------------------
  317|      8|                return conv_errc::expected_continuation_byte;
  318|  1.14k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.14k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  319|  2.23k|        case 2:
  ------------------
  |  Branch (319:9): [True: 1.09k, False: 844k]
  ------------------
  320|  2.23k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (320:17): [True: 26, False: 2.21k]
  ------------------
  321|     26|                return conv_errc::expected_continuation_byte;
  322|       |
  323|  2.21k|            switch (static_cast<uint8_t>(*first)) 
  324|  2.21k|            {
  325|       |                // no fall-through in this inner switch
  326|    225|                case 0xE0: if (a < 0xA0) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (326:17): [True: 225, False: 1.98k]
  |  Branch (326:32): [True: 3, False: 222]
  ------------------
  327|    381|                case 0xED: if (a > 0x9F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (327:17): [True: 381, False: 1.83k]
  |  Branch (327:32): [True: 5, False: 376]
  ------------------
  328|    376|                case 0xF0: if (a < 0x90) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 198, False: 2.01k]
  |  Branch (328:32): [True: 1, False: 197]
  ------------------
  329|    206|                case 0xF4: if (a > 0x8F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 206, False: 2.00k]
  |  Branch (329:32): [True: 2, False: 204]
  ------------------
  330|  1.20k|                default:   if (a < 0x80) return conv_errc::source_illegal;
  ------------------
  |  Branch (330:17): [True: 1.20k, False: 1.01k]
  |  Branch (330:32): [True: 0, False: 1.20k]
  ------------------
  331|  2.21k|            }
  332|       |
  333|  2.20k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  2.20k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  334|   845k|        case 1:
  ------------------
  |  Branch (334:9): [True: 843k, False: 2.26k]
  ------------------
  335|   845k|            if (static_cast<uint8_t>(*first) >= 0x80 && static_cast<uint8_t>(*first) < 0xC2)
  ------------------
  |  Branch (335:17): [True: 2.24k, False: 842k]
  |  Branch (335:57): [True: 45, False: 2.20k]
  ------------------
  336|     45|                return conv_errc::source_illegal;
  337|   845k|            break;
  338|   845k|        }
  339|   845k|        if (static_cast<uint8_t>(*first) > 0xF4) 
  ------------------
  |  Branch (339:13): [True: 1, False: 845k]
  ------------------
  340|      1|            return conv_errc::source_illegal;
  341|       |
  342|   845k|        return conv_errc();
  343|   845k|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  12.6M|{
   43|  12.6M|    using char_type = typename Result::value_type;
   44|       |
   45|  12.6M|    char_type buf[255];
   46|  12.6M|    char_type *p = buf;
   47|  12.6M|    const char_type* last = buf+255;
   48|       |
   49|  12.6M|    bool is_negative = value < 0;
   50|       |
   51|  12.6M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 12.6M]
  ------------------
   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|  12.6M|    else
   60|  12.6M|    {
   61|       |
   62|  12.6M|        do
   63|  23.8M|        {
   64|  23.8M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  23.8M|        }
   66|  23.8M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 11.2M, False: 12.6M]
  |  Branch (66:33): [True: 11.2M, False: 0]
  ------------------
   67|  12.6M|    }
   68|  12.6M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|  12.6M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 12.6M]
  |  |  ------------------
  |  |   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|  12.6M|    std::size_t count = (p - buf);
   71|  12.6M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 12.6M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  36.5M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 23.8M, False: 12.6M]
  ------------------
   77|  23.8M|    {
   78|  23.8M|        result.push_back(*p);
   79|  23.8M|    }
   80|       |
   81|  12.6M|    return count;
   82|  12.6M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  14.4M|{
   43|  14.4M|    using char_type = typename Result::value_type;
   44|       |
   45|  14.4M|    char_type buf[255];
   46|  14.4M|    char_type *p = buf;
   47|  14.4M|    const char_type* last = buf+255;
   48|       |
   49|  14.4M|    bool is_negative = value < 0;
   50|       |
   51|  14.4M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 10.0M, False: 4.33M]
  ------------------
   52|  10.0M|    {
   53|  10.0M|        do
   54|  46.1M|        {
   55|  46.1M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  46.1M|        }
   57|  46.1M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 36.1M, False: 10.0M]
  |  Branch (57:33): [True: 36.1M, False: 0]
  ------------------
   58|  10.0M|    }
   59|  4.33M|    else
   60|  4.33M|    {
   61|       |
   62|  4.33M|        do
   63|  21.5M|        {
   64|  21.5M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  21.5M|        }
   66|  21.5M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 17.2M, False: 4.33M]
  |  Branch (66:33): [True: 17.2M, False: 0]
  ------------------
   67|  4.33M|    }
   68|  14.4M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|  14.4M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 14.4M]
  |  |  ------------------
  |  |   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|  14.4M|    std::size_t count = (p - buf);
   71|  14.4M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 10.0M, False: 4.33M]
  ------------------
   72|  10.0M|    {
   73|  10.0M|        result.push_back('-');
   74|  10.0M|        ++count;
   75|  10.0M|    }
   76|  82.1M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 67.7M, False: 14.4M]
  ------------------
   77|  67.7M|    {
   78|  67.7M|        result.push_back(*p);
   79|  67.7M|    }
   80|       |
   81|  14.4M|    return count;
   82|  14.4M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|  46.7M|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|  46.7M|    {
  489|  46.7M|#if !defined(JSONCONS_NO_LOCALECONV)
  490|  46.7M|        struct lconv *lc = localeconv();
  491|  46.7M|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 46.7M, False: 0]
  |  Branch (491:30): [True: 46.7M, False: 0]
  ------------------
  492|  46.7M|        {
  493|  46.7M|            decimal_point_ = lc->decimal_point[0];
  494|  46.7M|        }
  495|  46.7M|#endif
  496|  46.7M|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|  46.7M|    {
  504|  46.7M|        std::size_t count = 0;
  505|       |
  506|  46.7M|        char number_buffer[200];
  507|  46.7M|        int length = 0;
  508|       |
  509|  46.7M|        switch (float_format_)
  510|  46.7M|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 46.7M]
  ------------------
  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: 46.7M]
  ------------------
  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|  46.7M|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 46.7M, False: 0]
  ------------------
  552|  46.7M|            {
  553|  46.7M|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 46.7M]
  ------------------
  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|  46.7M|                else
  563|  46.7M|                {
  564|  46.7M|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 46.7M]
  ------------------
  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|  46.7M|                }             
  569|  46.7M|                break;
  570|  46.7M|            }
  571|  46.7M|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 46.7M]
  ------------------
  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|  46.7M|        }
  575|  46.7M|        return count;
  576|  46.7M|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|   346k|{
  244|   346k|    const char *sbeg = buffer;
  245|   346k|    const char *send = sbeg + length;
  246|       |
  247|   346k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 346k, False: 0]
  ------------------
  248|   346k|    {
  249|   346k|        bool needs_dot = true;
  250|  7.79M|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 7.44M, False: 346k]
  ------------------
  251|  7.44M|        {
  252|  7.44M|            switch (*q)
  253|  7.44M|            {
  254|   158k|            case '-':
  ------------------
  |  Branch (254:13): [True: 158k, False: 7.28M]
  ------------------
  255|  1.40M|            case '0':
  ------------------
  |  Branch (255:13): [True: 1.24M, False: 6.19M]
  ------------------
  256|  2.15M|            case '1':
  ------------------
  |  Branch (256:13): [True: 746k, False: 6.69M]
  ------------------
  257|  2.61M|            case '2':
  ------------------
  |  Branch (257:13): [True: 460k, False: 6.98M]
  ------------------
  258|  3.39M|            case '3':
  ------------------
  |  Branch (258:13): [True: 785k, False: 6.66M]
  ------------------
  259|  4.00M|            case '4':
  ------------------
  |  Branch (259:13): [True: 603k, False: 6.84M]
  ------------------
  260|  4.34M|            case '5':
  ------------------
  |  Branch (260:13): [True: 338k, False: 7.10M]
  ------------------
  261|  4.70M|            case '6':
  ------------------
  |  Branch (261:13): [True: 368k, False: 7.07M]
  ------------------
  262|  5.51M|            case '7':
  ------------------
  |  Branch (262:13): [True: 805k, False: 6.64M]
  ------------------
  263|  6.53M|            case '8':
  ------------------
  |  Branch (263:13): [True: 1.02M, False: 6.42M]
  ------------------
  264|  7.02M|            case '9':
  ------------------
  |  Branch (264:13): [True: 480k, False: 6.96M]
  ------------------
  265|  7.02M|            case '+':
  ------------------
  |  Branch (265:13): [True: 679, False: 7.44M]
  ------------------
  266|  7.02M|                result.push_back(*q);
  267|  7.02M|                break;
  268|  78.5k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 78.5k, False: 7.36M]
  ------------------
  269|  78.5k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 7.44M]
  ------------------
  270|  78.5k|                result.push_back('e');
  271|  78.5k|                needs_dot = false;
  272|  78.5k|                break;
  273|   346k|            default:
  ------------------
  |  Branch (273:13): [True: 346k, False: 7.09M]
  ------------------
  274|   346k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 344k, False: 1.58k]
  ------------------
  275|   344k|                {
  276|   344k|                    needs_dot = false;
  277|   344k|                    result.push_back('.');
  278|   344k|                }
  279|   346k|                break;
  280|  7.44M|            }
  281|  7.44M|        }
  282|   346k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 1.30k, False: 344k]
  ------------------
  283|  1.30k|        {
  284|  1.30k|            result.push_back('.');
  285|  1.30k|            result.push_back('0');
  286|  1.30k|        }
  287|   346k|    }
  288|   346k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmiiiRT_:
  171|  43.3M|{
  172|  43.3M|    int nb_digits = (int)length;
  173|  43.3M|    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|  43.3M|    int kk = nb_digits + k;
  179|       |
  180|  43.3M|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 5.28M, False: 38.0M]
  |  Branch (180:28): [True: 3.26M, False: 2.01M]
  ------------------
  181|  3.26M|    {
  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|  14.1M|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 10.9M, False: 3.26M]
  ------------------
  186|  10.9M|        {
  187|  10.9M|            result.push_back(buffer[i]);
  188|  10.9M|        }
  189|  3.79M|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 527k, False: 3.26M]
  ------------------
  190|   527k|        {
  191|   527k|            result.push_back('0');
  192|   527k|        }
  193|  3.26M|        result.push_back('.');
  194|  3.26M|        result.push_back('0');
  195|  3.26M|    } 
  196|  40.0M|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 9.86M, False: 30.1M]
  |  Branch (196:24): [True: 7.85M, False: 2.01M]
  ------------------
  197|  7.85M|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  22.4M|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 14.6M, False: 7.85M]
  ------------------
  200|  14.6M|        {
  201|  14.6M|            result.push_back(buffer[i]);
  202|  14.6M|        }
  203|  7.85M|        result.push_back('.');
  204|  36.7M|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 28.8M, False: 7.85M]
  ------------------
  205|  28.8M|        {
  206|  28.8M|            result.push_back(buffer[i]);
  207|  28.8M|        }
  208|  7.85M|    } 
  209|  32.2M|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 29.1M, False: 3.05M]
  |  Branch (209:30): [True: 27.1M, False: 2.01M]
  ------------------
  210|  27.1M|    {
  211|  27.1M|        offset = 2 - kk;
  212|       |
  213|  27.1M|        result.push_back('0');
  214|  27.1M|        result.push_back('.');
  215|   100M|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 73.1M, False: 27.1M]
  ------------------
  216|  73.1M|            result.push_back('0');
  217|   465M|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 438M, False: 27.1M]
  ------------------
  218|   438M|        {
  219|   438M|            result.push_back(buffer[i]);
  220|   438M|        }
  221|  27.1M|    } 
  222|  5.06M|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 561, False: 5.06M]
  ------------------
  223|    561|    {
  224|    561|        result.push_back(buffer[0]);
  225|    561|        result.push_back('e');
  226|    561|        fill_exponent(kk - 1, result);
  227|    561|    } 
  228|  5.06M|    else
  229|  5.06M|    {
  230|  5.06M|        result.push_back(buffer[0]);
  231|  5.06M|        result.push_back('.');
  232|  79.9M|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 74.9M, False: 5.06M]
  ------------------
  233|  74.9M|        {
  234|  74.9M|            result.push_back(buffer[i]);
  235|  74.9M|        }
  236|  5.06M|        result.push_back('e');
  237|  5.06M|        fill_exponent(kk - 1, result);
  238|  5.06M|    }
  239|  43.3M|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  5.06M|{
  137|  5.06M|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 3.05M, False: 2.01M]
  ------------------
  138|  3.05M|    {
  139|  3.05M|        result.push_back('-');
  140|  3.05M|        K = -K;
  141|  3.05M|    }
  142|  2.01M|    else
  143|  2.01M|    {
  144|  2.01M|        result.push_back('+'); // compatibility with sprintf
  145|  2.01M|    }
  146|       |
  147|  5.06M|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 2.91M, False: 2.15M]
  ------------------
  148|  2.91M|    {
  149|  2.91M|        result.push_back('0'); // compatibility with sprintf
  150|  2.91M|        result.push_back((char)('0' + K));
  151|  2.91M|    }
  152|  2.15M|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 209k, False: 1.94M]
  ------------------
  153|   209k|    {
  154|   209k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|   209k|        result.push_back((char)('0' + K));
  156|   209k|    }
  157|  1.94M|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 1.94M, False: 0]
  ------------------
  158|  1.94M|    {
  159|  1.94M|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  1.94M|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  1.94M|        result.push_back((char)('0' + K));
  162|  1.94M|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  5.06M|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|  46.7M|{
  476|  46.7M|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|  46.7M|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|  46.7M|{
  367|  46.7M|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 3.10M, False: 43.6M]
  ------------------
  368|  3.10M|    {
  369|  3.10M|        result.push_back('0');
  370|  3.10M|        result.push_back('.');
  371|  3.10M|        result.push_back('0');
  372|  3.10M|        return true;
  373|  3.10M|    }
  374|       |
  375|  43.6M|    int length = 0;
  376|  43.6M|    int k;
  377|       |
  378|  43.6M|    char buffer[100];
  379|       |
  380|  43.6M|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 32.3M, False: 11.3M]
  ------------------
  381|  43.6M|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 43.3M, False: 346k]
  ------------------
  382|  43.3M|    {
  383|  43.3M|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 32.2M, False: 11.0M]
  ------------------
  384|  32.2M|        {
  385|  32.2M|            result.push_back('-');
  386|  32.2M|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|  43.3M|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|  43.3M|        return true;
  391|  43.3M|    }
  392|   346k|    else
  393|   346k|    {
  394|   346k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|   346k|    }
  396|  43.6M|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|   346k|{
  330|   346k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 346k]
  ------------------
  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|   346k|    char buffer[100];
  339|   346k|    int precision = std::numeric_limits<double>::digits10;
  340|   346k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|   346k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 346k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|   346k|    double x{0};
  346|   346k|    auto res = decstr_to_double(buffer, length, x);
  347|   346k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 346k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|   346k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 345k, False: 366]
  ------------------
  352|   345k|    {
  353|   345k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|   345k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|   345k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 345k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|   345k|    }
  360|   346k|    dump_buffer(buffer, length, decimal_point, result);
  361|   346k|    return true;
  362|   346k|}
_ZN8jsoncons15prettify_stringINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvPKcmiiiRT_:
  171|   698k|{
  172|   698k|    int nb_digits = (int)length;
  173|   698k|    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|   698k|    int kk = nb_digits + k;
  179|       |
  180|   698k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 41.4k, False: 656k]
  |  Branch (180:28): [True: 39.9k, False: 1.56k]
  ------------------
  181|  39.9k|    {
  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|   102k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 62.1k, False: 39.9k]
  ------------------
  186|  62.1k|        {
  187|  62.1k|            result.push_back(buffer[i]);
  188|  62.1k|        }
  189|   153k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 113k, False: 39.9k]
  ------------------
  190|   113k|        {
  191|   113k|            result.push_back('0');
  192|   113k|        }
  193|  39.9k|        result.push_back('.');
  194|  39.9k|        result.push_back('0');
  195|  39.9k|    } 
  196|   658k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 655k, False: 2.26k]
  |  Branch (196:24): [True: 654k, False: 1.70k]
  ------------------
  197|   654k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  1.31M|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 660k, False: 654k]
  ------------------
  200|   660k|        {
  201|   660k|            result.push_back(buffer[i]);
  202|   660k|        }
  203|   654k|        result.push_back('.');
  204|  1.31M|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 655k, False: 654k]
  ------------------
  205|   655k|        {
  206|   655k|            result.push_back(buffer[i]);
  207|   655k|        }
  208|   654k|    } 
  209|  3.96k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 2.85k, False: 1.10k]
  |  Branch (209:30): [True: 1.15k, False: 1.70k]
  ------------------
  210|  1.15k|    {
  211|  1.15k|        offset = 2 - kk;
  212|       |
  213|  1.15k|        result.push_back('0');
  214|  1.15k|        result.push_back('.');
  215|  2.59k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 1.44k, False: 1.15k]
  ------------------
  216|  1.44k|            result.push_back('0');
  217|  2.77k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 1.62k, False: 1.15k]
  ------------------
  218|  1.62k|        {
  219|  1.62k|            result.push_back(buffer[i]);
  220|  1.62k|        }
  221|  1.15k|    } 
  222|  2.81k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 1.39k, False: 1.41k]
  ------------------
  223|  1.39k|    {
  224|  1.39k|        result.push_back(buffer[0]);
  225|  1.39k|        result.push_back('e');
  226|  1.39k|        fill_exponent(kk - 1, result);
  227|  1.39k|    } 
  228|  1.41k|    else
  229|  1.41k|    {
  230|  1.41k|        result.push_back(buffer[0]);
  231|  1.41k|        result.push_back('.');
  232|   349k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 348k, False: 1.41k]
  ------------------
  233|   348k|        {
  234|   348k|            result.push_back(buffer[i]);
  235|   348k|        }
  236|  1.41k|        result.push_back('e');
  237|  1.41k|        fill_exponent(kk - 1, result);
  238|  1.41k|    }
  239|   698k|}
_ZN8jsoncons13fill_exponentINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEviRT_:
  136|  2.81k|{
  137|  2.81k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 1.10k, False: 1.70k]
  ------------------
  138|  1.10k|    {
  139|  1.10k|        result.push_back('-');
  140|  1.10k|        K = -K;
  141|  1.10k|    }
  142|  1.70k|    else
  143|  1.70k|    {
  144|  1.70k|        result.push_back('+'); // compatibility with sprintf
  145|  1.70k|    }
  146|       |
  147|  2.81k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 733, False: 2.07k]
  ------------------
  148|    733|    {
  149|    733|        result.push_back('0'); // compatibility with sprintf
  150|    733|        result.push_back((char)('0' + K));
  151|    733|    }
  152|  2.07k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 1.06k, False: 1.01k]
  ------------------
  153|  1.06k|    {
  154|  1.06k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  1.06k|        result.push_back((char)('0' + K));
  156|  1.06k|    }
  157|  1.01k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 225, False: 790]
  ------------------
  158|    225|    {
  159|    225|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|    225|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|    225|        result.push_back((char)('0' + K));
  162|    225|    }
  163|    790|    else
  164|    790|    {
  165|    790|        jsoncons::from_integer(K, result);
  166|    790|    }
  167|  2.81k|}
_ZN8jsoncons12from_integerIiNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|    790|{
   43|    790|    using char_type = typename Result::value_type;
   44|       |
   45|    790|    char_type buf[255];
   46|    790|    char_type *p = buf;
   47|    790|    const char_type* last = buf+255;
   48|       |
   49|    790|    bool is_negative = value < 0;
   50|       |
   51|    790|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 790]
  ------------------
   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|    790|    else
   60|    790|    {
   61|       |
   62|    790|        do
   63|  5.02k|        {
   64|  5.02k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  5.02k|        }
   66|  5.02k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 4.23k, False: 790]
  |  Branch (66:33): [True: 4.23k, False: 0]
  ------------------
   67|    790|    }
   68|    790|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|    790|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 790]
  |  |  ------------------
  |  |   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|    790|    std::size_t count = (p - buf);
   71|    790|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 790]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  5.81k|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 5.02k, False: 790]
  ------------------
   77|  5.02k|    {
   78|  5.02k|        result.push_back(*p);
   79|  5.02k|    }
   80|       |
   81|    790|    return count;
   82|    790|}
_ZN8jsoncons14integer_to_hexImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   89|   120k|{
   90|   120k|    using char_type = typename Result::value_type;
   91|       |
   92|   120k|    char_type buf[255];
   93|   120k|    char_type *p = buf;
   94|   120k|    const char_type* last = buf+255;
   95|       |
   96|   120k|    bool is_negative = value < 0;
   97|       |
   98|   120k|    if (value < 0)
  ------------------
  |  Branch (98:9): [True: 0, False: 120k]
  ------------------
   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|   120k|    else
  107|   120k|    {
  108|       |
  109|   120k|        do
  110|   234k|        {
  111|   234k|            *p++ = to_hex_character(value % 16);
  112|   234k|        }
  113|   234k|        while ((value /= 16) && (p < last));
  ------------------
  |  Branch (113:16): [True: 114k, False: 120k]
  |  Branch (113:33): [True: 114k, False: 0]
  ------------------
  114|   120k|    }
  115|   120k|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|   120k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 120k]
  |  |  ------------------
  |  |   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|   120k|    std::size_t count = (p - buf);
  118|   120k|    if (is_negative)
  ------------------
  |  Branch (118:9): [True: 0, False: 120k]
  ------------------
  119|      0|    {
  120|      0|        result.push_back('-');
  121|      0|        ++count;
  122|      0|    }
  123|   354k|    while (--p >= buf)
  ------------------
  |  Branch (123:12): [True: 234k, False: 120k]
  ------------------
  124|   234k|    {
  125|   234k|        result.push_back(*p);
  126|   234k|    }
  127|       |
  128|   120k|    return count;
  129|   120k|}
_ZN8jsoncons16to_hex_characterEh:
   33|   234k|{
   34|   234k|    return (char)((c < 10) ? ('0' + c) : ('A' - 10 + c));
  ------------------
  |  Branch (34:19): [True: 230k, False: 3.48k]
  ------------------
   35|   234k|}

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

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

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

_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_19cbor_decode_optionsERKS7_:
  197|  11.2k|       : alloc_(alloc),
  198|  11.2k|         source_(std::forward<Sourceable>(source)),
  199|  11.2k|         max_nesting_depth_(options.max_nesting_depth()),
  200|  11.2k|         text_buffer_(alloc),
  201|  11.2k|         bytes_buffer_(alloc),
  202|  11.2k|         state_stack_(alloc),
  203|  11.2k|         stringref_map_stack_(alloc)
  204|  11.2k|    {
  205|  11.2k|        state_stack_.emplace_back(parse_mode::root,0);
  206|  11.2k|    }
_ZN8jsoncons4cbor11parse_stateC2ENS0_10parse_modeEmb:
   51|  12.8M|        : mode(mode), length(length), pop_stringref_map_stack(pop_stringref_map_stack)
   52|  12.8M|    {
   53|  12.8M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringD2Ev:
  122|  7.18M|        ~mapped_string() = default;
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  300|  7.94k|    {
  301|  7.94k|        return 0;
  302|  7.94k|    }
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  305|  7.94k|    {
  306|  7.94k|        return source_.position();
  307|  7.94k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEED2Ev:
  213|  11.2k|    ~basic_cbor_parser() = default;
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
  221|  11.2k|    {
  222|  11.2k|        more_ = true;
  223|  11.2k|        done_ = false;
  224|  11.2k|        text_buffer_.clear();
  225|  11.2k|        bytes_buffer_.clear();
  226|  11.2k|        raw_tag_ = 0;
  227|  11.2k|        state_stack_.clear();
  228|  11.2k|        state_stack_.emplace_back(parse_mode::root,0);
  229|  11.2k|        stringref_map_stack_.clear();
  230|  11.2k|        nesting_depth_ = 0;
  231|  11.2k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  320|  11.2k|    {
  321|   145M|        while (!done_ && more_)
  ------------------
  |  Branch (321:16): [True: 145M, False: 3.33k]
  |  Branch (321:26): [True: 145M, False: 0]
  ------------------
  322|   145M|        {
  323|   145M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (323:21): [True: 145M, False: 0]
  ------------------
  324|   145M|            {
  325|  4.58k|                case parse_mode::multi_dim:
  ------------------
  |  Branch (325:17): [True: 4.58k, False: 145M]
  ------------------
  326|  4.58k|                {
  327|  4.58k|                    typed_array_iter_ = multi_dim_stack_.back();
  328|  4.58k|                    multi_dim_stack_.pop_back();
  329|  4.58k|                    state_stack_.pop_back();
  330|  4.58k|                    break;
  331|      0|                }
  332|  3.42M|                case parse_mode::array:
  ------------------
  |  Branch (332:17): [True: 3.42M, False: 141M]
  ------------------
  333|  3.42M|                {
  334|  3.42M|                    if (is_multi_dim())
  ------------------
  |  Branch (334:25): [True: 56.3k, False: 3.37M]
  ------------------
  335|  56.3k|                    {
  336|  56.3k|                        if (!typed_array_iter_->done())
  ------------------
  |  Branch (336:29): [True: 56.2k, False: 162]
  ------------------
  337|  56.2k|                        {
  338|  56.2k|                            typed_array_iter_->next(visitor, *this, ec);
  339|  56.2k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  56.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 46, False: 56.1k]
  |  |  ------------------
  ------------------
  340|     46|                            {
  341|     46|                                return;
  342|     46|                            }
  343|  56.2k|                        }
  344|    162|                        else
  345|    162|                        {
  346|    162|                            if (typed_array_iter_->count() != state_stack_.back().length)
  ------------------
  |  Branch (346:33): [True: 45, False: 117]
  ------------------
  347|     45|                            {
  348|       |                                //std::cout << state_stack_.back().index << "!=" << state_stack_.back().length << "\n";
  349|     45|                                ec = cbor_errc::bad_mdarray;
  350|     45|                                return;
  351|     45|                            }
  352|    117|                            end_classical_array_storage(ec);
  353|    117|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    117|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 117]
  |  |  ------------------
  ------------------
  354|      0|                            {
  355|      0|                                return;
  356|      0|                            }
  357|    117|                        }
  358|  56.3k|                    }
  359|  3.37M|                    else
  360|  3.37M|                    {
  361|  3.37M|                        if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (361:29): [True: 2.82M, False: 545k]
  ------------------
  362|  2.82M|                        {
  363|  2.82M|                            ++state_stack_.back().index;
  364|  2.82M|                            read_item(visitor, ec);
  365|  2.82M|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.82M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.18k, False: 2.82M]
  |  |  ------------------
  ------------------
  366|  1.18k|                            {
  367|  1.18k|                                return;
  368|  1.18k|                            }
  369|  2.82M|                        }
  370|   545k|                        else
  371|   545k|                        {
  372|   545k|                            end_array(visitor, ec);
  373|   545k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   545k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 545k]
  |  |  ------------------
  ------------------
  374|      0|                            {
  375|      0|                                return;
  376|      0|                            }
  377|   545k|                        }
  378|  3.37M|                    }
  379|  3.42M|                    break;
  380|  3.42M|                }
  381|  27.7M|                case parse_mode::indefinite_array:
  ------------------
  |  Branch (381:17): [True: 27.7M, False: 117M]
  ------------------
  382|  27.7M|                {
  383|  27.7M|                    if (is_multi_dim()) 
  ------------------
  |  Branch (383:25): [True: 45.4k, False: 27.7M]
  ------------------
  384|  45.4k|                    {
  385|  45.4k|                        if (!typed_array_iter_->done())
  ------------------
  |  Branch (385:29): [True: 45.1k, False: 293]
  ------------------
  386|  45.1k|                        {
  387|  45.1k|                            typed_array_iter_->next(visitor, *this, ec);
  388|  45.1k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  45.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 32, False: 45.0k]
  |  |  ------------------
  ------------------
  389|     32|                            {
  390|     32|                                return;
  391|     32|                            }
  392|  45.1k|                        }
  393|    293|                        else
  394|    293|                        {
  395|    293|                            auto c = source_.peek();
  396|    293|                            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|    293|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 292]
  |  |  ------------------
  ------------------
  397|      1|                            {
  398|      1|                                ec = cbor_errc::unexpected_eof;
  399|      1|                                more_ = false;
  400|      1|                                return;
  401|      1|                            }
  402|    292|                            if (c.value == 0xff)
  ------------------
  |  Branch (402:33): [True: 274, False: 18]
  ------------------
  403|    274|                            {
  404|    274|                                source_.ignore(1);
  405|    274|                            }
  406|     18|                            else
  407|     18|                            {
  408|     18|                                ec = cbor_errc::bad_mdarray;
  409|     18|                                return;
  410|     18|                            }
  411|    274|                            end_classical_array_storage(ec);
  412|    274|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    274|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 274]
  |  |  ------------------
  ------------------
  413|      0|                            {
  414|      0|                                return;
  415|      0|                            }
  416|    274|                        }
  417|  45.4k|                    }
  418|  27.7M|                    else
  419|  27.7M|                    {
  420|  27.7M|                        auto c = source_.peek();
  421|  27.7M|                        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  27.7M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.09k, False: 27.7M]
  |  |  ------------------
  ------------------
  422|  1.09k|                        {
  423|  1.09k|                            ec = cbor_errc::unexpected_eof;
  424|  1.09k|                            more_ = false;
  425|  1.09k|                            return;
  426|  1.09k|                        }
  427|  27.7M|                        if (c.value == 0xff)
  ------------------
  |  Branch (427:29): [True: 445k, False: 27.2M]
  ------------------
  428|   445k|                        {
  429|   445k|                            source_.ignore(1);
  430|   445k|                            end_array(visitor, ec);
  431|   445k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   445k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 445k]
  |  |  ------------------
  ------------------
  432|      0|                            {
  433|      0|                                return;
  434|      0|                            }
  435|   445k|                        }
  436|  27.2M|                        else
  437|  27.2M|                        {
  438|  27.2M|                            read_item(visitor, ec);
  439|  27.2M|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  27.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 417, False: 27.2M]
  |  |  ------------------
  ------------------
  440|    417|                            {
  441|    417|                                return;
  442|    417|                            }
  443|  27.2M|                        }
  444|  27.7M|                    }
  445|  27.7M|                    break;
  446|  27.7M|                }
  447|  81.5M|                case parse_mode::typed_array:
  ------------------
  |  Branch (447:17): [True: 81.5M, False: 63.6M]
  ------------------
  448|  81.5M|                {
  449|  81.5M|                    read_typed_array_item(visitor, ec);
  450|  81.5M|                    break;
  451|  27.7M|                }
  452|  13.3M|                case parse_mode::map_key:
  ------------------
  |  Branch (452:17): [True: 13.3M, False: 131M]
  ------------------
  453|  13.3M|                {
  454|  13.3M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (454:25): [True: 2.14M, False: 11.2M]
  ------------------
  455|  2.14M|                    {
  456|  2.14M|                        ++state_stack_.back().index;
  457|  2.14M|                        state_stack_.back().mode = parse_mode::map_value;
  458|  2.14M|                        read_item(visitor, ec);
  459|  2.14M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.14M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 821, False: 2.14M]
  |  |  ------------------
  ------------------
  460|    821|                        {
  461|    821|                            return;
  462|    821|                        }
  463|  2.14M|                    }
  464|  11.2M|                    else
  465|  11.2M|                    {
  466|  11.2M|                        end_object(visitor, ec);
  467|  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]
  |  |  ------------------
  ------------------
  468|      0|                        {
  469|      0|                            return;
  470|      0|                        }
  471|  11.2M|                    }
  472|  13.3M|                    break;
  473|  13.3M|                }
  474|  13.3M|                case parse_mode::map_value:
  ------------------
  |  Branch (474:17): [True: 2.12M, False: 143M]
  ------------------
  475|  2.12M|                {
  476|  2.12M|                    state_stack_.back().mode = parse_mode::map_key;
  477|  2.12M|                    read_item(visitor, ec);
  478|  2.12M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.12M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.13k, False: 2.12M]
  |  |  ------------------
  ------------------
  479|  1.13k|                    {
  480|  1.13k|                        return;
  481|  1.13k|                    }
  482|  2.12M|                    break;
  483|  2.12M|                }
  484|  8.59M|                case parse_mode::indefinite_map_key:
  ------------------
  |  Branch (484:17): [True: 8.59M, False: 136M]
  ------------------
  485|  8.59M|                {
  486|  8.59M|                    auto c = source_.peek();
  487|  8.59M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  8.59M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 559, False: 8.59M]
  |  |  ------------------
  ------------------
  488|    559|                    {
  489|    559|                        ec = cbor_errc::unexpected_eof;
  490|    559|                        more_ = false;
  491|    559|                        return;
  492|    559|                    }
  493|  8.59M|                    if (c.value == 0xff)
  ------------------
  |  Branch (493:25): [True: 294k, False: 8.30M]
  ------------------
  494|   294k|                    {
  495|   294k|                        source_.ignore(1);
  496|   294k|                        end_object(visitor, ec);
  497|   294k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   294k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 294k]
  |  |  ------------------
  ------------------
  498|      0|                        {
  499|      0|                            return;
  500|      0|                        }
  501|   294k|                    }
  502|  8.30M|                    else
  503|  8.30M|                    {
  504|  8.30M|                        state_stack_.back().mode = parse_mode::indefinite_map_value;
  505|  8.30M|                        read_item(visitor, ec);
  506|  8.30M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  8.30M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 240, False: 8.29M]
  |  |  ------------------
  ------------------
  507|    240|                        {
  508|    240|                            return;
  509|    240|                        }
  510|  8.30M|                    }
  511|  8.59M|                    break;
  512|  8.59M|                }
  513|  8.59M|                case parse_mode::indefinite_map_value:
  ------------------
  |  Branch (513:17): [True: 8.29M, False: 136M]
  ------------------
  514|  8.29M|                {
  515|  8.29M|                    state_stack_.back().mode = parse_mode::indefinite_map_key;
  516|  8.29M|                    read_item(visitor, ec);
  517|  8.29M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  8.29M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.05k, False: 8.29M]
  |  |  ------------------
  ------------------
  518|  1.05k|                    {
  519|  1.05k|                        return;
  520|  1.05k|                    }
  521|  8.29M|                    break;
  522|  8.29M|                }
  523|  8.29M|                case parse_mode::root:
  ------------------
  |  Branch (523:17): [True: 11.2k, False: 145M]
  ------------------
  524|  11.2k|                {
  525|  11.2k|                    state_stack_.back().mode = parse_mode::accept;
  526|  11.2k|                    read_item(visitor, ec);
  527|  11.2k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  11.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.30k, False: 9.97k]
  |  |  ------------------
  ------------------
  528|  1.30k|                    {
  529|  1.30k|                        return;
  530|  1.30k|                    }
  531|  9.97k|                    break;
  532|  11.2k|                }
  533|  9.97k|                case parse_mode::accept:
  ------------------
  |  Branch (533:17): [True: 3.33k, False: 145M]
  ------------------
  534|  3.33k|                {
  535|  3.33k|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   45|  3.33k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 3.33k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  536|  3.33k|                    state_stack_.clear();
  537|  3.33k|                    more_ = false;
  538|  3.33k|                    done_ = true;
  539|  3.33k|                    visitor.flush();
  540|  3.33k|                    break;
  541|  3.33k|                }
  542|   145M|            }
  543|   145M|        }
  544|  11.2k|    }
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12is_multi_dimEv:
  239|  31.2M|    {
  240|  31.2M|        return state_stack_.size() >=2 && state_stack_[state_stack_.size()-2].mode == parse_mode::multi_dim;
  ------------------
  |  Branch (240:16): [True: 31.2M, False: 0]
  |  Branch (240:43): [True: 101k, False: 31.1M]
  ------------------
  241|  31.2M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE27end_classical_array_storageERNS3_10error_codeE:
  999|    391|    {
 1000|    391|        --nesting_depth_;
 1001|       |
 1002|    391|        more_ = !cursor_mode_;
 1003|    391|        if (level() == mark_level_)
  ------------------
  |  Branch (1003:13): [True: 0, False: 391]
  ------------------
 1004|      0|        {
 1005|      0|            more_ = false;
 1006|      0|        }
 1007|    391|        if (state_stack_.back().pop_stringref_map_stack)
  ------------------
  |  Branch (1007:13): [True: 22, False: 369]
  ------------------
 1008|     22|        {
 1009|     22|            stringref_map_stack_.pop_back();
 1010|     22|        }
 1011|    391|        state_stack_.pop_back();
 1012|    391|    }
_ZNK8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5levelEv:
  275|  12.5M|    {
  276|  12.5M|        return static_cast<int>(state_stack_.size());
  277|  12.5M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_itemERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  565|  51.0M|    {
  566|  51.0M|        read_tags(ec);
  567|  51.0M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  51.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3.49k, False: 51.0M]
  |  |  ------------------
  ------------------
  568|  3.49k|        {
  569|  3.49k|            return;
  570|  3.49k|        }
  571|  51.0M|        auto c = source_.peek();
  572|  51.0M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  51.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 51.0M]
  |  |  ------------------
  ------------------
  573|      0|        {
  574|      0|            ec = cbor_errc::unexpected_eof;
  575|      0|            more_ = false;
  576|      0|            return;
  577|      0|        }
  578|  51.0M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
  579|  51.0M|        uint8_t info = get_additional_information_value(c.value);
  580|       |
  581|  51.0M|        switch (major_type)
  582|  51.0M|        {
  583|  14.6M|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (583:13): [True: 14.6M, False: 36.3M]
  ------------------
  584|  14.6M|            {
  585|  14.6M|                uint64_t val = read_uint64(ec);
  586|  14.6M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  14.6M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 14.6M]
  |  |  ------------------
  ------------------
  587|      2|                {
  588|      2|                    return;
  589|      2|                }
  590|  14.6M|                if (!stringref_map_stack_.empty() && other_tags_[stringref_tag])
  ------------------
  |  Branch (590:21): [True: 5.27M, False: 9.41M]
  |  Branch (590:21): [True: 91.4k, False: 14.5M]
  |  Branch (590:54): [True: 91.4k, False: 5.17M]
  ------------------
  591|  91.4k|                {
  592|  91.4k|                    other_tags_[stringref_tag] = false;
  593|  91.4k|                    if (val >= stringref_map_stack_.back().size())
  ------------------
  |  Branch (593:25): [True: 135, False: 91.2k]
  ------------------
  594|    135|                    {
  595|    135|                        ec = cbor_errc::stringref_too_large;
  596|    135|                        more_ = false;
  597|    135|                        return;
  598|    135|                    }
  599|  91.2k|                    auto index = static_cast<typename stringref_map::size_type>(val);
  600|  91.2k|                    if (index != val)
  ------------------
  |  Branch (600:25): [True: 0, False: 91.2k]
  ------------------
  601|      0|                    {
  602|      0|                        ec = cbor_errc::number_too_large;
  603|      0|                        more_ = false;
  604|      0|                        return;
  605|      0|                    }
  606|  91.2k|                    auto& str = stringref_map_stack_.back().at(index);
  607|  91.2k|                    switch (str.type)
  608|  91.2k|                    {
  609|    654|                        case jsoncons::cbor::detail::cbor_major_type::text_string:
  ------------------
  |  Branch (609:25): [True: 654, False: 90.6k]
  ------------------
  610|    654|                        {
  611|    654|                            handle_string(visitor, jsoncons::basic_string_view<char>(str.str.data(),str.str.length()),ec);
  612|    654|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    654|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 654]
  |  |  ------------------
  ------------------
  613|      0|                            {
  614|      0|                                return;
  615|      0|                            }
  616|    654|                            break;
  617|    654|                        }
  618|  90.6k|                        case jsoncons::cbor::detail::cbor_major_type::byte_string:
  ------------------
  |  Branch (618:25): [True: 90.6k, False: 654]
  ------------------
  619|  90.6k|                        {
  620|  90.6k|                            read_byte_string_from_buffer read(byte_string_view(str.bytes));
  621|  90.6k|                            read_byte_string(read, visitor, ec);
  622|  90.6k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  90.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 90.6k]
  |  |  ------------------
  ------------------
  623|      0|                            {
  624|      0|                                return;
  625|      0|                            }
  626|  90.6k|                            break;
  627|  90.6k|                        }
  628|  90.6k|                        default:
  ------------------
  |  Branch (628:25): [True: 0, False: 91.2k]
  ------------------
  629|      0|                            JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
  630|      0|                            break;
  631|  91.2k|                    }
  632|  91.2k|                }
  633|  14.5M|                else
  634|  14.5M|                {
  635|  14.5M|                    semantic_tag tag = semantic_tag::none;
  636|  14.5M|                    if (other_tags_[item_tag])
  ------------------
  |  Branch (636:25): [True: 61.4k, False: 14.5M]
  ------------------
  637|  61.4k|                    {
  638|  61.4k|                        if (raw_tag_ == 1)
  ------------------
  |  Branch (638:29): [True: 2.19k, False: 59.2k]
  ------------------
  639|  2.19k|                        {
  640|  2.19k|                            tag = semantic_tag::epoch_second;
  641|  2.19k|                        }
  642|  61.4k|                        other_tags_[item_tag] = false;
  643|  61.4k|                    }
  644|  14.5M|                    visitor.uint64_value(val, tag, *this, ec);
  645|  14.5M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  14.5M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 14.5M]
  |  |  ------------------
  ------------------
  646|      0|                    {
  647|      0|                        return;
  648|      0|                    }
  649|  14.5M|                    more_ = !cursor_mode_;
  650|  14.5M|                }
  651|  14.6M|                break;
  652|  14.6M|            }
  653|  14.6M|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (653:13): [True: 6.69M, False: 44.3M]
  ------------------
  654|  6.69M|            {
  655|  6.69M|                int64_t val = read_int64(ec);
  656|  6.69M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  6.69M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 33, False: 6.69M]
  |  |  ------------------
  ------------------
  657|     33|                {
  658|     33|                    return;
  659|     33|                }
  660|  6.69M|                semantic_tag tag = semantic_tag::none;
  661|  6.69M|                if (other_tags_[item_tag])
  ------------------
  |  Branch (661:21): [True: 12.3k, False: 6.68M]
  ------------------
  662|  12.3k|                {
  663|  12.3k|                    if (raw_tag_ == 1)
  ------------------
  |  Branch (663:25): [True: 506, False: 11.8k]
  ------------------
  664|    506|                    {
  665|    506|                        tag = semantic_tag::epoch_second;
  666|    506|                    }
  667|  12.3k|                    other_tags_[item_tag] = false;
  668|  12.3k|                }
  669|  6.69M|                visitor.int64_value(val, tag, *this, ec);
  670|  6.69M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  6.69M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 6.69M]
  |  |  ------------------
  ------------------
  671|      0|                {
  672|      0|                    return;
  673|      0|                }
  674|  6.69M|                more_ = !cursor_mode_;
  675|  6.69M|                break;
  676|  6.69M|            }
  677|  9.51M|            case jsoncons::cbor::detail::cbor_major_type::byte_string:
  ------------------
  |  Branch (677:13): [True: 9.51M, False: 41.5M]
  ------------------
  678|  9.51M|            {
  679|  9.51M|                read_byte_string_from_source read(this);
  680|  9.51M|                read_byte_string(read, visitor, ec);
  681|  9.51M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  9.51M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 795, False: 9.51M]
  |  |  ------------------
  ------------------
  682|    795|                {
  683|    795|                    return;
  684|    795|                }
  685|  9.51M|                break;
  686|  9.51M|            }
  687|  9.51M|            case jsoncons::cbor::detail::cbor_major_type::text_string:
  ------------------
  |  Branch (687:13): [True: 1.35M, False: 49.6M]
  ------------------
  688|  1.35M|            {
  689|  1.35M|                text_buffer_.clear();
  690|       |
  691|  1.35M|                read_text_string(text_buffer_, ec);
  692|  1.35M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.35M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 417, False: 1.35M]
  |  |  ------------------
  ------------------
  693|    417|                {
  694|    417|                    return;
  695|    417|                }
  696|  1.35M|                auto result = unicode_traits::validate(text_buffer_.data(),text_buffer_.size());
  697|  1.35M|                if (result.ec != unicode_traits::conv_errc())
  ------------------
  |  Branch (697:21): [True: 128, False: 1.35M]
  ------------------
  698|    128|                {
  699|    128|                    ec = cbor_errc::invalid_utf8_text_string;
  700|    128|                    more_ = false;
  701|    128|                    return;
  702|    128|                }
  703|  1.35M|                handle_string(visitor, jsoncons::basic_string_view<char>(text_buffer_.data(),text_buffer_.length()),ec);
  704|  1.35M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.35M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.35M]
  |  |  ------------------
  ------------------
  705|      0|                {
  706|      0|                    return;
  707|      0|                }
  708|  1.35M|                break;
  709|  1.35M|            }
  710|  1.35M|            case jsoncons::cbor::detail::cbor_major_type::semantic_tag:
  ------------------
  |  Branch (710:13): [True: 0, False: 51.0M]
  ------------------
  711|      0|            {
  712|      0|                JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
  713|      0|                break;
  714|  1.35M|            }
  715|  5.36M|            case jsoncons::cbor::detail::cbor_major_type::simple:
  ------------------
  |  Branch (715:13): [True: 5.36M, False: 45.6M]
  ------------------
  716|  5.36M|            {
  717|  5.36M|                switch (info)
  718|  5.36M|                {
  719|  3.07M|                    case 0x14:
  ------------------
  |  Branch (719:21): [True: 3.07M, False: 2.28M]
  ------------------
  720|  3.07M|                        visitor.bool_value(false, semantic_tag::none, *this, ec);
  721|  3.07M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.07M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 3.07M]
  |  |  ------------------
  ------------------
  722|      0|                        {
  723|      0|                            return;
  724|      0|                        }
  725|  3.07M|                        more_ = !cursor_mode_;
  726|  3.07M|                        source_.ignore(1);
  727|  3.07M|                        break;
  728|   367k|                    case 0x15:
  ------------------
  |  Branch (728:21): [True: 367k, False: 4.99M]
  ------------------
  729|   367k|                        visitor.bool_value(true, semantic_tag::none, *this, ec);
  730|   367k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   367k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 367k]
  |  |  ------------------
  ------------------
  731|      0|                        {
  732|      0|                            return;
  733|      0|                        }
  734|   367k|                        more_ = !cursor_mode_;
  735|   367k|                        source_.ignore(1);
  736|   367k|                        break;
  737|  1.80M|                    case 0x16:
  ------------------
  |  Branch (737:21): [True: 1.80M, False: 3.55M]
  ------------------
  738|  1.80M|                        visitor.null_value(semantic_tag::none, *this, ec);
  739|  1.80M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.80M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.80M]
  |  |  ------------------
  ------------------
  740|      0|                        {
  741|      0|                            return;
  742|      0|                        }
  743|  1.80M|                        more_ = !cursor_mode_;
  744|  1.80M|                        source_.ignore(1);
  745|  1.80M|                        break;
  746|  44.0k|                    case 0x17:
  ------------------
  |  Branch (746:21): [True: 44.0k, False: 5.31M]
  ------------------
  747|  44.0k|                        visitor.null_value(semantic_tag::undefined, *this, ec);
  748|  44.0k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  44.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 44.0k]
  |  |  ------------------
  ------------------
  749|      0|                        {
  750|      0|                            return;
  751|      0|                        }
  752|  44.0k|                        more_ = !cursor_mode_;
  753|  44.0k|                        source_.ignore(1);
  754|  44.0k|                        break;
  755|  52.9k|                    case 0x19: // Half-Precision Float (two-byte IEEE 754)
  ------------------
  |  Branch (755:21): [True: 52.9k, False: 5.30M]
  ------------------
  756|  52.9k|                    {
  757|  52.9k|                        uint64_t val = read_uint64(ec);
  758|  52.9k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  52.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 52.9k]
  |  |  ------------------
  ------------------
  759|      0|                        {
  760|      0|                            return;
  761|      0|                        }
  762|  52.9k|                        visitor.half_value(static_cast<uint16_t>(val), semantic_tag::none, *this, ec);
  763|  52.9k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  52.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 52.9k]
  |  |  ------------------
  ------------------
  764|      0|                        {
  765|      0|                            return;
  766|      0|                        }
  767|  52.9k|                        more_ = !cursor_mode_;
  768|  52.9k|                        break;
  769|  52.9k|                    }
  770|  10.3k|                    case 0x1a: // Single-Precision Float (four-byte IEEE 754)
  ------------------
  |  Branch (770:21): [True: 10.3k, False: 5.35M]
  ------------------
  771|  17.1k|                    case 0x1b: // Double-Precision Float (eight-byte IEEE 754)
  ------------------
  |  Branch (771:21): [True: 6.76k, False: 5.35M]
  ------------------
  772|  17.1k|                    {
  773|  17.1k|                        double val = read_double(ec);
  774|  17.1k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  17.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 86, False: 17.0k]
  |  |  ------------------
  ------------------
  775|     86|                        {
  776|     86|                            return;
  777|     86|                        }
  778|  17.0k|                        semantic_tag tag = semantic_tag::none;
  779|  17.0k|                        if (other_tags_[item_tag])
  ------------------
  |  Branch (779:29): [True: 2.75k, False: 14.3k]
  ------------------
  780|  2.75k|                        {
  781|  2.75k|                            if (raw_tag_ == 1)
  ------------------
  |  Branch (781:33): [True: 1.66k, False: 1.09k]
  ------------------
  782|  1.66k|                            {
  783|  1.66k|                                tag = semantic_tag::epoch_second;
  784|  1.66k|                            }
  785|  2.75k|                            other_tags_[item_tag] = false;
  786|  2.75k|                        }
  787|  17.0k|                        visitor.double_value(val, tag, *this, ec);
  788|  17.0k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  17.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 17.0k]
  |  |  ------------------
  ------------------
  789|      0|                        {
  790|      0|                            return;
  791|      0|                        }
  792|  17.0k|                        more_ = !cursor_mode_;
  793|  17.0k|                        break;
  794|  17.0k|                    }
  795|    403|                    default:
  ------------------
  |  Branch (795:21): [True: 403, False: 5.36M]
  ------------------
  796|    403|                    {
  797|    403|                        ec = cbor_errc::unknown_type;
  798|    403|                        more_ = false;
  799|    403|                        return;
  800|  17.0k|                    }
  801|  5.36M|                }
  802|  5.36M|                break;
  803|  5.36M|            }
  804|  5.36M|            case jsoncons::cbor::detail::cbor_major_type::array:
  ------------------
  |  Branch (804:13): [True: 1.87M, False: 49.1M]
  ------------------
  805|  1.87M|            {
  806|  1.87M|                if (other_tags_[item_tag])
  ------------------
  |  Branch (806:21): [True: 842k, False: 1.03M]
  ------------------
  807|   842k|                {
  808|   842k|                    switch (raw_tag_)
  809|   842k|                    {
  810|   698k|                        case 0x04:
  ------------------
  |  Branch (810:25): [True: 698k, False: 144k]
  ------------------
  811|   698k|                            text_buffer_.clear();
  812|   698k|                            read_decimal_fraction(text_buffer_, ec);
  813|   698k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   698k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 251, False: 698k]
  |  |  ------------------
  ------------------
  814|    251|                            {
  815|    251|                                return;
  816|    251|                            }
  817|   698k|                            visitor.string_value(text_buffer_, semantic_tag::bigdec, *this, ec);
  818|   698k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   698k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 698k]
  |  |  ------------------
  ------------------
  819|      0|                            {
  820|      0|                                return;
  821|      0|                            }
  822|   698k|                            more_ = !cursor_mode_;
  823|   698k|                            break;
  824|   113k|                        case 0x05:
  ------------------
  |  Branch (824:25): [True: 113k, False: 728k]
  ------------------
  825|   113k|                            text_buffer_.clear();
  826|   113k|                            read_bigfloat(text_buffer_, ec);
  827|   113k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   113k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 173, False: 113k]
  |  |  ------------------
  ------------------
  828|    173|                            {
  829|    173|                                return;
  830|    173|                            }
  831|   113k|                            visitor.string_value(text_buffer_, semantic_tag::bigfloat, *this, ec);
  832|   113k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   113k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 113k]
  |  |  ------------------
  ------------------
  833|      0|                            {
  834|      0|                                return;
  835|      0|                            }
  836|   113k|                            more_ = !cursor_mode_;
  837|   113k|                            break;
  838|  5.62k|                        case 40: // row-major storage
  ------------------
  |  Branch (838:25): [True: 5.62k, False: 837k]
  ------------------
  839|  5.62k|                            order_ = mdarray_order::row_major;
  840|  5.62k|                            read_mdarray_header(visitor, ec);
  841|  5.62k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  5.62k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 263, False: 5.36k]
  |  |  ------------------
  ------------------
  842|    263|                            {
  843|    263|                                return;
  844|    263|                            }
  845|  5.36k|                            break;
  846|  5.36k|                        case 1040: // column-major storage
  ------------------
  |  Branch (846:25): [True: 362, False: 842k]
  ------------------
  847|    362|                            order_ = mdarray_order::column_major;
  848|    362|                            read_mdarray_header(visitor, ec);
  849|    362|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    362|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 20, False: 342]
  |  |  ------------------
  ------------------
  850|     20|                            {
  851|     20|                                return;
  852|     20|                            }
  853|    342|                            break;
  854|  24.2k|                        default:
  ------------------
  |  Branch (854:25): [True: 24.2k, False: 818k]
  ------------------
  855|  24.2k|                            begin_array(visitor, info, ec);
  856|  24.2k|                            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  24.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5, False: 24.2k]
  |  |  ------------------
  ------------------
  857|      5|                            {
  858|      5|                                return;
  859|      5|                            }
  860|  24.2k|                            break;
  861|   842k|                    }
  862|   841k|                    other_tags_[item_tag] = false;
  863|   841k|                }
  864|  1.03M|                else
  865|  1.03M|                {
  866|  1.03M|                    begin_array(visitor, info, ec);
  867|  1.03M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.03M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 9, False: 1.03M]
  |  |  ------------------
  ------------------
  868|      9|                    {
  869|      9|                        return;
  870|      9|                    }
  871|  1.03M|                }
  872|  1.87M|                break;
  873|  1.87M|            }
  874|  11.5M|            case jsoncons::cbor::detail::cbor_major_type::map:
  ------------------
  |  Branch (874:13): [True: 11.5M, False: 39.4M]
  ------------------
  875|  11.5M|            {
  876|  11.5M|                begin_object(visitor, info, ec);
  877|  11.5M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  11.5M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 7, False: 11.5M]
  |  |  ------------------
  ------------------
  878|      7|                {
  879|      7|                    return;
  880|      7|                }
  881|  11.5M|                break;
  882|  11.5M|            }
  883|  11.5M|            default:
  ------------------
  |  Branch (883:13): [True: 0, False: 51.0M]
  ------------------
  884|      0|                break;
  885|  51.0M|        }
  886|  51.0M|        other_tags_[item_tag] = false;
  887|  51.0M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_tagsERNS3_10error_codeE:
 1798|  51.0M|    {
 1799|  51.0M|        auto c = source_.peek();
 1800|  51.0M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  51.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3.09k, False: 51.0M]
  |  |  ------------------
  ------------------
 1801|  3.09k|        {
 1802|  3.09k|            ec = cbor_errc::unexpected_eof;
 1803|  3.09k|            more_ = false;
 1804|  3.09k|            return;
 1805|  3.09k|        }
 1806|  51.0M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1807|       |
 1808|  54.0M|        while (major_type == jsoncons::cbor::detail::cbor_major_type::semantic_tag)
  ------------------
  |  Branch (1808:16): [True: 3.00M, False: 51.0M]
  ------------------
 1809|  3.00M|        {
 1810|  3.00M|            uint64_t val = read_uint64(ec);
 1811|  3.00M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.00M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 82, False: 3.00M]
  |  |  ------------------
  ------------------
 1812|     82|            {
 1813|     82|                return;
 1814|     82|            }
 1815|  3.00M|            switch(val)
 1816|  3.00M|            {
 1817|   119k|                case 25: // stringref
  ------------------
  |  Branch (1817:17): [True: 119k, False: 2.88M]
  ------------------
 1818|   119k|                    other_tags_[stringref_tag] = true;
 1819|   119k|                    break;
 1820|  6.77k|                case 256: // stringref-namespace
  ------------------
  |  Branch (1820:17): [True: 6.77k, False: 2.99M]
  ------------------
 1821|  6.77k|                    other_tags_[stringref_namespace_tag] = true;
 1822|  6.77k|                    break;
 1823|  2.87M|                default:
  ------------------
  |  Branch (1823:17): [True: 2.87M, False: 126k]
  ------------------
 1824|  2.87M|                    other_tags_[item_tag] = true;
 1825|  2.87M|                    raw_tag_ = val;
 1826|  2.87M|                    break;
 1827|  3.00M|            }
 1828|  3.00M|            c = source_.peek();
 1829|  3.00M|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  3.00M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 342, False: 2.99M]
  |  |  ------------------
  ------------------
 1830|    342|            {
 1831|    342|                ec = cbor_errc::unexpected_eof;
 1832|    342|                more_ = false;
 1833|    342|                return;
 1834|    342|            }
 1835|  2.99M|            major_type = get_major_type(c.value);
 1836|  2.99M|        }
 1837|  51.0M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE14get_major_typeEh:
 1784|   134M|    {
 1785|   134M|        static constexpr uint8_t major_type_shift = 0x05;
 1786|   134M|        uint8_t value = type >> major_type_shift;
 1787|   134M|        return static_cast<jsoncons::cbor::detail::cbor_major_type>(value);
 1788|   134M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE32get_additional_information_valueEh:
 1791|   122M|    {
 1792|   122M|        static constexpr uint8_t additional_information_mask = (1U << 5) - 1;
 1793|   122M|        uint8_t value = type & additional_information_mask;
 1794|   122M|        return value;
 1795|   122M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_uint64ERNS3_10error_codeE:
 1258|  43.3M|    {
 1259|  43.3M|        uint64_t val = 0;
 1260|       |
 1261|  43.3M|        uint8_t initial_b;
 1262|  43.3M|        if (source_.read(&initial_b, 1) == 0)
  ------------------
  |  Branch (1262:13): [True: 70, False: 43.3M]
  ------------------
 1263|     70|        {
 1264|     70|            ec = cbor_errc::unexpected_eof;
 1265|     70|            more_ = false;
 1266|     70|            return 0;
 1267|     70|        }
 1268|  43.3M|        uint8_t info = get_additional_information_value(initial_b);
 1269|  43.3M|        switch (info)
 1270|  43.3M|        {
 1271|  26.3M|            case JSONCONS_EXT_CBOR_0x00_0x17: // Integer 0x00..0x17 (0..23)
  ------------------
  |  |   18|  26.3M|    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: 880k, False: 42.5M]
  |  |  |  Branch (18:20): [True: 1.06M, False: 42.3M]
  |  |  |  Branch (18:30): [True: 47.6k, False: 43.3M]
  |  |  |  Branch (18:40): [True: 760k, False: 42.6M]
  |  |  |  Branch (18:50): [True: 3.40M, False: 39.9M]
  |  |  |  Branch (18:60): [True: 39.1k, False: 43.3M]
  |  |  |  Branch (18:70): [True: 21.4k, False: 43.3M]
  |  |  |  Branch (18:80): [True: 1.19M, False: 42.1M]
  |  |  |  Branch (18:90): [True: 324k, False: 43.0M]
  |  |  |  Branch (18:100): [True: 175k, False: 43.2M]
  |  |  |  Branch (18:110): [True: 42.7k, False: 43.3M]
  |  |  |  Branch (18:120): [True: 24.9k, False: 43.3M]
  |  |  |  Branch (18:130): [True: 29.1k, False: 43.3M]
  |  |  |  Branch (18:140): [True: 10.6k, False: 43.3M]
  |  |  |  Branch (18:150): [True: 26.1k, False: 43.3M]
  |  |  |  Branch (18:160): [True: 25.7k, False: 43.3M]
  |  |  |  Branch (18:170): [True: 34.5k, False: 43.3M]
  |  |  |  Branch (18:180): [True: 24.7k, False: 43.3M]
  |  |  |  Branch (18:190): [True: 20.6k, False: 43.3M]
  |  |  |  Branch (18:200): [True: 9.82k, False: 43.3M]
  |  |  |  Branch (18:210): [True: 425k, False: 42.9M]
  |  |  |  Branch (18:220): [True: 134k, False: 43.2M]
  |  |  ------------------
  ------------------
  |  Branch (1271:13): [True: 17.6M, False: 25.7M]
  ------------------
 1272|  26.3M|            {
 1273|  26.3M|                val = info;
 1274|  26.3M|                break;
 1275|   535M|            }
 1276|       |
 1277|   405k|            case 0x18: // Unsigned integer (one-byte uint8_t follows)
  ------------------
  |  Branch (1277:13): [True: 405k, False: 42.9M]
  ------------------
 1278|   405k|            {
 1279|   405k|                uint8_t b;
 1280|   405k|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1280:21): [True: 117, False: 405k]
  ------------------
 1281|    117|                {
 1282|    117|                    ec = cbor_errc::unexpected_eof;
 1283|    117|                    more_ = false;
 1284|    117|                    return val;
 1285|    117|                }
 1286|   405k|                val = b;
 1287|   405k|                break;
 1288|   405k|            }
 1289|       |
 1290|  87.5k|            case 0x19: // Unsigned integer (two-byte uint16_t follows)
  ------------------
  |  Branch (1290:13): [True: 87.5k, False: 43.3M]
  ------------------
 1291|  87.5k|            {
 1292|  87.5k|                uint8_t buf[sizeof(uint16_t)];
 1293|  87.5k|                source_.read(buf, sizeof(uint16_t));
 1294|  87.5k|                val = binary::big_to_native<uint16_t>(buf, sizeof(buf));
 1295|  87.5k|                break;
 1296|   405k|            }
 1297|       |
 1298|  5.45k|            case 0x1a: // Unsigned integer (four-byte uint32_t follows)
  ------------------
  |  Branch (1298:13): [True: 5.45k, False: 43.3M]
  ------------------
 1299|  5.45k|            {
 1300|  5.45k|                uint8_t buf[sizeof(uint32_t)];
 1301|  5.45k|                source_.read(buf, sizeof(uint32_t));
 1302|  5.45k|                val = binary::big_to_native<uint32_t>(buf, sizeof(buf));
 1303|  5.45k|                break;
 1304|   405k|            }
 1305|       |
 1306|  5.82k|            case 0x1b: // Unsigned integer (eight-byte uint64_t follows)
  ------------------
  |  Branch (1306:13): [True: 5.82k, False: 43.3M]
  ------------------
 1307|  5.82k|            {
 1308|  5.82k|                uint8_t buf[sizeof(uint64_t)];
 1309|  5.82k|                source_.read(buf, sizeof(uint64_t));
 1310|  5.82k|                val = binary::big_to_native<uint64_t>(buf, sizeof(buf));
 1311|  5.82k|                break;
 1312|   405k|            }
 1313|  16.5M|            default:
  ------------------
  |  Branch (1313:13): [True: 16.5M, False: 26.8M]
  ------------------
 1314|  16.5M|                break;
 1315|  43.3M|        }
 1316|  43.3M|        return val;
 1317|  43.3M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13handle_stringERNS_24basic_item_event_visitorIcEERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS3_10error_codeE:
 1840|  1.35M|    {
 1841|  1.35M|        semantic_tag tag = semantic_tag::none;
 1842|  1.35M|        if (other_tags_[item_tag])
  ------------------
  |  Branch (1842:13): [True: 4.33k, False: 1.35M]
  ------------------
 1843|  4.33k|        {
 1844|  4.33k|            switch (raw_tag_)
 1845|  4.33k|            {
 1846|    652|                case 0:
  ------------------
  |  Branch (1846:17): [True: 652, False: 3.68k]
  ------------------
 1847|    652|                    tag = semantic_tag::datetime;
 1848|    652|                    break;
 1849|    263|                case 32:
  ------------------
  |  Branch (1849:17): [True: 263, False: 4.07k]
  ------------------
 1850|    263|                    tag = semantic_tag::uri;
 1851|    263|                    break;
 1852|    417|                case 33:
  ------------------
  |  Branch (1852:17): [True: 417, False: 3.91k]
  ------------------
 1853|    417|                    tag = semantic_tag::base64url;
 1854|    417|                    break;
 1855|    274|                case 34:
  ------------------
  |  Branch (1855:17): [True: 274, False: 4.06k]
  ------------------
 1856|    274|                    tag = semantic_tag::base64;
 1857|    274|                    break;
 1858|  2.72k|                default:
  ------------------
  |  Branch (1858:17): [True: 2.72k, False: 1.60k]
  ------------------
 1859|  2.72k|                    break;
 1860|  4.33k|            }
 1861|  4.33k|            other_tags_[item_tag] = false;
 1862|  4.33k|        }
 1863|  1.35M|        visitor.string_value(v, tag, *this, ec);
 1864|  1.35M|        more_ = !cursor_mode_;
 1865|  1.35M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_bufferC2ERKNS_16byte_string_viewE:
  162|  90.6k|            : bytes(b)
  163|  90.6k|        {
  164|  90.6k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringINS8_28read_byte_string_from_bufferEEEvT_RNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
 1882|  90.6k|    {
 1883|  90.6k|        if (other_tags_[item_tag])
  ------------------
  |  Branch (1883:13): [True: 79.4k, False: 11.2k]
  ------------------
 1884|  79.4k|        {
 1885|  79.4k|            switch (raw_tag_)
 1886|  79.4k|            {
 1887|  5.38k|                case 0x2:
  ------------------
  |  Branch (1887:17): [True: 5.38k, False: 74.0k]
  ------------------
 1888|  5.38k|                {
 1889|  5.38k|                    bytes_buffer_.clear();
 1890|  5.38k|                    read(bytes_buffer_,ec);
 1891|  5.38k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  5.38k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 5.38k]
  |  |  ------------------
  ------------------
 1892|      0|                    {
 1893|      0|                        more_ = false;
 1894|      0|                        return;
 1895|      0|                    }
 1896|  5.38k|                    bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1897|  5.38k|                    text_buffer_.clear();
 1898|  5.38k|                    n.write_string(text_buffer_);
 1899|  5.38k|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 1900|  5.38k|                    more_ = !cursor_mode_;
 1901|  5.38k|                    break;
 1902|  5.38k|                }
 1903|  2.87k|                case 0x3:
  ------------------
  |  Branch (1903:17): [True: 2.87k, False: 76.5k]
  ------------------
 1904|  2.87k|                {
 1905|  2.87k|                    bytes_buffer_.clear();
 1906|  2.87k|                    read(bytes_buffer_,ec);
 1907|  2.87k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.87k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.87k]
  |  |  ------------------
  ------------------
 1908|      0|                    {
 1909|      0|                        more_ = false;
 1910|      0|                        return;
 1911|      0|                    }
 1912|  2.87k|                    bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1913|  2.87k|                    n = -1 - n;
 1914|  2.87k|                    text_buffer_.clear();
 1915|  2.87k|                    n.write_string(text_buffer_);
 1916|  2.87k|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 1917|  2.87k|                    more_ = !cursor_mode_;
 1918|  2.87k|                    break;
 1919|  2.87k|                }
 1920|    241|                case 0x15:
  ------------------
  |  Branch (1920:17): [True: 241, False: 79.1k]
  ------------------
 1921|    241|                {
 1922|    241|                    read(bytes_buffer_,ec);
 1923|    241|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    241|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 241]
  |  |  ------------------
  ------------------
 1924|      0|                    {
 1925|      0|                        more_ = false;
 1926|      0|                        return;
 1927|      0|                    }
 1928|    241|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base64url, *this, ec);
 1929|    241|                    more_ = !cursor_mode_;
 1930|    241|                    break;
 1931|    241|                }
 1932|    200|                case 0x16:
  ------------------
  |  Branch (1932:17): [True: 200, False: 79.2k]
  ------------------
 1933|    200|                {
 1934|    200|                    read(bytes_buffer_,ec);
 1935|    200|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    200|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 200]
  |  |  ------------------
  ------------------
 1936|      0|                    {
 1937|      0|                        more_ = false;
 1938|      0|                        return;
 1939|      0|                    }
 1940|    200|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base64, *this, ec);
 1941|    200|                    more_ = !cursor_mode_;
 1942|    200|                    break;
 1943|    200|                }
 1944|    282|                case 0x17:
  ------------------
  |  Branch (1944:17): [True: 282, False: 79.1k]
  ------------------
 1945|    282|                {
 1946|    282|                    read(bytes_buffer_,ec);
 1947|    282|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    282|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 282]
  |  |  ------------------
  ------------------
 1948|      0|                    {
 1949|      0|                        more_ = false;
 1950|      0|                        return;
 1951|      0|                    }
 1952|    282|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base16, *this, ec);
 1953|    282|                    more_ = !cursor_mode_;
 1954|    282|                    break;
 1955|    282|                }
 1956|  1.10k|                case 0x40:
  ------------------
  |  Branch (1956:17): [True: 1.10k, False: 78.2k]
  ------------------
 1957|  1.10k|                {
 1958|  1.10k|                    array_tag_ = typed_array_tags::uint8;
 1959|  1.10k|                    byte_string_type array_buffer(alloc_);
 1960|  1.10k|                    read(array_buffer, ec);
 1961|  1.10k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.10k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.10k]
  |  |  ------------------
  ------------------
 1962|      0|                    {
 1963|      0|                        more_ = false;
 1964|      0|                        return;
 1965|      0|                    }
 1966|  1.10k|                    auto ta = typed_array_cast<const uint8_t>(array_buffer);
 1967|  1.10k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (1967:25): [True: 1.10k, False: 0]
  |  Branch (1967:42): [True: 0, False: 1.10k]
  ------------------
 1968|      0|                    {
 1969|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1969:29): [True: 0, False: 0]
  ------------------
 1970|      0|                        {
 1971|      0|                            ec = cbor_errc::bad_extents;
 1972|      0|                            more_ = false;
 1973|      0|                            return;
 1974|      0|                        }
 1975|      0|                        typed_array_iter_ = std::make_shared<mdarray_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 1976|      0|                            typed_array_tags::uint8, extents_, order_);
 1977|      0|                    }
 1978|  1.10k|                    else
 1979|  1.10k|                    {
 1980|  1.10k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 1981|  1.10k|                            typed_array_tags::uint8);
 1982|  1.10k|                    }
 1983|  1.10k|                    typed_array_iter_->next(visitor, *this, ec);
 1984|  1.10k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1985|  1.10k|                    more_ = !cursor_mode_;
 1986|  1.10k|                    break;
 1987|  1.10k|                }
 1988|    837|                case 0x44:
  ------------------
  |  Branch (1988:17): [True: 837, False: 78.5k]
  ------------------
 1989|    837|                {
 1990|    837|                    array_tag_ = typed_array_tags::uint8;
 1991|    837|                    typed_array_tag_ = semantic_tag::clamped;
 1992|    837|                    byte_string_type array_buffer(alloc_);
 1993|    837|                    read(array_buffer, ec);
 1994|    837|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    837|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 837]
  |  |  ------------------
  ------------------
 1995|      0|                    {
 1996|      0|                        more_ = false;
 1997|      0|                        return;
 1998|      0|                    }
 1999|    837|                    auto ta = typed_array_cast<const uint8_t>(array_buffer);
 2000|    837|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2000:25): [True: 837, False: 0]
  |  Branch (2000:42): [True: 0, False: 837]
  ------------------
 2001|      0|                    {
 2002|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2002:29): [True: 0, False: 0]
  ------------------
 2003|      0|                        {
 2004|      0|                            ec = cbor_errc::bad_extents;
 2005|      0|                            more_ = false;
 2006|      0|                            return;
 2007|      0|                        }
 2008|      0|                        typed_array_iter_ = std::make_shared<mdarray_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2009|      0|                            typed_array_tags::uint8, extents_, order_);
 2010|      0|                    }
 2011|    837|                    else
 2012|    837|                    {
 2013|    837|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2014|    837|                            typed_array_tags::uint8, semantic_tag::clamped);
 2015|    837|                    }
 2016|    837|                    typed_array_iter_->next(visitor, *this, ec);
 2017|    837|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2018|    837|                    more_ = !cursor_mode_;
 2019|    837|                    break;
 2020|    837|                }
 2021|    318|                case 0x41:
  ------------------
  |  Branch (2021:17): [True: 318, False: 79.0k]
  ------------------
 2022|  1.30k|                case 0x45:
  ------------------
  |  Branch (2022:17): [True: 982, False: 78.4k]
  ------------------
 2023|  1.30k|                {
 2024|  1.30k|                    array_tag_ = typed_array_tags::uint16;
 2025|  1.30k|                    byte_string_type array_buffer(alloc_);
 2026|  1.30k|                    read(array_buffer, ec);
 2027|  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]
  |  |  ------------------
  ------------------
 2028|      0|                    {
 2029|      0|                        more_ = false;
 2030|      0|                        return;
 2031|      0|                    }
 2032|  1.30k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2033|  1.30k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2034|  1.30k|                    auto ta = typed_array_cast<uint16_t>(array_buffer);
 2035|  1.30k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2035:25): [True: 318, False: 982]
  ------------------
 2036|    318|                    {
 2037|  63.2k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2037:49): [True: 62.9k, False: 318]
  ------------------
 2038|  62.9k|                        {
 2039|  62.9k|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 2040|  62.9k|                        }
 2041|    318|                    }
 2042|  1.30k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2042:25): [True: 1.30k, False: 0]
  |  Branch (2042:42): [True: 0, False: 1.30k]
  ------------------
 2043|      0|                    {
 2044|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2044:29): [True: 0, False: 0]
  ------------------
 2045|      0|                        {
 2046|      0|                            ec = cbor_errc::bad_extents;
 2047|      0|                            more_ = false;
 2048|      0|                            return;
 2049|      0|                        }
 2050|      0|                        typed_array_iter_ = std::make_shared<mdarray_iterator<uint16_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2051|      0|                            typed_array_tags::uint16, extents_, order_);
 2052|      0|                    }
 2053|  1.30k|                    else
 2054|  1.30k|                    {
 2055|  1.30k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<uint16_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2056|  1.30k|                            typed_array_tags::uint16);
 2057|  1.30k|                    }
 2058|  1.30k|                    typed_array_iter_->next(visitor, *this, ec);
 2059|  1.30k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2060|  1.30k|                    more_ = !cursor_mode_;
 2061|  1.30k|                    break;
 2062|  1.30k|                }
 2063|  1.25k|                case 0x42:
  ------------------
  |  Branch (2063:17): [True: 1.25k, False: 78.1k]
  ------------------
 2064|  2.13k|                case 0x46:
  ------------------
  |  Branch (2064:17): [True: 882, False: 78.5k]
  ------------------
 2065|  2.13k|                {
 2066|  2.13k|                    array_tag_ = typed_array_tags::uint32;
 2067|  2.13k|                    byte_string_type array_buffer(alloc_);
 2068|  2.13k|                    read(array_buffer, ec);
 2069|  2.13k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.13k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.13k]
  |  |  ------------------
  ------------------
 2070|      0|                    {
 2071|      0|                        more_ = false;
 2072|      0|                        return;
 2073|      0|                    }
 2074|  2.13k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2075|  2.13k|                    jsoncons::endian e = get_typed_array_endianness(tag);
 2076|  2.13k|                    auto ta = typed_array_cast<uint32_t>(array_buffer);
 2077|  2.13k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2077:25): [True: 1.25k, False: 882]
  ------------------
 2078|  1.25k|                    {
 2079|   612k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2079:49): [True: 611k, False: 1.25k]
  ------------------
 2080|   611k|                        {
 2081|   611k|                            ta[i] = binary::byte_swap<uint32_t>(ta[i]);
 2082|   611k|                        }
 2083|  1.25k|                    }
 2084|  2.13k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2084:25): [True: 2.13k, False: 0]
  |  Branch (2084:42): [True: 0, False: 2.13k]
  ------------------
 2085|      0|                    {
 2086|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2086:29): [True: 0, False: 0]
  ------------------
 2087|      0|                        {
 2088|      0|                            ec = cbor_errc::bad_extents;
 2089|      0|                            more_ = false;
 2090|      0|                            return;
 2091|      0|                        }
 2092|      0|                        typed_array_iter_ = std::make_shared<mdarray_iterator<uint32_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2093|      0|                            typed_array_tags::uint32, extents_, order_);
 2094|      0|                    }
 2095|  2.13k|                    else
 2096|  2.13k|                    {
 2097|  2.13k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<uint32_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2098|  2.13k|                            typed_array_tags::uint32);
 2099|  2.13k|                    }
 2100|  2.13k|                    typed_array_iter_->next(visitor, *this, ec);
 2101|  2.13k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2102|  2.13k|                    more_ = !cursor_mode_;
 2103|  2.13k|                    break;
 2104|  2.13k|                }
 2105|  1.28k|                case 0x43:
  ------------------
  |  Branch (2105:17): [True: 1.28k, False: 78.1k]
  ------------------
 2106|  4.10k|                case 0x47:
  ------------------
  |  Branch (2106:17): [True: 2.82k, False: 76.5k]
  ------------------
 2107|  4.10k|                {
 2108|  4.10k|                    array_tag_ = typed_array_tags::uint64;
 2109|  4.10k|                    byte_string_type array_buffer(alloc_);
 2110|  4.10k|                    read(array_buffer, ec);
 2111|  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]
  |  |  ------------------
  ------------------
 2112|      0|                    {
 2113|      0|                        more_ = false;
 2114|      0|                        return;
 2115|      0|                    }
 2116|  4.10k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2117|  4.10k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2118|  4.10k|                    auto ta = typed_array_cast<uint64_t>(array_buffer);
 2119|  4.10k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2119:25): [True: 1.28k, False: 2.82k]
  ------------------
 2120|  1.28k|                    {
 2121|  80.5k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2121:49): [True: 79.2k, False: 1.28k]
  ------------------
 2122|  79.2k|                        {
 2123|  79.2k|                            ta[i] = binary::byte_swap<uint64_t>(ta[i]);
 2124|  79.2k|                        }
 2125|  1.28k|                    }
 2126|  4.10k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2126:25): [True: 4.10k, False: 0]
  |  Branch (2126:42): [True: 0, False: 4.10k]
  ------------------
 2127|      0|                    {
 2128|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2128:29): [True: 0, False: 0]
  ------------------
 2129|      0|                        {
 2130|      0|                            ec = cbor_errc::bad_extents;
 2131|      0|                            more_ = false;
 2132|      0|                            return;
 2133|      0|                        }
 2134|      0|                        typed_array_iter_ = std::make_shared<mdarray_iterator<uint64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2135|      0|                            typed_array_tags::uint64, extents_, order_);
 2136|      0|                    }
 2137|  4.10k|                    else
 2138|  4.10k|                    {
 2139|  4.10k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<uint64_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2140|  4.10k|                            typed_array_tags::uint64);
 2141|  4.10k|                    }
 2142|  4.10k|                    typed_array_iter_->next(visitor, *this, ec);
 2143|  4.10k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2144|  4.10k|                    more_ = !cursor_mode_;
 2145|  4.10k|                    break;
 2146|  4.10k|                }
 2147|  1.11k|                case 0x48:
  ------------------
  |  Branch (2147:17): [True: 1.11k, False: 78.2k]
  ------------------
 2148|  1.11k|                {
 2149|  1.11k|                    array_tag_ = typed_array_tags::int8;
 2150|  1.11k|                    byte_string_type array_buffer(alloc_);
 2151|  1.11k|                    read(array_buffer, ec);
 2152|  1.11k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.11k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.11k]
  |  |  ------------------
  ------------------
 2153|      0|                    {
 2154|      0|                        more_ = false;
 2155|      0|                        return;
 2156|      0|                    }
 2157|  1.11k|                    auto ta = typed_array_cast<int8_t>(array_buffer);
 2158|  1.11k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2158:25): [True: 1.11k, False: 0]
  |  Branch (2158:42): [True: 0, False: 1.11k]
  ------------------
 2159|      0|                    {
 2160|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2160:29): [True: 0, False: 0]
  ------------------
 2161|      0|                        {
 2162|      0|                            ec = cbor_errc::bad_extents;
 2163|      0|                            more_ = false;
 2164|      0|                            return;
 2165|      0|                        }
 2166|      0|                        typed_array_iter_ = std::make_shared<mdarray_iterator<int8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2167|      0|                            typed_array_tags::int8, extents_, order_);
 2168|      0|                    }
 2169|  1.11k|                    else
 2170|  1.11k|                    {
 2171|  1.11k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<int8_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2172|  1.11k|                            typed_array_tags::int8);
 2173|  1.11k|                    }
 2174|  1.11k|                    typed_array_iter_->next(visitor, *this, ec);
 2175|  1.11k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2176|  1.11k|                    more_ = !cursor_mode_;
 2177|  1.11k|                    break;
 2178|  1.11k|                }
 2179|  10.1k|                case 0x49:
  ------------------
  |  Branch (2179:17): [True: 10.1k, False: 69.2k]
  ------------------
 2180|  10.3k|                case 0x4d:
  ------------------
  |  Branch (2180:17): [True: 226, False: 79.1k]
  ------------------
 2181|  10.3k|                {
 2182|  10.3k|                    array_tag_ = typed_array_tags::int16;
 2183|  10.3k|                    byte_string_type array_buffer(alloc_);
 2184|  10.3k|                    read(array_buffer, ec);
 2185|  10.3k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  10.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 10.3k]
  |  |  ------------------
  ------------------
 2186|      0|                    {
 2187|      0|                        more_ = false;
 2188|      0|                        return;
 2189|      0|                    }
 2190|  10.3k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2191|  10.3k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2192|  10.3k|                    auto ta = typed_array_cast<int16_t>(array_buffer);
 2193|  10.3k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2193:25): [True: 10.1k, False: 226]
  ------------------
 2194|  10.1k|                    {
 2195|   835k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2195:49): [True: 825k, False: 10.1k]
  ------------------
 2196|   825k|                        {
 2197|   825k|                            ta[i] = binary::byte_swap<int16_t>(ta[i]);
 2198|   825k|                        }
 2199|  10.1k|                    }
 2200|  10.3k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2200:25): [True: 10.3k, False: 0]
  |  Branch (2200:42): [True: 0, False: 10.3k]
  ------------------
 2201|      0|                    {
 2202|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2202:29): [True: 0, False: 0]
  ------------------
 2203|      0|                        {
 2204|      0|                            ec = cbor_errc::bad_extents;
 2205|      0|                            more_ = false;
 2206|      0|                            return;
 2207|      0|                        }
 2208|      0|                        typed_array_iter_ = std::make_shared<mdarray_iterator<int16_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2209|      0|                            typed_array_tags::int16, extents_, order_);
 2210|      0|                    }
 2211|  10.3k|                    else
 2212|  10.3k|                    {
 2213|  10.3k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<int16_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2214|  10.3k|                            typed_array_tags::int16);
 2215|  10.3k|                    }
 2216|  10.3k|                    typed_array_iter_->next(visitor, *this, ec);
 2217|  10.3k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2218|  10.3k|                    more_ = !cursor_mode_;
 2219|  10.3k|                    break;
 2220|  10.3k|                }
 2221|  1.95k|                case 0x4a:
  ------------------
  |  Branch (2221:17): [True: 1.95k, False: 77.4k]
  ------------------
 2222|  2.48k|                case 0x4e:
  ------------------
  |  Branch (2222:17): [True: 535, False: 78.8k]
  ------------------
 2223|  2.48k|                {
 2224|  2.48k|                    array_tag_ = typed_array_tags::int32;
 2225|  2.48k|                    byte_string_type array_buffer(alloc_);
 2226|  2.48k|                    read(array_buffer, ec);
 2227|  2.48k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.48k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.48k]
  |  |  ------------------
  ------------------
 2228|      0|                    {
 2229|      0|                        more_ = false;
 2230|      0|                        return;
 2231|      0|                    }
 2232|  2.48k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2233|  2.48k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2234|  2.48k|                    auto ta = typed_array_cast<int32_t>(array_buffer);
 2235|  2.48k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2235:25): [True: 1.95k, False: 535]
  ------------------
 2236|  1.95k|                    {
 2237|  7.46M|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2237:49): [True: 7.45M, False: 1.95k]
  ------------------
 2238|  7.45M|                        {
 2239|  7.45M|                            ta[i] = binary::byte_swap<int32_t>(ta[i]);
 2240|  7.45M|                        }
 2241|  1.95k|                    }
 2242|  2.48k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2242:25): [True: 2.48k, False: 0]
  |  Branch (2242:42): [True: 0, False: 2.48k]
  ------------------
 2243|      0|                    {
 2244|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2244:29): [True: 0, False: 0]
  ------------------
 2245|      0|                        {
 2246|      0|                            ec = cbor_errc::bad_extents;
 2247|      0|                            more_ = false;
 2248|      0|                            return;
 2249|      0|                        }
 2250|      0|                        typed_array_iter_ = std::make_shared<mdarray_iterator<int32_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2251|      0|                            typed_array_tags::int32, extents_, order_);
 2252|      0|                    }
 2253|  2.48k|                    else
 2254|  2.48k|                    {
 2255|  2.48k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<int32_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2256|  2.48k|                            typed_array_tags::int32);
 2257|  2.48k|                    }
 2258|  2.48k|                    typed_array_iter_->next(visitor, *this, ec);
 2259|  2.48k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2260|  2.48k|                    more_ = !cursor_mode_;
 2261|  2.48k|                    break;
 2262|  2.48k|                }
 2263|  2.52k|                case 0x4b:
  ------------------
  |  Branch (2263:17): [True: 2.52k, False: 76.8k]
  ------------------
 2264|  3.03k|                case 0x4f:
  ------------------
  |  Branch (2264:17): [True: 507, False: 78.8k]
  ------------------
 2265|  3.03k|                {
 2266|  3.03k|                    array_tag_ = typed_array_tags::int64;
 2267|  3.03k|                    byte_string_type array_buffer(alloc_);
 2268|  3.03k|                    read(array_buffer, ec);
 2269|  3.03k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.03k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 3.03k]
  |  |  ------------------
  ------------------
 2270|      0|                    {
 2271|      0|                        more_ = false;
 2272|      0|                        return;
 2273|      0|                    }
 2274|  3.03k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2275|  3.03k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2276|  3.03k|                    auto ta = typed_array_cast<int64_t>(array_buffer);
 2277|  3.03k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2277:25): [True: 2.52k, False: 507]
  ------------------
 2278|  2.52k|                    {
 2279|   558k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2279:49): [True: 556k, False: 2.52k]
  ------------------
 2280|   556k|                        {
 2281|   556k|                            ta[i] = binary::byte_swap<int64_t>(ta[i]);
 2282|   556k|                        }
 2283|  2.52k|                    }
 2284|  3.03k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2284:25): [True: 3.03k, False: 0]
  |  Branch (2284:42): [True: 0, False: 3.03k]
  ------------------
 2285|      0|                    {
 2286|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2286:29): [True: 0, False: 0]
  ------------------
 2287|      0|                        {
 2288|      0|                            ec = cbor_errc::bad_extents;
 2289|      0|                            more_ = false;
 2290|      0|                            return;
 2291|      0|                        }
 2292|      0|                        typed_array_iter_ = std::make_shared<mdarray_iterator<int64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2293|      0|                            typed_array_tags::int64, extents_, order_);
 2294|      0|                    }
 2295|  3.03k|                    else
 2296|  3.03k|                    {
 2297|  3.03k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<int64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), typed_array_tags::int64);
 2298|  3.03k|                    }
 2299|  3.03k|                    typed_array_iter_->next(visitor, *this, ec);
 2300|  3.03k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2301|  3.03k|                    more_ = !cursor_mode_;
 2302|  3.03k|                    break;
 2303|  3.03k|                }
 2304|  21.4k|                case 0x50:
  ------------------
  |  Branch (2304:17): [True: 21.4k, False: 57.9k]
  ------------------
 2305|  35.4k|                case 0x54:
  ------------------
  |  Branch (2305:17): [True: 14.0k, False: 65.3k]
  ------------------
 2306|  35.4k|                {
 2307|  35.4k|                    array_tag_ = typed_array_tags::half_float;
 2308|  35.4k|                    byte_string_type array_buffer(alloc_);
 2309|  35.4k|                    read(array_buffer, ec);
 2310|  35.4k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  35.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 35.4k]
  |  |  ------------------
  ------------------
 2311|      0|                    {
 2312|      0|                        more_ = false;
 2313|      0|                        return;
 2314|      0|                    }
 2315|  35.4k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2316|  35.4k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2317|  35.4k|                    auto ta = typed_array_cast<uint16_t>(array_buffer);
 2318|  35.4k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2318:25): [True: 21.4k, False: 14.0k]
  ------------------
 2319|  21.4k|                    {
 2320|  44.3M|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2320:49): [True: 44.2M, False: 21.4k]
  ------------------
 2321|  44.2M|                        {
 2322|  44.2M|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 2323|  44.2M|                        }
 2324|  21.4k|                    }
 2325|  35.4k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2325:25): [True: 35.4k, False: 0]
  |  Branch (2325:42): [True: 0, False: 35.4k]
  ------------------
 2326|      0|                    {
 2327|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2327:29): [True: 0, False: 0]
  ------------------
 2328|      0|                        {
 2329|      0|                            ec = cbor_errc::bad_extents;
 2330|      0|                            more_ = false;
 2331|      0|                            return;
 2332|      0|                        }
 2333|      0|                        typed_array_iter_ = std::make_shared<mdarray_iterator<uint16_t,decode_half,Allocator>>(std::move(array_buffer), 
 2334|      0|                            typed_array_tags::half_float, extents_, order_);
 2335|      0|                    }
 2336|  35.4k|                    else
 2337|  35.4k|                    {
 2338|  35.4k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<uint16_t,decode_half,Allocator>>(std::move(array_buffer),
 2339|  35.4k|                            typed_array_tags::half_float);
 2340|  35.4k|                    }
 2341|  35.4k|                    typed_array_iter_->next(visitor, *this, ec);
 2342|  35.4k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2343|  35.4k|                    more_ = !cursor_mode_;
 2344|  35.4k|                    break;
 2345|  35.4k|                }
 2346|  1.27k|                case 0x51:
  ------------------
  |  Branch (2346:17): [True: 1.27k, False: 78.1k]
  ------------------
 2347|  2.04k|                case 0x55:
  ------------------
  |  Branch (2347:17): [True: 774, False: 78.6k]
  ------------------
 2348|  2.04k|                {
 2349|  2.04k|                    array_tag_ = typed_array_tags::float32;
 2350|  2.04k|                    byte_string_type array_buffer(alloc_);
 2351|  2.04k|                    read(array_buffer, ec);
 2352|  2.04k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.04k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.04k]
  |  |  ------------------
  ------------------
 2353|      0|                    {
 2354|      0|                        more_ = false;
 2355|      0|                        return;
 2356|      0|                    }
 2357|  2.04k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2358|  2.04k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2359|  2.04k|                    auto ta = typed_array_cast<float>(array_buffer);
 2360|  2.04k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2360:25): [True: 1.27k, False: 774]
  ------------------
 2361|  1.27k|                    {
 2362|  87.3k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2362:49): [True: 86.0k, False: 1.27k]
  ------------------
 2363|  86.0k|                        {
 2364|  86.0k|                            ta[i] = binary::byte_swap<float>(ta[i]);
 2365|  86.0k|                        }
 2366|  1.27k|                    }
 2367|  2.04k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2367:25): [True: 2.04k, False: 0]
  |  Branch (2367:42): [True: 0, False: 2.04k]
  ------------------
 2368|      0|                    {
 2369|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2369:29): [True: 0, False: 0]
  ------------------
 2370|      0|                        {
 2371|      0|                            ec = cbor_errc::bad_extents;
 2372|      0|                            more_ = false;
 2373|      0|                            return;
 2374|      0|                        }
 2375|      0|                        typed_array_iter_ = std::make_shared<mdarray_iterator<float,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2376|      0|                            typed_array_tags::float32, extents_, order_);
 2377|      0|                    }
 2378|  2.04k|                    else
 2379|  2.04k|                    {
 2380|  2.04k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<float,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2381|  2.04k|                            typed_array_tags::float32);
 2382|  2.04k|                    }
 2383|  2.04k|                    typed_array_iter_->next(visitor, *this, ec);
 2384|  2.04k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2385|  2.04k|                    more_ = !cursor_mode_;
 2386|  2.04k|                    break;
 2387|  2.04k|                }
 2388|  1.08k|                case 0x52:
  ------------------
  |  Branch (2388:17): [True: 1.08k, False: 78.3k]
  ------------------
 2389|  2.77k|                case 0x56:
  ------------------
  |  Branch (2389:17): [True: 1.69k, False: 77.7k]
  ------------------
 2390|  2.77k|                {
 2391|  2.77k|                    array_tag_ = typed_array_tags::float64;
 2392|  2.77k|                    byte_string_type array_buffer(alloc_);
 2393|  2.77k|                    read(array_buffer, ec);
 2394|  2.77k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.77k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 2.77k]
  |  |  ------------------
  ------------------
 2395|      0|                    {
 2396|      0|                        more_ = false;
 2397|      0|                        return;
 2398|      0|                    }
 2399|  2.77k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2400|  2.77k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2401|  2.77k|                    auto ta = typed_array_cast<double>(array_buffer);
 2402|  2.77k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2402:25): [True: 1.08k, False: 1.69k]
  ------------------
 2403|  1.08k|                    {
 2404|  47.1k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2404:49): [True: 46.0k, False: 1.08k]
  ------------------
 2405|  46.0k|                        {
 2406|  46.0k|                            ta[i] = binary::byte_swap<double>(ta[i]);
 2407|  46.0k|                        }
 2408|  1.08k|                    }
 2409|  2.77k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2409:25): [True: 2.77k, False: 0]
  |  Branch (2409:42): [True: 0, False: 2.77k]
  ------------------
 2410|      0|                    {
 2411|      0|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2411:29): [True: 0, False: 0]
  ------------------
 2412|      0|                        {
 2413|      0|                            ec = cbor_errc::bad_extents;
 2414|      0|                            more_ = false;
 2415|      0|                            return;
 2416|      0|                        }
 2417|      0|                        typed_array_iter_ = std::make_shared<mdarray_iterator<double,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2418|      0|                            typed_array_tags::float64, extents_, order_);
 2419|      0|                    }
 2420|  2.77k|                    else
 2421|  2.77k|                    {
 2422|  2.77k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<double,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2423|  2.77k|                            typed_array_tags::float64);
 2424|  2.77k|                    }
 2425|  2.77k|                    typed_array_iter_->next(visitor, *this, ec);
 2426|  2.77k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2427|  2.77k|                    more_ = !cursor_mode_;
 2428|  2.77k|                    break;
 2429|  2.77k|                }
 2430|  3.63k|                default:
  ------------------
  |  Branch (2430:17): [True: 3.63k, False: 75.7k]
  ------------------
 2431|  3.63k|                {
 2432|  3.63k|                    read(bytes_buffer_,ec);
 2433|  3.63k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.63k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 3.63k]
  |  |  ------------------
  ------------------
 2434|      0|                    {
 2435|      0|                        more_ = false;
 2436|      0|                        return;
 2437|      0|                    }
 2438|  3.63k|                    visitor.byte_string_value(bytes_buffer_, raw_tag_, *this, ec);
 2439|  3.63k|                    more_ = !cursor_mode_;
 2440|  3.63k|                    break;
 2441|  3.63k|                }
 2442|  79.4k|            }
 2443|  79.4k|            other_tags_[item_tag] = false;
 2444|  79.4k|        }
 2445|  11.2k|        else
 2446|  11.2k|        {
 2447|  11.2k|            read(bytes_buffer_,ec);
 2448|  11.2k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  11.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 11.2k]
  |  |  ------------------
  ------------------
 2449|      0|            {
 2450|      0|                return;
 2451|      0|            }
 2452|  11.2k|            visitor.byte_string_value(bytes_buffer_, semantic_tag::none, *this, ec);
 2453|  11.2k|            more_ = !cursor_mode_;
 2454|  11.2k|        }
 2455|  90.6k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_bufferclINS3_6vectorIhS5_EEEEvRT_RNS3_10error_codeE:
  167|  90.6k|        {
  168|  90.6k|            c.clear();
  169|  90.6k|            c.reserve(bytes.size());
  170|  90.6k|            for (auto b : bytes)
  ------------------
  |  Branch (170:25): [True: 228M, False: 90.6k]
  ------------------
  171|   228M|            {
  172|   228M|                c.push_back(b);
  173|   228M|            }
  174|  90.6k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE26get_typed_array_endiannessEh:
 1868|   143k|    {
 1869|   143k|        return ((tag & detail::cbor_array_tags_e_mask) >> detail::cbor_array_tags_e_shift) == 0 ? jsoncons::endian::big : jsoncons::endian::little; 
  ------------------
  |  Branch (1869:16): [True: 103k, False: 39.7k]
  ------------------
 1870|   143k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10read_int64ERNS3_10error_codeE:
 1320|  8.02M|    {
 1321|  8.02M|        int64_t val = 0;
 1322|       |
 1323|  8.02M|        auto ch = source_.peek();
 1324|  8.02M|        if (ch.eof)
  ------------------
  |  Branch (1324:13): [True: 0, False: 8.02M]
  ------------------
 1325|      0|        {
 1326|      0|            ec = cbor_errc::unexpected_eof;
 1327|      0|            more_ = false;
 1328|      0|            return val;
 1329|      0|        }
 1330|       |
 1331|  8.02M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(ch.value);
 1332|  8.02M|        uint8_t info = get_additional_information_value(ch.value);
 1333|  8.02M|        switch (major_type)
 1334|  8.02M|        {
 1335|  8.02M|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1335:13): [True: 8.02M, False: 0]
  ------------------
 1336|  8.02M|                source_.ignore(1);
 1337|  8.02M|                switch (info)
  ------------------
  |  Branch (1337:25): [True: 7.99M, False: 25.1k]
  ------------------
 1338|  8.02M|                {
 1339|  7.97M|                    case JSONCONS_EXT_CBOR_0x00_0x17: // 0x00..0x17 (0..23)
  ------------------
  |  |   18|  7.97M|    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: 13.9k, False: 8.01M]
  |  |  |  Branch (18:20): [True: 14.8k, False: 8.00M]
  |  |  |  Branch (18:30): [True: 29.2k, False: 7.99M]
  |  |  |  Branch (18:40): [True: 12.0k, False: 8.01M]
  |  |  |  Branch (18:50): [True: 18.3k, False: 8.00M]
  |  |  |  Branch (18:60): [True: 9.66k, False: 8.01M]
  |  |  |  Branch (18:70): [True: 17.0k, False: 8.00M]
  |  |  |  Branch (18:80): [True: 6.10M, False: 1.91M]
  |  |  |  Branch (18:90): [True: 14.7k, False: 8.00M]
  |  |  |  Branch (18:100): [True: 17.8k, False: 8.00M]
  |  |  |  Branch (18:110): [True: 6.19k, False: 8.01M]
  |  |  |  Branch (18:120): [True: 48.7k, False: 7.97M]
  |  |  |  Branch (18:130): [True: 713k, False: 7.31M]
  |  |  |  Branch (18:140): [True: 37.0k, False: 7.98M]
  |  |  |  Branch (18:150): [True: 12.9k, False: 8.01M]
  |  |  |  Branch (18:160): [True: 41.3k, False: 7.98M]
  |  |  |  Branch (18:170): [True: 28.8k, False: 7.99M]
  |  |  |  Branch (18:180): [True: 17.2k, False: 8.00M]
  |  |  |  Branch (18:190): [True: 9.16k, False: 8.01M]
  |  |  |  Branch (18:200): [True: 13.3k, False: 8.01M]
  |  |  |  Branch (18:210): [True: 24.9k, False: 7.99M]
  |  |  |  Branch (18:220): [True: 28.9k, False: 7.99M]
  |  |  ------------------
  ------------------
  |  Branch (1339:21): [True: 712k, False: 7.31M]
  ------------------
 1340|  7.97M|                    {
 1341|  7.97M|                        val = static_cast<int8_t>(- 1 - info);
 1342|  7.97M|                        break;
 1343|   118M|                    }
 1344|  9.18k|                    case 0x18: // Negative integer (one-byte uint8_t follows)
  ------------------
  |  Branch (1344:21): [True: 9.18k, False: 8.01M]
  ------------------
 1345|  9.18k|                        {
 1346|  9.18k|                            uint8_t b;
 1347|  9.18k|                            if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1347:33): [True: 4, False: 9.18k]
  ------------------
 1348|      4|                            {
 1349|      4|                                ec = cbor_errc::unexpected_eof;
 1350|      4|                                more_ = false;
 1351|      4|                                return val;
 1352|      4|                            }
 1353|  9.18k|                            val = static_cast<int64_t>(-1) - static_cast<int64_t>(b);
 1354|  9.18k|                            break;
 1355|  9.18k|                        }
 1356|       |
 1357|  7.72k|                    case 0x19: // Negative integer -1-n (two-byte uint16_t follows)
  ------------------
  |  Branch (1357:21): [True: 7.72k, False: 8.01M]
  ------------------
 1358|  7.72k|                        {
 1359|  7.72k|                            uint8_t buf[sizeof(uint16_t)];
 1360|  7.72k|                            if (source_.read(buf, sizeof(uint16_t)) != sizeof(uint16_t))
  ------------------
  |  Branch (1360:33): [True: 5, False: 7.71k]
  ------------------
 1361|      5|                            {
 1362|      5|                                ec = cbor_errc::unexpected_eof;
 1363|      5|                                more_ = false;
 1364|      5|                                return val;
 1365|      5|                            }
 1366|  7.71k|                            auto x = binary::big_to_native<uint16_t>(buf, sizeof(buf));
 1367|  7.71k|                            val = static_cast<int64_t>(-1)- x;
 1368|  7.71k|                            break;
 1369|  7.72k|                        }
 1370|       |
 1371|  6.37k|                    case 0x1a: // Negative integer -1-n (four-byte uint32_t follows)
  ------------------
  |  Branch (1371:21): [True: 6.37k, False: 8.01M]
  ------------------
 1372|  6.37k|                        {
 1373|  6.37k|                            uint8_t buf[sizeof(uint32_t)];
 1374|  6.37k|                            if (source_.read(buf, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (1374:33): [True: 13, False: 6.36k]
  ------------------
 1375|     13|                            {
 1376|     13|                                ec = cbor_errc::unexpected_eof;
 1377|     13|                                more_ = false;
 1378|     13|                                return val;
 1379|     13|                            }
 1380|  6.36k|                            auto x = binary::big_to_native<uint32_t>(buf, sizeof(buf));
 1381|  6.36k|                            val = static_cast<int64_t>(-1)- x;
 1382|  6.36k|                            break;
 1383|  6.37k|                        }
 1384|       |
 1385|  5.28k|                    case 0x1b: // Negative integer -1-n (eight-byte uint64_t follows)
  ------------------
  |  Branch (1385:21): [True: 5.28k, False: 8.01M]
  ------------------
 1386|  5.28k|                        {
 1387|  5.28k|                            uint8_t buf[sizeof(uint64_t)];
 1388|  5.28k|                            if (source_.read(buf, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (1388:33): [True: 18, False: 5.27k]
  ------------------
 1389|     18|                            {
 1390|     18|                                ec = cbor_errc::unexpected_eof;
 1391|     18|                                more_ = false;
 1392|     18|                                return val;
 1393|     18|                            }
 1394|  5.27k|                            auto x = binary::big_to_native<uint64_t>(buf, sizeof(buf));
 1395|  5.27k|                            val = static_cast<int64_t>(-1)- static_cast<int64_t>(x);
 1396|  5.27k|                            break;
 1397|  5.28k|                        }
 1398|  8.02M|                }
 1399|  8.02M|                break;
 1400|       |
 1401|  8.02M|                case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1401:17): [True: 0, False: 8.02M]
  ------------------
 1402|      0|                {
 1403|      0|                    uint64_t x = read_uint64(ec);
 1404|      0|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1405|      0|                    {
 1406|      0|                        return 0;
 1407|      0|                    }
 1408|      0|                    if (x <= static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
  ------------------
  |  Branch (1408:25): [True: 0, False: 0]
  ------------------
 1409|      0|                    {
 1410|      0|                        val = x;
 1411|      0|                    }
 1412|      0|                    else
 1413|      0|                    {
 1414|       |                        // error;
 1415|      0|                    }
 1416|       |                    
 1417|      0|                    break;
 1418|      0|                }
 1419|      0|                break;
 1420|      0|            default:
  ------------------
  |  Branch (1420:13): [True: 0, False: 8.02M]
  ------------------
 1421|      0|                break;
 1422|  8.02M|        }
 1423|       |
 1424|  8.02M|        return val;
 1425|  8.02M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_sourceC2EPS8_:
  182|  9.51M|            : source(source)
  183|  9.51M|        {
  184|  9.51M|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringINS8_28read_byte_string_from_sourceEEEvT_RNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
 1882|  9.51M|    {
 1883|  9.51M|        if (other_tags_[item_tag])
  ------------------
  |  Branch (1883:13): [True: 162k, False: 9.35M]
  ------------------
 1884|   162k|        {
 1885|   162k|            switch (raw_tag_)
 1886|   162k|            {
 1887|  36.3k|                case 0x2:
  ------------------
  |  Branch (1887:17): [True: 36.3k, False: 126k]
  ------------------
 1888|  36.3k|                {
 1889|  36.3k|                    bytes_buffer_.clear();
 1890|  36.3k|                    read(bytes_buffer_,ec);
 1891|  36.3k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  36.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 9, False: 36.3k]
  |  |  ------------------
  ------------------
 1892|      9|                    {
 1893|      9|                        more_ = false;
 1894|      9|                        return;
 1895|      9|                    }
 1896|  36.3k|                    bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1897|  36.3k|                    text_buffer_.clear();
 1898|  36.3k|                    n.write_string(text_buffer_);
 1899|  36.3k|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 1900|  36.3k|                    more_ = !cursor_mode_;
 1901|  36.3k|                    break;
 1902|  36.3k|                }
 1903|  9.29k|                case 0x3:
  ------------------
  |  Branch (1903:17): [True: 9.29k, False: 153k]
  ------------------
 1904|  9.29k|                {
 1905|  9.29k|                    bytes_buffer_.clear();
 1906|  9.29k|                    read(bytes_buffer_,ec);
 1907|  9.29k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  9.29k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 11, False: 9.27k]
  |  |  ------------------
  ------------------
 1908|     11|                    {
 1909|     11|                        more_ = false;
 1910|     11|                        return;
 1911|     11|                    }
 1912|  9.27k|                    bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1913|  9.27k|                    n = -1 - n;
 1914|  9.27k|                    text_buffer_.clear();
 1915|  9.27k|                    n.write_string(text_buffer_);
 1916|  9.27k|                    visitor.string_value(text_buffer_, semantic_tag::bigint, *this, ec);
 1917|  9.27k|                    more_ = !cursor_mode_;
 1918|  9.27k|                    break;
 1919|  9.29k|                }
 1920|    240|                case 0x15:
  ------------------
  |  Branch (1920:17): [True: 240, False: 162k]
  ------------------
 1921|    240|                {
 1922|    240|                    read(bytes_buffer_,ec);
 1923|    240|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    240|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 238]
  |  |  ------------------
  ------------------
 1924|      2|                    {
 1925|      2|                        more_ = false;
 1926|      2|                        return;
 1927|      2|                    }
 1928|    238|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base64url, *this, ec);
 1929|    238|                    more_ = !cursor_mode_;
 1930|    238|                    break;
 1931|    240|                }
 1932|    806|                case 0x16:
  ------------------
  |  Branch (1932:17): [True: 806, False: 162k]
  ------------------
 1933|    806|                {
 1934|    806|                    read(bytes_buffer_,ec);
 1935|    806|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    806|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3, False: 803]
  |  |  ------------------
  ------------------
 1936|      3|                    {
 1937|      3|                        more_ = false;
 1938|      3|                        return;
 1939|      3|                    }
 1940|    803|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base64, *this, ec);
 1941|    803|                    more_ = !cursor_mode_;
 1942|    803|                    break;
 1943|    806|                }
 1944|    844|                case 0x17:
  ------------------
  |  Branch (1944:17): [True: 844, False: 162k]
  ------------------
 1945|    844|                {
 1946|    844|                    read(bytes_buffer_,ec);
 1947|    844|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    844|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 840]
  |  |  ------------------
  ------------------
 1948|      4|                    {
 1949|      4|                        more_ = false;
 1950|      4|                        return;
 1951|      4|                    }
 1952|    840|                    visitor.byte_string_value(bytes_buffer_, semantic_tag::base16, *this, ec);
 1953|    840|                    more_ = !cursor_mode_;
 1954|    840|                    break;
 1955|    844|                }
 1956|  1.37k|                case 0x40:
  ------------------
  |  Branch (1956:17): [True: 1.37k, False: 161k]
  ------------------
 1957|  1.37k|                {
 1958|  1.37k|                    array_tag_ = typed_array_tags::uint8;
 1959|  1.37k|                    byte_string_type array_buffer(alloc_);
 1960|  1.37k|                    read(array_buffer, ec);
 1961|  1.37k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.37k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 1.37k]
  |  |  ------------------
  ------------------
 1962|      2|                    {
 1963|      2|                        more_ = false;
 1964|      2|                        return;
 1965|      2|                    }
 1966|  1.37k|                    auto ta = typed_array_cast<const uint8_t>(array_buffer);
 1967|  1.37k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (1967:25): [True: 1.37k, False: 0]
  |  Branch (1967:42): [True: 352, False: 1.02k]
  ------------------
 1968|    352|                    {
 1969|    352|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (1969:29): [True: 1, False: 351]
  ------------------
 1970|      1|                        {
 1971|      1|                            ec = cbor_errc::bad_extents;
 1972|      1|                            more_ = false;
 1973|      1|                            return;
 1974|      1|                        }
 1975|    351|                        typed_array_iter_ = std::make_shared<mdarray_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 1976|    351|                            typed_array_tags::uint8, extents_, order_);
 1977|    351|                    }
 1978|  1.02k|                    else
 1979|  1.02k|                    {
 1980|  1.02k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 1981|  1.02k|                            typed_array_tags::uint8);
 1982|  1.02k|                    }
 1983|  1.37k|                    typed_array_iter_->next(visitor, *this, ec);
 1984|  1.37k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 1985|  1.37k|                    more_ = !cursor_mode_;
 1986|  1.37k|                    break;
 1987|  1.37k|                }
 1988|  1.77k|                case 0x44:
  ------------------
  |  Branch (1988:17): [True: 1.77k, False: 161k]
  ------------------
 1989|  1.77k|                {
 1990|  1.77k|                    array_tag_ = typed_array_tags::uint8;
 1991|  1.77k|                    typed_array_tag_ = semantic_tag::clamped;
 1992|  1.77k|                    byte_string_type array_buffer(alloc_);
 1993|  1.77k|                    read(array_buffer, ec);
 1994|  1.77k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.77k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6, False: 1.76k]
  |  |  ------------------
  ------------------
 1995|      6|                    {
 1996|      6|                        more_ = false;
 1997|      6|                        return;
 1998|      6|                    }
 1999|  1.76k|                    auto ta = typed_array_cast<const uint8_t>(array_buffer);
 2000|  1.76k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2000:25): [True: 1.76k, False: 0]
  |  Branch (2000:42): [True: 130, False: 1.63k]
  ------------------
 2001|    130|                    {
 2002|    130|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2002:29): [True: 1, False: 129]
  ------------------
 2003|      1|                        {
 2004|      1|                            ec = cbor_errc::bad_extents;
 2005|      1|                            more_ = false;
 2006|      1|                            return;
 2007|      1|                        }
 2008|    129|                        typed_array_iter_ = std::make_shared<mdarray_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2009|    129|                            typed_array_tags::uint8, extents_, order_);
 2010|    129|                    }
 2011|  1.63k|                    else
 2012|  1.63k|                    {
 2013|  1.63k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<uint8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2014|  1.63k|                            typed_array_tags::uint8, semantic_tag::clamped);
 2015|  1.63k|                    }
 2016|  1.76k|                    typed_array_iter_->next(visitor, *this, ec);
 2017|  1.76k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2018|  1.76k|                    more_ = !cursor_mode_;
 2019|  1.76k|                    break;
 2020|  1.76k|                }
 2021|  25.7k|                case 0x41:
  ------------------
  |  Branch (2021:17): [True: 25.7k, False: 137k]
  ------------------
 2022|  26.1k|                case 0x45:
  ------------------
  |  Branch (2022:17): [True: 446, False: 162k]
  ------------------
 2023|  26.1k|                {
 2024|  26.1k|                    array_tag_ = typed_array_tags::uint16;
 2025|  26.1k|                    byte_string_type array_buffer(alloc_);
 2026|  26.1k|                    read(array_buffer, ec);
 2027|  26.1k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  26.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 7, False: 26.1k]
  |  |  ------------------
  ------------------
 2028|      7|                    {
 2029|      7|                        more_ = false;
 2030|      7|                        return;
 2031|      7|                    }
 2032|  26.1k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2033|  26.1k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2034|  26.1k|                    auto ta = typed_array_cast<uint16_t>(array_buffer);
 2035|  26.1k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2035:25): [True: 25.7k, False: 445]
  ------------------
 2036|  25.7k|                    {
 2037|  31.1k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2037:49): [True: 5.43k, False: 25.7k]
  ------------------
 2038|  5.43k|                        {
 2039|  5.43k|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 2040|  5.43k|                        }
 2041|  25.7k|                    }
 2042|  26.1k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2042:25): [True: 26.1k, False: 0]
  |  Branch (2042:42): [True: 138, False: 26.0k]
  ------------------
 2043|    138|                    {
 2044|    138|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2044:29): [True: 2, False: 136]
  ------------------
 2045|      2|                        {
 2046|      2|                            ec = cbor_errc::bad_extents;
 2047|      2|                            more_ = false;
 2048|      2|                            return;
 2049|      2|                        }
 2050|    136|                        typed_array_iter_ = std::make_shared<mdarray_iterator<uint16_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2051|    136|                            typed_array_tags::uint16, extents_, order_);
 2052|    136|                    }
 2053|  26.0k|                    else
 2054|  26.0k|                    {
 2055|  26.0k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<uint16_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2056|  26.0k|                            typed_array_tags::uint16);
 2057|  26.0k|                    }
 2058|  26.1k|                    typed_array_iter_->next(visitor, *this, ec);
 2059|  26.1k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2060|  26.1k|                    more_ = !cursor_mode_;
 2061|  26.1k|                    break;
 2062|  26.1k|                }
 2063|  3.20k|                case 0x42:
  ------------------
  |  Branch (2063:17): [True: 3.20k, False: 159k]
  ------------------
 2064|  4.44k|                case 0x46:
  ------------------
  |  Branch (2064:17): [True: 1.24k, False: 161k]
  ------------------
 2065|  4.44k|                {
 2066|  4.44k|                    array_tag_ = typed_array_tags::uint32;
 2067|  4.44k|                    byte_string_type array_buffer(alloc_);
 2068|  4.44k|                    read(array_buffer, ec);
 2069|  4.44k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.44k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5, False: 4.44k]
  |  |  ------------------
  ------------------
 2070|      5|                    {
 2071|      5|                        more_ = false;
 2072|      5|                        return;
 2073|      5|                    }
 2074|  4.44k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2075|  4.44k|                    jsoncons::endian e = get_typed_array_endianness(tag);
 2076|  4.44k|                    auto ta = typed_array_cast<uint32_t>(array_buffer);
 2077|  4.44k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2077:25): [True: 3.20k, False: 1.24k]
  ------------------
 2078|  3.20k|                    {
 2079|  4.37k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2079:49): [True: 1.17k, False: 3.20k]
  ------------------
 2080|  1.17k|                        {
 2081|  1.17k|                            ta[i] = binary::byte_swap<uint32_t>(ta[i]);
 2082|  1.17k|                        }
 2083|  3.20k|                    }
 2084|  4.44k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2084:25): [True: 4.44k, False: 0]
  |  Branch (2084:42): [True: 305, False: 4.13k]
  ------------------
 2085|    305|                    {
 2086|    305|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2086:29): [True: 1, False: 304]
  ------------------
 2087|      1|                        {
 2088|      1|                            ec = cbor_errc::bad_extents;
 2089|      1|                            more_ = false;
 2090|      1|                            return;
 2091|      1|                        }
 2092|    304|                        typed_array_iter_ = std::make_shared<mdarray_iterator<uint32_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2093|    304|                            typed_array_tags::uint32, extents_, order_);
 2094|    304|                    }
 2095|  4.13k|                    else
 2096|  4.13k|                    {
 2097|  4.13k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<uint32_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2098|  4.13k|                            typed_array_tags::uint32);
 2099|  4.13k|                    }
 2100|  4.44k|                    typed_array_iter_->next(visitor, *this, ec);
 2101|  4.44k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2102|  4.44k|                    more_ = !cursor_mode_;
 2103|  4.44k|                    break;
 2104|  4.44k|                }
 2105|  2.16k|                case 0x43:
  ------------------
  |  Branch (2105:17): [True: 2.16k, False: 160k]
  ------------------
 2106|  9.31k|                case 0x47:
  ------------------
  |  Branch (2106:17): [True: 7.15k, False: 155k]
  ------------------
 2107|  9.31k|                {
 2108|  9.31k|                    array_tag_ = typed_array_tags::uint64;
 2109|  9.31k|                    byte_string_type array_buffer(alloc_);
 2110|  9.31k|                    read(array_buffer, ec);
 2111|  9.31k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  9.31k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3, False: 9.30k]
  |  |  ------------------
  ------------------
 2112|      3|                    {
 2113|      3|                        more_ = false;
 2114|      3|                        return;
 2115|      3|                    }
 2116|  9.30k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2117|  9.30k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2118|  9.30k|                    auto ta = typed_array_cast<uint64_t>(array_buffer);
 2119|  9.30k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2119:25): [True: 2.16k, False: 7.14k]
  ------------------
 2120|  2.16k|                    {
 2121|  58.6k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2121:49): [True: 56.4k, False: 2.16k]
  ------------------
 2122|  56.4k|                        {
 2123|  56.4k|                            ta[i] = binary::byte_swap<uint64_t>(ta[i]);
 2124|  56.4k|                        }
 2125|  2.16k|                    }
 2126|  9.30k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2126:25): [True: 9.30k, False: 0]
  |  Branch (2126:42): [True: 142, False: 9.16k]
  ------------------
 2127|    142|                    {
 2128|    142|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2128:29): [True: 4, False: 138]
  ------------------
 2129|      4|                        {
 2130|      4|                            ec = cbor_errc::bad_extents;
 2131|      4|                            more_ = false;
 2132|      4|                            return;
 2133|      4|                        }
 2134|    138|                        typed_array_iter_ = std::make_shared<mdarray_iterator<uint64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2135|    138|                            typed_array_tags::uint64, extents_, order_);
 2136|    138|                    }
 2137|  9.16k|                    else
 2138|  9.16k|                    {
 2139|  9.16k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<uint64_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2140|  9.16k|                            typed_array_tags::uint64);
 2141|  9.16k|                    }
 2142|  9.30k|                    typed_array_iter_->next(visitor, *this, ec);
 2143|  9.30k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2144|  9.30k|                    more_ = !cursor_mode_;
 2145|  9.30k|                    break;
 2146|  9.30k|                }
 2147|  4.50k|                case 0x48:
  ------------------
  |  Branch (2147:17): [True: 4.50k, False: 158k]
  ------------------
 2148|  4.50k|                {
 2149|  4.50k|                    array_tag_ = typed_array_tags::int8;
 2150|  4.50k|                    byte_string_type array_buffer(alloc_);
 2151|  4.50k|                    read(array_buffer, ec);
 2152|  4.50k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.50k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 4.50k]
  |  |  ------------------
  ------------------
 2153|      2|                    {
 2154|      2|                        more_ = false;
 2155|      2|                        return;
 2156|      2|                    }
 2157|  4.50k|                    auto ta = typed_array_cast<int8_t>(array_buffer);
 2158|  4.50k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2158:25): [True: 4.50k, False: 0]
  |  Branch (2158:42): [True: 157, False: 4.34k]
  ------------------
 2159|    157|                    {
 2160|    157|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2160:29): [True: 1, False: 156]
  ------------------
 2161|      1|                        {
 2162|      1|                            ec = cbor_errc::bad_extents;
 2163|      1|                            more_ = false;
 2164|      1|                            return;
 2165|      1|                        }
 2166|    156|                        typed_array_iter_ = std::make_shared<mdarray_iterator<int8_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2167|    156|                            typed_array_tags::int8, extents_, order_);
 2168|    156|                    }
 2169|  4.34k|                    else
 2170|  4.34k|                    {
 2171|  4.34k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<int8_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2172|  4.34k|                            typed_array_tags::int8);
 2173|  4.34k|                    }
 2174|  4.50k|                    typed_array_iter_->next(visitor, *this, ec);
 2175|  4.50k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2176|  4.50k|                    more_ = !cursor_mode_;
 2177|  4.50k|                    break;
 2178|  4.50k|                }
 2179|  6.00k|                case 0x49:
  ------------------
  |  Branch (2179:17): [True: 6.00k, False: 156k]
  ------------------
 2180|  8.44k|                case 0x4d:
  ------------------
  |  Branch (2180:17): [True: 2.43k, False: 160k]
  ------------------
 2181|  8.44k|                {
 2182|  8.44k|                    array_tag_ = typed_array_tags::int16;
 2183|  8.44k|                    byte_string_type array_buffer(alloc_);
 2184|  8.44k|                    read(array_buffer, ec);
 2185|  8.44k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  8.44k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 9, False: 8.43k]
  |  |  ------------------
  ------------------
 2186|      9|                    {
 2187|      9|                        more_ = false;
 2188|      9|                        return;
 2189|      9|                    }
 2190|  8.43k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2191|  8.43k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2192|  8.43k|                    auto ta = typed_array_cast<int16_t>(array_buffer);
 2193|  8.43k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2193:25): [True: 5.99k, False: 2.43k]
  ------------------
 2194|  5.99k|                    {
 2195|  21.6k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2195:49): [True: 15.6k, False: 5.99k]
  ------------------
 2196|  15.6k|                        {
 2197|  15.6k|                            ta[i] = binary::byte_swap<int16_t>(ta[i]);
 2198|  15.6k|                        }
 2199|  5.99k|                    }
 2200|  8.43k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2200:25): [True: 8.43k, False: 0]
  |  Branch (2200:42): [True: 214, False: 8.21k]
  ------------------
 2201|    214|                    {
 2202|    214|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2202:29): [True: 4, False: 210]
  ------------------
 2203|      4|                        {
 2204|      4|                            ec = cbor_errc::bad_extents;
 2205|      4|                            more_ = false;
 2206|      4|                            return;
 2207|      4|                        }
 2208|    210|                        typed_array_iter_ = std::make_shared<mdarray_iterator<int16_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2209|    210|                            typed_array_tags::int16, extents_, order_);
 2210|    210|                    }
 2211|  8.21k|                    else
 2212|  8.21k|                    {
 2213|  8.21k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<int16_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2214|  8.21k|                            typed_array_tags::int16);
 2215|  8.21k|                    }
 2216|  8.42k|                    typed_array_iter_->next(visitor, *this, ec);
 2217|  8.42k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2218|  8.42k|                    more_ = !cursor_mode_;
 2219|  8.42k|                    break;
 2220|  8.43k|                }
 2221|  1.67k|                case 0x4a:
  ------------------
  |  Branch (2221:17): [True: 1.67k, False: 161k]
  ------------------
 2222|  3.17k|                case 0x4e:
  ------------------
  |  Branch (2222:17): [True: 1.49k, False: 161k]
  ------------------
 2223|  3.17k|                {
 2224|  3.17k|                    array_tag_ = typed_array_tags::int32;
 2225|  3.17k|                    byte_string_type array_buffer(alloc_);
 2226|  3.17k|                    read(array_buffer, ec);
 2227|  3.17k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.17k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5, False: 3.16k]
  |  |  ------------------
  ------------------
 2228|      5|                    {
 2229|      5|                        more_ = false;
 2230|      5|                        return;
 2231|      5|                    }
 2232|  3.16k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2233|  3.16k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2234|  3.16k|                    auto ta = typed_array_cast<int32_t>(array_buffer);
 2235|  3.16k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2235:25): [True: 1.67k, False: 1.49k]
  ------------------
 2236|  1.67k|                    {
 2237|  45.3k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2237:49): [True: 43.7k, False: 1.67k]
  ------------------
 2238|  43.7k|                        {
 2239|  43.7k|                            ta[i] = binary::byte_swap<int32_t>(ta[i]);
 2240|  43.7k|                        }
 2241|  1.67k|                    }
 2242|  3.16k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2242:25): [True: 3.16k, False: 0]
  |  Branch (2242:42): [True: 316, False: 2.85k]
  ------------------
 2243|    316|                    {
 2244|    316|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2244:29): [True: 3, False: 313]
  ------------------
 2245|      3|                        {
 2246|      3|                            ec = cbor_errc::bad_extents;
 2247|      3|                            more_ = false;
 2248|      3|                            return;
 2249|      3|                        }
 2250|    313|                        typed_array_iter_ = std::make_shared<mdarray_iterator<int32_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2251|    313|                            typed_array_tags::int32, extents_, order_);
 2252|    313|                    }
 2253|  2.85k|                    else
 2254|  2.85k|                    {
 2255|  2.85k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<int32_t,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2256|  2.85k|                            typed_array_tags::int32);
 2257|  2.85k|                    }
 2258|  3.16k|                    typed_array_iter_->next(visitor, *this, ec);
 2259|  3.16k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2260|  3.16k|                    more_ = !cursor_mode_;
 2261|  3.16k|                    break;
 2262|  3.16k|                }
 2263|  4.11k|                case 0x4b:
  ------------------
  |  Branch (2263:17): [True: 4.11k, False: 158k]
  ------------------
 2264|  5.85k|                case 0x4f:
  ------------------
  |  Branch (2264:17): [True: 1.74k, False: 161k]
  ------------------
 2265|  5.85k|                {
 2266|  5.85k|                    array_tag_ = typed_array_tags::int64;
 2267|  5.85k|                    byte_string_type array_buffer(alloc_);
 2268|  5.85k|                    read(array_buffer, ec);
 2269|  5.85k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  5.85k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 11, False: 5.84k]
  |  |  ------------------
  ------------------
 2270|     11|                    {
 2271|     11|                        more_ = false;
 2272|     11|                        return;
 2273|     11|                    }
 2274|  5.84k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2275|  5.84k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2276|  5.84k|                    auto ta = typed_array_cast<int64_t>(array_buffer);
 2277|  5.84k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2277:25): [True: 4.10k, False: 1.74k]
  ------------------
 2278|  4.10k|                    {
 2279|  31.6k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2279:49): [True: 27.5k, False: 4.10k]
  ------------------
 2280|  27.5k|                        {
 2281|  27.5k|                            ta[i] = binary::byte_swap<int64_t>(ta[i]);
 2282|  27.5k|                        }
 2283|  4.10k|                    }
 2284|  5.84k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2284:25): [True: 5.84k, False: 0]
  |  Branch (2284:42): [True: 638, False: 5.20k]
  ------------------
 2285|    638|                    {
 2286|    638|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2286:29): [True: 3, False: 635]
  ------------------
 2287|      3|                        {
 2288|      3|                            ec = cbor_errc::bad_extents;
 2289|      3|                            more_ = false;
 2290|      3|                            return;
 2291|      3|                        }
 2292|    635|                        typed_array_iter_ = std::make_shared<mdarray_iterator<int64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2293|    635|                            typed_array_tags::int64, extents_, order_);
 2294|    635|                    }
 2295|  5.20k|                    else
 2296|  5.20k|                    {
 2297|  5.20k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<int64_t,jsoncons::identity,Allocator>>(std::move(array_buffer), typed_array_tags::int64);
 2298|  5.20k|                    }
 2299|  5.84k|                    typed_array_iter_->next(visitor, *this, ec);
 2300|  5.84k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2301|  5.84k|                    more_ = !cursor_mode_;
 2302|  5.84k|                    break;
 2303|  5.84k|                }
 2304|  2.58k|                case 0x50:
  ------------------
  |  Branch (2304:17): [True: 2.58k, False: 160k]
  ------------------
 2305|  4.18k|                case 0x54:
  ------------------
  |  Branch (2305:17): [True: 1.59k, False: 161k]
  ------------------
 2306|  4.18k|                {
 2307|  4.18k|                    array_tag_ = typed_array_tags::half_float;
 2308|  4.18k|                    byte_string_type array_buffer(alloc_);
 2309|  4.18k|                    read(array_buffer, ec);
 2310|  4.18k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.18k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5, False: 4.17k]
  |  |  ------------------
  ------------------
 2311|      5|                    {
 2312|      5|                        more_ = false;
 2313|      5|                        return;
 2314|      5|                    }
 2315|  4.17k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2316|  4.17k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2317|  4.17k|                    auto ta = typed_array_cast<uint16_t>(array_buffer);
 2318|  4.17k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2318:25): [True: 2.58k, False: 1.59k]
  ------------------
 2319|  2.58k|                    {
 2320|   230k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2320:49): [True: 227k, False: 2.58k]
  ------------------
 2321|   227k|                        {
 2322|   227k|                            ta[i] = binary::byte_swap<uint16_t>(ta[i]);
 2323|   227k|                        }
 2324|  2.58k|                    }
 2325|  4.17k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2325:25): [True: 4.17k, False: 0]
  |  Branch (2325:42): [True: 196, False: 3.98k]
  ------------------
 2326|    196|                    {
 2327|    196|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2327:29): [True: 1, False: 195]
  ------------------
 2328|      1|                        {
 2329|      1|                            ec = cbor_errc::bad_extents;
 2330|      1|                            more_ = false;
 2331|      1|                            return;
 2332|      1|                        }
 2333|    195|                        typed_array_iter_ = std::make_shared<mdarray_iterator<uint16_t,decode_half,Allocator>>(std::move(array_buffer), 
 2334|    195|                            typed_array_tags::half_float, extents_, order_);
 2335|    195|                    }
 2336|  3.98k|                    else
 2337|  3.98k|                    {
 2338|  3.98k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<uint16_t,decode_half,Allocator>>(std::move(array_buffer),
 2339|  3.98k|                            typed_array_tags::half_float);
 2340|  3.98k|                    }
 2341|  4.17k|                    typed_array_iter_->next(visitor, *this, ec);
 2342|  4.17k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2343|  4.17k|                    more_ = !cursor_mode_;
 2344|  4.17k|                    break;
 2345|  4.17k|                }
 2346|  13.4k|                case 0x51:
  ------------------
  |  Branch (2346:17): [True: 13.4k, False: 149k]
  ------------------
 2347|  14.1k|                case 0x55:
  ------------------
  |  Branch (2347:17): [True: 764, False: 162k]
  ------------------
 2348|  14.1k|                {
 2349|  14.1k|                    array_tag_ = typed_array_tags::float32;
 2350|  14.1k|                    byte_string_type array_buffer(alloc_);
 2351|  14.1k|                    read(array_buffer, ec);
 2352|  14.1k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  14.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5, False: 14.1k]
  |  |  ------------------
  ------------------
 2353|      5|                    {
 2354|      5|                        more_ = false;
 2355|      5|                        return;
 2356|      5|                    }
 2357|  14.1k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2358|  14.1k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2359|  14.1k|                    auto ta = typed_array_cast<float>(array_buffer);
 2360|  14.1k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2360:25): [True: 13.4k, False: 764]
  ------------------
 2361|  13.4k|                    {
 2362|   145k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2362:49): [True: 132k, False: 13.4k]
  ------------------
 2363|   132k|                        {
 2364|   132k|                            ta[i] = binary::byte_swap<float>(ta[i]);
 2365|   132k|                        }
 2366|  13.4k|                    }
 2367|  14.1k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2367:25): [True: 14.1k, False: 0]
  |  Branch (2367:42): [True: 918, False: 13.2k]
  ------------------
 2368|    918|                    {
 2369|    918|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2369:29): [True: 7, False: 911]
  ------------------
 2370|      7|                        {
 2371|      7|                            ec = cbor_errc::bad_extents;
 2372|      7|                            more_ = false;
 2373|      7|                            return;
 2374|      7|                        }
 2375|    911|                        typed_array_iter_ = std::make_shared<mdarray_iterator<float,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2376|    911|                            typed_array_tags::float32, extents_, order_);
 2377|    911|                    }
 2378|  13.2k|                    else
 2379|  13.2k|                    {
 2380|  13.2k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<float,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2381|  13.2k|                            typed_array_tags::float32);
 2382|  13.2k|                    }
 2383|  14.1k|                    typed_array_iter_->next(visitor, *this, ec);
 2384|  14.1k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2385|  14.1k|                    more_ = !cursor_mode_;
 2386|  14.1k|                    break;
 2387|  14.1k|                }
 2388|  3.68k|                case 0x52:
  ------------------
  |  Branch (2388:17): [True: 3.68k, False: 159k]
  ------------------
 2389|  4.13k|                case 0x56:
  ------------------
  |  Branch (2389:17): [True: 449, False: 162k]
  ------------------
 2390|  4.13k|                {
 2391|  4.13k|                    array_tag_ = typed_array_tags::float64;
 2392|  4.13k|                    byte_string_type array_buffer(alloc_);
 2393|  4.13k|                    read(array_buffer, ec);
 2394|  4.13k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.13k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 9, False: 4.12k]
  |  |  ------------------
  ------------------
 2395|      9|                    {
 2396|      9|                        more_ = false;
 2397|      9|                        return;
 2398|      9|                    }
 2399|  4.12k|                    const uint8_t tag = (uint8_t)raw_tag_;
 2400|  4.12k|                    jsoncons::endian e = get_typed_array_endianness(tag); 
 2401|  4.12k|                    auto ta = typed_array_cast<double>(array_buffer);
 2402|  4.12k|                    if (e != jsoncons::endian::native)
  ------------------
  |  Branch (2402:25): [True: 3.68k, False: 448]
  ------------------
 2403|  3.68k|                    {
 2404|  45.3k|                        for (std::size_t i = 0; i < ta.size(); ++i)
  ------------------
  |  Branch (2404:49): [True: 41.7k, False: 3.68k]
  ------------------
 2405|  41.7k|                        {
 2406|  41.7k|                            ta[i] = binary::byte_swap<double>(ta[i]);
 2407|  41.7k|                        }
 2408|  3.68k|                    }
 2409|  4.12k|                    if (!cursor_mode_ && state_stack_.back().mode == parse_mode::multi_dim) 
  ------------------
  |  Branch (2409:25): [True: 4.12k, False: 0]
  |  Branch (2409:42): [True: 386, False: 3.74k]
  ------------------
 2410|    386|                    {
 2411|    386|                        if (mdarray_size_ != ta.size())
  ------------------
  |  Branch (2411:29): [True: 3, False: 383]
  ------------------
 2412|      3|                        {
 2413|      3|                            ec = cbor_errc::bad_extents;
 2414|      3|                            more_ = false;
 2415|      3|                            return;
 2416|      3|                        }
 2417|    383|                        typed_array_iter_ = std::make_shared<mdarray_iterator<double,jsoncons::identity,Allocator>>(std::move(array_buffer), 
 2418|    383|                            typed_array_tags::float64, extents_, order_);
 2419|    383|                    }
 2420|  3.74k|                    else
 2421|  3.74k|                    {
 2422|  3.74k|                        typed_array_iter_ = std::make_shared<oned_typed_array_iterator<double,jsoncons::identity,Allocator>>(std::move(array_buffer),
 2423|  3.74k|                            typed_array_tags::float64);
 2424|  3.74k|                    }
 2425|  4.12k|                    typed_array_iter_->next(visitor, *this, ec);
 2426|  4.12k|                    state_stack_.emplace_back(parse_mode::typed_array, ta.size(), false);
 2427|  4.12k|                    more_ = !cursor_mode_;
 2428|  4.12k|                    break;
 2429|  4.12k|                }
 2430|  27.8k|                default:
  ------------------
  |  Branch (2430:17): [True: 27.8k, False: 135k]
  ------------------
 2431|  27.8k|                {
 2432|  27.8k|                    read(bytes_buffer_,ec);
 2433|  27.8k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  27.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 56, False: 27.7k]
  |  |  ------------------
  ------------------
 2434|     56|                    {
 2435|     56|                        more_ = false;
 2436|     56|                        return;
 2437|     56|                    }
 2438|  27.7k|                    visitor.byte_string_value(bytes_buffer_, raw_tag_, *this, ec);
 2439|  27.7k|                    more_ = !cursor_mode_;
 2440|  27.7k|                    break;
 2441|  27.8k|                }
 2442|   162k|            }
 2443|   162k|            other_tags_[item_tag] = false;
 2444|   162k|        }
 2445|  9.35M|        else
 2446|  9.35M|        {
 2447|  9.35M|            read(bytes_buffer_,ec);
 2448|  9.35M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  9.35M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 647, False: 9.35M]
  |  |  ------------------
  ------------------
 2449|    647|            {
 2450|    647|                return;
 2451|    647|            }
 2452|  9.35M|            visitor.byte_string_value(bytes_buffer_, semantic_tag::none, *this, ec);
 2453|  9.35M|            more_ = !cursor_mode_;
 2454|  9.35M|        }
 2455|  9.51M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE28read_byte_string_from_sourceclINS3_6vectorIhS5_EEEEvRT_RNS3_10error_codeE:
  187|  9.51M|        {
  188|  9.51M|            source->read_byte_string(cont,ec);
  189|  9.51M|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringERNS3_6vectorIhS5_EERNS3_10error_codeE:
 1136|  9.64M|    {
 1137|  9.64M|        v.clear();
 1138|  9.64M|        auto c = source_.peek();
 1139|  9.64M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  9.64M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 9.64M]
  |  |  ------------------
  ------------------
 1140|      0|        {
 1141|      0|            ec = cbor_errc::unexpected_eof;
 1142|      0|            return;
 1143|      0|        }
 1144|  9.64M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1145|  9.64M|        uint8_t info = get_additional_information_value(c.value);
 1146|       |
 1147|  9.64M|        JSONCONS_ASSERT(major_type == jsoncons::cbor::detail::cbor_major_type::byte_string);
  ------------------
  |  |   45|  9.64M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 9.64M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1148|       |
 1149|  9.64M|        switch(info)
 1150|  9.64M|        {
 1151|  1.53k|            case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (1151:13): [True: 1.53k, False: 9.64M]
  ------------------
 1152|  1.53k|            {
 1153|  1.53k|                auto func = [&v](Source& source, std::size_t length, std::error_code& ec) -> bool
 1154|  1.53k|                {
 1155|  1.53k|                    if (source_reader<Source>::read(source, v, length) != length)
 1156|  1.53k|                    {
 1157|  1.53k|                        ec = cbor_errc::unexpected_eof;
 1158|  1.53k|                        return false;
 1159|  1.53k|                    }
 1160|  1.53k|                    return true;
 1161|  1.53k|                };
 1162|  1.53k|                iterate_string_chunks(func, major_type, ec);
 1163|  1.53k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.53k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 226, False: 1.31k]
  |  |  ------------------
  ------------------
 1164|    226|                {
 1165|    226|                    return;
 1166|    226|                }
 1167|  1.31k|                break;
 1168|  1.53k|            }
 1169|  9.64M|            default:
  ------------------
  |  Branch (1169:13): [True: 9.64M, False: 1.53k]
  ------------------
 1170|  9.64M|            {
 1171|  9.64M|                std::size_t length = read_size(ec);
 1172|  9.64M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  9.64M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 7, False: 9.64M]
  |  |  ------------------
  ------------------
 1173|      7|                {
 1174|      7|                    return;
 1175|      7|                }
 1176|  9.64M|                if (source_reader<Source>::read(source_, v, length) != length)
  ------------------
  |  Branch (1176:21): [True: 592, False: 9.64M]
  ------------------
 1177|    592|                {
 1178|    592|                    ec = cbor_errc::unexpected_eof;
 1179|    592|                    return;
 1180|    592|                }
 1181|  9.64M|                if (!stringref_map_stack_.empty() &&
  ------------------
  |  Branch (1181:21): [True: 4.02M, False: 5.61M]
  ------------------
 1182|  4.02M|                    v.size() >= jsoncons::cbor::detail::min_length_for_stringref(stringref_map_stack_.back().size()))
  ------------------
  |  Branch (1182:21): [True: 2.14M, False: 1.88M]
  ------------------
 1183|  2.14M|                {
 1184|  2.14M|                    stringref_map_stack_.back().emplace_back(mapped_string(v, alloc_));
 1185|  2.14M|                }
 1186|  9.64M|                break;
 1187|  9.64M|            }
 1188|       |
 1189|  9.64M|        }
 1190|  9.64M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21iterate_string_chunksIZNS8_16read_byte_stringERNS3_6vectorIhS5_EERNS3_10error_codeEEUlRS6_mSE_E_EEvRT_NS0_6detail15cbor_major_typeESE_:
 1194|  1.53k|    {
 1195|  1.53k|        int nesting_level = 0;
 1196|       |
 1197|  1.53k|        bool done = false;
 1198|  4.84M|        while (!done)
  ------------------
  |  Branch (1198:16): [True: 4.84M, False: 1.31k]
  ------------------
 1199|  4.84M|        {
 1200|  4.84M|            auto c = source_.peek();
 1201|  4.84M|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  4.84M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 68, False: 4.84M]
  |  |  ------------------
  ------------------
 1202|     68|            {
 1203|     68|                ec = cbor_errc::unexpected_eof;
 1204|     68|                more_ = false;
 1205|     68|                return;
 1206|     68|            }
 1207|  4.84M|            if (nesting_level > 0 && c.value == 0xff)
  ------------------
  |  Branch (1207:17): [True: 4.84M, False: 1.53k]
  |  Branch (1207:38): [True: 350k, False: 4.49M]
  ------------------
 1208|   350k|            {
 1209|   350k|                --nesting_level;
 1210|   350k|                if (nesting_level == 0)
  ------------------
  |  Branch (1210:21): [True: 1.31k, False: 348k]
  ------------------
 1211|  1.31k|                {
 1212|  1.31k|                    done = true;
 1213|  1.31k|                }
 1214|   350k|                source_.ignore(1);
 1215|   350k|                continue;
 1216|   350k|            }
 1217|       |
 1218|  4.49M|            jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1219|  4.49M|            if (major_type != type)
  ------------------
  |  Branch (1219:17): [True: 47, False: 4.49M]
  ------------------
 1220|     47|            {
 1221|     47|                ec = cbor_errc::illegal_chunked_string;
 1222|     47|                more_ = false;
 1223|     47|                return;
 1224|     47|            }
 1225|  4.49M|            uint8_t info = get_additional_information_value(c.value);
 1226|       |
 1227|  4.49M|            switch (info)
 1228|  4.49M|            {
 1229|  4.35M|                case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (1229:17): [True: 4.35M, False: 141k]
  ------------------
 1230|  4.35M|                {
 1231|  4.35M|                    ++nesting_level;
 1232|  4.35M|                    source_.ignore(1);
 1233|  4.35M|                    break;
 1234|      0|                }
 1235|   141k|                default: // definite length
  ------------------
  |  Branch (1235:17): [True: 141k, False: 4.35M]
  ------------------
 1236|   141k|                {
 1237|   141k|                    std::size_t length = read_size(ec);
 1238|   141k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   141k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 141k]
  |  |  ------------------
  ------------------
 1239|      1|                    {
 1240|      1|                        return;
 1241|      1|                    }
 1242|   141k|                    more_ = func(source_, length, ec);
 1243|   141k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   141k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 110, False: 141k]
  |  |  ------------------
  ------------------
 1244|    110|                    {
 1245|    110|                        return;
 1246|    110|                    }
 1247|   141k|                    if (nesting_level == 0)
  ------------------
  |  Branch (1247:25): [True: 0, False: 141k]
  ------------------
 1248|      0|                    {
 1249|      0|                        done = true;
 1250|      0|                    }
 1251|   141k|                    break;
 1252|   141k|                }
 1253|  4.49M|            }
 1254|  4.49M|        } 
 1255|  1.53k|    }
_ZZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_byte_stringERNS3_6vectorIhS5_EERNS3_10error_codeEENKUlRS6_mSD_E_clESE_mSD_:
 1154|   141k|                {
 1155|   141k|                    if (source_reader<Source>::read(source, v, length) != length)
  ------------------
  |  Branch (1155:25): [True: 110, False: 141k]
  ------------------
 1156|    110|                    {
 1157|    110|                        ec = cbor_errc::unexpected_eof;
 1158|    110|                        return false;
 1159|    110|                    }
 1160|   141k|                    return true;
 1161|   141k|                };
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_sizeERNS3_10error_codeE:
 1120|  25.4M|    {
 1121|  25.4M|        uint64_t u = read_uint64(ec);
 1122|  25.4M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  25.4M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 99, False: 25.4M]
  |  |  ------------------
  ------------------
 1123|     99|        {
 1124|     99|            return 0;
 1125|     99|        }
 1126|  25.4M|        std::size_t len = static_cast<std::size_t>(u);
 1127|  25.4M|        if (len != u)
  ------------------
  |  Branch (1127:13): [True: 0, False: 25.4M]
  ------------------
 1128|      0|        {
 1129|      0|            ec = cbor_errc::number_too_large;
 1130|      0|            more_ = false;
 1131|      0|        }
 1132|  25.4M|        return len;
 1133|  25.4M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2EOS9_:
  107|  5.00M|        mapped_string(mapped_string&&) = default;
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2ERKNS3_6vectorIhS5_EERKS7_:
   96|  2.14M|            : type(jsoncons::cbor::detail::cbor_major_type::byte_string), str(alloc), bytes(bytes,alloc)
   97|  2.14M|        {
   98|  2.14M|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_text_stringERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
 1083|  1.35M|    {
 1084|  1.35M|        auto c = source_.peek();
 1085|  1.35M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  1.35M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 1.35M]
  |  |  ------------------
  ------------------
 1086|      0|        {
 1087|      0|            ec = cbor_errc::unexpected_eof;
 1088|      0|            more_ = false;
 1089|      0|            return;
 1090|      0|        }
 1091|  1.35M|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1092|  1.35M|        uint8_t info = get_additional_information_value(c.value);
 1093|       |
 1094|  1.35M|        JSONCONS_ASSERT(major_type == jsoncons::cbor::detail::cbor_major_type::text_string);
  ------------------
  |  |   45|  1.35M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 1.35M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1095|  1.35M|        auto func = [&str](Source& source, std::size_t length, std::error_code& ec) -> bool
 1096|  1.35M|        {
 1097|  1.35M|            if (source_reader<Source>::read(source, str, length) != length)
 1098|  1.35M|            {
 1099|  1.35M|                ec = cbor_errc::unexpected_eof;
 1100|  1.35M|                return false;
 1101|  1.35M|            }
 1102|  1.35M|            return true;
 1103|  1.35M|        };
 1104|  1.35M|        iterate_string_chunks(func, major_type, ec);
 1105|  1.35M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.35M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 417, False: 1.35M]
  |  |  ------------------
  ------------------
 1106|    417|        {
 1107|    417|            return;
 1108|    417|        }
 1109|       |
 1110|  1.35M|        if (!stringref_map_stack_.empty() && 
  ------------------
  |  Branch (1110:13): [True: 248k, False: 1.10M]
  ------------------
 1111|   248k|            info != jsoncons::cbor::detail::additional_info::indefinite_length &&
  ------------------
  |  Branch (1111:13): [True: 247k, False: 293]
  ------------------
 1112|   247k|            str.length() >= jsoncons::cbor::detail::min_length_for_stringref(stringref_map_stack_.back().size()))
  ------------------
  |  Branch (1112:13): [True: 31.1k, False: 216k]
  ------------------
 1113|  31.1k|        {
 1114|  31.1k|            stringref_map_stack_.back().emplace_back(mapped_string(str,alloc_));
 1115|  31.1k|        }
 1116|       |
 1117|  1.35M|    }
_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_:
 1194|  1.35M|    {
 1195|  1.35M|        int nesting_level = 0;
 1196|       |
 1197|  1.35M|        bool done = false;
 1198|  6.53M|        while (!done)
  ------------------
  |  Branch (1198:16): [True: 5.18M, False: 1.35M]
  ------------------
 1199|  5.18M|        {
 1200|  5.18M|            auto c = source_.peek();
 1201|  5.18M|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  5.18M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 51, False: 5.18M]
  |  |  ------------------
  ------------------
 1202|     51|            {
 1203|     51|                ec = cbor_errc::unexpected_eof;
 1204|     51|                more_ = false;
 1205|     51|                return;
 1206|     51|            }
 1207|  5.18M|            if (nesting_level > 0 && c.value == 0xff)
  ------------------
  |  Branch (1207:17): [True: 3.83M, False: 1.35M]
  |  Branch (1207:38): [True: 769k, False: 3.06M]
  ------------------
 1208|   769k|            {
 1209|   769k|                --nesting_level;
 1210|   769k|                if (nesting_level == 0)
  ------------------
  |  Branch (1210:21): [True: 526, False: 768k]
  ------------------
 1211|    526|                {
 1212|    526|                    done = true;
 1213|    526|                }
 1214|   769k|                source_.ignore(1);
 1215|   769k|                continue;
 1216|   769k|            }
 1217|       |
 1218|  4.41M|            jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(c.value);
 1219|  4.41M|            if (major_type != type)
  ------------------
  |  Branch (1219:17): [True: 54, False: 4.41M]
  ------------------
 1220|     54|            {
 1221|     54|                ec = cbor_errc::illegal_chunked_string;
 1222|     54|                more_ = false;
 1223|     54|                return;
 1224|     54|            }
 1225|  4.41M|            uint8_t info = get_additional_information_value(c.value);
 1226|       |
 1227|  4.41M|            switch (info)
 1228|  4.41M|            {
 1229|  3.05M|                case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (1229:17): [True: 3.05M, False: 1.35M]
  ------------------
 1230|  3.05M|                {
 1231|  3.05M|                    ++nesting_level;
 1232|  3.05M|                    source_.ignore(1);
 1233|  3.05M|                    break;
 1234|      0|                }
 1235|  1.35M|                default: // definite length
  ------------------
  |  Branch (1235:17): [True: 1.35M, False: 3.05M]
  ------------------
 1236|  1.35M|                {
 1237|  1.35M|                    std::size_t length = read_size(ec);
 1238|  1.35M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.35M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 1.35M]
  |  |  ------------------
  ------------------
 1239|      1|                    {
 1240|      1|                        return;
 1241|      1|                    }
 1242|  1.35M|                    more_ = func(source_, length, ec);
 1243|  1.35M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.35M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 311, False: 1.35M]
  |  |  ------------------
  ------------------
 1244|    311|                    {
 1245|    311|                        return;
 1246|    311|                    }
 1247|  1.35M|                    if (nesting_level == 0)
  ------------------
  |  Branch (1247:25): [True: 1.35M, False: 2.65k]
  ------------------
 1248|  1.35M|                    {
 1249|  1.35M|                        done = true;
 1250|  1.35M|                    }
 1251|  1.35M|                    break;
 1252|  1.35M|                }
 1253|  4.41M|            }
 1254|  4.41M|        } 
 1255|  1.35M|    }
_ZZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE16read_text_stringERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeEENKUlRS6_mSF_E_clESG_mSF_:
 1096|  1.35M|        {
 1097|  1.35M|            if (source_reader<Source>::read(source, str, length) != length)
  ------------------
  |  Branch (1097:17): [True: 311, False: 1.35M]
  ------------------
 1098|    311|            {
 1099|    311|                ec = cbor_errc::unexpected_eof;
 1100|    311|                return false;
 1101|    311|            }
 1102|  1.35M|            return true;
 1103|  1.35M|        };
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13mapped_stringC2ERKNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERKS7_:
   85|  31.1k|            : type(jsoncons::cbor::detail::cbor_major_type::text_string), str(str.c_str(), str.size(), alloc), bytes(alloc)
   86|  31.1k|        {
   87|  31.1k|        }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_doubleERNS3_10error_codeE:
 1428|  17.1k|    {
 1429|  17.1k|        double val = 0;
 1430|       |
 1431|  17.1k|        uint8_t b;
 1432|  17.1k|        if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1432:13): [True: 0, False: 17.1k]
  ------------------
 1433|      0|        {
 1434|      0|            ec = cbor_errc::unexpected_eof;
 1435|      0|            more_ = false;
 1436|      0|            return 0;
 1437|      0|        }
 1438|  17.1k|        uint8_t info = get_additional_information_value(b);
 1439|  17.1k|        switch (info)
 1440|  17.1k|        {
 1441|  10.3k|        case 0x1a: // Single-Precision Float (four-byte IEEE 754)
  ------------------
  |  Branch (1441:9): [True: 10.3k, False: 6.76k]
  ------------------
 1442|  10.3k|            {
 1443|  10.3k|                uint8_t buf[sizeof(float)];
 1444|  10.3k|                if (source_.read(buf, sizeof(float)) !=sizeof(float)) 
  ------------------
  |  Branch (1444:21): [True: 30, False: 10.3k]
  ------------------
 1445|     30|                {
 1446|     30|                    ec = cbor_errc::unexpected_eof;
 1447|     30|                    more_ = false;
 1448|     30|                    return 0;
 1449|     30|                }
 1450|  10.3k|                val = binary::big_to_native<float>(buf, sizeof(buf));
 1451|  10.3k|                break;
 1452|  10.3k|            }
 1453|       |
 1454|  6.76k|        case 0x1b: //  Double-Precision Float (eight-byte IEEE 754)
  ------------------
  |  Branch (1454:9): [True: 6.76k, False: 10.3k]
  ------------------
 1455|  6.76k|            {
 1456|  6.76k|                uint8_t buf[sizeof(double)];
 1457|  6.76k|                if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (1457:21): [True: 56, False: 6.71k]
  ------------------
 1458|     56|                {
 1459|     56|                    ec = cbor_errc::unexpected_eof;
 1460|     56|                    more_ = false;
 1461|     56|                    return 0;
 1462|     56|                }
 1463|  6.71k|                val = binary::big_to_native<double>(buf, sizeof(buf));
 1464|  6.71k|                break;
 1465|  6.76k|            }
 1466|      0|            default:
  ------------------
  |  Branch (1466:13): [True: 0, False: 17.1k]
  ------------------
 1467|      0|                break;
 1468|  17.1k|        }
 1469|       |        
 1470|  17.0k|        return val;
 1471|  17.1k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21read_decimal_fractionERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
 1474|   698k|    {
 1475|   698k|        std::size_t size = read_size(ec);
 1476|   698k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   698k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 698k]
  |  |  ------------------
  ------------------
 1477|      1|        {
 1478|      1|            return;
 1479|      1|        }
 1480|   698k|        if (size != 2)
  ------------------
  |  Branch (1480:13): [True: 86, False: 698k]
  ------------------
 1481|     86|        {
 1482|     86|            ec = cbor_errc::invalid_decimal_fraction;
 1483|     86|            more_ = false;
 1484|     86|            return;
 1485|     86|        }
 1486|       |
 1487|   698k|        auto c = source_.peek();
 1488|   698k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   698k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 8, False: 698k]
  |  |  ------------------
  ------------------
 1489|      8|        {
 1490|      8|            ec = cbor_errc::unexpected_eof;
 1491|      8|            more_ = false;
 1492|      8|            return;
 1493|      8|        }
 1494|   698k|        int64_t exponent = 0;
 1495|   698k|        switch (get_major_type(c.value))
 1496|   698k|        {
 1497|  41.5k|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1497:13): [True: 41.5k, False: 656k]
  ------------------
 1498|  41.5k|            {
 1499|  41.5k|                exponent = read_uint64(ec);
 1500|  41.5k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  41.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 41.5k]
  |  |  ------------------
  ------------------
 1501|      1|                {
 1502|      1|                    return;
 1503|      1|                }
 1504|  41.5k|                break;
 1505|  41.5k|            }
 1506|   656k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1506:13): [True: 656k, False: 41.5k]
  ------------------
 1507|   656k|            {
 1508|   656k|                exponent = read_int64(ec);
 1509|   656k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   656k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 656k]
  |  |  ------------------
  ------------------
 1510|      1|                {
 1511|      1|                    return;
 1512|      1|                }
 1513|   656k|                break;
 1514|   656k|            }
 1515|   656k|            default:
  ------------------
  |  Branch (1515:13): [True: 18, False: 698k]
  ------------------
 1516|     18|            {
 1517|     18|                ec = cbor_errc::invalid_decimal_fraction;
 1518|     18|                more_ = false;
 1519|     18|                return;
 1520|   656k|            }
 1521|   698k|        }
 1522|       |
 1523|   698k|        string_type str(alloc_);
 1524|       |
 1525|   698k|        c = source_.peek();
 1526|   698k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   698k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 25, False: 698k]
  |  |  ------------------
  ------------------
 1527|     25|        {
 1528|     25|            ec = cbor_errc::unexpected_eof;
 1529|     25|            more_ = false;
 1530|     25|            return;
 1531|     25|        }
 1532|       |
 1533|   698k|        switch (get_major_type(c.value))
 1534|   698k|        {
 1535|  9.46k|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1535:13): [True: 9.46k, False: 688k]
  ------------------
 1536|  9.46k|            {
 1537|  9.46k|                uint64_t val = read_uint64(ec);
 1538|  9.46k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  9.46k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 9.46k]
  |  |  ------------------
  ------------------
 1539|      1|                {
 1540|      1|                    return;
 1541|      1|                }
 1542|  9.46k|                jsoncons::from_integer(val, str);
 1543|  9.46k|                break;
 1544|  9.46k|            }
 1545|   656k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1545:13): [True: 656k, False: 42.0k]
  ------------------
 1546|   656k|            {
 1547|   656k|                int64_t val = read_int64(ec);
 1548|   656k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   656k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 656k]
  |  |  ------------------
  ------------------
 1549|      2|                {
 1550|      2|                    return;
 1551|      2|                }
 1552|   656k|                jsoncons::from_integer(val, str);
 1553|   656k|                break;
 1554|   656k|            }
 1555|  32.5k|            case jsoncons::cbor::detail::cbor_major_type::semantic_tag:
  ------------------
  |  Branch (1555:13): [True: 32.5k, False: 665k]
  ------------------
 1556|  32.5k|            {
 1557|  32.5k|                uint8_t b;
 1558|  32.5k|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1558:21): [True: 0, False: 32.5k]
  ------------------
 1559|      0|                {
 1560|      0|                    ec = cbor_errc::unexpected_eof;
 1561|      0|                    more_ = false;
 1562|      0|                    return;
 1563|      0|                }
 1564|  32.5k|                uint8_t tag = get_additional_information_value(b);
 1565|  32.5k|                c = source_.peek();
 1566|  32.5k|                if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  32.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 32.5k]
  |  |  ------------------
  ------------------
 1567|      4|                {
 1568|      4|                    ec = cbor_errc::unexpected_eof;
 1569|      4|                    more_ = false;
 1570|      4|                    return;
 1571|      4|                }
 1572|       |
 1573|  32.5k|                if (get_major_type(c.value) == jsoncons::cbor::detail::cbor_major_type::byte_string)
  ------------------
  |  Branch (1573:21): [True: 32.5k, False: 13]
  ------------------
 1574|  32.5k|                {
 1575|  32.5k|                    bytes_buffer_.clear();
 1576|  32.5k|                    read_byte_string(bytes_buffer_, ec);
 1577|  32.5k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  32.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 13, False: 32.5k]
  |  |  ------------------
  ------------------
 1578|     13|                    {
 1579|     13|                        more_ = false;
 1580|     13|                        return;
 1581|     13|                    }
 1582|  32.5k|                    if (tag == 2)
  ------------------
  |  Branch (1582:25): [True: 671, False: 31.8k]
  ------------------
 1583|    671|                    {
 1584|    671|                        bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1585|    671|                        n.write_string(str);
 1586|    671|                    }
 1587|  31.8k|                    else if (tag == 3)
  ------------------
  |  Branch (1587:30): [True: 31.8k, False: 10]
  ------------------
 1588|  31.8k|                    {
 1589|  31.8k|                        bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1590|  31.8k|                        n = -1 - n;
 1591|  31.8k|                        n.write_string(str);
 1592|  31.8k|                    }
 1593|  32.5k|                }
 1594|  32.5k|                break;
 1595|  32.5k|            }
 1596|  32.5k|            default:
  ------------------
  |  Branch (1596:13): [True: 9, False: 698k]
  ------------------
 1597|      9|            {
 1598|      9|                ec = cbor_errc::invalid_decimal_fraction;
 1599|      9|                more_ = false;
 1600|      9|                return;
 1601|  32.5k|            }
 1602|   698k|        }
 1603|       |
 1604|   698k|        if (str.size() >= static_cast<std::size_t>((std::numeric_limits<int32_t>::max)()) || 
  ------------------
  |  Branch (1604:13): [True: 0, False: 698k]
  ------------------
 1605|   698k|            exponent >= (std::numeric_limits<int32_t>::max)() || 
  ------------------
  |  Branch (1605:13): [True: 2, False: 698k]
  ------------------
 1606|   698k|            exponent <= (std::numeric_limits<int32_t>::min)())
  ------------------
  |  Branch (1606:13): [True: 57, False: 698k]
  ------------------
 1607|     59|        {
 1608|     59|            ec = cbor_errc::invalid_decimal_fraction;
 1609|     59|            more_ = false;
 1610|     59|            return;
 1611|     59|        }
 1612|   698k|        else if (str.size() > 0)
  ------------------
  |  Branch (1612:18): [True: 698k, False: 23]
  ------------------
 1613|   698k|        {
 1614|   698k|            if (str[0] == '-')
  ------------------
  |  Branch (1614:17): [True: 687k, False: 10.1k]
  ------------------
 1615|   687k|            {
 1616|   687k|                result.push_back('-');
 1617|   687k|                jsoncons::prettify_string(str.c_str()+1, str.size()-1, (int)exponent, -4, 17, result);
 1618|   687k|            }
 1619|  10.1k|            else
 1620|  10.1k|            {
 1621|  10.1k|                jsoncons::prettify_string(str.c_str(), str.size(), (int)exponent, -4, 17, result);
 1622|  10.1k|            }
 1623|   698k|        }
 1624|     23|        else
 1625|     23|        {
 1626|     23|            ec = cbor_errc::invalid_decimal_fraction;
 1627|     23|            more_ = false;
 1628|     23|            return;
 1629|     23|        }
 1630|   698k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE13read_bigfloatERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
 1633|   113k|    {
 1634|   113k|        std::size_t size = read_size(ec);
 1635|   113k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   113k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 113k]
  |  |  ------------------
  ------------------
 1636|      1|        {
 1637|      1|            return;
 1638|      1|        }
 1639|   113k|        if (size != 2)
  ------------------
  |  Branch (1639:13): [True: 88, False: 113k]
  ------------------
 1640|     88|        {
 1641|     88|            ec = cbor_errc::invalid_bigfloat;
 1642|     88|            more_ = false;
 1643|     88|            return;
 1644|     88|        }
 1645|       |
 1646|   113k|        auto c = source_.peek();
 1647|   113k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   113k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 10, False: 113k]
  |  |  ------------------
  ------------------
 1648|     10|        {
 1649|     10|            ec = cbor_errc::unexpected_eof;
 1650|     10|            more_ = false;
 1651|     10|            return;
 1652|     10|        }
 1653|   113k|        int64_t exponent = 0;
 1654|   113k|        switch (get_major_type(c.value))
 1655|   113k|        {
 1656|   100k|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1656:13): [True: 100k, False: 13.7k]
  ------------------
 1657|   100k|            {
 1658|   100k|                exponent = read_uint64(ec);
 1659|   100k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   100k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 100k]
  |  |  ------------------
  ------------------
 1660|      1|                {
 1661|      1|                    return;
 1662|      1|                }
 1663|   100k|                break;
 1664|   100k|            }
 1665|   100k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1665:13): [True: 13.7k, False: 100k]
  ------------------
 1666|  13.7k|            {
 1667|  13.7k|                exponent = read_int64(ec);
 1668|  13.7k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  13.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3, False: 13.7k]
  |  |  ------------------
  ------------------
 1669|      3|                {
 1670|      3|                    return;
 1671|      3|                }
 1672|  13.7k|                break;
 1673|  13.7k|            }
 1674|  13.7k|            default:
  ------------------
  |  Branch (1674:13): [True: 18, False: 113k]
  ------------------
 1675|     18|            {
 1676|     18|                ec = cbor_errc::invalid_bigfloat;
 1677|     18|                more_ = false;
 1678|     18|                return;
 1679|  13.7k|            }
 1680|   113k|        }
 1681|       |
 1682|   113k|        c = source_.peek();
 1683|   113k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   113k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 14, False: 113k]
  |  |  ------------------
  ------------------
 1684|     14|        {
 1685|     14|            ec = cbor_errc::unexpected_eof;
 1686|     14|            more_ = false;
 1687|     14|            return;
 1688|     14|        }
 1689|   113k|        switch (get_major_type(c.value))
 1690|   113k|        {
 1691|  3.24k|            case jsoncons::cbor::detail::cbor_major_type::unsigned_integer:
  ------------------
  |  Branch (1691:13): [True: 3.24k, False: 110k]
  ------------------
 1692|  3.24k|            {
 1693|  3.24k|                uint64_t val = read_uint64(ec);
 1694|  3.24k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  3.24k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 3.24k]
  |  |  ------------------
  ------------------
 1695|      1|                {
 1696|      1|                    return;
 1697|      1|                }
 1698|  3.24k|                str.push_back('0');
 1699|  3.24k|                str.push_back('x');
 1700|  3.24k|                jsoncons::integer_to_hex(val, str);
 1701|  3.24k|                break;
 1702|  3.24k|            }
 1703|  2.94k|            case jsoncons::cbor::detail::cbor_major_type::negative_integer:
  ------------------
  |  Branch (1703:13): [True: 2.94k, False: 110k]
  ------------------
 1704|  2.94k|            {
 1705|  2.94k|                int64_t val = read_int64(ec);
 1706|  2.94k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  2.94k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 2.94k]
  |  |  ------------------
  ------------------
 1707|      1|                {
 1708|      1|                    return;
 1709|      1|                }
 1710|  2.94k|                str.push_back('-');
 1711|  2.94k|                str.push_back('0');
 1712|  2.94k|                str.push_back('x');
 1713|  2.94k|                jsoncons::integer_to_hex(static_cast<uint64_t>(-val), str);
 1714|  2.94k|                break;
 1715|  2.94k|            }
 1716|   107k|            case jsoncons::cbor::detail::cbor_major_type::semantic_tag:
  ------------------
  |  Branch (1716:13): [True: 107k, False: 6.20k]
  ------------------
 1717|   107k|            {
 1718|   107k|                uint8_t b;
 1719|   107k|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (1719:21): [True: 0, False: 107k]
  ------------------
 1720|      0|                {
 1721|      0|                    ec = cbor_errc::unexpected_eof;
 1722|      0|                    more_ = false;
 1723|      0|                    return;
 1724|      0|                }
 1725|   107k|                uint8_t tag = get_additional_information_value(b);
 1726|       |
 1727|   107k|                c = source_.peek();
 1728|   107k|                if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|   107k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 13, False: 107k]
  |  |  ------------------
  ------------------
 1729|     13|                {
 1730|     13|                    ec = cbor_errc::unexpected_eof;
 1731|     13|                    more_ = false;
 1732|     13|                    return;
 1733|     13|                }
 1734|       |
 1735|   107k|                if (get_major_type(c.value) == jsoncons::cbor::detail::cbor_major_type::byte_string)
  ------------------
  |  Branch (1735:21): [True: 94.3k, False: 13.3k]
  ------------------
 1736|  94.3k|                {
 1737|  94.3k|                    bytes_buffer_.clear(); 
 1738|  94.3k|                    read_byte_string(bytes_buffer_, ec);
 1739|  94.3k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  94.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 11, False: 94.3k]
  |  |  ------------------
  ------------------
 1740|     11|                    {
 1741|     11|                        more_ = false;
 1742|     11|                        return;
 1743|     11|                    }
 1744|  94.3k|                    if (tag == 2)
  ------------------
  |  Branch (1744:25): [True: 92.6k, False: 1.64k]
  ------------------
 1745|  92.6k|                    {
 1746|  92.6k|                        str.push_back('0');
 1747|  92.6k|                        str.push_back('x');
 1748|  92.6k|                        bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1749|  92.6k|                        n.write_string_hex(str);
 1750|  92.6k|                    }
 1751|  1.64k|                    else if (tag == 3)
  ------------------
  |  Branch (1751:30): [True: 1.02k, False: 624]
  ------------------
 1752|  1.02k|                    {
 1753|  1.02k|                        str.push_back('-');
 1754|  1.02k|                        str.push_back('0');
 1755|  1.02k|                        bigint n = bigint::from_bytes_be(1, bytes_buffer_.data(), bytes_buffer_.size());
 1756|  1.02k|                        n = -1 - n;
 1757|  1.02k|                        n.write_string_hex(str);
 1758|  1.02k|                        str[2] = 'x'; // overwrite minus
 1759|  1.02k|                    }
 1760|  94.3k|                }
 1761|   107k|                break;
 1762|   107k|            }
 1763|   107k|            default:
  ------------------
  |  Branch (1763:13): [True: 12, False: 113k]
  ------------------
 1764|     12|            {
 1765|     12|                ec = cbor_errc::invalid_bigfloat;
 1766|     12|                more_ = false;
 1767|     12|                return;
 1768|   107k|            }
 1769|   113k|        }
 1770|       |
 1771|   113k|        str.push_back('p');
 1772|   113k|        if (exponent >=0)
  ------------------
  |  Branch (1772:13): [True: 100k, False: 12.8k]
  ------------------
 1773|   100k|        {
 1774|   100k|            jsoncons::integer_to_hex(static_cast<uint64_t>(exponent), str);
 1775|   100k|        }
 1776|  12.8k|        else
 1777|  12.8k|        {
 1778|  12.8k|            str.push_back('-');
 1779|  12.8k|            jsoncons::integer_to_hex(static_cast<uint64_t>(-exponent), str);
 1780|  12.8k|        }
 1781|   113k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE19read_mdarray_headerERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
 2458|  5.99k|    {
 2459|  5.99k|        uint8_t b;
 2460|  5.99k|        if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (2460:13): [True: 0, False: 5.99k]
  ------------------
 2461|      0|        {
 2462|      0|            ec = cbor_errc::unexpected_eof;
 2463|      0|            more_ = false;
 2464|      0|            return;
 2465|      0|        }
 2466|  5.99k|        jsoncons::cbor::detail::cbor_major_type major_type = get_major_type(b);
 2467|  5.99k|        JSONCONS_ASSERT(major_type == jsoncons::cbor::detail::cbor_major_type::array);
  ------------------
  |  |   45|  5.99k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 5.99k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 2468|  5.99k|        uint8_t info = get_additional_information_value(b);
 2469|       |       
 2470|  5.99k|        read_extents(ec);   
 2471|  5.99k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  5.99k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 159, False: 5.83k]
  |  |  ------------------
  ------------------
 2472|    159|        {
 2473|    159|            return;
 2474|    159|        }
 2475|       |
 2476|  5.83k|        read_tags(ec);
 2477|  5.83k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  5.83k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 18, False: 5.81k]
  |  |  ------------------
  ------------------
 2478|     18|        {
 2479|     18|            return;
 2480|     18|        }
 2481|  5.81k|        auto c = source_.peek();
 2482|  5.81k|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  5.81k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 5.81k]
  |  |  ------------------
  ------------------
 2483|      0|        {
 2484|      0|            ec = cbor_errc::unexpected_eof;
 2485|      0|            more_ = false;
 2486|      0|            return;
 2487|      0|        }
 2488|  5.81k|        major_type = get_major_type(c.value);
 2489|  5.81k|        info = get_additional_information_value(c.value);
 2490|  5.81k|        multi_dim_stack_.push_back(typed_array_iter_);
 2491|  5.81k|        state_stack_.emplace_back(parse_mode::multi_dim, 0);
 2492|  5.81k|        ++state_stack_.back().index;
 2493|       |
 2494|  5.81k|        if (major_type == jsoncons::cbor::detail::cbor_major_type::array && order_ == mdarray_order::row_major) 
  ------------------
  |  Branch (2494:13): [True: 1.51k, False: 4.29k]
  |  Branch (2494:77): [True: 1.18k, False: 336]
  ------------------
 2495|  1.18k|        {
 2496|  1.18k|            begin_classical_array_storage(info, ec);
 2497|  1.18k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.18k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 1.18k]
  |  |  ------------------
  ------------------
 2498|      2|            {
 2499|      2|                return;
 2500|      2|            }
 2501|  1.18k|            typed_array_iter_ = std::make_shared<cbor_mdarray_row_major_iterator<Source,Allocator>>(extents_, this, cursor_mode_);
 2502|  1.18k|            if (!typed_array_iter_->done())
  ------------------
  |  Branch (2502:17): [True: 1.18k, False: 0]
  ------------------
 2503|  1.18k|            {
 2504|  1.18k|                typed_array_iter_->next(visitor, *this, ec);
 2505|  1.18k|            }
 2506|  1.18k|        }
 2507|  4.63k|        else if (major_type == jsoncons::cbor::detail::cbor_major_type::array && order_ == mdarray_order::column_major) 
  ------------------
  |  Branch (2507:18): [True: 336, False: 4.29k]
  |  Branch (2507:82): [True: 336, False: 0]
  ------------------
 2508|    336|        {
 2509|    336|            begin_classical_array_storage(info, ec);
 2510|    336|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    336|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 335]
  |  |  ------------------
  ------------------
 2511|      1|            {
 2512|      1|                return;
 2513|      1|            }
 2514|    335|            typed_array_iter_ = std::make_shared<cbor_mdarray_column_major_iterator<Source,Allocator>>(extents_, this, cursor_mode_);
 2515|    335|            if (!typed_array_iter_->done())
  ------------------
  |  Branch (2515:17): [True: 335, False: 0]
  ------------------
 2516|    335|            {
 2517|    335|                typed_array_iter_->next(visitor, *this, ec);
 2518|    335|            }
 2519|    335|        }
 2520|  4.29k|        else if (major_type == jsoncons::cbor::detail::cbor_major_type::byte_string)
  ------------------
  |  Branch (2520:18): [True: 4.22k, False: 66]
  ------------------
 2521|  4.22k|        {
 2522|  4.22k|            read_byte_string_from_source read(this);
 2523|  4.22k|            read_byte_string(read, visitor, ec);
 2524|  4.22k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.22k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 37, False: 4.19k]
  |  |  ------------------
  ------------------
 2525|     37|            {
 2526|     37|                return;
 2527|     37|            }
 2528|  4.22k|        }
 2529|     66|        else
 2530|     66|        {
 2531|     66|            ec = cbor_errc::bad_mdarray;
 2532|     66|            return;
 2533|     66|        }
 2534|       |        // cursor case
 2535|  5.81k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12read_extentsERNS3_10error_codeE:
 2538|  5.99k|    {
 2539|  5.99k|        extents_.clear();
 2540|       |
 2541|  5.99k|        auto b = source_.peek();
 2542|  5.99k|        if (JSONCONS_UNLIKELY(b.eof))
  ------------------
  |  |   78|  5.99k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 9, False: 5.98k]
  |  |  ------------------
  ------------------
 2543|      9|        {
 2544|      9|            ec = cbor_errc::unexpected_eof;
 2545|      9|            more_ = false;
 2546|      9|            return;
 2547|      9|        }
 2548|  5.98k|        uint8_t info = get_additional_information_value(b.value);
 2549|       |
 2550|  5.98k|        switch (info)
 2551|  5.98k|        {
 2552|    318|            case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (2552:13): [True: 318, False: 5.66k]
  ------------------
 2553|    318|            {
 2554|  1.26M|                while (true)
  ------------------
  |  Branch (2554:24): [True: 1.26M, Folded]
  ------------------
 2555|  1.26M|                {
 2556|  1.26M|                    auto c = source_.peek();
 2557|  1.26M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   78|  1.26M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 28, False: 1.26M]
  |  |  ------------------
  ------------------
 2558|     28|                    {
 2559|     28|                        ec = cbor_errc::unexpected_eof;
 2560|     28|                        more_ = false;
 2561|     28|                        return;
 2562|     28|                    }
 2563|  1.26M|                    if (c.value == 0xff)
  ------------------
  |  Branch (2563:25): [True: 286, False: 1.26M]
  ------------------
 2564|    286|                    {
 2565|    286|                        source_.ignore(1);
 2566|    286|                        return;
 2567|    286|                    }
 2568|  1.26M|                    else
 2569|  1.26M|                    {
 2570|  1.26M|                        std::size_t extent = read_size(ec);
 2571|  1.26M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.26M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 1.26M]
  |  |  ------------------
  ------------------
 2572|      4|                        {
 2573|      4|                            more_ = false;
 2574|      4|                            return;
 2575|      4|                        }
 2576|  1.26M|                        extents_.push_back(extent);
 2577|  1.26M|                    }
 2578|  1.26M|                }
 2579|      0|                break;
 2580|    318|            }
 2581|  5.66k|            default:
  ------------------
  |  Branch (2581:13): [True: 5.66k, False: 318]
  ------------------
 2582|  5.66k|            {
 2583|  5.66k|                std::size_t size = read_size(ec);
 2584|  5.66k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  5.66k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 5.66k]
  |  |  ------------------
  ------------------
 2585|      1|                {
 2586|      1|                    more_ = false;
 2587|      1|                    return;
 2588|      1|                }
 2589|   438k|                for (std::size_t i = 0; more_ && i < size; ++i)
  ------------------
  |  Branch (2589:41): [True: 438k, False: 0]
  |  Branch (2589:50): [True: 432k, False: 5.59k]
  ------------------
 2590|   432k|                {
 2591|   432k|                    std::size_t extent = read_size(ec);
 2592|   432k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   432k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 71, False: 432k]
  |  |  ------------------
  ------------------
 2593|     71|                    {
 2594|     71|                        more_ = false;
 2595|     71|                        return;
 2596|     71|                    }
 2597|   432k|                    extents_.push_back(extent);
 2598|   432k|                }
 2599|  5.59k|                break;
 2600|  5.66k|            }
 2601|  5.98k|        }
 2602|  5.59k|        auto r = calculate_mdarray_size(extents_);
 2603|  5.59k|        if (!r || *r == 0)
  ------------------
  |  Branch (2603:13): [True: 33, False: 5.55k]
  |  Branch (2603:19): [True: 13, False: 5.54k]
  ------------------
 2604|     46|        {
 2605|     46|            ec = cbor_errc::bad_extents;
 2606|     46|            more_ = false;
 2607|     46|            return;
 2608|     46|        }
 2609|  5.54k|        mdarray_size_ = *r;
 2610|  5.54k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE29begin_classical_array_storageEhRNS3_10error_codeE:
  961|  1.51k|    {
  962|  1.51k|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|  1.51k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 1.51k]
  |  |  ------------------
  ------------------
  963|      2|        {
  964|      2|            ec = cbor_errc::max_nesting_depth_exceeded;
  965|      2|            more_ = false;
  966|      2|            return;
  967|      2|        }
  968|  1.51k|        bool pop_stringref_map_stack = false;
  969|  1.51k|        if (other_tags_[stringref_namespace_tag])
  ------------------
  |  Branch (969:13): [True: 56, False: 1.46k]
  ------------------
  970|     56|        {
  971|     56|            stringref_map_stack_.emplace_back();
  972|     56|            other_tags_[stringref_namespace_tag] = false;
  973|     56|            pop_stringref_map_stack = true;
  974|     56|        }
  975|  1.51k|        switch (info)
  976|  1.51k|        {
  977|    689|            case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (977:13): [True: 689, False: 828]
  ------------------
  978|    689|            {
  979|    689|                state_stack_.emplace_back(parse_mode::indefinite_array, 0, pop_stringref_map_stack);
  980|    689|                more_ = !cursor_mode_;
  981|    689|                source_.ignore(1);
  982|    689|                break;
  983|      0|            }
  984|    828|            default: // definite length
  ------------------
  |  Branch (984:13): [True: 828, False: 689]
  ------------------
  985|    828|            {
  986|    828|                std::size_t len = read_size(ec);
  987|    828|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    828|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 827]
  |  |  ------------------
  ------------------
  988|      1|                {
  989|      1|                    return;
  990|      1|                }
  991|    827|                state_stack_.emplace_back(parse_mode::array, len, pop_stringref_map_stack);
  992|    827|                more_ = !cursor_mode_;
  993|    827|                break;
  994|    828|            }
  995|  1.51k|        }
  996|  1.51k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_24basic_item_event_visitorIcEEhRNS3_10error_codeE:
  891|  1.06M|    {
  892|  1.06M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|  1.06M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 7, False: 1.06M]
  |  |  ------------------
  ------------------
  893|      7|        {
  894|      7|            ec = cbor_errc::max_nesting_depth_exceeded;
  895|      7|            more_ = false;
  896|      7|            return;
  897|      7|        } 
  898|  1.06M|        semantic_tag tag = semantic_tag::none;
  899|  1.06M|        bool pop_stringref_map_stack = false;
  900|  1.06M|        if (other_tags_[stringref_namespace_tag])
  ------------------
  |  Branch (900:13): [True: 3.15k, False: 1.05M]
  ------------------
  901|  3.15k|        {
  902|  3.15k|            stringref_map_stack_.emplace_back();
  903|  3.15k|            other_tags_[stringref_namespace_tag] = false;
  904|  3.15k|            pop_stringref_map_stack = true;
  905|  3.15k|        }
  906|  1.06M|        switch (info)
  907|  1.06M|        {
  908|   465k|            case jsoncons::cbor::detail::additional_info::indefinite_length:
  ------------------
  |  Branch (908:13): [True: 465k, False: 594k]
  ------------------
  909|   465k|            {
  910|   465k|                state_stack_.emplace_back(parse_mode::indefinite_array,0,pop_stringref_map_stack);
  911|   465k|                visitor.begin_array(tag, *this, ec);
  912|   465k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   465k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 465k]
  |  |  ------------------
  ------------------
  913|      0|                {
  914|      0|                    return;
  915|      0|                }
  916|   465k|                more_ = !cursor_mode_;
  917|   465k|                source_.ignore(1);
  918|   465k|                break;
  919|   465k|            }
  920|   594k|            default: // definite length
  ------------------
  |  Branch (920:13): [True: 594k, False: 465k]
  ------------------
  921|   594k|            {
  922|   594k|                std::size_t len = read_size(ec);
  923|   594k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   594k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 7, False: 594k]
  |  |  ------------------
  ------------------
  924|      7|                {
  925|      7|                    return;
  926|      7|                }
  927|   594k|                state_stack_.emplace_back(parse_mode::array,len,pop_stringref_map_stack);
  928|   594k|                visitor.begin_array(len, tag, *this, ec);
  929|   594k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   594k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 594k]
  |  |  ------------------
  ------------------
  930|      0|                {
  931|      0|                    return;
  932|      0|                }
  933|   594k|                more_ = !cursor_mode_;
  934|   594k|                break;
  935|   594k|            }
  936|  1.06M|        }
  937|  1.06M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12begin_objectERNS_24basic_item_event_visitorIcEEhRNS3_10error_codeE:
 1015|  11.5M|    {
 1016|  11.5M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|  11.5M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3, False: 11.5M]
  |  |  ------------------
  ------------------
 1017|      3|        {
 1018|      3|            ec = cbor_errc::max_nesting_depth_exceeded;
 1019|      3|            more_ = false;
 1020|      3|            return;
 1021|      3|        } 
 1022|  11.5M|        bool pop_stringref_map_stack = false;
 1023|  11.5M|        if (other_tags_[stringref_namespace_tag])
  ------------------
  |  Branch (1023:13): [True: 3.28k, False: 11.5M]
  ------------------
 1024|  3.28k|        {
 1025|  3.28k|            stringref_map_stack_.emplace_back();
 1026|  3.28k|            other_tags_[stringref_namespace_tag] = false;
 1027|  3.28k|            pop_stringref_map_stack = true;
 1028|  3.28k|        }
 1029|  11.5M|        switch (info)
 1030|  11.5M|        {
 1031|   310k|            case jsoncons::cbor::detail::additional_info::indefinite_length: 
  ------------------
  |  Branch (1031:13): [True: 310k, False: 11.2M]
  ------------------
 1032|   310k|            {
 1033|   310k|                state_stack_.emplace_back(parse_mode::indefinite_map_key,0,pop_stringref_map_stack);
 1034|   310k|                visitor.begin_object(semantic_tag::none, *this, ec);
 1035|   310k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   310k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 310k]
  |  |  ------------------
  ------------------
 1036|      0|                {
 1037|      0|                    return;
 1038|      0|                }
 1039|   310k|                more_ = !cursor_mode_;
 1040|   310k|                source_.ignore(1);
 1041|   310k|                break;
 1042|   310k|            }
 1043|  11.2M|            default: // definite_length
  ------------------
  |  Branch (1043:13): [True: 11.2M, False: 310k]
  ------------------
 1044|  11.2M|            {
 1045|  11.2M|                std::size_t len = read_size(ec);
 1046|  11.2M|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  11.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4, False: 11.2M]
  |  |  ------------------
  ------------------
 1047|      4|                {
 1048|      4|                    return;
 1049|      4|                }
 1050|  11.2M|                state_stack_.emplace_back(parse_mode::map_key,len,pop_stringref_map_stack);
 1051|  11.2M|                visitor.begin_object(len, semantic_tag::none, *this, ec);
 1052|  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]
  |  |  ------------------
  ------------------
 1053|      0|                {
 1054|      0|                    return;
 1055|      0|                }
 1056|  11.2M|                more_ = !cursor_mode_;
 1057|  11.2M|                break;
 1058|  11.2M|            }
 1059|  11.5M|        }
 1060|  11.5M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  940|   990k|    {
  941|   990k|        --nesting_depth_;
  942|       |
  943|   990k|        visitor.end_array(*this, ec);
  944|   990k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|   990k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 990k]
  |  |  ------------------
  ------------------
  945|      0|        {
  946|      0|            return;
  947|      0|        }
  948|   990k|        more_ = !cursor_mode_;
  949|   990k|        if (level() == mark_level_)
  ------------------
  |  Branch (949:13): [True: 0, False: 990k]
  ------------------
  950|      0|        {
  951|      0|            more_ = false;
  952|      0|        }
  953|   990k|        if (state_stack_.back().pop_stringref_map_stack)
  ------------------
  |  Branch (953:13): [True: 553, False: 990k]
  ------------------
  954|    553|        {
  955|    553|            stringref_map_stack_.pop_back();
  956|    553|        }
  957|   990k|        state_stack_.pop_back();
  958|   990k|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE21read_typed_array_itemERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  547|  81.5M|    {
  548|  81.5M|        if (!typed_array_iter_->done())
  ------------------
  |  Branch (548:13): [True: 81.5M, False: 0]
  ------------------
  549|  81.5M|        {
  550|  81.5M|            typed_array_iter_->next(visitor, *this, ec);
  551|  81.5M|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  81.5M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 81.5M]
  |  |  ------------------
  ------------------
  552|      0|            {
  553|      0|                return;
  554|      0|            }
  555|  81.5M|            more_ = !cursor_mode_;
  556|       |
  557|  81.5M|            if (typed_array_iter_->done())
  ------------------
  |  Branch (557:17): [True: 154k, False: 81.4M]
  ------------------
  558|   154k|            {
  559|   154k|                state_stack_.pop_back();
  560|   154k|            }
  561|  81.5M|        }
  562|  81.5M|    }
_ZN8jsoncons4cbor17basic_cbor_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10end_objectERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
 1063|  11.5M|    {
 1064|  11.5M|        --nesting_depth_;
 1065|  11.5M|        visitor.end_object(*this, ec);
 1066|  11.5M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  11.5M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 11.5M]
  |  |  ------------------
  ------------------
 1067|      0|        {
 1068|      0|            return;
 1069|      0|        }
 1070|  11.5M|        more_ = !cursor_mode_;
 1071|  11.5M|        if (level() == mark_level_)
  ------------------
  |  Branch (1071:13): [True: 0, False: 11.5M]
  ------------------
 1072|      0|        {
 1073|      0|            more_ = false;
 1074|      0|        }
 1075|  11.5M|        if (state_stack_.back().pop_stringref_map_stack)
  ------------------
  |  Branch (1075:13): [True: 841, False: 11.5M]
  ------------------
 1076|    841|        {
 1077|    841|            stringref_map_stack_.pop_back();
 1078|    841|        }
 1079|  11.5M|        state_stack_.pop_back();
 1080|  11.5M|    }

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

_ZN8jsoncons4cbor16mdarray_iteratorIhNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    480|        : data_(std::move(data)), 
  196|    480|          span_(typed_array_cast<ValueType>(data_)), 
  197|    480|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    480|    {
  199|    480|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    480|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 480]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    480|        else
  211|    480|        {
  212|    480|            std::size_t stride = 1;
  213|    480|            const size_t num_extents = extents.size();
  214|  3.96k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 3.48k, False: 480]
  ------------------
  215|  3.48k|            {
  216|  3.48k|                strides[num_extents-i-1] = stride;
  217|  3.48k|                stride *= extents[num_extents-i-1];
  218|  3.48k|            }
  219|    480|        }
  220|  3.96k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 3.48k, False: 480]
  ------------------
  221|  3.48k|        {
  222|  3.48k|            dimensions_[i].extent = extents[i];
  223|  3.48k|            dimensions_[i].stride = strides[i];
  224|  3.48k|            dimensions_[i].index = 0;
  225|  3.48k|            dimensions_[i].end = strides[i]*extents[i];
  226|  3.48k|        }
  227|    480|    }
_ZN8jsoncons4cbor20typed_array_iteratorD2Ev:
   43|   155k|    virtual ~typed_array_iterator() = default;
_ZNK8jsoncons4cbor16mdarray_iteratorIhNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  5.65k|    {
  256|  5.65k|        return done_;
  257|  5.65k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIhNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  3.30k|    {
  262|  3.30k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   45|  3.30k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 3.30k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  3.30k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 1.43k, False: 1.87k]
  ------------------
  265|  1.43k|        {
  266|  1.43k|            if (first_)
  ------------------
  |  Branch (266:17): [True: 480, False: 950]
  ------------------
  267|    480|            {
  268|    480|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    480|                first_ = false;
  270|    480|                return;
  271|    480|            }
  272|    950|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 480, False: 470]
  ------------------
  273|    480|            {
  274|    480|                visitor.end_array(context, ec);
  275|    480|                done_ = true;
  276|    480|                return;
  277|    480|            }
  278|    950|        }
  279|  2.34k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 1.40k, False: 939]
  |  Branch (279:44): [True: 938, False: 469]
  ------------------
  280|    938|        {
  281|    938|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    938|            ++dim_;
  283|    938|            return;
  284|    938|        }
  285|  1.40k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 470, False: 938]
  ------------------
  286|    470|        {
  287|    470|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    470|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    470|            ++count_;
  290|    470|            return;
  291|    470|        }
  292|    938|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 938, False: 0]
  ------------------
  293|    938|        {
  294|    938|            visitor.end_array(context, ec);
  295|    938|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 938, False: 0]
  ------------------
  296|    938|            {
  297|    938|                --dim_;
  298|    938|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    938|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 938]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    938|            }
  308|    938|        }
  309|    938|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIhEENSt3__19enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   72|  2.59M|    {
   73|  2.59M|        visitor.uint64_value(val, tag, context, ec);
   74|  2.59M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIhNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  4.60k|        : data_(std::move(data)), 
  106|  4.60k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  4.60k|          array_tag_(array_tag), 
  108|  4.60k|          extent_(span_.size()), 
  109|  4.60k|          tag_(tag), 
  110|  4.60k|          func_(func)
  111|  4.60k|    {
  112|  4.60k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIhNS_8identityENSt3__19allocatorIcEEE5countEv:
  135|      4|    {
  136|      4|        return index_;
  137|      4|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIhNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|  5.19M|    {
  141|  5.19M|        return done_;
  142|  5.19M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIhNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|  2.59M|    {
  147|  2.59M|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  2.59M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4.60k, False: 2.59M]
  |  |  ------------------
  ------------------
  148|  4.60k|        {
  149|  4.60k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  4.60k|            first_ = false;
  151|  4.60k|        }
  152|  2.59M|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|  2.59M|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 2.59M, False: 4.60k]
  |  |  ------------------
  ------------------
  153|  2.59M|        {
  154|  2.59M|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|  2.59M|            ++index_;
  156|  2.59M|        }
  157|  4.60k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 4.60k, False: 0]
  ------------------
  158|  4.60k|        {
  159|  4.60k|            visitor.end_array(context, ec);
  160|  4.60k|            done_ = true;
  161|  4.60k|        }
  162|  2.59M|    }
_ZN8jsoncons4cbor16mdarray_iteratorItNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    136|        : data_(std::move(data)), 
  196|    136|          span_(typed_array_cast<ValueType>(data_)), 
  197|    136|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    136|    {
  199|    136|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    136|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 136]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    136|        else
  211|    136|        {
  212|    136|            std::size_t stride = 1;
  213|    136|            const size_t num_extents = extents.size();
  214|    790|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 654, False: 136]
  ------------------
  215|    654|            {
  216|    654|                strides[num_extents-i-1] = stride;
  217|    654|                stride *= extents[num_extents-i-1];
  218|    654|            }
  219|    136|        }
  220|    790|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 654, False: 136]
  ------------------
  221|    654|        {
  222|    654|            dimensions_[i].extent = extents[i];
  223|    654|            dimensions_[i].stride = strides[i];
  224|    654|            dimensions_[i].index = 0;
  225|    654|            dimensions_[i].end = strides[i]*extents[i];
  226|    654|        }
  227|    136|    }
_ZNK8jsoncons4cbor16mdarray_iteratorItNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  1.38k|    {
  256|  1.38k|        return done_;
  257|  1.38k|    }
_ZN8jsoncons4cbor16mdarray_iteratorItNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|    826|    {
  262|    826|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   45|    826|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 826]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|    826|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 402, False: 424]
  ------------------
  265|    402|        {
  266|    402|            if (first_)
  ------------------
  |  Branch (266:17): [True: 136, False: 266]
  ------------------
  267|    136|            {
  268|    136|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    136|                first_ = false;
  270|    136|                return;
  271|    136|            }
  272|    266|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 136, False: 130]
  ------------------
  273|    136|            {
  274|    136|                visitor.end_array(context, ec);
  275|    136|                done_ = true;
  276|    136|                return;
  277|    136|            }
  278|    266|        }
  279|    554|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 318, False: 236]
  |  Branch (279:44): [True: 212, False: 106]
  ------------------
  280|    212|        {
  281|    212|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    212|            ++dim_;
  283|    212|            return;
  284|    212|        }
  285|    342|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 130, False: 212]
  ------------------
  286|    130|        {
  287|    130|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    130|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    130|            ++count_;
  290|    130|            return;
  291|    130|        }
  292|    212|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 212, False: 0]
  ------------------
  293|    212|        {
  294|    212|            visitor.end_array(context, ec);
  295|    212|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 212, False: 0]
  ------------------
  296|    212|            {
  297|    212|                --dim_;
  298|    212|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    212|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 212]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    212|            }
  308|    212|        }
  309|    212|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueItEENSt3__19enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   72|   437k|    {
   73|   437k|        visitor.uint64_value(val, tag, context, ec);
   74|   437k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorItNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  27.3k|        : data_(std::move(data)), 
  106|  27.3k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  27.3k|          array_tag_(array_tag), 
  108|  27.3k|          extent_(span_.size()), 
  109|  27.3k|          tag_(tag), 
  110|  27.3k|          func_(func)
  111|  27.3k|    {
  112|  27.3k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorItNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|   930k|    {
  141|   930k|        return done_;
  142|   930k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorItNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|   492k|    {
  147|   492k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   492k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 27.3k, False: 465k]
  |  |  ------------------
  ------------------
  148|  27.3k|        {
  149|  27.3k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  27.3k|            first_ = false;
  151|  27.3k|        }
  152|   465k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|   465k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 437k, False: 27.3k]
  |  |  ------------------
  ------------------
  153|   437k|        {
  154|   437k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|   437k|            ++index_;
  156|   437k|        }
  157|  27.3k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 27.3k, False: 0]
  ------------------
  158|  27.3k|        {
  159|  27.3k|            visitor.end_array(context, ec);
  160|  27.3k|            done_ = true;
  161|  27.3k|        }
  162|   492k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIjNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    304|        : data_(std::move(data)), 
  196|    304|          span_(typed_array_cast<ValueType>(data_)), 
  197|    304|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    304|    {
  199|    304|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    304|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 304]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    304|        else
  211|    304|        {
  212|    304|            std::size_t stride = 1;
  213|    304|            const size_t num_extents = extents.size();
  214|  2.93k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 2.63k, False: 304]
  ------------------
  215|  2.63k|            {
  216|  2.63k|                strides[num_extents-i-1] = stride;
  217|  2.63k|                stride *= extents[num_extents-i-1];
  218|  2.63k|            }
  219|    304|        }
  220|  2.93k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 2.63k, False: 304]
  ------------------
  221|  2.63k|        {
  222|  2.63k|            dimensions_[i].extent = extents[i];
  223|  2.63k|            dimensions_[i].stride = strides[i];
  224|  2.63k|            dimensions_[i].index = 0;
  225|  2.63k|            dimensions_[i].end = strides[i]*extents[i];
  226|  2.63k|        }
  227|    304|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIjNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  3.49k|    {
  256|  3.49k|        return done_;
  257|  3.49k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIjNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  2.05k|    {
  262|  2.05k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   45|  2.05k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.05k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  2.05k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 904, False: 1.14k]
  ------------------
  265|    904|        {
  266|    904|            if (first_)
  ------------------
  |  Branch (266:17): [True: 304, False: 600]
  ------------------
  267|    304|            {
  268|    304|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    304|                first_ = false;
  270|    304|                return;
  271|    304|            }
  272|    600|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 304, False: 296]
  ------------------
  273|    304|            {
  274|    304|                visitor.end_array(context, ec);
  275|    304|                done_ = true;
  276|    304|                return;
  277|    304|            }
  278|    600|        }
  279|  1.44k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 858, False: 586]
  |  Branch (279:44): [True: 574, False: 284]
  ------------------
  280|    574|        {
  281|    574|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    574|            ++dim_;
  283|    574|            return;
  284|    574|        }
  285|    870|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 296, False: 574]
  ------------------
  286|    296|        {
  287|    296|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    296|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    296|            ++count_;
  290|    296|            return;
  291|    296|        }
  292|    574|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 574, False: 0]
  ------------------
  293|    574|        {
  294|    574|            visitor.end_array(context, ec);
  295|    574|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 574, False: 0]
  ------------------
  296|    574|            {
  297|    574|                --dim_;
  298|    574|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    574|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 574]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    574|            }
  308|    574|        }
  309|    574|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIjEENSt3__19enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   72|   614k|    {
   73|   614k|        visitor.uint64_value(val, tag, context, ec);
   74|   614k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIjNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  6.27k|        : data_(std::move(data)), 
  106|  6.27k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  6.27k|          array_tag_(array_tag), 
  108|  6.27k|          extent_(span_.size()), 
  109|  6.27k|          tag_(tag), 
  110|  6.27k|          func_(func)
  111|  6.27k|    {
  112|  6.27k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIjNS_8identityENSt3__19allocatorIcEEE5countEv:
  135|      1|    {
  136|      1|        return index_;
  137|      1|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIjNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|  1.24M|    {
  141|  1.24M|        return done_;
  142|  1.24M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIjNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|   626k|    {
  147|   626k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   626k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6.27k, False: 620k]
  |  |  ------------------
  ------------------
  148|  6.27k|        {
  149|  6.27k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  6.27k|            first_ = false;
  151|  6.27k|        }
  152|   620k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|   620k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 614k, False: 6.27k]
  |  |  ------------------
  ------------------
  153|   614k|        {
  154|   614k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|   614k|            ++index_;
  156|   614k|        }
  157|  6.27k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 6.27k, False: 0]
  ------------------
  158|  6.27k|        {
  159|  6.27k|            visitor.end_array(context, ec);
  160|  6.27k|            done_ = true;
  161|  6.27k|        }
  162|   626k|    }
_ZN8jsoncons4cbor16mdarray_iteratorImNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    138|        : data_(std::move(data)), 
  196|    138|          span_(typed_array_cast<ValueType>(data_)), 
  197|    138|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    138|    {
  199|    138|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    138|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 138]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    138|        else
  211|    138|        {
  212|    138|            std::size_t stride = 1;
  213|    138|            const size_t num_extents = extents.size();
  214|  1.42k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 1.29k, False: 138]
  ------------------
  215|  1.29k|            {
  216|  1.29k|                strides[num_extents-i-1] = stride;
  217|  1.29k|                stride *= extents[num_extents-i-1];
  218|  1.29k|            }
  219|    138|        }
  220|  1.42k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 1.29k, False: 138]
  ------------------
  221|  1.29k|        {
  222|  1.29k|            dimensions_[i].extent = extents[i];
  223|  1.29k|            dimensions_[i].stride = strides[i];
  224|  1.29k|            dimensions_[i].index = 0;
  225|  1.29k|            dimensions_[i].end = strides[i]*extents[i];
  226|  1.29k|        }
  227|    138|    }
_ZNK8jsoncons4cbor16mdarray_iteratorImNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  1.60k|    {
  256|  1.60k|        return done_;
  257|  1.60k|    }
_ZN8jsoncons4cbor16mdarray_iteratorImNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|    941|    {
  262|    941|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   45|    941|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 941]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|    941|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 409, False: 532]
  ------------------
  265|    409|        {
  266|    409|            if (first_)
  ------------------
  |  Branch (266:17): [True: 138, False: 271]
  ------------------
  267|    138|            {
  268|    138|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    138|                first_ = false;
  270|    138|                return;
  271|    138|            }
  272|    271|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 138, False: 133]
  ------------------
  273|    138|            {
  274|    138|                visitor.end_array(context, ec);
  275|    138|                done_ = true;
  276|    138|                return;
  277|    138|            }
  278|    271|        }
  279|    665|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 399, False: 266]
  |  Branch (279:44): [True: 266, False: 133]
  ------------------
  280|    266|        {
  281|    266|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    266|            ++dim_;
  283|    266|            return;
  284|    266|        }
  285|    399|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 133, False: 266]
  ------------------
  286|    133|        {
  287|    133|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    133|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    133|            ++count_;
  290|    133|            return;
  291|    133|        }
  292|    266|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 266, False: 0]
  ------------------
  293|    266|        {
  294|    266|            visitor.end_array(context, ec);
  295|    266|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 266, False: 0]
  ------------------
  296|    266|            {
  297|    266|                --dim_;
  298|    266|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    266|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 266]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    266|            }
  308|    266|        }
  309|    266|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueImEENSt3__19enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   72|   139k|    {
   73|   139k|        visitor.uint64_value(val, tag, context, ec);
   74|   139k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorImNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  13.2k|        : data_(std::move(data)), 
  106|  13.2k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  13.2k|          array_tag_(array_tag), 
  108|  13.2k|          extent_(span_.size()), 
  109|  13.2k|          tag_(tag), 
  110|  13.2k|          func_(func)
  111|  13.2k|    {
  112|  13.2k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorImNS_8identityENSt3__19allocatorIcEEE5countEv:
  135|      2|    {
  136|      2|        return index_;
  137|      2|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorImNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|   304k|    {
  141|   304k|        return done_;
  142|   304k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorImNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|   165k|    {
  147|   165k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   165k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 13.2k, False: 152k]
  |  |  ------------------
  ------------------
  148|  13.2k|        {
  149|  13.2k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  13.2k|            first_ = false;
  151|  13.2k|        }
  152|   152k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|   152k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 139k, False: 13.2k]
  |  |  ------------------
  ------------------
  153|   139k|        {
  154|   139k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|   139k|            ++index_;
  156|   139k|        }
  157|  13.2k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 13.2k, False: 0]
  ------------------
  158|  13.2k|        {
  159|  13.2k|            visitor.end_array(context, ec);
  160|  13.2k|            done_ = true;
  161|  13.2k|        }
  162|   165k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIaNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    156|        : data_(std::move(data)), 
  196|    156|          span_(typed_array_cast<ValueType>(data_)), 
  197|    156|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    156|    {
  199|    156|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    156|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 156]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    156|        else
  211|    156|        {
  212|    156|            std::size_t stride = 1;
  213|    156|            const size_t num_extents = extents.size();
  214|  1.22k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 1.07k, False: 156]
  ------------------
  215|  1.07k|            {
  216|  1.07k|                strides[num_extents-i-1] = stride;
  217|  1.07k|                stride *= extents[num_extents-i-1];
  218|  1.07k|            }
  219|    156|        }
  220|  1.22k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 1.07k, False: 156]
  ------------------
  221|  1.07k|        {
  222|  1.07k|            dimensions_[i].extent = extents[i];
  223|  1.07k|            dimensions_[i].stride = strides[i];
  224|  1.07k|            dimensions_[i].index = 0;
  225|  1.07k|            dimensions_[i].end = strides[i]*extents[i];
  226|  1.07k|        }
  227|    156|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIaNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  1.72k|    {
  256|  1.72k|        return done_;
  257|  1.72k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIaNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  1.02k|    {
  262|  1.02k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   45|  1.02k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 1.02k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  1.02k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 458, False: 562]
  ------------------
  265|    458|        {
  266|    458|            if (first_)
  ------------------
  |  Branch (266:17): [True: 156, False: 302]
  ------------------
  267|    156|            {
  268|    156|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    156|                first_ = false;
  270|    156|                return;
  271|    156|            }
  272|    302|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 156, False: 146]
  ------------------
  273|    156|            {
  274|    156|                visitor.end_array(context, ec);
  275|    156|                done_ = true;
  276|    156|                return;
  277|    156|            }
  278|    302|        }
  279|    708|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 418, False: 290]
  |  Branch (279:44): [True: 281, False: 137]
  ------------------
  280|    281|        {
  281|    281|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    281|            ++dim_;
  283|    281|            return;
  284|    281|        }
  285|    427|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 146, False: 281]
  ------------------
  286|    146|        {
  287|    146|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    146|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    146|            ++count_;
  290|    146|            return;
  291|    146|        }
  292|    281|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 281, False: 0]
  ------------------
  293|    281|        {
  294|    281|            visitor.end_array(context, ec);
  295|    281|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 281, False: 0]
  ------------------
  296|    281|            {
  297|    281|                --dim_;
  298|    281|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    281|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 281]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    281|            }
  308|    281|        }
  309|    281|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIaEENSt3__19enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   64|  10.1M|    {
   65|  10.1M|        visitor.int64_value(val, tag, context, ec);
   66|  10.1M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIaNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  5.46k|        : data_(std::move(data)), 
  106|  5.46k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  5.46k|          array_tag_(array_tag), 
  108|  5.46k|          extent_(span_.size()), 
  109|  5.46k|          tag_(tag), 
  110|  5.46k|          func_(func)
  111|  5.46k|    {
  112|  5.46k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIaNS_8identityENSt3__19allocatorIcEEE5countEv:
  135|      1|    {
  136|      1|        return index_;
  137|      1|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIaNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|  20.2M|    {
  141|  20.2M|        return done_;
  142|  20.2M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIaNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|  10.1M|    {
  147|  10.1M|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  10.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5.46k, False: 10.1M]
  |  |  ------------------
  ------------------
  148|  5.46k|        {
  149|  5.46k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  5.46k|            first_ = false;
  151|  5.46k|        }
  152|  10.1M|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|  10.1M|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 10.1M, False: 5.46k]
  |  |  ------------------
  ------------------
  153|  10.1M|        {
  154|  10.1M|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|  10.1M|            ++index_;
  156|  10.1M|        }
  157|  5.46k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 5.46k, False: 0]
  ------------------
  158|  5.46k|        {
  159|  5.46k|            visitor.end_array(context, ec);
  160|  5.46k|            done_ = true;
  161|  5.46k|        }
  162|  10.1M|    }
_ZN8jsoncons4cbor16mdarray_iteratorIsNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    210|        : data_(std::move(data)), 
  196|    210|          span_(typed_array_cast<ValueType>(data_)), 
  197|    210|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    210|    {
  199|    210|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    210|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 210]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    210|        else
  211|    210|        {
  212|    210|            std::size_t stride = 1;
  213|    210|            const size_t num_extents = extents.size();
  214|  1.03k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 826, False: 210]
  ------------------
  215|    826|            {
  216|    826|                strides[num_extents-i-1] = stride;
  217|    826|                stride *= extents[num_extents-i-1];
  218|    826|            }
  219|    210|        }
  220|  1.03k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 826, False: 210]
  ------------------
  221|    826|        {
  222|    826|            dimensions_[i].extent = extents[i];
  223|    826|            dimensions_[i].stride = strides[i];
  224|    826|            dimensions_[i].index = 0;
  225|    826|            dimensions_[i].end = strides[i]*extents[i];
  226|    826|        }
  227|    210|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIsNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  2.06k|    {
  256|  2.06k|        return done_;
  257|  2.06k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIsNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  1.24k|    {
  262|  1.24k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   45|  1.24k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 1.24k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  1.24k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 627, False: 616]
  ------------------
  265|    627|        {
  266|    627|            if (first_)
  ------------------
  |  Branch (266:17): [True: 210, False: 417]
  ------------------
  267|    210|            {
  268|    210|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    210|                first_ = false;
  270|    210|                return;
  271|    210|            }
  272|    417|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 210, False: 207]
  ------------------
  273|    210|            {
  274|    210|                visitor.end_array(context, ec);
  275|    210|                done_ = true;
  276|    210|                return;
  277|    210|            }
  278|    417|        }
  279|    823|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 462, False: 361]
  |  Branch (279:44): [True: 308, False: 154]
  ------------------
  280|    308|        {
  281|    308|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    308|            ++dim_;
  283|    308|            return;
  284|    308|        }
  285|    515|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 207, False: 308]
  ------------------
  286|    207|        {
  287|    207|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    207|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    207|            ++count_;
  290|    207|            return;
  291|    207|        }
  292|    308|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 308, False: 0]
  ------------------
  293|    308|        {
  294|    308|            visitor.end_array(context, ec);
  295|    308|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 308, False: 0]
  ------------------
  296|    308|            {
  297|    308|                --dim_;
  298|    308|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    308|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 308]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    308|            }
  308|    308|        }
  309|    308|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIsEENSt3__19enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   64|   842k|    {
   65|   842k|        visitor.int64_value(val, tag, context, ec);
   66|   842k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIsNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  18.6k|        : data_(std::move(data)), 
  106|  18.6k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  18.6k|          array_tag_(array_tag), 
  108|  18.6k|          extent_(span_.size()), 
  109|  18.6k|          tag_(tag), 
  110|  18.6k|          func_(func)
  111|  18.6k|    {
  112|  18.6k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIsNS_8identityENSt3__19allocatorIcEEE5countEv:
  135|      2|    {
  136|      2|        return index_;
  137|      2|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIsNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|  1.72M|    {
  141|  1.72M|        return done_;
  142|  1.72M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIsNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|   879k|    {
  147|   879k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   879k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 18.6k, False: 860k]
  |  |  ------------------
  ------------------
  148|  18.6k|        {
  149|  18.6k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  18.6k|            first_ = false;
  151|  18.6k|        }
  152|   860k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|   860k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 841k, False: 18.6k]
  |  |  ------------------
  ------------------
  153|   841k|        {
  154|   841k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|   841k|            ++index_;
  156|   841k|        }
  157|  18.6k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 18.6k, False: 0]
  ------------------
  158|  18.6k|        {
  159|  18.6k|            visitor.end_array(context, ec);
  160|  18.6k|            done_ = true;
  161|  18.6k|        }
  162|   879k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIiNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    313|        : data_(std::move(data)), 
  196|    313|          span_(typed_array_cast<ValueType>(data_)), 
  197|    313|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    313|    {
  199|    313|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    313|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 313]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    313|        else
  211|    313|        {
  212|    313|            std::size_t stride = 1;
  213|    313|            const size_t num_extents = extents.size();
  214|    885|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 572, False: 313]
  ------------------
  215|    572|            {
  216|    572|                strides[num_extents-i-1] = stride;
  217|    572|                stride *= extents[num_extents-i-1];
  218|    572|            }
  219|    313|        }
  220|    885|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 572, False: 313]
  ------------------
  221|    572|        {
  222|    572|            dimensions_[i].extent = extents[i];
  223|    572|            dimensions_[i].stride = strides[i];
  224|    572|            dimensions_[i].index = 0;
  225|    572|            dimensions_[i].end = strides[i]*extents[i];
  226|    572|        }
  227|    313|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIiNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  2.15k|    {
  256|  2.15k|        return done_;
  257|  2.15k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIiNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  1.38k|    {
  262|  1.38k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   45|  1.38k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 1.38k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  1.38k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 938, False: 450]
  ------------------
  265|    938|        {
  266|    938|            if (first_)
  ------------------
  |  Branch (266:17): [True: 313, False: 625]
  ------------------
  267|    313|            {
  268|    313|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    313|                first_ = false;
  270|    313|                return;
  271|    313|            }
  272|    625|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 313, False: 312]
  ------------------
  273|    313|            {
  274|    313|                visitor.end_array(context, ec);
  275|    313|                done_ = true;
  276|    313|                return;
  277|    313|            }
  278|    625|        }
  279|    762|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 225, False: 537]
  |  Branch (279:44): [True: 225, False: 0]
  ------------------
  280|    225|        {
  281|    225|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    225|            ++dim_;
  283|    225|            return;
  284|    225|        }
  285|    537|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 312, False: 225]
  ------------------
  286|    312|        {
  287|    312|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    312|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    312|            ++count_;
  290|    312|            return;
  291|    312|        }
  292|    225|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 225, False: 0]
  ------------------
  293|    225|        {
  294|    225|            visitor.end_array(context, ec);
  295|    225|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 225, False: 0]
  ------------------
  296|    225|            {
  297|    225|                --dim_;
  298|    225|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    225|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 225]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    225|            }
  308|    225|        }
  309|    225|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIiEENSt3__19enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   64|  7.50M|    {
   65|  7.50M|        visitor.int64_value(val, tag, context, ec);
   66|  7.50M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIiNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  5.34k|        : data_(std::move(data)), 
  106|  5.34k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  5.34k|          array_tag_(array_tag), 
  108|  5.34k|          extent_(span_.size()), 
  109|  5.34k|          tag_(tag), 
  110|  5.34k|          func_(func)
  111|  5.34k|    {
  112|  5.34k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIiNS_8identityENSt3__19allocatorIcEEE5countEv:
  135|      1|    {
  136|      1|        return index_;
  137|      1|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIiNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|  15.0M|    {
  141|  15.0M|        return done_;
  142|  15.0M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIiNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|  7.51M|    {
  147|  7.51M|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  7.51M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5.34k, False: 7.51M]
  |  |  ------------------
  ------------------
  148|  5.34k|        {
  149|  5.34k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  5.34k|            first_ = false;
  151|  5.34k|        }
  152|  7.51M|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|  7.51M|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 7.50M, False: 5.34k]
  |  |  ------------------
  ------------------
  153|  7.50M|        {
  154|  7.50M|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|  7.50M|            ++index_;
  156|  7.50M|        }
  157|  5.34k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 5.34k, False: 0]
  ------------------
  158|  5.34k|        {
  159|  5.34k|            visitor.end_array(context, ec);
  160|  5.34k|            done_ = true;
  161|  5.34k|        }
  162|  7.51M|    }
_ZN8jsoncons4cbor16mdarray_iteratorIlNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    635|        : data_(std::move(data)), 
  196|    635|          span_(typed_array_cast<ValueType>(data_)), 
  197|    635|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    635|    {
  199|    635|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    635|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 635]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    635|        else
  211|    635|        {
  212|    635|            std::size_t stride = 1;
  213|    635|            const size_t num_extents = extents.size();
  214|  4.01k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 3.37k, False: 635]
  ------------------
  215|  3.37k|            {
  216|  3.37k|                strides[num_extents-i-1] = stride;
  217|  3.37k|                stride *= extents[num_extents-i-1];
  218|  3.37k|            }
  219|    635|        }
  220|  4.01k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 3.37k, False: 635]
  ------------------
  221|  3.37k|        {
  222|  3.37k|            dimensions_[i].extent = extents[i];
  223|  3.37k|            dimensions_[i].stride = strides[i];
  224|  3.37k|            dimensions_[i].index = 0;
  225|  3.37k|            dimensions_[i].end = strides[i]*extents[i];
  226|  3.37k|        }
  227|    635|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIlNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  10.0k|    {
  256|  10.0k|        return done_;
  257|  10.0k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIlNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  5.66k|    {
  262|  5.66k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   45|  5.66k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 5.66k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  5.66k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 1.90k, False: 3.76k]
  ------------------
  265|  1.90k|        {
  266|  1.90k|            if (first_)
  ------------------
  |  Branch (266:17): [True: 635, False: 1.26k]
  ------------------
  267|    635|            {
  268|    635|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    635|                first_ = false;
  270|    635|                return;
  271|    635|            }
  272|  1.26k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 635, False: 631]
  ------------------
  273|    635|            {
  274|    635|                visitor.end_array(context, ec);
  275|    635|                done_ = true;
  276|    635|                return;
  277|    635|            }
  278|  1.26k|        }
  279|  4.39k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 3.13k, False: 1.26k]
  |  Branch (279:44): [True: 1.88k, False: 1.25k]
  ------------------
  280|  1.88k|        {
  281|  1.88k|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|  1.88k|            ++dim_;
  283|  1.88k|            return;
  284|  1.88k|        }
  285|  2.51k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 631, False: 1.88k]
  ------------------
  286|    631|        {
  287|    631|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    631|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    631|            ++count_;
  290|    631|            return;
  291|    631|        }
  292|  1.88k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 1.88k, False: 0]
  ------------------
  293|  1.88k|        {
  294|  1.88k|            visitor.end_array(context, ec);
  295|  1.88k|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 1.88k, False: 0]
  ------------------
  296|  1.88k|            {
  297|  1.88k|                --dim_;
  298|  1.88k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|  1.88k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 1.88k]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|  1.88k|            }
  308|  1.88k|        }
  309|  1.88k|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIlEENSt3__19enable_ifIXsr10ext_traits17is_signed_integerIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   64|   601k|    {
   65|   601k|        visitor.int64_value(val, tag, context, ec);
   66|   601k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIlNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  8.23k|        : data_(std::move(data)), 
  106|  8.23k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  8.23k|          array_tag_(array_tag), 
  108|  8.23k|          extent_(span_.size()), 
  109|  8.23k|          tag_(tag), 
  110|  8.23k|          func_(func)
  111|  8.23k|    {
  112|  8.23k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIlNS_8identityENSt3__19allocatorIcEEE5countEv:
  135|      2|    {
  136|      2|        return index_;
  137|      2|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIlNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|  1.21M|    {
  141|  1.21M|        return done_;
  142|  1.21M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIlNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|   617k|    {
  147|   617k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   617k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 8.23k, False: 609k]
  |  |  ------------------
  ------------------
  148|  8.23k|        {
  149|  8.23k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  8.23k|            first_ = false;
  151|  8.23k|        }
  152|   609k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|   609k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 601k, False: 8.23k]
  |  |  ------------------
  ------------------
  153|   601k|        {
  154|   601k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|   601k|            ++index_;
  156|   601k|        }
  157|  8.23k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 8.23k, False: 0]
  ------------------
  158|  8.23k|        {
  159|  8.23k|            visitor.end_array(context, ec);
  160|  8.23k|            done_ = true;
  161|  8.23k|        }
  162|   617k|    }
_ZN8jsoncons4cbor16mdarray_iteratorItNS_11decode_halfENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    195|        : data_(std::move(data)), 
  196|    195|          span_(typed_array_cast<ValueType>(data_)), 
  197|    195|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    195|    {
  199|    195|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    195|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 195]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    195|        else
  211|    195|        {
  212|    195|            std::size_t stride = 1;
  213|    195|            const size_t num_extents = extents.size();
  214|  2.06k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 1.86k, False: 195]
  ------------------
  215|  1.86k|            {
  216|  1.86k|                strides[num_extents-i-1] = stride;
  217|  1.86k|                stride *= extents[num_extents-i-1];
  218|  1.86k|            }
  219|    195|        }
  220|  2.06k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 1.86k, False: 195]
  ------------------
  221|  1.86k|        {
  222|  1.86k|            dimensions_[i].extent = extents[i];
  223|  1.86k|            dimensions_[i].stride = strides[i];
  224|  1.86k|            dimensions_[i].index = 0;
  225|  1.86k|            dimensions_[i].end = strides[i]*extents[i];
  226|  1.86k|        }
  227|    195|    }
_ZNK8jsoncons4cbor16mdarray_iteratorItNS_11decode_halfENSt3__19allocatorIcEEE4doneEv:
  255|  2.05k|    {
  256|  2.05k|        return done_;
  257|  2.05k|    }
_ZN8jsoncons4cbor16mdarray_iteratorItNS_11decode_halfENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  1.22k|    {
  262|  1.22k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   45|  1.22k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 1.22k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  1.22k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 557, False: 666]
  ------------------
  265|    557|        {
  266|    557|            if (first_)
  ------------------
  |  Branch (266:17): [True: 195, False: 362]
  ------------------
  267|    195|            {
  268|    195|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    195|                first_ = false;
  270|    195|                return;
  271|    195|            }
  272|    362|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 195, False: 167]
  ------------------
  273|    195|            {
  274|    195|                visitor.end_array(context, ec);
  275|    195|                done_ = true;
  276|    195|                return;
  277|    195|            }
  278|    362|        }
  279|    833|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 500, False: 333]
  |  Branch (279:44): [True: 333, False: 167]
  ------------------
  280|    333|        {
  281|    333|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    333|            ++dim_;
  283|    333|            return;
  284|    333|        }
  285|    500|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 167, False: 333]
  ------------------
  286|    167|        {
  287|    167|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    167|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    167|            ++count_;
  290|    167|            return;
  291|    167|        }
  292|    333|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 333, False: 0]
  ------------------
  293|    333|        {
  294|    333|            visitor.end_array(context, ec);
  295|    333|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 333, False: 0]
  ------------------
  296|    333|            {
  297|    333|                --dim_;
  298|    333|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    333|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 333]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    333|            }
  308|    333|        }
  309|    333|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIdEENSt3__19enable_ifIXsr17is_floating_pointIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   80|  58.2M|    {
   81|  58.2M|        visitor.double_value(val, tag, context, ec);
   82|  58.2M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorItNS_11decode_halfENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  39.4k|        : data_(std::move(data)), 
  106|  39.4k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  39.4k|          array_tag_(array_tag), 
  108|  39.4k|          extent_(span_.size()), 
  109|  39.4k|          tag_(tag), 
  110|  39.4k|          func_(func)
  111|  39.4k|    {
  112|  39.4k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorItNS_11decode_halfENSt3__19allocatorIcEEE5countEv:
  135|      3|    {
  136|      3|        return index_;
  137|      3|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorItNS_11decode_halfENSt3__19allocatorIcEEE4doneEv:
  140|   116M|    {
  141|   116M|        return done_;
  142|   116M|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorItNS_11decode_halfENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|  58.2M|    {
  147|  58.2M|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|  58.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 39.4k, False: 58.1M]
  |  |  ------------------
  ------------------
  148|  39.4k|        {
  149|  39.4k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  39.4k|            first_ = false;
  151|  39.4k|        }
  152|  58.1M|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|  58.1M|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 58.1M, False: 39.4k]
  |  |  ------------------
  ------------------
  153|  58.1M|        {
  154|  58.1M|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|  58.1M|            ++index_;
  156|  58.1M|        }
  157|  39.4k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 39.4k, False: 0]
  ------------------
  158|  39.4k|        {
  159|  39.4k|            visitor.end_array(context, ec);
  160|  39.4k|            done_ = true;
  161|  39.4k|        }
  162|  58.2M|    }
_ZN8jsoncons4cbor16mdarray_iteratorIfNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    911|        : data_(std::move(data)), 
  196|    911|          span_(typed_array_cast<ValueType>(data_)), 
  197|    911|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    911|    {
  199|    911|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    911|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 1, False: 910]
  ------------------
  201|      1|        {
  202|      1|            std::size_t stride = 1;
  203|      1|            const size_t num_extents = extents.size();
  204|      4|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 3, False: 1]
  ------------------
  205|      3|            {
  206|      3|                strides[i] = stride;
  207|      3|                stride *= extents[i];
  208|      3|            }
  209|      1|        }
  210|    910|        else
  211|    910|        {
  212|    910|            std::size_t stride = 1;
  213|    910|            const size_t num_extents = extents.size();
  214|  2.54k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 1.63k, False: 910]
  ------------------
  215|  1.63k|            {
  216|  1.63k|                strides[num_extents-i-1] = stride;
  217|  1.63k|                stride *= extents[num_extents-i-1];
  218|  1.63k|            }
  219|    910|        }
  220|  2.54k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 1.63k, False: 911]
  ------------------
  221|  1.63k|        {
  222|  1.63k|            dimensions_[i].extent = extents[i];
  223|  1.63k|            dimensions_[i].stride = strides[i];
  224|  1.63k|            dimensions_[i].index = 0;
  225|  1.63k|            dimensions_[i].end = strides[i]*extents[i];
  226|  1.63k|        }
  227|    911|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIfNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  5.51k|    {
  256|  5.51k|        return done_;
  257|  5.51k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIfNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  3.66k|    {
  262|  3.66k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   45|  3.66k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 3.66k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  3.66k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 2.73k, False: 936]
  ------------------
  265|  2.73k|        {
  266|  2.73k|            if (first_)
  ------------------
  |  Branch (266:17): [True: 911, False: 1.82k]
  ------------------
  267|    911|            {
  268|    911|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    911|                first_ = false;
  270|    911|                return;
  271|    911|            }
  272|  1.82k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 911, False: 909]
  ------------------
  273|    911|            {
  274|    911|                visitor.end_array(context, ec);
  275|    911|                done_ = true;
  276|    911|                return;
  277|    911|            }
  278|  1.82k|        }
  279|  1.84k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 602, False: 1.24k]
  |  Branch (279:44): [True: 468, False: 134]
  ------------------
  280|    468|        {
  281|    468|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    468|            ++dim_;
  283|    468|            return;
  284|    468|        }
  285|  1.37k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 909, False: 468]
  ------------------
  286|    909|        {
  287|    909|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    909|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    909|            ++count_;
  290|    909|            return;
  291|    909|        }
  292|    468|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 468, False: 0]
  ------------------
  293|    468|        {
  294|    468|            visitor.end_array(context, ec);
  295|    468|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 468, False: 0]
  ------------------
  296|    468|            {
  297|    468|                --dim_;
  298|    468|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    468|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 468]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    468|            }
  308|    468|        }
  309|    468|    }
_ZN8jsoncons4cbor20typed_array_iterator11write_valueIfEENSt3__19enable_ifIXsr17is_floating_pointIT_EE5valueEvE4typeES5_NS_12semantic_tagERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
   80|   293k|    {
   81|   293k|        visitor.double_value(val, tag, context, ec);
   82|   293k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIfNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  15.3k|        : data_(std::move(data)), 
  106|  15.3k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  15.3k|          array_tag_(array_tag), 
  108|  15.3k|          extent_(span_.size()), 
  109|  15.3k|          tag_(tag), 
  110|  15.3k|          func_(func)
  111|  15.3k|    {
  112|  15.3k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIfNS_8identityENSt3__19allocatorIcEEE5countEv:
  135|      2|    {
  136|      2|        return index_;
  137|      2|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIfNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|   616k|    {
  141|   616k|        return done_;
  142|   616k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIfNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|   323k|    {
  147|   323k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   323k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 15.3k, False: 308k]
  |  |  ------------------
  ------------------
  148|  15.3k|        {
  149|  15.3k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  15.3k|            first_ = false;
  151|  15.3k|        }
  152|   308k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|   308k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 292k, False: 15.3k]
  |  |  ------------------
  ------------------
  153|   292k|        {
  154|   292k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|   292k|            ++index_;
  156|   292k|        }
  157|  15.3k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 15.3k, False: 0]
  ------------------
  158|  15.3k|        {
  159|  15.3k|            visitor.end_array(context, ec);
  160|  15.3k|            done_ = true;
  161|  15.3k|        }
  162|   323k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIdNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsERKNS7_ImNS4_ImEEEENS_13mdarray_orderES2_:
  195|    383|        : data_(std::move(data)), 
  196|    383|          span_(typed_array_cast<ValueType>(data_)), 
  197|    383|          array_tag_(array_tag), extents_(extents), order_(order), func_(func), dimensions_(extents.size(), mdarray_dimension{})
  198|    383|    {
  199|    383|        std::vector<std::size_t> strides(extents.size(), 0);
  200|    383|        if (order == mdarray_order::column_major)
  ------------------
  |  Branch (200:13): [True: 0, False: 383]
  ------------------
  201|      0|        {
  202|      0|            std::size_t stride = 1;
  203|      0|            const size_t num_extents = extents.size();
  204|      0|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (204:32): [True: 0, False: 0]
  ------------------
  205|      0|            {
  206|      0|                strides[i] = stride;
  207|      0|                stride *= extents[i];
  208|      0|            }
  209|      0|        }
  210|    383|        else
  211|    383|        {
  212|    383|            std::size_t stride = 1;
  213|    383|            const size_t num_extents = extents.size();
  214|  54.7k|            for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (214:32): [True: 54.3k, False: 383]
  ------------------
  215|  54.3k|            {
  216|  54.3k|                strides[num_extents-i-1] = stride;
  217|  54.3k|                stride *= extents[num_extents-i-1];
  218|  54.3k|            }
  219|    383|        }
  220|  54.7k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (220:33): [True: 54.3k, False: 383]
  ------------------
  221|  54.3k|        {
  222|  54.3k|            dimensions_[i].extent = extents[i];
  223|  54.3k|            dimensions_[i].stride = strides[i];
  224|  54.3k|            dimensions_[i].index = 0;
  225|  54.3k|            dimensions_[i].end = strides[i]*extents[i];
  226|  54.3k|        }
  227|    383|    }
_ZNK8jsoncons4cbor16mdarray_iteratorIdNS_8identityENSt3__19allocatorIcEEE4doneEv:
  255|  3.51k|    {
  256|  3.51k|        return done_;
  257|  3.51k|    }
_ZN8jsoncons4cbor16mdarray_iteratorIdNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  261|  2.13k|    {
  262|  2.13k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   45|  2.13k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.13k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  263|       |
  264|  2.13k|        if (dim_ == 0)
  ------------------
  |  Branch (264:13): [True: 1.04k, False: 1.09k]
  ------------------
  265|  1.04k|        {
  266|  1.04k|            if (first_)
  ------------------
  |  Branch (266:17): [True: 383, False: 657]
  ------------------
  267|    383|            {
  268|    383|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  269|    383|                first_ = false;
  270|    383|                return;
  271|    383|            }
  272|    657|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (272:17): [True: 383, False: 274]
  ------------------
  273|    383|            {
  274|    383|                visitor.end_array(context, ec);
  275|    383|                done_ = true;
  276|    383|                return;
  277|    383|            }
  278|    657|        }
  279|  1.37k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (279:13): [True: 824, False: 548]
  |  Branch (279:44): [True: 549, False: 275]
  ------------------
  280|    549|        {
  281|    549|            visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  282|    549|            ++dim_;
  283|    549|            return;
  284|    549|        }
  285|    823|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (285:13): [True: 274, False: 549]
  ------------------
  286|    274|        {
  287|    274|            this->write_value(func_(span_[dimensions_[dim_].index]), semantic_tag::none, visitor, context, ec);
  288|    274|            dimensions_[dim_].index += dimensions_[dim_].stride;
  289|    274|            ++count_;
  290|    274|            return;
  291|    274|        }
  292|    549|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (292:13): [True: 549, False: 0]
  ------------------
  293|    549|        {
  294|    549|            visitor.end_array(context, ec);
  295|    549|            if (dim_ > 0)
  ------------------
  |  Branch (295:17): [True: 549, False: 0]
  ------------------
  296|    549|            {
  297|    549|                --dim_;
  298|    549|                dimensions_[dim_].index += dimensions_[dim_].stride;
  299|    549|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (299:21): [True: 0, False: 549]
  ------------------
  300|      0|                {
  301|      0|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (301:50): [True: 0, False: 0]
  ------------------
  302|      0|                    {
  303|      0|                        dimensions_[i].index = dimensions_[i-1].index;
  304|      0|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  305|      0|                    }
  306|      0|                }
  307|    549|            }
  308|    549|        }
  309|    549|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIdNS_8identityENSt3__19allocatorIcEEEC2EONS3_6vectorIhNS4_IhEEEENS_16typed_array_tagsENS_12semantic_tagES2_:
  105|  6.52k|        : data_(std::move(data)), 
  106|  6.52k|          span_(typed_array_cast<ValueType>(data_)), 
  107|  6.52k|          array_tag_(array_tag), 
  108|  6.52k|          extent_(span_.size()), 
  109|  6.52k|          tag_(tag), 
  110|  6.52k|          func_(func)
  111|  6.52k|    {
  112|  6.52k|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIdNS_8identityENSt3__19allocatorIcEEE5countEv:
  135|      1|    {
  136|      1|        return index_;
  137|      1|    }
_ZNK8jsoncons4cbor25oned_typed_array_iteratorIdNS_8identityENSt3__19allocatorIcEEE4doneEv:
  140|   280k|    {
  141|   280k|        return done_;
  142|   280k|    }
_ZN8jsoncons4cbor25oned_typed_array_iteratorIdNS_8identityENSt3__19allocatorIcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  146|   146k|    {
  147|   146k|        if (JSONCONS_UNLIKELY(first_))
  ------------------
  |  |   78|   146k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6.52k, False: 140k]
  |  |  ------------------
  ------------------
  148|  6.52k|        {
  149|  6.52k|            visitor.begin_array(span_.size(), tag_, context, ec);
  150|  6.52k|            first_ = false;
  151|  6.52k|        }
  152|   140k|        else if (JSONCONS_LIKELY(index_ < span_.size()))
  ------------------
  |  |   77|   140k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 133k, False: 6.52k]
  |  |  ------------------
  ------------------
  153|   133k|        {
  154|   133k|            this->write_value(func_(span_[index_]), semantic_tag::none, visitor, context, ec);
  155|   133k|            ++index_;
  156|   133k|        }
  157|  6.52k|        else if (!done_)
  ------------------
  |  Branch (157:18): [True: 6.52k, False: 0]
  ------------------
  158|  6.52k|        {
  159|  6.52k|            visitor.end_array(context, ec);
  160|  6.52k|            done_ = true;
  161|  6.52k|        }
  162|   146k|    }
_ZN8jsoncons4cbor31cbor_mdarray_row_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2ERKNS3_6vectorImNS4_ImEEEEPNS0_17basic_cbor_parserIS6_S7_EEb:
  329|  1.18k|        : extents_(extents), dimensions_(extents.size(), mdarray_dimension{}),
  330|  1.18k|          parser_(parser), cursor_mode_(cursor_mode)
  331|  1.18k|    {
  332|  1.18k|        std::vector<std::size_t> strides(extents.size(), 0);
  333|  1.18k|        std::size_t stride = 1;
  334|  1.18k|        const size_t num_extents = extents.size();
  335|  19.9k|        for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (335:28): [True: 18.8k, False: 1.18k]
  ------------------
  336|  18.8k|        {
  337|  18.8k|            strides[num_extents - i - 1] = stride;
  338|  18.8k|            stride *= extents[num_extents - i - 1];
  339|  18.8k|        }
  340|  19.9k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (340:33): [True: 18.8k, False: 1.18k]
  ------------------
  341|  18.8k|        {
  342|  18.8k|            dimensions_[i].extent = extents[i];
  343|  18.8k|            dimensions_[i].stride = strides[i];
  344|  18.8k|            dimensions_[i].index = 0;
  345|  18.8k|            dimensions_[i].end = strides[i] * extents[i];
  346|  18.8k|        }
  347|  1.18k|    }
_ZNK8jsoncons4cbor31cbor_mdarray_row_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5countEv:
  375|    141|    {
  376|    141|        return count_;
  377|    141|    }
_ZNK8jsoncons4cbor31cbor_mdarray_row_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4doneEv:
  370|  42.4k|    {
  371|  42.4k|        return done_;
  372|  42.4k|    }
_ZN8jsoncons4cbor31cbor_mdarray_row_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  381|  41.9k|    {
  382|  41.9k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   45|  41.9k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 41.9k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  383|       |
  384|  41.9k|        if (dim_ == 0)
  ------------------
  |  Branch (384:13): [True: 5.33k, False: 36.6k]
  ------------------
  385|  5.33k|        {
  386|  5.33k|            if (first_)
  ------------------
  |  Branch (386:17): [True: 1.18k, False: 4.15k]
  ------------------
  387|  1.18k|            {
  388|  1.18k|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  389|  1.18k|                first_ = false;
  390|  1.18k|                return;
  391|  1.18k|            }
  392|  4.15k|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (392:17): [True: 430, False: 3.72k]
  ------------------
  393|    430|            {
  394|    430|                visitor.end_array(context, ec);
  395|    430|                done_ = true;
  396|    430|                return;
  397|    430|            }
  398|  4.15k|        }
  399|  40.3k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (399:13): [True: 18.4k, False: 21.9k]
  |  Branch (399:44): [True: 13.2k, False: 5.19k]
  ------------------
  400|  13.2k|        {
  401|  13.2k|            if (!cursor_mode_)
  ------------------
  |  Branch (401:17): [True: 13.2k, False: 0]
  ------------------
  402|  13.2k|            {
  403|  13.2k|                visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  404|  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]
  |  |  ------------------
  ------------------
  405|      0|                {
  406|      0|                    return;
  407|      0|                }
  408|  13.2k|            }
  409|  13.2k|            ++dim_;
  410|  13.2k|            return;
  411|  13.2k|        }
  412|  27.1k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (412:13): [True: 15.4k, False: 11.6k]
  ------------------
  413|  15.4k|        {
  414|  15.4k|            parser_->read_item(visitor, ec);
  415|  15.4k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  416|  15.4k|            ++count_;
  417|  15.4k|            return;
  418|  15.4k|        }
  419|  11.6k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (419:13): [True: 11.6k, False: 0]
  ------------------
  420|  11.6k|        {
  421|  11.6k|            if (!cursor_mode_)
  ------------------
  |  Branch (421:17): [True: 11.6k, False: 0]
  ------------------
  422|  11.6k|            {
  423|  11.6k|                visitor.end_array(context, ec);
  424|  11.6k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  11.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 11.6k]
  |  |  ------------------
  ------------------
  425|      0|                {
  426|      0|                    return;
  427|      0|                }
  428|  11.6k|            }
  429|  11.6k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  11.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 11.6k]
  |  |  ------------------
  ------------------
  430|      0|            {
  431|      0|                return;
  432|      0|            }
  433|  11.6k|            if (dim_ > 0)
  ------------------
  |  Branch (433:17): [True: 11.6k, False: 0]
  ------------------
  434|  11.6k|            {
  435|  11.6k|                --dim_;
  436|  11.6k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  437|  11.6k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (437:21): [True: 6.15k, False: 5.48k]
  ------------------
  438|  6.15k|                {
  439|  17.2k|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (439:50): [True: 11.0k, False: 6.15k]
  ------------------
  440|  11.0k|                    {
  441|  11.0k|                        dimensions_[i].index = dimensions_[i-1].index;
  442|  11.0k|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  443|  11.0k|                    }
  444|  6.15k|                }
  445|  11.6k|            }
  446|  11.6k|        }
  447|  11.6k|    }
_ZN8jsoncons4cbor34cbor_mdarray_column_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2ERKNS3_6vectorImNS4_ImEEEEPNS0_17basic_cbor_parserIS6_S7_EEb:
  467|    335|        : extents_(extents), dimensions_(extents.size(), mdarray_dimension{}),
  468|    335|          parser_(parser), cursor_mode_(cursor_mode)
  469|    335|    {
  470|    335|        std::vector<std::size_t> strides(extents.size(), 0);
  471|    335|        std::size_t stride = 1;
  472|    335|        const size_t num_extents = extents.size();
  473|  2.75k|        for (size_t i = 0; i < num_extents; ++i)
  ------------------
  |  Branch (473:28): [True: 2.42k, False: 335]
  ------------------
  474|  2.42k|        {
  475|  2.42k|            strides[num_extents - i - 1] = stride;
  476|  2.42k|            stride *= extents[num_extents - i - 1];
  477|  2.42k|        }
  478|  2.75k|        for (std::size_t i = 0; i < strides.size(); ++i)
  ------------------
  |  Branch (478:33): [True: 2.42k, False: 335]
  ------------------
  479|  2.42k|        {
  480|  2.42k|            dimensions_[i].extent = extents[i];
  481|  2.42k|            dimensions_[i].stride = strides[i];
  482|  2.42k|            dimensions_[i].index = 0;
  483|  2.42k|            dimensions_[i].end = strides[i] * extents[i];
  484|  2.42k|        }
  485|    335|    }
_ZNK8jsoncons4cbor34cbor_mdarray_column_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5countEv:
  513|      2|    {
  514|      2|        return count_;
  515|      2|    }
_ZNK8jsoncons4cbor34cbor_mdarray_column_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4doneEv:
  508|  60.8k|    {
  509|  60.8k|        return done_;
  510|  60.8k|    }
_ZN8jsoncons4cbor34cbor_mdarray_column_major_iteratorINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4nextERNS_24basic_item_event_visitorIcEERKNS_11ser_contextERNS3_10error_codeE:
  519|  60.8k|    {
  520|  60.8k|        JSONCONS_ASSERT(!dimensions_.empty());
  ------------------
  |  |   45|  60.8k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 60.8k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  521|       |
  522|  60.8k|        if (dim_ == 0)
  ------------------
  |  Branch (522:13): [True: 680, False: 60.1k]
  ------------------
  523|    680|        {
  524|    680|            if (first_)
  ------------------
  |  Branch (524:17): [True: 335, False: 345]
  ------------------
  525|    335|            {
  526|    335|                if (!cursor_mode_)
  ------------------
  |  Branch (526:21): [True: 335, False: 0]
  ------------------
  527|    335|                {
  528|    335|                    visitor.begin_array(dimensions_[dim_].extent, semantic_tag::multi_dim_column_major, context, ec);
  529|    335|                    visitor.begin_array(dimensions_[dim_].extent, semantic_tag::none, context, ec);
  530|    335|                    for (auto item : dimensions_)
  ------------------
  |  Branch (530:36): [True: 2.42k, False: 335]
  ------------------
  531|  2.42k|                    {
  532|  2.42k|                        visitor.uint64_value(item.extent, semantic_tag::none, context, ec);
  533|  2.42k|                    }
  534|    335|                    visitor.end_array(context, ec);
  535|    335|                }
  536|    335|                visitor.begin_array(dimensions_[dim_].extent, tag_, context, ec);
  537|    335|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|    335|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 335]
  |  |  ------------------
  ------------------
  538|      0|                {
  539|      0|                    return;
  540|      0|                }
  541|    335|                first_ = false;
  542|    335|                return;
  543|    335|            }
  544|    345|            if (dimensions_[dim_].index == dimensions_[dim_].end)
  ------------------
  |  Branch (544:17): [True: 2, False: 343]
  ------------------
  545|      2|            {
  546|      2|                visitor.end_array(context, ec);
  547|      2|                if (!cursor_mode_)
  ------------------
  |  Branch (547:21): [True: 2, False: 0]
  ------------------
  548|      2|                {
  549|      2|                    visitor.end_array(context, ec);
  550|      2|                }
  551|      2|                done_ = true;
  552|      2|                return;
  553|      2|            }
  554|    345|        }
  555|  60.5k|        if (dim_+1 < dimensions_.size() && dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (555:13): [True: 7.93k, False: 52.5k]
  |  Branch (555:44): [True: 7.34k, False: 595]
  ------------------
  556|  7.34k|        {
  557|  7.34k|            ++dim_;
  558|  7.34k|            return;
  559|  7.34k|        }
  560|  53.1k|        if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (560:13): [True: 47.7k, False: 5.39k]
  ------------------
  561|  47.7k|        {
  562|  47.7k|            parser_->read_item(visitor, ec);
  563|  47.7k|            dimensions_[dim_].index += dimensions_[dim_].stride;
  564|  47.7k|            ++count_;
  565|  47.7k|            return;
  566|  47.7k|        }
  567|  5.39k|        if (dimensions_[dim_].index + dimensions_[dim_].stride >= dimensions_[dim_].end)
  ------------------
  |  Branch (567:13): [True: 5.39k, False: 0]
  ------------------
  568|  5.39k|        {
  569|  5.39k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  5.39k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 5.39k]
  |  |  ------------------
  ------------------
  570|      0|            {
  571|      0|                return;
  572|      0|            }
  573|  5.39k|            if (dim_ > 0)
  ------------------
  |  Branch (573:17): [True: 5.39k, False: 0]
  ------------------
  574|  5.39k|            {
  575|  5.39k|                --dim_;
  576|  5.39k|                dimensions_[dim_].index += dimensions_[dim_].stride;
  577|  5.39k|                if (dimensions_[dim_].index < dimensions_[dim_].end)
  ------------------
  |  Branch (577:21): [True: 4.79k, False: 596]
  ------------------
  578|  4.79k|                {
  579|  10.1k|                    for (std::size_t i = dim_+1; i < dimensions_.size(); ++i)
  ------------------
  |  Branch (579:50): [True: 5.39k, False: 4.79k]
  ------------------
  580|  5.39k|                    {
  581|  5.39k|                        dimensions_[i].index = dimensions_[i-1].index;
  582|  5.39k|                        dimensions_[i].end = dimensions_[i].index + dimensions_[i].stride*dimensions_[i].extent;
  583|  5.39k|                    }
  584|  4.79k|                }
  585|  5.39k|            }
  586|  5.39k|        }
  587|  5.39k|    }

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

