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

_ZNK8jsoncons16allocator_holderINSt3__19allocatorIcEEE13get_allocatorEv:
   30|   139k|    {
   31|   139k|        return alloc_;
   32|   139k|    }
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2ERKS3_:
   25|  10.4k|        : alloc_(alloc)
   26|  10.4k|        {}
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2Ev:
   20|  82.7k|    allocator_holder() = default;

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2769|  94.2M|        {
 2770|  94.2M|             destroy();
 2771|  94.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  893|  94.2M|        {
  894|  94.2M|            switch (storage_kind())
  895|  94.2M|            {
  896|  56.3k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (896:17): [True: 56.3k, False: 94.2M]
  ------------------
  897|  56.3k|                {
  898|  56.3k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (898:25): [True: 56.3k, False: 0]
  ------------------
  899|  56.3k|                    {
  900|  56.3k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  901|  56.3k|                    }
  902|  56.3k|                    break;
  903|      0|                }
  904|  16.6k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (904:17): [True: 16.6k, False: 94.2M]
  ------------------
  905|  16.6k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (905:25): [True: 16.6k, False: 0]
  ------------------
  906|  16.6k|                    {
  907|  16.6k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  908|  16.6k|                    }
  909|  16.6k|                    break;
  910|  43.5k|                case json_storage_kind::array:
  ------------------
  |  Branch (910:17): [True: 43.5k, False: 94.2M]
  ------------------
  911|  43.5k|                {
  912|  43.5k|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (912:25): [True: 43.5k, False: 0]
  ------------------
  913|  43.5k|                    {
  914|  43.5k|                        auto& stor = cast<array_storage>();
  915|  43.5k|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  916|  43.5k|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  917|  43.5k|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  918|  43.5k|                    }
  919|  43.5k|                    break;
  920|      0|                }
  921|  39.2k|                case json_storage_kind::object:
  ------------------
  |  Branch (921:17): [True: 39.2k, False: 94.2M]
  ------------------
  922|  39.2k|                {
  923|  39.2k|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (923:25): [True: 39.2k, False: 0]
  ------------------
  924|  39.2k|                    {
  925|  39.2k|                        auto& stor = cast<object_storage>();
  926|  39.2k|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  927|  39.2k|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  928|  39.2k|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  929|  39.2k|                    }
  930|  39.2k|                    break;
  931|      0|                }
  932|  94.1M|                default:
  ------------------
  |  Branch (932:17): [True: 94.1M, False: 155k]
  ------------------
  933|  94.1M|                    break;
  934|  94.2M|            }
  935|  94.2M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1457|   280M|        {
 1458|       |            // It is legal to access 'common_.storage_kind_' even though 
 1459|       |            // common_ is not the active member of the union because 'storage_kind_' 
 1460|       |            // is a part of the common initial sequence of all union members
 1461|       |            // as defined in 11.4-25 of the Standard.
 1462|   280M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1463|   280M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
  999|   521k|        {
 1000|   521k|            return cast(identity<T>());
 1001|   521k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1090|   521k|        {
 1091|   521k|            return long_str_;
 1092|   521k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
  999|   192k|        {
 1000|   192k|            return cast(identity<T>());
 1001|   192k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1100|   192k|        {
 1101|   192k|            return byte_str_;
 1102|   192k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
  999|  7.70M|        {
 1000|  7.70M|            return cast(identity<T>());
 1001|  7.70M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1120|  7.70M|        {
 1121|  7.70M|            return array_;
 1122|  7.70M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2302|  73.0M|        {
 2303|  73.0M|            uninitialized_move(std::move(other));
 2304|  73.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1297|  73.0M|        {
 1298|  73.0M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1298:17): [True: 72.6M, False: 346k]
  ------------------
 1299|  72.6M|            {
 1300|  72.6M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1301|  72.6M|            }
 1302|   346k|            else
 1303|   346k|            {
 1304|   346k|                switch (other.storage_kind())
 1305|   346k|                {
 1306|   126k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1306:21): [True: 126k, False: 219k]
  ------------------
 1307|   126k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1308|   126k|                        other.construct<null_storage>();
 1309|   126k|                        break;
 1310|  37.1k|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1310:21): [True: 37.1k, False: 309k]
  ------------------
 1311|  37.1k|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1312|  37.1k|                        other.construct<null_storage>();
 1313|  37.1k|                        break;
 1314|  84.3k|                    case json_storage_kind::array:
  ------------------
  |  Branch (1314:21): [True: 84.3k, False: 262k]
  ------------------
 1315|  84.3k|                        construct<array_storage>(other.cast<array_storage>());
 1316|  84.3k|                        other.construct<null_storage>();
 1317|  84.3k|                        break;
 1318|  98.4k|                    case json_storage_kind::object:
  ------------------
  |  Branch (1318:21): [True: 98.4k, False: 248k]
  ------------------
 1319|  98.4k|                        construct<object_storage>(other.cast<object_storage>());
 1320|  98.4k|                        other.construct<null_storage>();
 1321|  98.4k|                        break;
 1322|      0|                    default:
  ------------------
  |  Branch (1322:21): [True: 0, False: 346k]
  ------------------
 1323|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1324|      0|                        break;
 1325|   346k|                }
 1326|   346k|            }
 1327|  73.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  990|   176k|        {
  991|   176k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|   176k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  621|   225k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  622|   225k|            {
  623|   225k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  990|   346k|        {
  991|   346k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|   346k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
  999|  21.4M|        {
 1000|  21.4M|            return cast(identity<T>());
 1001|  21.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1010|  21.4M|        {
 1011|  21.4M|            return null_;
 1012|  21.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  445|  21.1M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  446|  21.1M|            {
  447|  21.1M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  990|  71.3k|        {
  991|  71.3k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  71.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  670|   105k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  671|   105k|            {
  672|   105k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  990|   163k|        {
  991|   163k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|   163k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  722|   243k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  723|   243k|            {
  724|   243k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  990|   151k|        {
  991|   151k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|   151k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  772|   203k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  773|   203k|            {
  774|   203k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4754|  4.10k|        {
 4755|  4.10k|            switch (storage_kind())
 4756|  4.10k|            {
 4757|  4.10k|                case json_storage_kind::array:
  ------------------
  |  Branch (4757:17): [True: 4.10k, False: 0]
  ------------------
 4758|  4.10k|                    return array_range_type(cast<array_storage>().value().begin(),
 4759|  4.10k|                        cast<array_storage>().value().end());
 4760|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4760:17): [True: 0, False: 4.10k]
  ------------------
 4761|      0|                    return cast<json_ref_storage>().value().array_range();
 4762|      0|                default:
  ------------------
  |  Branch (4762:17): [True: 0, False: 4.10k]
  ------------------
 4763|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4764|  4.10k|            }
 4765|  4.10k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  745|  7.24M|            {
  746|  7.24M|                return *ptr_;
  747|  7.24M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  343|  4.10k|            : first_(first), last_(last)
  344|  4.10k|        {
  345|  4.10k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  348|  4.10k|        {
  349|  4.10k|            return first_;
  350|  4.10k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  352|  4.10k|        {
  353|  4.10k|            return last_;
  354|  4.10k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3420|  9.27k|        {
 3421|  9.27k|            switch (storage_kind())
 3422|  9.27k|            {
 3423|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3423:17): [True: 0, False: 9.27k]
  ------------------
 3424|      0|                    return cast<byte_string_storage>().length() == 0;
 3425|      0|                    break;
 3426|      0|                case json_storage_kind::short_str:
  ------------------
  |  Branch (3426:17): [True: 0, False: 9.27k]
  ------------------
 3427|      0|                    return cast<short_string_storage>().length() == 0;
 3428|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 9.27k]
  ------------------
 3429|      0|                    return cast<long_string_storage>().length() == 0;
 3430|  5.56k|                case json_storage_kind::array:
  ------------------
  |  Branch (3430:17): [True: 5.56k, False: 3.70k]
  ------------------
 3431|  5.56k|                    return cast<array_storage>().value().empty();
 3432|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3432:17): [True: 0, False: 9.27k]
  ------------------
 3433|      0|                    return true;
 3434|  3.70k|                case json_storage_kind::object:
  ------------------
  |  Branch (3434:17): [True: 3.70k, False: 5.56k]
  ------------------
 3435|  3.70k|                    return cast<object_storage>().value().empty();
 3436|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3436:17): [True: 0, False: 9.27k]
  ------------------
 3437|      0|                    return cast<const_json_ref_storage>().value().empty();
 3438|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3438:17): [True: 0, False: 9.27k]
  ------------------
 3439|      0|                    return cast<json_ref_storage>().value().empty();
 3440|      0|                default:
  ------------------
  |  Branch (3440:17): [True: 0, False: 9.27k]
  ------------------
 3441|      0|                    return false;
 3442|  9.27k|            }
 3443|  9.27k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1005|  5.56k|        {
 1006|  5.56k|            return cast(identity<T>());
 1007|  5.56k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1125|  5.56k|        {
 1126|  5.56k|            return array_;
 1127|  5.56k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  5.56k|            {
  751|  5.56k|                return *ptr_;
  752|  5.56k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1005|  3.70k|        {
 1006|  3.70k|            return cast(identity<T>());
 1007|  3.70k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1115|  3.70k|        {
 1116|  3.70k|            return object_;
 1117|  3.70k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  796|  3.70k|            {
  797|  3.70k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|  3.70k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.70k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  798|  3.70k|                return *ptr_;
  799|  3.70k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4151|  8.27k|        {
 4152|  8.27k|            switch (storage_kind())
 4153|  8.27k|            {
 4154|  4.10k|                case json_storage_kind::array:
  ------------------
  |  Branch (4154:17): [True: 4.10k, False: 4.17k]
  ------------------
 4155|  4.10k|                    cast<array_storage>().value().clear();
 4156|  4.10k|                    break;
 4157|  4.17k|                case json_storage_kind::object:
  ------------------
  |  Branch (4157:17): [True: 4.17k, False: 4.10k]
  ------------------
 4158|  4.17k|                    cast<object_storage>().value().clear();
 4159|  4.17k|                    break;
 4160|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4160:17): [True: 0, False: 8.27k]
  ------------------
 4161|      0|                    cast<json_ref_storage>().value().clear();
 4162|      0|                    break;
 4163|      0|                default:
  ------------------
  |  Branch (4163:17): [True: 0, False: 8.27k]
  ------------------
 4164|      0|                    break;
 4165|  8.27k|            }
 4166|  8.27k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  790|  26.2k|            {
  791|  26.2k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|  26.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 26.2k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  792|  26.2k|                return *ptr_;
  793|  26.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4720|  4.17k|        {
 4721|  4.17k|            switch (storage_kind())
 4722|  4.17k|            {
 4723|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4723:17): [True: 0, False: 4.17k]
  ------------------
 4724|      0|                    return object_range_type(object_iterator(), object_iterator());
 4725|  4.17k|                case json_storage_kind::object:
  ------------------
  |  Branch (4725:17): [True: 4.17k, False: 0]
  ------------------
 4726|  4.17k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4727|  4.17k|                                                  object_iterator(cast<object_storage>().value().end()));
 4728|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4728:17): [True: 0, False: 4.17k]
  ------------------
 4729|      0|                    return cast<json_ref_storage>().value().object_range();
 4730|      0|                default:
  ------------------
  |  Branch (4730:17): [True: 0, False: 4.17k]
  ------------------
 4731|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4732|  4.17k|            }
 4733|  4.17k|        }
_ZN8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEEC2ERKSI_SP_:
  343|  4.17k|            : first_(first), last_(last)
  344|  4.17k|        {
  345|  4.17k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|  8.34k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|  8.34k|            {
  120|  8.34k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  348|  4.17k|        {
  349|  4.17k|            return first_;
  350|  4.17k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  352|  4.17k|        {
  353|  4.17k|            return last_;
  354|  4.17k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|  9.10k|            {
  219|  9.10k|                return !(*this == rhs);
  220|  9.10k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|  9.10k|            {
  210|  9.10k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   77|  18.2k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 9.10k, False: 0]
  |  |  |  Branch (77:48): [True: 9.10k, False: 0]
  |  |  |  Branch (77:48): [True: 9.10k, False: 0]
  |  |  ------------------
  ------------------
  211|  9.10k|                {
  212|  9.10k|                    return current_ == rhs.current_;
  213|  9.10k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|  9.10k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  4.93k|            {
  141|  4.93k|                return *current_;
  142|  4.93k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  4.93k|            {
  151|  4.93k|                ++current_;
  152|  4.93k|                return *this;
  153|  4.93k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
  999|   446k|        {
 1000|   446k|            return cast(identity<T>());
 1001|   446k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1110|   446k|        {
 1111|   446k|            return object_;
 1112|   446k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2270|  4.81k|        {
 2271|  4.81k|            construct<empty_object_storage>(semantic_tag::none);
 2272|  4.81k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  990|  4.81k|        {
  991|  4.81k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  4.81k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
  999|  8.87k|        {
 1000|  8.87k|            return cast(identity<T>());
 1001|  8.87k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1020|  8.87k|        {
 1021|  8.87k|            return empty_object_;
 1022|  8.87k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  457|  4.81k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  458|  4.81k|            {
  459|  4.81k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3479|  7.00k|        {
 3480|  7.00k|            if (n > 0)
  ------------------
  |  Branch (3480:17): [True: 7.00k, False: 0]
  ------------------
 3481|  7.00k|            {
 3482|  7.00k|                switch (storage_kind())
 3483|  7.00k|                {
 3484|  7.00k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3484:21): [True: 7.00k, False: 0]
  ------------------
 3485|  7.00k|                        cast<array_storage>().value().reserve(n);
 3486|  7.00k|                        break;
 3487|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3487:21): [True: 0, False: 7.00k]
  ------------------
 3488|      0|                        create_object_implicitly();
 3489|      0|                        cast<object_storage>().value().reserve(n);
 3490|      0|                        break;
 3491|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3491:21): [True: 0, False: 7.00k]
  ------------------
 3492|      0|                        cast<object_storage>().value().reserve(n);
 3493|      0|                        break;
 3494|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3494:21): [True: 0, False: 7.00k]
  ------------------
 3495|      0|                        cast<json_ref_storage>().value().reserve(n);
 3496|      0|                        break;
 3497|      0|                    default:
  ------------------
  |  Branch (3497:21): [True: 0, False: 7.00k]
  ------------------
 3498|      0|                        break;
 3499|  7.00k|                }
 3500|  7.00k|            }
 3501|  7.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2315|  39.2k|        {
 2316|  39.2k|            auto ptr = create_object(alloc);
 2317|  39.2k|            construct<object_storage>(ptr, tag);
 2318|  39.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  971|  39.2k|        {
  972|  39.2k|            using stor_allocator_type = typename object_storage::allocator_type;
  973|  39.2k|            stor_allocator_type stor_alloc(alloc);
  974|  39.2k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  975|  39.2k|            JSONCONS_TRY
  ------------------
  |  |   37|  39.2k|    #define JSONCONS_TRY try
  ------------------
  976|  39.2k|            {
  977|  39.2k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  978|  39.2k|                    std::forward<Args>(args)...);
  979|  39.2k|            }
  980|  39.2k|            JSONCONS_CATCH(...)
  981|  39.2k|            {
  982|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  983|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  984|      0|            }
  985|  39.2k|            return ptr;
  986|  39.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  990|  39.2k|        {
  991|  39.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  39.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  767|  39.2k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  768|  39.2k|            {
  769|  39.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4696|  7.22M|        {
 4697|  7.22M|            switch (storage_kind())
 4698|  7.22M|            {
 4699|  7.22M|                case json_storage_kind::array:
  ------------------
  |  Branch (4699:17): [True: 7.22M, False: 0]
  ------------------
 4700|  7.22M|                    cast<array_storage>().value().push_back(std::move(val));
 4701|  7.22M|                    break;
 4702|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4702:17): [True: 0, False: 7.22M]
  ------------------
 4703|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4704|      0|                    break;
 4705|      0|                default:
  ------------------
  |  Branch (4705:17): [True: 0, False: 7.22M]
  ------------------
 4706|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Attempting to insert into a value that is not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4707|  7.22M|            }
 4708|  7.22M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1448|  48.6M|        {
 1449|  48.6M|            if (this != &other)
  ------------------
  |  Branch (1449:17): [True: 48.6M, False: 0]
  ------------------
 1450|  48.6M|            {
 1451|  48.6M|                move_assignment(std::move(other));
 1452|  48.6M|            }
 1453|  48.6M|            return *this;
 1454|  48.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1410|  48.6M|        {
 1411|  48.6M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1411:17): [True: 48.6M, False: 0]
  |  Branch (1411:55): [True: 48.4M, False: 216k]
  ------------------
 1412|  48.4M|            {
 1413|  48.4M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1414|  48.4M|            }
 1415|   216k|            else
 1416|   216k|            {
 1417|   216k|                swap(other);
 1418|   216k|            }
 1419|  48.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1929|   216k|        {
 1930|   216k|            if (this == &other)
  ------------------
  |  Branch (1930:17): [True: 0, False: 216k]
  ------------------
 1931|      0|            {
 1932|      0|                return;
 1933|      0|            }
 1934|   216k|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1934:17): [True: 216k, False: 0]
  |  Branch (1934:55): [True: 0, False: 216k]
  ------------------
 1935|      0|            {
 1936|      0|                basic_json temp;               
 1937|      0|                std::memcpy(static_cast<void*>(&temp), static_cast<void*>(&other), sizeof(basic_json));
 1938|      0|                std::memcpy(static_cast<void*>(&other), static_cast<void*>(this), sizeof(basic_json));
 1939|      0|                std::memcpy(static_cast<void*>(this), static_cast<void*>(&temp), sizeof(basic_json));
 1940|      0|            }
 1941|   216k|            else
 1942|   216k|            {
 1943|   216k|                switch (storage_kind())
 1944|   216k|                {
 1945|   184k|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1945:21): [True: 184k, False: 31.7k]
  ------------------
 1946|  2.03k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1946:21): [True: 2.03k, False: 214k]
  ------------------
 1947|  7.00k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1947:21): [True: 7.00k, False: 209k]
  ------------------
 1948|  6.14k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1948:21): [True: 6.14k, False: 209k]
  ------------------
 1949|  2.83k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1949:21): [True: 2.83k, False: 213k]
  ------------------
 1950|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 0, False: 216k]
  ------------------
 1951|  3.38k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 3.38k, False: 212k]
  ------------------
 1952|  10.3k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 10.3k, False: 205k]
  ------------------
 1953|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 0, False: 216k]
  ------------------
 1954|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 0, False: 216k]
  ------------------
 1955|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 0, False: 216k]
  ------------------
 1956|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 0, False: 216k]
  ------------------
 1957|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 0, False: 216k]
  ------------------
 1958|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 216k]
  ------------------
 1959|      0|                    default:
  ------------------
  |  Branch (1959:21): [True: 0, False: 216k]
  ------------------
 1960|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1961|      0|                        break;
 1962|   216k|                }
 1963|   216k|            }
 1964|   216k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1165|   184k|        {
 1166|   184k|            switch (other.storage_kind())
 1167|   184k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 184k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 184k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 184k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 184k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 184k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 184k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 184k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 184k]
  ------------------
 1176|  36.4k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 36.4k, False: 147k]
  ------------------
 1177|  28.9k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 28.9k, False: 155k]
  ------------------
 1178|  72.1k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 72.1k, False: 112k]
  ------------------
 1179|  46.8k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 46.8k, False: 137k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 184k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 184k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 184k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|   184k|            }
 1186|   184k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  990|   184k|        {
  991|   184k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|   184k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  990|  2.03k|        {
  991|  2.03k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  2.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
  999|  43.7k|        {
 1000|  43.7k|            return cast(identity<T>());
 1001|  43.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1030|  43.7k|        {
 1031|  43.7k|            return boolean_;
 1032|  43.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  990|  7.00k|        {
  991|  7.00k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  7.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
  999|   226k|        {
 1000|   226k|            return cast(identity<T>());
 1001|   226k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1040|   226k|        {
 1041|   226k|            return int64_;
 1042|   226k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  990|  6.14k|        {
  991|  6.14k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  6.14k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
  999|  21.2k|        {
 1000|  21.2k|            return cast(identity<T>());
 1001|  21.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1050|  21.2k|        {
 1051|  21.2k|            return uint64_;
 1052|  21.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  990|  2.83k|        {
  991|  2.83k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  2.83k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
  999|  20.7k|        {
 1000|  20.7k|            return cast(identity<T>());
 1001|  20.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1070|  20.7k|        {
 1071|  20.7k|            return float64_;
 1072|  20.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  990|  3.38k|        {
  991|  3.38k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  3.38k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
  999|  99.8k|        {
 1000|  99.8k|            return cast(identity<T>());
 1001|  99.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1080|  99.8k|        {
 1081|  99.8k|            return short_str_;
 1082|  99.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  580|  10.3k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  581|  10.3k|            {
  582|  10.3k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  583|  10.3k|                data_[short_str_length_] = 0;
  584|  10.3k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  990|  10.3k|        {
  991|  10.3k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  10.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1151|  36.4k|        {
 1152|  36.4k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  36.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  36.4k|        {
 1158|  36.4k|            TypeR temp{other.cast<TypeR>()};
 1159|  36.4k|            other.construct<TypeL>(cast<TypeL>());
 1160|  36.4k|            construct<TypeR>(temp);
 1161|  36.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1151|  28.9k|        {
 1152|  28.9k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  28.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  28.9k|        {
 1158|  28.9k|            TypeR temp{other.cast<TypeR>()};
 1159|  28.9k|            other.construct<TypeL>(cast<TypeL>());
 1160|  28.9k|            construct<TypeR>(temp);
 1161|  28.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1151|  72.1k|        {
 1152|  72.1k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  72.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  72.1k|        {
 1158|  72.1k|            TypeR temp{other.cast<TypeR>()};
 1159|  72.1k|            other.construct<TypeL>(cast<TypeL>());
 1160|  72.1k|            construct<TypeR>(temp);
 1161|  72.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1151|  46.8k|        {
 1152|  46.8k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  46.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  46.8k|        {
 1158|  46.8k|            TypeR temp{other.cast<TypeR>()};
 1159|  46.8k|            other.construct<TypeL>(cast<TypeL>());
 1160|  46.8k|            construct<TypeR>(temp);
 1161|  46.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1165|  2.03k|        {
 1166|  2.03k|            switch (other.storage_kind())
 1167|  2.03k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 2.03k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 2.03k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 2.03k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 2.03k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 2.03k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.03k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.03k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.03k]
  ------------------
 1176|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.03k]
  ------------------
 1177|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.03k]
  ------------------
 1178|      0|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.03k]
  ------------------
 1179|  2.03k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 2.03k, False: 0]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.03k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.03k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.03k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  2.03k|            }
 1186|  2.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1151|  2.03k|        {
 1152|  2.03k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  2.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  2.03k|        {
 1158|  2.03k|            TypeR temp{other.cast<TypeR>()};
 1159|  2.03k|            other.construct<TypeL>(cast<TypeL>());
 1160|  2.03k|            construct<TypeR>(temp);
 1161|  2.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1165|  7.00k|        {
 1166|  7.00k|            switch (other.storage_kind())
 1167|  7.00k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 7.00k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 7.00k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 7.00k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 7.00k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 7.00k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 7.00k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 7.00k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 7.00k]
  ------------------
 1176|  1.29k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 1.29k, False: 5.71k]
  ------------------
 1177|  3.04k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 3.04k, False: 3.96k]
  ------------------
 1178|  1.78k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 1.78k, False: 5.22k]
  ------------------
 1179|    890|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 890, False: 6.11k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 7.00k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 7.00k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 7.00k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  7.00k|            }
 1186|  7.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1151|  1.29k|        {
 1152|  1.29k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  1.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  1.29k|        {
 1158|  1.29k|            TypeR temp{other.cast<TypeR>()};
 1159|  1.29k|            other.construct<TypeL>(cast<TypeL>());
 1160|  1.29k|            construct<TypeR>(temp);
 1161|  1.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1151|  3.04k|        {
 1152|  3.04k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  3.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  3.04k|        {
 1158|  3.04k|            TypeR temp{other.cast<TypeR>()};
 1159|  3.04k|            other.construct<TypeL>(cast<TypeL>());
 1160|  3.04k|            construct<TypeR>(temp);
 1161|  3.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1151|  1.78k|        {
 1152|  1.78k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  1.78k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  1.78k|        {
 1158|  1.78k|            TypeR temp{other.cast<TypeR>()};
 1159|  1.78k|            other.construct<TypeL>(cast<TypeL>());
 1160|  1.78k|            construct<TypeR>(temp);
 1161|  1.78k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1151|    890|        {
 1152|    890|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    890|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    890|        {
 1158|    890|            TypeR temp{other.cast<TypeR>()};
 1159|    890|            other.construct<TypeL>(cast<TypeL>());
 1160|    890|            construct<TypeR>(temp);
 1161|    890|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1165|  6.14k|        {
 1166|  6.14k|            switch (other.storage_kind())
 1167|  6.14k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 6.14k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 6.14k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 6.14k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 6.14k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 6.14k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 6.14k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 6.14k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 6.14k]
  ------------------
 1176|  1.14k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 1.14k, False: 4.99k]
  ------------------
 1177|    258|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 258, False: 5.88k]
  ------------------
 1178|  3.38k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 3.38k, False: 2.75k]
  ------------------
 1179|  1.35k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 1.35k, False: 4.79k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 6.14k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 6.14k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 6.14k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  6.14k|            }
 1186|  6.14k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1151|  1.14k|        {
 1152|  1.14k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  1.14k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  1.14k|        {
 1158|  1.14k|            TypeR temp{other.cast<TypeR>()};
 1159|  1.14k|            other.construct<TypeL>(cast<TypeL>());
 1160|  1.14k|            construct<TypeR>(temp);
 1161|  1.14k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1151|    258|        {
 1152|    258|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    258|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    258|        {
 1158|    258|            TypeR temp{other.cast<TypeR>()};
 1159|    258|            other.construct<TypeL>(cast<TypeL>());
 1160|    258|            construct<TypeR>(temp);
 1161|    258|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1151|  3.38k|        {
 1152|  3.38k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  3.38k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  3.38k|        {
 1158|  3.38k|            TypeR temp{other.cast<TypeR>()};
 1159|  3.38k|            other.construct<TypeL>(cast<TypeL>());
 1160|  3.38k|            construct<TypeR>(temp);
 1161|  3.38k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1151|  1.35k|        {
 1152|  1.35k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  1.35k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  1.35k|        {
 1158|  1.35k|            TypeR temp{other.cast<TypeR>()};
 1159|  1.35k|            other.construct<TypeL>(cast<TypeL>());
 1160|  1.35k|            construct<TypeR>(temp);
 1161|  1.35k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1165|  2.83k|        {
 1166|  2.83k|            switch (other.storage_kind())
 1167|  2.83k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 2.83k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 2.83k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 2.83k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 2.83k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 2.83k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.83k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.83k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.83k]
  ------------------
 1176|  1.68k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 1.68k, False: 1.14k]
  ------------------
 1177|    228|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 228, False: 2.60k]
  ------------------
 1178|    640|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 640, False: 2.19k]
  ------------------
 1179|    281|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 281, False: 2.55k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.83k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.83k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.83k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  2.83k|            }
 1186|  2.83k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1151|  1.68k|        {
 1152|  1.68k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  1.68k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  1.68k|        {
 1158|  1.68k|            TypeR temp{other.cast<TypeR>()};
 1159|  1.68k|            other.construct<TypeL>(cast<TypeL>());
 1160|  1.68k|            construct<TypeR>(temp);
 1161|  1.68k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1151|    228|        {
 1152|    228|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    228|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    228|        {
 1158|    228|            TypeR temp{other.cast<TypeR>()};
 1159|    228|            other.construct<TypeL>(cast<TypeL>());
 1160|    228|            construct<TypeR>(temp);
 1161|    228|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1151|    640|        {
 1152|    640|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    640|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    640|        {
 1158|    640|            TypeR temp{other.cast<TypeR>()};
 1159|    640|            other.construct<TypeL>(cast<TypeL>());
 1160|    640|            construct<TypeR>(temp);
 1161|    640|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1151|    281|        {
 1152|    281|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    281|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    281|        {
 1158|    281|            TypeR temp{other.cast<TypeR>()};
 1159|    281|            other.construct<TypeL>(cast<TypeL>());
 1160|    281|            construct<TypeR>(temp);
 1161|    281|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1165|  3.38k|        {
 1166|  3.38k|            switch (other.storage_kind())
 1167|  3.38k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 3.38k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 3.38k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 3.38k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 3.38k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 3.38k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 3.38k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 3.38k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 3.38k]
  ------------------
 1176|    423|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 423, False: 2.95k]
  ------------------
 1177|  1.43k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 1.43k, False: 1.94k]
  ------------------
 1178|    903|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 903, False: 2.47k]
  ------------------
 1179|    617|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 617, False: 2.76k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 3.38k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 3.38k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 3.38k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  3.38k|            }
 1186|  3.38k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1151|    423|        {
 1152|    423|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    423|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    423|        {
 1158|    423|            TypeR temp{other.cast<TypeR>()};
 1159|    423|            other.construct<TypeL>(cast<TypeL>());
 1160|    423|            construct<TypeR>(temp);
 1161|    423|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1151|  1.43k|        {
 1152|  1.43k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  1.43k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  1.43k|        {
 1158|  1.43k|            TypeR temp{other.cast<TypeR>()};
 1159|  1.43k|            other.construct<TypeL>(cast<TypeL>());
 1160|  1.43k|            construct<TypeR>(temp);
 1161|  1.43k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1151|    903|        {
 1152|    903|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    903|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    903|        {
 1158|    903|            TypeR temp{other.cast<TypeR>()};
 1159|    903|            other.construct<TypeL>(cast<TypeL>());
 1160|    903|            construct<TypeR>(temp);
 1161|    903|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1151|    617|        {
 1152|    617|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    617|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    617|        {
 1158|    617|            TypeR temp{other.cast<TypeR>()};
 1159|    617|            other.construct<TypeL>(cast<TypeL>());
 1160|    617|            construct<TypeR>(temp);
 1161|    617|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1165|  10.3k|        {
 1166|  10.3k|            switch (other.storage_kind())
 1167|  10.3k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 10.3k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 10.3k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 10.3k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 10.3k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 10.3k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 10.3k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 10.3k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 10.3k]
  ------------------
 1176|  8.53k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 8.53k, False: 1.76k]
  ------------------
 1177|    241|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 241, False: 10.0k]
  ------------------
 1178|    819|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 819, False: 9.48k]
  ------------------
 1179|    706|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 706, False: 9.59k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 10.3k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 10.3k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 10.3k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  10.3k|            }
 1186|  10.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1151|  8.53k|        {
 1152|  8.53k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  8.53k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  8.53k|        {
 1158|  8.53k|            TypeR temp{other.cast<TypeR>()};
 1159|  8.53k|            other.construct<TypeL>(cast<TypeL>());
 1160|  8.53k|            construct<TypeR>(temp);
 1161|  8.53k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1151|    241|        {
 1152|    241|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    241|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    241|        {
 1158|    241|            TypeR temp{other.cast<TypeR>()};
 1159|    241|            other.construct<TypeL>(cast<TypeL>());
 1160|    241|            construct<TypeR>(temp);
 1161|    241|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1151|    819|        {
 1152|    819|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    819|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    819|        {
 1158|    819|            TypeR temp{other.cast<TypeR>()};
 1159|    819|            other.construct<TypeL>(cast<TypeL>());
 1160|    819|            construct<TypeR>(temp);
 1161|    819|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1151|    706|        {
 1152|    706|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    706|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    706|        {
 1158|    706|            TypeR temp{other.cast<TypeR>()};
 1159|    706|            other.construct<TypeL>(cast<TypeL>());
 1160|    706|            construct<TypeR>(temp);
 1161|    706|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2609|  15.5k|        {
 2610|  15.5k|            construct<uint64_storage>(val, tag);
 2611|  15.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  990|  15.5k|        {
  991|  15.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  15.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  511|  15.5k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  512|  15.5k|                  val_(val)
  513|  15.5k|            {
  514|  15.5k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2640|   214k|        {
 2641|   214k|            construct<int64_storage>(val, tag);
 2642|   214k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  990|   214k|        {
  991|   214k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|   214k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  491|   214k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  492|   214k|                  val_(val)
  493|   214k|            {
  494|   214k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2597|  13.9k|        {
 2598|  13.9k|            construct<double_storage>(val, tag);
 2599|  13.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  990|  13.9k|        {
  991|  13.9k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  13.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  550|  13.9k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  551|  13.9k|                  val_(val)
  552|  13.9k|            {
  553|  13.9k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2396|  43.5k|        {
 2397|  43.5k|            auto ptr = create_array(Allocator());
 2398|  43.5k|            construct<array_storage>(ptr, tag);
 2399|  43.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  952|  43.5k|        {
  953|  43.5k|            using stor_allocator_type = typename array_storage::allocator_type;
  954|  43.5k|            stor_allocator_type stor_alloc(alloc);
  955|  43.5k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  956|  43.5k|            JSONCONS_TRY
  ------------------
  |  |   37|  43.5k|    #define JSONCONS_TRY try
  ------------------
  957|  43.5k|            {
  958|  43.5k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  959|  43.5k|                    std::forward<Args>(args)...);
  960|  43.5k|            }
  961|  43.5k|            JSONCONS_CATCH(...)
  962|  43.5k|            {
  963|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  964|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  965|      0|            }
  966|  43.5k|            return ptr;
  967|  43.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  990|  43.5k|        {
  991|  43.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  43.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  717|  43.5k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  718|  43.5k|            {
  719|  43.5k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2686|  20.7M|        {
 2687|  20.7M|            construct<null_storage>(tag);
 2688|  20.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  990|  20.7M|        {
  991|  20.7M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  20.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2696|  29.7k|        {
 2697|  29.7k|            construct<bool_storage>(val,tag);
 2698|  29.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  990|  29.7k|        {
  991|  29.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  29.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  470|  29.7k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  471|  29.7k|                  val_(val)
  472|  29.7k|            {
  473|  29.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2544|   135k|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2545|   135k|        {
 2546|   135k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2574|   135k|        {
 2575|   135k|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2575:17): [True: 79.2k, False: 56.3k]
  ------------------
 2576|  79.2k|            {
 2577|  79.2k|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2578|  79.2k|            }
 2579|  56.3k|            else
 2580|  56.3k|            {
 2581|  56.3k|                auto ptr = create_long_string(alloc, s, length);
 2582|  56.3k|                construct<long_string_storage>(ptr, tag);
 2583|  56.3k|            }
 2584|   135k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  990|  79.2k|        {
  991|  79.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  79.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  572|  79.2k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  573|  79.2k|            {
  574|  79.2k|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   49|  79.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 79.2k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  575|  79.2k|                std::memcpy(data_,p,length*sizeof(char_type));
  576|  79.2k|                data_[length] = 0;
  577|  79.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  938|  56.3k|        {
  939|  56.3k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  940|  56.3k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  941|  56.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  990|  56.3k|        {
  991|  56.3k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  56.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  616|  56.3k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  617|  56.3k|            {
  618|  56.3k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  945|  16.6k|        {
  946|  16.6k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  947|  16.6k|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  948|  16.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  665|  16.6k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  666|  16.6k|            {
  667|  16.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2737|  16.6k|        {
 2738|  16.6k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2739|       |
 2740|  16.6k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2741|  16.6k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2742|  16.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  990|  16.6k|        {
  991|  16.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  16.6k|        }

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

_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEEC2IJRNS4_10error_codeEmmEEENS0_10unexpect_tEDpOT_:
   66|  4.79k|        : has_value_(false)
   67|  4.79k|    {
   68|  4.79k|        ::new (&error_) E(std::forward<Args>(args)...);
   69|  4.79k|    }
_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.81k|    {
  147|  4.81k|        return has_value_;
  148|  4.81k|    }
_ZNR8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE5errorEv:
  192|  14.3k|    {
  193|  14.3k|        assert(!has_value_);
  ------------------
  |  Branch (193:9): [True: 14.3k, False: 0]
  ------------------
  194|  14.3k|        return this->error_;
  195|  14.3k|    }
_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.81k|    {
  101|  4.81k|        destroy();
  102|  4.81k|    }
_ZN8jsoncons6detail8expectedINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS_10read_errorEE7destroyEv:
  280|  4.81k|    {
  281|  4.81k|        if (has_value_) 
  ------------------
  |  Branch (281:13): [True: 15, False: 4.79k]
  ------------------
  282|     15|        {
  283|     15|            value_.~T();
  284|     15|            has_value_ = false;
  285|     15|        }
  286|  4.79k|        else
  287|  4.79k|        {
  288|  4.79k|            error_.~E();
  289|  4.79k|        }
  290|  4.81k|    }

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

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  53.9k|        {
  106|  53.9k|            flatten_and_destroy();
  107|  53.9k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  53.9k|        {
  249|  7.27M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 7.22M, False: 53.9k]
  ------------------
  250|  7.22M|            {
  251|  7.22M|                value_type current = std::move(data_.back());
  252|  7.22M|                data_.pop_back();
  253|  7.22M|                switch (current.storage_kind())
  254|  7.22M|                {
  255|  4.10k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 4.10k, False: 7.22M]
  ------------------
  256|  4.10k|                    {
  257|  4.10k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 4.61k, False: 4.10k]
  ------------------
  258|  4.61k|                        {
  259|  4.61k|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 811, False: 3.80k]
  |  Branch (259:85): [True: 611, False: 3.19k]
  ------------------
  260|  1.42k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 948, False: 474]
  ------------------
  261|    948|                            {
  262|    948|                                data_.push_back(std::move(item));
  263|    948|                            }
  264|  4.61k|                        }
  265|  4.10k|                        current.clear();                           
  266|  4.10k|                        break;
  267|      0|                    }
  268|  4.17k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 4.17k, False: 7.22M]
  ------------------
  269|  4.17k|                    {
  270|  4.17k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 4.93k, False: 4.17k]
  ------------------
  271|  4.93k|                        {
  272|  4.93k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 342, False: 4.59k]
  |  Branch (272:91): [True: 958, False: 3.63k]
  ------------------
  273|  1.30k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 1.05k, False: 248]
  ------------------
  274|  1.05k|                            {
  275|  1.05k|                                data_.push_back(std::move(kv.value()));
  276|  1.05k|                            }
  277|  4.93k|                        }
  278|  4.17k|                        current.clear();                           
  279|  4.17k|                        break;
  280|      0|                    }
  281|  7.21M|                    default:
  ------------------
  |  Branch (281:21): [True: 7.21M, False: 8.27k]
  ------------------
  282|  7.21M|                        break;
  283|  7.22M|                }
  284|  7.22M|            }
  285|  53.9k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|  4.10k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|  4.10k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  5.56k|        {
  126|  5.56k|            return data_.empty();
  127|  5.56k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|  4.10k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  10.4k|            : allocator_holder<allocator_type>(alloc), 
   50|  10.4k|              data_(value_allocator_type(alloc))
   51|  10.4k|        {
   52|  10.4k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  3.70k|        {
  218|  3.70k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  3.70k|            return data_.back();
  220|  3.70k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  7.00k|        void reserve(std::size_t n) {data_.reserve(n);}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE9push_backIS6_S5_EENS3_9enable_ifIXsr3std16allocator_traitsIT0_E15is_always_equalE5valueEvE4typeEOT_:
  178|  7.22M|        {
  179|  7.22M|            data_.emplace_back(std::forward<T>(value));
  180|  7.22M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  43.5k|        json_array() = default;

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  4.81k|        : alloc_(alloc),
   75|  4.81k|          result_(),
   76|  4.81k|          name_(alloc),
   77|  4.81k|          item_stack_(alloc),
   78|  4.81k|          structure_stack_(temp_alloc)
   79|  4.81k|    {
   80|       |        //item_stack_.reserve(1000);
   81|       |        //structure_stack_.reserve(100);
   82|  4.81k|        structure_stack_.emplace_back(json_structure_kind::root_kind, 0);
   83|  4.81k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14json_structureC2ENS7_19json_structure_kindEm:
   51|  87.5k|            : structure_kind(type), structure_index(offset)
   52|  87.5k|        {
   53|  87.5k|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  186|  19.5k|    {
  187|  19.5k|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   49|  19.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 19.5k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  188|  19.5k|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::array_kind);
  ------------------
  |  |   49|  19.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 19.5k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  189|  19.5k|        const size_t structure_index = structure_stack_.back().structure_index;
  190|  19.5k|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   49|  19.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 19.5k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  191|       |
  192|  19.5k|        auto& structure = structure_stack_[structure_stack_.size()-2];
  193|  19.5k|        auto& arr = item_stack_[structure_index].value;
  194|  19.5k|        const size_t size = item_stack_.size() - (structure_index + 1);
  195|       |
  196|  19.5k|        if (size > 0)
  ------------------
  |  Branch (196:13): [True: 7.00k, False: 12.5k]
  ------------------
  197|  7.00k|        {
  198|  7.00k|            arr.reserve(size);
  199|  7.00k|            auto first = item_stack_.begin() + (structure_index+1);
  200|  7.00k|            auto last = first + size;
  201|  7.23M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (201:35): [True: 7.22M, False: 7.00k]
  ------------------
  202|  7.22M|            {
  203|  7.22M|                arr.push_back(std::move((*it).value));
  204|  7.22M|            }
  205|  7.00k|            item_stack_.erase(first, item_stack_.end());
  206|  7.00k|        }
  207|       |
  208|  19.5k|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (208:13): [True: 0, False: 19.5k]
  ------------------
  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.5k|        structure_stack_.pop_back();
  216|  19.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  19.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  19.5k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  311|  15.5k|    {
  312|  15.5k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (312:17): [True: 15.5k, False: 0]
  ------------------
  313|  15.5k|        {
  314|  9.47k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (314:13): [True: 9.47k, False: 6.11k]
  ------------------
  315|  9.47k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  316|  9.47k|                break;
  317|  6.11k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (317:13): [True: 6.11k, False: 9.47k]
  ------------------
  318|  6.11k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  319|  6.11k|                break;
  320|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (320:13): [True: 0, False: 15.5k]
  ------------------
  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|  15.5k|        }
  325|  15.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  15.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  15.5k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  290|   214k|    {
  291|   214k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (291:17): [True: 214k, False: 0]
  ------------------
  292|   214k|        {
  293|  80.3k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (293:13): [True: 80.3k, False: 133k]
  ------------------
  294|  80.3k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  295|  80.3k|                break;
  296|   133k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (296:13): [True: 133k, False: 80.3k]
  ------------------
  297|   133k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  298|   133k|                break;
  299|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (299:13): [True: 0, False: 214k]
  ------------------
  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|   214k|        }
  304|   214k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   214k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  305|   214k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  353|  13.9k|    {
  354|  13.9k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (354:17): [True: 13.9k, False: 0]
  ------------------
  355|  13.9k|        {
  356|  9.96k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (356:13): [True: 9.96k, False: 3.99k]
  ------------------
  357|  9.96k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  358|  9.96k|                break;
  359|  3.99k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (359:13): [True: 3.99k, False: 9.96k]
  ------------------
  360|  3.99k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  361|  3.99k|                break;
  362|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (362:13): [True: 0, False: 13.9k]
  ------------------
  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|  13.9k|        }
  367|  13.9k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  13.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  13.9k|    }
_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|  39.2k|    {
  127|  39.2k|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (127:13): [True: 27.6k, False: 11.6k]
  ------------------
  128|  27.6k|        {
  129|  27.6k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  130|  27.6k|            item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  131|  27.6k|        }
  132|  11.6k|        else
  133|  11.6k|        {
  134|  11.6k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  135|  11.6k|            item_stack_.emplace_back(key_type(alloc_), 0, json_object_arg, tag);
  136|  11.6k|        }
  137|  39.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  39.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  138|  39.2k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  141|  27.8k|    {
  142|  27.8k|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   49|  27.8k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 27.8k]
  |  |  ------------------
  |  |   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|  27.8k|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::object_kind);
  ------------------
  |  |   49|  27.8k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 27.8k]
  |  |  ------------------
  |  |   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|  27.8k|        const size_t structure_index = structure_stack_.back().structure_index;
  145|  27.8k|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   49|  27.8k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 27.8k]
  |  |  ------------------
  |  |   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|  27.8k|        const size_t size = item_stack_.size() - (structure_index + 1);
  148|  27.8k|        auto first = item_stack_.begin() + (structure_index+1);
  149|  27.8k|        auto& structure = structure_stack_[structure_stack_.size()-2];
  150|  27.8k|        auto& obj = item_stack_[structure_index].value;
  151|       |
  152|  27.8k|        if (size > 0)
  ------------------
  |  Branch (152:13): [True: 13.6k, False: 14.1k]
  ------------------
  153|  13.6k|        {
  154|  13.6k|            obj.template cast<typename Json::object_storage>().value().uninitialized_init(
  155|  13.6k|                &item_stack_[structure_index+1], size);
  156|  13.6k|            item_stack_.erase(first, item_stack_.end());
  157|  13.6k|        }
  158|       |
  159|  27.8k|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (159:13): [True: 2.03k, False: 25.8k]
  ------------------
  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|  27.8k|        structure_stack_.pop_back();
  167|  27.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  27.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  168|  27.8k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  171|  43.5k|    {
  172|  43.5k|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (172:13): [True: 17.6k, False: 25.8k]
  ------------------
  173|  17.6k|        {
  174|  17.6k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  175|  17.6k|            item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  176|  17.6k|        }
  177|  25.8k|        else
  178|  25.8k|        {
  179|  25.8k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  180|  25.8k|            item_stack_.emplace_back(key_type(alloc_), 0, json_array_arg, tag);
  181|  25.8k|        }
  182|  43.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  43.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  183|  43.5k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  220|  11.5M|    {
  221|  11.5M|        name_ = key_type(name.data(),name.length(),alloc_);
  222|  11.5M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  223|  11.5M|    }
_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.2M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (392:13): [True: 11.2M, False: 9.52M]
  ------------------
  393|  11.2M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  394|  11.2M|                break;
  395|  9.52M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (395:13): [True: 9.52M, False: 11.2M]
  ------------------
  396|  9.52M|                item_stack_.emplace_back(key_type(alloc_), 0, null_type(), tag);
  397|  9.52M|                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|  29.7k|    {
  372|  29.7k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (372:17): [True: 29.7k, False: 0]
  ------------------
  373|  29.7k|        {
  374|  26.4k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (374:13): [True: 26.4k, False: 3.21k]
  ------------------
  375|  26.4k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  376|  26.4k|                break;
  377|  3.21k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (377:13): [True: 3.21k, False: 26.4k]
  ------------------
  378|  3.21k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  379|  3.21k|                break;
  380|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (380:13): [True: 0, False: 29.7k]
  ------------------
  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|  29.7k|        }
  385|  29.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  29.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  29.7k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  226|   135k|    {
  227|   135k|        auto& structure = structure_stack_.back();
  228|   135k|        switch (structure.structure_kind)
  ------------------
  |  Branch (228:17): [True: 135k, False: 0]
  ------------------
  229|   135k|        {
  230|   123k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (230:13): [True: 123k, False: 11.8k]
  ------------------
  231|   123k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  232|   123k|                break;
  233|  11.8k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (233:13): [True: 11.8k, False: 123k]
  ------------------
  234|  11.8k|                item_stack_.emplace_back(key_type(alloc_), 0, sv, tag);
  235|  11.8k|                break;
  236|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (236:13): [True: 0, False: 135k]
  ------------------
  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|   135k|        }
  241|   135k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   135k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  242|   135k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  269|  16.6k|    {
  270|  16.6k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (270:17): [True: 16.6k, False: 0]
  ------------------
  271|  16.6k|        {
  272|  14.3k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (272:13): [True: 14.3k, False: 2.31k]
  ------------------
  273|  14.3k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, raw_tag);
  274|  14.3k|                break;
  275|  2.31k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (275:13): [True: 2.31k, False: 14.3k]
  ------------------
  276|  2.31k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, raw_tag);
  277|  2.31k|                break;
  278|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (278:13): [True: 0, False: 16.6k]
  ------------------
  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|  16.6k|        }
  283|  16.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  16.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|  16.6k|    }
_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.79k|        virtual ~json_exception() = default;
_ZN8jsoncons9ser_errorC1ENSt3__110error_codeEmm:
  194|  4.79k|            : ec_(ec), line_(line), column_(column)
  195|  4.79k|        {
  196|  4.79k|            err_ = to_what_arg(ec, "", line, column); 
  197|  4.79k|        }
_ZN8jsoncons9ser_error11to_what_argENSt3__110error_codeEPKcmm:
  233|  4.79k|        {
  234|  4.79k|            std::string what_arg(s);
  235|  4.79k|            if (!what_arg.empty())
  ------------------
  |  Branch (235:17): [True: 0, False: 4.79k]
  ------------------
  236|      0|            {
  237|      0|                what_arg.append(": ");
  238|      0|            }
  239|  4.79k|            what_arg.append(ec.message());
  240|  4.79k|            if (line != 0 && column != 0)
  ------------------
  |  Branch (240:17): [True: 0, False: 4.79k]
  |  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.79k|            else if (column != 0)
  ------------------
  |  Branch (247:22): [True: 4.79k, False: 0]
  ------------------
  248|  4.79k|            {
  249|  4.79k|                what_arg.append(" at position ");
  250|  4.79k|                what_arg.append(std::to_string(column));
  251|  4.79k|            }
  252|  4.79k|            return what_arg; 
  253|  4.79k|        }

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  4.81k|{
 1065|  4.81k|    return json_visitor_adaptor<From, To>(to);
 1066|  4.81k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  4.81k|        : supertype(visitor)
  984|  4.81k|    {
  985|  4.81k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  4.81k|        : destination1_(std::addressof(visitor))
  722|  4.81k|    {
  723|  4.81k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  19.5k|    {
  784|  19.5k|        destination1_->end_array(context, ec);
  785|  19.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  19.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  19.5k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  15.5k|    {
  826|  15.5k|        destination1_->uint64_value(value, tag, context, ec);
  827|  15.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  15.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  15.5k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|   214k|    {
  820|   214k|        destination1_->int64_value(value, tag, context, ec);
  821|   214k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   214k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|   214k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  13.9k|    {
  814|  13.9k|        destination1_->double_value(value, tag, context, ec);
  815|  13.9k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  13.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  13.9k|    }
_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|  39.2k|    {
  746|  39.2k|        destination1_->begin_object(tag, context, ec);
  747|  39.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  39.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  748|  39.2k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  27.8k|    {
  761|  27.8k|        destination1_->end_object(context, ec);
  762|  27.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  27.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  27.8k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  768|  43.5k|    {
  769|  43.5k|        destination1_->begin_array(tag, context, ec);
  770|  43.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  43.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  771|  43.5k|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE9visit_keyERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEERKNS_11ser_contextERNS6_10error_codeE:
  995|  11.5M|    {
  996|  11.5M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  11.5M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  11.6M|    {
  733|  11.6M|        return *destination1_;
  734|  11.6M|    }
_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|  29.7k|    {
  832|  29.7k|        destination1_->bool_value(value, tag, context, ec);
  833|  29.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  29.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  29.7k|    }
_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|   135k|    {
 1004|   135k|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|   135k|    }
_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|  16.6k|    {
  802|  16.6k|        destination1_->byte_string_value(b, raw_tag, context, ec);
  803|  16.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  16.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|  16.6k|    }

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  9.62k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  9.62k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  31.1k|        {
  415|  31.1k|            visit_uint64(value, tag, context, ec);
  416|  31.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  31.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  31.1k|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  39.1k|        {
  352|  39.1k|            visit_end_array(context, ec);
  353|  39.1k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  39.1k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  39.1k|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|   428k|        {
  424|   428k|            visit_int64(value, tag, context, ec);
  425|   428k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   428k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|   428k|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  27.9k|        {
  442|  27.9k|            visit_double(value, tag, context, ec);
  443|  27.9k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  27.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  27.9k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|     30|        {
  109|     30|            visit_flush();
  110|     30|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  318|  78.4k|        {
  319|  78.4k|            visit_begin_object(tag, context, ec);
  320|  78.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  78.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  321|  78.4k|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  55.7k|        {
  334|  55.7k|            visit_end_object(context, ec);
  335|  55.7k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  55.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  55.7k|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  339|  87.0k|        {
  340|  87.0k|            visit_begin_array(tag, context, ec);
  341|  87.0k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  87.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  342|  87.0k|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  23.0M|        {
  358|  23.0M|            visit_key(name, context, ec);
  359|  23.0M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  23.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  23.0M|        }
_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|  59.4k|        {
  375|  59.4k|            visit_bool(value, tag, context, ec);
  376|  59.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  59.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  59.4k|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|   271k|        {
  384|   271k|            visit_string(value, tag, context, ec);
  385|   271k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   271k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|   271k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|  33.3k|        {
  406|  33.3k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|  33.3k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  33.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|  33.3k|        }

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|  63.3k|    {
  121|  63.3k|        return value_;
  122|  63.3k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  48.6M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  15.5k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  15.5k|    {
   45|  15.5k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  55.1M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   214k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   214k|    {
   45|   214k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  13.9k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  13.9k|    {
   45|  13.9k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  39.2k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  39.2k|    {
   45|  39.2k|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|  46.1k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|  46.1k|    {
   88|  46.1k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  43.5k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  43.5k|    {
   45|  43.5k|    }
_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|  29.7k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  29.7k|    {
   45|  29.7k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|   135k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   135k|    {
   45|   135k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  16.6k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  16.6k|    {
   45|  16.6k|    }

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  3.70k|        {
  159|  3.70k|            return data_.empty();
  160|  3.70k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  4.17k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  4.17k|        {
  169|  4.17k|            return data_.begin();
  170|  4.17k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  4.17k|        {
  174|  4.17k|            return data_.end();
  175|  4.17k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  39.2k|        {
  154|  39.2k|            flatten_and_destroy();
  155|  39.2k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|  39.2k|        {
  725|  39.2k|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 10.4k, False: 28.7k]
  ------------------
  726|  10.4k|            {
  727|  10.4k|                json_array<Json> temp(get_allocator());
  728|       |
  729|  10.4k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 41.2k, False: 10.4k]
  ------------------
  730|  41.2k|                {
  731|  41.2k|                    switch (kv.value().storage_kind())
  732|  41.2k|                    {
  733|  4.41k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 4.41k, False: 36.7k]
  ------------------
  734|  6.55k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 2.13k, False: 39.0k]
  ------------------
  735|  6.55k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 3.70k, False: 2.84k]
  ------------------
  736|  3.70k|                            {
  737|  3.70k|                                temp.emplace_back(std::move(kv.value()));
  738|  3.70k|                            }
  739|  6.55k|                            break;
  740|  34.6k|                        default:
  ------------------
  |  Branch (740:25): [True: 34.6k, False: 6.55k]
  ------------------
  741|  34.6k|                            break;
  742|  41.2k|                    }
  743|  41.2k|                }
  744|  10.4k|            }
  745|  39.2k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  39.2k|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  13.6k|        {
  278|  13.6k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 13.6k, False: 0]
  ------------------
  279|  13.6k|            {
  280|  13.6k|                data_.reserve(count);
  281|       |
  282|  13.6k|                std::sort(items, items+count, compare);
  283|  13.6k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  9.51M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 9.50M, False: 13.6k]
  ------------------
  286|  9.50M|                {
  287|  9.50M|                    auto& item = items[i];
  288|  9.50M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 32.4k, False: 9.47M]
  ------------------
  289|  32.4k|                    {
  290|  32.4k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|  32.4k|                    }
  292|  9.50M|                }
  293|  13.6k|            }
  294|  13.6k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|   225M|        {
  269|   225M|            int comp = item1.name.compare(item2.name); 
  270|   225M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 1.55M, False: 223M]
  ------------------
  271|   223M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 223M, False: 472k]
  ------------------
  272|       |
  273|   472k|            return false;
  274|   223M|        }

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  176|  4.81k|        : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  177|  4.81k|          chunk_size_(default_max_chunk_size)
  178|  4.81k|    {
  179|  4.81k|        chunk_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, chunk_size_);
  180|  4.81k|        data_ = chunk_;
  181|  4.81k|    }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   57|  4.81k|      : std::basic_istream<CharT>(&nb_)
   58|  4.81k|    {
   59|  4.81k|    }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   43|  4.81k|        null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  193|  4.81k|    {
  194|  4.81k|        if (chunk_)
  ------------------
  |  Branch (194:13): [True: 4.81k, False: 0]
  ------------------
  195|  4.81k|        {
  196|  4.81k|            std::allocator_traits<char_allocator_type>::deallocate(alloc_, chunk_, chunk_size_);
  197|  4.81k|        }
  198|  4.81k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|  4.79k|    {
  282|  4.79k|        return position_;
  283|  4.79k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  4.81k|    {
  277|  4.81k|        return stream_ptr_->bad();  
  278|  4.81k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  372|  77.5M|    {
  373|  77.5M|        std::size_t len = 0;
  374|  77.5M|        if (count_ > 0)
  ------------------
  |  Branch (374:13): [True: 77.5M, False: 10.8k]
  ------------------
  375|  77.5M|        {
  376|  77.5M|            len = (std::min)(count_, length);
  377|  77.5M|            std::memcpy(p, data_, len*sizeof(value_type));
  378|  77.5M|            data_ += len;
  379|  77.5M|            count_ -= len;
  380|  77.5M|            position_ += len;
  381|  77.5M|        }
  382|  77.5M|        if (length - len == 0)
  ------------------
  |  Branch (382:13): [True: 77.5M, False: 11.8k]
  ------------------
  383|  77.5M|        {
  384|  77.5M|            return len;
  385|  77.5M|        }
  386|  11.8k|        else if (length - len < chunk_size_)
  ------------------
  |  Branch (386:18): [True: 11.8k, False: 0]
  ------------------
  387|  11.8k|        {
  388|  11.8k|            data_ = chunk_;
  389|  11.8k|            count_ = fill_buffer(chunk_, chunk_size_);
  390|  11.8k|            if (count_ > 0)
  ------------------
  |  Branch (390:17): [True: 10.0k, False: 1.79k]
  ------------------
  391|  10.0k|            {
  392|  10.0k|                std::size_t len2 = (std::min)(count_, length-len);
  393|  10.0k|                std::memcpy(p+len, data_, len2*sizeof(value_type));
  394|  10.0k|                data_ += len2;
  395|  10.0k|                count_ -= len2;
  396|  10.0k|                position_ += len2;
  397|  10.0k|                len += len2;
  398|  10.0k|            }
  399|  11.8k|            return len;
  400|  11.8k|        }
  401|      0|        else
  402|      0|        {
  403|      0|            if (stream_ptr_->eof())
  ------------------
  |  Branch (403:17): [True: 0, False: 0]
  ------------------
  404|      0|            {
  405|      0|                count_ = 0;
  406|      0|                return 0;
  407|      0|            }
  408|      0|            JSONCONS_TRY
  ------------------
  |  |   37|      0|    #define JSONCONS_TRY try
  ------------------
  409|      0|            {
  410|      0|                std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(p+len), length-len);
  411|      0|                std::size_t len2 = static_cast<std::size_t>(count);
  412|      0|                if (len2 < length-len)
  ------------------
  |  Branch (412:21): [True: 0, False: 0]
  ------------------
  413|      0|                {
  414|      0|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  415|      0|                }
  416|      0|                len += len2;
  417|      0|                position_ += len2;
  418|      0|                return len;
  419|      0|            }
  420|      0|            JSONCONS_CATCH(const std::exception&)     
  421|      0|            {
  422|      0|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  423|      0|                return 0;
  424|      0|            }
  425|      0|        }
  426|  77.5M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  430|  12.1k|    {
  431|  12.1k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (431:13): [True: 1.77k, False: 10.4k]
  ------------------
  432|  1.77k|        {
  433|  1.77k|            return 0;
  434|  1.77k|        }
  435|       |
  436|  10.4k|        JSONCONS_TRY
  ------------------
  |  |   37|  10.4k|    #define JSONCONS_TRY try
  ------------------
  437|  10.4k|        {
  438|  10.4k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  439|  10.4k|            std::size_t length = static_cast<std::size_t>(count);
  440|       |
  441|  10.4k|            if (length < chunk_size)
  ------------------
  |  Branch (441:17): [True: 4.78k, False: 5.61k]
  ------------------
  442|  4.78k|            {
  443|  4.78k|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  444|  4.78k|            }
  445|  10.4k|            return length;
  446|  10.4k|        }
  447|  10.4k|        JSONCONS_CATCH(const std::exception&)     
  448|  10.4k|        {
  449|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  450|      0|            return 0;
  451|      0|        }
  452|  10.4k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_12basic_stringIcNS1_11char_traitsIcEENS2_IcEEEEEENS_6detail4spanIKhLm18446744073709551615EEEmOT_:
  352|  2.34k|    {
  353|  2.34k|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   78|  2.34k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.42k, False: 918]
  |  |  ------------------
  ------------------
  354|  1.42k|        {
  355|  1.42k|            return span<const value_type>{};
  356|  1.42k|        }
  357|    918|        if (length > count_)
  ------------------
  |  Branch (357:13): [True: 184, False: 734]
  ------------------
  358|    184|        {
  359|    184|            buffer.clear();
  360|    184|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  361|    184|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  362|    184|        }
  363|       |
  364|    734|        const value_type* data = data_;
  365|    734|        data_ += length;
  366|    734|        count_ -= length;
  367|    734|        position_ += length;
  368|    734|        return span<const value_type>(data, length);
  369|    918|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_12basic_stringIcNS2_11char_traitsIcEENS3_IcEEEEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSG_m:
  996|    184|    {
  997|    184|        std::size_t unread = length;
  998|       |
  999|    724|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (999:16): [True: 663, False: 61]
  |  Branch (999:30): [True: 540, False: 123]
  ------------------
 1000|    540|        {
 1001|    540|            if (source.count() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (1001:17): [True: 160, False: 380]
  |  Branch (1001:40): [True: 160, False: 0]
  ------------------
 1002|    160|            {
 1003|    160|                std::size_t n = source.chunk_size();
 1004|    160|                std::size_t offset = buffer.size();
 1005|    160|                buffer.resize(buffer.size()+n);
 1006|    160|                std::size_t actual = source.fill_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
 1007|    160|                unread -= actual;
 1008|    160|            }
 1009|    380|            else
 1010|    380|            {
 1011|    380|                std::size_t n = (std::min)(source.chunk_size(), unread);
 1012|    380|                std::size_t offset = buffer.size();
 1013|    380|                buffer.resize(buffer.size()+n);
 1014|    380|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
 1015|    380|                unread -= actual;
 1016|    380|            }
 1017|    540|        }
 1018|    184|        return length - unread;
 1019|    184|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  1.66k|    {
  272|  1.66k|        return count_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 698, False: 963]
  |  Branch (272:31): [True: 332, False: 366]
  ------------------
  273|  1.66k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE5countEv:
  346|  1.32k|    {
  347|  1.32k|        return count_;
  348|  1.32k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|  1.69k|    {
  262|  1.69k|        return chunk_size_;
  263|  1.69k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_6vectorIhS3_EEEENS_6detail4spanIKhLm18446744073709551615EEEmOT_:
  352|  16.7k|    {
  353|  16.7k|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   78|  16.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 7.87k, False: 8.92k]
  |  |  ------------------
  ------------------
  354|  7.87k|        {
  355|  7.87k|            return span<const value_type>{};
  356|  7.87k|        }
  357|  8.92k|        if (length > count_)
  ------------------
  |  Branch (357:13): [True: 233, False: 8.69k]
  ------------------
  358|    233|        {
  359|    233|            buffer.clear();
  360|    233|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  361|    233|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  362|    233|        }
  363|       |
  364|  8.69k|        const value_type* data = data_;
  365|  8.69k|        data_ += length;
  366|  8.69k|        count_ -= length;
  367|  8.69k|        position_ += length;
  368|  8.69k|        return span<const value_type>(data, length);
  369|  8.92k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSD_m:
  996|    233|    {
  997|    233|        std::size_t unread = length;
  998|       |
  999|  1.02k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (999:16): [True: 998, False: 24]
  |  Branch (999:30): [True: 789, False: 209]
  ------------------
 1000|    789|        {
 1001|    789|            if (source.count() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (1001:17): [True: 206, False: 583]
  |  Branch (1001:40): [True: 206, False: 0]
  ------------------
 1002|    206|            {
 1003|    206|                std::size_t n = source.chunk_size();
 1004|    206|                std::size_t offset = buffer.size();
 1005|    206|                buffer.resize(buffer.size()+n);
 1006|    206|                std::size_t actual = source.fill_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
 1007|    206|                unread -= actual;
 1008|    206|            }
 1009|    583|            else
 1010|    583|            {
 1011|    583|                std::size_t n = (std::min)(source.chunk_size(), unread);
 1012|    583|                std::size_t offset = buffer.size();
 1013|    583|                buffer.resize(buffer.size()+n);
 1014|    583|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
 1015|    583|                unread -= actual;
 1016|    583|            }
 1017|    789|        }
 1018|    233|        return length - unread;
 1019|    233|    }

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

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

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  56.3k|    {       
  242|  56.3k|        return (ptr);
  243|  56.3k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|  16.6k|    {       
  242|  16.6k|        return (ptr);
  243|  16.6k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  87.0k|    {       
  242|  87.0k|        return (ptr);
  243|  87.0k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  78.4k|    {       
  242|  78.4k|        return (ptr);
  243|  78.4k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|  72.9k|    {       
  242|  72.9k|        return (ptr);
  243|  72.9k|    }  

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  11.5M|    {
 1148|  11.5M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  11.5M|        const uint8_t* end = it + length;
 1150|       |
 1151|  11.5M|        unicode_errc  result{};
 1152|  14.9M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 3.37M, False: 11.5M]
  ------------------
 1153|  3.37M|        {
 1154|  3.37M|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 2.75M, False: 624k]
  ------------------
 1155|  2.75M|            {
 1156|  19.2M|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  281|  5.50M|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (281:32): [True: 2.75M, False: 3.26k]
  |  |  |  Branch (281:34): [True: 2.74M, False: 1.08k]
  |  |  |  Branch (281:36): [True: 2.74M, False: 1.57k]
  |  |  |  Branch (281:38): [True: 2.74M, False: 1.37k]
  |  |  |  Branch (281:40): [True: 2.74M, False: 1.03k]
  |  |  |  Branch (281:42): [True: 2.74M, False: 1.81k]
  |  |  |  Branch (281:44): [True: 2.74M, False: 997]
  |  |  |  Branch (281:46): [True: 2.74M, False: 1.15k]
  |  |  ------------------
  ------------------
 1157|  2.74M|                continue;
 1158|  19.2M|            }
 1159|   637k|    non_ascii:
 1160|   637k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|   637k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 47, False: 637k]
  ------------------
 1162|     47|            {
 1163|     47|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     47|            }
 1165|   637k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 144, False: 637k]
  ------------------
 1166|    144|            {
 1167|    144|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    144|            }
 1169|   637k|            it += len;
 1170|   637k|        }
 1171|  11.5M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  11.5M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|   637k|    {
  306|   637k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|   637k|        const uint8_t* end = it+length;
  308|       |
  309|   637k|        uint8_t byte;
  310|   637k|        switch (length) {
  311|     14|        default:
  ------------------
  |  Branch (311:9): [True: 14, False: 637k]
  ------------------
  312|     14|            return unicode_errc::over_long_utf8_sequence;
  313|  4.57k|        case 4:
  ------------------
  |  Branch (313:9): [True: 4.57k, False: 632k]
  ------------------
  314|  4.57k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 13, False: 4.56k]
  ------------------
  315|     13|                return unicode_errc::bad_continuation_byte;
  316|  4.56k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  4.56k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  10.4k|        case 3:
  ------------------
  |  Branch (317:9): [True: 5.87k, False: 631k]
  ------------------
  318|  10.4k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 17, False: 10.4k]
  ------------------
  319|     17|                return unicode_errc::bad_continuation_byte;
  320|  10.4k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  10.4k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  12.7k|        case 2:
  ------------------
  |  Branch (321:9): [True: 2.28k, False: 634k]
  ------------------
  322|  12.7k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 29, False: 12.6k]
  ------------------
  323|     29|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  12.6k|            switch (*it) 
  326|  12.6k|            {
  327|       |                // no fall-through in this inner switch
  328|  1.25k|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 1.25k, False: 11.4k]
  |  Branch (328:32): [True: 6, False: 1.24k]
  ------------------
  329|  1.29k|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 1.29k, False: 11.3k]
  |  Branch (329:32): [True: 5, False: 1.28k]
  ------------------
  330|  1.28k|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 363, False: 12.3k]
  |  Branch (330:32): [True: 5, False: 358]
  ------------------
  331|    511|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 511, False: 12.1k]
  |  Branch (331:32): [True: 7, False: 504]
  ------------------
  332|  9.26k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 9.26k, False: 3.42k]
  |  Branch (332:32): [True: 0, False: 9.26k]
  ------------------
  333|  12.6k|            }
  334|       |
  335|  12.6k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  12.6k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|   637k|        case 1:
  ------------------
  |  Branch (336:9): [True: 624k, False: 12.7k]
  ------------------
  337|   637k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 12.6k, False: 624k]
  |  Branch (337:32): [True: 47, False: 12.6k]
  ------------------
  338|     47|                return unicode_errc::source_illegal;
  339|   637k|            break;
  340|   637k|        }
  341|   637k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 1, False: 637k]
  ------------------
  342|      1|            return unicode_errc::source_illegal;
  343|       |
  344|   637k|        return unicode_errc();
  345|   637k|    }

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

_ZN8jsoncons4bson3TP1C2Ev:
   78|  13.1k|        constexpr TP1() : low(0), high(0) {}
_ZN8jsoncons4bson19decimal128_to_charsEPcS1_RKNS0_3TP1E:
  335|  13.1k|    {
  336|  13.1k|        static const std::string bson_decimal128_inf = "Infinity";
  337|  13.1k|        static const std::string bson_decimal128_nan = "NaN";
  338|       |
  339|  13.1k|        static constexpr uint32_t combination_mask = 0x1f;   /* Extract least significant 5 bits */
  340|  13.1k|        static constexpr uint32_t exponent_mask = 0x3fff;    /* Extract least significant 14 bits */
  341|  13.1k|        static constexpr uint32_t combination_infinity = 30; /* Value of combination field for Inf */
  342|  13.1k|        static constexpr uint32_t combination_nan = 31;      /* Value of combination field for NaN */
  343|  13.1k|        static constexpr uint32_t exponent_bias = 6176;      /* decimal128 exponent bias */
  344|       |
  345|  13.1k|        char* str_out = first;      /* output pointer in string */
  346|  13.1k|        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|  13.1k|        uint32_t high;                   /* bits 0 - 31 */
  351|  13.1k|        uint32_t midh;                   /* bits 32 - 63 */
  352|  13.1k|        uint32_t midl;                   /* bits 64 - 95 */
  353|  13.1k|        uint32_t low;                    /* bits 96 - 127 */
  354|  13.1k|        uint32_t combination;            /* bits 1 - 5 */
  355|  13.1k|        uint32_t biased_exponent;        /* decoded biased exponent (14 bits) */
  356|  13.1k|        uint32_t significand_digits = 0; /* the number of significand digits */
  357|  13.1k|        uint32_t significand[36] = {0};  /* the base-10 digits in the significand */
  358|  13.1k|        uint32_t *significand_read = significand; /* read pointer into significand */
  359|  13.1k|        int32_t exponent;                         /* unbiased exponent */
  360|  13.1k|        int32_t scientific_exponent; /* the exponent if scientific notation is
  361|       |                                      * used */
  362|  13.1k|        bool is_zero = false;        /* true if the number is zero */
  363|       | 
  364|  13.1k|        uint8_t significand_msb; /* the most signifcant significand bits (50-46) */
  365|  13.1k|        bson_uint128_t
  366|  13.1k|           significand128; /* temporary storage for significand decoding */
  367|       | 
  368|  13.1k|        memset (significand_str, 0, sizeof (significand_str));
  369|       | 
  370|  13.1k|        if ((int64_t) dec.high < 0) { /* negative */
  ------------------
  |  Branch (370:13): [True: 2.38k, False: 10.7k]
  ------------------
  371|  2.38k|           *(str_out++) = '-';
  372|  2.38k|        }
  373|       | 
  374|  13.1k|        low = (uint32_t) dec.low, midl = (uint32_t) (dec.low >> 32),
  375|  13.1k|        midh = (uint32_t) dec.high, high = (uint32_t) (dec.high >> 32);
  376|       | 
  377|       |        /* Decode combination field and exponent */
  378|  13.1k|        combination = (high >> 26) & combination_mask;
  379|       | 
  380|  13.1k|        if (JSONCONS_UNLIKELY ((combination >> 3) == 3)) {
  ------------------
  |  |   78|  13.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3.38k, False: 9.74k]
  |  |  ------------------
  ------------------
  381|       |           /* Check for 'special' values */
  382|  3.38k|           if (combination == combination_infinity) { /* Infinity */
  ------------------
  |  Branch (382:16): [True: 195, False: 3.18k]
  ------------------
  383|    195|               if (last-str_out >= static_cast<ptrdiff_t >(bson_decimal128_inf.size())) 
  ------------------
  |  Branch (383:20): [True: 195, False: 0]
  ------------------
  384|    195|               {
  385|    195|                   std::memcpy(str_out, bson_decimal128_inf.data(), bson_decimal128_inf.size());
  386|    195|                   str_out += bson_decimal128_inf.size();
  387|    195|               }
  388|    195|               *str_out = 0;
  389|       |              //strcpy_s (str_out, last-str_out, bson_decimal128_inf.c_str());
  390|    195|              return decimal128_to_chars_result{str_out, std::errc{}};
  391|  3.18k|           } else if (combination == combination_nan) { /* NaN */
  ------------------
  |  Branch (391:23): [True: 1.66k, False: 1.51k]
  ------------------
  392|       |               /* first, not str_out, to erase the sign */
  393|  1.66k|               str_out = first;
  394|  1.66k|               if (last-str_out >= static_cast<ptrdiff_t >(bson_decimal128_nan.size())) 
  ------------------
  |  Branch (394:20): [True: 1.66k, False: 0]
  ------------------
  395|  1.66k|               {
  396|  1.66k|                   std::memcpy(str_out, bson_decimal128_nan.data(), bson_decimal128_nan.size());
  397|  1.66k|                   str_out += bson_decimal128_nan.size();
  398|  1.66k|               }
  399|  1.66k|               *str_out = 0;
  400|       |              //strcpy_s (first, last-first, bson_decimal128_nan.c_str());
  401|       |              /* we don't care about the NaN payload. */
  402|  1.66k|               return decimal128_to_chars_result{str_out, std::errc{}};
  403|  1.66k|           } else {
  404|  1.51k|              biased_exponent = (high >> 15) & exponent_mask;
  405|  1.51k|              significand_msb = 0x8 + ((high >> 14) & 0x1);
  406|  1.51k|           }
  407|  9.74k|        } else {
  408|  9.74k|           significand_msb = (high >> 14) & 0x7;
  409|  9.74k|           biased_exponent = (high >> 17) & exponent_mask;
  410|  9.74k|        }
  411|       | 
  412|  11.2k|        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|  11.2k|        significand128.parts[0] = (high & 0x3fff) + ((significand_msb & 0xf) << 14);
  419|  11.2k|        significand128.parts[1] = midh;
  420|  11.2k|        significand128.parts[2] = midl;
  421|  11.2k|        significand128.parts[3] = low;
  422|       | 
  423|  11.2k|        if (significand128.parts[0] == 0 && significand128.parts[1] == 0 &&
  ------------------
  |  Branch (423:13): [True: 4.07k, False: 7.19k]
  |  Branch (423:45): [True: 2.02k, False: 2.04k]
  ------------------
  424|  2.02k|            significand128.parts[2] == 0 && significand128.parts[3] == 0) {
  ------------------
  |  Branch (424:13): [True: 1.68k, False: 341]
  |  Branch (424:45): [True: 1.10k, False: 575]
  ------------------
  425|  1.10k|           is_zero = true;
  426|  10.1k|        } else if (significand128.parts[0] >= (1 << 17)) {
  ------------------
  |  Branch (426:20): [True: 1.51k, False: 8.63k]
  ------------------
  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.51k|           is_zero = true;
  434|  8.63k|        } else {
  435|  43.1k|           for (int k = 3; k >= 0; k--) {
  ------------------
  |  Branch (435:28): [True: 34.5k, False: 8.63k]
  ------------------
  436|  34.5k|              uint32_t least_digits = 0;
  437|  34.5k|              detail::bson_uint128_divide1B (
  438|  34.5k|                 significand128, &significand128, &least_digits);
  439|       | 
  440|       |              /* We now have the 9 least significant digits (in base 2). */
  441|       |              /* Convert and output to string. */
  442|  34.5k|              if (!least_digits) {
  ------------------
  |  Branch (442:19): [True: 2.18k, False: 32.3k]
  ------------------
  443|  2.18k|                 continue;
  444|  2.18k|              }
  445|       | 
  446|   323k|              for (int j = 8; j >= 0; j--) {
  ------------------
  |  Branch (446:31): [True: 291k, False: 32.3k]
  ------------------
  447|   291k|                 significand[k * 9 + j] = least_digits % 10;
  448|   291k|                 least_digits /= 10;
  449|   291k|              }
  450|  32.3k|           }
  451|  8.63k|        }
  452|       | 
  453|       |        /* Output format options: */
  454|       |        /* Scientific - [-]d.dddE(+/-)dd or [-]dE(+/-)dd */
  455|       |        /* Regular    - ddd.ddd */
  456|       | 
  457|  11.2k|        if (is_zero) {
  ------------------
  |  Branch (457:13): [True: 2.62k, False: 8.63k]
  ------------------
  458|  2.62k|           significand_digits = 1;
  459|  2.62k|           *significand_read = 0;
  460|  8.63k|        } else {
  461|  8.63k|           significand_digits = 36;
  462|  62.5k|           while (!(*significand_read)) {
  ------------------
  |  Branch (462:19): [True: 53.9k, False: 8.63k]
  ------------------
  463|  53.9k|              significand_digits--;
  464|  53.9k|              significand_read++;
  465|  53.9k|           }
  466|  8.63k|        }
  467|       | 
  468|  11.2k|        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|  11.2k|        if (scientific_exponent < -6 || exponent > 0) {
  ------------------
  |  Branch (478:13): [True: 8.56k, False: 2.69k]
  |  Branch (478:41): [True: 1.79k, False: 907]
  ------------------
  479|       |           /* Scientific format */
  480|  10.3k|           *(str_out++) = char(*(significand_read++)) + '0';
  481|  10.3k|           significand_digits--;
  482|       | 
  483|  10.3k|           if (significand_digits) {
  ------------------
  |  Branch (483:16): [True: 7.74k, False: 2.61k]
  ------------------
  484|  7.74k|              *(str_out++) = '.';
  485|  7.74k|           }
  486|       | 
  487|   233k|           for (std::size_t i = 0; i < significand_digits && (str_out - first) < 36; i++) {
  ------------------
  |  Branch (487:36): [True: 223k, False: 10.3k]
  |  Branch (487:62): [True: 223k, False: 6]
  ------------------
  488|   223k|              *(str_out++) = char(*(significand_read++)) + '0';
  489|   223k|           }
  490|       |           /* Exponent */
  491|  10.3k|           *(str_out++) = 'E';
  492|       |
  493|  10.3k|           std::string s;
  494|  10.3k|           if (scientific_exponent >= 0) {
  ------------------
  |  Branch (494:16): [True: 1.79k, False: 8.56k]
  ------------------
  495|  1.79k|               s.push_back('+');
  496|  1.79k|           }
  497|  10.3k|           jsoncons::from_integer(scientific_exponent, s);
  498|  10.3k|           if (str_out + s.size() < last) 
  ------------------
  |  Branch (498:16): [True: 9.42k, False: 937]
  ------------------
  499|  9.42k|           {
  500|  9.42k|               std::memcpy(str_out, s.data(), s.size());
  501|  9.42k|           }
  502|    937|           else
  503|    937|           {
  504|    937|               return decimal128_to_chars_result{str_out, std::errc::value_too_large};
  505|    937|           }
  506|  9.42k|           str_out += s.size();
  507|  9.42k|        } else {
  508|       |           /* Regular format with no decimal place */
  509|    907|           if (exponent >= 0) {
  ------------------
  |  Branch (509:16): [True: 340, False: 567]
  ------------------
  510|  9.25k|              for (std::size_t i = 0; i < significand_digits && (str_out - first) < 36; i++) {
  ------------------
  |  Branch (510:39): [True: 8.91k, False: 340]
  |  Branch (510:65): [True: 8.91k, False: 0]
  ------------------
  511|  8.91k|                 *(str_out++) = char(*(significand_read++)) + '0';
  512|  8.91k|              }
  513|    567|           } else {
  514|    567|              int32_t radix_position = significand_digits + exponent;
  515|       | 
  516|    567|              if (radix_position > 0) { /* non-zero digits before radix */
  ------------------
  |  Branch (516:19): [True: 211, False: 356]
  ------------------
  517|    211|                 for (int32_t i = 0;
  518|  1.30k|                      i < radix_position && (str_out < last);
  ------------------
  |  Branch (518:23): [True: 1.08k, False: 211]
  |  Branch (518:45): [True: 1.08k, False: 0]
  ------------------
  519|  1.08k|                      i++) {
  520|  1.08k|                    *(str_out++) = char(*(significand_read++)) + '0';
  521|  1.08k|                 }
  522|    356|              } else { /* leading zero before radix point */
  523|    356|                 *(str_out++) = '0';
  524|    356|              }
  525|       | 
  526|    567|              *(str_out++) = '.';
  527|  1.55k|              while (radix_position++ < 0) { /* add leading zeros after radix */
  ------------------
  |  Branch (527:22): [True: 984, False: 567]
  ------------------
  528|    984|                 *(str_out++) = '0';
  529|    984|              }
  530|       | 
  531|    567|              for (std::size_t i = 0;
  532|  16.5k|                   (i < significand_digits - (std::max) (radix_position - 1, 0)) &&
  ------------------
  |  Branch (532:20): [True: 15.9k, False: 555]
  |  Branch (532:20): [True: 15.9k, False: 567]
  ------------------
  533|  15.9k|                   (str_out < last);
  ------------------
  |  Branch (533:20): [True: 15.9k, False: 12]
  ------------------
  534|  15.9k|                   i++) {
  535|  15.9k|                 *(str_out++) = char(*(significand_read++)) + '0';
  536|  15.9k|              }
  537|    567|           }
  538|    907|        }
  539|  10.3k|        return decimal128_to_chars_result{str_out, std::errc{}};
  540|  11.2k|    }
_ZN8jsoncons4bson6detail21bson_uint128_divide1BENS0_14bson_uint128_tEPS2_Pj:
  178|  34.5k|        {
  179|  34.5k|            static constexpr uint32_t DIVISOR = 1000 * 1000 * 1000;
  180|  34.5k|            uint64_t _rem = 0;
  181|  34.5k|            int i = 0;
  182|       |            
  183|  34.5k|            if (!value.parts[0] && !value.parts[1] && !value.parts[2] &&
  ------------------
  |  Branch (183:17): [True: 28.8k, False: 5.67k]
  |  Branch (183:36): [True: 20.6k, False: 8.27k]
  |  Branch (183:55): [True: 11.3k, False: 9.26k]
  ------------------
  184|  11.3k|                !value.parts[3]) {
  ------------------
  |  Branch (184:17): [True: 2.18k, False: 9.15k]
  ------------------
  185|  2.18k|               *quotient = value;
  186|  2.18k|               *rem = 0;
  187|  2.18k|               return;
  188|  2.18k|            }
  189|       |            
  190|   161k|            for (i = 0; i <= 3; i++) {
  ------------------
  |  Branch (190:25): [True: 129k, False: 32.3k]
  ------------------
  191|   129k|               _rem <<= 32; /* Adjust remainder to match value of next dividend */
  192|   129k|               _rem += value.parts[i]; /* Add the divided to _rem */
  193|   129k|               value.parts[i] = (uint32_t) (_rem / DIVISOR);
  194|   129k|               _rem %= DIVISOR; /* Store the remainder */
  195|   129k|            }
  196|       |            
  197|  32.3k|            *quotient = value;
  198|  32.3k|            *rem = (uint32_t) _rem;
  199|  32.3k|        }

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

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

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

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

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

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

