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

_ZNK8jsoncons16allocator_holderINSt3__19allocatorIcEEE13get_allocatorEv:
   30|   142k|    {
   31|   142k|        return alloc_;
   32|   142k|    }
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2ERKS3_:
   25|  10.7k|        : alloc_(alloc)
   26|  10.7k|        {}
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2Ev:
   20|  84.6k|    allocator_holder() = default;

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2774|  90.2M|        {
 2775|  90.2M|             destroy();
 2776|  90.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  898|  90.2M|        {
  899|  90.2M|            switch (storage_kind())
  900|  90.2M|            {
  901|  45.4k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (901:17): [True: 45.4k, False: 90.1M]
  ------------------
  902|  45.4k|                {
  903|  45.4k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (903:25): [True: 45.4k, False: 0]
  ------------------
  904|  45.4k|                    {
  905|  45.4k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  906|  45.4k|                    }
  907|  45.4k|                    break;
  908|      0|                }
  909|  71.8k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (909:17): [True: 71.8k, False: 90.1M]
  ------------------
  910|  71.8k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (910:25): [True: 71.8k, False: 0]
  ------------------
  911|  71.8k|                    {
  912|  71.8k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  913|  71.8k|                    }
  914|  71.8k|                    break;
  915|  45.8k|                case json_storage_kind::array:
  ------------------
  |  Branch (915:17): [True: 45.8k, False: 90.1M]
  ------------------
  916|  45.8k|                {
  917|  45.8k|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (917:25): [True: 45.8k, False: 0]
  ------------------
  918|  45.8k|                    {
  919|  45.8k|                        auto& stor = cast<array_storage>();
  920|  45.8k|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  921|  45.8k|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  922|  45.8k|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  923|  45.8k|                    }
  924|  45.8k|                    break;
  925|      0|                }
  926|  38.8k|                case json_storage_kind::object:
  ------------------
  |  Branch (926:17): [True: 38.8k, False: 90.1M]
  ------------------
  927|  38.8k|                {
  928|  38.8k|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (928:25): [True: 38.8k, False: 0]
  ------------------
  929|  38.8k|                    {
  930|  38.8k|                        auto& stor = cast<object_storage>();
  931|  38.8k|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  932|  38.8k|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  933|  38.8k|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  934|  38.8k|                    }
  935|  38.8k|                    break;
  936|      0|                }
  937|  90.0M|                default:
  ------------------
  |  Branch (937:17): [True: 90.0M, False: 201k]
  ------------------
  938|  90.0M|                    break;
  939|  90.2M|            }
  940|  90.2M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1462|   262M|        {
 1463|       |            // It is legal to access 'common_.storage_kind_' even though 
 1464|       |            // common_ is not the active member of the union because 'storage_kind_' 
 1465|       |            // is a part of the common initial sequence of all union members
 1466|       |            // as defined in 11.4-25 of the Standard.
 1467|   262M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1468|   262M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1004|   430k|        {
 1005|   430k|            return cast(identity<T>());
 1006|   430k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1095|   430k|        {
 1096|   430k|            return long_str_;
 1097|   430k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1004|   506k|        {
 1005|   506k|            return cast(identity<T>());
 1006|   506k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1105|   506k|        {
 1106|   506k|            return byte_str_;
 1107|   506k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1004|  6.68M|        {
 1005|  6.68M|            return cast(identity<T>());
 1006|  6.68M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1125|  6.68M|        {
 1126|  6.68M|            return array_;
 1127|  6.68M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2307|  69.0M|        {
 2308|  69.0M|            uninitialized_move(std::move(other));
 2309|  69.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1302|  69.0M|        {
 1303|  69.0M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1303:17): [True: 68.5M, False: 411k]
  ------------------
 1304|  68.5M|            {
 1305|  68.5M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1306|  68.5M|            }
 1307|   411k|            else
 1308|   411k|            {
 1309|   411k|                switch (other.storage_kind())
 1310|   411k|                {
 1311|   105k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1311:21): [True: 105k, False: 306k]
  ------------------
 1312|   105k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1313|   105k|                        other.construct<null_storage>();
 1314|   105k|                        break;
 1315|   112k|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1315:21): [True: 112k, False: 299k]
  ------------------
 1316|   112k|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1317|   112k|                        other.construct<null_storage>();
 1318|   112k|                        break;
 1319|  90.7k|                    case json_storage_kind::array:
  ------------------
  |  Branch (1319:21): [True: 90.7k, False: 321k]
  ------------------
 1320|  90.7k|                        construct<array_storage>(other.cast<array_storage>());
 1321|  90.7k|                        other.construct<null_storage>();
 1322|  90.7k|                        break;
 1323|   103k|                    case json_storage_kind::object:
  ------------------
  |  Branch (1323:21): [True: 103k, False: 308k]
  ------------------
 1324|   103k|                        construct<object_storage>(other.cast<object_storage>());
 1325|   103k|                        other.construct<null_storage>();
 1326|   103k|                        break;
 1327|      0|                    default:
  ------------------
  |  Branch (1327:21): [True: 0, False: 411k]
  ------------------
 1328|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1329|      0|                        break;
 1330|   411k|                }
 1331|   411k|            }
 1332|  69.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  995|   147k|        {
  996|   147k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   147k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  626|   189k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  627|   189k|            {
  628|   189k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  995|   411k|        {
  996|   411k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   411k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1004|  21.5M|        {
 1005|  21.5M|            return cast(identity<T>());
 1006|  21.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1015|  21.5M|        {
 1016|  21.5M|            return null_;
 1017|  21.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  450|  21.1M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  451|  21.1M|            {
  452|  21.1M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  995|   145k|        {
  996|   145k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   145k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  675|   178k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  676|   178k|            {
  677|   178k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  995|   168k|        {
  996|   168k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   168k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  727|   245k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  728|   245k|            {
  729|   245k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  995|   157k|        {
  996|   157k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   157k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  777|   212k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  778|   212k|            {
  779|   212k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4759|  4.28k|        {
 4760|  4.28k|            switch (storage_kind())
 4761|  4.28k|            {
 4762|  4.28k|                case json_storage_kind::array:
  ------------------
  |  Branch (4762:17): [True: 4.28k, False: 0]
  ------------------
 4763|  4.28k|                    return array_range_type(cast<array_storage>().value().begin(),
 4764|  4.28k|                        cast<array_storage>().value().end());
 4765|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4765:17): [True: 0, False: 4.28k]
  ------------------
 4766|      0|                    return cast<json_ref_storage>().value().array_range();
 4767|      0|                default:
  ------------------
  |  Branch (4767:17): [True: 0, False: 4.28k]
  ------------------
 4768|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4769|  4.28k|            }
 4770|  4.28k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  6.21M|            {
  751|  6.21M|                return *ptr_;
  752|  6.21M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|  4.28k|            : first_(first), last_(last)
  349|  4.28k|        {
  350|  4.28k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|  4.28k|        {
  354|  4.28k|            return first_;
  355|  4.28k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|  4.28k|        {
  358|  4.28k|            return last_;
  359|  4.28k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3425|  10.0k|        {
 3426|  10.0k|            switch (storage_kind())
 3427|  10.0k|            {
 3428|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 10.0k]
  ------------------
 3429|      0|                    return cast<byte_string_storage>().length() == 0;
 3430|      0|                    break;
 3431|      0|                case json_storage_kind::short_str:
  ------------------
  |  Branch (3431:17): [True: 0, False: 10.0k]
  ------------------
 3432|      0|                    return cast<short_string_storage>().length() == 0;
 3433|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3433:17): [True: 0, False: 10.0k]
  ------------------
 3434|      0|                    return cast<long_string_storage>().length() == 0;
 3435|  5.81k|                case json_storage_kind::array:
  ------------------
  |  Branch (3435:17): [True: 5.81k, False: 4.25k]
  ------------------
 3436|  5.81k|                    return cast<array_storage>().value().empty();
 3437|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3437:17): [True: 0, False: 10.0k]
  ------------------
 3438|      0|                    return true;
 3439|  4.25k|                case json_storage_kind::object:
  ------------------
  |  Branch (3439:17): [True: 4.25k, False: 5.81k]
  ------------------
 3440|  4.25k|                    return cast<object_storage>().value().empty();
 3441|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3441:17): [True: 0, False: 10.0k]
  ------------------
 3442|      0|                    return cast<const_json_ref_storage>().value().empty();
 3443|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3443:17): [True: 0, False: 10.0k]
  ------------------
 3444|      0|                    return cast<json_ref_storage>().value().empty();
 3445|      0|                default:
  ------------------
  |  Branch (3445:17): [True: 0, False: 10.0k]
  ------------------
 3446|      0|                    return false;
 3447|  10.0k|            }
 3448|  10.0k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1010|  5.81k|        {
 1011|  5.81k|            return cast(identity<T>());
 1012|  5.81k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  5.81k|        {
 1131|  5.81k|            return array_;
 1132|  5.81k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  5.81k|            {
  756|  5.81k|                return *ptr_;
  757|  5.81k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1010|  4.25k|        {
 1011|  4.25k|            return cast(identity<T>());
 1012|  4.25k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|  4.25k|        {
 1121|  4.25k|            return object_;
 1122|  4.25k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  801|  4.25k|            {
  802|  4.25k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|  4.25k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 4.25k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  803|  4.25k|                return *ptr_;
  804|  4.25k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4156|  9.07k|        {
 4157|  9.07k|            switch (storage_kind())
 4158|  9.07k|            {
 4159|  4.28k|                case json_storage_kind::array:
  ------------------
  |  Branch (4159:17): [True: 4.28k, False: 4.78k]
  ------------------
 4160|  4.28k|                    cast<array_storage>().value().clear();
 4161|  4.28k|                    break;
 4162|  4.78k|                case json_storage_kind::object:
  ------------------
  |  Branch (4162:17): [True: 4.78k, False: 4.28k]
  ------------------
 4163|  4.78k|                    cast<object_storage>().value().clear();
 4164|  4.78k|                    break;
 4165|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4165:17): [True: 0, False: 9.07k]
  ------------------
 4166|      0|                    cast<json_ref_storage>().value().clear();
 4167|      0|                    break;
 4168|      0|                default:
  ------------------
  |  Branch (4168:17): [True: 0, False: 9.07k]
  ------------------
 4169|      0|                    break;
 4170|  9.07k|            }
 4171|  9.07k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  795|  28.9k|            {
  796|  28.9k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|  28.9k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 28.9k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  797|  28.9k|                return *ptr_;
  798|  28.9k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4725|  4.78k|        {
 4726|  4.78k|            switch (storage_kind())
 4727|  4.78k|            {
 4728|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4728:17): [True: 0, False: 4.78k]
  ------------------
 4729|      0|                    return object_range_type(object_iterator(), object_iterator());
 4730|  4.78k|                case json_storage_kind::object:
  ------------------
  |  Branch (4730:17): [True: 4.78k, False: 0]
  ------------------
 4731|  4.78k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4732|  4.78k|                                                  object_iterator(cast<object_storage>().value().end()));
 4733|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4733:17): [True: 0, False: 4.78k]
  ------------------
 4734|      0|                    return cast<json_ref_storage>().value().object_range();
 4735|      0|                default:
  ------------------
  |  Branch (4735:17): [True: 0, False: 4.78k]
  ------------------
 4736|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4737|  4.78k|            }
 4738|  4.78k|        }
_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|  4.78k|            : first_(first), last_(last)
  349|  4.78k|        {
  350|  4.78k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|  9.57k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|  9.57k|            {
  120|  9.57k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  353|  4.78k|        {
  354|  4.78k|            return first_;
  355|  4.78k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  357|  4.78k|        {
  358|  4.78k|            return last_;
  359|  4.78k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|  10.3k|            {
  219|  10.3k|                return !(*this == rhs);
  220|  10.3k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|  10.3k|            {
  210|  10.3k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   77|  20.7k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 10.3k, False: 0]
  |  |  |  Branch (77:48): [True: 10.3k, False: 0]
  |  |  |  Branch (77:48): [True: 10.3k, False: 0]
  |  |  ------------------
  ------------------
  211|  10.3k|                {
  212|  10.3k|                    return current_ == rhs.current_;
  213|  10.3k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|  10.3k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  5.57k|            {
  141|  5.57k|                return *current_;
  142|  5.57k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  5.57k|            {
  151|  5.57k|                ++current_;
  152|  5.57k|                return *this;
  153|  5.57k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1004|   460k|        {
 1005|   460k|            return cast(identity<T>());
 1006|   460k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1115|   460k|        {
 1116|   460k|            return object_;
 1117|   460k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2275|  4.92k|        {
 2276|  4.92k|            construct<empty_object_storage>(semantic_tag::none);
 2277|  4.92k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  995|  4.92k|        {
  996|  4.92k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.92k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1004|  8.98k|        {
 1005|  8.98k|            return cast(identity<T>());
 1006|  8.98k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1025|  8.98k|        {
 1026|  8.98k|            return empty_object_;
 1027|  8.98k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  462|  4.92k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|  4.92k|            {
  464|  4.92k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3484|  7.25k|        {
 3485|  7.25k|            if (n > 0)
  ------------------
  |  Branch (3485:17): [True: 7.25k, False: 0]
  ------------------
 3486|  7.25k|            {
 3487|  7.25k|                switch (storage_kind())
 3488|  7.25k|                {
 3489|  7.25k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3489:21): [True: 7.25k, False: 0]
  ------------------
 3490|  7.25k|                        cast<array_storage>().value().reserve(n);
 3491|  7.25k|                        break;
 3492|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3492:21): [True: 0, False: 7.25k]
  ------------------
 3493|      0|                        create_object_implicitly();
 3494|      0|                        cast<object_storage>().value().reserve(n);
 3495|      0|                        break;
 3496|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3496:21): [True: 0, False: 7.25k]
  ------------------
 3497|      0|                        cast<object_storage>().value().reserve(n);
 3498|      0|                        break;
 3499|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3499:21): [True: 0, False: 7.25k]
  ------------------
 3500|      0|                        cast<json_ref_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    default:
  ------------------
  |  Branch (3502:21): [True: 0, False: 7.25k]
  ------------------
 3503|      0|                        break;
 3504|  7.25k|                }
 3505|  7.25k|            }
 3506|  7.25k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2320|  38.8k|        {
 2321|  38.8k|            auto ptr = create_object(alloc);
 2322|  38.8k|            construct<object_storage>(ptr, tag);
 2323|  38.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  976|  38.8k|        {
  977|  38.8k|            using stor_allocator_type = typename object_storage::allocator_type;
  978|  38.8k|            stor_allocator_type stor_alloc(alloc);
  979|  38.8k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  980|  38.8k|            JSONCONS_TRY
  ------------------
  |  |   37|  38.8k|    #define JSONCONS_TRY try
  ------------------
  981|  38.8k|            {
  982|  38.8k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  983|  38.8k|                    std::forward<Args>(args)...);
  984|  38.8k|            }
  985|  38.8k|            JSONCONS_CATCH(...)
  986|  38.8k|            {
  987|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  988|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  989|      0|            }
  990|  38.8k|            return ptr;
  991|  38.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  38.8k|        {
  996|  38.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  38.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  772|  38.8k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  773|  38.8k|            {
  774|  38.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4701|  6.19M|        {
 4702|  6.19M|            switch (storage_kind())
 4703|  6.19M|            {
 4704|  6.19M|                case json_storage_kind::array:
  ------------------
  |  Branch (4704:17): [True: 6.19M, False: 0]
  ------------------
 4705|  6.19M|                    cast<array_storage>().value().push_back(std::move(val));
 4706|  6.19M|                    break;
 4707|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4707:17): [True: 0, False: 6.19M]
  ------------------
 4708|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4709|      0|                    break;
 4710|      0|                default:
  ------------------
  |  Branch (4710:17): [True: 0, False: 6.19M]
  ------------------
 4711|      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
  ------------------
 4712|  6.19M|            }
 4713|  6.19M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1453|  45.0M|        {
 1454|  45.0M|            if (this != &other)
  ------------------
  |  Branch (1454:17): [True: 45.0M, False: 0]
  ------------------
 1455|  45.0M|            {
 1456|  45.0M|                move_assignment(std::move(other));
 1457|  45.0M|            }
 1458|  45.0M|            return *this;
 1459|  45.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1415|  45.0M|        {
 1416|  45.0M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1416:17): [True: 45.0M, False: 0]
  |  Branch (1416:55): [True: 44.7M, False: 207k]
  ------------------
 1417|  44.7M|            {
 1418|  44.7M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1419|  44.7M|            }
 1420|   207k|            else
 1421|   207k|            {
 1422|   207k|                swap(other);
 1423|   207k|            }
 1424|  45.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1934|   207k|        {
 1935|   207k|            if (this == &other)
  ------------------
  |  Branch (1935:17): [True: 0, False: 207k]
  ------------------
 1936|      0|            {
 1937|      0|                return;
 1938|      0|            }
 1939|   207k|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1939:17): [True: 207k, False: 0]
  |  Branch (1939:55): [True: 0, False: 207k]
  ------------------
 1940|      0|            {
 1941|      0|                basic_json temp;               
 1942|      0|                std::memcpy(static_cast<void*>(&temp), static_cast<void*>(&other), sizeof(basic_json));
 1943|      0|                std::memcpy(static_cast<void*>(&other), static_cast<void*>(this), sizeof(basic_json));
 1944|      0|                std::memcpy(static_cast<void*>(this), static_cast<void*>(&temp), sizeof(basic_json));
 1945|      0|            }
 1946|   207k|            else
 1947|   207k|            {
 1948|   207k|                switch (storage_kind())
 1949|   207k|                {
 1950|   178k|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 178k, False: 28.0k]
  ------------------
 1951|  2.03k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 2.03k, False: 205k]
  ------------------
 1952|  5.53k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 5.53k, False: 201k]
  ------------------
 1953|  5.86k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 5.86k, False: 201k]
  ------------------
 1954|  2.53k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 2.53k, False: 204k]
  ------------------
 1955|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 0, False: 207k]
  ------------------
 1956|  4.01k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 4.01k, False: 203k]
  ------------------
 1957|  8.10k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 8.10k, False: 198k]
  ------------------
 1958|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 207k]
  ------------------
 1959|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 0, False: 207k]
  ------------------
 1960|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 0, False: 207k]
  ------------------
 1961|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 207k]
  ------------------
 1962|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 207k]
  ------------------
 1963|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 207k]
  ------------------
 1964|      0|                    default:
  ------------------
  |  Branch (1964:21): [True: 0, False: 207k]
  ------------------
 1965|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1966|      0|                        break;
 1967|   207k|                }
 1968|   207k|            }
 1969|   207k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1170|   178k|        {
 1171|   178k|            switch (other.storage_kind())
 1172|   178k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 178k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 178k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 178k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 178k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 178k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 178k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 178k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 178k]
  ------------------
 1181|  31.6k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 31.6k, False: 147k]
  ------------------
 1182|  28.1k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 28.1k, False: 150k]
  ------------------
 1183|  70.8k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 70.8k, False: 108k]
  ------------------
 1184|  48.3k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 48.3k, False: 130k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 178k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 178k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 178k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|   178k|            }
 1191|   178k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  995|   178k|        {
  996|   178k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   178k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  995|  2.03k|        {
  996|  2.03k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1004|  45.1k|        {
 1005|  45.1k|            return cast(identity<T>());
 1006|  45.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1035|  45.1k|        {
 1036|  45.1k|            return boolean_;
 1037|  45.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  995|  5.53k|        {
  996|  5.53k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  5.53k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1004|   142k|        {
 1005|   142k|            return cast(identity<T>());
 1006|   142k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1045|   142k|        {
 1046|   142k|            return int64_;
 1047|   142k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  995|  5.86k|        {
  996|  5.86k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  5.86k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1004|  21.1k|        {
 1005|  21.1k|            return cast(identity<T>());
 1006|  21.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1055|  21.1k|        {
 1056|  21.1k|            return uint64_;
 1057|  21.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  995|  2.53k|        {
  996|  2.53k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  2.53k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1004|  27.2k|        {
 1005|  27.2k|            return cast(identity<T>());
 1006|  27.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1075|  27.2k|        {
 1076|  27.2k|            return float64_;
 1077|  27.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  995|  4.01k|        {
  996|  4.01k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  4.01k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1004|  45.3k|        {
 1005|  45.3k|            return cast(identity<T>());
 1006|  45.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1085|  45.3k|        {
 1086|  45.3k|            return short_str_;
 1087|  45.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  585|  8.10k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  586|  8.10k|            {
  587|  8.10k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  588|  8.10k|                data_[short_str_length_] = 0;
  589|  8.10k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  995|  8.10k|        {
  996|  8.10k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  8.10k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1156|  31.6k|        {
 1157|  31.6k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  31.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  31.6k|        {
 1163|  31.6k|            TypeR temp{other.cast<TypeR>()};
 1164|  31.6k|            other.construct<TypeL>(cast<TypeL>());
 1165|  31.6k|            construct<TypeR>(temp);
 1166|  31.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  28.1k|        {
 1157|  28.1k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  28.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  28.1k|        {
 1163|  28.1k|            TypeR temp{other.cast<TypeR>()};
 1164|  28.1k|            other.construct<TypeL>(cast<TypeL>());
 1165|  28.1k|            construct<TypeR>(temp);
 1166|  28.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1156|  70.8k|        {
 1157|  70.8k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  70.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  70.8k|        {
 1163|  70.8k|            TypeR temp{other.cast<TypeR>()};
 1164|  70.8k|            other.construct<TypeL>(cast<TypeL>());
 1165|  70.8k|            construct<TypeR>(temp);
 1166|  70.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1156|  48.3k|        {
 1157|  48.3k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  48.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  48.3k|        {
 1163|  48.3k|            TypeR temp{other.cast<TypeR>()};
 1164|  48.3k|            other.construct<TypeL>(cast<TypeL>());
 1165|  48.3k|            construct<TypeR>(temp);
 1166|  48.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1170|  2.03k|        {
 1171|  2.03k|            switch (other.storage_kind())
 1172|  2.03k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.03k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.03k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.03k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.03k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.03k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.03k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.03k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.03k]
  ------------------
 1181|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.03k]
  ------------------
 1182|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.03k]
  ------------------
 1183|      0|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 2.03k]
  ------------------
 1184|  2.03k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 2.03k, False: 0]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 2.03k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.03k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.03k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.03k|            }
 1191|  2.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1156|  2.03k|        {
 1157|  2.03k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.03k|        {
 1163|  2.03k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.03k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.03k|            construct<TypeR>(temp);
 1166|  2.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1170|  5.53k|        {
 1171|  5.53k|            switch (other.storage_kind())
 1172|  5.53k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 5.53k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 5.53k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 5.53k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 5.53k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 5.53k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 5.53k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 5.53k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 5.53k]
  ------------------
 1181|  1.04k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 1.04k, False: 4.49k]
  ------------------
 1182|  2.21k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 2.21k, False: 3.32k]
  ------------------
 1183|  1.52k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 1.52k, False: 4.00k]
  ------------------
 1184|    753|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 753, False: 4.78k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 5.53k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 5.53k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 5.53k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  5.53k|            }
 1191|  5.53k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1156|  1.04k|        {
 1157|  1.04k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.04k|        {
 1163|  1.04k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.04k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.04k|            construct<TypeR>(temp);
 1166|  1.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  2.21k|        {
 1157|  2.21k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.21k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.21k|        {
 1163|  2.21k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.21k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.21k|            construct<TypeR>(temp);
 1166|  2.21k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1156|  1.52k|        {
 1157|  1.52k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.52k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.52k|        {
 1163|  1.52k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.52k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.52k|            construct<TypeR>(temp);
 1166|  1.52k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1156|    753|        {
 1157|    753|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    753|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    753|        {
 1163|    753|            TypeR temp{other.cast<TypeR>()};
 1164|    753|            other.construct<TypeL>(cast<TypeL>());
 1165|    753|            construct<TypeR>(temp);
 1166|    753|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1170|  5.86k|        {
 1171|  5.86k|            switch (other.storage_kind())
 1172|  5.86k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 5.86k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 5.86k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 5.86k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 5.86k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 5.86k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 5.86k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 5.86k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 5.86k]
  ------------------
 1181|  1.07k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 1.07k, False: 4.79k]
  ------------------
 1182|    257|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 257, False: 5.60k]
  ------------------
 1183|  2.97k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 2.97k, False: 2.88k]
  ------------------
 1184|  1.55k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 1.55k, False: 4.30k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 5.86k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 5.86k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 5.86k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  5.86k|            }
 1191|  5.86k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  1.07k|        {
 1157|  1.07k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.07k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.07k|        {
 1163|  1.07k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.07k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.07k|            construct<TypeR>(temp);
 1166|  1.07k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    257|        {
 1157|    257|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    257|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    257|        {
 1163|    257|            TypeR temp{other.cast<TypeR>()};
 1164|    257|            other.construct<TypeL>(cast<TypeL>());
 1165|    257|            construct<TypeR>(temp);
 1166|    257|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1156|  2.97k|        {
 1157|  2.97k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  2.97k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  2.97k|        {
 1163|  2.97k|            TypeR temp{other.cast<TypeR>()};
 1164|  2.97k|            other.construct<TypeL>(cast<TypeL>());
 1165|  2.97k|            construct<TypeR>(temp);
 1166|  2.97k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1156|  1.55k|        {
 1157|  1.55k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.55k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.55k|        {
 1163|  1.55k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.55k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.55k|            construct<TypeR>(temp);
 1166|  1.55k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1170|  2.53k|        {
 1171|  2.53k|            switch (other.storage_kind())
 1172|  2.53k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.53k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.53k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.53k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.53k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.53k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.53k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.53k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.53k]
  ------------------
 1181|  1.39k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 1.39k, False: 1.13k]
  ------------------
 1182|    230|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 230, False: 2.30k]
  ------------------
 1183|    580|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 580, False: 1.95k]
  ------------------
 1184|    325|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 325, False: 2.20k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 2.53k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.53k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 2.53k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  2.53k|            }
 1191|  2.53k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1156|  1.39k|        {
 1157|  1.39k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.39k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.39k|        {
 1163|  1.39k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.39k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.39k|            construct<TypeR>(temp);
 1166|  1.39k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    230|        {
 1157|    230|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    230|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    230|        {
 1163|    230|            TypeR temp{other.cast<TypeR>()};
 1164|    230|            other.construct<TypeL>(cast<TypeL>());
 1165|    230|            construct<TypeR>(temp);
 1166|    230|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1156|    580|        {
 1157|    580|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    580|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    580|        {
 1163|    580|            TypeR temp{other.cast<TypeR>()};
 1164|    580|            other.construct<TypeL>(cast<TypeL>());
 1165|    580|            construct<TypeR>(temp);
 1166|    580|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1156|    325|        {
 1157|    325|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    325|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    325|        {
 1163|    325|            TypeR temp{other.cast<TypeR>()};
 1164|    325|            other.construct<TypeL>(cast<TypeL>());
 1165|    325|            construct<TypeR>(temp);
 1166|    325|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1170|  4.01k|        {
 1171|  4.01k|            switch (other.storage_kind())
 1172|  4.01k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 4.01k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 4.01k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 4.01k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 4.01k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 4.01k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 4.01k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 4.01k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 4.01k]
  ------------------
 1181|    784|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 784, False: 3.22k]
  ------------------
 1182|  1.67k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 1.67k, False: 2.34k]
  ------------------
 1183|    817|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 817, False: 3.19k]
  ------------------
 1184|    740|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 740, False: 3.27k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 4.01k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 4.01k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 4.01k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  4.01k|            }
 1191|  4.01k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1156|    784|        {
 1157|    784|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    784|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    784|        {
 1163|    784|            TypeR temp{other.cast<TypeR>()};
 1164|    784|            other.construct<TypeL>(cast<TypeL>());
 1165|    784|            construct<TypeR>(temp);
 1166|    784|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1156|  1.67k|        {
 1157|  1.67k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  1.67k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  1.67k|        {
 1163|  1.67k|            TypeR temp{other.cast<TypeR>()};
 1164|  1.67k|            other.construct<TypeL>(cast<TypeL>());
 1165|  1.67k|            construct<TypeR>(temp);
 1166|  1.67k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1156|    817|        {
 1157|    817|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    817|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    817|        {
 1163|    817|            TypeR temp{other.cast<TypeR>()};
 1164|    817|            other.construct<TypeL>(cast<TypeL>());
 1165|    817|            construct<TypeR>(temp);
 1166|    817|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1156|    740|        {
 1157|    740|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    740|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    740|        {
 1163|    740|            TypeR temp{other.cast<TypeR>()};
 1164|    740|            other.construct<TypeL>(cast<TypeL>());
 1165|    740|            construct<TypeR>(temp);
 1166|    740|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1170|  8.10k|        {
 1171|  8.10k|            switch (other.storage_kind())
 1172|  8.10k|            {
 1173|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 8.10k]
  ------------------
 1174|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 8.10k]
  ------------------
 1175|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 8.10k]
  ------------------
 1176|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 8.10k]
  ------------------
 1177|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 8.10k]
  ------------------
 1178|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 8.10k]
  ------------------
 1179|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 8.10k]
  ------------------
 1180|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 8.10k]
  ------------------
 1181|  6.37k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 6.37k, False: 1.73k]
  ------------------
 1182|    237|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 237, False: 7.87k]
  ------------------
 1183|    796|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 796, False: 7.31k]
  ------------------
 1184|    699|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 699, False: 7.40k]
  ------------------
 1185|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 8.10k]
  ------------------
 1186|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 8.10k]
  ------------------
 1187|      0|                default:
  ------------------
  |  Branch (1187:17): [True: 0, False: 8.10k]
  ------------------
 1188|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1189|      0|                    break;
 1190|  8.10k|            }
 1191|  8.10k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1156|  6.37k|        {
 1157|  6.37k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|  6.37k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|  6.37k|        {
 1163|  6.37k|            TypeR temp{other.cast<TypeR>()};
 1164|  6.37k|            other.construct<TypeL>(cast<TypeL>());
 1165|  6.37k|            construct<TypeR>(temp);
 1166|  6.37k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1156|    237|        {
 1157|    237|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    237|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    237|        {
 1163|    237|            TypeR temp{other.cast<TypeR>()};
 1164|    237|            other.construct<TypeL>(cast<TypeL>());
 1165|    237|            construct<TypeR>(temp);
 1166|    237|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1156|    796|        {
 1157|    796|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    796|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    796|        {
 1163|    796|            TypeR temp{other.cast<TypeR>()};
 1164|    796|            other.construct<TypeL>(cast<TypeL>());
 1165|    796|            construct<TypeR>(temp);
 1166|    796|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1156|    699|        {
 1157|    699|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1158|    699|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1162|    699|        {
 1163|    699|            TypeR temp{other.cast<TypeR>()};
 1164|    699|            other.construct<TypeL>(cast<TypeL>());
 1165|    699|            construct<TypeR>(temp);
 1166|    699|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2614|  16.0k|        {
 2615|  16.0k|            construct<uint64_storage>(val, tag);
 2616|  16.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  995|  16.0k|        {
  996|  16.0k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  16.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  16.0k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  16.0k|                  val_(val)
  518|  16.0k|            {
  519|  16.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2645|   130k|        {
 2646|   130k|            construct<int64_storage>(val, tag);
 2647|   130k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  995|   130k|        {
  996|   130k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|   130k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  496|   130k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  497|   130k|                  val_(val)
  498|   130k|            {
  499|   130k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2602|  19.2k|        {
 2603|  19.2k|            construct<double_storage>(val, tag);
 2604|  19.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  995|  19.2k|        {
  996|  19.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  19.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  555|  19.2k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  556|  19.2k|                  val_(val)
  557|  19.2k|            {
  558|  19.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2401|  45.8k|        {
 2402|  45.8k|            auto ptr = create_array(Allocator());
 2403|  45.8k|            construct<array_storage>(ptr, tag);
 2404|  45.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  957|  45.8k|        {
  958|  45.8k|            using stor_allocator_type = typename array_storage::allocator_type;
  959|  45.8k|            stor_allocator_type stor_alloc(alloc);
  960|  45.8k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  961|  45.8k|            JSONCONS_TRY
  ------------------
  |  |   37|  45.8k|    #define JSONCONS_TRY try
  ------------------
  962|  45.8k|            {
  963|  45.8k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  964|  45.8k|                    std::forward<Args>(args)...);
  965|  45.8k|            }
  966|  45.8k|            JSONCONS_CATCH(...)
  967|  45.8k|            {
  968|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  969|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  970|      0|            }
  971|  45.8k|            return ptr;
  972|  45.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  995|  45.8k|        {
  996|  45.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  45.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  722|  45.8k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  723|  45.8k|            {
  724|  45.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2691|  20.7M|        {
 2692|  20.7M|            construct<null_storage>(tag);
 2693|  20.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  995|  20.7M|        {
  996|  20.7M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  20.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2701|  34.0k|        {
 2702|  34.0k|            construct<bool_storage>(val,tag);
 2703|  34.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  995|  34.0k|        {
  996|  34.0k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  34.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|  34.0k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|  34.0k|                  val_(val)
  477|  34.0k|            {
  478|  34.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2549|  74.5k|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2550|  74.5k|        {
 2551|  74.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2579|  74.5k|        {
 2580|  74.5k|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2580:17): [True: 29.1k, False: 45.4k]
  ------------------
 2581|  29.1k|            {
 2582|  29.1k|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2583|  29.1k|            }
 2584|  45.4k|            else
 2585|  45.4k|            {
 2586|  45.4k|                auto ptr = create_long_string(alloc, s, length);
 2587|  45.4k|                construct<long_string_storage>(ptr, tag);
 2588|  45.4k|            }
 2589|  74.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  995|  29.1k|        {
  996|  29.1k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  29.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  29.1k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  29.1k|            {
  579|  29.1k|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   49|  29.1k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 29.1k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  580|  29.1k|                std::memcpy(data_,p,length*sizeof(char_type));
  581|  29.1k|                data_[length] = 0;
  582|  29.1k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  943|  45.4k|        {
  944|  45.4k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  945|  45.4k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  946|  45.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  995|  45.4k|        {
  996|  45.4k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  45.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  621|  45.4k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  622|  45.4k|            {
  623|  45.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  950|  71.8k|        {
  951|  71.8k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  952|  71.8k|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  953|  71.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  670|  71.8k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  671|  71.8k|            {
  672|  71.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2742|  71.8k|        {
 2743|  71.8k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2744|       |
 2745|  71.8k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2746|  71.8k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2747|  71.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  995|  71.8k|        {
  996|  71.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  997|  71.8k|        }

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

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

_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|   117k|            : data_(data), size_(size)
   62|   117k|        {
   63|   117k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|   149k|        {
  112|   149k|            return data_;
  113|   149k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|   304k|        {
  117|   304k|            return size_;
  118|   304k|        }
_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2Ev:
   58|  32.1k|        {
   59|  32.1k|        }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  56.5k|        {
  106|  56.5k|            flatten_and_destroy();
  107|  56.5k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  56.5k|        {
  249|  6.25M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 6.19M, False: 56.5k]
  ------------------
  250|  6.19M|            {
  251|  6.19M|                value_type current = std::move(data_.back());
  252|  6.19M|                data_.pop_back();
  253|  6.19M|                switch (current.storage_kind())
  254|  6.19M|                {
  255|  4.28k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 4.28k, False: 6.19M]
  ------------------
  256|  4.28k|                    {
  257|  4.28k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 4.98k, False: 4.28k]
  ------------------
  258|  4.98k|                        {
  259|  4.98k|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 833, False: 4.15k]
  |  Branch (259:85): [True: 611, False: 3.54k]
  ------------------
  260|  1.44k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 968, False: 476]
  ------------------
  261|    968|                            {
  262|    968|                                data_.push_back(std::move(item));
  263|    968|                            }
  264|  4.98k|                        }
  265|  4.28k|                        current.clear();                           
  266|  4.28k|                        break;
  267|      0|                    }
  268|  4.78k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 4.78k, False: 6.19M]
  ------------------
  269|  4.78k|                    {
  270|  4.78k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 5.57k, False: 4.78k]
  ------------------
  271|  5.57k|                        {
  272|  5.57k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 338, False: 5.23k]
  |  Branch (272:91): [True: 1.46k, False: 3.76k]
  ------------------
  273|  1.80k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 1.55k, False: 246]
  ------------------
  274|  1.55k|                            {
  275|  1.55k|                                data_.push_back(std::move(kv.value()));
  276|  1.55k|                            }
  277|  5.57k|                        }
  278|  4.78k|                        current.clear();                           
  279|  4.78k|                        break;
  280|      0|                    }
  281|  6.18M|                    default:
  ------------------
  |  Branch (281:21): [True: 6.18M, False: 9.07k]
  ------------------
  282|  6.18M|                        break;
  283|  6.19M|                }
  284|  6.19M|            }
  285|  56.5k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|  4.28k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|  4.28k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  5.81k|        {
  126|  5.81k|            return data_.empty();
  127|  5.81k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|  4.28k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  10.7k|            : allocator_holder<allocator_type>(alloc), 
   50|  10.7k|              data_(value_allocator_type(alloc))
   51|  10.7k|        {
   52|  10.7k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  4.21k|        {
  218|  4.21k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  4.21k|            return data_.back();
  220|  4.21k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  7.25k|        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|  6.19M|        {
  179|  6.19M|            data_.emplace_back(std::forward<T>(value));
  180|  6.19M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  45.8k|        json_array() = default;

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  4.92k|        : alloc_(alloc),
   75|  4.92k|          result_(),
   76|  4.92k|          name_(alloc),
   77|  4.92k|          item_stack_(alloc),
   78|  4.92k|          structure_stack_(temp_alloc)
   79|  4.92k|    {
   80|       |        //item_stack_.reserve(1000);
   81|       |        //structure_stack_.reserve(100);
   82|  4.92k|        structure_stack_.emplace_back(json_structure_kind::root_kind, 0);
   83|  4.92k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14json_structureC2ENS7_19json_structure_kindEm:
   51|  89.5k|            : structure_kind(type), structure_index(offset)
   52|  89.5k|        {
   53|  89.5k|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  186|  19.4k|    {
  187|  19.4k|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   49|  19.4k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 19.4k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  188|  19.4k|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::array_kind);
  ------------------
  |  |   49|  19.4k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 19.4k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  189|  19.4k|        const size_t structure_index = structure_stack_.back().structure_index;
  190|  19.4k|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   49|  19.4k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 19.4k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  191|       |
  192|  19.4k|        auto& structure = structure_stack_[structure_stack_.size()-2];
  193|  19.4k|        auto& arr = item_stack_[structure_index].value;
  194|  19.4k|        const size_t size = item_stack_.size() - (structure_index + 1);
  195|       |
  196|  19.4k|        if (size > 0)
  ------------------
  |  Branch (196:13): [True: 7.25k, False: 12.2k]
  ------------------
  197|  7.25k|        {
  198|  7.25k|            arr.reserve(size);
  199|  7.25k|            auto first = item_stack_.begin() + (structure_index+1);
  200|  7.25k|            auto last = first + size;
  201|  6.20M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (201:35): [True: 6.19M, False: 7.25k]
  ------------------
  202|  6.19M|            {
  203|  6.19M|                arr.push_back(std::move((*it).value));
  204|  6.19M|            }
  205|  7.25k|            item_stack_.erase(first, item_stack_.end());
  206|  7.25k|        }
  207|       |
  208|  19.4k|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (208:13): [True: 0, False: 19.4k]
  ------------------
  209|      0|        {
  210|      0|            result_ = std::move(item_stack_.front().value);
  211|      0|            item_stack_.pop_back();
  212|      0|            is_valid_ = true;
  213|      0|        }
  214|       |
  215|  19.4k|        structure_stack_.pop_back();
  216|  19.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  19.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  19.4k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  311|  16.0k|    {
  312|  16.0k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (312:17): [True: 16.0k, False: 0]
  ------------------
  313|  16.0k|        {
  314|  10.0k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (314:13): [True: 10.0k, False: 6.02k]
  ------------------
  315|  10.0k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  316|  10.0k|                break;
  317|  6.02k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (317:13): [True: 6.02k, False: 10.0k]
  ------------------
  318|  6.02k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  319|  6.02k|                break;
  320|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (320:13): [True: 0, False: 16.0k]
  ------------------
  321|      0|                result_ = Json(value,tag);
  322|      0|                is_valid_ = true;
  323|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  324|  16.0k|        }
  325|  16.0k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  16.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  16.0k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  290|   130k|    {
  291|   130k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (291:17): [True: 130k, False: 0]
  ------------------
  292|   130k|        {
  293|  78.7k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (293:13): [True: 78.7k, False: 51.8k]
  ------------------
  294|  78.7k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  295|  78.7k|                break;
  296|  51.8k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (296:13): [True: 51.8k, False: 78.7k]
  ------------------
  297|  51.8k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  298|  51.8k|                break;
  299|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (299:13): [True: 0, False: 130k]
  ------------------
  300|      0|                result_ = Json(value,tag);
  301|      0|                is_valid_ = true;
  302|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|   130k|        }
  304|   130k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   130k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  305|   130k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  353|  19.2k|    {
  354|  19.2k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (354:17): [True: 19.2k, False: 0]
  ------------------
  355|  19.2k|        {
  356|  10.6k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (356:13): [True: 10.6k, False: 8.59k]
  ------------------
  357|  10.6k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  358|  10.6k|                break;
  359|  8.59k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (359:13): [True: 8.59k, False: 10.6k]
  ------------------
  360|  8.59k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  361|  8.59k|                break;
  362|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (362:13): [True: 0, False: 19.2k]
  ------------------
  363|      0|                result_ = Json(value, tag);
  364|      0|                is_valid_ = true;
  365|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  19.2k|        }
  367|  19.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  19.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  19.2k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|     15|    {
  123|     15|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  38.8k|    {
  127|  38.8k|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (127:13): [True: 25.9k, False: 12.8k]
  ------------------
  128|  25.9k|        {
  129|  25.9k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  130|  25.9k|            item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  131|  25.9k|        }
  132|  12.8k|        else
  133|  12.8k|        {
  134|  12.8k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  135|  12.8k|            item_stack_.emplace_back(key_type(alloc_), 0, json_object_arg, tag);
  136|  12.8k|        }
  137|  38.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  38.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  138|  38.8k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  141|  26.6k|    {
  142|  26.6k|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   49|  26.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 26.6k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  143|  26.6k|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::object_kind);
  ------------------
  |  |   49|  26.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 26.6k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  144|  26.6k|        const size_t structure_index = structure_stack_.back().structure_index;
  145|  26.6k|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   49|  26.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 26.6k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  146|       |
  147|  26.6k|        const size_t size = item_stack_.size() - (structure_index + 1);
  148|  26.6k|        auto first = item_stack_.begin() + (structure_index+1);
  149|  26.6k|        auto& structure = structure_stack_[structure_stack_.size()-2];
  150|  26.6k|        auto& obj = item_stack_[structure_index].value;
  151|       |
  152|  26.6k|        if (size > 0)
  ------------------
  |  Branch (152:13): [True: 14.5k, False: 12.1k]
  ------------------
  153|  14.5k|        {
  154|  14.5k|            obj.template cast<typename Json::object_storage>().value().uninitialized_init(
  155|  14.5k|                &item_stack_[structure_index+1], size);
  156|  14.5k|            item_stack_.erase(first, item_stack_.end());
  157|  14.5k|        }
  158|       |
  159|  26.6k|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (159:13): [True: 2.03k, False: 24.6k]
  ------------------
  160|  2.03k|        {
  161|  2.03k|            result_ = std::move(item_stack_.front().value);
  162|  2.03k|            item_stack_.pop_back();
  163|  2.03k|            is_valid_ = true;
  164|  2.03k|        }
  165|       |
  166|  26.6k|        structure_stack_.pop_back();
  167|  26.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  26.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  168|  26.6k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  171|  45.8k|    {
  172|  45.8k|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (172:13): [True: 20.3k, False: 25.5k]
  ------------------
  173|  20.3k|        {
  174|  20.3k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  175|  20.3k|            item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  176|  20.3k|        }
  177|  25.5k|        else
  178|  25.5k|        {
  179|  25.5k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  180|  25.5k|            item_stack_.emplace_back(key_type(alloc_), 0, json_array_arg, tag);
  181|  25.5k|        }
  182|  45.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  45.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  183|  45.8k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  220|  12.1M|    {
  221|  12.1M|        name_ = key_type(name.data(),name.length(),alloc_);
  222|  12.1M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  12.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  223|  12.1M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  389|  20.7M|    {
  390|  20.7M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (390:17): [True: 20.7M, False: 0]
  ------------------
  391|  20.7M|        {
  392|  11.8M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (392:13): [True: 11.8M, False: 8.88M]
  ------------------
  393|  11.8M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  394|  11.8M|                break;
  395|  8.88M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (395:13): [True: 8.88M, False: 11.8M]
  ------------------
  396|  8.88M|                item_stack_.emplace_back(key_type(alloc_), 0, null_type(), tag);
  397|  8.88M|                break;
  398|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (398:13): [True: 0, False: 20.7M]
  ------------------
  399|      0|                result_ = Json(null_type(), tag);
  400|      0|                is_valid_ = true;
  401|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  402|  20.7M|        }
  403|  20.7M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  20.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  404|  20.7M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  371|  34.0k|    {
  372|  34.0k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (372:17): [True: 34.0k, False: 0]
  ------------------
  373|  34.0k|        {
  374|  25.9k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (374:13): [True: 25.9k, False: 8.12k]
  ------------------
  375|  25.9k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  376|  25.9k|                break;
  377|  8.12k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (377:13): [True: 8.12k, False: 25.9k]
  ------------------
  378|  8.12k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  379|  8.12k|                break;
  380|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (380:13): [True: 0, False: 34.0k]
  ------------------
  381|      0|                result_ = Json(value, tag);
  382|      0|                is_valid_ = true;
  383|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  384|  34.0k|        }
  385|  34.0k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  34.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  34.0k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  226|  74.5k|    {
  227|  74.5k|        auto& structure = structure_stack_.back();
  228|  74.5k|        switch (structure.structure_kind)
  ------------------
  |  Branch (228:17): [True: 74.5k, False: 0]
  ------------------
  229|  74.5k|        {
  230|  59.6k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (230:13): [True: 59.6k, False: 14.9k]
  ------------------
  231|  59.6k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  232|  59.6k|                break;
  233|  14.9k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (233:13): [True: 14.9k, False: 59.6k]
  ------------------
  234|  14.9k|                item_stack_.emplace_back(key_type(alloc_), 0, sv, tag);
  235|  14.9k|                break;
  236|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (236:13): [True: 0, False: 74.5k]
  ------------------
  237|      0|                result_ = Json(sv, tag, alloc_);
  238|      0|                is_valid_ = true;
  239|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  240|  74.5k|        }
  241|  74.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  74.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  242|  74.5k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  269|  71.8k|    {
  270|  71.8k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (270:17): [True: 71.8k, False: 0]
  ------------------
  271|  71.8k|        {
  272|  57.4k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (272:13): [True: 57.4k, False: 14.3k]
  ------------------
  273|  57.4k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, raw_tag);
  274|  57.4k|                break;
  275|  14.3k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (275:13): [True: 14.3k, False: 57.4k]
  ------------------
  276|  14.3k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, raw_tag);
  277|  14.3k|                break;
  278|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (278:13): [True: 0, False: 71.8k]
  ------------------
  279|      0|                result_ = Json(byte_string_arg, b, raw_tag, alloc_);
  280|      0|                is_valid_ = true;
  281|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  282|  71.8k|        }
  283|  71.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  71.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|  71.8k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|     15|    {
  109|     15|        return is_valid_;
  110|     15|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|     15|    {
  114|     15|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   49|     15|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 15]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  115|     15|        is_valid_ = false;
  116|     15|        return std::move(result_);
  117|     15|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  4.92k|{
 1065|  4.92k|    return json_visitor_adaptor<From, To>(to);
 1066|  4.92k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  4.92k|        : supertype(visitor)
  984|  4.92k|    {
  985|  4.92k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  4.92k|        : destination1_(std::addressof(visitor))
  722|  4.92k|    {
  723|  4.92k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  19.4k|    {
  784|  19.4k|        destination1_->end_array(context, ec);
  785|  19.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  19.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  19.4k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  16.0k|    {
  826|  16.0k|        destination1_->uint64_value(value, tag, context, ec);
  827|  16.0k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  16.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  16.0k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|   130k|    {
  820|   130k|        destination1_->int64_value(value, tag, context, ec);
  821|   130k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   130k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|   130k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  19.2k|    {
  814|  19.2k|        destination1_->double_value(value, tag, context, ec);
  815|  19.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  19.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  19.2k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|     15|    {
  739|     15|        destination1_->flush();
  740|     15|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  745|  38.8k|    {
  746|  38.8k|        destination1_->begin_object(tag, context, ec);
  747|  38.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  38.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  748|  38.8k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  26.6k|    {
  761|  26.6k|        destination1_->end_object(context, ec);
  762|  26.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  26.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  26.6k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  768|  45.8k|    {
  769|  45.8k|        destination1_->begin_array(tag, context, ec);
  770|  45.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  45.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  771|  45.8k|    }
_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|  12.1M|    {
  996|  12.1M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  12.1M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  12.2M|    {
  733|  12.2M|        return *destination1_;
  734|  12.2M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  20.7M|    {
  838|  20.7M|        destination1_->null_value(tag, context, ec);
  839|  20.7M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  20.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  20.7M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  34.0k|    {
  832|  34.0k|        destination1_->bool_value(value, tag, context, ec);
  833|  34.0k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  34.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  34.0k|    }
_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|  74.5k|    {
 1004|  74.5k|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  74.5k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS6_10error_codeE:
  801|  71.8k|    {
  802|  71.8k|        destination1_->byte_string_value(b, raw_tag, context, ec);
  803|  71.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  71.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|  71.8k|    }

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  9.84k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  9.84k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  32.1k|        {
  415|  32.1k|            visit_uint64(value, tag, context, ec);
  416|  32.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  32.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  32.1k|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  38.9k|        {
  352|  38.9k|            visit_end_array(context, ec);
  353|  38.9k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  38.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  38.9k|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|   261k|        {
  424|   261k|            visit_int64(value, tag, context, ec);
  425|   261k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   261k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|   261k|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  38.4k|        {
  442|  38.4k|            visit_double(value, tag, context, ec);
  443|  38.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  38.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  38.4k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|     30|        {
  109|     30|            visit_flush();
  110|     30|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  318|  77.6k|        {
  319|  77.6k|            visit_begin_object(tag, context, ec);
  320|  77.6k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  77.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  321|  77.6k|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  53.3k|        {
  334|  53.3k|            visit_end_object(context, ec);
  335|  53.3k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  53.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  53.3k|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  339|  91.6k|        {
  340|  91.6k|            visit_begin_array(tag, context, ec);
  341|  91.6k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  91.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  342|  91.6k|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  24.3M|        {
  358|  24.3M|            visit_key(name, context, ec);
  359|  24.3M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  24.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  24.3M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  41.5M|        {
  366|  41.5M|            visit_null(tag, context, ec);
  367|  41.5M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  41.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  41.5M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  68.1k|        {
  375|  68.1k|            visit_bool(value, tag, context, ec);
  376|  68.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  68.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  68.1k|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|   149k|        {
  384|   149k|            visit_string(value, tag, context, ec);
  385|   149k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   149k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|   149k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|   143k|        {
  406|   143k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|   143k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   143k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|   143k|        }

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|  67.1k|    {
  121|  67.1k|        return value_;
  122|  67.1k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  45.0M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  16.0k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  16.0k|    {
   45|  16.0k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  53.2M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   130k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   130k|    {
   45|   130k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  19.2k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  19.2k|    {
   45|  19.2k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  38.8k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  38.8k|    {
   45|  38.8k|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|  47.5k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|  47.5k|    {
   88|  47.5k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  45.8k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  45.8k|    {
   45|  45.8k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  20.7M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  20.7M|    {
   45|  20.7M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  34.0k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  34.0k|    {
   45|  34.0k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  74.5k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  74.5k|    {
   45|  74.5k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  71.8k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  71.8k|    {
   45|  71.8k|    }

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  4.25k|        {
  159|  4.25k|            return data_.empty();
  160|  4.25k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  4.78k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  4.78k|        {
  169|  4.78k|            return data_.begin();
  170|  4.78k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  4.78k|        {
  174|  4.78k|            return data_.end();
  175|  4.78k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  38.8k|        {
  154|  38.8k|            flatten_and_destroy();
  155|  38.8k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|  38.8k|        {
  725|  38.8k|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 10.7k, False: 28.0k]
  ------------------
  726|  10.7k|            {
  727|  10.7k|                json_array<Json> temp(get_allocator());
  728|       |
  729|  10.7k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 41.9k, False: 10.7k]
  ------------------
  730|  41.9k|                {
  731|  41.9k|                    switch (kv.value().storage_kind())
  732|  41.9k|                    {
  733|  4.64k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 4.64k, False: 37.3k]
  ------------------
  734|  6.81k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 2.17k, False: 39.8k]
  ------------------
  735|  6.81k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 4.21k, False: 2.60k]
  ------------------
  736|  4.21k|                            {
  737|  4.21k|                                temp.emplace_back(std::move(kv.value()));
  738|  4.21k|                            }
  739|  6.81k|                            break;
  740|  35.1k|                        default:
  ------------------
  |  Branch (740:25): [True: 35.1k, False: 6.81k]
  ------------------
  741|  35.1k|                            break;
  742|  41.9k|                    }
  743|  41.9k|                }
  744|  10.7k|            }
  745|  38.8k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  38.8k|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  14.5k|        {
  278|  14.5k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 14.5k, False: 0]
  ------------------
  279|  14.5k|            {
  280|  14.5k|                data_.reserve(count);
  281|       |
  282|  14.5k|                std::sort(items, items+count, compare);
  283|  14.5k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  8.77M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 8.76M, False: 14.5k]
  ------------------
  286|  8.76M|                {
  287|  8.76M|                    auto& item = items[i];
  288|  8.76M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 33.0k, False: 8.73M]
  ------------------
  289|  33.0k|                    {
  290|  33.0k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|  33.0k|                    }
  292|  8.76M|                }
  293|  14.5k|            }
  294|  14.5k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|   207M|        {
  269|   207M|            int comp = item1.name.compare(item2.name); 
  270|   207M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 1.48M, False: 206M]
  ------------------
  271|   206M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 205M, False: 500k]
  ------------------
  272|       |
  273|   500k|            return false;
  274|   206M|        }

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  176|  4.92k|        : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  177|  4.92k|          chunk_size_(default_max_chunk_size)
  178|  4.92k|    {
  179|  4.92k|        chunk_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, chunk_size_);
  180|  4.92k|        data_end_ = chunk_;
  181|  4.92k|    }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   57|  4.92k|      : std::basic_istream<CharT>(&nb_)
   58|  4.92k|    {
   59|  4.92k|    }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   43|  4.92k|        null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  193|  4.92k|    {
  194|  4.92k|        if (chunk_)
  ------------------
  |  Branch (194:13): [True: 4.92k, False: 0]
  ------------------
  195|  4.92k|        {
  196|  4.92k|            std::allocator_traits<char_allocator_type>::deallocate(alloc_, chunk_, chunk_size_);
  197|  4.92k|        }
  198|  4.92k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|  4.90k|    {
  282|  4.90k|        return position_;
  283|  4.90k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  4.92k|    {
  277|  4.92k|        return stream_ptr_->bad();  
  278|  4.92k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  377|  82.3M|    {
  378|  82.3M|        std::size_t len = 0;
  379|  82.3M|        if (remaining_ > 0)
  ------------------
  |  Branch (379:13): [True: 82.3M, False: 10.7k]
  ------------------
  380|  82.3M|        {
  381|  82.3M|            len = (std::min)(remaining_, length);
  382|  82.3M|            std::memcpy(p, data_end_, len*sizeof(value_type));
  383|  82.3M|            data_end_ += len;
  384|  82.3M|            remaining_ -= len;
  385|  82.3M|            position_ += len;
  386|  82.3M|        }
  387|  82.3M|        if (length - len == 0)
  ------------------
  |  Branch (387:13): [True: 82.3M, False: 12.4k]
  ------------------
  388|  82.3M|        {
  389|  82.3M|            return len;
  390|  82.3M|        }
  391|  12.4k|        else if (length - len < chunk_size_)
  ------------------
  |  Branch (391:18): [True: 12.4k, False: 0]
  ------------------
  392|  12.4k|        {
  393|  12.4k|            data_end_ = chunk_;
  394|  12.4k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  395|  12.4k|            if (remaining_ > 0)
  ------------------
  |  Branch (395:17): [True: 10.7k, False: 1.66k]
  ------------------
  396|  10.7k|            {
  397|  10.7k|                std::size_t len2 = (std::min)(remaining_, length-len);
  398|  10.7k|                std::memcpy(p+len, data_end_, len2*sizeof(value_type));
  399|  10.7k|                data_end_ += len2;
  400|  10.7k|                remaining_ -= len2;
  401|  10.7k|                position_ += len2;
  402|  10.7k|                len += len2;
  403|  10.7k|            }
  404|  12.4k|            return len;
  405|  12.4k|        }
  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|  82.3M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  442|  13.3k|    {
  443|  13.3k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (443:13): [True: 1.68k, False: 11.6k]
  ------------------
  444|  1.68k|        {
  445|  1.68k|            return 0;
  446|  1.68k|        }
  447|       |
  448|  11.6k|        JSONCONS_TRY
  ------------------
  |  |   37|  11.6k|    #define JSONCONS_TRY try
  ------------------
  449|  11.6k|        {
  450|  11.6k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  451|  11.6k|            std::size_t length = static_cast<std::size_t>(count);
  452|       |
  453|  11.6k|            if (length < chunk_size)
  ------------------
  |  Branch (453:17): [True: 4.90k, False: 6.77k]
  ------------------
  454|  4.90k|            {
  455|  4.90k|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  456|  4.90k|            }
  457|  11.6k|            return length;
  458|  11.6k|        }
  459|  11.6k|        JSONCONS_CATCH(const std::exception&)     
  460|  11.6k|        {
  461|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  462|      0|            return 0;
  463|      0|        }
  464|  11.6k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_12basic_stringIcNS1_11char_traitsIcEENS2_IcEEEEEENS_6detail4spanIKhLm18446744073709551615EEEmOT_:
  352|  5.65k|    {
  353|  5.65k|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   78|  5.65k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.14k, False: 4.50k]
  |  |  ------------------
  ------------------
  354|  1.14k|        {
  355|  1.14k|            return span<const value_type>{};
  356|  1.14k|        }
  357|  4.50k|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 140, False: 4.36k]
  |  Branch (357:32): [True: 33, False: 107]
  ------------------
  358|     33|        {
  359|     33|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|     33|            data_end_ = chunk_;
  361|     33|        }
  362|  4.50k|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 423, False: 4.08k]
  ------------------
  363|    423|        {
  364|    423|            buffer.clear();
  365|    423|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    423|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    423|        }
  368|       |
  369|  4.08k|        const value_type* data = data_end_;
  370|  4.08k|        data_end_ += length;
  371|  4.08k|        remaining_ -= length;
  372|  4.08k|        position_ += length;
  373|  4.08k|        return span<const value_type>(data, length);
  374|  4.50k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_12basic_stringIcNS2_11char_traitsIcEENS3_IcEEEEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSG_m:
  746|    423|    {
  747|    423|        std::size_t unread = length;
  748|       |
  749|  1.46k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 1.27k, False: 193]
  |  Branch (749:30): [True: 1.04k, False: 230]
  ------------------
  750|  1.04k|        {
  751|  1.04k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 436, False: 608]
  |  Branch (751:44): [True: 435, False: 1]
  ------------------
  752|    435|            {
  753|    435|                std::size_t n = source.chunk_size();
  754|    435|                std::size_t offset = buffer.size();
  755|    435|                buffer.resize(offset+n);
  756|    435|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|    435|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|    435|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 54, False: 381]
  |  |  ------------------
  ------------------
  758|     54|                {
  759|     54|                    buffer.resize(offset+actual);
  760|     54|                }
  761|    435|                unread -= actual;
  762|    435|            }
  763|    609|            else
  764|    609|            {
  765|    609|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|    609|                std::size_t offset = buffer.size();
  767|    609|                buffer.resize(offset+n);
  768|    609|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|    609|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|    609|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 104, False: 505]
  |  |  ------------------
  ------------------
  770|    104|                {
  771|    104|                    buffer.resize(offset + actual);
  772|    104|                }
  773|    609|                unread -= actual;
  774|    609|            }
  775|  1.04k|        }
  776|    423|        return length - unread;
  777|    423|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  3.17k|    {
  272|  3.17k|        return remaining_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 1.38k, False: 1.78k]
  |  Branch (272:35): [True: 555, False: 829]
  ------------------
  273|  3.17k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9remainingEv:
  346|  2.61k|    {
  347|  2.61k|        return remaining_;
  348|  2.61k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|  3.44k|    {
  262|  3.44k|        return chunk_size_;
  263|  3.44k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11read_bufferEPhm:
  435|    822|    {
  436|    822|        auto len = fill_buffer(chunk, chunk_size);
  437|    822|        position_ += len;
  438|    822|        return len;
  439|    822|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_6vectorIhS3_EEEENS_6detail4spanIKhLm18446744073709551615EEEmOT_:
  352|  72.1k|    {
  353|  72.1k|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   78|  72.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 30.9k, False: 41.1k]
  |  |  ------------------
  ------------------
  354|  30.9k|        {
  355|  30.9k|            return span<const value_type>{};
  356|  30.9k|        }
  357|  41.1k|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 192, False: 40.9k]
  |  Branch (357:32): [True: 74, False: 118]
  ------------------
  358|     74|        {
  359|     74|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|     74|            data_end_ = chunk_;
  361|     74|        }
  362|  41.1k|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 606, False: 40.5k]
  ------------------
  363|    606|        {
  364|    606|            buffer.clear();
  365|    606|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    606|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    606|        }
  368|       |
  369|  40.5k|        const value_type* data = data_end_;
  370|  40.5k|        data_end_ += length;
  371|  40.5k|        remaining_ -= length;
  372|  40.5k|        position_ += length;
  373|  40.5k|        return span<const value_type>(data, length);
  374|  41.1k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSD_m:
  746|    606|    {
  747|    606|        std::size_t unread = length;
  748|       |
  749|  2.17k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (749:16): [True: 1.89k, False: 281]
  |  Branch (749:30): [True: 1.57k, False: 325]
  ------------------
  750|  1.57k|        {
  751|  1.57k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (751:17): [True: 393, False: 1.18k]
  |  Branch (751:44): [True: 387, False: 6]
  ------------------
  752|    387|            {
  753|    387|                std::size_t n = source.chunk_size();
  754|    387|                std::size_t offset = buffer.size();
  755|    387|                buffer.resize(offset+n);
  756|    387|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  757|    387|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|    387|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 62, False: 325]
  |  |  ------------------
  ------------------
  758|     62|                {
  759|     62|                    buffer.resize(offset+actual);
  760|     62|                }
  761|    387|                unread -= actual;
  762|    387|            }
  763|  1.18k|            else
  764|  1.18k|            {
  765|  1.18k|                std::size_t n = (std::min)(source.chunk_size(), unread);
  766|  1.18k|                std::size_t offset = buffer.size();
  767|  1.18k|                buffer.resize(offset+n);
  768|  1.18k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  769|  1.18k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   78|  1.18k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 193, False: 993]
  |  |  ------------------
  ------------------
  770|    193|                {
  771|    193|                    buffer.resize(offset + actual);
  772|    193|                }
  773|  1.18k|                unread -= actual;
  774|  1.18k|            }
  775|  1.57k|        }
  776|    606|        return length - unread;
  777|    606|    }

_ZN8jsoncons6binary16little_to_nativeIiNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|   275k|    {
  198|   275k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 275k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|   275k|        T val;
  203|   275k|        std::memcpy(&val,first,sizeof(T));
  204|   275k|        return val;
  205|   275k|    }
_ZN8jsoncons6binary16little_to_nativeIdNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|  19.2k|    {
  198|  19.2k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 19.2k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|  19.2k|        T val;
  203|  19.2k|        std::memcpy(&val,first,sizeof(T));
  204|  19.2k|        return val;
  205|  19.2k|    }
_ZN8jsoncons6binary16little_to_nativeImNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|  39.9k|    {
  198|  39.9k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 39.9k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|  39.9k|        T val;
  203|  39.9k|        std::memcpy(&val,first,sizeof(T));
  204|  39.9k|        return val;
  205|  39.9k|    }
_ZN8jsoncons6binary16little_to_nativeIlNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|  17.2k|    {
  198|  17.2k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 17.2k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|  17.2k|        T val;
  203|  17.2k|        std::memcpy(&val,first,sizeof(T));
  204|  17.2k|        return val;
  205|  17.2k|    }

_ZNK8jsoncons16byte_string_view4dataEv:
  399|   215k|        {
  400|   215k|            return data_;
  401|   215k|        }
_ZNK8jsoncons16byte_string_view4sizeEv:
  403|   215k|        {
  404|   215k|            return size_;
  405|   215k|        }
_ZN8jsoncons16byte_string_viewC2EPKhm:
  362|   215k|            : data_(data), size_(length)
  363|   215k|        {
  364|   215k|        }

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  45.4k|    {       
  242|  45.4k|        return (ptr);
  243|  45.4k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|  71.8k|    {       
  242|  71.8k|        return (ptr);
  243|  71.8k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  91.6k|    {       
  242|  91.6k|        return (ptr);
  243|  91.6k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  77.6k|    {       
  242|  77.6k|        return (ptr);
  243|  77.6k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|   117k|    {       
  242|   117k|        return (ptr);
  243|   117k|    }  

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  12.1M|    {
 1148|  12.1M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  12.1M|        const uint8_t* end = it + length;
 1150|       |
 1151|  12.1M|        unicode_errc  result{};
 1152|  16.0M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 3.84M, False: 12.1M]
  ------------------
 1153|  3.84M|        {
 1154|  3.84M|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 3.04M, False: 806k]
  ------------------
 1155|  3.04M|            {
 1156|  21.2M|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  281|  6.08M|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (281:32): [True: 3.03M, False: 4.96k]
  |  |  |  Branch (281:34): [True: 3.03M, False: 1.61k]
  |  |  |  Branch (281:36): [True: 3.03M, False: 1.96k]
  |  |  |  Branch (281:38): [True: 3.03M, False: 1.79k]
  |  |  |  Branch (281:40): [True: 3.03M, False: 2.20k]
  |  |  |  Branch (281:42): [True: 3.02M, False: 2.63k]
  |  |  |  Branch (281:44): [True: 3.02M, False: 1.51k]
  |  |  |  Branch (281:46): [True: 3.02M, False: 2.49k]
  |  |  ------------------
  ------------------
 1157|  3.02M|                continue;
 1158|  21.2M|            }
 1159|   826k|    non_ascii:
 1160|   826k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|   826k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 40, False: 825k]
  ------------------
 1162|     40|            {
 1163|     40|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     40|            }
 1165|   825k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 154, False: 825k]
  ------------------
 1166|    154|            {
 1167|    154|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    154|            }
 1169|   825k|            it += len;
 1170|   825k|        }
 1171|  12.1M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  12.1M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|   825k|    {
  306|   825k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|   825k|        const uint8_t* end = it+length;
  308|       |
  309|   825k|        uint8_t byte;
  310|   825k|        switch (length) {
  311|     31|        default:
  ------------------
  |  Branch (311:9): [True: 31, False: 825k]
  ------------------
  312|     31|            return unicode_errc::over_long_utf8_sequence;
  313|  5.24k|        case 4:
  ------------------
  |  Branch (313:9): [True: 5.24k, False: 820k]
  ------------------
  314|  5.24k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 12, False: 5.23k]
  ------------------
  315|     12|                return unicode_errc::bad_continuation_byte;
  316|  5.23k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  5.23k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  12.5k|        case 3:
  ------------------
  |  Branch (317:9): [True: 7.29k, False: 818k]
  ------------------
  318|  12.5k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 10, False: 12.5k]
  ------------------
  319|     10|                return unicode_errc::bad_continuation_byte;
  320|  12.5k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  12.5k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  19.6k|        case 2:
  ------------------
  |  Branch (321:9): [True: 7.11k, False: 818k]
  ------------------
  322|  19.6k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 36, False: 19.5k]
  ------------------
  323|     36|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  19.5k|            switch (*it) 
  326|  19.5k|            {
  327|       |                // no fall-through in this inner switch
  328|  1.41k|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 1.41k, False: 18.1k]
  |  Branch (328:32): [True: 7, False: 1.41k]
  ------------------
  329|  1.43k|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 1.43k, False: 18.1k]
  |  Branch (329:32): [True: 1, False: 1.43k]
  ------------------
  330|  1.43k|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 369, False: 19.2k]
  |  Branch (330:32): [True: 5, False: 364]
  ------------------
  331|    909|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 909, False: 18.6k]
  |  Branch (331:32): [True: 3, False: 906]
  ------------------
  332|  15.4k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 15.4k, False: 4.13k]
  |  Branch (332:32): [True: 0, False: 15.4k]
  ------------------
  333|  19.5k|            }
  334|       |
  335|  19.5k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  19.5k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|   825k|        case 1:
  ------------------
  |  Branch (336:9): [True: 806k, False: 19.6k]
  ------------------
  337|   825k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 19.6k, False: 806k]
  |  Branch (337:32): [True: 48, False: 19.5k]
  ------------------
  338|     48|                return unicode_errc::source_illegal;
  339|   825k|            break;
  340|   825k|        }
  341|   825k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 1, False: 825k]
  ------------------
  342|      1|            return unicode_errc::source_illegal;
  343|       |
  344|   825k|        return unicode_errc();
  345|   825k|    }

_ZN8jsoncons12from_integerIiNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  9.92k|{
   43|  9.92k|    using char_type = typename Result::value_type;
   44|       |
   45|  9.92k|    char_type buf[255];
   46|  9.92k|    char_type *p = buf;
   47|  9.92k|    const char_type* last = buf+255;
   48|       |
   49|  9.92k|    bool is_negative = value < 0;
   50|       |
   51|  9.92k|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 8.05k, False: 1.87k]
  ------------------
   52|  8.05k|    {
   53|  8.05k|        do
   54|  31.9k|        {
   55|  31.9k|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  31.9k|        }
   57|  31.9k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 23.8k, False: 8.05k]
  |  Branch (57:33): [True: 23.8k, False: 0]
  ------------------
   58|  8.05k|    }
   59|  1.87k|    else
   60|  1.87k|    {
   61|       |
   62|  1.87k|        do
   63|  7.27k|        {
   64|  7.27k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  7.27k|        }
   66|  7.27k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 5.40k, False: 1.87k]
  |  Branch (66:33): [True: 5.40k, False: 0]
  ------------------
   67|  1.87k|    }
   68|  9.92k|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  9.92k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 9.92k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  9.92k|    std::size_t count = (p - buf);
   71|  9.92k|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 8.05k, False: 1.87k]
  ------------------
   72|  8.05k|    {
   73|  8.05k|        result.push_back('-');
   74|  8.05k|        ++count;
   75|  8.05k|    }
   76|  49.1k|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 39.2k, False: 9.92k]
  ------------------
   77|  39.2k|    {
   78|  39.2k|        result.push_back(*p);
   79|  39.2k|    }
   80|       |
   81|  9.92k|    return count;
   82|  9.92k|}

_ZN8jsoncons4bson3TP1C2Ev:
   78|  11.9k|        constexpr TP1() : low(0), high(0) {}
_ZN8jsoncons4bson19decimal128_to_charsEPcS1_RKNS0_3TP1E:
  335|  11.9k|    {
  336|  11.9k|        static const std::string bson_decimal128_inf = "Infinity";
  337|  11.9k|        static const std::string bson_decimal128_nan = "NaN";
  338|       |
  339|  11.9k|        static constexpr uint32_t combination_mask = 0x1f;   /* Extract least significant 5 bits */
  340|  11.9k|        static constexpr uint32_t exponent_mask = 0x3fff;    /* Extract least significant 14 bits */
  341|  11.9k|        static constexpr uint32_t combination_infinity = 30; /* Value of combination field for Inf */
  342|  11.9k|        static constexpr uint32_t combination_nan = 31;      /* Value of combination field for NaN */
  343|  11.9k|        static constexpr uint32_t exponent_bias = 6176;      /* decimal128 exponent bias */
  344|       |
  345|  11.9k|        char* str_out = first;      /* output pointer in string */
  346|  11.9k|        char significand_str[35]; /* decoded significand digits */
  347|       |
  348|       |        /* Note: bits in this routine are referred to starting at 0, */
  349|       |        /* from the sign bit, towards the coefficient. */
  350|  11.9k|        uint32_t high;                   /* bits 0 - 31 */
  351|  11.9k|        uint32_t midh;                   /* bits 32 - 63 */
  352|  11.9k|        uint32_t midl;                   /* bits 64 - 95 */
  353|  11.9k|        uint32_t low;                    /* bits 96 - 127 */
  354|  11.9k|        uint32_t combination;            /* bits 1 - 5 */
  355|  11.9k|        uint32_t biased_exponent;        /* decoded biased exponent (14 bits) */
  356|  11.9k|        uint32_t significand_digits = 0; /* the number of significand digits */
  357|  11.9k|        uint32_t significand[36] = {0};  /* the base-10 digits in the significand */
  358|  11.9k|        uint32_t *significand_read = significand; /* read pointer into significand */
  359|  11.9k|        int32_t exponent;                         /* unbiased exponent */
  360|  11.9k|        int32_t scientific_exponent; /* the exponent if scientific notation is
  361|       |                                      * used */
  362|  11.9k|        bool is_zero = false;        /* true if the number is zero */
  363|       | 
  364|  11.9k|        uint8_t significand_msb; /* the most signifcant significand bits (50-46) */
  365|  11.9k|        bson_uint128_t
  366|  11.9k|           significand128; /* temporary storage for significand decoding */
  367|       | 
  368|  11.9k|        memset (significand_str, 0, sizeof (significand_str));
  369|       | 
  370|  11.9k|        if ((int64_t) dec.high < 0) { /* negative */
  ------------------
  |  Branch (370:13): [True: 2.20k, False: 9.74k]
  ------------------
  371|  2.20k|           *(str_out++) = '-';
  372|  2.20k|        }
  373|       | 
  374|  11.9k|        low = (uint32_t) dec.low, midl = (uint32_t) (dec.low >> 32),
  375|  11.9k|        midh = (uint32_t) dec.high, high = (uint32_t) (dec.high >> 32);
  376|       | 
  377|       |        /* Decode combination field and exponent */
  378|  11.9k|        combination = (high >> 26) & combination_mask;
  379|       | 
  380|  11.9k|        if (JSONCONS_UNLIKELY ((combination >> 3) == 3)) {
  ------------------
  |  |   78|  11.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2.65k, False: 9.29k]
  |  |  ------------------
  ------------------
  381|       |           /* Check for 'special' values */
  382|  2.65k|           if (combination == combination_infinity) { /* Infinity */
  ------------------
  |  Branch (382:16): [True: 200, False: 2.45k]
  ------------------
  383|    200|               if (last-str_out >= static_cast<ptrdiff_t >(bson_decimal128_inf.size())) 
  ------------------
  |  Branch (383:20): [True: 200, False: 0]
  ------------------
  384|    200|               {
  385|    200|                   std::memcpy(str_out, bson_decimal128_inf.data(), bson_decimal128_inf.size());
  386|    200|                   str_out += bson_decimal128_inf.size();
  387|    200|               }
  388|    200|               *str_out = 0;
  389|       |              //strcpy_s (str_out, last-str_out, bson_decimal128_inf.c_str());
  390|    200|              return decimal128_to_chars_result{str_out, std::errc{}};
  391|  2.45k|           } else if (combination == combination_nan) { /* NaN */
  ------------------
  |  Branch (391:23): [True: 972, False: 1.48k]
  ------------------
  392|       |               /* first, not str_out, to erase the sign */
  393|    972|               str_out = first;
  394|    972|               if (last-str_out >= static_cast<ptrdiff_t >(bson_decimal128_nan.size())) 
  ------------------
  |  Branch (394:20): [True: 972, False: 0]
  ------------------
  395|    972|               {
  396|    972|                   std::memcpy(str_out, bson_decimal128_nan.data(), bson_decimal128_nan.size());
  397|    972|                   str_out += bson_decimal128_nan.size();
  398|    972|               }
  399|    972|               *str_out = 0;
  400|       |              //strcpy_s (first, last-first, bson_decimal128_nan.c_str());
  401|       |              /* we don't care about the NaN payload. */
  402|    972|               return decimal128_to_chars_result{str_out, std::errc{}};
  403|  1.48k|           } else {
  404|  1.48k|              biased_exponent = (high >> 15) & exponent_mask;
  405|  1.48k|              significand_msb = 0x8 + ((high >> 14) & 0x1);
  406|  1.48k|           }
  407|  9.29k|        } else {
  408|  9.29k|           significand_msb = (high >> 14) & 0x7;
  409|  9.29k|           biased_exponent = (high >> 17) & exponent_mask;
  410|  9.29k|        }
  411|       | 
  412|  10.7k|        exponent = biased_exponent - exponent_bias;
  413|       |        /* Create string of significand digits */
  414|       | 
  415|       |        /* Convert the 114-bit binary number represented by */
  416|       |        /* (high, midh, midl, low) to at most 34 decimal */
  417|       |        /* digits through modulo and division. */
  418|  10.7k|        significand128.parts[0] = (high & 0x3fff) + ((significand_msb & 0xf) << 14);
  419|  10.7k|        significand128.parts[1] = midh;
  420|  10.7k|        significand128.parts[2] = midl;
  421|  10.7k|        significand128.parts[3] = low;
  422|       | 
  423|  10.7k|        if (significand128.parts[0] == 0 && significand128.parts[1] == 0 &&
  ------------------
  |  Branch (423:13): [True: 3.52k, False: 7.25k]
  |  Branch (423:45): [True: 1.73k, False: 1.78k]
  ------------------
  424|  1.73k|            significand128.parts[2] == 0 && significand128.parts[3] == 0) {
  ------------------
  |  Branch (424:13): [True: 1.40k, False: 332]
  |  Branch (424:45): [True: 850, False: 557]
  ------------------
  425|    850|           is_zero = true;
  426|  9.92k|        } else if (significand128.parts[0] >= (1 << 17)) {
  ------------------
  |  Branch (426:20): [True: 1.48k, False: 8.44k]
  ------------------
  427|       |           /* The significand is non-canonical or zero.
  428|       |            * In order to preserve compatibility with the densely packed decimal
  429|       |            * format, the maximum value for the significand of decimal128 is
  430|       |            * 1e34 - 1.  If the value is greater than 1e34 - 1, the IEEE 754
  431|       |            * standard dictates that the significand is interpreted as zero.
  432|       |            */
  433|  1.48k|           is_zero = true;
  434|  8.44k|        } else {
  435|  42.2k|           for (int k = 3; k >= 0; k--) {
  ------------------
  |  Branch (435:28): [True: 33.7k, False: 8.44k]
  ------------------
  436|  33.7k|              uint32_t least_digits = 0;
  437|  33.7k|              detail::bson_uint128_divide1B (
  438|  33.7k|                 significand128, &significand128, &least_digits);
  439|       | 
  440|       |              /* We now have the 9 least significant digits (in base 2). */
  441|       |              /* Convert and output to string. */
  442|  33.7k|              if (!least_digits) {
  ------------------
  |  Branch (442:19): [True: 2.07k, False: 31.7k]
  ------------------
  443|  2.07k|                 continue;
  444|  2.07k|              }
  445|       | 
  446|   317k|              for (int j = 8; j >= 0; j--) {
  ------------------
  |  Branch (446:31): [True: 285k, False: 31.7k]
  ------------------
  447|   285k|                 significand[k * 9 + j] = least_digits % 10;
  448|   285k|                 least_digits /= 10;
  449|   285k|              }
  450|  31.7k|           }
  451|  8.44k|        }
  452|       | 
  453|       |        /* Output format options: */
  454|       |        /* Scientific - [-]d.dddE(+/-)dd or [-]dE(+/-)dd */
  455|       |        /* Regular    - ddd.ddd */
  456|       | 
  457|  10.7k|        if (is_zero) {
  ------------------
  |  Branch (457:13): [True: 2.33k, False: 8.44k]
  ------------------
  458|  2.33k|           significand_digits = 1;
  459|  2.33k|           *significand_read = 0;
  460|  8.44k|        } else {
  461|  8.44k|           significand_digits = 36;
  462|  60.6k|           while (!(*significand_read)) {
  ------------------
  |  Branch (462:19): [True: 52.2k, False: 8.44k]
  ------------------
  463|  52.2k|              significand_digits--;
  464|  52.2k|              significand_read++;
  465|  52.2k|           }
  466|  8.44k|        }
  467|       | 
  468|  10.7k|        scientific_exponent = significand_digits - 1 + exponent;
  469|       | 
  470|       |        /* The scientific exponent checks are dictated by the string conversion
  471|       |         * specification and are somewhat arbitrary cutoffs.
  472|       |         *
  473|       |         * We must check exponent > 0, because if this is the case, the number
  474|       |         * has trailing zeros.  However, we *cannot* output these trailing zeros,
  475|       |         * because doing so would change the precision of the value, and would
  476|       |         * change stored data if the string converted number is round tripped.
  477|       |         */
  478|  10.7k|        if (scientific_exponent < -6 || exponent > 0) {
  ------------------
  |  Branch (478:13): [True: 8.05k, False: 2.72k]
  |  Branch (478:41): [True: 1.87k, False: 853]
  ------------------
  479|       |           /* Scientific format */
  480|  9.92k|           *(str_out++) = char(*(significand_read++)) + '0';
  481|  9.92k|           significand_digits--;
  482|       | 
  483|  9.92k|           if (significand_digits) {
  ------------------
  |  Branch (483:16): [True: 7.60k, False: 2.32k]
  ------------------
  484|  7.60k|              *(str_out++) = '.';
  485|  7.60k|           }
  486|       | 
  487|   228k|           for (std::size_t i = 0; i < significand_digits && (str_out - first) < 36; i++) {
  ------------------
  |  Branch (487:36): [True: 218k, False: 9.91k]
  |  Branch (487:62): [True: 218k, False: 4]
  ------------------
  488|   218k|              *(str_out++) = char(*(significand_read++)) + '0';
  489|   218k|           }
  490|       |           /* Exponent */
  491|  9.92k|           *(str_out++) = 'E';
  492|       |
  493|  9.92k|           std::string s;
  494|  9.92k|           if (scientific_exponent >= 0) {
  ------------------
  |  Branch (494:16): [True: 1.87k, False: 8.05k]
  ------------------
  495|  1.87k|               s.push_back('+');
  496|  1.87k|           }
  497|  9.92k|           jsoncons::from_integer(scientific_exponent, s);
  498|  9.92k|           if (str_out + s.size() < last) 
  ------------------
  |  Branch (498:16): [True: 9.02k, False: 895]
  ------------------
  499|  9.02k|           {
  500|  9.02k|               std::memcpy(str_out, s.data(), s.size());
  501|  9.02k|           }
  502|    895|           else
  503|    895|           {
  504|    895|               return decimal128_to_chars_result{str_out, std::errc::value_too_large};
  505|    895|           }
  506|  9.02k|           str_out += s.size();
  507|  9.02k|        } else {
  508|       |           /* Regular format with no decimal place */
  509|    853|           if (exponent >= 0) {
  ------------------
  |  Branch (509:16): [True: 343, False: 510]
  ------------------
  510|  9.36k|              for (std::size_t i = 0; i < significand_digits && (str_out - first) < 36; i++) {
  ------------------
  |  Branch (510:39): [True: 9.02k, False: 343]
  |  Branch (510:65): [True: 9.02k, False: 0]
  ------------------
  511|  9.02k|                 *(str_out++) = char(*(significand_read++)) + '0';
  512|  9.02k|              }
  513|    510|           } else {
  514|    510|              int32_t radix_position = significand_digits + exponent;
  515|       | 
  516|    510|              if (radix_position > 0) { /* non-zero digits before radix */
  ------------------
  |  Branch (516:19): [True: 294, False: 216]
  ------------------
  517|    294|                 for (int32_t i = 0;
  518|  1.70k|                      i < radix_position && (str_out < last);
  ------------------
  |  Branch (518:23): [True: 1.41k, False: 294]
  |  Branch (518:45): [True: 1.41k, False: 0]
  ------------------
  519|  1.41k|                      i++) {
  520|  1.41k|                    *(str_out++) = char(*(significand_read++)) + '0';
  521|  1.41k|                 }
  522|    294|              } else { /* leading zero before radix point */
  523|    216|                 *(str_out++) = '0';
  524|    216|              }
  525|       | 
  526|    510|              *(str_out++) = '.';
  527|  1.18k|              while (radix_position++ < 0) { /* add leading zeros after radix */
  ------------------
  |  Branch (527:22): [True: 671, False: 510]
  ------------------
  528|    671|                 *(str_out++) = '0';
  529|    671|              }
  530|       | 
  531|    510|              for (std::size_t i = 0;
  532|  15.2k|                   (i < significand_digits - (std::max) (radix_position - 1, 0)) &&
  ------------------
  |  Branch (532:20): [True: 14.7k, False: 493]
  |  Branch (532:20): [True: 14.7k, False: 510]
  ------------------
  533|  14.7k|                   (str_out < last);
  ------------------
  |  Branch (533:20): [True: 14.7k, False: 17]
  ------------------
  534|  14.7k|                   i++) {
  535|  14.7k|                 *(str_out++) = char(*(significand_read++)) + '0';
  536|  14.7k|              }
  537|    510|           }
  538|    853|        }
  539|  9.88k|        return decimal128_to_chars_result{str_out, std::errc{}};
  540|  10.7k|    }
_ZN8jsoncons4bson6detail21bson_uint128_divide1BENS0_14bson_uint128_tEPS2_Pj:
  178|  33.7k|        {
  179|  33.7k|            static constexpr uint32_t DIVISOR = 1000 * 1000 * 1000;
  180|  33.7k|            uint64_t _rem = 0;
  181|  33.7k|            int i = 0;
  182|       |            
  183|  33.7k|            if (!value.parts[0] && !value.parts[1] && !value.parts[2] &&
  ------------------
  |  Branch (183:17): [True: 28.0k, False: 5.77k]
  |  Branch (183:36): [True: 19.9k, False: 8.03k]
  |  Branch (183:55): [True: 10.8k, False: 9.07k]
  ------------------
  184|  10.8k|                !value.parts[3]) {
  ------------------
  |  Branch (184:17): [True: 2.07k, False: 8.81k]
  ------------------
  185|  2.07k|               *quotient = value;
  186|  2.07k|               *rem = 0;
  187|  2.07k|               return;
  188|  2.07k|            }
  189|       |            
  190|   158k|            for (i = 0; i <= 3; i++) {
  ------------------
  |  Branch (190:25): [True: 126k, False: 31.7k]
  ------------------
  191|   126k|               _rem <<= 32; /* Adjust remainder to match value of next dividend */
  192|   126k|               _rem += value.parts[i]; /* Add the divided to _rem */
  193|   126k|               value.parts[i] = (uint32_t) (_rem / DIVISOR);
  194|   126k|               _rem %= DIVISOR; /* Store the remainder */
  195|   126k|            }
  196|       |            
  197|  31.7k|            *quotient = value;
  198|  31.7k|            *rem = (uint32_t) _rem;
  199|  31.7k|        }

_ZN8jsoncons4bson15make_error_codeENS0_9bson_errcE:
   91|  4.98k|{
   92|  4.98k|    return std::error_code(static_cast<int>(result),bson_error_category());
   93|  4.98k|}
_ZN8jsoncons4bson19bson_error_categoryEv:
   84|  4.98k|{
   85|  4.98k|  static bson_error_category_impl instance;
   86|  4.98k|  return instance;
   87|  4.98k|}
_ZNK8jsoncons4bson24bson_error_category_impl7messageEi:
   45|  4.90k|    {
   46|  4.90k|        switch (static_cast<bson_errc>(ev))
   47|  4.90k|        {
   48|  1.86k|            case bson_errc::unexpected_eof:
  ------------------
  |  Branch (48:13): [True: 1.86k, False: 3.04k]
  ------------------
   49|  1.86k|                return "Unexpected end of file";
   50|      0|            case bson_errc::source_error:
  ------------------
  |  Branch (50:13): [True: 0, False: 4.90k]
  ------------------
   51|      0|                return "Source error";
   52|    194|            case bson_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (52:13): [True: 194, False: 4.71k]
  ------------------
   53|    194|                return "Illegal UTF-8 encoding in text string";
   54|      2|            case bson_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (54:13): [True: 2, False: 4.90k]
  ------------------
   55|      2|                return "Data item nesting exceeds limit in options";
   56|     32|            case bson_errc::string_length_is_non_positive:
  ------------------
  |  Branch (56:13): [True: 32, False: 4.87k]
  ------------------
   57|     32|                return "Request for the length of a string returned a non-positive result";
   58|     35|            case bson_errc::length_is_negative:
  ------------------
  |  Branch (58:13): [True: 35, False: 4.87k]
  ------------------
   59|     35|                return "Request for the length of a binary returned a negative result";
   60|    114|            case bson_errc::unknown_type:
  ------------------
  |  Branch (60:13): [True: 114, False: 4.79k]
  ------------------
   61|    114|                return "Unknown type in input";
   62|      0|            case bson_errc::number_too_large:
  ------------------
  |  Branch (62:13): [True: 0, False: 4.90k]
  ------------------
   63|      0|                return "Number too large";
   64|      0|            case bson_errc::invalid_decimal128_string:
  ------------------
  |  Branch (64:13): [True: 0, False: 4.90k]
  ------------------
   65|      0|                return "Invalid decimal128 string";
   66|      0|            case bson_errc::datetime_too_large:
  ------------------
  |  Branch (66:13): [True: 0, False: 4.90k]
  ------------------
   67|      0|                return "datetime too large";
   68|      0|            case bson_errc::datetime_too_small:
  ------------------
  |  Branch (68:13): [True: 0, False: 4.90k]
  ------------------
   69|      0|                return "datetime too small";
   70|      0|            case bson_errc::expected_bson_document:
  ------------------
  |  Branch (70:13): [True: 0, False: 4.90k]
  ------------------
   71|      0|                return "Expected BSON document";
   72|      0|            case bson_errc::invalid_regex_string:
  ------------------
  |  Branch (72:13): [True: 0, False: 4.90k]
  ------------------
   73|      0|                return "Invalid regex string";
   74|  2.66k|            case bson_errc::size_mismatch:
  ------------------
  |  Branch (74:13): [True: 2.66k, False: 2.23k]
  ------------------
   75|  2.66k|                return "Document or array size doesn't match bytes read";
   76|      0|            default:
  ------------------
  |  Branch (76:13): [True: 0, False: 4.90k]
  ------------------
   77|      0|                return "Unknown BSON parser error";
   78|  4.90k|        }
   79|  4.90k|    }

_ZN8jsoncons4bson5oid_tC2EPh:
   53|  4.84k|        {
   54|  4.84k|            std::memcpy(bytes_.data(),data,12);
   55|  4.84k|        }
_ZN8jsoncons4bson9to_stringINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEvRKNS0_5oid_tERT_:
  236|  4.84k|    {
  237|  4.84k|        s.resize(24);
  238|  4.84k|        detail::init_hex_char_pairs(oid, reinterpret_cast<uint16_t*>(&s[0]));
  239|  4.84k|    }
_ZN8jsoncons4bson6detail19init_hex_char_pairsERKNS0_5oid_tEPt:
  213|  4.84k|        {
  214|  4.84k|            const uint8_t* bytes = oid.data();
  215|  4.84k|            const uint16_t* gHexCharPairs = get_hex_char_pairs(std::integral_constant<bool, jsoncons::endian::native == jsoncons::endian::big>());
  216|       |
  217|  4.84k|            data[0] = gHexCharPairs[bytes[0]];
  218|  4.84k|            data[1] = gHexCharPairs[bytes[1]];
  219|  4.84k|            data[2] = gHexCharPairs[bytes[2]];
  220|  4.84k|            data[3] = gHexCharPairs[bytes[3]];
  221|  4.84k|            data[4] = gHexCharPairs[bytes[4]];
  222|  4.84k|            data[5] = gHexCharPairs[bytes[5]];
  223|  4.84k|            data[6] = gHexCharPairs[bytes[6]];
  224|  4.84k|            data[7] = gHexCharPairs[bytes[7]];
  225|  4.84k|            data[8] = gHexCharPairs[bytes[8]];
  226|  4.84k|            data[9] = gHexCharPairs[bytes[9]];
  227|  4.84k|            data[10] = gHexCharPairs[bytes[10]];
  228|  4.84k|            data[11] = gHexCharPairs[bytes[11]];
  229|  4.84k|        }
_ZNK8jsoncons4bson5oid_t4dataEv:
   67|  4.84k|        {
   68|  4.84k|            return bytes_.data();
   69|  4.84k|        }
_ZN8jsoncons4bson6detail18get_hex_char_pairsENSt3__117integral_constantIbLb0EEE:
  181|  4.84k|        {
  182|  4.84k|            static constexpr uint16_t hex_char_pairs[] = {
  183|  4.84k|                12336, 12592, 12848, 13104, 13360, 13616, 13872, 14128, 14384, 14640, 24880,
  184|  4.84k|                25136, 25392, 25648, 25904, 26160, 12337, 12593, 12849, 13105, 13361, 13617,
  185|  4.84k|                13873, 14129, 14385, 14641, 24881, 25137, 25393, 25649, 25905, 26161, 12338,
  186|  4.84k|                12594, 12850, 13106, 13362, 13618, 13874, 14130, 14386, 14642, 24882, 25138,
  187|  4.84k|                25394, 25650, 25906, 26162, 12339, 12595, 12851, 13107, 13363, 13619, 13875,
  188|  4.84k|                14131, 14387, 14643, 24883, 25139, 25395, 25651, 25907, 26163, 12340, 12596,
  189|  4.84k|                12852, 13108, 13364, 13620, 13876, 14132, 14388, 14644, 24884, 25140, 25396,
  190|  4.84k|                25652, 25908, 26164, 12341, 12597, 12853, 13109, 13365, 13621, 13877, 14133,
  191|  4.84k|                14389, 14645, 24885, 25141, 25397, 25653, 25909, 26165, 12342, 12598, 12854,
  192|  4.84k|                13110, 13366, 13622, 13878, 14134, 14390, 14646, 24886, 25142, 25398, 25654,
  193|  4.84k|                25910, 26166, 12343, 12599, 12855, 13111, 13367, 13623, 13879, 14135, 14391,
  194|  4.84k|                14647, 24887, 25143, 25399, 25655, 25911, 26167, 12344, 12600, 12856, 13112,
  195|  4.84k|                13368, 13624, 13880, 14136, 14392, 14648, 24888, 25144, 25400, 25656, 25912,
  196|  4.84k|                26168, 12345, 12601, 12857, 13113, 13369, 13625, 13881, 14137, 14393, 14649,
  197|  4.84k|                24889, 25145, 25401, 25657, 25913, 26169, 12385, 12641, 12897, 13153, 13409,
  198|  4.84k|                13665, 13921, 14177, 14433, 14689, 24929, 25185, 25441, 25697, 25953, 26209,
  199|  4.84k|                12386, 12642, 12898, 13154, 13410, 13666, 13922, 14178, 14434, 14690, 24930,
  200|  4.84k|                25186, 25442, 25698, 25954, 26210, 12387, 12643, 12899, 13155, 13411, 13667,
  201|  4.84k|                13923, 14179, 14435, 14691, 24931, 25187, 25443, 25699, 25955, 26211, 12388,
  202|  4.84k|                12644, 12900, 13156, 13412, 13668, 13924, 14180, 14436, 14692, 24932, 25188,
  203|  4.84k|                25444, 25700, 25956, 26212, 12389, 12645, 12901, 13157, 13413, 13669, 13925,
  204|  4.84k|                14181, 14437, 14693, 24933, 25189, 25445, 25701, 25957, 26213, 12390, 12646,
  205|  4.84k|                12902, 13158, 13414, 13670, 13926, 14182, 14438, 14694, 24934, 25190, 25446,
  206|  4.84k|                25702, 25958, 26214};
  207|       |
  208|  4.84k|            return hex_char_pairs;
  209|  4.84k|        }

_ZNK8jsoncons4bson19bson_options_common17max_nesting_depthEv:
   31|  4.92k|    {
   32|  4.92k|        return max_nesting_depth_;
   33|  4.92k|    }
_ZN8jsoncons4bson19bson_decode_optionsC1Ev:
   40|  4.92k|    bson_decode_options() = default;
_ZN8jsoncons4bson19bson_options_commonC2Ev:
   23|  4.92k|    bson_options_common() = default;
_ZN8jsoncons4bson19bson_options_commonD2Ev:
   25|  4.92k|    virtual ~bson_options_common() = default;

_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_19bson_decode_optionsERKS7_:
   85|  4.92k|       : source_(std::forward<Sourceable>(source)), 
   86|  4.92k|         max_nesting_depth_(options.max_nesting_depth()),
   87|  4.92k|         bytes_buffer_(temp_alloc),
   88|  4.92k|         name_buffer_(temp_alloc),
   89|  4.92k|         text_buffer_(temp_alloc),
   90|  4.92k|         state_stack_(temp_alloc)
   91|  4.92k|    {
   92|  4.92k|        state_stack_.emplace_back(parse_mode::root,0,0);
   93|  4.92k|    }
_ZN8jsoncons4bson11parse_stateC2ENS0_10parse_modeEmmh:
   48|  94.4k|        : mode(mode_), length(length_), pos(pos_), type(type_)
   49|  94.4k|    {
   50|  94.4k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  149|  4.90k|    {
  150|  4.90k|        return 0;
  151|  4.90k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  154|  4.90k|    {
  155|  4.90k|        return source_.position();
  156|  4.90k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
  101|  4.92k|    {
  102|  4.92k|        more_ = true;
  103|  4.92k|        done_ = false;
  104|  4.92k|        bytes_buffer_.clear();
  105|  4.92k|        name_buffer_.clear();
  106|  4.92k|        text_buffer_.clear();
  107|  4.92k|        state_stack_.clear();
  108|  4.92k|        state_stack_.emplace_back(parse_mode::root,0,0);
  109|  4.92k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  169|  4.92k|    {
  170|  4.92k|        if (JSONCONS_UNLIKELY(source_.is_error()))
  ------------------
  |  |   78|  4.92k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 4.92k]
  |  |  ------------------
  ------------------
  171|      0|        {
  172|      0|            ec = bson_errc::source_error;
  173|      0|            more_ = false;
  174|      0|            return;
  175|      0|        }
  176|       |        
  177|  33.4M|        while (!done_ && more_)
  ------------------
  |  Branch (177:16): [True: 33.4M, False: 15]
  |  Branch (177:26): [True: 33.4M, False: 3.93k]
  ------------------
  178|  33.4M|        {
  179|  33.4M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (179:21): [True: 33.4M, False: 0]
  ------------------
  180|  33.4M|            {
  181|  4.92k|                case parse_mode::root:
  ------------------
  |  Branch (181:17): [True: 4.92k, False: 33.4M]
  ------------------
  182|  4.92k|                    state_stack_.back().mode = parse_mode::accept;
  183|  4.92k|                    begin_document(visitor, ec);
  184|  4.92k|                    break;
  185|  12.2M|                case parse_mode::document:
  ------------------
  |  Branch (185:17): [True: 12.2M, False: 21.2M]
  ------------------
  186|  12.2M|                {
  187|  12.2M|                    uint8_t type;
  188|  12.2M|                    std::size_t n = source_.read(&type, 1);
  189|  12.2M|                    state_stack_.back().pos += n;
  190|  12.2M|                    if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   78|  12.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 704, False: 12.2M]
  |  |  ------------------
  ------------------
  191|    704|                    {
  192|    704|                        ec = bson_errc::unexpected_eof;
  193|    704|                        more_ = false;
  194|    704|                        return;
  195|    704|                    }
  196|  12.2M|                    if (type != 0x00)
  ------------------
  |  Branch (196:25): [True: 12.1M, False: 26.6k]
  ------------------
  197|  12.1M|                    {
  198|  12.1M|                        read_e_name(visitor,jsoncons::bson::bson_container_type::document,ec);
  199|  12.1M|                        state_stack_.back().mode = parse_mode::value;
  200|  12.1M|                        state_stack_.back().type = type;
  201|  12.1M|                    }
  202|  26.6k|                    else
  203|  26.6k|                    {
  204|  26.6k|                        end_document(visitor,ec);
  205|  26.6k|                    }
  206|  12.2M|                    break;
  207|  12.2M|                }
  208|  9.04M|                case parse_mode::array:
  ------------------
  |  Branch (208:17): [True: 9.04M, False: 24.4M]
  ------------------
  209|  9.04M|                {
  210|  9.04M|                    uint8_t type;
  211|  9.04M|                    std::size_t n = source_.read(&type, 1);
  212|  9.04M|                    state_stack_.back().pos += n;
  213|  9.04M|                    if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   78|  9.04M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 262, False: 9.04M]
  |  |  ------------------
  ------------------
  214|    262|                    {
  215|    262|                        ec = bson_errc::unexpected_eof;
  216|    262|                        more_ = false;
  217|    262|                        return;
  218|    262|                    }
  219|  9.04M|                    if (type != 0x00)
  ------------------
  |  Branch (219:25): [True: 9.02M, False: 19.4k]
  ------------------
  220|  9.02M|                    {
  221|  9.02M|                        read_e_name(visitor,jsoncons::bson::bson_container_type::array,ec);
  222|  9.02M|                        read_value(visitor, type, ec);
  223|  9.02M|                    }
  224|  19.4k|                    else
  225|  19.4k|                    {
  226|  19.4k|                        end_array(visitor,ec);
  227|  19.4k|                    }
  228|  9.04M|                    break;
  229|  9.04M|                }
  230|  12.1M|                case parse_mode::value:
  ------------------
  |  Branch (230:17): [True: 12.1M, False: 21.2M]
  ------------------
  231|  12.1M|                    state_stack_.back().mode = parse_mode::document;
  232|  12.1M|                    read_value(visitor,state_stack_.back().type,ec);
  233|  12.1M|                    break;
  234|     15|                case parse_mode::accept:
  ------------------
  |  Branch (234:17): [True: 15, False: 33.4M]
  ------------------
  235|     15|                {
  236|     15|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   49|     15|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 15]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  237|     15|                    state_stack_.clear();
  238|     15|                    more_ = false;
  239|     15|                    done_ = true;
  240|     15|                    visitor.flush();
  241|     15|                    break;
  242|     15|                }
  243|  33.4M|            }
  244|  33.4M|        }
  245|  4.92k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE14begin_documentERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  250|  38.8k|    {
  251|  38.8k|        if (JSONCONS_UNLIKELY(static_cast<int>(state_stack_.size()) > max_nesting_depth_))
  ------------------
  |  |   78|  38.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 38.8k]
  |  |  ------------------
  ------------------
  252|      1|        {
  253|      1|            ec = bson_errc::max_nesting_depth_exceeded;
  254|      1|            more_ = false;
  255|      1|            return;
  256|      1|        } 
  257|       |
  258|  38.8k|        uint8_t buf[sizeof(int32_t)]; 
  259|  38.8k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  260|  38.8k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   78|  38.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 33, False: 38.8k]
  |  |  ------------------
  ------------------
  261|     33|        {
  262|     33|            ec = bson_errc::unexpected_eof;
  263|     33|            more_ = false;
  264|     33|            return;
  265|     33|        }
  266|       |
  267|  38.8k|        auto length = binary::little_to_native<int32_t>(buf, sizeof(buf));
  268|       |
  269|  38.8k|        visitor.begin_object(semantic_tag::none, *this, ec);
  270|  38.8k|        more_ = !cursor_mode_;
  271|  38.8k|        state_stack_.emplace_back(parse_mode::document,length,n);
  272|  38.8k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_e_nameERNS_18basic_json_visitorIcEENS0_19bson_container_typeERNS3_10error_codeE:
  344|  21.2M|    {
  345|  21.2M|        name_buffer_.clear();
  346|  21.2M|        read_cstring(name_buffer_, ec);
  347|  21.2M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  21.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 170, False: 21.2M]
  |  |  ------------------
  ------------------
  348|    170|        {
  349|    170|            return;
  350|    170|        }
  351|  21.2M|        if (type == jsoncons::bson::bson_container_type::document)
  ------------------
  |  Branch (351:13): [True: 12.1M, False: 9.02M]
  ------------------
  352|  12.1M|        {
  353|  12.1M|            auto result = unicode_traits::validate(name_buffer_.data(),name_buffer_.size());
  354|  12.1M|            if (JSONCONS_UNLIKELY(result.ec != unicode_traits::unicode_errc()))
  ------------------
  |  |   78|  12.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 185, False: 12.1M]
  |  |  ------------------
  ------------------
  355|    185|            {
  356|    185|                ec = bson_errc::invalid_utf8_text_string;
  357|    185|                more_ = false;
  358|    185|                return;
  359|    185|            }
  360|  12.1M|            visitor.key(jsoncons::basic_string_view<char>(name_buffer_.data(),name_buffer_.length()), *this, ec);
  361|  12.1M|            more_ = !cursor_mode_;
  362|  12.1M|        }
  363|  21.2M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12read_cstringERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
  641|  21.3M|    {
  642|  21.3M|        uint8_t c = 0xff;
  643|  60.6M|        while (true)
  ------------------
  |  Branch (643:16): [True: 60.6M, Folded]
  ------------------
  644|  60.6M|        {
  645|  60.6M|            std::size_t n = source_.read(&c, 1);
  646|  60.6M|            state_stack_.back().pos += n;
  647|  60.6M|            if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   78|  60.6M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 226, False: 60.6M]
  |  |  ------------------
  ------------------
  648|    226|            {
  649|    226|                ec = bson_errc::unexpected_eof;
  650|    226|                more_ = false;
  651|    226|                return;
  652|    226|            }
  653|  60.6M|            if (c == 0)
  ------------------
  |  Branch (653:17): [True: 21.3M, False: 39.3M]
  ------------------
  654|  21.3M|            {
  655|  21.3M|                break;
  656|  21.3M|            }
  657|  39.3M|            buffer.push_back(c);
  658|  39.3M|        }
  659|  21.3M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12end_documentERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  275|  26.6k|    {
  276|  26.6k|        JSONCONS_ASSERT(state_stack_.size() >= 2);
  ------------------
  |  |   49|  26.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 26.6k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  277|       |
  278|  26.6k|        visitor.end_object(*this,ec);
  279|  26.6k|        more_ = !cursor_mode_;
  280|  26.6k|        if (level() == mark_level_)
  ------------------
  |  Branch (280:13): [True: 0, False: 26.6k]
  ------------------
  281|      0|        {
  282|      0|            more_ = false;
  283|      0|        }
  284|  26.6k|        if (JSONCONS_UNLIKELY(state_stack_.back().pos != state_stack_.back().length))
  ------------------
  |  |   78|  26.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2.27k, False: 24.4k]
  |  |  ------------------
  ------------------
  285|  2.27k|        {
  286|  2.27k|            ec = bson_errc::size_mismatch;
  287|  2.27k|            more_ = false;
  288|  2.27k|            return;
  289|  2.27k|        }
  290|  24.4k|        std::size_t pos = state_stack_.back().pos;
  291|  24.4k|        state_stack_.pop_back();
  292|  24.4k|        state_stack_.back().pos += pos;
  293|  24.4k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5levelEv:
  124|  46.1k|    {
  125|  46.1k|        return static_cast<int>(state_stack_.size());
  126|  46.1k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10read_valueERNS_18basic_json_visitorIcEEhRNS3_10error_codeE:
  366|  21.2M|    {
  367|  21.2M|        switch (type)
  368|  21.2M|        {
  369|  19.2k|            case jsoncons::bson::bson_type::double_type:
  ------------------
  |  Branch (369:13): [True: 19.2k, False: 21.1M]
  ------------------
  370|  19.2k|            {
  371|  19.2k|                uint8_t buf[sizeof(double)]; 
  372|  19.2k|                std::size_t n = source_.read(buf, sizeof(double));
  373|  19.2k|                state_stack_.back().pos += n;
  374|  19.2k|                if (JSONCONS_UNLIKELY(n != sizeof(double)))
  ------------------
  |  |   78|  19.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 8, False: 19.2k]
  |  |  ------------------
  ------------------
  375|      8|                {
  376|      8|                    ec = bson_errc::unexpected_eof;
  377|      8|                    more_ = false;
  378|      8|                    return;
  379|      8|                }
  380|  19.2k|                double res = binary::little_to_native<double>(buf, sizeof(buf));
  381|  19.2k|                visitor.double_value(res, semantic_tag::none, *this, ec);
  382|  19.2k|                more_ = !cursor_mode_;
  383|  19.2k|                break;
  384|  19.2k|            }
  385|    312|            case jsoncons::bson::bson_type::symbol_type:
  ------------------
  |  Branch (385:13): [True: 312, False: 21.2M]
  ------------------
  386|    860|            case jsoncons::bson::bson_type::min_key_type:
  ------------------
  |  Branch (386:13): [True: 548, False: 21.2M]
  ------------------
  387|  1.10k|            case jsoncons::bson::bson_type::max_key_type:
  ------------------
  |  Branch (387:13): [True: 247, False: 21.2M]
  ------------------
  388|  4.41k|            case jsoncons::bson::bson_type::string_type:
  ------------------
  |  Branch (388:13): [True: 3.30k, False: 21.2M]
  ------------------
  389|  4.41k|            {
  390|  4.41k|                auto sv = read_string(ec);
  391|  4.41k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.41k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 292, False: 4.12k]
  |  |  ------------------
  ------------------
  392|    292|                {
  393|    292|                    return;
  394|    292|                }
  395|  4.12k|                auto result = unicode_traits::validate(sv.data(), sv.size());
  396|  4.12k|                if (JSONCONS_UNLIKELY(result.ec != unicode_traits::unicode_errc()))
  ------------------
  |  |   78|  4.12k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6, False: 4.11k]
  |  |  ------------------
  ------------------
  397|      6|                {
  398|      6|                    ec = bson_errc::invalid_utf8_text_string;
  399|      6|                    more_ = false;
  400|      6|                    return;
  401|      6|                }
  402|  4.11k|                visitor.string_value(sv, semantic_tag::none, *this, ec);
  403|  4.11k|                more_ = !cursor_mode_;
  404|  4.11k|                break;
  405|  4.12k|            }
  406|  1.32k|            case jsoncons::bson::bson_type::javascript_type:
  ------------------
  |  Branch (406:13): [True: 1.32k, False: 21.2M]
  ------------------
  407|  1.32k|            {
  408|  1.32k|                auto sv = read_string(ec);
  409|  1.32k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  1.32k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 41, False: 1.28k]
  |  |  ------------------
  ------------------
  410|     41|                {
  411|     41|                    return;
  412|     41|                }
  413|  1.28k|                auto result = unicode_traits::validate(sv.data(), sv.size());
  414|  1.28k|                if (JSONCONS_UNLIKELY(result.ec != unicode_traits::unicode_errc()))
  ------------------
  |  |   78|  1.28k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3, False: 1.28k]
  |  |  ------------------
  ------------------
  415|      3|                {
  416|      3|                    ec = bson_errc::invalid_utf8_text_string;
  417|      3|                    more_ = false;
  418|      3|                    return;
  419|      3|                }
  420|  1.28k|                visitor.string_value(sv, semantic_tag::code, *this, ec);
  421|  1.28k|                more_ = !cursor_mode_;
  422|  1.28k|                break;
  423|  1.28k|            }
  424|  52.4k|            case jsoncons::bson::bson_type::regex_type:
  ------------------
  |  Branch (424:13): [True: 52.4k, False: 21.1M]
  ------------------
  425|  52.4k|            {
  426|  52.4k|                text_buffer_.clear();
  427|  52.4k|                text_buffer_.push_back('/');
  428|  52.4k|                read_cstring(text_buffer_, ec);
  429|  52.4k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  52.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 32, False: 52.4k]
  |  |  ------------------
  ------------------
  430|     32|                {
  431|     32|                    return;
  432|     32|                }
  433|  52.4k|                text_buffer_.push_back('/');
  434|  52.4k|                read_cstring(text_buffer_, ec);
  435|  52.4k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  52.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 24, False: 52.3k]
  |  |  ------------------
  ------------------
  436|     24|                {
  437|     24|                    return;
  438|     24|                }
  439|  52.3k|                visitor.string_value(text_buffer_, semantic_tag::regex, *this, ec);
  440|  52.3k|                more_ = !cursor_mode_;
  441|  52.3k|                break;
  442|  52.4k|            }
  443|  33.9k|            case jsoncons::bson::bson_type::document_type: 
  ------------------
  |  Branch (443:13): [True: 33.9k, False: 21.1M]
  ------------------
  444|  33.9k|            {
  445|  33.9k|                begin_document(visitor,ec);
  446|  33.9k|                break;
  447|  52.4k|            }
  448|       |
  449|  45.8k|            case jsoncons::bson::bson_type::array_type: 
  ------------------
  |  Branch (449:13): [True: 45.8k, False: 21.1M]
  ------------------
  450|  45.8k|            {
  451|  45.8k|                begin_array(visitor,ec);
  452|  45.8k|                break;
  453|  52.4k|            }
  454|  4.95k|            case jsoncons::bson::bson_type::undefined_type: 
  ------------------
  |  Branch (454:13): [True: 4.95k, False: 21.2M]
  ------------------
  455|  4.95k|                {
  456|  4.95k|                    visitor.null_value(semantic_tag::undefined, *this, ec);
  457|  4.95k|                    more_ = !cursor_mode_;
  458|  4.95k|                    break;
  459|  52.4k|                }
  460|  20.7M|            case jsoncons::bson::bson_type::null_type: 
  ------------------
  |  Branch (460:13): [True: 20.7M, False: 431k]
  ------------------
  461|  20.7M|            {
  462|  20.7M|                visitor.null_value(semantic_tag::none, *this, ec);
  463|  20.7M|                more_ = !cursor_mode_;
  464|  20.7M|                break;
  465|  52.4k|            }
  466|  34.0k|            case jsoncons::bson::bson_type::bool_type:
  ------------------
  |  Branch (466:13): [True: 34.0k, False: 21.1M]
  ------------------
  467|  34.0k|            {
  468|  34.0k|                uint8_t c;
  469|  34.0k|                std::size_t n = source_.read(&c, 1);
  470|  34.0k|                state_stack_.back().pos += n;
  471|  34.0k|                if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   78|  34.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5, False: 34.0k]
  |  |  ------------------
  ------------------
  472|      5|                {
  473|      5|                    ec = bson_errc::unexpected_eof;
  474|      5|                    more_ = false;
  475|      5|                    return;
  476|      5|                }
  477|  34.0k|                visitor.bool_value(c != 0, semantic_tag::none, *this, ec);
  478|  34.0k|                more_ = !cursor_mode_;
  479|  34.0k|                break;
  480|  34.0k|            }
  481|   113k|            case jsoncons::bson::bson_type::int32_type: 
  ------------------
  |  Branch (481:13): [True: 113k, False: 21.0M]
  ------------------
  482|   113k|            {
  483|   113k|                uint8_t buf[sizeof(int32_t)]; 
  484|   113k|                std::size_t n = source_.read(buf, sizeof(int32_t));
  485|   113k|                state_stack_.back().pos += n;
  486|   113k|                if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   78|   113k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5, False: 113k]
  |  |  ------------------
  ------------------
  487|      5|                {
  488|      5|                    ec = bson_errc::unexpected_eof;
  489|      5|                    more_ = false;
  490|      5|                    return;
  491|      5|                }
  492|   113k|                auto val = binary::little_to_native<int32_t>(buf, sizeof(buf));
  493|   113k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  494|   113k|                more_ = !cursor_mode_;
  495|   113k|                break;
  496|   113k|            }
  497|       |
  498|  16.0k|            case jsoncons::bson::bson_type::timestamp_type: 
  ------------------
  |  Branch (498:13): [True: 16.0k, False: 21.1M]
  ------------------
  499|  16.0k|            {
  500|  16.0k|                uint8_t buf[sizeof(uint64_t)]; 
  501|  16.0k|                std::size_t n = source_.read(buf, sizeof(uint64_t));
  502|  16.0k|                state_stack_.back().pos += n;
  503|  16.0k|                if (JSONCONS_UNLIKELY(n != sizeof(uint64_t)))
  ------------------
  |  |   78|  16.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6, False: 16.0k]
  |  |  ------------------
  ------------------
  504|      6|                {
  505|      6|                    ec = bson_errc::unexpected_eof;
  506|      6|                    more_ = false;
  507|      6|                    return;
  508|      6|                }
  509|  16.0k|                auto val = binary::little_to_native<uint64_t>(buf, sizeof(buf));
  510|  16.0k|                visitor.uint64_value(val, semantic_tag::none, *this, ec);
  511|  16.0k|                more_ = !cursor_mode_;
  512|  16.0k|                break;
  513|  16.0k|            }
  514|       |
  515|  5.76k|            case jsoncons::bson::bson_type::int64_type: 
  ------------------
  |  Branch (515:13): [True: 5.76k, False: 21.2M]
  ------------------
  516|  5.76k|            {
  517|  5.76k|                uint8_t buf[sizeof(int64_t)]; 
  518|  5.76k|                std::size_t n = source_.read(buf, sizeof(int64_t));
  519|  5.76k|                state_stack_.back().pos += n;
  520|  5.76k|                if (JSONCONS_UNLIKELY(n != sizeof(int64_t)))
  ------------------
  |  |   78|  5.76k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 8, False: 5.75k]
  |  |  ------------------
  ------------------
  521|      8|                {
  522|      8|                    ec = bson_errc::unexpected_eof;
  523|      8|                    more_ = false;
  524|      8|                    return;
  525|      8|                }
  526|  5.75k|                auto val = binary::little_to_native<int64_t>(buf, sizeof(buf));
  527|  5.75k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  528|  5.75k|                more_ = !cursor_mode_;
  529|  5.75k|                break;
  530|  5.76k|            }
  531|       |
  532|  11.4k|            case jsoncons::bson::bson_type::datetime_type: 
  ------------------
  |  Branch (532:13): [True: 11.4k, False: 21.1M]
  ------------------
  533|  11.4k|            {
  534|  11.4k|                uint8_t buf[sizeof(int64_t)]; 
  535|  11.4k|                std::size_t n = source_.read(buf, sizeof(int64_t));
  536|  11.4k|                state_stack_.back().pos += n;
  537|  11.4k|                if (JSONCONS_UNLIKELY(n != sizeof(int64_t)))
  ------------------
  |  |   78|  11.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 5, False: 11.4k]
  |  |  ------------------
  ------------------
  538|      5|                {
  539|      5|                    ec = bson_errc::unexpected_eof;
  540|      5|                    more_ = false;
  541|      5|                    return;
  542|      5|                }
  543|  11.4k|                auto val = binary::little_to_native<int64_t>(buf, sizeof(buf));
  544|  11.4k|                visitor.int64_value(val, semantic_tag::epoch_milli, *this, ec);
  545|  11.4k|                more_ = !cursor_mode_;
  546|  11.4k|                break;
  547|  11.4k|            }
  548|  72.1k|            case jsoncons::bson::bson_type::binary_type: 
  ------------------
  |  Branch (548:13): [True: 72.1k, False: 21.1M]
  ------------------
  549|  72.1k|            {
  550|  72.1k|                uint8_t buf[sizeof(int32_t)]; 
  551|  72.1k|                std::size_t n = source_.read(buf, sizeof(int32_t));
  552|  72.1k|                state_stack_.back().pos += n;
  553|  72.1k|                if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   78|  72.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 6, False: 72.1k]
  |  |  ------------------
  ------------------
  554|      6|                {
  555|      6|                    ec = bson_errc::unexpected_eof;
  556|      6|                    more_ = false;
  557|      6|                    return;
  558|      6|                }
  559|  72.1k|                const auto len = binary::little_to_native<int32_t>(buf, sizeof(buf));
  560|  72.1k|                if (JSONCONS_UNLIKELY(len < 0))
  ------------------
  |  |   78|  72.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 35, False: 72.1k]
  |  |  ------------------
  ------------------
  561|     35|                {
  562|     35|                    ec = bson_errc::length_is_negative;
  563|     35|                    more_ = false;
  564|     35|                    return;
  565|     35|                }
  566|  72.1k|                uint8_t subtype;
  567|  72.1k|                n = source_.read(&subtype, 1);
  568|  72.1k|                state_stack_.back().pos += n;
  569|  72.1k|                if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   78|  72.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 7, False: 72.1k]
  |  |  ------------------
  ------------------
  570|      7|                {
  571|      7|                    ec = bson_errc::unexpected_eof;
  572|      7|                    more_ = false;
  573|      7|                    return;
  574|      7|                }
  575|       |
  576|  72.1k|                auto data = source_.read_span(len, bytes_buffer_);
  577|  72.1k|                if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   78|  72.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 325, False: 71.8k]
  |  |  ------------------
  ------------------
  578|    325|                {
  579|    325|                    ec = bson_errc::unexpected_eof;
  580|    325|                    more_ = false;
  581|    325|                    return;
  582|    325|                }
  583|  71.8k|                state_stack_.back().pos += data.size();
  584|       |
  585|  71.8k|                visitor.byte_string_value(byte_string_view(data.data(), data.size()), subtype, *this, ec);
  586|  71.8k|                more_ = !cursor_mode_;
  587|  71.8k|                break;
  588|  72.1k|            }
  589|  11.9k|            case jsoncons::bson::bson_type::decimal128_type: 
  ------------------
  |  Branch (589:13): [True: 11.9k, False: 21.1M]
  ------------------
  590|  11.9k|            {
  591|  11.9k|                uint8_t buf[sizeof(uint64_t)*2]; 
  592|  11.9k|                std::size_t n = source_.read(buf, sizeof(buf));
  593|  11.9k|                state_stack_.back().pos += n;
  594|  11.9k|                if (JSONCONS_UNLIKELY(n != sizeof(buf)))
  ------------------
  |  |   78|  11.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 16, False: 11.9k]
  |  |  ------------------
  ------------------
  595|     16|                {
  596|     16|                    ec = bson_errc::unexpected_eof;
  597|     16|                    more_ = false;
  598|     16|                    return;
  599|     16|                }
  600|       |
  601|  11.9k|                decimal128_t dec;
  602|  11.9k|                dec.low = binary::little_to_native<uint64_t>(buf, sizeof(uint64_t));
  603|  11.9k|                dec.high = binary::little_to_native<uint64_t>(buf+sizeof(uint64_t), sizeof(uint64_t));
  604|       |
  605|  11.9k|                text_buffer_.clear();
  606|  11.9k|                text_buffer_.resize(bson::decimal128_limits::buf_size);
  607|  11.9k|                auto r = bson::decimal128_to_chars(&text_buffer_[0], &text_buffer_[0]+text_buffer_.size(), dec);
  608|  11.9k|                visitor.string_value(string_view(text_buffer_.data(),static_cast<std::size_t>(r.ptr-text_buffer_.data())), semantic_tag::float128, *this, ec);
  609|  11.9k|                more_ = !cursor_mode_;
  610|  11.9k|                break;
  611|  11.9k|            }
  612|  4.85k|            case jsoncons::bson::bson_type::object_id_type: 
  ------------------
  |  Branch (612:13): [True: 4.85k, False: 21.2M]
  ------------------
  613|  4.85k|            {
  614|  4.85k|                uint8_t buf[12]; 
  615|  4.85k|                std::size_t n = source_.read(buf, sizeof(buf));
  616|  4.85k|                state_stack_.back().pos += n;
  617|  4.85k|                if (JSONCONS_UNLIKELY(n != sizeof(buf)))
  ------------------
  |  |   78|  4.85k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 8, False: 4.84k]
  |  |  ------------------
  ------------------
  618|      8|                {
  619|      8|                    ec = bson_errc::unexpected_eof;
  620|      8|                    more_ = false;
  621|      8|                    return;
  622|      8|                }
  623|       |
  624|  4.84k|                oid_t oid(buf);
  625|  4.84k|                to_string(oid, text_buffer_);
  626|       |
  627|  4.84k|                visitor.string_value(text_buffer_, semantic_tag::id, *this, ec);
  628|  4.84k|                more_ = !cursor_mode_;
  629|  4.84k|                break;
  630|  4.85k|            }
  631|    114|            default:
  ------------------
  |  Branch (631:13): [True: 114, False: 21.2M]
  ------------------
  632|    114|            {
  633|    114|                ec = bson_errc::unknown_type;
  634|    114|                more_ = false;
  635|    114|                return;
  636|  4.85k|            }
  637|  21.2M|        }
  638|  21.2M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_stringERNS3_10error_codeE:
  662|  5.73k|    {
  663|  5.73k|        std::size_t offset = 0;
  664|       |
  665|  5.73k|        uint8_t buf[sizeof(int32_t)]; 
  666|  5.73k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  667|  5.73k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   78|  5.73k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 53, False: 5.68k]
  |  |  ------------------
  ------------------
  668|     53|        {
  669|     53|            ec = bson_errc::unexpected_eof;
  670|     53|            more_ = false;
  671|     53|            return string_view{};
  672|     53|        }
  673|  5.68k|        offset += n;
  674|       |
  675|  5.68k|        auto len = binary::little_to_native<int32_t>(buf, sizeof(buf));
  676|  5.68k|        if (JSONCONS_UNLIKELY(len < 1))
  ------------------
  |  |   78|  5.68k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 32, False: 5.65k]
  |  |  ------------------
  ------------------
  677|     32|        {
  678|     32|            ec = bson_errc::string_length_is_non_positive;
  679|     32|            more_ = false;
  680|     32|            return string_view{};
  681|     32|        }
  682|       |
  683|  5.65k|        std::size_t size = static_cast<std::size_t>(len) - static_cast<std::size_t>(1);
  684|  5.65k|        auto data = source_.read_span(size, text_buffer_);
  685|  5.65k|        if (JSONCONS_UNLIKELY(data.size() != size))
  ------------------
  |  |   78|  5.65k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 230, False: 5.42k]
  |  |  ------------------
  ------------------
  686|    230|        {
  687|    230|            ec = bson_errc::unexpected_eof;
  688|    230|            more_ = false;
  689|    230|            return string_view{};
  690|    230|        }
  691|  5.42k|        offset += data.size();
  692|       |
  693|  5.42k|        uint8_t c;
  694|  5.42k|        if (JSONCONS_UNLIKELY(source_.read(&c, 1) != 1))
  ------------------
  |  |   78|  5.42k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 18, False: 5.40k]
  |  |  ------------------
  ------------------
  695|     18|        {
  696|     18|            ec = bson_errc::unexpected_eof;
  697|     18|            more_ = false;
  698|     18|            return string_view{};
  699|     18|        }
  700|  5.40k|        ++offset;
  701|       |
  702|  5.40k|        state_stack_.back().pos += offset;
  703|  5.40k|        return string_view{reinterpret_cast<const char*>(data.data()), data.size()};
  704|  5.42k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  296|  45.8k|    {
  297|  45.8k|        if (JSONCONS_UNLIKELY(static_cast<int>(state_stack_.size()) > max_nesting_depth_))
  ------------------
  |  |   78|  45.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 45.8k]
  |  |  ------------------
  ------------------
  298|      1|        {
  299|      1|            ec = bson_errc::max_nesting_depth_exceeded;
  300|      1|            more_ = false;
  301|      1|            return;
  302|      1|        } 
  303|  45.8k|        uint8_t buf[sizeof(int32_t)]; 
  304|  45.8k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  305|  45.8k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   78|  45.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 21, False: 45.8k]
  |  |  ------------------
  ------------------
  306|     21|        {
  307|     21|            ec = bson_errc::unexpected_eof;
  308|     21|            more_ = false;
  309|     21|            return;
  310|     21|        }
  311|  45.8k|        auto length = binary::little_to_native<int32_t>(buf, sizeof(buf));
  312|       |
  313|  45.8k|        visitor.begin_array(semantic_tag::none, *this, ec);
  314|  45.8k|        more_ = !cursor_mode_;
  315|  45.8k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  45.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 45.8k]
  |  |  ------------------
  ------------------
  316|      0|        {
  317|      0|            return;
  318|      0|        }
  319|  45.8k|        state_stack_.emplace_back(parse_mode::array, length, n);
  320|  45.8k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  323|  19.4k|    {
  324|  19.4k|        JSONCONS_ASSERT(state_stack_.size() >= 2);
  ------------------
  |  |   49|  19.4k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 19.4k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  325|       |
  326|  19.4k|        visitor.end_array(*this, ec);
  327|  19.4k|        more_ = !cursor_mode_;
  328|  19.4k|        if (level() == mark_level_)
  ------------------
  |  Branch (328:13): [True: 0, False: 19.4k]
  ------------------
  329|      0|        {
  330|      0|            more_ = false;
  331|      0|        }
  332|  19.4k|        if (JSONCONS_UNLIKELY(state_stack_.back().pos != state_stack_.back().length))
  ------------------
  |  |   78|  19.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 391, False: 19.0k]
  |  |  ------------------
  ------------------
  333|    391|        {
  334|    391|            ec = bson_errc::size_mismatch;
  335|    391|            more_ = false;
  336|    391|            return;
  337|    391|        }
  338|  19.0k|        std::size_t pos = state_stack_.back().pos;
  339|  19.0k|        state_stack_.pop_back();
  340|  19.0k|        state_stack_.back().pos += pos;
  341|  19.0k|    }

_ZN8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RNS_18basic_json_visitorIcEERKNS0_19bson_decode_optionsERKS7_:
   46|  4.92k|       : parser_(std::forward<Sourceable>(source), options, temp_alloc),
   47|  4.92k|         visitor_(visitor)
   48|  4.92k|    {
   49|  4.92k|    }
_ZN8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4readERNS3_10error_codeE:
   62|  4.92k|    {
   63|  4.92k|        parser_.reset();
   64|  4.92k|        parser_.parse(visitor_, ec);
   65|  4.92k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  4.92k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4.90k, False: 15]
  |  |  ------------------
  ------------------
   66|  4.90k|        {
   67|  4.90k|            return;
   68|  4.90k|        }
   69|  4.92k|    }
_ZNK8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
   72|  4.90k|    {
   73|  4.90k|        return parser_.line();
   74|  4.90k|    }
_ZNK8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
   77|  4.90k|    {
   78|  4.90k|        return parser_.column();
   79|  4.90k|    }

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

