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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2777|   125M|        {
 2778|   125M|             destroy();
 2779|   125M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  901|   125M|        {
  902|   125M|            switch (storage_kind())
  903|   125M|            {
  904|  27.0k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (904:17): [True: 27.0k, False: 125M]
  ------------------
  905|  27.0k|                {
  906|  27.0k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (906:25): [True: 27.0k, False: 0]
  ------------------
  907|  27.0k|                    {
  908|  27.0k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  909|  27.0k|                    }
  910|  27.0k|                    break;
  911|      0|                }
  912|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (912:17): [True: 0, False: 125M]
  ------------------
  913|      0|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (913:25): [True: 0, False: 0]
  ------------------
  914|      0|                    {
  915|      0|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  916|      0|                    }
  917|      0|                    break;
  918|  4.10M|                case json_storage_kind::array:
  ------------------
  |  Branch (918:17): [True: 4.10M, False: 120M]
  ------------------
  919|  4.10M|                {
  920|  4.10M|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (920:25): [True: 4.10M, False: 0]
  ------------------
  921|  4.10M|                    {
  922|  4.10M|                        auto& stor = cast<array_storage>();
  923|  4.10M|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  924|  4.10M|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  925|  4.10M|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  926|  4.10M|                    }
  927|  4.10M|                    break;
  928|      0|                }
  929|  3.99M|                case json_storage_kind::object:
  ------------------
  |  Branch (929:17): [True: 3.99M, False: 121M]
  ------------------
  930|  3.99M|                {
  931|  3.99M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (931:25): [True: 3.99M, False: 0]
  ------------------
  932|  3.99M|                    {
  933|  3.99M|                        auto& stor = cast<object_storage>();
  934|  3.99M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  935|  3.99M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  936|  3.99M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  937|  3.99M|                    }
  938|  3.99M|                    break;
  939|      0|                }
  940|   116M|                default:
  ------------------
  |  Branch (940:17): [True: 116M, False: 8.12M]
  ------------------
  941|   116M|                    break;
  942|   125M|            }
  943|   125M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1465|   297M|        {
 1466|       |            // It is legal to access 'common_.storage_kind_' even though 
 1467|       |            // common_ is not the active member of the union because 'storage_kind_' 
 1468|       |            // is a part of the common initial sequence of all union members
 1469|       |            // as defined in 11.4-25 of the Standard.
 1470|   297M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1471|   297M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1007|   155k|        {
 1008|   155k|            return cast(identity<T>());
 1009|   155k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1098|   155k|        {
 1099|   155k|            return long_str_;
 1100|   155k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1007|  32.5M|        {
 1008|  32.5M|            return cast(identity<T>());
 1009|  32.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1128|  32.5M|        {
 1129|  32.5M|            return array_;
 1130|  32.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2310|  85.3M|        {
 2311|  85.3M|            uninitialized_move(std::move(other));
 2312|  85.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1305|  85.3M|        {
 1306|  85.3M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1306:17): [True: 73.9M, False: 11.4M]
  ------------------
 1307|  73.9M|            {
 1308|  73.9M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1309|  73.9M|            }
 1310|  11.4M|            else
 1311|  11.4M|            {
 1312|  11.4M|                switch (other.storage_kind())
 1313|  11.4M|                {
 1314|  33.3k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1314:21): [True: 33.3k, False: 11.3M]
  ------------------
 1315|  33.3k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1316|  33.3k|                        other.construct<null_storage>();
 1317|  33.3k|                        break;
 1318|      0|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1318:21): [True: 0, False: 11.4M]
  ------------------
 1319|      0|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1320|      0|                        other.construct<null_storage>();
 1321|      0|                        break;
 1322|  6.08M|                    case json_storage_kind::array:
  ------------------
  |  Branch (1322:21): [True: 6.08M, False: 5.32M]
  ------------------
 1323|  6.08M|                        construct<array_storage>(other.cast<array_storage>());
 1324|  6.08M|                        other.construct<null_storage>();
 1325|  6.08M|                        break;
 1326|  5.29M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1326:21): [True: 5.29M, False: 6.11M]
  ------------------
 1327|  5.29M|                        construct<object_storage>(other.cast<object_storage>());
 1328|  5.29M|                        other.construct<null_storage>();
 1329|  5.29M|                        break;
 1330|      0|                    default:
  ------------------
  |  Branch (1330:21): [True: 0, False: 11.4M]
  ------------------
 1331|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1332|      0|                        break;
 1333|  11.4M|                }
 1334|  11.4M|            }
 1335|  85.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  998|  37.0k|        {
  999|  37.0k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  37.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  629|  40.7k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  630|  40.7k|            {
  631|  40.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  998|  11.4M|        {
  999|  11.4M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  11.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1007|  28.6M|        {
 1008|  28.6M|            return cast(identity<T>());
 1009|  28.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1018|  28.6M|        {
 1019|  28.6M|            return null_;
 1020|  28.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  450|  27.4M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  451|  27.4M|            {
  452|  27.4M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  998|  6.39M|        {
  999|  6.39M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  6.39M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  730|  6.70M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  731|  6.70M|            {
  732|  6.70M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  998|  5.61M|        {
  999|  5.61M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  5.61M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  780|  5.93M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  781|  5.93M|            {
  782|  5.93M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4762|  45.7k|        {
 4763|  45.7k|            switch (storage_kind())
 4764|  45.7k|            {
 4765|  45.7k|                case json_storage_kind::array:
  ------------------
  |  Branch (4765:17): [True: 45.7k, False: 0]
  ------------------
 4766|  45.7k|                    return array_range_type(cast<array_storage>().value().begin(),
 4767|  45.7k|                        cast<array_storage>().value().end());
 4768|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4768:17): [True: 0, False: 45.7k]
  ------------------
 4769|      0|                    return cast<json_ref_storage>().value().array_range();
 4770|      0|                default:
  ------------------
  |  Branch (4770:17): [True: 0, False: 45.7k]
  ------------------
 4771|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4772|  45.7k|            }
 4773|  45.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  753|  7.41M|            {
  754|  7.41M|                return *ptr_;
  755|  7.41M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|  45.7k|            : first_(first), last_(last)
  349|  45.7k|        {
  350|  45.7k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|  45.7k|        {
  354|  45.7k|            return first_;
  355|  45.7k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|  45.7k|        {
  358|  45.7k|            return last_;
  359|  45.7k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3428|  92.3k|        {
 3429|  92.3k|            switch (storage_kind())
 3430|  92.3k|            {
 3431|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3431:17): [True: 0, False: 92.3k]
  ------------------
 3432|      0|                    return cast<byte_string_storage>().length() == 0;
 3433|      0|                    break;
 3434|      0|                case json_storage_kind::short_str:
  ------------------
  |  Branch (3434:17): [True: 0, False: 92.3k]
  ------------------
 3435|      0|                    return cast<short_string_storage>().length() == 0;
 3436|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3436:17): [True: 0, False: 92.3k]
  ------------------
 3437|      0|                    return cast<long_string_storage>().length() == 0;
 3438|  83.6k|                case json_storage_kind::array:
  ------------------
  |  Branch (3438:17): [True: 83.6k, False: 8.67k]
  ------------------
 3439|  83.6k|                    return cast<array_storage>().value().empty();
 3440|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3440:17): [True: 0, False: 92.3k]
  ------------------
 3441|      0|                    return true;
 3442|  8.67k|                case json_storage_kind::object:
  ------------------
  |  Branch (3442:17): [True: 8.67k, False: 83.6k]
  ------------------
 3443|  8.67k|                    return cast<object_storage>().value().empty();
 3444|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3444:17): [True: 0, False: 92.3k]
  ------------------
 3445|      0|                    return cast<const_json_ref_storage>().value().empty();
 3446|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3446:17): [True: 0, False: 92.3k]
  ------------------
 3447|      0|                    return cast<json_ref_storage>().value().empty();
 3448|      0|                default:
  ------------------
  |  Branch (3448:17): [True: 0, False: 92.3k]
  ------------------
 3449|      0|                    return false;
 3450|  92.3k|            }
 3451|  92.3k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1013|  83.6k|        {
 1014|  83.6k|            return cast(identity<T>());
 1015|  83.6k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1133|  83.6k|        {
 1134|  83.6k|            return array_;
 1135|  83.6k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  758|  83.6k|            {
  759|  83.6k|                return *ptr_;
  760|  83.6k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1013|  8.67k|        {
 1014|  8.67k|            return cast(identity<T>());
 1015|  8.67k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1123|  8.67k|        {
 1124|  8.67k|            return object_;
 1125|  8.67k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  804|  8.67k|            {
  805|  8.67k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   67|  8.67k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 8.67k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  806|  8.67k|                return *ptr_;
  807|  8.67k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4159|  77.8k|        {
 4160|  77.8k|            switch (storage_kind())
 4161|  77.8k|            {
 4162|  45.7k|                case json_storage_kind::array:
  ------------------
  |  Branch (4162:17): [True: 45.7k, False: 32.1k]
  ------------------
 4163|  45.7k|                    cast<array_storage>().value().clear();
 4164|  45.7k|                    break;
 4165|  32.1k|                case json_storage_kind::object:
  ------------------
  |  Branch (4165:17): [True: 32.1k, False: 45.7k]
  ------------------
 4166|  32.1k|                    cast<object_storage>().value().clear();
 4167|  32.1k|                    break;
 4168|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4168:17): [True: 0, False: 77.8k]
  ------------------
 4169|      0|                    cast<json_ref_storage>().value().clear();
 4170|      0|                    break;
 4171|      0|                default:
  ------------------
  |  Branch (4171:17): [True: 0, False: 77.8k]
  ------------------
 4172|      0|                    break;
 4173|  77.8k|            }
 4174|  77.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  798|   124k|            {
  799|   124k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   67|   124k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 124k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  800|   124k|                return *ptr_;
  801|   124k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4728|  32.1k|        {
 4729|  32.1k|            switch (storage_kind())
 4730|  32.1k|            {
 4731|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4731:17): [True: 0, False: 32.1k]
  ------------------
 4732|      0|                    return object_range_type(object_iterator(), object_iterator());
 4733|  32.1k|                case json_storage_kind::object:
  ------------------
  |  Branch (4733:17): [True: 32.1k, False: 0]
  ------------------
 4734|  32.1k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4735|  32.1k|                                                  object_iterator(cast<object_storage>().value().end()));
 4736|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4736:17): [True: 0, False: 32.1k]
  ------------------
 4737|      0|                    return cast<json_ref_storage>().value().object_range();
 4738|      0|                default:
  ------------------
  |  Branch (4738:17): [True: 0, False: 32.1k]
  ------------------
 4739|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4740|  32.1k|            }
 4741|  32.1k|        }
_ZN8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEEC2ERKSI_SP_:
  348|  32.1k|            : first_(first), last_(last)
  349|  32.1k|        {
  350|  32.1k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|  64.3k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|  64.3k|            {
  120|  64.3k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  353|  32.1k|        {
  354|  32.1k|            return first_;
  355|  32.1k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  357|  32.1k|        {
  358|  32.1k|            return last_;
  359|  32.1k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|  46.2k|            {
  219|  46.2k|                return !(*this == rhs);
  220|  46.2k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|  46.2k|            {
  210|  46.2k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   78|  92.4k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 46.2k, False: 0]
  |  |  |  Branch (78:48): [True: 46.2k, False: 0]
  |  |  |  Branch (78:48): [True: 46.2k, False: 0]
  |  |  ------------------
  ------------------
  211|  46.2k|                {
  212|  46.2k|                    return current_ == rhs.current_;
  213|  46.2k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|  46.2k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  14.0k|            {
  141|  14.0k|                return *current_;
  142|  14.0k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  14.0k|            {
  151|  14.0k|                ++current_;
  152|  14.0k|                return *this;
  153|  14.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1007|  23.3M|        {
 1008|  23.3M|            return cast(identity<T>());
 1009|  23.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1118|  23.3M|        {
 1119|  23.3M|            return object_;
 1120|  23.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2278|    680|        {
 2279|    680|            construct<empty_object_storage>(semantic_tag::none);
 2280|    680|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  998|    680|        {
  999|    680|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|    680|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1007|    930|        {
 1008|    930|            return cast(identity<T>());
 1009|    930|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1028|    930|        {
 1029|    930|            return empty_object_;
 1030|    930|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  462|    680|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|    680|            {
  464|    680|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3487|  71.5k|        {
 3488|  71.5k|            if (n > 0)
  ------------------
  |  Branch (3488:17): [True: 71.5k, False: 0]
  ------------------
 3489|  71.5k|            {
 3490|  71.5k|                switch (storage_kind())
 3491|  71.5k|                {
 3492|  71.5k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3492:21): [True: 71.5k, False: 0]
  ------------------
 3493|  71.5k|                        cast<array_storage>().value().reserve(n);
 3494|  71.5k|                        break;
 3495|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3495:21): [True: 0, False: 71.5k]
  ------------------
 3496|      0|                        create_object_implicitly();
 3497|      0|                        cast<object_storage>().value().reserve(n);
 3498|      0|                        break;
 3499|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3499:21): [True: 0, False: 71.5k]
  ------------------
 3500|      0|                        cast<object_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3502:21): [True: 0, False: 71.5k]
  ------------------
 3503|      0|                        cast<json_ref_storage>().value().reserve(n);
 3504|      0|                        break;
 3505|      0|                    default:
  ------------------
  |  Branch (3505:21): [True: 0, False: 71.5k]
  ------------------
 3506|      0|                        break;
 3507|  71.5k|                }
 3508|  71.5k|            }
 3509|  71.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2323|  3.99M|        {
 2324|  3.99M|            auto ptr = create_object(alloc);
 2325|  3.99M|            construct<object_storage>(ptr, tag);
 2326|  3.99M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  979|  3.99M|        {
  980|  3.99M|            using stor_allocator_type = typename object_storage::allocator_type;
  981|  3.99M|            stor_allocator_type stor_alloc(alloc);
  982|  3.99M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  983|  3.99M|            JSONCONS_TRY
  ------------------
  |  |   37|  3.99M|    #define JSONCONS_TRY try
  ------------------
  984|  3.99M|            {
  985|  3.99M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  986|  3.99M|                    std::forward<Args>(args)...);
  987|  3.99M|            }
  988|  3.99M|            JSONCONS_CATCH(...)
  989|  3.99M|            {
  990|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  991|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  992|      0|            }
  993|  3.99M|            return ptr;
  994|  3.99M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  998|  3.99M|        {
  999|  3.99M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  3.99M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  775|  3.99M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  776|  3.99M|            {
  777|  3.99M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4704|  7.20M|        {
 4705|  7.20M|            switch (storage_kind())
 4706|  7.20M|            {
 4707|  7.20M|                case json_storage_kind::array:
  ------------------
  |  Branch (4707:17): [True: 7.20M, False: 0]
  ------------------
 4708|  7.20M|                    cast<array_storage>().value().push_back(std::move(val));
 4709|  7.20M|                    break;
 4710|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4710:17): [True: 0, False: 7.20M]
  ------------------
 4711|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4712|      0|                    break;
 4713|      0|                default:
  ------------------
  |  Branch (4713:17): [True: 0, False: 7.20M]
  ------------------
 4714|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Attempting to insert into a value that is not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4715|  7.20M|            }
 4716|  7.20M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1456|  28.6M|        {
 1457|  28.6M|            if (this != &other)
  ------------------
  |  Branch (1457:17): [True: 28.6M, False: 0]
  ------------------
 1458|  28.6M|            {
 1459|  28.6M|                move_assignment(std::move(other));
 1460|  28.6M|            }
 1461|  28.6M|            return *this;
 1462|  28.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1418|  28.6M|        {
 1419|  28.6M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1419:17): [True: 28.6M, False: 0]
  |  Branch (1419:55): [True: 27.9M, False: 635k]
  ------------------
 1420|  27.9M|            {
 1421|  27.9M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1422|  27.9M|            }
 1423|   635k|            else
 1424|   635k|            {
 1425|   635k|                swap(other);
 1426|   635k|            }
 1427|  28.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1937|   635k|        {
 1938|   635k|            if (this == &other)
  ------------------
  |  Branch (1938:17): [True: 0, False: 635k]
  ------------------
 1939|      0|            {
 1940|      0|                return;
 1941|      0|            }
 1942|   635k|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1942:17): [True: 635k, False: 0]
  |  Branch (1942:55): [True: 0, False: 635k]
  ------------------
 1943|      0|            {
 1944|      0|                basic_json temp;               
 1945|      0|                std::memcpy(static_cast<void*>(&temp), static_cast<void*>(&other), sizeof(basic_json));
 1946|      0|                std::memcpy(static_cast<void*>(&other), static_cast<void*>(this), sizeof(basic_json));
 1947|      0|                std::memcpy(static_cast<void*>(this), static_cast<void*>(&temp), sizeof(basic_json));
 1948|      0|            }
 1949|   635k|            else
 1950|   635k|            {
 1951|   635k|                switch (storage_kind())
 1952|   635k|                {
 1953|   628k|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 628k, False: 7.16k]
  ------------------
 1954|    125|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 125, False: 635k]
  ------------------
 1955|  4.16k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 4.16k, False: 631k]
  ------------------
 1956|  1.91k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 1.91k, False: 633k]
  ------------------
 1957|    276|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 276, False: 635k]
  ------------------
 1958|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 635k]
  ------------------
 1959|     13|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 13, False: 635k]
  ------------------
 1960|    669|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 669, False: 634k]
  ------------------
 1961|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 635k]
  ------------------
 1962|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 635k]
  ------------------
 1963|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 635k]
  ------------------
 1964|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1964:21): [True: 0, False: 635k]
  ------------------
 1965|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1965:21): [True: 0, False: 635k]
  ------------------
 1966|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1966:21): [True: 0, False: 635k]
  ------------------
 1967|      0|                    default:
  ------------------
  |  Branch (1967:21): [True: 0, False: 635k]
  ------------------
 1968|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1969|      0|                        break;
 1970|   635k|                }
 1971|   635k|            }
 1972|   635k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1173|   628k|        {
 1174|   628k|            switch (other.storage_kind())
 1175|   628k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 628k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 628k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 628k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 628k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 628k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 628k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 628k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 628k]
  ------------------
 1184|  3.65k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 3.65k, False: 624k]
  ------------------
 1185|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 628k]
  ------------------
 1186|   307k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 307k, False: 320k]
  ------------------
 1187|   316k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 316k, False: 311k]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 628k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 628k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 628k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|   628k|            }
 1194|   628k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  998|   628k|        {
  999|   628k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   628k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  998|    125|        {
  999|    125|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|    125|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1007|  8.38M|        {
 1008|  8.38M|            return cast(identity<T>());
 1009|  8.38M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1038|  8.38M|        {
 1039|  8.38M|            return boolean_;
 1040|  8.38M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  998|  4.16k|        {
  999|  4.16k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  4.16k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1007|  2.32M|        {
 1008|  2.32M|            return cast(identity<T>());
 1009|  2.32M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1048|  2.32M|        {
 1049|  2.32M|            return int64_;
 1050|  2.32M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  998|  1.91k|        {
  999|  1.91k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  1.91k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1007|  2.26M|        {
 1008|  2.26M|            return cast(identity<T>());
 1009|  2.26M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1058|  2.26M|        {
 1059|  2.26M|            return uint64_;
 1060|  2.26M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  998|    276|        {
  999|    276|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|    276|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1007|   226k|        {
 1008|   226k|            return cast(identity<T>());
 1009|   226k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1078|   226k|        {
 1079|   226k|            return float64_;
 1080|   226k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  998|     13|        {
  999|     13|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|     13|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1007|  2.36M|        {
 1008|  2.36M|            return cast(identity<T>());
 1009|  2.36M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1088|  2.36M|        {
 1089|  2.36M|            return short_str_;
 1090|  2.36M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  588|    669|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  589|    669|            {
  590|    669|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  591|    669|                data_[short_str_length_] = 0;
  592|    669|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  998|    669|        {
  999|    669|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|    669|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1159|  3.65k|        {
 1160|  3.65k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  3.65k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  3.65k|        {
 1166|  3.65k|            TypeR temp{other.cast<TypeR>()};
 1167|  3.65k|            other.construct<TypeL>(cast<TypeL>());
 1168|  3.65k|            construct<TypeR>(temp);
 1169|  3.65k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1159|   307k|        {
 1160|   307k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|   307k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|   307k|        {
 1166|   307k|            TypeR temp{other.cast<TypeR>()};
 1167|   307k|            other.construct<TypeL>(cast<TypeL>());
 1168|   307k|            construct<TypeR>(temp);
 1169|   307k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1159|   316k|        {
 1160|   316k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|   316k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|   316k|        {
 1166|   316k|            TypeR temp{other.cast<TypeR>()};
 1167|   316k|            other.construct<TypeL>(cast<TypeL>());
 1168|   316k|            construct<TypeR>(temp);
 1169|   316k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1173|    125|        {
 1174|    125|            switch (other.storage_kind())
 1175|    125|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 125]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 125]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 125]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 125]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 125]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 125]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 125]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 125]
  ------------------
 1184|      7|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 7, False: 118]
  ------------------
 1185|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 125]
  ------------------
 1186|     33|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 33, False: 92]
  ------------------
 1187|     85|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 85, False: 40]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 125]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 125]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 125]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|    125|            }
 1194|    125|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1159|      7|        {
 1160|      7|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|      7|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|      7|        {
 1166|      7|            TypeR temp{other.cast<TypeR>()};
 1167|      7|            other.construct<TypeL>(cast<TypeL>());
 1168|      7|            construct<TypeR>(temp);
 1169|      7|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1159|     33|        {
 1160|     33|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|     33|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|     33|        {
 1166|     33|            TypeR temp{other.cast<TypeR>()};
 1167|     33|            other.construct<TypeL>(cast<TypeL>());
 1168|     33|            construct<TypeR>(temp);
 1169|     33|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1159|     85|        {
 1160|     85|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|     85|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|     85|        {
 1166|     85|            TypeR temp{other.cast<TypeR>()};
 1167|     85|            other.construct<TypeL>(cast<TypeL>());
 1168|     85|            construct<TypeR>(temp);
 1169|     85|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1173|  4.16k|        {
 1174|  4.16k|            switch (other.storage_kind())
 1175|  4.16k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 4.16k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 4.16k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 4.16k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 4.16k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 4.16k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 4.16k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 4.16k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 4.16k]
  ------------------
 1184|     69|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 69, False: 4.09k]
  ------------------
 1185|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 4.16k]
  ------------------
 1186|  2.13k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 2.13k, False: 2.02k]
  ------------------
 1187|  1.95k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 1.95k, False: 2.20k]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 4.16k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 4.16k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 4.16k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  4.16k|            }
 1194|  4.16k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1159|     69|        {
 1160|     69|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|     69|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|     69|        {
 1166|     69|            TypeR temp{other.cast<TypeR>()};
 1167|     69|            other.construct<TypeL>(cast<TypeL>());
 1168|     69|            construct<TypeR>(temp);
 1169|     69|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1159|  2.13k|        {
 1160|  2.13k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  2.13k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  2.13k|        {
 1166|  2.13k|            TypeR temp{other.cast<TypeR>()};
 1167|  2.13k|            other.construct<TypeL>(cast<TypeL>());
 1168|  2.13k|            construct<TypeR>(temp);
 1169|  2.13k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1159|  1.95k|        {
 1160|  1.95k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  1.95k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  1.95k|        {
 1166|  1.95k|            TypeR temp{other.cast<TypeR>()};
 1167|  1.95k|            other.construct<TypeL>(cast<TypeL>());
 1168|  1.95k|            construct<TypeR>(temp);
 1169|  1.95k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1173|  1.91k|        {
 1174|  1.91k|            switch (other.storage_kind())
 1175|  1.91k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 1.91k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 1.91k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.91k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.91k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.91k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 1.91k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 1.91k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 1.91k]
  ------------------
 1184|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 1.91k]
  ------------------
 1185|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 1.91k]
  ------------------
 1186|  1.61k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 1.61k, False: 306]
  ------------------
 1187|    306|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 306, False: 1.61k]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 1.91k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 1.91k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 1.91k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  1.91k|            }
 1194|  1.91k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1159|  1.61k|        {
 1160|  1.61k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  1.61k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  1.61k|        {
 1166|  1.61k|            TypeR temp{other.cast<TypeR>()};
 1167|  1.61k|            other.construct<TypeL>(cast<TypeL>());
 1168|  1.61k|            construct<TypeR>(temp);
 1169|  1.61k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1159|    306|        {
 1160|    306|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    306|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    306|        {
 1166|    306|            TypeR temp{other.cast<TypeR>()};
 1167|    306|            other.construct<TypeL>(cast<TypeL>());
 1168|    306|            construct<TypeR>(temp);
 1169|    306|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1173|    276|        {
 1174|    276|            switch (other.storage_kind())
 1175|    276|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 276]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 276]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 276]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 276]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 276]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 276]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 276]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 276]
  ------------------
 1184|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 276]
  ------------------
 1185|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 276]
  ------------------
 1186|    272|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 272, False: 4]
  ------------------
 1187|      4|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 4, False: 272]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 276]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 276]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 276]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|    276|            }
 1194|    276|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1159|    272|        {
 1160|    272|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    272|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    272|        {
 1166|    272|            TypeR temp{other.cast<TypeR>()};
 1167|    272|            other.construct<TypeL>(cast<TypeL>());
 1168|    272|            construct<TypeR>(temp);
 1169|    272|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1159|      4|        {
 1160|      4|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|      4|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|      4|        {
 1166|      4|            TypeR temp{other.cast<TypeR>()};
 1167|      4|            other.construct<TypeL>(cast<TypeL>());
 1168|      4|            construct<TypeR>(temp);
 1169|      4|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1173|     13|        {
 1174|     13|            switch (other.storage_kind())
 1175|     13|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 13]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 13]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 13]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 13]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 13]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 13]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 13]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 13]
  ------------------
 1184|      2|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 2, False: 11]
  ------------------
 1185|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 13]
  ------------------
 1186|      7|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 7, False: 6]
  ------------------
 1187|      4|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 4, False: 9]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 13]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 13]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 13]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|     13|            }
 1194|     13|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1159|      2|        {
 1160|      2|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|      2|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|      2|        {
 1166|      2|            TypeR temp{other.cast<TypeR>()};
 1167|      2|            other.construct<TypeL>(cast<TypeL>());
 1168|      2|            construct<TypeR>(temp);
 1169|      2|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1159|      7|        {
 1160|      7|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|      7|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|      7|        {
 1166|      7|            TypeR temp{other.cast<TypeR>()};
 1167|      7|            other.construct<TypeL>(cast<TypeL>());
 1168|      7|            construct<TypeR>(temp);
 1169|      7|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1159|      4|        {
 1160|      4|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|      4|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|      4|        {
 1166|      4|            TypeR temp{other.cast<TypeR>()};
 1167|      4|            other.construct<TypeL>(cast<TypeL>());
 1168|      4|            construct<TypeR>(temp);
 1169|      4|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1173|    669|        {
 1174|    669|            switch (other.storage_kind())
 1175|    669|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 669]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 669]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 669]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 669]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 669]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 669]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 669]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 669]
  ------------------
 1184|      1|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 1, False: 668]
  ------------------
 1185|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 669]
  ------------------
 1186|    451|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 451, False: 218]
  ------------------
 1187|    217|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 217, False: 452]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 669]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 669]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 669]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|    669|            }
 1194|    669|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1159|      1|        {
 1160|      1|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|      1|        {
 1166|      1|            TypeR temp{other.cast<TypeR>()};
 1167|      1|            other.construct<TypeL>(cast<TypeL>());
 1168|      1|            construct<TypeR>(temp);
 1169|      1|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1159|    451|        {
 1160|    451|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    451|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    451|        {
 1166|    451|            TypeR temp{other.cast<TypeR>()};
 1167|    451|            other.construct<TypeL>(cast<TypeL>());
 1168|    451|            construct<TypeR>(temp);
 1169|    451|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1159|    217|        {
 1160|    217|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    217|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    217|        {
 1166|    217|            TypeR temp{other.cast<TypeR>()};
 1167|    217|            other.construct<TypeL>(cast<TypeL>());
 1168|    217|            construct<TypeR>(temp);
 1169|    217|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2617|  2.26M|        {
 2618|  2.26M|            construct<uint64_storage>(val, tag);
 2619|  2.26M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  998|  2.26M|        {
  999|  2.26M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  2.26M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  2.26M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  2.26M|                  val_(val)
  518|  2.26M|            {
  519|  2.26M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2648|  2.32M|        {
 2649|  2.32M|            construct<int64_storage>(val, tag);
 2650|  2.32M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  998|  2.32M|        {
  999|  2.32M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  2.32M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  496|  2.32M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  497|  2.32M|                  val_(val)
  498|  2.32M|            {
  499|  2.32M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2605|   226k|        {
 2606|   226k|            construct<double_storage>(val, tag);
 2607|   226k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  998|   226k|        {
  999|   226k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   226k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  555|   226k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  556|   226k|                  val_(val)
  557|   226k|            {
  558|   226k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2404|  4.10M|        {
 2405|  4.10M|            auto ptr = create_array(Allocator());
 2406|  4.10M|            construct<array_storage>(ptr, tag);
 2407|  4.10M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  960|  4.10M|        {
  961|  4.10M|            using stor_allocator_type = typename array_storage::allocator_type;
  962|  4.10M|            stor_allocator_type stor_alloc(alloc);
  963|  4.10M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  964|  4.10M|            JSONCONS_TRY
  ------------------
  |  |   37|  4.10M|    #define JSONCONS_TRY try
  ------------------
  965|  4.10M|            {
  966|  4.10M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  967|  4.10M|                    std::forward<Args>(args)...);
  968|  4.10M|            }
  969|  4.10M|            JSONCONS_CATCH(...)
  970|  4.10M|            {
  971|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  972|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  973|      0|            }
  974|  4.10M|            return ptr;
  975|  4.10M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  998|  4.10M|        {
  999|  4.10M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  4.10M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  725|  4.10M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  726|  4.10M|            {
  727|  4.10M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2694|  16.0M|        {
 2695|  16.0M|            construct<null_storage>(tag);
 2696|  16.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  998|  16.0M|        {
  999|  16.0M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  16.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2704|  8.37M|        {
 2705|  8.37M|            construct<bool_storage>(val,tag);
 2706|  8.37M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  998|  8.37M|        {
  999|  8.37M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  8.37M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|  8.37M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|  8.37M|                  val_(val)
  477|  8.37M|            {
  478|  8.37M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2552|  2.38M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2553|  2.38M|        {
 2554|  2.38M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2582|  2.38M|        {
 2583|  2.38M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2583:17): [True: 2.36M, False: 27.0k]
  ------------------
 2584|  2.36M|            {
 2585|  2.36M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2586|  2.36M|            }
 2587|  27.0k|            else
 2588|  27.0k|            {
 2589|  27.0k|                auto ptr = create_long_string(alloc, s, length);
 2590|  27.0k|                construct<long_string_storage>(ptr, tag);
 2591|  27.0k|            }
 2592|  2.38M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  998|  2.36M|        {
  999|  2.36M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  2.36M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  2.36M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  2.36M|            {
  579|  2.36M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   67|  2.36M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 2.36M]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  580|  2.36M|                if (length > 0)
  ------------------
  |  Branch (580:21): [True: 2.36M, False: 30]
  ------------------
  581|  2.36M|                {
  582|  2.36M|                    std::memcpy(data_,p,length*sizeof(char_type));
  583|  2.36M|                }
  584|  2.36M|                data_[length] = 0;
  585|  2.36M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  946|  27.0k|        {
  947|  27.0k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  948|  27.0k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  949|  27.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  998|  27.0k|        {
  999|  27.0k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  27.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  624|  27.0k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  625|  27.0k|            {
  626|  27.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2714|      7|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2715|      7|        {
 2716|      7|        }

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

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  4.12M|        {
  106|  4.12M|            flatten_and_destroy();
  107|  4.12M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  4.12M|        {
  249|  10.5M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 6.39M, False: 4.12M]
  ------------------
  250|  6.39M|            {
  251|  6.39M|                value_type current = std::move(data_.back());
  252|  6.39M|                data_.pop_back();
  253|  6.39M|                switch (current.storage_kind())
  254|  6.39M|                {
  255|  45.7k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 45.7k, False: 6.35M]
  ------------------
  256|  45.7k|                    {
  257|  45.7k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 851k, False: 45.7k]
  ------------------
  258|   851k|                        {
  259|   851k|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 78.2k, False: 772k]
  |  Branch (259:85): [True: 5.81k, False: 767k]
  ------------------
  260|  84.0k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 37.3k, False: 46.7k]
  ------------------
  261|  37.3k|                            {
  262|  37.3k|                                data_.push_back(std::move(item));
  263|  37.3k|                            }
  264|   851k|                        }
  265|  45.7k|                        current.clear();                           
  266|  45.7k|                        break;
  267|      0|                    }
  268|  32.1k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 32.1k, False: 6.36M]
  ------------------
  269|  32.1k|                    {
  270|  32.1k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 14.0k, False: 32.1k]
  ------------------
  271|  14.0k|                        {
  272|  14.0k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 1.84k, False: 12.2k]
  |  Branch (272:91): [True: 1.89k, False: 10.3k]
  ------------------
  273|  3.74k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 923, False: 2.82k]
  ------------------
  274|    923|                            {
  275|    923|                                data_.push_back(std::move(kv.value()));
  276|    923|                            }
  277|  14.0k|                        }
  278|  32.1k|                        current.clear();                           
  279|  32.1k|                        break;
  280|      0|                    }
  281|  6.32M|                    default:
  ------------------
  |  Branch (281:21): [True: 6.32M, False: 77.8k]
  ------------------
  282|  6.32M|                        break;
  283|  6.39M|                }
  284|  6.39M|            }
  285|  4.12M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|  45.7k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|  45.7k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  83.6k|        {
  126|  83.6k|            return data_.empty();
  127|  83.6k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|  45.7k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  19.7k|            : allocator_holder<allocator_type>(alloc), 
   50|  19.7k|              data_(value_allocator_type(alloc))
   51|  19.7k|        {
   52|  19.7k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  1.96k|        {
  218|  1.96k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  1.96k|            return data_.back();
  220|  1.96k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  71.5k|        void reserve(std::size_t n) {data_.reserve(n);}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE9push_backIS6_S5_EENS3_9enable_ifIXsr3std16allocator_traitsIT0_E15is_always_equalE5valueEvE4typeEOT_:
  178|  7.20M|        {
  179|  7.20M|            data_.emplace_back(std::forward<T>(value));
  180|  7.20M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  4.10M|        json_array() = default;

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|    680|        : alloc_(alloc),
   75|    680|          result_(),
   76|    680|          name_(alloc),
   77|    680|          item_stack_(alloc),
   78|    680|          structure_stack_(temp_alloc)
   79|    680|    {
   80|       |        //item_stack_.reserve(1000);
   81|       |        //structure_stack_.reserve(100);
   82|    680|        structure_stack_.emplace_back(json_structure_kind::root_kind, 0);
   83|    680|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14json_structureC2ENS7_19json_structure_kindEm:
   51|  8.10M|            : structure_kind(type), structure_index(offset)
   52|  8.10M|        {
   53|  8.10M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  186|  4.02M|    {
  187|  4.02M|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   67|  4.02M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 4.02M]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  188|  4.02M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::array_kind);
  ------------------
  |  |   67|  4.02M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 4.02M]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  189|  4.02M|        const size_t structure_index = structure_stack_.back().structure_index;
  190|  4.02M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   67|  4.02M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 4.02M]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  191|       |
  192|  4.02M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  193|  4.02M|        auto& arr = item_stack_[structure_index].value;
  194|  4.02M|        const size_t size = item_stack_.size() - (structure_index + 1);
  195|       |
  196|  4.02M|        if (size > 0)
  ------------------
  |  Branch (196:13): [True: 71.5k, False: 3.94M]
  ------------------
  197|  71.5k|        {
  198|  71.5k|            arr.reserve(size);
  199|  71.5k|            auto first = item_stack_.begin() + (structure_index+1);
  200|  71.5k|            auto last = first + size;
  201|  7.28M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (201:35): [True: 7.20M, False: 71.5k]
  ------------------
  202|  7.20M|            {
  203|  7.20M|                arr.push_back(std::move((*it).value));
  204|  7.20M|            }
  205|  71.5k|            item_stack_.erase(first, item_stack_.end());
  206|  71.5k|        }
  207|       |
  208|  4.02M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (208:13): [True: 33, False: 4.02M]
  ------------------
  209|     33|        {
  210|     33|            result_ = std::move(item_stack_.front().value);
  211|     33|            item_stack_.pop_back();
  212|     33|            is_valid_ = true;
  213|     33|        }
  214|       |
  215|  4.02M|        structure_stack_.pop_back();
  216|  4.02M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.02M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  4.02M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  311|  2.26M|    {
  312|  2.26M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (312:17): [True: 2.26M, False: 0]
  ------------------
  313|  2.26M|        {
  314|  7.77k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (314:13): [True: 7.77k, False: 2.25M]
  ------------------
  315|  7.77k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  316|  7.77k|                break;
  317|  2.25M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (317:13): [True: 2.25M, False: 7.77k]
  ------------------
  318|  2.25M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  319|  2.25M|                break;
  320|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (320:13): [True: 0, False: 2.26M]
  ------------------
  321|      0|                result_ = Json(value,tag);
  322|      0|                is_valid_ = true;
  323|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  324|  2.26M|        }
  325|  2.26M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  2.26M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  2.26M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  290|  2.32M|    {
  291|  2.32M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (291:17): [True: 2.32M, False: 0]
  ------------------
  292|  2.32M|        {
  293|  20.9k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (293:13): [True: 20.9k, False: 2.29M]
  ------------------
  294|  20.9k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  295|  20.9k|                break;
  296|  2.29M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (296:13): [True: 2.29M, False: 20.9k]
  ------------------
  297|  2.29M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  298|  2.29M|                break;
  299|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (299:13): [True: 0, False: 2.32M]
  ------------------
  300|      0|                result_ = Json(value,tag);
  301|      0|                is_valid_ = true;
  302|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  2.32M|        }
  304|  2.32M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  2.32M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  305|  2.32M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  353|   226k|    {
  354|   226k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (354:17): [True: 226k, False: 0]
  ------------------
  355|   226k|        {
  356|    768|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (356:13): [True: 768, False: 225k]
  ------------------
  357|    768|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  358|    768|                break;
  359|   225k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (359:13): [True: 225k, False: 768]
  ------------------
  360|   225k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  361|   225k|                break;
  362|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (362:13): [True: 0, False: 226k]
  ------------------
  363|      0|                result_ = Json(value, tag);
  364|      0|                is_valid_ = true;
  365|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|   226k|        }
  367|   226k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   226k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|   226k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|    125|    {
  123|    125|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  3.99M|    {
  127|  3.99M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (127:13): [True: 78.0k, False: 3.92M]
  ------------------
  128|  78.0k|        {
  129|  78.0k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  130|  78.0k|            item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  131|  78.0k|        }
  132|  3.92M|        else
  133|  3.92M|        {
  134|  3.92M|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  135|  3.92M|            item_stack_.emplace_back(key_type(alloc_), 0, json_object_arg, tag);
  136|  3.92M|        }
  137|  3.99M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  3.99M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  138|  3.99M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  141|  3.99M|    {
  142|  3.99M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   67|  3.99M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 3.99M]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  143|  3.99M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::object_kind);
  ------------------
  |  |   67|  3.99M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 3.99M]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  144|  3.99M|        const size_t structure_index = structure_stack_.back().structure_index;
  145|  3.99M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   67|  3.99M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 3.99M]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  146|       |
  147|  3.99M|        const size_t size = item_stack_.size() - (structure_index + 1);
  148|  3.99M|        auto first = item_stack_.begin() + (structure_index+1);
  149|  3.99M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  150|  3.99M|        auto& obj = item_stack_[structure_index].value;
  151|       |
  152|  3.99M|        if (size > 0)
  ------------------
  |  Branch (152:13): [True: 27.6k, False: 3.96M]
  ------------------
  153|  27.6k|        {
  154|  27.6k|            obj.template cast<typename Json::object_storage>().value().uninitialized_init(
  155|  27.6k|                &item_stack_[structure_index+1], size);
  156|  27.6k|            item_stack_.erase(first, item_stack_.end());
  157|  27.6k|        }
  158|       |
  159|  3.99M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (159:13): [True: 85, False: 3.99M]
  ------------------
  160|     85|        {
  161|     85|            result_ = std::move(item_stack_.front().value);
  162|     85|            item_stack_.pop_back();
  163|     85|            is_valid_ = true;
  164|     85|        }
  165|       |
  166|  3.99M|        structure_stack_.pop_back();
  167|  3.99M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  3.99M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  168|  3.99M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  171|  4.10M|    {
  172|  4.10M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (172:13): [True: 56.0k, False: 4.04M]
  ------------------
  173|  56.0k|        {
  174|  56.0k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  175|  56.0k|            item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  176|  56.0k|        }
  177|  4.04M|        else
  178|  4.04M|        {
  179|  4.04M|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  180|  4.04M|            item_stack_.emplace_back(key_type(alloc_), 0, json_array_arg, tag);
  181|  4.04M|        }
  182|  4.10M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.10M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  183|  4.10M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  220|  6.11M|    {
  221|  6.11M|        name_ = key_type(name.data(),name.length(),alloc_);
  222|  6.11M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  6.11M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  223|  6.11M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  389|  16.0M|    {
  390|  16.0M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (390:17): [True: 16.0M, False: 0]
  ------------------
  391|  16.0M|        {
  392|  5.81M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (392:13): [True: 5.81M, False: 10.2M]
  ------------------
  393|  5.81M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  394|  5.81M|                break;
  395|  10.2M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (395:13): [True: 10.2M, False: 5.81M]
  ------------------
  396|  10.2M|                item_stack_.emplace_back(key_type(alloc_), 0, null_type(), tag);
  397|  10.2M|                break;
  398|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (398:13): [True: 0, False: 16.0M]
  ------------------
  399|      0|                result_ = Json(null_type(), tag);
  400|      0|                is_valid_ = true;
  401|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  402|  16.0M|        }
  403|  16.0M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  16.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  404|  16.0M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  371|  8.37M|    {
  372|  8.37M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (372:17): [True: 8.37M, False: 0]
  ------------------
  373|  8.37M|        {
  374|   104k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (374:13): [True: 104k, False: 8.27M]
  ------------------
  375|   104k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  376|   104k|                break;
  377|  8.27M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (377:13): [True: 8.27M, False: 104k]
  ------------------
  378|  8.27M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  379|  8.27M|                break;
  380|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (380:13): [True: 0, False: 8.37M]
  ------------------
  381|      0|                result_ = Json(value, tag);
  382|      0|                is_valid_ = true;
  383|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  384|  8.37M|        }
  385|  8.37M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  8.37M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  8.37M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  226|  2.38M|    {
  227|  2.38M|        auto& structure = structure_stack_.back();
  228|  2.38M|        switch (structure.structure_kind)
  ------------------
  |  Branch (228:17): [True: 2.38M, False: 0]
  ------------------
  229|  2.38M|        {
  230|  23.8k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (230:13): [True: 23.8k, False: 2.36M]
  ------------------
  231|  23.8k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  232|  23.8k|                break;
  233|  2.36M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (233:13): [True: 2.36M, False: 23.8k]
  ------------------
  234|  2.36M|                item_stack_.emplace_back(key_type(alloc_), 0, sv, tag);
  235|  2.36M|                break;
  236|      7|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (236:13): [True: 7, False: 2.38M]
  ------------------
  237|      7|                result_ = Json(sv, tag, alloc_);
  238|      7|                is_valid_ = true;
  239|      7|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      7|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  240|  2.38M|        }
  241|  2.38M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  2.38M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  242|  2.38M|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|    125|    {
  109|    125|        return is_valid_;
  110|    125|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|    125|    {
  114|    125|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   67|    125|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 125]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  115|    125|        is_valid_ = false;
  116|    125|        return std::move(result_);
  117|    125|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|    680|{
 1065|    680|    return json_visitor_adaptor<From, To>(to);
 1066|    680|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|    680|        : supertype(visitor)
  984|    680|    {
  985|    680|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|    680|        : destination1_(std::addressof(visitor))
  722|    680|    {
  723|    680|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  777|  27.8k|    {
  778|  27.8k|        destination1_->begin_array(length, tag, context, ec);
  779|  27.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  27.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|  27.8k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  4.02M|    {
  784|  4.02M|        destination1_->end_array(context, ec);
  785|  4.02M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.02M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  4.02M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  2.26M|    {
  826|  2.26M|        destination1_->uint64_value(value, tag, context, ec);
  827|  2.26M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  2.26M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  2.26M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  2.32M|    {
  820|  2.32M|        destination1_->int64_value(value, tag, context, ec);
  821|  2.32M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  2.32M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  2.32M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|   226k|    {
  814|   226k|        destination1_->double_value(value, tag, context, ec);
  815|   226k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   226k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|   226k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|    125|    {
  739|    125|        destination1_->flush();
  740|    125|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  745|  3.94M|    {
  746|  3.94M|        destination1_->begin_object(tag, context, ec);
  747|  3.94M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  3.94M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  748|  3.94M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|  53.7k|    {
  755|  53.7k|        destination1_->begin_object(length, tag, context, ec);
  756|  53.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  53.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  53.7k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  3.99M|    {
  761|  3.99M|        destination1_->end_object(context, ec);
  762|  3.99M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  3.99M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  3.99M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  768|  4.07M|    {
  769|  4.07M|        destination1_->begin_array(tag, context, ec);
  770|  4.07M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.07M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  771|  4.07M|    }
_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|  6.11M|    {
  996|  6.11M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  6.11M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  8.49M|    {
  733|  8.49M|        return *destination1_;
  734|  8.49M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  16.0M|    {
  838|  16.0M|        destination1_->null_value(tag, context, ec);
  839|  16.0M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  16.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  16.0M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  8.37M|    {
  832|  8.37M|        destination1_->bool_value(value, tag, context, ec);
  833|  8.37M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  8.37M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  8.37M|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE12visit_stringERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
 1003|  2.38M|    {
 1004|  2.38M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  2.38M|    }

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  1.36k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  1.36k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|  27.8k|        {
  561|  27.8k|            visit_begin_array(tag, context, ec);
  562|  27.8k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  27.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  27.8k|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  53.7k|        {
  545|  53.7k|            visit_begin_object(tag, context, ec);
  546|  53.7k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  53.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  53.7k|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  55.7k|        {
  346|  55.7k|            visit_begin_array(length, tag, context, ec);
  347|  55.7k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  55.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  55.7k|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  4.52M|        {
  415|  4.52M|            visit_uint64(value, tag, context, ec);
  416|  4.52M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.52M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  4.52M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  8.04M|        {
  352|  8.04M|            visit_end_array(context, ec);
  353|  8.04M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  8.04M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  8.04M|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  4.64M|        {
  424|  4.64M|            visit_int64(value, tag, context, ec);
  425|  4.64M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.64M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  4.64M|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|   452k|        {
  442|   452k|            visit_double(value, tag, context, ec);
  443|   452k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   452k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|   452k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|    250|        {
  109|    250|            visit_flush();
  110|    250|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  318|  7.89M|        {
  319|  7.89M|            visit_begin_object(tag, context, ec);
  320|  7.89M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  7.89M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  321|  7.89M|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|   107k|        {
  328|   107k|            visit_begin_object(length, tag, context, ec);
  329|   107k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   107k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|   107k|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  7.99M|        {
  334|  7.99M|            visit_end_object(context, ec);
  335|  7.99M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  7.99M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  7.99M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  339|  8.14M|        {
  340|  8.14M|            visit_begin_array(tag, context, ec);
  341|  8.14M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  8.14M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  342|  8.14M|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  12.2M|        {
  358|  12.2M|            visit_key(name, context, ec);
  359|  12.2M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  12.2M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  12.2M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  32.0M|        {
  366|  32.0M|            visit_null(tag, context, ec);
  367|  32.0M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  32.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  32.0M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  16.7M|        {
  375|  16.7M|            visit_bool(value, tag, context, ec);
  376|  16.7M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  16.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  16.7M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  4.77M|        {
  384|  4.77M|            visit_string(value, tag, context, ec);
  385|  4.77M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.77M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  4.77M|        }

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|  92.1k|    {
  121|  92.1k|        return value_;
  122|  92.1k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  28.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|  2.26M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.26M|    {
   45|  2.26M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  66.2M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.32M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.32M|    {
   45|  2.32M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   226k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   226k|    {
   45|   226k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  3.99M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.99M|    {
   45|  3.99M|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|  68.6k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|  68.6k|    {
   88|  68.6k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.10M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.10M|    {
   45|  4.10M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  16.0M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  16.0M|    {
   45|  16.0M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  8.37M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  8.37M|    {
   45|  8.37M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  2.38M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.38M|    {
   45|  2.38M|    }

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

_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2EPS2_m:
  102|   438k|        : data_(data), size_(size)
  103|   438k|    {
  104|   438k|    }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4dataEv:
  154|  12.2M|    {
  155|  12.2M|        return data_;
  156|  12.2M|    }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4sizeEv:
  159|  18.4M|    {
  160|  18.4M|        return size_;
  161|  18.4M|    }
_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2Ev:
   99|  5.70M|    {
  100|  5.70M|    }

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  8.67k|        {
  159|  8.67k|            return data_.empty();
  160|  8.67k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  32.1k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  32.1k|        {
  169|  32.1k|            return data_.begin();
  170|  32.1k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  32.1k|        {
  174|  32.1k|            return data_.end();
  175|  32.1k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  3.99M|        {
  154|  3.99M|            flatten_and_destroy();
  155|  3.99M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  732|  3.99M|        {
  733|  3.99M|            if (!data_.empty())
  ------------------
  |  Branch (733:17): [True: 19.7k, False: 3.97M]
  ------------------
  734|  19.7k|            {
  735|  19.7k|                json_array<Json> temp(get_allocator());
  736|       |
  737|  19.7k|                for (auto& kv : data_)
  ------------------
  |  Branch (737:31): [True: 54.6k, False: 19.7k]
  ------------------
  738|  54.6k|                {
  739|  54.6k|                    switch (kv.value().storage_kind())
  740|  54.6k|                    {
  741|  3.60k|                        case json_storage_kind::array:
  ------------------
  |  Branch (741:25): [True: 3.60k, False: 51.0k]
  ------------------
  742|  4.56k|                        case json_storage_kind::object:
  ------------------
  |  Branch (742:25): [True: 964, False: 53.6k]
  ------------------
  743|  4.56k|                            if (!kv.value().empty())
  ------------------
  |  Branch (743:33): [True: 1.96k, False: 2.60k]
  ------------------
  744|  1.96k|                            {
  745|  1.96k|                                temp.emplace_back(std::move(kv.value()));
  746|  1.96k|                            }
  747|  4.56k|                            break;
  748|  50.0k|                        default:
  ------------------
  |  Branch (748:25): [True: 50.0k, False: 4.56k]
  ------------------
  749|  50.0k|                            break;
  750|  54.6k|                    }
  751|  54.6k|                }
  752|  19.7k|            }
  753|  3.99M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  3.99M|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  27.6k|        {
  278|  27.6k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 27.6k, False: 0]
  ------------------
  279|  27.6k|            {
  280|  27.6k|                data_.reserve(count);
  281|       |
  282|  27.6k|                std::sort(items, items+count, compare);
  283|  27.6k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  5.91M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 5.88M, False: 27.6k]
  ------------------
  286|  5.88M|                {
  287|  5.88M|                    auto& item = items[i];
  288|  5.88M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 41.0k, False: 5.84M]
  ------------------
  289|  41.0k|                    {
  290|  41.0k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|  41.0k|                    }
  292|  5.88M|                }
  293|  27.6k|            }
  294|  27.6k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|   134M|        {
  269|   134M|            int comp = item1.name.compare(item2.name); 
  270|   134M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 1.61M, False: 132M]
  ------------------
  271|   132M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 132M, False: 216k]
  ------------------
  272|       |
  273|   216k|            return false;
  274|   132M|        }

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  176|    680|        : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  177|    680|          chunk_size_(default_max_chunk_size)
  178|    680|    {
  179|    680|        chunk_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, chunk_size_);
  180|    680|        data_end_ = chunk_;
  181|    680|    }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   57|    680|      : std::basic_istream<CharT>(&nb_)
   58|    680|    {
   59|    680|    }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   43|    680|        null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  193|    680|    {
  194|    680|        if (chunk_)
  ------------------
  |  Branch (194:13): [True: 680, False: 0]
  ------------------
  195|    680|        {
  196|    680|            std::allocator_traits<char_allocator_type>::deallocate(alloc_, chunk_, chunk_size_);
  197|    680|        }
  198|    680|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|    555|    {
  282|    555|        return position_;
  283|    555|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  25.1M|    {
  277|  25.1M|        return stream_ptr_->bad();  
  278|  25.1M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  377|  44.7M|    {
  378|  44.7M|        std::size_t len = 0;
  379|  44.7M|        if (remaining_ > 0)
  ------------------
  |  Branch (379:13): [True: 44.7M, False: 1.87k]
  ------------------
  380|  44.7M|        {
  381|  44.7M|            len = (std::min)(remaining_, length);
  382|  44.7M|            std::memcpy(p, data_end_, len*sizeof(value_type));
  383|  44.7M|            data_end_ += len;
  384|  44.7M|            remaining_ -= len;
  385|  44.7M|            position_ += len;
  386|  44.7M|        }
  387|  44.7M|        if (length - len == 0)
  ------------------
  |  Branch (387:13): [True: 44.7M, False: 3.69k]
  ------------------
  388|  44.7M|        {
  389|  44.7M|            return len;
  390|  44.7M|        }
  391|  3.69k|        else if (length - len < chunk_size_)
  ------------------
  |  Branch (391:18): [True: 3.69k, False: 0]
  ------------------
  392|  3.69k|        {
  393|  3.69k|            data_end_ = chunk_;
  394|  3.69k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  395|  3.69k|            if (remaining_ > 0)
  ------------------
  |  Branch (395:17): [True: 3.56k, False: 126]
  ------------------
  396|  3.56k|            {
  397|  3.56k|                std::size_t len2 = (std::min)(remaining_, length-len);
  398|  3.56k|                std::memcpy(p+len, data_end_, len2*sizeof(value_type));
  399|  3.56k|                data_end_ += len2;
  400|  3.56k|                remaining_ -= len2;
  401|  3.56k|                position_ += len2;
  402|  3.56k|                len += len2;
  403|  3.56k|            }
  404|  3.69k|            return len;
  405|  3.69k|        }
  406|      0|        else
  407|      0|        {
  408|      0|            if (stream_ptr_->eof())
  ------------------
  |  Branch (408:17): [True: 0, False: 0]
  ------------------
  409|      0|            {
  410|      0|                remaining_ = 0;
  411|      0|                return 0;
  412|      0|            }
  413|      0|            JSONCONS_TRY
  ------------------
  |  |   37|      0|    #define JSONCONS_TRY try
  ------------------
  414|      0|            {
  415|      0|                std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(p+len), length-len);
  416|      0|                std::size_t len2 = static_cast<std::size_t>(count);
  417|      0|                if (len2 < length-len)
  ------------------
  |  Branch (417:21): [True: 0, False: 0]
  ------------------
  418|      0|                {
  419|      0|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  420|      0|                }
  421|      0|                len += len2;
  422|      0|                position_ += len2;
  423|      0|                return len;
  424|      0|            }
  425|      0|            JSONCONS_CATCH(const std::exception&)     
  426|      0|            {
  427|      0|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  428|      0|                return 0;
  429|      0|            }
  430|      0|        }
  431|  44.7M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  442|  6.16k|    {
  443|  6.16k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (443:13): [True: 201, False: 5.96k]
  ------------------
  444|    201|        {
  445|    201|            return 0;
  446|    201|        }
  447|       |
  448|  5.96k|        JSONCONS_TRY
  ------------------
  |  |   37|  5.96k|    #define JSONCONS_TRY try
  ------------------
  449|  5.96k|        {
  450|  5.96k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  451|  5.96k|            std::size_t length = static_cast<std::size_t>(count);
  452|       |
  453|  5.96k|            if (length < chunk_size)
  ------------------
  |  Branch (453:17): [True: 646, False: 5.31k]
  ------------------
  454|    646|            {
  455|    646|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  456|    646|            }
  457|  5.96k|            return length;
  458|  5.96k|        }
  459|  5.96k|        JSONCONS_CATCH(const std::exception&)     
  460|  5.96k|        {
  461|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  462|      0|            return 0;
  463|      0|        }
  464|  5.96k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_12basic_stringIcNS1_11char_traitsIcEENS2_IcEEEEEENS_6nonstd4spanIKhLm18446744073709551615EEEmOT_:
  352|  6.13M|    {
  353|  6.13M|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   79|  6.13M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 5.70M, False: 438k]
  |  |  ------------------
  ------------------
  354|  5.70M|        {
  355|  5.70M|            return span<const value_type>{};
  356|  5.70M|        }
  357|   438k|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 186, False: 438k]
  |  Branch (357:32): [True: 57, False: 129]
  ------------------
  358|     57|        {
  359|     57|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|     57|            data_end_ = chunk_;
  361|     57|        }
  362|   438k|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 612, False: 437k]
  ------------------
  363|    612|        {
  364|    612|            buffer.clear();
  365|    612|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    612|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    612|        }
  368|       |
  369|   437k|        const value_type* data = data_end_;
  370|   437k|        data_end_ += length;
  371|   437k|        remaining_ -= length;
  372|   437k|        position_ += length;
  373|   437k|        return span<const value_type>(data, length);
  374|   438k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_12basic_stringIcNS2_11char_traitsIcEENS3_IcEEEEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSG_m:
  749|    612|    {
  750|    612|        std::size_t unread = length;
  751|       |
  752|  3.04k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (752:16): [True: 2.62k, False: 419]
  |  Branch (752:30): [True: 2.43k, False: 193]
  ------------------
  753|  2.43k|        {
  754|  2.43k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (754:17): [True: 497, False: 1.93k]
  |  Branch (754:44): [True: 492, False: 5]
  ------------------
  755|    492|            {
  756|    492|                std::size_t n = source.chunk_size();
  757|    492|                std::size_t offset = buffer.size();
  758|    492|                buffer.resize(offset+n);
  759|    492|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  760|    492|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|    492|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 121, False: 371]
  |  |  ------------------
  ------------------
  761|    121|                {
  762|    121|                    buffer.resize(offset+actual);
  763|    121|                }
  764|    492|                unread -= actual;
  765|    492|            }
  766|  1.94k|            else
  767|  1.94k|            {
  768|  1.94k|                std::size_t n = (std::min)(source.chunk_size(), unread);
  769|  1.94k|                std::size_t offset = buffer.size();
  770|  1.94k|                buffer.resize(offset+n);
  771|  1.94k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  772|  1.94k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|  1.94k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 69, False: 1.87k]
  |  |  ------------------
  ------------------
  773|     69|                {
  774|     69|                    buffer.resize(offset + actual);
  775|     69|                }
  776|  1.94k|                unread -= actual;
  777|  1.94k|            }
  778|  2.43k|        }
  779|    612|        return length - unread;
  780|    612|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  2.62k|    {
  272|  2.62k|        return remaining_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 690, False: 1.93k]
  |  Branch (272:35): [True: 193, False: 497]
  ------------------
  273|  2.62k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9remainingEv:
  346|  2.43k|    {
  347|  2.43k|        return remaining_;
  348|  2.43k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|  2.93k|    {
  262|  2.93k|        return chunk_size_;
  263|  2.93k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11read_bufferEPhm:
  435|    492|    {
  436|    492|        auto len = fill_buffer(chunk, chunk_size);
  437|    492|        position_ += len;
  438|    492|        return len;
  439|    492|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4peekEv:
  312|  45.0M|    {
  313|  45.0M|        if (remaining_ == 0)
  ------------------
  |  Branch (313:13): [True: 1.92k, False: 45.0M]
  ------------------
  314|  1.92k|        {
  315|  1.92k|            data_end_ = chunk_;
  316|  1.92k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  317|  1.92k|        }
  318|  45.0M|        if (remaining_ > 0)
  ------------------
  |  Branch (318:13): [True: 45.0M, False: 92]
  ------------------
  319|  45.0M|        {
  320|  45.0M|            value_type c = *data_end_;
  321|  45.0M|            return char_result<value_type>{c, false};
  322|  45.0M|        }
  323|     92|        else
  324|     92|        {
  325|     92|            return char_result<value_type>{0, true};
  326|     92|        }
  327|  45.0M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE6ignoreEm:
  286|  8.08M|    {
  287|  8.08M|        std::size_t len = 0;
  288|  8.08M|        if (remaining_ > 0)
  ------------------
  |  Branch (288:13): [True: 8.08M, False: 0]
  ------------------
  289|  8.08M|        {
  290|  8.08M|            len = (std::min)(remaining_, length);
  291|  8.08M|            position_ += len;
  292|  8.08M|            data_end_ += len;
  293|  8.08M|            remaining_ -= len;
  294|  8.08M|        }
  295|  8.08M|        while (len < length)
  ------------------
  |  Branch (295:16): [True: 0, False: 8.08M]
  ------------------
  296|      0|        {
  297|      0|            data_end_ = chunk_;
  298|      0|            remaining_ = fill_buffer(chunk_, chunk_size_);
  299|      0|            if (remaining_ == 0)
  ------------------
  |  Branch (299:17): [True: 0, False: 0]
  ------------------
  300|      0|            {
  301|      0|                break;
  302|      0|            }
  303|      0|            std::size_t len2 = (std::min)(remaining_, length-len);
  304|      0|            position_ += len2;
  305|      0|            data_end_ += len2;
  306|      0|            remaining_ -= len2;
  307|      0|            len += len2;
  308|      0|        }
  309|  8.08M|    }

_ZN8jsoncons6binary13big_to_nativeIaNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  2.55M|    {
  183|  2.55M|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 2.55M]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  2.55M|        T val;
  188|  2.55M|        std::memcpy(&val,first,sizeof(T));
  189|  2.55M|        return byte_swap(val);
  190|  2.55M|    }
_ZN8jsoncons6binary9byte_swapIaEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|  2.55M|    {
   22|  2.55M|        return val;
   23|  2.55M|    }
_ZN8jsoncons6binary13big_to_nativeIsNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  25.6k|    {
  183|  25.6k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 25.6k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  25.6k|        T val;
  188|  25.6k|        std::memcpy(&val,first,sizeof(T));
  189|  25.6k|        return byte_swap(val);
  190|  25.6k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  25.6k|    {
   29|  25.6k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  25.6k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  478|  25.6k|#      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|  25.6k|    }
_ZN8jsoncons6binary13big_to_nativeIiNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  12.8k|    {
  183|  12.8k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 12.8k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  12.8k|        T val;
  188|  12.8k|        std::memcpy(&val,first,sizeof(T));
  189|  12.8k|        return byte_swap(val);
  190|  12.8k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  12.8k|    {
   40|  12.8k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  12.8k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  474|  12.8k|#  define JSONCONS_BYTE_SWAP_32 __builtin_bswap32
  ------------------
   42|       |    #else
   43|       |        uint32_t tmp = ((static_cast<uint32_t>(val) << 8) & 0xff00ff00) | ((static_cast<uint32_t>(val) >> 8) & 0xff00ff);
   44|       |        return (tmp << 16) | (tmp >> 16);
   45|       |    #endif
   46|  12.8k|    }
_ZN8jsoncons6binary13big_to_nativeIlNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  10.2k|    {
  183|  10.2k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 10.2k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  10.2k|        T val;
  188|  10.2k|        std::memcpy(&val,first,sizeof(T));
  189|  10.2k|        return byte_swap(val);
  190|  10.2k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  10.2k|    {
   52|  10.2k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  10.2k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  473|  10.2k|#  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|  10.2k|    }
_ZN8jsoncons6binary13big_to_nativeIfNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   224k|    {
  183|   224k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 224k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   224k|        T val;
  188|   224k|        std::memcpy(&val,first,sizeof(T));
  189|   224k|        return byte_swap(val);
  190|   224k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|   224k|    {
   65|   224k|        uint32_t x;
   66|   224k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|   224k|        uint32_t y = byte_swap(x);
   68|   224k|        T val2;
   69|   224k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|   224k|        return val2;
   71|   224k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|   224k|    {
   40|   224k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|   224k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  474|   224k|#  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|   224k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  1.93k|    {
  183|  1.93k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 1.93k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  1.93k|        T val;
  188|  1.93k|        std::memcpy(&val,first,sizeof(T));
  189|  1.93k|        return byte_swap(val);
  190|  1.93k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  1.93k|    {
   77|  1.93k|        uint64_t x;
   78|  1.93k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  1.93k|        uint64_t y = byte_swap(x);
   80|  1.93k|        T val2;
   81|  1.93k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  1.93k|        return val2;
   83|  1.93k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  1.93k|    {
   52|  1.93k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  1.93k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  473|  1.93k|#  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|  1.93k|    }

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  237|  27.0k|    {       
  238|  27.0k|        return (ptr);
  239|  27.0k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  237|  8.20M|    {       
  238|  8.20M|        return (ptr);
  239|  8.20M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  237|  7.99M|    {       
  238|  7.99M|        return (ptr);
  239|  7.99M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  237|  27.0k|    {       
  238|  27.0k|        return (ptr);
  239|  27.0k|    }  

_ZN8jsoncons9is_base10IhEEbPKT_m:
  187|  2.13k|{
  188|  2.13k|    integer_chars_state state = integer_chars_state::initial;
  189|       |
  190|  2.13k|    const CharT* end = s + length; 
  191|  4.64k|    for (;s < end; ++s)
  ------------------
  |  Branch (191:11): [True: 4.53k, False: 108]
  ------------------
  192|  4.53k|    {
  193|  4.53k|        switch(state)
  194|  4.53k|        {
  195|  2.12k|            case integer_chars_state::initial:
  ------------------
  |  Branch (195:13): [True: 2.12k, False: 2.41k]
  ------------------
  196|  2.12k|            {
  197|  2.12k|                switch(*s)
  198|  2.12k|                {
  199|  1.57k|                    case '0':case '1':case '2':case '3':case '4':case '5':case '6':case '7':case '8': case '9':
  ------------------
  |  Branch (199:21): [True: 177, False: 1.94k]
  |  Branch (199:30): [True: 768, False: 1.35k]
  |  Branch (199:39): [True: 220, False: 1.90k]
  |  Branch (199:48): [True: 60, False: 2.06k]
  |  Branch (199:57): [True: 188, False: 1.93k]
  |  Branch (199:66): [True: 4, False: 2.11k]
  |  Branch (199:75): [True: 32, False: 2.08k]
  |  Branch (199:84): [True: 116, False: 2.00k]
  |  Branch (199:93): [True: 0, False: 2.12k]
  |  Branch (199:103): [True: 8, False: 2.11k]
  ------------------
  200|  1.57k|                        state = integer_chars_state::decimal;
  201|  1.57k|                        break;
  202|     83|                    case '-':
  ------------------
  |  Branch (202:21): [True: 83, False: 2.03k]
  ------------------
  203|     83|                        state = integer_chars_state::minus;
  204|     83|                        break;
  205|    464|                    default:
  ------------------
  |  Branch (205:21): [True: 464, False: 1.65k]
  ------------------
  206|    464|                        return false;
  207|  2.12k|                }
  208|  1.65k|                break;
  209|  2.12k|            }
  210|  1.65k|            case integer_chars_state::minus:
  ------------------
  |  Branch (210:13): [True: 76, False: 4.46k]
  ------------------
  211|     76|            {
  212|     76|                switch(*s)
  213|     76|                {
  214|     67|                    case '0':case '1':case '2':case '3':case '4':case '5':case '6':case '7':case '8': case '9':
  ------------------
  |  Branch (214:21): [True: 46, False: 30]
  |  Branch (214:30): [True: 15, False: 61]
  |  Branch (214:39): [True: 1, False: 75]
  |  Branch (214:48): [True: 0, False: 76]
  |  Branch (214:57): [True: 0, False: 76]
  |  Branch (214:66): [True: 0, False: 76]
  |  Branch (214:75): [True: 0, False: 76]
  |  Branch (214:84): [True: 5, False: 71]
  |  Branch (214:93): [True: 0, False: 76]
  |  Branch (214:103): [True: 0, False: 76]
  ------------------
  215|     67|                        state = integer_chars_state::decimal;
  216|     67|                        break;
  217|      9|                    default:
  ------------------
  |  Branch (217:21): [True: 9, False: 67]
  ------------------
  218|      9|                        return false;
  219|     76|                }
  220|     67|                break;
  221|     76|            }
  222|  2.34k|            case integer_chars_state::decimal:
  ------------------
  |  Branch (222:13): [True: 2.34k, False: 2.19k]
  ------------------
  223|  2.34k|            {
  224|  2.34k|                switch(*s)
  225|  2.34k|                {
  226|    786|                    case '0':case '1':case '2':case '3':case '4':case '5':case '6':case '7':case '8': case '9':
  ------------------
  |  Branch (226:21): [True: 177, False: 2.16k]
  |  Branch (226:30): [True: 58, False: 2.28k]
  |  Branch (226:39): [True: 26, False: 2.31k]
  |  Branch (226:48): [True: 20, False: 2.32k]
  |  Branch (226:57): [True: 40, False: 2.30k]
  |  Branch (226:66): [True: 3, False: 2.34k]
  |  Branch (226:75): [True: 78, False: 2.26k]
  |  Branch (226:84): [True: 41, False: 2.30k]
  |  Branch (226:93): [True: 83, False: 2.26k]
  |  Branch (226:103): [True: 260, False: 2.08k]
  ------------------
  227|    786|                        break;
  228|  1.55k|                    default:
  ------------------
  |  Branch (228:21): [True: 1.55k, False: 786]
  ------------------
  229|  1.55k|                        return false;
  230|  2.34k|                }
  231|    786|                break;
  232|  2.34k|            }
  233|    786|            default:
  ------------------
  |  Branch (233:13): [True: 0, False: 4.53k]
  ------------------
  234|      0|                break;
  235|  4.53k|        }
  236|  4.53k|    }
  237|    108|    return state == integer_chars_state::decimal ? true : false;
  ------------------
  |  Branch (237:12): [True: 83, False: 25]
  ------------------
  238|  2.13k|}

_ZN8jsoncons14unicode_traits8validateIhEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  8.49M|    {
 1148|  8.49M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  8.49M|        const uint8_t* end = it + length;
 1150|       |
 1151|  8.49M|        unicode_errc  result{};
 1152|  13.0M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 4.51M, False: 8.49M]
  ------------------
 1153|  4.51M|        {
 1154|  4.51M|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 1.59M, False: 2.92M]
  ------------------
 1155|  1.59M|            {
 1156|  11.1M|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  342|  3.18M|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (342:32): [True: 1.59M, False: 177]
  |  |  |  Branch (342:34): [True: 1.59M, False: 826]
  |  |  |  Branch (342:36): [True: 1.59M, False: 378]
  |  |  |  Branch (342:38): [True: 1.58M, False: 1.42k]
  |  |  |  Branch (342:40): [True: 1.58M, False: 291]
  |  |  |  Branch (342:42): [True: 1.58M, False: 219]
  |  |  |  Branch (342:44): [True: 1.58M, False: 312]
  |  |  |  Branch (342:46): [True: 1.58M, False: 179]
  |  |  ------------------
  ------------------
 1157|  1.58M|                continue;
 1158|  11.1M|            }
 1159|  2.93M|    non_ascii:
 1160|  2.93M|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  2.93M|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 2, False: 2.93M]
  ------------------
 1162|      2|            {
 1163|      2|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|      2|            }
 1165|  2.93M|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 34, False: 2.93M]
  ------------------
 1166|     34|            {
 1167|     34|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|     34|            }
 1169|  2.93M|            it += len;
 1170|  2.93M|        }
 1171|  8.49M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  8.49M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  2.93M|    {
  306|  2.93M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  2.93M|        const uint8_t* end = it+length;
  308|       |
  309|  2.93M|        uint8_t byte;
  310|  2.93M|        switch (length) {
  311|     12|        default:
  ------------------
  |  Branch (311:9): [True: 12, False: 2.93M]
  ------------------
  312|     12|            return unicode_errc::over_long_utf8_sequence;
  313|  2.24k|        case 4:
  ------------------
  |  Branch (313:9): [True: 2.24k, False: 2.92M]
  ------------------
  314|  2.24k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 2, False: 2.24k]
  ------------------
  315|      2|                return unicode_errc::bad_continuation_byte;
  316|  2.24k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  576|  2.24k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  2.85k|        case 3:
  ------------------
  |  Branch (317:9): [True: 607, False: 2.93M]
  ------------------
  318|  2.85k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 0, False: 2.85k]
  ------------------
  319|      0|                return unicode_errc::bad_continuation_byte;
  320|  2.85k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  576|  2.85k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  3.77k|        case 2:
  ------------------
  |  Branch (321:9): [True: 926, False: 2.93M]
  ------------------
  322|  3.77k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 3, False: 3.77k]
  ------------------
  323|      3|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  3.77k|            switch (*it) 
  326|  3.77k|            {
  327|       |                // no fall-through in this inner switch
  328|    100|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 100, False: 3.67k]
  |  Branch (328:32): [True: 0, False: 100]
  ------------------
  329|    100|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 11, False: 3.76k]
  |  Branch (329:32): [True: 0, False: 11]
  ------------------
  330|    769|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 769, False: 3.00k]
  |  Branch (330:32): [True: 0, False: 769]
  ------------------
  331|  1.09k|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 1.09k, False: 2.68k]
  |  Branch (331:32): [True: 0, False: 1.09k]
  ------------------
  332|  1.80k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 1.80k, False: 1.97k]
  |  Branch (332:32): [True: 0, False: 1.80k]
  ------------------
  333|  3.77k|            }
  334|       |
  335|  3.77k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  576|  3.77k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  2.93M|        case 1:
  ------------------
  |  Branch (336:9): [True: 2.92M, False: 3.79k]
  ------------------
  337|  2.93M|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 3.79k, False: 2.92M]
  |  Branch (337:32): [True: 17, False: 3.77k]
  ------------------
  338|     17|                return unicode_errc::source_illegal;
  339|  2.93M|            break;
  340|  2.93M|        }
  341|  2.93M|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 0, False: 2.93M]
  ------------------
  342|      0|            return unicode_errc::source_illegal;
  343|       |
  344|  2.93M|        return unicode_errc();
  345|  2.93M|    }

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

_ZN8jsoncons6ubjson15make_error_codeENS0_11ubjson_errcE:
   96|    623|{
   97|    623|    return std::error_code(static_cast<int>(e),ubjson_error_category());
   98|    623|}
_ZN8jsoncons6ubjson21ubjson_error_categoryEv:
   89|    623|{
   90|    623|  static ubjson_error_category_impl instance;
   91|    623|  return instance;
   92|    623|}
_ZNK8jsoncons6ubjson26ubjson_error_category_impl7messageEi:
   48|    555|    {
   49|    555|        switch (static_cast<ubjson_errc>(ev))
   50|    555|        {
   51|    352|            case ubjson_errc::unexpected_eof:
  ------------------
  |  Branch (51:13): [True: 352, False: 203]
  ------------------
   52|    352|                return "Unexpected end of file";
   53|      0|            case ubjson_errc::source_error:
  ------------------
  |  Branch (53:13): [True: 0, False: 555]
  ------------------
   54|      0|                return "Source error";
   55|      2|            case ubjson_errc::count_required_after_type:
  ------------------
  |  Branch (55:13): [True: 2, False: 553]
  ------------------
   56|      2|                return "Type is specified for container, but count is not specified";
   57|      0|            case ubjson_errc::length_is_negative:
  ------------------
  |  Branch (57:13): [True: 0, False: 555]
  ------------------
   58|      0|                return "Request for the length of an array, map or string returned a negative result";
   59|      3|            case ubjson_errc::length_must_be_integer:
  ------------------
  |  Branch (59:13): [True: 3, False: 552]
  ------------------
   60|      3|                return "Length must be a integer numeric type (int8, uint8, int16, int32, int64)";
   61|     86|            case ubjson_errc::unknown_type:
  ------------------
  |  Branch (61:13): [True: 86, False: 469]
  ------------------
   62|     86|                return "Unknown type";
   63|     36|            case ubjson_errc::invalid_utf8:
  ------------------
  |  Branch (63:13): [True: 36, False: 519]
  ------------------
   64|     36|                return "Illegal UTF-8 encoding in text string";
   65|      0|            case ubjson_errc::too_many_items:
  ------------------
  |  Branch (65:13): [True: 0, False: 555]
  ------------------
   66|      0|                return "Too many items were added to a UBJSON object or array of known length";
   67|      0|            case ubjson_errc::too_few_items:
  ------------------
  |  Branch (67:13): [True: 0, False: 555]
  ------------------
   68|      0|                return "Too few items were added to a UBJSON object or array of known length";
   69|      0|            case ubjson_errc::number_too_large:
  ------------------
  |  Branch (69:13): [True: 0, False: 555]
  ------------------
   70|      0|                return "Number exceeds implementation limits";
   71|      3|            case ubjson_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (71:13): [True: 3, False: 552]
  ------------------
   72|      3|                return "Data item nesting exceeds limit in options";
   73|      0|            case ubjson_errc::unmatched_end_object:
  ------------------
  |  Branch (73:13): [True: 0, False: 555]
  ------------------
   74|      0|                return "Unmatched end object";
   75|      0|            case ubjson_errc::unmatched_end_array:
  ------------------
  |  Branch (75:13): [True: 0, False: 555]
  ------------------
   76|      0|                return "Unmatched end array";
   77|     68|            case ubjson_errc::key_expected:
  ------------------
  |  Branch (77:13): [True: 68, False: 487]
  ------------------
   78|     68|                return "Text string key in a map expected";
   79|      5|            case ubjson_errc::max_items_exceeded:
  ------------------
  |  Branch (79:13): [True: 5, False: 550]
  ------------------
   80|      5|                return "Number of items in UBJSON object or array exceeds limit set in options";
   81|      0|            default:
  ------------------
  |  Branch (81:13): [True: 0, False: 555]
  ------------------
   82|      0|                return "Unknown UBJSON parser error";
   83|    555|        }
   84|    555|    }

_ZNK8jsoncons6ubjson21ubjson_options_common17max_nesting_depthEv:
   28|    680|    {
   29|    680|        return max_nesting_depth_;
   30|    680|    }
_ZNK8jsoncons6ubjson21ubjson_decode_options9max_itemsEv:
   44|    680|    {
   45|    680|        return max_items_;
   46|    680|    }
_ZN8jsoncons6ubjson21ubjson_decode_optionsC1Ev:
   38|    680|    ubjson_decode_options() = default;
_ZN8jsoncons6ubjson21ubjson_options_commonC2Ev:
   23|    680|    ubjson_options_common() = default;
_ZN8jsoncons6ubjson21ubjson_options_commonD2Ev:
   25|    680|    virtual ~ubjson_options_common() = default;

_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_21ubjson_decode_optionsERKS7_:
   79|    680|       : source_(std::forward<Sourceable>(source)), 
   80|    680|         max_nesting_depth_(options.max_nesting_depth()),
   81|    680|         max_items_(options.max_items()),
   82|    680|         text_buffer_(alloc),
   83|    680|         state_stack_(alloc)
   84|    680|    {
   85|    680|        state_stack_.emplace_back(parse_mode::root,0);
   86|    680|    }
_ZN8jsoncons6ubjson11parse_stateC2ENS0_10parse_modeEmh:
   45|  8.10M|        : mode(mode), length(length), type(type)
   46|  8.10M|    {
   47|  8.10M|    }
_ZNK8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  141|    555|    {
  142|    555|        return 0;
  143|    555|    }
_ZNK8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  146|    555|    {
  147|    555|        return source_.position();
  148|    555|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
   94|    680|    {
   95|    680|        more_ = true;
   96|    680|        done_ = false;
   97|    680|        text_buffer_.clear();
   98|    680|        state_stack_.clear();
   99|    680|        state_stack_.emplace_back(parse_mode::root,0,uint8_t(0));
  100|    680|        nesting_depth_ = 0;
  101|    680|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  151|    680|    {
  152|  53.8M|        while (!done_ && more_)
  ------------------
  |  Branch (152:16): [True: 53.8M, False: 125]
  |  Branch (152:26): [True: 53.8M, False: 0]
  ------------------
  153|  53.8M|        {
  154|  53.8M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (154:21): [True: 53.8M, False: 0]
  ------------------
  155|  53.8M|            {
  156|  70.4k|                case parse_mode::array:
  ------------------
  |  Branch (156:17): [True: 70.4k, False: 53.8M]
  ------------------
  157|  70.4k|                {
  158|  70.4k|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (158:25): [True: 56.1k, False: 14.3k]
  ------------------
  159|  56.1k|                    {
  160|  56.1k|                        ++state_stack_.back().index;
  161|  56.1k|                        read_type_and_value(visitor, ec);
  162|  56.1k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  56.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2, False: 56.1k]
  |  |  ------------------
  ------------------
  163|      2|                        {
  164|      2|                            return;
  165|      2|                        }
  166|  56.1k|                    }
  167|  14.3k|                    else
  168|  14.3k|                    {
  169|  14.3k|                        end_array(visitor, ec);
  170|  14.3k|                    }
  171|  70.4k|                    break;
  172|  70.4k|                }
  173|  14.4M|                case parse_mode::strongly_typed_array:
  ------------------
  |  Branch (173:17): [True: 14.4M, False: 39.4M]
  ------------------
  174|  14.4M|                {
  175|  14.4M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (175:25): [True: 14.4M, False: 6.81k]
  ------------------
  176|  14.4M|                    {
  177|  14.4M|                        ++state_stack_.back().index;
  178|  14.4M|                        read_value(visitor, state_stack_.back().type, ec);
  179|  14.4M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  14.4M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 75, False: 14.4M]
  |  |  ------------------
  ------------------
  180|     75|                        {
  181|     75|                            return;
  182|     75|                        }
  183|  14.4M|                    }
  184|  6.81k|                    else
  185|  6.81k|                    {
  186|  6.81k|                        end_array(visitor, ec);
  187|  6.81k|                    }
  188|  14.4M|                    break;
  189|  14.4M|                }
  190|  23.1M|                case parse_mode::indefinite_array:
  ------------------
  |  Branch (190:17): [True: 23.1M, False: 30.7M]
  ------------------
  191|  23.1M|                {
  192|  23.1M|                    auto c = source_.peek();
  193|  23.1M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  23.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 47, False: 23.1M]
  |  |  ------------------
  ------------------
  194|     47|                    {
  195|     47|                        ec = ubjson_errc::unexpected_eof;
  196|     47|                        more_ = false;
  197|     47|                        return;
  198|     47|                    }
  199|  23.1M|                    if (c.value == jsoncons::ubjson::ubjson_type::end_array_marker)
  ------------------
  |  Branch (199:25): [True: 3.99M, False: 19.1M]
  ------------------
  200|  3.99M|                    {
  201|  3.99M|                        source_.ignore(1);
  202|  3.99M|                        end_array(visitor, ec);
  203|  3.99M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  3.99M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 3.99M]
  |  |  ------------------
  ------------------
  204|      0|                        {
  205|      0|                            return;
  206|      0|                        }
  207|  3.99M|                    }
  208|  19.1M|                    else
  209|  19.1M|                    {
  210|  19.1M|                        if (++state_stack_.back().index > max_items_)
  ------------------
  |  Branch (210:29): [True: 0, False: 19.1M]
  ------------------
  211|      0|                        {
  212|      0|                            ec = ubjson_errc::max_items_exceeded;
  213|      0|                            more_ = false;
  214|      0|                            return;
  215|      0|                        }
  216|  19.1M|                        read_type_and_value(visitor, ec);
  217|  19.1M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  19.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 199, False: 19.1M]
  |  |  ------------------
  ------------------
  218|    199|                        {
  219|    199|                            return;
  220|    199|                        }
  221|  19.1M|                    }
  222|  23.1M|                    break;
  223|  23.1M|                }
  224|  23.1M|                case parse_mode::map_key:
  ------------------
  |  Branch (224:17): [True: 34.3k, False: 53.8M]
  ------------------
  225|  34.3k|                {
  226|  34.3k|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (226:25): [True: 23.5k, False: 10.8k]
  ------------------
  227|  23.5k|                    {
  228|  23.5k|                        ++state_stack_.back().index;
  229|  23.5k|                        read_key(visitor, ec);
  230|  23.5k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  23.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 8, False: 23.5k]
  |  |  ------------------
  ------------------
  231|      8|                        {
  232|      8|                            return;
  233|      8|                        }
  234|  23.5k|                        state_stack_.back().mode = parse_mode::map_value;
  235|  23.5k|                    }
  236|  10.8k|                    else
  237|  10.8k|                    {
  238|  10.8k|                        end_object(visitor, ec);
  239|  10.8k|                    }
  240|  34.3k|                    break;
  241|  34.3k|                }
  242|  34.3k|                case parse_mode::map_value:
  ------------------
  |  Branch (242:17): [True: 23.5k, False: 53.8M]
  ------------------
  243|  23.5k|                {
  244|  23.5k|                    state_stack_.back().mode = parse_mode::map_key;
  245|  23.5k|                    read_type_and_value(visitor, ec);
  246|  23.5k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  23.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 5, False: 23.5k]
  |  |  ------------------
  ------------------
  247|      5|                    {
  248|      5|                        return;
  249|      5|                    }
  250|  23.5k|                    break;
  251|  23.5k|                }
  252|   251k|                case parse_mode::strongly_typed_map_key:
  ------------------
  |  Branch (252:17): [True: 251k, False: 53.6M]
  ------------------
  253|   251k|                {
  254|   251k|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (254:25): [True: 209k, False: 42.3k]
  ------------------
  255|   209k|                    {
  256|   209k|                        ++state_stack_.back().index;
  257|   209k|                        read_key(visitor, ec);
  258|   209k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   209k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 16, False: 209k]
  |  |  ------------------
  ------------------
  259|     16|                        {
  260|     16|                            return;
  261|     16|                        }
  262|   209k|                        state_stack_.back().mode = parse_mode::strongly_typed_map_value;
  263|   209k|                    }
  264|  42.3k|                    else
  265|  42.3k|                    {
  266|  42.3k|                        end_object(visitor, ec);
  267|  42.3k|                    }
  268|   251k|                    break;
  269|   251k|                }
  270|   251k|                case parse_mode::strongly_typed_map_value:
  ------------------
  |  Branch (270:17): [True: 209k, False: 53.6M]
  ------------------
  271|   209k|                {
  272|   209k|                    state_stack_.back().mode = parse_mode::strongly_typed_map_key;
  273|   209k|                    read_value(visitor, state_stack_.back().type, ec);
  274|   209k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|   209k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 209k]
  |  |  ------------------
  ------------------
  275|      0|                    {
  276|      0|                        return;
  277|      0|                    }
  278|   209k|                    break;
  279|   209k|                }
  280|  9.82M|                case parse_mode::indefinite_map_key:
  ------------------
  |  Branch (280:17): [True: 9.82M, False: 44.0M]
  ------------------
  281|  9.82M|                {
  282|  9.82M|                    auto c = source_.peek();
  283|  9.82M|                    if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  9.82M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 7, False: 9.82M]
  |  |  ------------------
  ------------------
  284|      7|                    {
  285|      7|                        ec = ubjson_errc::unexpected_eof;
  286|      7|                        more_ = false;
  287|      7|                        return;
  288|      7|                    }
  289|  9.82M|                    if (c.value == jsoncons::ubjson::ubjson_type::end_object_marker)
  ------------------
  |  Branch (289:25): [True: 3.94M, False: 5.87M]
  ------------------
  290|  3.94M|                    {
  291|  3.94M|                        source_.ignore(1);
  292|  3.94M|                        end_object(visitor, ec);
  293|  3.94M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  3.94M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 3.94M]
  |  |  ------------------
  ------------------
  294|      0|                        {
  295|      0|                            return;
  296|      0|                        }
  297|  3.94M|                    }
  298|  5.87M|                    else
  299|  5.87M|                    {
  300|  5.87M|                        if (++state_stack_.back().index > max_items_)
  ------------------
  |  Branch (300:29): [True: 0, False: 5.87M]
  ------------------
  301|      0|                        {
  302|      0|                            ec = ubjson_errc::max_items_exceeded;
  303|      0|                            more_ = false;
  304|      0|                            return;
  305|      0|                        }
  306|  5.87M|                        read_key(visitor, ec);
  307|  5.87M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  5.87M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 132, False: 5.87M]
  |  |  ------------------
  ------------------
  308|    132|                        {
  309|    132|                            return;
  310|    132|                        }
  311|  5.87M|                        state_stack_.back().mode = parse_mode::indefinite_map_value;
  312|  5.87M|                    }
  313|  9.82M|                    break;
  314|  9.82M|                }
  315|  9.82M|                case parse_mode::indefinite_map_value:
  ------------------
  |  Branch (315:17): [True: 5.87M, False: 47.9M]
  ------------------
  316|  5.87M|                {
  317|  5.87M|                    state_stack_.back().mode = parse_mode::indefinite_map_key;
  318|  5.87M|                    read_type_and_value(visitor, ec);
  319|  5.87M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  5.87M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 40, False: 5.87M]
  |  |  ------------------
  ------------------
  320|     40|                    {
  321|     40|                        return;
  322|     40|                    }
  323|  5.87M|                    break;
  324|  5.87M|                }
  325|  5.87M|                case parse_mode::root:
  ------------------
  |  Branch (325:17): [True: 680, False: 53.8M]
  ------------------
  326|    680|                {
  327|    680|                    state_stack_.back().mode = parse_mode::accept;
  328|    680|                    read_type_and_value(visitor, ec);
  329|    680|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|    680|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 24, False: 656]
  |  |  ------------------
  ------------------
  330|     24|                    {
  331|     24|                        return;
  332|     24|                    }
  333|    656|                    break;
  334|    680|                }
  335|    656|                case parse_mode::accept:
  ------------------
  |  Branch (335:17): [True: 125, False: 53.8M]
  ------------------
  336|    125|                {
  337|    125|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   67|    125|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 125]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  338|    125|                    state_stack_.clear();
  339|    125|                    more_ = false;
  340|    125|                    done_ = true;
  341|    125|                    visitor.flush();
  342|    125|                    break;
  343|    125|                }
  344|  53.8M|            }
  345|  53.8M|        }
  346|    680|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE19read_type_and_valueERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  349|  25.1M|    {
  350|  25.1M|        if (source_.is_error())
  ------------------
  |  Branch (350:13): [True: 0, False: 25.1M]
  ------------------
  351|      0|        {
  352|      0|            ec = ubjson_errc::source_error;
  353|      0|            more_ = false;
  354|      0|            return;
  355|      0|        }   
  356|       |
  357|  25.1M|        uint8_t b;
  358|  25.1M|        if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (358:13): [True: 12, False: 25.1M]
  ------------------
  359|     12|        {
  360|     12|            ec = ubjson_errc::unexpected_eof;
  361|     12|            more_ = false;
  362|     12|            return;
  363|     12|        }
  364|  25.1M|        read_value(visitor, b, ec);
  365|  25.1M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  671|  4.02M|    {
  672|  4.02M|        --nesting_depth_;
  673|       |
  674|  4.02M|        visitor.end_array(*this, ec);
  675|  4.02M|        more_ = !cursor_mode_;
  676|  4.02M|        if (level() == mark_level_)
  ------------------
  |  Branch (676:13): [True: 0, False: 4.02M]
  ------------------
  677|      0|        {
  678|      0|            more_ = false;
  679|      0|        }
  680|  4.02M|        state_stack_.pop_back();
  681|  4.02M|    }
_ZNK8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5levelEv:
  116|  8.01M|    {
  117|  8.01M|        return static_cast<int>(state_stack_.size());
  118|  8.01M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10read_valueERNS_18basic_json_visitorIcEEhRNS3_10error_codeE:
  368|  39.7M|    {
  369|  39.7M|        switch (type)
  370|  39.7M|        {
  371|  16.0M|            case jsoncons::ubjson::ubjson_type::null_type: 
  ------------------
  |  Branch (371:13): [True: 16.0M, False: 23.7M]
  ------------------
  372|  16.0M|            {
  373|  16.0M|                visitor.null_value(semantic_tag::none, *this, ec);
  374|  16.0M|                more_ = !cursor_mode_;
  375|  16.0M|                break;
  376|      0|            }
  377|  47.5k|            case jsoncons::ubjson::ubjson_type::no_op_type: 
  ------------------
  |  Branch (377:13): [True: 47.5k, False: 39.6M]
  ------------------
  378|  47.5k|            {
  379|  47.5k|                break;
  380|      0|            }
  381|  5.46M|            case jsoncons::ubjson::ubjson_type::true_type:
  ------------------
  |  Branch (381:13): [True: 5.46M, False: 34.2M]
  ------------------
  382|  5.46M|            {
  383|  5.46M|                visitor.bool_value(true, semantic_tag::none, *this, ec);
  384|  5.46M|                more_ = !cursor_mode_;
  385|  5.46M|                break;
  386|      0|            }
  387|  2.91M|            case jsoncons::ubjson::ubjson_type::false_type:
  ------------------
  |  Branch (387:13): [True: 2.91M, False: 36.8M]
  ------------------
  388|  2.91M|            {
  389|  2.91M|                visitor.bool_value(false, semantic_tag::none, *this, ec);
  390|  2.91M|                more_ = !cursor_mode_;
  391|  2.91M|                break;
  392|      0|            }
  393|  2.27M|            case jsoncons::ubjson::ubjson_type::int8_type: 
  ------------------
  |  Branch (393:13): [True: 2.27M, False: 37.4M]
  ------------------
  394|  2.27M|            {
  395|  2.27M|                uint8_t buf[sizeof(int8_t)];
  396|  2.27M|                if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (396:21): [True: 9, False: 2.27M]
  ------------------
  397|      9|                {
  398|      9|                    ec = ubjson_errc::unexpected_eof;
  399|      9|                    more_ = false;
  400|      9|                    return;
  401|      9|                }
  402|  2.27M|                int8_t val = binary::big_to_native<int8_t>(buf, sizeof(buf));
  403|  2.27M|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  404|  2.27M|                more_ = !cursor_mode_;
  405|  2.27M|                break;
  406|  2.27M|            }
  407|  2.26M|            case jsoncons::ubjson::ubjson_type::uint8_type: 
  ------------------
  |  Branch (407:13): [True: 2.26M, False: 37.4M]
  ------------------
  408|  2.26M|            {
  409|  2.26M|                uint8_t b;
  410|  2.26M|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (410:21): [True: 13, False: 2.26M]
  ------------------
  411|     13|                {
  412|     13|                    ec = ubjson_errc::unexpected_eof;
  413|     13|                    more_ = false;
  414|     13|                    return;
  415|     13|                }
  416|  2.26M|                visitor.uint64_value(b, semantic_tag::none, *this, ec);
  417|  2.26M|                more_ = !cursor_mode_;
  418|  2.26M|                break;
  419|  2.26M|            }
  420|  21.5k|            case jsoncons::ubjson::ubjson_type::int16_type: 
  ------------------
  |  Branch (420:13): [True: 21.5k, False: 39.7M]
  ------------------
  421|  21.5k|            {
  422|  21.5k|                uint8_t buf[sizeof(int16_t)];
  423|  21.5k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (423:21): [True: 0, False: 21.5k]
  ------------------
  424|      0|                {
  425|      0|                    ec = ubjson_errc::unexpected_eof;
  426|      0|                    more_ = false;
  427|      0|                    return;
  428|      0|                }
  429|  21.5k|                int16_t val = binary::big_to_native<int16_t>(buf, sizeof(buf));
  430|  21.5k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  431|  21.5k|                more_ = !cursor_mode_;
  432|  21.5k|                break;
  433|  21.5k|            }
  434|  12.1k|            case jsoncons::ubjson::ubjson_type::int32_type: 
  ------------------
  |  Branch (434:13): [True: 12.1k, False: 39.7M]
  ------------------
  435|  12.1k|            {
  436|  12.1k|                uint8_t buf[sizeof(int32_t)];
  437|  12.1k|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (437:21): [True: 0, False: 12.1k]
  ------------------
  438|      0|                {
  439|      0|                    ec = ubjson_errc::unexpected_eof;
  440|      0|                    more_ = false;
  441|      0|                    return;
  442|      0|                }
  443|  12.1k|                int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  444|  12.1k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  445|  12.1k|                more_ = !cursor_mode_;
  446|  12.1k|                break;
  447|  12.1k|            }
  448|  10.0k|            case jsoncons::ubjson::ubjson_type::int64_type: 
  ------------------
  |  Branch (448:13): [True: 10.0k, False: 39.7M]
  ------------------
  449|  10.0k|            {
  450|  10.0k|                uint8_t buf[sizeof(int64_t)];
  451|  10.0k|                if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (451:21): [True: 0, False: 10.0k]
  ------------------
  452|      0|                {
  453|      0|                    ec = ubjson_errc::unexpected_eof;
  454|      0|                    more_ = false;
  455|      0|                    return;
  456|      0|                }
  457|  10.0k|                int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  458|  10.0k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  459|  10.0k|                more_ = !cursor_mode_;
  460|  10.0k|                break;
  461|  10.0k|            }
  462|   224k|            case jsoncons::ubjson::ubjson_type::float32_type: 
  ------------------
  |  Branch (462:13): [True: 224k, False: 39.5M]
  ------------------
  463|   224k|            {
  464|   224k|                uint8_t buf[sizeof(float)];
  465|   224k|                if (source_.read(buf, sizeof(float)) != sizeof(float))
  ------------------
  |  Branch (465:21): [True: 5, False: 224k]
  ------------------
  466|      5|                {
  467|      5|                    ec = ubjson_errc::unexpected_eof;
  468|      5|                    more_ = false;
  469|      5|                    return;
  470|      5|                }
  471|   224k|                float val = binary::big_to_native<float>(buf, sizeof(buf));
  472|   224k|                visitor.double_value(val, semantic_tag::none, *this, ec);
  473|   224k|                more_ = !cursor_mode_;
  474|   224k|                break;
  475|   224k|            }
  476|  1.93k|            case jsoncons::ubjson::ubjson_type::float64_type: 
  ------------------
  |  Branch (476:13): [True: 1.93k, False: 39.7M]
  ------------------
  477|  1.93k|            {
  478|  1.93k|                uint8_t buf[sizeof(double)];
  479|  1.93k|                if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (479:21): [True: 0, False: 1.93k]
  ------------------
  480|      0|                {
  481|      0|                    ec = ubjson_errc::unexpected_eof;
  482|      0|                    more_ = false;
  483|      0|                    return;
  484|      0|                }
  485|  1.93k|                double val = binary::big_to_native<double>(buf, sizeof(buf));
  486|  1.93k|                visitor.double_value(val, semantic_tag::none, *this, ec);
  487|  1.93k|                more_ = !cursor_mode_;
  488|  1.93k|                break;
  489|  1.93k|            }
  490|  2.36M|            case jsoncons::ubjson::ubjson_type::char_type: 
  ------------------
  |  Branch (490:13): [True: 2.36M, False: 37.3M]
  ------------------
  491|  2.36M|            {
  492|  2.36M|                uint8_t ch{};
  493|  2.36M|                if (source_.read(&ch, 1) != 1)
  ------------------
  |  Branch (493:21): [True: 6, False: 2.36M]
  ------------------
  494|      6|                {
  495|      6|                    ec = ubjson_errc::unexpected_eof;
  496|      6|                    more_ = false;
  497|      6|                    return;
  498|      6|                }
  499|  2.36M|                auto result = unicode_traits::validate(&ch, 1);
  500|  2.36M|                if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (500:21): [True: 4, False: 2.36M]
  ------------------
  501|      4|                {
  502|      4|                    ec = ubjson_errc::invalid_utf8;
  503|      4|                    more_ = false;
  504|      4|                    return;
  505|      4|                }
  506|  2.36M|                visitor.string_value(string_view(reinterpret_cast<const char*>(&ch), 1), semantic_tag::none, *this, ec);
  507|  2.36M|                more_ = !cursor_mode_;
  508|  2.36M|                break;
  509|  2.36M|            }
  510|  25.5k|            case jsoncons::ubjson::ubjson_type::string_type: 
  ------------------
  |  Branch (510:13): [True: 25.5k, False: 39.7M]
  ------------------
  511|  25.5k|            {
  512|  25.5k|                std::size_t length = get_length(ec);
  513|  25.5k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  25.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 25.5k]
  |  |  ------------------
  ------------------
  514|      0|                {
  515|      0|                    return;
  516|      0|                }
  517|  25.5k|                auto data = source_.read_span(length, text_buffer_);
  518|  25.5k|                if (data.size() != length)
  ------------------
  |  Branch (518:21): [True: 4, False: 25.5k]
  ------------------
  519|      4|                {
  520|      4|                    ec = ubjson_errc::unexpected_eof;
  521|      4|                    more_ = false;
  522|      4|                    return;
  523|      4|                }
  524|  25.5k|                auto result = unicode_traits::validate(data.data(), data.size());
  525|  25.5k|                if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (525:21): [True: 7, False: 25.5k]
  ------------------
  526|      7|                {
  527|      7|                    ec = ubjson_errc::invalid_utf8;
  528|      7|                    more_ = false;
  529|      7|                    return;
  530|      7|                }
  531|  25.5k|                visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  532|  25.5k|                    semantic_tag::none, *this, ec);
  533|  25.5k|                more_ = !cursor_mode_;
  534|  25.5k|                break;
  535|  25.5k|            }
  536|  2.26k|            case jsoncons::ubjson::ubjson_type::high_precision_number_type: 
  ------------------
  |  Branch (536:13): [True: 2.26k, False: 39.7M]
  ------------------
  537|  2.26k|            {
  538|  2.26k|                std::size_t length = get_length(ec);
  539|  2.26k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  2.26k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1, False: 2.26k]
  |  |  ------------------
  ------------------
  540|      1|                {
  541|      1|                    return;
  542|      1|                }
  543|  2.26k|                auto data = source_.read_span(length, text_buffer_);
  544|  2.26k|                if (data.size() != length)
  ------------------
  |  Branch (544:21): [True: 126, False: 2.13k]
  ------------------
  545|    126|                {
  546|    126|                    ec = ubjson_errc::unexpected_eof;
  547|    126|                    more_ = false;
  548|    126|                    return;
  549|    126|                }
  550|  2.13k|                if (jsoncons::is_base10(data.data(), data.size()))
  ------------------
  |  Branch (550:21): [True: 83, False: 2.05k]
  ------------------
  551|     83|                {
  552|     83|                    visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()), data.size()), 
  553|     83|                        semantic_tag::bigint, *this, ec);
  554|     83|                    more_ = !cursor_mode_;
  555|     83|                }
  556|  2.05k|                else
  557|  2.05k|                {
  558|  2.05k|                    visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()), data.size()), 
  559|  2.05k|                        semantic_tag::bigdec, *this, ec);
  560|  2.05k|                    more_ = !cursor_mode_;
  561|  2.05k|                }
  562|  2.13k|                break;
  563|  2.26k|            }
  564|  4.10M|            case jsoncons::ubjson::ubjson_type::start_array_marker: 
  ------------------
  |  Branch (564:13): [True: 4.10M, False: 35.6M]
  ------------------
  565|  4.10M|            {
  566|  4.10M|                begin_array(visitor,ec);
  567|  4.10M|                break;
  568|  2.26k|            }
  569|  3.99M|            case jsoncons::ubjson::ubjson_type::start_object_marker: 
  ------------------
  |  Branch (569:13): [True: 3.99M, False: 35.7M]
  ------------------
  570|  3.99M|            {
  571|  3.99M|                begin_object(visitor, ec);
  572|  3.99M|                break;
  573|  2.26k|            }
  574|     86|            default:
  ------------------
  |  Branch (574:13): [True: 86, False: 39.7M]
  ------------------
  575|     86|            {
  576|     86|                ec = ubjson_errc::unknown_type;
  577|     86|                break;
  578|  2.26k|            }
  579|  39.7M|        }
  580|  39.7M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  39.7M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 158, False: 39.7M]
  |  |  ------------------
  ------------------
  581|    158|        {
  582|    158|            more_ = false;
  583|    158|        }
  584|  39.7M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10get_lengthERNS3_10error_codeE:
  790|  6.22M|    {
  791|  6.22M|        std::size_t length = 0;
  792|  6.22M|        uint8_t type;
  793|  6.22M|        if (source_.read(&type, 1) == 0)
  ------------------
  |  Branch (793:13): [True: 13, False: 6.22M]
  ------------------
  794|     13|        {
  795|     13|            ec = ubjson_errc::unexpected_eof;
  796|     13|            more_ = false;
  797|     13|            return length;
  798|     13|        }
  799|  6.22M|        switch (type)
  800|  6.22M|        {
  801|   276k|            case jsoncons::ubjson::ubjson_type::int8_type: 
  ------------------
  |  Branch (801:13): [True: 276k, False: 5.94M]
  ------------------
  802|   276k|            {
  803|   276k|                uint8_t buf[sizeof(int8_t)];
  804|   276k|                if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (804:21): [True: 2, False: 276k]
  ------------------
  805|      2|                {
  806|      2|                    ec = ubjson_errc::unexpected_eof;
  807|      2|                    more_ = false;
  808|      2|                    return length;
  809|      2|                }
  810|   276k|                int8_t val = binary::big_to_native<int8_t>(buf, sizeof(buf));
  811|   276k|                if (val >= 0)
  ------------------
  |  Branch (811:21): [True: 276k, False: 2]
  ------------------
  812|   276k|                {
  813|   276k|                    length = val;
  814|   276k|                }
  815|      2|                else
  816|      2|                {
  817|      2|                    ec = ubjson_errc::length_is_negative;
  818|      2|                    more_ = false;
  819|      2|                    return length;
  820|      2|                }
  821|   276k|                break;
  822|   276k|            }
  823|  5.93M|            case jsoncons::ubjson::ubjson_type::uint8_type: 
  ------------------
  |  Branch (823:13): [True: 5.93M, False: 281k]
  ------------------
  824|  5.93M|            {
  825|  5.93M|                uint8_t b;
  826|  5.93M|                if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (826:21): [True: 4, False: 5.93M]
  ------------------
  827|      4|                {
  828|      4|                    ec = ubjson_errc::unexpected_eof;
  829|      4|                    more_ = false;
  830|      4|                    return length;
  831|      4|                }
  832|  5.93M|                length = b;
  833|  5.93M|                break;
  834|  5.93M|            }
  835|  4.07k|            case jsoncons::ubjson::ubjson_type::int16_type: 
  ------------------
  |  Branch (835:13): [True: 4.07k, False: 6.21M]
  ------------------
  836|  4.07k|            {
  837|  4.07k|                uint8_t buf[sizeof(int16_t)];
  838|  4.07k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (838:21): [True: 0, False: 4.07k]
  ------------------
  839|      0|                {
  840|      0|                    ec = ubjson_errc::unexpected_eof;
  841|      0|                    more_ = false;
  842|      0|                    return length;
  843|      0|                }
  844|  4.07k|                int16_t val = binary::big_to_native<int16_t>(buf, sizeof(buf));
  845|  4.07k|                if (val >= 0)
  ------------------
  |  Branch (845:21): [True: 4.07k, False: 0]
  ------------------
  846|  4.07k|                {
  847|  4.07k|                    length = val;
  848|  4.07k|                }
  849|      0|                else
  850|      0|                {
  851|      0|                    ec = ubjson_errc::length_is_negative;
  852|      0|                    more_ = false;
  853|      0|                    return length;
  854|      0|                }
  855|  4.07k|                break;
  856|  4.07k|            }
  857|  4.07k|            case jsoncons::ubjson::ubjson_type::int32_type: 
  ------------------
  |  Branch (857:13): [True: 728, False: 6.21M]
  ------------------
  858|    728|            {
  859|    728|                uint8_t buf[sizeof(int32_t)];
  860|    728|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (860:21): [True: 0, False: 728]
  ------------------
  861|      0|                {
  862|      0|                    ec = ubjson_errc::unexpected_eof;
  863|      0|                    more_ = false;
  864|      0|                    return length;
  865|      0|                }
  866|    728|                int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  867|    728|                if (val >= 0)
  ------------------
  |  Branch (867:21): [True: 728, False: 0]
  ------------------
  868|    728|                {
  869|    728|                    length = static_cast<std::size_t>(val);
  870|    728|                }
  871|      0|                else
  872|      0|                {
  873|      0|                    ec = ubjson_errc::length_is_negative;
  874|      0|                    more_ = false;
  875|      0|                    return length;
  876|      0|                }
  877|    728|                break;
  878|    728|            }
  879|    728|            case jsoncons::ubjson::ubjson_type::int64_type: 
  ------------------
  |  Branch (879:13): [True: 190, False: 6.22M]
  ------------------
  880|    190|            {
  881|    190|                uint8_t buf[sizeof(int64_t)];
  882|    190|                if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (882:21): [True: 0, False: 190]
  ------------------
  883|      0|                {
  884|      0|                    ec = ubjson_errc::unexpected_eof;
  885|      0|                    more_ = false;
  886|      0|                    return length;
  887|      0|                }
  888|    190|                int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  889|    190|                if (val >= 0)
  ------------------
  |  Branch (889:21): [True: 190, False: 0]
  ------------------
  890|    190|                {
  891|    190|                    length = (std::size_t)val;
  892|    190|                    if (length != (uint64_t)val)
  ------------------
  |  Branch (892:25): [True: 0, False: 190]
  ------------------
  893|      0|                    {
  894|      0|                        ec = ubjson_errc::number_too_large;
  895|      0|                        more_ = false;
  896|      0|                        return length;
  897|      0|                    }
  898|    190|                }
  899|      0|                else
  900|      0|                {
  901|      0|                    ec = ubjson_errc::length_is_negative;
  902|      0|                    more_ = false;
  903|      0|                    return length;
  904|      0|                }
  905|    190|                break;
  906|    190|            }
  907|    190|            default:
  ------------------
  |  Branch (907:13): [True: 63, False: 6.22M]
  ------------------
  908|     63|            {
  909|     63|                ec = ubjson_errc::length_must_be_integer;
  910|     63|                more_ = false;
  911|     63|                return length;
  912|    190|            }
  913|  6.22M|        }
  914|  6.22M|        return length;
  915|  6.22M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  587|  4.10M|    {
  588|  4.10M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   79|  4.10M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 3, False: 4.10M]
  |  |  ------------------
  ------------------
  589|      3|        {
  590|      3|            ec = ubjson_errc::max_nesting_depth_exceeded;
  591|      3|            more_ = false;
  592|      3|            return;
  593|      3|        } 
  594|       |
  595|  4.10M|        auto c = source_.peek();
  596|  4.10M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  4.10M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 12, False: 4.10M]
  |  |  ------------------
  ------------------
  597|     12|        {
  598|     12|            ec = ubjson_errc::unexpected_eof;
  599|     12|            more_ = false;
  600|     12|            return;
  601|     12|        }
  602|  4.10M|        if (c.value == jsoncons::ubjson::ubjson_type::type_marker)
  ------------------
  |  Branch (602:13): [True: 13.2k, False: 4.08M]
  ------------------
  603|  13.2k|        {
  604|  13.2k|            source_.ignore(1);
  605|  13.2k|            uint8_t b;
  606|  13.2k|            if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (606:17): [True: 4, False: 13.2k]
  ------------------
  607|      4|            {
  608|      4|                ec = ubjson_errc::unexpected_eof;
  609|      4|                more_ = false;
  610|      4|                return;
  611|      4|            }
  612|  13.2k|            c = source_.peek();
  613|  13.2k|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  13.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 13.2k]
  |  |  ------------------
  ------------------
  614|      4|            {
  615|      4|                ec = ubjson_errc::unexpected_eof;
  616|      4|                more_ = false;
  617|      4|                return;
  618|      4|            }
  619|  13.2k|            if (c.value == jsoncons::ubjson::ubjson_type::count_marker)
  ------------------
  |  Branch (619:17): [True: 13.2k, False: 0]
  ------------------
  620|  13.2k|            {
  621|  13.2k|                source_.ignore(1);
  622|  13.2k|                std::size_t length = get_length(ec);
  623|  13.2k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  13.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 13.2k]
  |  |  ------------------
  ------------------
  624|      4|                {
  625|      4|                    return;
  626|      4|                }
  627|  13.2k|                if (length > max_items_)
  ------------------
  |  Branch (627:21): [True: 1, False: 13.2k]
  ------------------
  628|      1|                {
  629|      1|                    ec = ubjson_errc::max_items_exceeded;
  630|      1|                    more_ = false;
  631|      1|                    return;
  632|      1|                }
  633|  13.2k|                state_stack_.emplace_back(parse_mode::strongly_typed_array,length,b);
  634|  13.2k|                visitor.begin_array(length, semantic_tag::none, *this, ec);
  635|  13.2k|                more_ = !cursor_mode_;
  636|  13.2k|            }
  637|      0|            else
  638|      0|            {
  639|      0|                ec = ubjson_errc::count_required_after_type;
  640|      0|                more_ = false;
  641|      0|                return;
  642|      0|            }
  643|  13.2k|        }
  644|  4.08M|        else if (c.value == jsoncons::ubjson::ubjson_type::count_marker)
  ------------------
  |  Branch (644:18): [True: 14.6k, False: 4.07M]
  ------------------
  645|  14.6k|        {
  646|  14.6k|            source_.ignore(1);
  647|  14.6k|            std::size_t length = get_length(ec);
  648|  14.6k|            if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  14.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 14.6k]
  |  |  ------------------
  ------------------
  649|      4|            {
  650|      4|                return;
  651|      4|            }
  652|  14.6k|            if (length > max_items_)
  ------------------
  |  Branch (652:17): [True: 1, False: 14.6k]
  ------------------
  653|      1|            {
  654|      1|                ec = ubjson_errc::max_items_exceeded;
  655|      1|                more_ = false;
  656|      1|                return;
  657|      1|            }
  658|  14.6k|            state_stack_.emplace_back(parse_mode::array,length);
  659|  14.6k|            visitor.begin_array(length, semantic_tag::none, *this, ec);
  660|  14.6k|            more_ = !cursor_mode_;
  661|  14.6k|        }
  662|  4.07M|        else
  663|  4.07M|        {
  664|  4.07M|            state_stack_.emplace_back(parse_mode::indefinite_array,0);
  665|  4.07M|            visitor.begin_array(semantic_tag::none, *this, ec);
  666|  4.07M|            more_ = !cursor_mode_;
  667|  4.07M|        }
  668|  4.10M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12begin_objectERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  684|  3.99M|    {
  685|  3.99M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   79|  3.99M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 3.99M]
  |  |  ------------------
  ------------------
  686|      0|        {
  687|      0|            ec = ubjson_errc::max_nesting_depth_exceeded;
  688|      0|            more_ = false;
  689|      0|            return;
  690|      0|        } 
  691|       |
  692|  3.99M|        auto c = source_.peek();
  693|  3.99M|        if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  3.99M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 19, False: 3.99M]
  |  |  ------------------
  ------------------
  694|     19|        {
  695|     19|            ec = ubjson_errc::unexpected_eof;
  696|     19|            more_ = false;
  697|     19|            return;
  698|     19|        }
  699|  3.99M|        if (c.value == jsoncons::ubjson::ubjson_type::type_marker)
  ------------------
  |  Branch (699:13): [True: 42.3k, False: 3.95M]
  ------------------
  700|  42.3k|        {
  701|  42.3k|            source_.ignore(1);
  702|  42.3k|            uint8_t b;
  703|  42.3k|            if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (703:17): [True: 5, False: 42.3k]
  ------------------
  704|      5|            {
  705|      5|                ec = ubjson_errc::unexpected_eof;
  706|      5|                more_ = false;
  707|      5|                return;
  708|      5|            }
  709|  42.3k|            c = source_.peek();
  710|  42.3k|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  42.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 3, False: 42.3k]
  |  |  ------------------
  ------------------
  711|      3|            {
  712|      3|                ec = ubjson_errc::unexpected_eof;
  713|      3|                more_ = false;
  714|      3|                return;
  715|      3|            }
  716|  42.3k|            if (c.value == jsoncons::ubjson::ubjson_type::count_marker)
  ------------------
  |  Branch (716:17): [True: 42.3k, False: 2]
  ------------------
  717|  42.3k|            {
  718|  42.3k|                source_.ignore(1);
  719|  42.3k|                std::size_t length = get_length(ec);
  720|  42.3k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  42.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 3, False: 42.3k]
  |  |  ------------------
  ------------------
  721|      3|                {
  722|      3|                    return;
  723|      3|                }
  724|  42.3k|                if (length > max_items_)
  ------------------
  |  Branch (724:21): [True: 2, False: 42.3k]
  ------------------
  725|      2|                {
  726|      2|                    ec = ubjson_errc::max_items_exceeded;
  727|      2|                    more_ = false;
  728|      2|                    return;
  729|      2|                }
  730|  42.3k|                state_stack_.emplace_back(parse_mode::strongly_typed_map_key,length,b);
  731|  42.3k|                visitor.begin_object(length, semantic_tag::none, *this, ec);
  732|  42.3k|                more_ = !cursor_mode_;
  733|  42.3k|            }
  734|      2|            else
  735|      2|            {
  736|      2|                ec = ubjson_errc::count_required_after_type;
  737|      2|                more_ = false;
  738|      2|                return;
  739|      2|            }
  740|  42.3k|        }
  741|  3.95M|        else
  742|  3.95M|        {
  743|  3.95M|            c = source_.peek();
  744|  3.95M|            if (JSONCONS_UNLIKELY(c.eof))
  ------------------
  |  |   79|  3.95M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 3.95M]
  |  |  ------------------
  ------------------
  745|      0|            {
  746|      0|                ec = ubjson_errc::unexpected_eof;
  747|      0|                more_ = false;
  748|      0|                return;
  749|      0|            }
  750|  3.95M|            if (c.value == jsoncons::ubjson::ubjson_type::count_marker)
  ------------------
  |  Branch (750:17): [True: 11.3k, False: 3.94M]
  ------------------
  751|  11.3k|            {
  752|  11.3k|                source_.ignore(1);
  753|  11.3k|                std::size_t length = get_length(ec);
  754|  11.3k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  11.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4, False: 11.3k]
  |  |  ------------------
  ------------------
  755|      4|                {
  756|      4|                    return;
  757|      4|                }
  758|  11.3k|                if (length > max_items_)
  ------------------
  |  Branch (758:21): [True: 1, False: 11.3k]
  ------------------
  759|      1|                {
  760|      1|                    ec = ubjson_errc::max_items_exceeded;
  761|      1|                    more_ = false;
  762|      1|                    return;
  763|      1|                }
  764|  11.3k|                state_stack_.emplace_back(parse_mode::map_key,length);
  765|  11.3k|                visitor.begin_object(length, semantic_tag::none, *this, ec);
  766|  11.3k|                more_ = !cursor_mode_;
  767|  11.3k|            }
  768|  3.94M|            else
  769|  3.94M|            {
  770|  3.94M|                state_stack_.emplace_back(parse_mode::indefinite_map_key,0);
  771|  3.94M|                visitor.begin_object(semantic_tag::none, *this, ec);
  772|  3.94M|                more_ = !cursor_mode_;
  773|  3.94M|            }
  774|  3.95M|        }
  775|  3.99M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE8read_keyERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  918|  6.11M|    {
  919|  6.11M|        std::size_t length = get_length(ec);
  920|  6.11M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  6.11M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 68, False: 6.11M]
  |  |  ------------------
  ------------------
  921|     68|        {
  922|     68|            ec = ubjson_errc::key_expected;
  923|     68|            more_ = false;
  924|     68|            return;
  925|     68|        }
  926|  6.11M|        auto data = source_.read_span(length, text_buffer_);
  927|  6.11M|        if (data.size() != length)
  ------------------
  |  Branch (927:13): [True: 63, False: 6.11M]
  ------------------
  928|     63|        {
  929|     63|            ec = ubjson_errc::unexpected_eof;
  930|     63|            more_ = false;
  931|     63|            return;
  932|     63|        }
  933|       |
  934|  6.11M|        auto result = unicode_traits::validate(data.data(), data.size());
  935|  6.11M|        if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (935:13): [True: 25, False: 6.11M]
  ------------------
  936|     25|        {
  937|     25|            ec = ubjson_errc::invalid_utf8;
  938|     25|            more_ = false;
  939|     25|            return;
  940|     25|        }
  941|  6.11M|        visitor.key(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  942|  6.11M|            *this, ec);
  943|  6.11M|        more_ = !cursor_mode_;
  944|  6.11M|    }
_ZN8jsoncons6ubjson19basic_ubjson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10end_objectERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  778|  3.99M|    {
  779|  3.99M|        --nesting_depth_;
  780|  3.99M|        visitor.end_object(*this, ec);
  781|  3.99M|        more_ = !cursor_mode_;
  782|  3.99M|        if (level() == mark_level_)
  ------------------
  |  Branch (782:13): [True: 0, False: 3.99M]
  ------------------
  783|      0|        {
  784|      0|            more_ = false;
  785|      0|        }
  786|  3.99M|        state_stack_.pop_back();
  787|  3.99M|    }

_ZN8jsoncons6ubjson19basic_ubjson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RNS_18basic_json_visitorIcEERKNS0_21ubjson_decode_optionsERKS7_:
   48|    680|       : parser_(std::forward<Sourceable>(source), options, alloc),
   49|    680|         visitor_(visitor)
   50|    680|    {
   51|    680|    }
_ZN8jsoncons6ubjson19basic_ubjson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4readERNS3_10error_codeE:
   64|    680|    {
   65|    680|        parser_.reset();
   66|    680|        parser_.parse(visitor_, ec);
   67|    680|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|    680|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 555, False: 125]
  |  |  ------------------
  ------------------
   68|    555|        {
   69|    555|            return;
   70|    555|        }
   71|    680|    }
_ZNK8jsoncons6ubjson19basic_ubjson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
   74|    555|    {
   75|    555|        return parser_.line();
   76|    555|    }
_ZNK8jsoncons6ubjson19basic_ubjson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
   79|    555|    {
   80|    555|        return parser_.column();
   81|    555|    }

