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

_ZNK8jsoncons16allocator_holderINSt3__19allocatorIcEEE13get_allocatorEv:
   30|   134k|    {
   31|   134k|        return alloc_;
   32|   134k|    }
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2ERKS3_:
   25|  10.9k|        : alloc_(alloc)
   26|  10.9k|        {}
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2Ev:
   20|  75.2k|    allocator_holder() = default;

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2777|  84.6M|        {
 2778|  84.6M|             destroy();
 2779|  84.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  901|  84.6M|        {
  902|  84.6M|            switch (storage_kind())
  903|  84.6M|            {
  904|  97.8k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (904:17): [True: 97.8k, False: 84.5M]
  ------------------
  905|  97.8k|                {
  906|  97.8k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (906:25): [True: 97.8k, False: 0]
  ------------------
  907|  97.8k|                    {
  908|  97.8k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  909|  97.8k|                    }
  910|  97.8k|                    break;
  911|      0|                }
  912|  63.6k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (912:17): [True: 63.6k, False: 84.5M]
  ------------------
  913|  63.6k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (913:25): [True: 63.6k, False: 0]
  ------------------
  914|  63.6k|                    {
  915|  63.6k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  916|  63.6k|                    }
  917|  63.6k|                    break;
  918|  36.7k|                case json_storage_kind::array:
  ------------------
  |  Branch (918:17): [True: 36.7k, False: 84.6M]
  ------------------
  919|  36.7k|                {
  920|  36.7k|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (920:25): [True: 36.7k, False: 0]
  ------------------
  921|  36.7k|                    {
  922|  36.7k|                        auto& stor = cast<array_storage>();
  923|  36.7k|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  924|  36.7k|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  925|  36.7k|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  926|  36.7k|                    }
  927|  36.7k|                    break;
  928|      0|                }
  929|  38.5k|                case json_storage_kind::object:
  ------------------
  |  Branch (929:17): [True: 38.5k, False: 84.6M]
  ------------------
  930|  38.5k|                {
  931|  38.5k|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (931:25): [True: 38.5k, False: 0]
  ------------------
  932|  38.5k|                    {
  933|  38.5k|                        auto& stor = cast<object_storage>();
  934|  38.5k|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  935|  38.5k|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  936|  38.5k|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  937|  38.5k|                    }
  938|  38.5k|                    break;
  939|      0|                }
  940|  84.4M|                default:
  ------------------
  |  Branch (940:17): [True: 84.4M, False: 236k]
  ------------------
  941|  84.4M|                    break;
  942|  84.6M|            }
  943|  84.6M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1465|   238M|        {
 1466|       |            // It is legal to access 'common_.storage_kind_' even though 
 1467|       |            // common_ is not the active member of the union because 'storage_kind_' 
 1468|       |            // is a part of the common initial sequence of all union members
 1469|       |            // as defined in 11.4-25 of the Standard.
 1470|   238M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1471|   238M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1007|   805k|        {
 1008|   805k|            return cast(identity<T>());
 1009|   805k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1098|   805k|        {
 1099|   805k|            return long_str_;
 1100|   805k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1007|   463k|        {
 1008|   463k|            return cast(identity<T>());
 1009|   463k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1108|   463k|        {
 1109|   463k|            return byte_str_;
 1110|   463k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1007|  6.12M|        {
 1008|  6.12M|            return cast(identity<T>());
 1009|  6.12M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1128|  6.12M|        {
 1129|  6.12M|            return array_;
 1130|  6.12M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2310|  63.8M|        {
 2311|  63.8M|            uninitialized_move(std::move(other));
 2312|  63.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1305|  63.8M|        {
 1306|  63.8M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1306:17): [True: 63.3M, False: 475k]
  ------------------
 1307|  63.3M|            {
 1308|  63.3M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1309|  63.3M|            }
 1310|   475k|            else
 1311|   475k|            {
 1312|   475k|                switch (other.storage_kind())
 1313|   475k|                {
 1314|   185k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1314:21): [True: 185k, False: 290k]
  ------------------
 1315|   185k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1316|   185k|                        other.construct<null_storage>();
 1317|   185k|                        break;
 1318|   108k|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1318:21): [True: 108k, False: 366k]
  ------------------
 1319|   108k|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1320|   108k|                        other.construct<null_storage>();
 1321|   108k|                        break;
 1322|  78.8k|                    case json_storage_kind::array:
  ------------------
  |  Branch (1322:21): [True: 78.8k, False: 396k]
  ------------------
 1323|  78.8k|                        construct<array_storage>(other.cast<array_storage>());
 1324|  78.8k|                        other.construct<null_storage>();
 1325|  78.8k|                        break;
 1326|   102k|                    case json_storage_kind::object:
  ------------------
  |  Branch (1326:21): [True: 102k, False: 372k]
  ------------------
 1327|   102k|                        construct<object_storage>(other.cast<object_storage>());
 1328|   102k|                        other.construct<null_storage>();
 1329|   102k|                        break;
 1330|      0|                    default:
  ------------------
  |  Branch (1330:21): [True: 0, False: 475k]
  ------------------
 1331|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1332|      0|                        break;
 1333|   475k|                }
 1334|   475k|            }
 1335|  63.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  998|   256k|        {
  999|   256k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   256k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  629|   327k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  630|   327k|            {
  631|   327k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  998|   475k|        {
  999|   475k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   475k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1007|  21.2M|        {
 1008|  21.2M|            return cast(identity<T>());
 1009|  21.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1018|  21.2M|        {
 1019|  21.2M|            return null_;
 1020|  21.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  450|  20.8M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  451|  20.8M|            {
  452|  20.8M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  998|   136k|        {
  999|   136k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   136k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  678|   163k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  679|   163k|            {
  680|   163k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  998|   156k|        {
  999|   156k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   156k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  730|   234k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  731|   234k|            {
  732|   234k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  998|   161k|        {
  999|   161k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   161k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  780|   219k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  781|   219k|            {
  782|   219k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4762|  5.40k|        {
 4763|  5.40k|            switch (storage_kind())
 4764|  5.40k|            {
 4765|  5.40k|                case json_storage_kind::array:
  ------------------
  |  Branch (4765:17): [True: 5.40k, False: 0]
  ------------------
 4766|  5.40k|                    return array_range_type(cast<array_storage>().value().begin(),
 4767|  5.40k|                        cast<array_storage>().value().end());
 4768|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4768:17): [True: 0, False: 5.40k]
  ------------------
 4769|      0|                    return cast<json_ref_storage>().value().array_range();
 4770|      0|                default:
  ------------------
  |  Branch (4770:17): [True: 0, False: 5.40k]
  ------------------
 4771|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4772|  5.40k|            }
 4773|  5.40k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  753|  5.69M|            {
  754|  5.69M|                return *ptr_;
  755|  5.69M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|  5.40k|            : first_(first), last_(last)
  349|  5.40k|        {
  350|  5.40k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|  5.40k|        {
  354|  5.40k|            return first_;
  355|  5.40k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|  5.40k|        {
  358|  5.40k|            return last_;
  359|  5.40k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3428|  10.4k|        {
 3429|  10.4k|            switch (storage_kind())
 3430|  10.4k|            {
 3431|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3431:17): [True: 0, False: 10.4k]
  ------------------
 3432|      0|                    return cast<byte_string_storage>().length() == 0;
 3433|      0|                    break;
 3434|      0|                case json_storage_kind::short_str:
  ------------------
  |  Branch (3434:17): [True: 0, False: 10.4k]
  ------------------
 3435|      0|                    return cast<short_string_storage>().length() == 0;
 3436|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3436:17): [True: 0, False: 10.4k]
  ------------------
 3437|      0|                    return cast<long_string_storage>().length() == 0;
 3438|  7.15k|                case json_storage_kind::array:
  ------------------
  |  Branch (3438:17): [True: 7.15k, False: 3.31k]
  ------------------
 3439|  7.15k|                    return cast<array_storage>().value().empty();
 3440|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3440:17): [True: 0, False: 10.4k]
  ------------------
 3441|      0|                    return true;
 3442|  3.31k|                case json_storage_kind::object:
  ------------------
  |  Branch (3442:17): [True: 3.31k, False: 7.15k]
  ------------------
 3443|  3.31k|                    return cast<object_storage>().value().empty();
 3444|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3444:17): [True: 0, False: 10.4k]
  ------------------
 3445|      0|                    return cast<const_json_ref_storage>().value().empty();
 3446|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3446:17): [True: 0, False: 10.4k]
  ------------------
 3447|      0|                    return cast<json_ref_storage>().value().empty();
 3448|      0|                default:
  ------------------
  |  Branch (3448:17): [True: 0, False: 10.4k]
  ------------------
 3449|      0|                    return false;
 3450|  10.4k|            }
 3451|  10.4k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1013|  7.15k|        {
 1014|  7.15k|            return cast(identity<T>());
 1015|  7.15k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1133|  7.15k|        {
 1134|  7.15k|            return array_;
 1135|  7.15k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  758|  7.15k|            {
  759|  7.15k|                return *ptr_;
  760|  7.15k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1013|  3.31k|        {
 1014|  3.31k|            return cast(identity<T>());
 1015|  3.31k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1123|  3.31k|        {
 1124|  3.31k|            return object_;
 1125|  3.31k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  804|  3.31k|            {
  805|  3.31k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   67|  3.31k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 3.31k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  806|  3.31k|                return *ptr_;
  807|  3.31k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4159|  9.16k|        {
 4160|  9.16k|            switch (storage_kind())
 4161|  9.16k|            {
 4162|  5.40k|                case json_storage_kind::array:
  ------------------
  |  Branch (4162:17): [True: 5.40k, False: 3.75k]
  ------------------
 4163|  5.40k|                    cast<array_storage>().value().clear();
 4164|  5.40k|                    break;
 4165|  3.75k|                case json_storage_kind::object:
  ------------------
  |  Branch (4165:17): [True: 3.75k, False: 5.40k]
  ------------------
 4166|  3.75k|                    cast<object_storage>().value().clear();
 4167|  3.75k|                    break;
 4168|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4168:17): [True: 0, False: 9.16k]
  ------------------
 4169|      0|                    cast<json_ref_storage>().value().clear();
 4170|      0|                    break;
 4171|      0|                default:
  ------------------
  |  Branch (4171:17): [True: 0, False: 9.16k]
  ------------------
 4172|      0|                    break;
 4173|  9.16k|            }
 4174|  9.16k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  798|  25.4k|            {
  799|  25.4k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   67|  25.4k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 25.4k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  800|  25.4k|                return *ptr_;
  801|  25.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4728|  3.75k|        {
 4729|  3.75k|            switch (storage_kind())
 4730|  3.75k|            {
 4731|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4731:17): [True: 0, False: 3.75k]
  ------------------
 4732|      0|                    return object_range_type(object_iterator(), object_iterator());
 4733|  3.75k|                case json_storage_kind::object:
  ------------------
  |  Branch (4733:17): [True: 3.75k, False: 0]
  ------------------
 4734|  3.75k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4735|  3.75k|                                                  object_iterator(cast<object_storage>().value().end()));
 4736|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4736:17): [True: 0, False: 3.75k]
  ------------------
 4737|      0|                    return cast<json_ref_storage>().value().object_range();
 4738|      0|                default:
  ------------------
  |  Branch (4738:17): [True: 0, False: 3.75k]
  ------------------
 4739|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4740|  3.75k|            }
 4741|  3.75k|        }
_ZN8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEEC2ERKSI_SP_:
  348|  3.75k|            : first_(first), last_(last)
  349|  3.75k|        {
  350|  3.75k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|  7.51k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|  7.51k|            {
  120|  7.51k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  353|  3.75k|        {
  354|  3.75k|            return first_;
  355|  3.75k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  357|  3.75k|        {
  358|  3.75k|            return last_;
  359|  3.75k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|  8.63k|            {
  219|  8.63k|                return !(*this == rhs);
  220|  8.63k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|  8.63k|            {
  210|  8.63k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   78|  17.2k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 8.63k, False: 0]
  |  |  |  Branch (78:48): [True: 8.63k, False: 0]
  |  |  |  Branch (78:48): [True: 8.63k, False: 0]
  |  |  ------------------
  ------------------
  211|  8.63k|                {
  212|  8.63k|                    return current_ == rhs.current_;
  213|  8.63k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|  8.63k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|  4.87k|            {
  141|  4.87k|                return *current_;
  142|  4.87k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|  4.87k|            {
  151|  4.87k|                ++current_;
  152|  4.87k|                return *this;
  153|  4.87k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1007|   463k|        {
 1008|   463k|            return cast(identity<T>());
 1009|   463k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1118|   463k|        {
 1119|   463k|            return object_;
 1120|   463k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2278|  5.04k|        {
 2279|  5.04k|            construct<empty_object_storage>(semantic_tag::none);
 2280|  5.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  998|  5.04k|        {
  999|  5.04k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  5.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1007|  9.12k|        {
 1008|  9.12k|            return cast(identity<T>());
 1009|  9.12k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1028|  9.12k|        {
 1029|  9.12k|            return empty_object_;
 1030|  9.12k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  462|  5.04k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|  5.04k|            {
  464|  5.04k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3487|  8.82k|        {
 3488|  8.82k|            if (n > 0)
  ------------------
  |  Branch (3488:17): [True: 8.82k, False: 0]
  ------------------
 3489|  8.82k|            {
 3490|  8.82k|                switch (storage_kind())
 3491|  8.82k|                {
 3492|  8.82k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3492:21): [True: 8.82k, False: 0]
  ------------------
 3493|  8.82k|                        cast<array_storage>().value().reserve(n);
 3494|  8.82k|                        break;
 3495|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3495:21): [True: 0, False: 8.82k]
  ------------------
 3496|      0|                        create_object_implicitly();
 3497|      0|                        cast<object_storage>().value().reserve(n);
 3498|      0|                        break;
 3499|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3499:21): [True: 0, False: 8.82k]
  ------------------
 3500|      0|                        cast<object_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3502:21): [True: 0, False: 8.82k]
  ------------------
 3503|      0|                        cast<json_ref_storage>().value().reserve(n);
 3504|      0|                        break;
 3505|      0|                    default:
  ------------------
  |  Branch (3505:21): [True: 0, False: 8.82k]
  ------------------
 3506|      0|                        break;
 3507|  8.82k|                }
 3508|  8.82k|            }
 3509|  8.82k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2323|  38.5k|        {
 2324|  38.5k|            auto ptr = create_object(alloc);
 2325|  38.5k|            construct<object_storage>(ptr, tag);
 2326|  38.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  979|  38.5k|        {
  980|  38.5k|            using stor_allocator_type = typename object_storage::allocator_type;
  981|  38.5k|            stor_allocator_type stor_alloc(alloc);
  982|  38.5k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  983|  38.5k|            JSONCONS_TRY
  ------------------
  |  |   37|  38.5k|    #define JSONCONS_TRY try
  ------------------
  984|  38.5k|            {
  985|  38.5k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  986|  38.5k|                    std::forward<Args>(args)...);
  987|  38.5k|            }
  988|  38.5k|            JSONCONS_CATCH(...)
  989|  38.5k|            {
  990|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  991|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  992|      0|            }
  993|  38.5k|            return ptr;
  994|  38.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  998|  38.5k|        {
  999|  38.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  38.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  775|  38.5k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  776|  38.5k|            {
  777|  38.5k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4704|  5.67M|        {
 4705|  5.67M|            switch (storage_kind())
 4706|  5.67M|            {
 4707|  5.67M|                case json_storage_kind::array:
  ------------------
  |  Branch (4707:17): [True: 5.67M, False: 0]
  ------------------
 4708|  5.67M|                    cast<array_storage>().value().push_back(std::move(val));
 4709|  5.67M|                    break;
 4710|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4710:17): [True: 0, False: 5.67M]
  ------------------
 4711|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4712|      0|                    break;
 4713|      0|                default:
  ------------------
  |  Branch (4713:17): [True: 0, False: 5.67M]
  ------------------
 4714|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Attempting to insert into a value that is not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4715|  5.67M|            }
 4716|  5.67M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1456|  38.8M|        {
 1457|  38.8M|            if (this != &other)
  ------------------
  |  Branch (1457:17): [True: 38.8M, False: 0]
  ------------------
 1458|  38.8M|            {
 1459|  38.8M|                move_assignment(std::move(other));
 1460|  38.8M|            }
 1461|  38.8M|            return *this;
 1462|  38.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1418|  38.8M|        {
 1419|  38.8M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1419:17): [True: 38.8M, False: 0]
  |  Branch (1419:55): [True: 38.5M, False: 234k]
  ------------------
 1420|  38.5M|            {
 1421|  38.5M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1422|  38.5M|            }
 1423|   234k|            else
 1424|   234k|            {
 1425|   234k|                swap(other);
 1426|   234k|            }
 1427|  38.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1937|   234k|        {
 1938|   234k|            if (this == &other)
  ------------------
  |  Branch (1938:17): [True: 0, False: 234k]
  ------------------
 1939|      0|            {
 1940|      0|                return;
 1941|      0|            }
 1942|   234k|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1942:17): [True: 234k, False: 0]
  |  Branch (1942:55): [True: 0, False: 234k]
  ------------------
 1943|      0|            {
 1944|      0|                basic_json temp;               
 1945|      0|                std::memcpy(static_cast<void*>(&temp), static_cast<void*>(&other), sizeof(basic_json));
 1946|      0|                std::memcpy(static_cast<void*>(&other), static_cast<void*>(this), sizeof(basic_json));
 1947|      0|                std::memcpy(static_cast<void*>(this), static_cast<void*>(&temp), sizeof(basic_json));
 1948|      0|            }
 1949|   234k|            else
 1950|   234k|            {
 1951|   234k|                switch (storage_kind())
 1952|   234k|                {
 1953|   212k|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 212k, False: 21.6k]
  ------------------
 1954|  2.04k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 2.04k, False: 232k]
  ------------------
 1955|    875|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 875, False: 233k]
  ------------------
 1956|  7.30k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 7.30k, False: 227k]
  ------------------
 1957|  1.21k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 1.21k, False: 233k]
  ------------------
 1958|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 234k]
  ------------------
 1959|  3.29k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 3.29k, False: 231k]
  ------------------
 1960|  6.88k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 6.88k, False: 227k]
  ------------------
 1961|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 234k]
  ------------------
 1962|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 234k]
  ------------------
 1963|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 234k]
  ------------------
 1964|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1964:21): [True: 0, False: 234k]
  ------------------
 1965|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1965:21): [True: 0, False: 234k]
  ------------------
 1966|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1966:21): [True: 0, False: 234k]
  ------------------
 1967|      0|                    default:
  ------------------
  |  Branch (1967:21): [True: 0, False: 234k]
  ------------------
 1968|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1969|      0|                        break;
 1970|   234k|                }
 1971|   234k|            }
 1972|   234k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1173|   212k|        {
 1174|   212k|            switch (other.storage_kind())
 1175|   212k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 212k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 212k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 212k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 212k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 212k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 212k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 212k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 212k]
  ------------------
 1184|  63.1k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 63.1k, False: 149k]
  ------------------
 1185|  24.5k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 24.5k, False: 188k]
  ------------------
 1186|  71.9k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 71.9k, False: 140k]
  ------------------
 1187|  53.2k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 53.2k, False: 159k]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 212k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 212k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 212k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|   212k|            }
 1194|   212k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  998|   212k|        {
  999|   212k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   212k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  998|  2.04k|        {
  999|  2.04k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  2.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1007|   102k|        {
 1008|   102k|            return cast(identity<T>());
 1009|   102k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1038|   102k|        {
 1039|   102k|            return boolean_;
 1040|   102k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  998|    875|        {
  999|    875|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|    875|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1007|   103k|        {
 1008|   103k|            return cast(identity<T>());
 1009|   103k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1048|   103k|        {
 1049|   103k|            return int64_;
 1050|   103k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  998|  7.30k|        {
  999|  7.30k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  7.30k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1007|  9.86k|        {
 1008|  9.86k|            return cast(identity<T>());
 1009|  9.86k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1058|  9.86k|        {
 1059|  9.86k|            return uint64_;
 1060|  9.86k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  998|  1.21k|        {
  999|  1.21k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  1.21k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1007|  18.1k|        {
 1008|  18.1k|            return cast(identity<T>());
 1009|  18.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1078|  18.1k|        {
 1079|  18.1k|            return float64_;
 1080|  18.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  998|  3.29k|        {
  999|  3.29k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  3.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1007|  29.4k|        {
 1008|  29.4k|            return cast(identity<T>());
 1009|  29.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1088|  29.4k|        {
 1089|  29.4k|            return short_str_;
 1090|  29.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  588|  6.88k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  589|  6.88k|            {
  590|  6.88k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  591|  6.88k|                data_[short_str_length_] = 0;
  592|  6.88k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  998|  6.88k|        {
  999|  6.88k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  6.88k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1159|  63.1k|        {
 1160|  63.1k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  63.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  63.1k|        {
 1166|  63.1k|            TypeR temp{other.cast<TypeR>()};
 1167|  63.1k|            other.construct<TypeL>(cast<TypeL>());
 1168|  63.1k|            construct<TypeR>(temp);
 1169|  63.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1159|  24.5k|        {
 1160|  24.5k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  24.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  24.5k|        {
 1166|  24.5k|            TypeR temp{other.cast<TypeR>()};
 1167|  24.5k|            other.construct<TypeL>(cast<TypeL>());
 1168|  24.5k|            construct<TypeR>(temp);
 1169|  24.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1159|  71.9k|        {
 1160|  71.9k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  71.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  71.9k|        {
 1166|  71.9k|            TypeR temp{other.cast<TypeR>()};
 1167|  71.9k|            other.construct<TypeL>(cast<TypeL>());
 1168|  71.9k|            construct<TypeR>(temp);
 1169|  71.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1159|  53.2k|        {
 1160|  53.2k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  53.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  53.2k|        {
 1166|  53.2k|            TypeR temp{other.cast<TypeR>()};
 1167|  53.2k|            other.construct<TypeL>(cast<TypeL>());
 1168|  53.2k|            construct<TypeR>(temp);
 1169|  53.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1173|  2.04k|        {
 1174|  2.04k|            switch (other.storage_kind())
 1175|  2.04k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.04k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.04k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.04k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.04k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.04k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.04k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.04k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 2.04k]
  ------------------
 1184|      0|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 2.04k]
  ------------------
 1185|      0|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 2.04k]
  ------------------
 1186|      0|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 0, False: 2.04k]
  ------------------
 1187|  2.04k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 2.04k, False: 0]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 2.04k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 2.04k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 2.04k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  2.04k|            }
 1194|  2.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1159|  2.04k|        {
 1160|  2.04k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  2.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  2.04k|        {
 1166|  2.04k|            TypeR temp{other.cast<TypeR>()};
 1167|  2.04k|            other.construct<TypeL>(cast<TypeL>());
 1168|  2.04k|            construct<TypeR>(temp);
 1169|  2.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1173|    875|        {
 1174|    875|            switch (other.storage_kind())
 1175|    875|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 875]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 875]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 875]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 875]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 875]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 875]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 875]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 875]
  ------------------
 1184|    216|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 216, False: 659]
  ------------------
 1185|    219|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 219, False: 656]
  ------------------
 1186|    194|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 194, False: 681]
  ------------------
 1187|    246|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 246, False: 629]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 875]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 875]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 875]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|    875|            }
 1194|    875|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1159|    216|        {
 1160|    216|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    216|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    216|        {
 1166|    216|            TypeR temp{other.cast<TypeR>()};
 1167|    216|            other.construct<TypeL>(cast<TypeL>());
 1168|    216|            construct<TypeR>(temp);
 1169|    216|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1159|    219|        {
 1160|    219|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    219|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    219|        {
 1166|    219|            TypeR temp{other.cast<TypeR>()};
 1167|    219|            other.construct<TypeL>(cast<TypeL>());
 1168|    219|            construct<TypeR>(temp);
 1169|    219|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1159|    194|        {
 1160|    194|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    194|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    194|        {
 1166|    194|            TypeR temp{other.cast<TypeR>()};
 1167|    194|            other.construct<TypeL>(cast<TypeL>());
 1168|    194|            construct<TypeR>(temp);
 1169|    194|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1159|    246|        {
 1160|    246|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    246|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    246|        {
 1166|    246|            TypeR temp{other.cast<TypeR>()};
 1167|    246|            other.construct<TypeL>(cast<TypeL>());
 1168|    246|            construct<TypeR>(temp);
 1169|    246|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1173|  7.30k|        {
 1174|  7.30k|            switch (other.storage_kind())
 1175|  7.30k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 7.30k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 7.30k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 7.30k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 7.30k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 7.30k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 7.30k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 7.30k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 7.30k]
  ------------------
 1184|  1.38k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 1.38k, False: 5.92k]
  ------------------
 1185|    540|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 540, False: 6.76k]
  ------------------
 1186|  3.88k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 3.88k, False: 3.41k]
  ------------------
 1187|  1.49k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 1.49k, False: 5.81k]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 7.30k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 7.30k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 7.30k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  7.30k|            }
 1194|  7.30k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1159|  1.38k|        {
 1160|  1.38k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  1.38k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  1.38k|        {
 1166|  1.38k|            TypeR temp{other.cast<TypeR>()};
 1167|  1.38k|            other.construct<TypeL>(cast<TypeL>());
 1168|  1.38k|            construct<TypeR>(temp);
 1169|  1.38k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1159|    540|        {
 1160|    540|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    540|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    540|        {
 1166|    540|            TypeR temp{other.cast<TypeR>()};
 1167|    540|            other.construct<TypeL>(cast<TypeL>());
 1168|    540|            construct<TypeR>(temp);
 1169|    540|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1159|  3.88k|        {
 1160|  3.88k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  3.88k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  3.88k|        {
 1166|  3.88k|            TypeR temp{other.cast<TypeR>()};
 1167|  3.88k|            other.construct<TypeL>(cast<TypeL>());
 1168|  3.88k|            construct<TypeR>(temp);
 1169|  3.88k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1159|  1.49k|        {
 1160|  1.49k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  1.49k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  1.49k|        {
 1166|  1.49k|            TypeR temp{other.cast<TypeR>()};
 1167|  1.49k|            other.construct<TypeL>(cast<TypeL>());
 1168|  1.49k|            construct<TypeR>(temp);
 1169|  1.49k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1173|  1.21k|        {
 1174|  1.21k|            switch (other.storage_kind())
 1175|  1.21k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 1.21k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 1.21k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.21k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.21k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.21k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 1.21k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 1.21k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 1.21k]
  ------------------
 1184|    313|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 313, False: 898]
  ------------------
 1185|    274|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 274, False: 937]
  ------------------
 1186|    279|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 279, False: 932]
  ------------------
 1187|    345|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 345, False: 866]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 1.21k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 1.21k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 1.21k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  1.21k|            }
 1194|  1.21k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1159|    313|        {
 1160|    313|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    313|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    313|        {
 1166|    313|            TypeR temp{other.cast<TypeR>()};
 1167|    313|            other.construct<TypeL>(cast<TypeL>());
 1168|    313|            construct<TypeR>(temp);
 1169|    313|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1159|    274|        {
 1160|    274|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    274|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    274|        {
 1166|    274|            TypeR temp{other.cast<TypeR>()};
 1167|    274|            other.construct<TypeL>(cast<TypeL>());
 1168|    274|            construct<TypeR>(temp);
 1169|    274|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1159|    279|        {
 1160|    279|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    279|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    279|        {
 1166|    279|            TypeR temp{other.cast<TypeR>()};
 1167|    279|            other.construct<TypeL>(cast<TypeL>());
 1168|    279|            construct<TypeR>(temp);
 1169|    279|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1159|    345|        {
 1160|    345|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    345|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    345|        {
 1166|    345|            TypeR temp{other.cast<TypeR>()};
 1167|    345|            other.construct<TypeL>(cast<TypeL>());
 1168|    345|            construct<TypeR>(temp);
 1169|    345|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1173|  3.29k|        {
 1174|  3.29k|            switch (other.storage_kind())
 1175|  3.29k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 3.29k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 3.29k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 3.29k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 3.29k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 3.29k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 3.29k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 3.29k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 3.29k]
  ------------------
 1184|    494|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 494, False: 2.80k]
  ------------------
 1185|  1.60k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 1.60k, False: 1.69k]
  ------------------
 1186|    818|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 818, False: 2.47k]
  ------------------
 1187|    378|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 378, False: 2.91k]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 3.29k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 3.29k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 3.29k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  3.29k|            }
 1194|  3.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1159|    494|        {
 1160|    494|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    494|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    494|        {
 1166|    494|            TypeR temp{other.cast<TypeR>()};
 1167|    494|            other.construct<TypeL>(cast<TypeL>());
 1168|    494|            construct<TypeR>(temp);
 1169|    494|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1159|  1.60k|        {
 1160|  1.60k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  1.60k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  1.60k|        {
 1166|  1.60k|            TypeR temp{other.cast<TypeR>()};
 1167|  1.60k|            other.construct<TypeL>(cast<TypeL>());
 1168|  1.60k|            construct<TypeR>(temp);
 1169|  1.60k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1159|    818|        {
 1160|    818|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    818|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    818|        {
 1166|    818|            TypeR temp{other.cast<TypeR>()};
 1167|    818|            other.construct<TypeL>(cast<TypeL>());
 1168|    818|            construct<TypeR>(temp);
 1169|    818|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1159|    378|        {
 1160|    378|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    378|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    378|        {
 1166|    378|            TypeR temp{other.cast<TypeR>()};
 1167|    378|            other.construct<TypeL>(cast<TypeL>());
 1168|    378|            construct<TypeR>(temp);
 1169|    378|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1173|  6.88k|        {
 1174|  6.88k|            switch (other.storage_kind())
 1175|  6.88k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 6.88k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 6.88k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 6.88k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 6.88k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 6.88k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 6.88k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 6.88k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 6.88k]
  ------------------
 1184|  5.32k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 5.32k, False: 1.55k]
  ------------------
 1185|    247|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 247, False: 6.63k]
  ------------------
 1186|    596|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 596, False: 6.28k]
  ------------------
 1187|    712|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 712, False: 6.17k]
  ------------------
 1188|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 0, False: 6.88k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 6.88k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 6.88k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  6.88k|            }
 1194|  6.88k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1159|  5.32k|        {
 1160|  5.32k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  5.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  5.32k|        {
 1166|  5.32k|            TypeR temp{other.cast<TypeR>()};
 1167|  5.32k|            other.construct<TypeL>(cast<TypeL>());
 1168|  5.32k|            construct<TypeR>(temp);
 1169|  5.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1159|    247|        {
 1160|    247|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    247|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    247|        {
 1166|    247|            TypeR temp{other.cast<TypeR>()};
 1167|    247|            other.construct<TypeL>(cast<TypeL>());
 1168|    247|            construct<TypeR>(temp);
 1169|    247|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1159|    596|        {
 1160|    596|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    596|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    596|        {
 1166|    596|            TypeR temp{other.cast<TypeR>()};
 1167|    596|            other.construct<TypeL>(cast<TypeL>());
 1168|    596|            construct<TypeR>(temp);
 1169|    596|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1159|    712|        {
 1160|    712|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    712|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    712|        {
 1166|    712|            TypeR temp{other.cast<TypeR>()};
 1167|    712|            other.construct<TypeL>(cast<TypeL>());
 1168|    712|            construct<TypeR>(temp);
 1169|    712|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2617|  7.44k|        {
 2618|  7.44k|            construct<uint64_storage>(val, tag);
 2619|  7.44k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  998|  7.44k|        {
  999|  7.44k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  7.44k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  7.44k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  7.44k|                  val_(val)
  518|  7.44k|            {
  519|  7.44k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2648|  88.8k|        {
 2649|  88.8k|            construct<int64_storage>(val, tag);
 2650|  88.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  998|  88.8k|        {
  999|  88.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  88.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  496|  88.8k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  497|  88.8k|                  val_(val)
  498|  88.8k|            {
  499|  88.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2605|  11.5k|        {
 2606|  11.5k|            construct<double_storage>(val, tag);
 2607|  11.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  998|  11.5k|        {
  999|  11.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  11.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  555|  11.5k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  556|  11.5k|                  val_(val)
  557|  11.5k|            {
  558|  11.5k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2404|  36.7k|        {
 2405|  36.7k|            auto ptr = create_array(Allocator());
 2406|  36.7k|            construct<array_storage>(ptr, tag);
 2407|  36.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  960|  36.7k|        {
  961|  36.7k|            using stor_allocator_type = typename array_storage::allocator_type;
  962|  36.7k|            stor_allocator_type stor_alloc(alloc);
  963|  36.7k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  964|  36.7k|            JSONCONS_TRY
  ------------------
  |  |   37|  36.7k|    #define JSONCONS_TRY try
  ------------------
  965|  36.7k|            {
  966|  36.7k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  967|  36.7k|                    std::forward<Args>(args)...);
  968|  36.7k|            }
  969|  36.7k|            JSONCONS_CATCH(...)
  970|  36.7k|            {
  971|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  972|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  973|      0|            }
  974|  36.7k|            return ptr;
  975|  36.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  998|  36.7k|        {
  999|  36.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  36.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  725|  36.7k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  726|  36.7k|            {
  727|  36.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2694|  20.3M|        {
 2695|  20.3M|            construct<null_storage>(tag);
 2696|  20.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  998|  20.3M|        {
  999|  20.3M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  20.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2704|   100k|        {
 2705|   100k|            construct<bool_storage>(val,tag);
 2706|   100k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  998|   100k|        {
  999|   100k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   100k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|   100k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|   100k|                  val_(val)
  477|   100k|            {
  478|   100k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2552|   113k|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2553|   113k|        {
 2554|   113k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2582|   113k|        {
 2583|   113k|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2583:17): [True: 15.6k, False: 97.8k]
  ------------------
 2584|  15.6k|            {
 2585|  15.6k|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2586|  15.6k|            }
 2587|  97.8k|            else
 2588|  97.8k|            {
 2589|  97.8k|                auto ptr = create_long_string(alloc, s, length);
 2590|  97.8k|                construct<long_string_storage>(ptr, tag);
 2591|  97.8k|            }
 2592|   113k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  998|  15.6k|        {
  999|  15.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  15.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  15.6k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  15.6k|            {
  579|  15.6k|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   67|  15.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 15.6k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  580|  15.6k|                if (length > 0)
  ------------------
  |  Branch (580:21): [True: 14.3k, False: 1.28k]
  ------------------
  581|  14.3k|                {
  582|  14.3k|                    std::memcpy(data_,p,length*sizeof(char_type));
  583|  14.3k|                }
  584|  15.6k|                data_[length] = 0;
  585|  15.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  946|  97.8k|        {
  947|  97.8k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  948|  97.8k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  949|  97.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  998|  97.8k|        {
  999|  97.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  97.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  624|  97.8k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  625|  97.8k|            {
  626|  97.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  953|  63.6k|        {
  954|  63.6k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  955|  63.6k|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  956|  63.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  673|  63.6k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  674|  63.6k|            {
  675|  63.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2745|  63.6k|        {
 2746|  63.6k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2747|       |
 2748|  63.6k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2749|  63.6k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2750|  63.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  998|  63.6k|        {
  999|  63.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  63.6k|        }

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

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  47.6k|        {
  106|  47.6k|            flatten_and_destroy();
  107|  47.6k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  47.6k|        {
  249|  5.71M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 5.67M, False: 47.6k]
  ------------------
  250|  5.67M|            {
  251|  5.67M|                value_type current = std::move(data_.back());
  252|  5.67M|                data_.pop_back();
  253|  5.67M|                switch (current.storage_kind())
  254|  5.67M|                {
  255|  5.40k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 5.40k, False: 5.66M]
  ------------------
  256|  5.40k|                    {
  257|  5.40k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 6.11k, False: 5.40k]
  ------------------
  258|  6.11k|                        {
  259|  6.11k|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 833, False: 5.28k]
  |  Branch (259:85): [True: 579, False: 4.70k]
  ------------------
  260|  1.41k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 964, False: 448]
  ------------------
  261|    964|                            {
  262|    964|                                data_.push_back(std::move(item));
  263|    964|                            }
  264|  6.11k|                        }
  265|  5.40k|                        current.clear();                           
  266|  5.40k|                        break;
  267|      0|                    }
  268|  3.75k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 3.75k, False: 5.66M]
  ------------------
  269|  3.75k|                    {
  270|  3.75k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 4.87k, False: 3.75k]
  ------------------
  271|  4.87k|                        {
  272|  4.87k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 323, False: 4.54k]
  |  Branch (272:91): [True: 1.05k, False: 3.49k]
  ------------------
  273|  1.38k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 1.12k, False: 257]
  ------------------
  274|  1.12k|                            {
  275|  1.12k|                                data_.push_back(std::move(kv.value()));
  276|  1.12k|                            }
  277|  4.87k|                        }
  278|  3.75k|                        current.clear();                           
  279|  3.75k|                        break;
  280|      0|                    }
  281|  5.66M|                    default:
  ------------------
  |  Branch (281:21): [True: 5.66M, False: 9.16k]
  ------------------
  282|  5.66M|                        break;
  283|  5.67M|                }
  284|  5.67M|            }
  285|  47.6k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|  5.40k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|  5.40k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  7.15k|        {
  126|  7.15k|            return data_.empty();
  127|  7.15k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|  5.40k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  10.9k|            : allocator_holder<allocator_type>(alloc), 
   50|  10.9k|              data_(value_allocator_type(alloc))
   51|  10.9k|        {
   52|  10.9k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  4.48k|        {
  218|  4.48k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  4.48k|            return data_.back();
  220|  4.48k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  8.82k|        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|  5.67M|        {
  179|  5.67M|            data_.emplace_back(std::forward<T>(value));
  180|  5.67M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  36.7k|        json_array() = default;

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  5.04k|        : alloc_(alloc),
   75|  5.04k|          result_(),
   76|  5.04k|          name_(alloc),
   77|  5.04k|          item_stack_(alloc),
   78|  5.04k|          structure_stack_(temp_alloc)
   79|  5.04k|    {
   80|       |        //item_stack_.reserve(1000);
   81|       |        //structure_stack_.reserve(100);
   82|  5.04k|        structure_stack_.emplace_back(json_structure_kind::root_kind, 0);
   83|  5.04k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14json_structureC2ENS7_19json_structure_kindEm:
   51|  80.3k|            : structure_kind(type), structure_index(offset)
   52|  80.3k|        {
   53|  80.3k|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  186|  18.3k|    {
  187|  18.3k|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   67|  18.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 18.3k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  188|  18.3k|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::array_kind);
  ------------------
  |  |   67|  18.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 18.3k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  189|  18.3k|        const size_t structure_index = structure_stack_.back().structure_index;
  190|  18.3k|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   67|  18.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 18.3k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  191|       |
  192|  18.3k|        auto& structure = structure_stack_[structure_stack_.size()-2];
  193|  18.3k|        auto& arr = item_stack_[structure_index].value;
  194|  18.3k|        const size_t size = item_stack_.size() - (structure_index + 1);
  195|       |
  196|  18.3k|        if (size > 0)
  ------------------
  |  Branch (196:13): [True: 8.82k, False: 9.55k]
  ------------------
  197|  8.82k|        {
  198|  8.82k|            arr.reserve(size);
  199|  8.82k|            auto first = item_stack_.begin() + (structure_index+1);
  200|  8.82k|            auto last = first + size;
  201|  5.68M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (201:35): [True: 5.67M, False: 8.82k]
  ------------------
  202|  5.67M|            {
  203|  5.67M|                arr.push_back(std::move((*it).value));
  204|  5.67M|            }
  205|  8.82k|            item_stack_.erase(first, item_stack_.end());
  206|  8.82k|        }
  207|       |
  208|  18.3k|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (208:13): [True: 0, False: 18.3k]
  ------------------
  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|  18.3k|        structure_stack_.pop_back();
  216|  18.3k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  18.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  18.3k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  311|  7.44k|    {
  312|  7.44k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (312:17): [True: 7.44k, False: 0]
  ------------------
  313|  7.44k|        {
  314|  3.86k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (314:13): [True: 3.86k, False: 3.57k]
  ------------------
  315|  3.86k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  316|  3.86k|                break;
  317|  3.57k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (317:13): [True: 3.57k, False: 3.86k]
  ------------------
  318|  3.57k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  319|  3.57k|                break;
  320|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (320:13): [True: 0, False: 7.44k]
  ------------------
  321|      0|                result_ = Json(value,tag);
  322|      0|                is_valid_ = true;
  323|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  324|  7.44k|        }
  325|  7.44k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  7.44k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  7.44k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  290|  88.8k|    {
  291|  88.8k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (291:17): [True: 88.8k, False: 0]
  ------------------
  292|  88.8k|        {
  293|  45.1k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (293:13): [True: 45.1k, False: 43.7k]
  ------------------
  294|  45.1k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  295|  45.1k|                break;
  296|  43.7k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (296:13): [True: 43.7k, False: 45.1k]
  ------------------
  297|  43.7k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  298|  43.7k|                break;
  299|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (299:13): [True: 0, False: 88.8k]
  ------------------
  300|      0|                result_ = Json(value,tag);
  301|      0|                is_valid_ = true;
  302|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  88.8k|        }
  304|  88.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  88.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  305|  88.8k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  353|  11.5k|    {
  354|  11.5k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (354:17): [True: 11.5k, False: 0]
  ------------------
  355|  11.5k|        {
  356|  9.14k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (356:13): [True: 9.14k, False: 2.43k]
  ------------------
  357|  9.14k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  358|  9.14k|                break;
  359|  2.43k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (359:13): [True: 2.43k, False: 9.14k]
  ------------------
  360|  2.43k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  361|  2.43k|                break;
  362|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (362:13): [True: 0, False: 11.5k]
  ------------------
  363|      0|                result_ = Json(value, tag);
  364|      0|                is_valid_ = true;
  365|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  11.5k|        }
  367|  11.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  11.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  11.5k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|     18|    {
  123|     18|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  38.5k|    {
  127|  38.5k|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (127:13): [True: 27.3k, False: 11.2k]
  ------------------
  128|  27.3k|        {
  129|  27.3k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  130|  27.3k|            item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  131|  27.3k|        }
  132|  11.2k|        else
  133|  11.2k|        {
  134|  11.2k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  135|  11.2k|            item_stack_.emplace_back(key_type(alloc_), 0, json_object_arg, tag);
  136|  11.2k|        }
  137|  38.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  38.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  138|  38.5k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  141|  27.4k|    {
  142|  27.4k|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   67|  27.4k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 27.4k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  143|  27.4k|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::object_kind);
  ------------------
  |  |   67|  27.4k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 27.4k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  144|  27.4k|        const size_t structure_index = structure_stack_.back().structure_index;
  145|  27.4k|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   67|  27.4k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 27.4k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  146|       |
  147|  27.4k|        const size_t size = item_stack_.size() - (structure_index + 1);
  148|  27.4k|        auto first = item_stack_.begin() + (structure_index+1);
  149|  27.4k|        auto& structure = structure_stack_[structure_stack_.size()-2];
  150|  27.4k|        auto& obj = item_stack_[structure_index].value;
  151|       |
  152|  27.4k|        if (size > 0)
  ------------------
  |  Branch (152:13): [True: 14.2k, False: 13.2k]
  ------------------
  153|  14.2k|        {
  154|  14.2k|            obj.template cast<typename Json::object_storage>().value().uninitialized_init(
  155|  14.2k|                &item_stack_[structure_index+1], size);
  156|  14.2k|            item_stack_.erase(first, item_stack_.end());
  157|  14.2k|        }
  158|       |
  159|  27.4k|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (159:13): [True: 2.04k, False: 25.3k]
  ------------------
  160|  2.04k|        {
  161|  2.04k|            result_ = std::move(item_stack_.front().value);
  162|  2.04k|            item_stack_.pop_back();
  163|  2.04k|            is_valid_ = true;
  164|  2.04k|        }
  165|       |
  166|  27.4k|        structure_stack_.pop_back();
  167|  27.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  27.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  168|  27.4k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  171|  36.7k|    {
  172|  36.7k|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (172:13): [True: 16.4k, False: 20.2k]
  ------------------
  173|  16.4k|        {
  174|  16.4k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  175|  16.4k|            item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  176|  16.4k|        }
  177|  20.2k|        else
  178|  20.2k|        {
  179|  20.2k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  180|  20.2k|            item_stack_.emplace_back(key_type(alloc_), 0, json_array_arg, tag);
  181|  20.2k|        }
  182|  36.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  36.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  183|  36.7k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  220|  10.5M|    {
  221|  10.5M|        name_ = key_type(name.data(),name.length(),alloc_);
  222|  10.5M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  10.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  223|  10.5M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  389|  20.3M|    {
  390|  20.3M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (390:17): [True: 20.3M, False: 0]
  ------------------
  391|  20.3M|        {
  392|  10.2M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (392:13): [True: 10.2M, False: 10.1M]
  ------------------
  393|  10.2M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  394|  10.2M|                break;
  395|  10.1M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (395:13): [True: 10.1M, False: 10.2M]
  ------------------
  396|  10.1M|                item_stack_.emplace_back(key_type(alloc_), 0, null_type(), tag);
  397|  10.1M|                break;
  398|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (398:13): [True: 0, False: 20.3M]
  ------------------
  399|      0|                result_ = Json(null_type(), tag);
  400|      0|                is_valid_ = true;
  401|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  402|  20.3M|        }
  403|  20.3M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  20.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  404|  20.3M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  371|   100k|    {
  372|   100k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (372:17): [True: 100k, False: 0]
  ------------------
  373|   100k|        {
  374|  34.3k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (374:13): [True: 34.3k, False: 66.5k]
  ------------------
  375|  34.3k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  376|  34.3k|                break;
  377|  66.5k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (377:13): [True: 66.5k, False: 34.3k]
  ------------------
  378|  66.5k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  379|  66.5k|                break;
  380|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (380:13): [True: 0, False: 100k]
  ------------------
  381|      0|                result_ = Json(value, tag);
  382|      0|                is_valid_ = true;
  383|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  384|   100k|        }
  385|   100k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   100k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|   100k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  226|   113k|    {
  227|   113k|        auto& structure = structure_stack_.back();
  228|   113k|        switch (structure.structure_kind)
  ------------------
  |  Branch (228:17): [True: 113k, False: 0]
  ------------------
  229|   113k|        {
  230|   105k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (230:13): [True: 105k, False: 8.48k]
  ------------------
  231|   105k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  232|   105k|                break;
  233|  8.48k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (233:13): [True: 8.48k, False: 105k]
  ------------------
  234|  8.48k|                item_stack_.emplace_back(key_type(alloc_), 0, sv, tag);
  235|  8.48k|                break;
  236|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (236:13): [True: 0, False: 113k]
  ------------------
  237|      0|                result_ = Json(sv, tag, alloc_);
  238|      0|                is_valid_ = true;
  239|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  240|   113k|        }
  241|   113k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   113k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  242|   113k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  269|  63.6k|    {
  270|  63.6k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (270:17): [True: 63.6k, False: 0]
  ------------------
  271|  63.6k|        {
  272|  52.9k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (272:13): [True: 52.9k, False: 10.6k]
  ------------------
  273|  52.9k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, raw_tag);
  274|  52.9k|                break;
  275|  10.6k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (275:13): [True: 10.6k, False: 52.9k]
  ------------------
  276|  10.6k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, raw_tag);
  277|  10.6k|                break;
  278|      0|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (278:13): [True: 0, False: 63.6k]
  ------------------
  279|      0|                result_ = Json(byte_string_arg, b, raw_tag, alloc_);
  280|      0|                is_valid_ = true;
  281|      0|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      0|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  282|  63.6k|        }
  283|  63.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  63.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|  63.6k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|     18|    {
  109|     18|        return is_valid_;
  110|     18|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|     18|    {
  114|     18|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   67|     18|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 18]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  115|     18|        is_valid_ = false;
  116|     18|        return std::move(result_);
  117|     18|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  5.04k|{
 1065|  5.04k|    return json_visitor_adaptor<From, To>(to);
 1066|  5.04k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  5.04k|        : supertype(visitor)
  984|  5.04k|    {
  985|  5.04k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  5.04k|        : destination1_(std::addressof(visitor))
  722|  5.04k|    {
  723|  5.04k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  18.3k|    {
  784|  18.3k|        destination1_->end_array(context, ec);
  785|  18.3k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  18.3k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  18.3k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  7.44k|    {
  826|  7.44k|        destination1_->uint64_value(value, tag, context, ec);
  827|  7.44k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  7.44k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  7.44k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  88.8k|    {
  820|  88.8k|        destination1_->int64_value(value, tag, context, ec);
  821|  88.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  88.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  88.8k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  11.5k|    {
  814|  11.5k|        destination1_->double_value(value, tag, context, ec);
  815|  11.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  11.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  11.5k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|     18|    {
  739|     18|        destination1_->flush();
  740|     18|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  745|  38.5k|    {
  746|  38.5k|        destination1_->begin_object(tag, context, ec);
  747|  38.5k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  38.5k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  748|  38.5k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  27.4k|    {
  761|  27.4k|        destination1_->end_object(context, ec);
  762|  27.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  27.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  27.4k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  768|  36.7k|    {
  769|  36.7k|        destination1_->begin_array(tag, context, ec);
  770|  36.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  36.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  771|  36.7k|    }
_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|  10.5M|    {
  996|  10.5M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  10.5M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  10.6M|    {
  733|  10.6M|        return *destination1_;
  734|  10.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.3M|    {
  838|  20.3M|        destination1_->null_value(tag, context, ec);
  839|  20.3M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  20.3M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  20.3M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|   100k|    {
  832|   100k|        destination1_->bool_value(value, tag, context, ec);
  833|   100k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   100k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|   100k|    }
_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|   113k|    {
 1004|   113k|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|   113k|    }
_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|  63.6k|    {
  802|  63.6k|        destination1_->byte_string_value(b, raw_tag, context, ec);
  803|  63.6k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  63.6k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|  63.6k|    }

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

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

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|  67.8k|    {
  121|  67.8k|        return value_;
  122|  67.8k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  38.7M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  7.44k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  7.44k|    {
   45|  7.44k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  49.3M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  88.8k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  88.8k|    {
   45|  88.8k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  11.5k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  11.5k|    {
   45|  11.5k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  38.5k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  38.5k|    {
   45|  38.5k|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|  48.6k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|  48.6k|    {
   88|  48.6k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  36.7k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  36.7k|    {
   45|  36.7k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  20.3M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  20.3M|    {
   45|  20.3M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   100k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   100k|    {
   45|   100k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|   113k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   113k|    {
   45|   113k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  63.6k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  63.6k|    {
   45|  63.6k|    }

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

_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2EPS2_m:
  102|   163k|        : data_(data), size_(size)
  103|   163k|    {
  104|   163k|    }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4dataEv:
  154|   189k|    {
  155|   189k|        return data_;
  156|   189k|    }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4sizeEv:
  159|   441k|    {
  160|   441k|        return size_;
  161|   441k|    }
_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2Ev:
   99|  27.0k|    {
  100|  27.0k|    }

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  3.31k|        {
  159|  3.31k|            return data_.empty();
  160|  3.31k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  3.75k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  3.75k|        {
  169|  3.75k|            return data_.begin();
  170|  3.75k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  3.75k|        {
  174|  3.75k|            return data_.end();
  175|  3.75k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  38.5k|        {
  154|  38.5k|            flatten_and_destroy();
  155|  38.5k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  732|  38.5k|        {
  733|  38.5k|            if (!data_.empty())
  ------------------
  |  Branch (733:17): [True: 10.9k, False: 27.6k]
  ------------------
  734|  10.9k|            {
  735|  10.9k|                json_array<Json> temp(get_allocator());
  736|       |
  737|  10.9k|                for (auto& kv : data_)
  ------------------
  |  Branch (737:31): [True: 43.7k, False: 10.9k]
  ------------------
  738|  43.7k|                {
  739|  43.7k|                    switch (kv.value().storage_kind())
  740|  43.7k|                    {
  741|  5.99k|                        case json_storage_kind::array:
  ------------------
  |  Branch (741:25): [True: 5.99k, False: 37.7k]
  ------------------
  742|  7.67k|                        case json_storage_kind::object:
  ------------------
  |  Branch (742:25): [True: 1.68k, False: 42.0k]
  ------------------
  743|  7.67k|                            if (!kv.value().empty())
  ------------------
  |  Branch (743:33): [True: 4.48k, False: 3.18k]
  ------------------
  744|  4.48k|                            {
  745|  4.48k|                                temp.emplace_back(std::move(kv.value()));
  746|  4.48k|                            }
  747|  7.67k|                            break;
  748|  36.0k|                        default:
  ------------------
  |  Branch (748:25): [True: 36.0k, False: 7.67k]
  ------------------
  749|  36.0k|                            break;
  750|  43.7k|                    }
  751|  43.7k|                }
  752|  10.9k|            }
  753|  38.5k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  38.5k|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  14.2k|        {
  278|  14.2k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 14.2k, False: 0]
  ------------------
  279|  14.2k|            {
  280|  14.2k|                data_.reserve(count);
  281|       |
  282|  14.2k|                std::sort(items, items+count, compare);
  283|  14.2k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  7.63M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 7.61M, False: 14.2k]
  ------------------
  286|  7.61M|                {
  287|  7.61M|                    auto& item = items[i];
  288|  7.61M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 34.4k, False: 7.58M]
  ------------------
  289|  34.4k|                    {
  290|  34.4k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|  34.4k|                    }
  292|  7.61M|                }
  293|  14.2k|            }
  294|  14.2k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|   181M|        {
  269|   181M|            int comp = item1.name.compare(item2.name); 
  270|   181M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 639k, False: 180M]
  ------------------
  271|   180M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 180M, False: 399k]
  ------------------
  272|       |
  273|   399k|            return false;
  274|   180M|        }

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  176|  5.04k|        : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  177|  5.04k|          chunk_size_(default_max_chunk_size)
  178|  5.04k|    {
  179|  5.04k|        chunk_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, chunk_size_);
  180|  5.04k|        data_end_ = chunk_;
  181|  5.04k|    }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   57|  5.04k|      : std::basic_istream<CharT>(&nb_)
   58|  5.04k|    {
   59|  5.04k|    }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   43|  5.04k|        null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  193|  5.04k|    {
  194|  5.04k|        if (chunk_)
  ------------------
  |  Branch (194:13): [True: 5.04k, False: 0]
  ------------------
  195|  5.04k|        {
  196|  5.04k|            std::allocator_traits<char_allocator_type>::deallocate(alloc_, chunk_, chunk_size_);
  197|  5.04k|        }
  198|  5.04k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|  5.02k|    {
  282|  5.02k|        return position_;
  283|  5.02k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  5.04k|    {
  277|  5.04k|        return stream_ptr_->bad();  
  278|  5.04k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  377|  80.7M|    {
  378|  80.7M|        std::size_t len = 0;
  379|  80.7M|        if (remaining_ > 0)
  ------------------
  |  Branch (379:13): [True: 80.7M, False: 10.8k]
  ------------------
  380|  80.7M|        {
  381|  80.7M|            len = (std::min)(remaining_, length);
  382|  80.7M|            std::memcpy(p, data_end_, len*sizeof(value_type));
  383|  80.7M|            data_end_ += len;
  384|  80.7M|            remaining_ -= len;
  385|  80.7M|            position_ += len;
  386|  80.7M|        }
  387|  80.7M|        if (length - len == 0)
  ------------------
  |  Branch (387:13): [True: 80.7M, False: 12.6k]
  ------------------
  388|  80.7M|        {
  389|  80.7M|            return len;
  390|  80.7M|        }
  391|  12.6k|        else if (length - len < chunk_size_)
  ------------------
  |  Branch (391:18): [True: 12.6k, False: 0]
  ------------------
  392|  12.6k|        {
  393|  12.6k|            data_end_ = chunk_;
  394|  12.6k|            remaining_ = fill_buffer(chunk_, chunk_size_);
  395|  12.6k|            if (remaining_ > 0)
  ------------------
  |  Branch (395:17): [True: 10.9k, False: 1.69k]
  ------------------
  396|  10.9k|            {
  397|  10.9k|                std::size_t len2 = (std::min)(remaining_, length-len);
  398|  10.9k|                std::memcpy(p+len, data_end_, len2*sizeof(value_type));
  399|  10.9k|                data_end_ += len2;
  400|  10.9k|                remaining_ -= len2;
  401|  10.9k|                position_ += len2;
  402|  10.9k|                len += len2;
  403|  10.9k|            }
  404|  12.6k|            return len;
  405|  12.6k|        }
  406|      0|        else
  407|      0|        {
  408|      0|            if (stream_ptr_->eof())
  ------------------
  |  Branch (408:17): [True: 0, False: 0]
  ------------------
  409|      0|            {
  410|      0|                remaining_ = 0;
  411|      0|                return 0;
  412|      0|            }
  413|      0|            JSONCONS_TRY
  ------------------
  |  |   37|      0|    #define JSONCONS_TRY try
  ------------------
  414|      0|            {
  415|      0|                std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(p+len), length-len);
  416|      0|                std::size_t len2 = static_cast<std::size_t>(count);
  417|      0|                if (len2 < length-len)
  ------------------
  |  Branch (417:21): [True: 0, False: 0]
  ------------------
  418|      0|                {
  419|      0|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  420|      0|                }
  421|      0|                len += len2;
  422|      0|                position_ += len2;
  423|      0|                return len;
  424|      0|            }
  425|      0|            JSONCONS_CATCH(const std::exception&)     
  426|      0|            {
  427|      0|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  428|      0|                return 0;
  429|      0|            }
  430|      0|        }
  431|  80.7M|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEPhm:
  442|  13.6k|    {
  443|  13.6k|        if (stream_ptr_->eof())
  ------------------
  |  Branch (443:13): [True: 1.70k, False: 11.9k]
  ------------------
  444|  1.70k|        {
  445|  1.70k|            return 0;
  446|  1.70k|        }
  447|       |
  448|  11.9k|        JSONCONS_TRY
  ------------------
  |  |   37|  11.9k|    #define JSONCONS_TRY try
  ------------------
  449|  11.9k|        {
  450|  11.9k|            std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(chunk), chunk_size);
  451|  11.9k|            std::size_t length = static_cast<std::size_t>(count);
  452|       |
  453|  11.9k|            if (length < chunk_size)
  ------------------
  |  Branch (453:17): [True: 5.02k, False: 6.89k]
  ------------------
  454|  5.02k|            {
  455|  5.02k|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  456|  5.02k|            }
  457|  11.9k|            return length;
  458|  11.9k|        }
  459|  11.9k|        JSONCONS_CATCH(const std::exception&)     
  460|  11.9k|        {
  461|      0|            stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  462|      0|            return 0;
  463|      0|        }
  464|  11.9k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_12basic_stringIcNS1_11char_traitsIcEENS2_IcEEEEEENS_6nonstd4spanIKhLm18446744073709551615EEEmOT_:
  352|  62.4k|    {
  353|  62.4k|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   79|  62.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1.29k, False: 61.1k]
  |  |  ------------------
  ------------------
  354|  1.29k|        {
  355|  1.29k|            return span<const value_type>{};
  356|  1.29k|        }
  357|  61.1k|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 151, False: 61.0k]
  |  Branch (357:32): [True: 34, False: 117]
  ------------------
  358|     34|        {
  359|     34|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|     34|            data_end_ = chunk_;
  361|     34|        }
  362|  61.1k|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 480, False: 60.6k]
  ------------------
  363|    480|        {
  364|    480|            buffer.clear();
  365|    480|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    480|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    480|        }
  368|       |
  369|  60.6k|        const value_type* data = data_end_;
  370|  60.6k|        data_end_ += length;
  371|  60.6k|        remaining_ -= length;
  372|  60.6k|        position_ += length;
  373|  60.6k|        return span<const value_type>(data, length);
  374|  61.1k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_12basic_stringIcNS2_11char_traitsIcEENS3_IcEEEEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSG_m:
  749|    480|    {
  750|    480|        std::size_t unread = length;
  751|       |
  752|  1.70k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (752:16): [True: 1.47k, False: 232]
  |  Branch (752:30): [True: 1.22k, False: 248]
  ------------------
  753|  1.22k|        {
  754|  1.22k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (754:17): [True: 479, False: 750]
  |  Branch (754:44): [True: 477, False: 2]
  ------------------
  755|    477|            {
  756|    477|                std::size_t n = source.chunk_size();
  757|    477|                std::size_t offset = buffer.size();
  758|    477|                buffer.resize(offset+n);
  759|    477|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  760|    477|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|    477|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 67, False: 410]
  |  |  ------------------
  ------------------
  761|     67|                {
  762|     67|                    buffer.resize(offset+actual);
  763|     67|                }
  764|    477|                unread -= actual;
  765|    477|            }
  766|    752|            else
  767|    752|            {
  768|    752|                std::size_t n = (std::min)(source.chunk_size(), unread);
  769|    752|                std::size_t offset = buffer.size();
  770|    752|                buffer.resize(offset+n);
  771|    752|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  772|    752|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|    752|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 112, False: 640]
  |  |  ------------------
  ------------------
  773|    112|                {
  774|    112|                    buffer.resize(offset + actual);
  775|    112|                }
  776|    752|                unread -= actual;
  777|    752|            }
  778|  1.22k|        }
  779|    480|        return length - unread;
  780|    480|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|  3.43k|    {
  272|  3.43k|        return remaining_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:16): [True: 1.49k, False: 1.93k]
  |  Branch (272:35): [True: 570, False: 923]
  ------------------
  273|  3.43k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9remainingEv:
  346|  2.86k|    {
  347|  2.86k|        return remaining_;
  348|  2.86k|    }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE10chunk_sizeEv:
  261|  3.78k|    {
  262|  3.78k|        return chunk_size_;
  263|  3.78k|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11read_bufferEPhm:
  435|    908|    {
  436|    908|        auto len = fill_buffer(chunk, chunk_size);
  437|    908|        position_ += len;
  438|    908|        return len;
  439|    908|    }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE9read_spanIRNS1_6vectorIhS3_EEEENS_6nonstd4spanIKhLm18446744073709551615EEEmOT_:
  352|  64.0k|    {
  353|  64.0k|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   79|  64.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 25.7k, False: 38.2k]
  |  |  ------------------
  ------------------
  354|  25.7k|        {
  355|  25.7k|            return span<const value_type>{};
  356|  25.7k|        }
  357|  38.2k|        if (remaining_ == 0 && length <= chunk_size_)
  ------------------
  |  Branch (357:13): [True: 180, False: 38.0k]
  |  Branch (357:32): [True: 47, False: 133]
  ------------------
  358|     47|        {
  359|     47|            remaining_ = fill_buffer(chunk_, chunk_size_);
  360|     47|            data_end_ = chunk_;
  361|     47|        }
  362|  38.2k|        if (length > remaining_)
  ------------------
  |  Branch (362:13): [True: 619, False: 37.6k]
  ------------------
  363|    619|        {
  364|    619|            buffer.clear();
  365|    619|            source_reader<stream_source_type>::read(*this, std::forward<Buffer>(buffer), length);
  366|    619|            return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  367|    619|        }
  368|       |
  369|  37.6k|        const value_type* data = data_end_;
  370|  37.6k|        data_end_ += length;
  371|  37.6k|        remaining_ -= length;
  372|  37.6k|        position_ += length;
  373|  37.6k|        return span<const value_type>(data, length);
  374|  38.2k|    }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS5_RSD_m:
  749|    619|    {
  750|    619|        std::size_t unread = length;
  751|       |
  752|  2.25k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (752:16): [True: 1.95k, False: 297]
  |  Branch (752:30): [True: 1.63k, False: 322]
  ------------------
  753|  1.63k|        {
  754|  1.63k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (754:17): [True: 444, False: 1.18k]
  |  Branch (754:44): [True: 431, False: 13]
  ------------------
  755|    431|            {
  756|    431|                std::size_t n = source.chunk_size();
  757|    431|                std::size_t offset = buffer.size();
  758|    431|                buffer.resize(offset+n);
  759|    431|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  760|    431|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|    431|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 64, False: 367]
  |  |  ------------------
  ------------------
  761|     64|                {
  762|     64|                    buffer.resize(offset+actual);
  763|     64|                }
  764|    431|                unread -= actual;
  765|    431|            }
  766|  1.20k|            else
  767|  1.20k|            {
  768|  1.20k|                std::size_t n = (std::min)(source.chunk_size(), unread);
  769|  1.20k|                std::size_t offset = buffer.size();
  770|  1.20k|                buffer.resize(offset+n);
  771|  1.20k|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  772|  1.20k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|  1.20k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 184, False: 1.01k]
  |  |  ------------------
  ------------------
  773|    184|                {
  774|    184|                    buffer.resize(offset + actual);
  775|    184|                }
  776|  1.20k|                unread -= actual;
  777|  1.20k|            }
  778|  1.63k|        }
  779|    619|        return length - unread;
  780|    619|    }

_ZN8jsoncons6binary16little_to_nativeIiNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|   275k|    {
  198|   275k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 275k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|   275k|        T val;
  203|   275k|        std::memcpy(&val,first,sizeof(T));
  204|   275k|        return val;
  205|   275k|    }
_ZN8jsoncons6binary16little_to_nativeIdNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|  11.5k|    {
  198|  11.5k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 11.5k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|  11.5k|        T val;
  203|  11.5k|        std::memcpy(&val,first,sizeof(T));
  204|  11.5k|        return val;
  205|  11.5k|    }
_ZN8jsoncons6binary16little_to_nativeImNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|  21.0k|    {
  198|  21.0k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 21.0k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|  21.0k|        T val;
  203|  21.0k|        std::memcpy(&val,first,sizeof(T));
  204|  21.0k|        return val;
  205|  21.0k|    }
_ZN8jsoncons6binary16little_to_nativeIlNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  197|  14.9k|    {
  198|  14.9k|        if (sizeof(T) > count)
  ------------------
  |  Branch (198:13): [True: 0, False: 14.9k]
  ------------------
  199|      0|        {
  200|      0|            return T{};
  201|      0|        }
  202|  14.9k|        T val;
  203|  14.9k|        std::memcpy(&val,first,sizeof(T));
  204|  14.9k|        return val;
  205|  14.9k|    }

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

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  237|  97.8k|    {       
  238|  97.8k|        return (ptr);
  239|  97.8k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  237|  63.6k|    {       
  238|  63.6k|        return (ptr);
  239|  63.6k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  237|  73.4k|    {       
  238|  73.4k|        return (ptr);
  239|  73.4k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  237|  77.1k|    {       
  238|  77.1k|        return (ptr);
  239|  77.1k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  237|   161k|    {       
  238|   161k|        return (ptr);
  239|   161k|    }  

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

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  10.6M|    {
 1148|  10.6M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  10.6M|        const uint8_t* end = it + length;
 1150|       |
 1151|  10.6M|        unicode_errc  result{};
 1152|  14.6M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 4.07M, False: 10.6M]
  ------------------
 1153|  4.07M|        {
 1154|  4.07M|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 2.85M, False: 1.21M]
  ------------------
 1155|  2.85M|            {
 1156|  19.9M|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  342|  5.71M|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (342:32): [True: 2.85M, False: 4.50k]
  |  |  |  Branch (342:34): [True: 2.85M, False: 1.83k]
  |  |  |  Branch (342:36): [True: 2.84M, False: 2.37k]
  |  |  |  Branch (342:38): [True: 2.84M, False: 2.01k]
  |  |  |  Branch (342:40): [True: 2.84M, False: 2.51k]
  |  |  |  Branch (342:42): [True: 2.84M, False: 2.73k]
  |  |  |  Branch (342:44): [True: 2.83M, False: 1.66k]
  |  |  |  Branch (342:46): [True: 2.83M, False: 2.57k]
  |  |  ------------------
  ------------------
 1157|  2.83M|                continue;
 1158|  19.9M|            }
 1159|  1.23M|    non_ascii:
 1160|  1.23M|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  1.23M|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 41, False: 1.23M]
  ------------------
 1162|     41|            {
 1163|     41|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     41|            }
 1165|  1.23M|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 159, False: 1.23M]
  ------------------
 1166|    159|            {
 1167|    159|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    159|            }
 1169|  1.23M|            it += len;
 1170|  1.23M|        }
 1171|  10.6M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  10.6M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  1.23M|    {
  306|  1.23M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  1.23M|        const uint8_t* end = it+length;
  308|       |
  309|  1.23M|        uint8_t byte;
  310|  1.23M|        switch (length) {
  311|     28|        default:
  ------------------
  |  Branch (311:9): [True: 28, False: 1.23M]
  ------------------
  312|     28|            return unicode_errc::over_long_utf8_sequence;
  313|  6.31k|        case 4:
  ------------------
  |  Branch (313:9): [True: 6.31k, False: 1.23M]
  ------------------
  314|  6.31k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 13, False: 6.30k]
  ------------------
  315|     13|                return unicode_errc::bad_continuation_byte;
  316|  6.30k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  576|  6.30k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  13.6k|        case 3:
  ------------------
  |  Branch (317:9): [True: 7.35k, False: 1.22M]
  ------------------
  318|  13.6k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 6, False: 13.6k]
  ------------------
  319|      6|                return unicode_errc::bad_continuation_byte;
  320|  13.6k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  576|  13.6k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  20.8k|        case 2:
  ------------------
  |  Branch (321:9): [True: 7.22k, False: 1.22M]
  ------------------
  322|  20.8k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 32, False: 20.8k]
  ------------------
  323|     32|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  20.8k|            switch (*it) 
  326|  20.8k|            {
  327|       |                // no fall-through in this inner switch
  328|  1.16k|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 1.16k, False: 19.6k]
  |  Branch (328:32): [True: 6, False: 1.15k]
  ------------------
  329|  1.15k|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 958, False: 19.8k]
  |  Branch (329:32): [True: 3, False: 955]
  ------------------
  330|    955|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 372, False: 20.4k]
  |  Branch (330:32): [True: 5, False: 367]
  ------------------
  331|    980|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 980, False: 19.8k]
  |  Branch (331:32): [True: 5, False: 975]
  ------------------
  332|  17.3k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 17.3k, False: 3.47k]
  |  Branch (332:32): [True: 0, False: 17.3k]
  ------------------
  333|  20.8k|            }
  334|       |
  335|  20.8k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  576|  20.8k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  1.23M|        case 1:
  ------------------
  |  Branch (336:9): [True: 1.21M, False: 20.9k]
  ------------------
  337|  1.23M|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 20.8k, False: 1.21M]
  |  Branch (337:32): [True: 60, False: 20.8k]
  ------------------
  338|     60|                return unicode_errc::source_illegal;
  339|  1.23M|            break;
  340|  1.23M|        }
  341|  1.23M|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 1, False: 1.23M]
  ------------------
  342|      1|            return unicode_errc::source_illegal;
  343|       |
  344|  1.23M|        return unicode_errc();
  345|  1.23M|    }

_ZN8jsoncons4bson3TP1C2Ev:
   78|  6.80k|        constexpr TP1() : low(0), high(0) {}
_ZN8jsoncons4bson19decimal128_to_charsEPcS1_RKNS0_3TP1E:
  335|  6.80k|    {
  336|  6.80k|        static const std::string bson_decimal128_inf = "Infinity";
  337|  6.80k|        static const std::string bson_decimal128_nan = "NaN";
  338|       |
  339|  6.80k|        static constexpr uint32_t combination_mask = 0x1f;   /* Extract least significant 5 bits */
  340|  6.80k|        static constexpr uint32_t exponent_mask = 0x3fff;    /* Extract least significant 14 bits */
  341|  6.80k|        static constexpr uint32_t combination_infinity = 30; /* Value of combination field for Inf */
  342|  6.80k|        static constexpr uint32_t combination_nan = 31;      /* Value of combination field for NaN */
  343|  6.80k|        static constexpr uint32_t exponent_bias = 6176;      /* decimal128 exponent bias */
  344|       |
  345|  6.80k|        char* str_out = first;      /* output pointer in string */
  346|  6.80k|        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|  6.80k|        uint32_t high;                   /* bits 0 - 31 */
  351|  6.80k|        uint32_t midh;                   /* bits 32 - 63 */
  352|  6.80k|        uint32_t midl;                   /* bits 64 - 95 */
  353|  6.80k|        uint32_t low;                    /* bits 96 - 127 */
  354|  6.80k|        uint32_t combination;            /* bits 1 - 5 */
  355|  6.80k|        uint32_t biased_exponent;        /* decoded biased exponent (14 bits) */
  356|  6.80k|        uint32_t significand_digits = 0; /* the number of significand digits */
  357|  6.80k|        uint32_t significand[36] = {0};  /* the base-10 digits in the significand */
  358|  6.80k|        uint32_t *significand_read = significand; /* read pointer into significand */
  359|  6.80k|        int32_t exponent;                         /* unbiased exponent */
  360|  6.80k|        int32_t scientific_exponent; /* the exponent if scientific notation is
  361|       |                                      * used */
  362|  6.80k|        bool is_zero = false;        /* true if the number is zero */
  363|       | 
  364|  6.80k|        uint8_t significand_msb; /* the most signifcant significand bits (50-46) */
  365|  6.80k|        bson_uint128_t
  366|  6.80k|           significand128; /* temporary storage for significand decoding */
  367|       | 
  368|  6.80k|        memset (significand_str, 0, sizeof (significand_str));
  369|       | 
  370|  6.80k|        if ((int64_t) dec.high < 0) { /* negative */
  ------------------
  |  Branch (370:13): [True: 949, False: 5.86k]
  ------------------
  371|    949|           *(str_out++) = '-';
  372|    949|        }
  373|       | 
  374|  6.80k|        low = (uint32_t) dec.low, midl = (uint32_t) (dec.low >> 32),
  375|  6.80k|        midh = (uint32_t) dec.high, high = (uint32_t) (dec.high >> 32);
  376|       | 
  377|       |        /* Decode combination field and exponent */
  378|  6.80k|        combination = (high >> 26) & combination_mask;
  379|       | 
  380|  6.80k|        if (JSONCONS_UNLIKELY ((combination >> 3) == 3)) {
  ------------------
  |  |   79|  6.80k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1.11k, False: 5.69k]
  |  |  ------------------
  ------------------
  381|       |           /* Check for 'special' values */
  382|  1.11k|           if (combination == combination_infinity) { /* Infinity */
  ------------------
  |  Branch (382:16): [True: 194, False: 923]
  ------------------
  383|    194|               if (last-str_out >= static_cast<ptrdiff_t >(bson_decimal128_inf.size())) 
  ------------------
  |  Branch (383:20): [True: 194, False: 0]
  ------------------
  384|    194|               {
  385|    194|                   std::memcpy(str_out, bson_decimal128_inf.data(), bson_decimal128_inf.size());
  386|    194|                   str_out += bson_decimal128_inf.size();
  387|    194|               }
  388|    194|               *str_out = 0;
  389|       |              //strcpy_s (str_out, last-str_out, bson_decimal128_inf.c_str());
  390|    194|              return decimal128_to_chars_result{str_out, std::errc{}};
  391|    923|           } else if (combination == combination_nan) { /* NaN */
  ------------------
  |  Branch (391:23): [True: 719, False: 204]
  ------------------
  392|       |               /* first, not str_out, to erase the sign */
  393|    719|               str_out = first;
  394|    719|               if (last-str_out >= static_cast<ptrdiff_t >(bson_decimal128_nan.size())) 
  ------------------
  |  Branch (394:20): [True: 719, False: 0]
  ------------------
  395|    719|               {
  396|    719|                   std::memcpy(str_out, bson_decimal128_nan.data(), bson_decimal128_nan.size());
  397|    719|                   str_out += bson_decimal128_nan.size();
  398|    719|               }
  399|    719|               *str_out = 0;
  400|       |              //strcpy_s (first, last-first, bson_decimal128_nan.c_str());
  401|       |              /* we don't care about the NaN payload. */
  402|    719|               return decimal128_to_chars_result{str_out, std::errc{}};
  403|    719|           } else {
  404|    204|              biased_exponent = (high >> 15) & exponent_mask;
  405|    204|              significand_msb = 0x8 + ((high >> 14) & 0x1);
  406|    204|           }
  407|  5.69k|        } else {
  408|  5.69k|           significand_msb = (high >> 14) & 0x7;
  409|  5.69k|           biased_exponent = (high >> 17) & exponent_mask;
  410|  5.69k|        }
  411|       | 
  412|  5.89k|        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|  5.89k|        significand128.parts[0] = (high & 0x3fff) + ((significand_msb & 0xf) << 14);
  419|  5.89k|        significand128.parts[1] = midh;
  420|  5.89k|        significand128.parts[2] = midl;
  421|  5.89k|        significand128.parts[3] = low;
  422|       | 
  423|  5.89k|        if (significand128.parts[0] == 0 && significand128.parts[1] == 0 &&
  ------------------
  |  Branch (423:13): [True: 1.82k, False: 4.07k]
  |  Branch (423:45): [True: 1.00k, False: 816]
  ------------------
  424|  1.00k|            significand128.parts[2] == 0 && significand128.parts[3] == 0) {
  ------------------
  |  Branch (424:13): [True: 673, False: 333]
  |  Branch (424:45): [True: 194, False: 479]
  ------------------
  425|    194|           is_zero = true;
  426|  5.70k|        } else if (significand128.parts[0] >= (1 << 17)) {
  ------------------
  |  Branch (426:20): [True: 204, False: 5.49k]
  ------------------
  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|    204|           is_zero = true;
  434|  5.49k|        } else {
  435|  27.4k|           for (int k = 3; k >= 0; k--) {
  ------------------
  |  Branch (435:28): [True: 21.9k, False: 5.49k]
  ------------------
  436|  21.9k|              uint32_t least_digits = 0;
  437|  21.9k|              detail::bson_uint128_divide1B (
  438|  21.9k|                 significand128, &significand128, &least_digits);
  439|       | 
  440|       |              /* We now have the 9 least significant digits (in base 2). */
  441|       |              /* Convert and output to string. */
  442|  21.9k|              if (!least_digits) {
  ------------------
  |  Branch (442:19): [True: 1.56k, False: 20.4k]
  ------------------
  443|  1.56k|                 continue;
  444|  1.56k|              }
  445|       | 
  446|   204k|              for (int j = 8; j >= 0; j--) {
  ------------------
  |  Branch (446:31): [True: 183k, False: 20.4k]
  ------------------
  447|   183k|                 significand[k * 9 + j] = least_digits % 10;
  448|   183k|                 least_digits /= 10;
  449|   183k|              }
  450|  20.4k|           }
  451|  5.49k|        }
  452|       | 
  453|       |        /* Output format options: */
  454|       |        /* Scientific - [-]d.dddE(+/-)dd or [-]dE(+/-)dd */
  455|       |        /* Regular    - ddd.ddd */
  456|       | 
  457|  5.89k|        if (is_zero) {
  ------------------
  |  Branch (457:13): [True: 398, False: 5.49k]
  ------------------
  458|    398|           significand_digits = 1;
  459|    398|           *significand_read = 0;
  460|  5.49k|        } else {
  461|  5.49k|           significand_digits = 36;
  462|  44.7k|           while (!(*significand_read)) {
  ------------------
  |  Branch (462:19): [True: 39.2k, False: 5.49k]
  ------------------
  463|  39.2k|              significand_digits--;
  464|  39.2k|              significand_read++;
  465|  39.2k|           }
  466|  5.49k|        }
  467|       | 
  468|  5.89k|        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|  5.89k|        if (scientific_exponent < -6 || exponent > 0) {
  ------------------
  |  Branch (478:13): [True: 3.95k, False: 1.94k]
  |  Branch (478:41): [True: 1.05k, False: 886]
  ------------------
  479|       |           /* Scientific format */
  480|  5.01k|           *(str_out++) = char(*(significand_read++)) + '0';
  481|  5.01k|           significand_digits--;
  482|       | 
  483|  5.01k|           if (significand_digits) {
  ------------------
  |  Branch (483:16): [True: 4.61k, False: 398]
  ------------------
  484|  4.61k|              *(str_out++) = '.';
  485|  4.61k|           }
  486|       | 
  487|   133k|           for (std::size_t i = 0; i < significand_digits && (str_out - first) < 36; i++) {
  ------------------
  |  Branch (487:36): [True: 128k, False: 5.00k]
  |  Branch (487:62): [True: 128k, False: 1]
  ------------------
  488|   128k|              *(str_out++) = char(*(significand_read++)) + '0';
  489|   128k|           }
  490|       |           /* Exponent */
  491|  5.01k|           *(str_out++) = 'E';
  492|       |
  493|  5.01k|           std::string s;
  494|  5.01k|           if (scientific_exponent >= 0) {
  ------------------
  |  Branch (494:16): [True: 1.05k, False: 3.95k]
  ------------------
  495|  1.05k|               s.push_back('+');
  496|  1.05k|           }
  497|  5.01k|           jsoncons::append_to_string(scientific_exponent, s);
  498|  5.01k|           if (str_out + s.size() < last) 
  ------------------
  |  Branch (498:16): [True: 4.31k, False: 691]
  ------------------
  499|  4.31k|           {
  500|  4.31k|               std::memcpy(str_out, s.data(), s.size());
  501|  4.31k|           }
  502|    691|           else
  503|    691|           {
  504|    691|               return decimal128_to_chars_result{str_out, std::errc::value_too_large};
  505|    691|           }
  506|  4.31k|           str_out += s.size();
  507|  4.31k|        } else {
  508|       |           /* Regular format with no decimal place */
  509|    886|           if (exponent >= 0) {
  ------------------
  |  Branch (509:16): [True: 320, False: 566]
  ------------------
  510|  8.67k|              for (std::size_t i = 0; i < significand_digits && (str_out - first) < 36; i++) {
  ------------------
  |  Branch (510:39): [True: 8.35k, False: 320]
  |  Branch (510:65): [True: 8.35k, False: 0]
  ------------------
  511|  8.35k|                 *(str_out++) = char(*(significand_read++)) + '0';
  512|  8.35k|              }
  513|    566|           } else {
  514|    566|              int32_t radix_position = significand_digits + exponent;
  515|       | 
  516|    566|              if (radix_position > 0) { /* non-zero digits before radix */
  ------------------
  |  Branch (516:19): [True: 222, False: 344]
  ------------------
  517|    222|                 for (int32_t i = 0;
  518|  1.46k|                      i < radix_position && (str_out < last);
  ------------------
  |  Branch (518:23): [True: 1.24k, False: 222]
  |  Branch (518:45): [True: 1.24k, False: 0]
  ------------------
  519|  1.24k|                      i++) {
  520|  1.24k|                    *(str_out++) = char(*(significand_read++)) + '0';
  521|  1.24k|                 }
  522|    344|              } else { /* leading zero before radix point */
  523|    344|                 *(str_out++) = '0';
  524|    344|              }
  525|       | 
  526|    566|              *(str_out++) = '.';
  527|  1.60k|              while (radix_position++ < 0) { /* add leading zeros after radix */
  ------------------
  |  Branch (527:22): [True: 1.04k, False: 566]
  ------------------
  528|  1.04k|                 *(str_out++) = '0';
  529|  1.04k|              }
  530|       | 
  531|    566|              for (std::size_t i = 0;
  532|  16.8k|                   (i < significand_digits - (std::max) (radix_position - 1, 0)) &&
  ------------------
  |  Branch (532:20): [True: 16.3k, False: 551]
  |  Branch (532:20): [True: 16.2k, False: 566]
  ------------------
  533|  16.3k|                   (str_out < last);
  ------------------
  |  Branch (533:20): [True: 16.2k, False: 15]
  ------------------
  534|  16.2k|                   i++) {
  535|  16.2k|                 *(str_out++) = char(*(significand_read++)) + '0';
  536|  16.2k|              }
  537|    566|           }
  538|    886|        }
  539|  5.20k|        return decimal128_to_chars_result{str_out, std::errc{}};
  540|  5.89k|    }
_ZN8jsoncons4bson6detail21bson_uint128_divide1BENS0_14bson_uint128_tEPS2_Pj:
  178|  21.9k|        {
  179|  21.9k|            static constexpr uint32_t DIVISOR = 1000 * 1000 * 1000;
  180|  21.9k|            uint64_t _rem = 0;
  181|  21.9k|            int i = 0;
  182|       |            
  183|  21.9k|            if (!value.parts[0] && !value.parts[1] && !value.parts[2] &&
  ------------------
  |  Branch (183:17): [True: 18.1k, False: 3.87k]
  |  Branch (183:36): [True: 12.9k, False: 5.20k]
  |  Branch (183:55): [True: 7.59k, False: 5.32k]
  ------------------
  184|  7.59k|                !value.parts[3]) {
  ------------------
  |  Branch (184:17): [True: 1.56k, False: 6.02k]
  ------------------
  185|  1.56k|               *quotient = value;
  186|  1.56k|               *rem = 0;
  187|  1.56k|               return;
  188|  1.56k|            }
  189|       |            
  190|   102k|            for (i = 0; i <= 3; i++) {
  ------------------
  |  Branch (190:25): [True: 81.6k, False: 20.4k]
  ------------------
  191|  81.6k|               _rem <<= 32; /* Adjust remainder to match value of next dividend */
  192|  81.6k|               _rem += value.parts[i]; /* Add the divided to _rem */
  193|  81.6k|               value.parts[i] = (uint32_t) (_rem / DIVISOR);
  194|  81.6k|               _rem %= DIVISOR; /* Store the remainder */
  195|  81.6k|            }
  196|       |            
  197|  20.4k|            *quotient = value;
  198|  20.4k|            *rem = (uint32_t) _rem;
  199|  20.4k|        }

_ZN8jsoncons4bson15make_error_codeENS0_9bson_errcE:
  100|  5.02k|{
  101|  5.02k|    return std::error_code(static_cast<int>(result),bson_error_category());
  102|  5.02k|}
_ZN8jsoncons4bson19bson_error_categoryEv:
   93|  5.02k|{
   94|  5.02k|  static bson_error_category_impl instance;
   95|  5.02k|  return instance;
   96|  5.02k|}
_ZNK8jsoncons4bson24bson_error_category_impl7messageEi:
   48|  5.02k|    {
   49|  5.02k|        switch (static_cast<bson_errc>(ev))
   50|  5.02k|        {
   51|  1.99k|            case bson_errc::unexpected_eof:
  ------------------
  |  Branch (51:13): [True: 1.99k, False: 3.03k]
  ------------------
   52|  1.99k|                return "Unexpected end of file";
   53|      0|            case bson_errc::source_error:
  ------------------
  |  Branch (53:13): [True: 0, False: 5.02k]
  ------------------
   54|      0|                return "Source error";
   55|    200|            case bson_errc::invalid_utf8:
  ------------------
  |  Branch (55:13): [True: 200, False: 4.82k]
  ------------------
   56|    200|                return "Illegal UTF-8 encoding in text string";
   57|      2|            case bson_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (57:13): [True: 2, False: 5.02k]
  ------------------
   58|      2|                return "Data item nesting exceeds limit in options";
   59|      0|            case bson_errc::unmatched_end_object:
  ------------------
  |  Branch (59:13): [True: 0, False: 5.02k]
  ------------------
   60|      0|                return "Unmatched end object";
   61|      0|            case bson_errc::unmatched_end_array:
  ------------------
  |  Branch (61:13): [True: 0, False: 5.02k]
  ------------------
   62|      0|                return "Unmatched end array";
   63|     35|            case bson_errc::string_length_is_non_positive:
  ------------------
  |  Branch (63:13): [True: 35, False: 4.99k]
  ------------------
   64|     35|                return "Request for the length of a string returned a non-positive result";
   65|     35|            case bson_errc::length_is_negative:
  ------------------
  |  Branch (65:13): [True: 35, False: 4.99k]
  ------------------
   66|     35|                return "Request for the length of a binary returned a negative result";
   67|     86|            case bson_errc::unknown_type:
  ------------------
  |  Branch (67:13): [True: 86, False: 4.94k]
  ------------------
   68|     86|                return "Unknown type in input";
   69|      0|            case bson_errc::number_too_large:
  ------------------
  |  Branch (69:13): [True: 0, False: 5.02k]
  ------------------
   70|      0|                return "Number too large";
   71|      0|            case bson_errc::invalid_decimal128_string:
  ------------------
  |  Branch (71:13): [True: 0, False: 5.02k]
  ------------------
   72|      0|                return "Invalid decimal128 string";
   73|      0|            case bson_errc::datetime_too_large:
  ------------------
  |  Branch (73:13): [True: 0, False: 5.02k]
  ------------------
   74|      0|                return "datetime too large";
   75|      0|            case bson_errc::datetime_too_small:
  ------------------
  |  Branch (75:13): [True: 0, False: 5.02k]
  ------------------
   76|      0|                return "datetime too small";
   77|      0|            case bson_errc::expected_bson_document:
  ------------------
  |  Branch (77:13): [True: 0, False: 5.02k]
  ------------------
   78|      0|                return "Expected BSON document";
   79|      0|            case bson_errc::bad_regex:
  ------------------
  |  Branch (79:13): [True: 0, False: 5.02k]
  ------------------
   80|      0|                return "Invalid regex string";
   81|     17|            case bson_errc::expected_boolean:
  ------------------
  |  Branch (81:13): [True: 17, False: 5.01k]
  ------------------
   82|     17|                return "Expected a boolean value";
   83|  2.66k|            case bson_errc::size_mismatch:
  ------------------
  |  Branch (83:13): [True: 2.66k, False: 2.36k]
  ------------------
   84|  2.66k|                return "Document or array size doesn't match bytes read";
   85|      0|            default:
  ------------------
  |  Branch (85:13): [True: 0, False: 5.02k]
  ------------------
   86|      0|                return "Unknown BSON parser error";
   87|  5.02k|        }
   88|  5.02k|    }

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

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

_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_19bson_decode_optionsERKS7_:
   85|  5.04k|       : source_(std::forward<Sourceable>(source)), 
   86|  5.04k|         max_nesting_depth_(options.max_nesting_depth()),
   87|  5.04k|         bytes_buffer_(temp_alloc),
   88|  5.04k|         name_buffer_(temp_alloc),
   89|  5.04k|         text_buffer_(temp_alloc),
   90|  5.04k|         state_stack_(temp_alloc)
   91|  5.04k|    {
   92|  5.04k|        state_stack_.emplace_back(parse_mode::root,0,0);
   93|  5.04k|    }
_ZN8jsoncons4bson11parse_stateC2ENS0_10parse_modeEmmh:
   48|  85.3k|        : mode(mode_), length(length_), pos(pos_), type(type_)
   49|  85.3k|    {
   50|  85.3k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  149|  5.02k|    {
  150|  5.02k|        return 0;
  151|  5.02k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  154|  5.02k|    {
  155|  5.02k|        return source_.position();
  156|  5.02k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
  101|  5.04k|    {
  102|  5.04k|        more_ = true;
  103|  5.04k|        done_ = false;
  104|  5.04k|        bytes_buffer_.clear();
  105|  5.04k|        name_buffer_.clear();
  106|  5.04k|        text_buffer_.clear();
  107|  5.04k|        state_stack_.clear();
  108|  5.04k|        state_stack_.emplace_back(parse_mode::root,0,0);
  109|  5.04k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  169|  5.04k|    {
  170|  5.04k|        if (JSONCONS_UNLIKELY(source_.is_error()))
  ------------------
  |  |   79|  5.04k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 5.04k]
  |  |  ------------------
  ------------------
  171|      0|        {
  172|      0|            ec = bson_errc::source_error;
  173|      0|            more_ = false;
  174|      0|            return;
  175|      0|        }
  176|       |        
  177|  31.4M|        while (!done_ && more_)
  ------------------
  |  Branch (177:16): [True: 31.4M, False: 18]
  |  Branch (177:26): [True: 31.4M, False: 4]
  ------------------
  178|  31.4M|        {
  179|  31.4M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (179:21): [True: 31.4M, False: 0]
  ------------------
  180|  31.4M|            {
  181|  5.04k|                case parse_mode::root:
  ------------------
  |  Branch (181:17): [True: 5.04k, False: 31.4M]
  ------------------
  182|  5.04k|                    state_stack_.back().mode = parse_mode::accept;
  183|  5.04k|                    begin_document(visitor, ec);
  184|  5.04k|                    break;
  185|  10.5M|                case parse_mode::document:
  ------------------
  |  Branch (185:17): [True: 10.5M, False: 20.8M]
  ------------------
  186|  10.5M|                {
  187|  10.5M|                    uint8_t type;
  188|  10.5M|                    std::size_t n = source_.read(&type, 1);
  189|  10.5M|                    state_stack_.back().pos += n;
  190|  10.5M|                    if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   79|  10.5M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 757, False: 10.5M]
  |  |  ------------------
  ------------------
  191|    757|                    {
  192|    757|                        ec = bson_errc::unexpected_eof;
  193|    757|                        more_ = false;
  194|    757|                        return;
  195|    757|                    }
  196|  10.5M|                    if (type != 0x00)
  ------------------
  |  Branch (196:25): [True: 10.5M, False: 27.4k]
  ------------------
  197|  10.5M|                    {
  198|  10.5M|                        read_e_name(visitor,jsoncons::bson::container_type::document,ec);
  199|  10.5M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  10.5M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 279, False: 10.5M]
  |  |  ------------------
  ------------------
  200|    279|                        {
  201|    279|                            more_ = false;
  202|    279|                            return;
  203|    279|                        }
  204|  10.5M|                        state_stack_.back().mode = parse_mode::value;
  205|  10.5M|                        state_stack_.back().type = type;
  206|  10.5M|                    }
  207|  27.4k|                    else
  208|  27.4k|                    {
  209|  27.4k|                        end_document(visitor,ec);
  210|  27.4k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  27.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2.27k, False: 25.1k]
  |  |  ------------------
  ------------------
  211|  2.27k|                        {
  212|  2.27k|                            more_ = false;
  213|  2.27k|                            return;
  214|  2.27k|                        }
  215|  27.4k|                    }
  216|  10.5M|                    break;
  217|  10.5M|                }
  218|  10.5M|                case parse_mode::array:
  ------------------
  |  Branch (218:17): [True: 10.2M, False: 21.1M]
  ------------------
  219|  10.2M|                {
  220|  10.2M|                    uint8_t type;
  221|  10.2M|                    std::size_t n = source_.read(&type, 1);
  222|  10.2M|                    state_stack_.back().pos += n;
  223|  10.2M|                    if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   79|  10.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 270, False: 10.2M]
  |  |  ------------------
  ------------------
  224|    270|                    {
  225|    270|                        ec = bson_errc::unexpected_eof;
  226|    270|                        more_ = false;
  227|    270|                        return;
  228|    270|                    }
  229|  10.2M|                    if (type != 0x00)
  ------------------
  |  Branch (229:25): [True: 10.2M, False: 18.3k]
  ------------------
  230|  10.2M|                    {
  231|  10.2M|                        read_e_name(visitor,jsoncons::bson::container_type::array,ec);
  232|  10.2M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  10.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 57, False: 10.2M]
  |  |  ------------------
  ------------------
  233|     57|                        {
  234|     57|                            more_ = false;
  235|     57|                            return;
  236|     57|                        }
  237|  10.2M|                        read_value(visitor, type, ec);
  238|  10.2M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  10.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 83, False: 10.2M]
  |  |  ------------------
  ------------------
  239|     83|                        {
  240|     83|                            more_ = false;
  241|     83|                            return;
  242|     83|                        }
  243|  10.2M|                    }
  244|  18.3k|                    else
  245|  18.3k|                    {
  246|  18.3k|                        end_array(visitor,ec);
  247|  18.3k|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  18.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 388, False: 17.9k]
  |  |  ------------------
  ------------------
  248|    388|                        {
  249|    388|                            more_ = false;
  250|    388|                            return;
  251|    388|                        }
  252|  18.3k|                    }
  253|  10.2M|                    break;
  254|  10.2M|                }
  255|  10.5M|                case parse_mode::value:
  ------------------
  |  Branch (255:17): [True: 10.5M, False: 20.8M]
  ------------------
  256|  10.5M|                    state_stack_.back().mode = parse_mode::document;
  257|  10.5M|                    read_value(visitor,state_stack_.back().type,ec);
  258|  10.5M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  10.5M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 916, False: 10.5M]
  |  |  ------------------
  ------------------
  259|    916|                    {
  260|    916|                        more_ = false;
  261|    916|                        return;
  262|    916|                    }
  263|  10.5M|                    break;
  264|  10.5M|                case parse_mode::accept:
  ------------------
  |  Branch (264:17): [True: 18, False: 31.4M]
  ------------------
  265|     18|                {
  266|     18|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   67|     18|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 18]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  267|     18|                    state_stack_.clear();
  268|     18|                    more_ = false;
  269|     18|                    done_ = true;
  270|     18|                    visitor.flush();
  271|     18|                    break;
  272|     18|                }
  273|  31.4M|            }
  274|  31.4M|        }
  275|  5.04k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE14begin_documentERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  280|  38.6k|    {
  281|  38.6k|        if (JSONCONS_UNLIKELY(static_cast<int>(state_stack_.size()) > max_nesting_depth_))
  ------------------
  |  |   79|  38.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1, False: 38.6k]
  |  |  ------------------
  ------------------
  282|      1|        {
  283|      1|            ec = bson_errc::max_nesting_depth_exceeded;
  284|      1|            more_ = false;
  285|      1|            return;
  286|      1|        } 
  287|       |
  288|  38.6k|        uint8_t buf[sizeof(int32_t)]; 
  289|  38.6k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  290|  38.6k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   79|  38.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 28, False: 38.5k]
  |  |  ------------------
  ------------------
  291|     28|        {
  292|     28|            ec = bson_errc::unexpected_eof;
  293|     28|            more_ = false;
  294|     28|            return;
  295|     28|        }
  296|       |
  297|  38.5k|        auto length = binary::little_to_native<int32_t>(buf, sizeof(buf));
  298|       |
  299|  38.5k|        visitor.begin_object(semantic_tag::none, *this, ec);
  300|  38.5k|        more_ = !cursor_mode_;
  301|  38.5k|        state_stack_.emplace_back(parse_mode::document,length,n);
  302|  38.5k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_e_nameERNS_18basic_json_visitorIcEENS0_14container_typeERNS3_10error_codeE:
  374|  20.8M|    {
  375|  20.8M|        name_buffer_.clear();
  376|  20.8M|        read_cstring(name_buffer_, ec);
  377|  20.8M|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  20.8M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 143, False: 20.8M]
  |  |  ------------------
  ------------------
  378|    143|        {
  379|    143|            return;
  380|    143|        }
  381|  20.8M|        if (type == jsoncons::bson::container_type::document)
  ------------------
  |  Branch (381:13): [True: 10.5M, False: 10.2M]
  ------------------
  382|  10.5M|        {
  383|  10.5M|            auto result = unicode_traits::validate(name_buffer_.data(),name_buffer_.size());
  384|  10.5M|            if (JSONCONS_UNLIKELY(result.ec != unicode_traits::unicode_errc()))
  ------------------
  |  |   79|  10.5M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 193, False: 10.5M]
  |  |  ------------------
  ------------------
  385|    193|            {
  386|    193|                ec = bson_errc::invalid_utf8;
  387|    193|                more_ = false;
  388|    193|                return;
  389|    193|            }
  390|  10.5M|            visitor.key(jsoncons::basic_string_view<char>(name_buffer_.data(),name_buffer_.length()), *this, ec);
  391|  10.5M|            more_ = !cursor_mode_;
  392|  10.5M|        }
  393|  20.8M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12read_cstringERNS3_12basic_stringIcNS3_11char_traitsIcEES7_EERNS3_10error_codeE:
  677|  20.9M|    {
  678|  20.9M|        uint8_t c = 0xff;
  679|  59.3M|        while (true)
  ------------------
  |  Branch (679:16): [True: 59.3M, Folded]
  ------------------
  680|  59.3M|        {
  681|  59.3M|            std::size_t n = source_.read(&c, 1);
  682|  59.3M|            state_stack_.back().pos += n;
  683|  59.3M|            if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   79|  59.3M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 200, False: 59.3M]
  |  |  ------------------
  ------------------
  684|    200|            {
  685|    200|                ec = bson_errc::unexpected_eof;
  686|    200|                more_ = false;
  687|    200|                return;
  688|    200|            }
  689|  59.3M|            if (c == 0)
  ------------------
  |  Branch (689:17): [True: 20.9M, False: 38.3M]
  ------------------
  690|  20.9M|            {
  691|  20.9M|                break;
  692|  20.9M|            }
  693|  38.3M|            buffer.push_back(c);
  694|  38.3M|        }
  695|  20.9M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12end_documentERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  305|  27.4k|    {
  306|  27.4k|        JSONCONS_ASSERT(state_stack_.size() >= 2);
  ------------------
  |  |   67|  27.4k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 27.4k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  307|       |
  308|  27.4k|        visitor.end_object(*this,ec);
  309|  27.4k|        more_ = !cursor_mode_;
  310|  27.4k|        if (level() == mark_level_)
  ------------------
  |  Branch (310:13): [True: 0, False: 27.4k]
  ------------------
  311|      0|        {
  312|      0|            more_ = false;
  313|      0|        }
  314|  27.4k|        if (JSONCONS_UNLIKELY(state_stack_.back().pos != state_stack_.back().length))
  ------------------
  |  |   79|  27.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2.27k, False: 25.1k]
  |  |  ------------------
  ------------------
  315|  2.27k|        {
  316|  2.27k|            ec = bson_errc::size_mismatch;
  317|  2.27k|            more_ = false;
  318|  2.27k|            return;
  319|  2.27k|        }
  320|  25.1k|        std::size_t pos = state_stack_.back().pos;
  321|  25.1k|        state_stack_.pop_back();
  322|  25.1k|        state_stack_.back().pos += pos;
  323|  25.1k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5levelEv:
  124|  45.8k|    {
  125|  45.8k|        return static_cast<int>(state_stack_.size());
  126|  45.8k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10read_valueERNS_18basic_json_visitorIcEEhRNS3_10error_codeE:
  396|  20.8M|    {
  397|  20.8M|        switch (type)
  398|  20.8M|        {
  399|  11.5k|            case jsoncons::bson::bson_type::double_type:
  ------------------
  |  Branch (399:13): [True: 11.5k, False: 20.8M]
  ------------------
  400|  11.5k|            {
  401|  11.5k|                uint8_t buf[sizeof(double)]; 
  402|  11.5k|                std::size_t n = source_.read(buf, sizeof(double));
  403|  11.5k|                state_stack_.back().pos += n;
  404|  11.5k|                if (JSONCONS_UNLIKELY(n != sizeof(double)))
  ------------------
  |  |   79|  11.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 13, False: 11.5k]
  |  |  ------------------
  ------------------
  405|     13|                {
  406|     13|                    ec = bson_errc::unexpected_eof;
  407|     13|                    more_ = false;
  408|     13|                    return;
  409|     13|                }
  410|  11.5k|                double res = binary::little_to_native<double>(buf, sizeof(buf));
  411|  11.5k|                visitor.double_value(res, semantic_tag::none, *this, ec);
  412|  11.5k|                more_ = !cursor_mode_;
  413|  11.5k|                break;
  414|  11.5k|            }
  415|    337|            case jsoncons::bson::bson_type::symbol_type:
  ------------------
  |  Branch (415:13): [True: 337, False: 20.8M]
  ------------------
  416|  1.14k|            case jsoncons::bson::bson_type::min_key_type:
  ------------------
  |  Branch (416:13): [True: 810, False: 20.8M]
  ------------------
  417|  61.5k|            case jsoncons::bson::bson_type::max_key_type:
  ------------------
  |  Branch (417:13): [True: 60.3k, False: 20.7M]
  ------------------
  418|  62.2k|            case jsoncons::bson::bson_type::string_type:
  ------------------
  |  Branch (418:13): [True: 749, False: 20.8M]
  ------------------
  419|  62.2k|            {
  420|  62.2k|                auto sv = read_string(ec);
  421|  62.2k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  62.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 319, False: 61.9k]
  |  |  ------------------
  ------------------
  422|    319|                {
  423|    319|                    return;
  424|    319|                }
  425|  61.9k|                auto result = unicode_traits::validate(sv.data(), sv.size());
  426|  61.9k|                if (JSONCONS_UNLIKELY(result.ec != unicode_traits::unicode_errc()))
  ------------------
  |  |   79|  61.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 5, False: 61.9k]
  |  |  ------------------
  ------------------
  427|      5|                {
  428|      5|                    ec = bson_errc::invalid_utf8;
  429|      5|                    more_ = false;
  430|      5|                    return;
  431|      5|                }
  432|  61.9k|                visitor.string_value(sv, semantic_tag::none, *this, ec);
  433|  61.9k|                more_ = !cursor_mode_;
  434|  61.9k|                break;
  435|  61.9k|            }
  436|    289|            case jsoncons::bson::bson_type::javascript_type:
  ------------------
  |  Branch (436:13): [True: 289, False: 20.8M]
  ------------------
  437|    289|            {
  438|    289|                auto sv = read_string(ec);
  439|    289|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|    289|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 25, False: 264]
  |  |  ------------------
  ------------------
  440|     25|                {
  441|     25|                    return;
  442|     25|                }
  443|    264|                auto result = unicode_traits::validate(sv.data(), sv.size());
  444|    264|                if (JSONCONS_UNLIKELY(result.ec != unicode_traits::unicode_errc()))
  ------------------
  |  |   79|    264|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2, False: 262]
  |  |  ------------------
  ------------------
  445|      2|                {
  446|      2|                    ec = bson_errc::invalid_utf8;
  447|      2|                    more_ = false;
  448|      2|                    return;
  449|      2|                }
  450|    262|                visitor.string_value(sv, semantic_tag::code, *this, ec);
  451|    262|                more_ = !cursor_mode_;
  452|    262|                break;
  453|    264|            }
  454|  39.6k|            case jsoncons::bson::bson_type::regex_type:
  ------------------
  |  Branch (454:13): [True: 39.6k, False: 20.7M]
  ------------------
  455|  39.6k|            {
  456|  39.6k|                text_buffer_.clear();
  457|  39.6k|                text_buffer_.push_back('/');
  458|  39.6k|                read_cstring(text_buffer_, ec);
  459|  39.6k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  39.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 35, False: 39.6k]
  |  |  ------------------
  ------------------
  460|     35|                {
  461|     35|                    return;
  462|     35|                }
  463|  39.6k|                text_buffer_.push_back('/');
  464|  39.6k|                read_cstring(text_buffer_, ec);
  465|  39.6k|                if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  39.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 22, False: 39.5k]
  |  |  ------------------
  ------------------
  466|     22|                {
  467|     22|                    return;
  468|     22|                }
  469|  39.5k|                visitor.string_value(text_buffer_, semantic_tag::regex, *this, ec);
  470|  39.5k|                more_ = !cursor_mode_;
  471|  39.5k|                break;
  472|  39.6k|            }
  473|  33.5k|            case jsoncons::bson::bson_type::document_type: 
  ------------------
  |  Branch (473:13): [True: 33.5k, False: 20.7M]
  ------------------
  474|  33.5k|            {
  475|  33.5k|                begin_document(visitor,ec);
  476|  33.5k|                break;
  477|  39.6k|            }
  478|       |
  479|  36.7k|            case jsoncons::bson::bson_type::array_type: 
  ------------------
  |  Branch (479:13): [True: 36.7k, False: 20.7M]
  ------------------
  480|  36.7k|            {
  481|  36.7k|                begin_array(visitor,ec);
  482|  36.7k|                break;
  483|  39.6k|            }
  484|  5.66k|            case jsoncons::bson::bson_type::undefined_type: 
  ------------------
  |  Branch (484:13): [True: 5.66k, False: 20.8M]
  ------------------
  485|  5.66k|                {
  486|  5.66k|                    visitor.null_value(semantic_tag::undefined, *this, ec);
  487|  5.66k|                    more_ = !cursor_mode_;
  488|  5.66k|                    break;
  489|  39.6k|                }
  490|  20.3M|            case jsoncons::bson::bson_type::null_type: 
  ------------------
  |  Branch (490:13): [True: 20.3M, False: 462k]
  ------------------
  491|  20.3M|            {
  492|  20.3M|                visitor.null_value(semantic_tag::none, *this, ec);
  493|  20.3M|                more_ = !cursor_mode_;
  494|  20.3M|                break;
  495|  39.6k|            }
  496|   100k|            case jsoncons::bson::bson_type::bool_type:
  ------------------
  |  Branch (496:13): [True: 100k, False: 20.7M]
  ------------------
  497|   100k|            {
  498|   100k|                uint8_t c;
  499|   100k|                std::size_t n = source_.read(&c, 1);
  500|   100k|                state_stack_.back().pos += n;
  501|   100k|                if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   79|   100k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 9, False: 100k]
  |  |  ------------------
  ------------------
  502|      9|                {
  503|      9|                    ec = bson_errc::unexpected_eof;
  504|      9|                    more_ = false;
  505|      9|                    return;
  506|      9|                }
  507|   100k|                if (JSONCONS_UNLIKELY(!(c == 0 || c == 1)))
  ------------------
  |  |   79|   200k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 17, False: 100k]
  |  |  |  Branch (79:50): [True: 1.70k, False: 99.1k]
  |  |  |  Branch (79:50): [True: 99.1k, False: 17]
  |  |  ------------------
  ------------------
  508|     17|                {
  509|     17|                    ec = bson_errc::expected_boolean;
  510|     17|                    more_ = false;
  511|     17|                    return;
  512|     17|                }
  513|   100k|                visitor.bool_value(c != 0, semantic_tag::none, *this, ec);
  514|   100k|                more_ = !cursor_mode_;
  515|   100k|                break;
  516|   100k|            }
  517|  73.9k|            case jsoncons::bson::bson_type::int32_type: 
  ------------------
  |  Branch (517:13): [True: 73.9k, False: 20.7M]
  ------------------
  518|  73.9k|            {
  519|  73.9k|                uint8_t buf[sizeof(int32_t)]; 
  520|  73.9k|                std::size_t n = source_.read(buf, sizeof(int32_t));
  521|  73.9k|                state_stack_.back().pos += n;
  522|  73.9k|                if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   79|  73.9k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 3, False: 73.9k]
  |  |  ------------------
  ------------------
  523|      3|                {
  524|      3|                    ec = bson_errc::unexpected_eof;
  525|      3|                    more_ = false;
  526|      3|                    return;
  527|      3|                }
  528|  73.9k|                auto val = binary::little_to_native<int32_t>(buf, sizeof(buf));
  529|  73.9k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  530|  73.9k|                more_ = !cursor_mode_;
  531|  73.9k|                break;
  532|  73.9k|            }
  533|       |
  534|  7.44k|            case jsoncons::bson::bson_type::timestamp_type: 
  ------------------
  |  Branch (534:13): [True: 7.44k, False: 20.8M]
  ------------------
  535|  7.44k|            {
  536|  7.44k|                uint8_t buf[sizeof(uint64_t)]; 
  537|  7.44k|                std::size_t n = source_.read(buf, sizeof(uint64_t));
  538|  7.44k|                state_stack_.back().pos += n;
  539|  7.44k|                if (JSONCONS_UNLIKELY(n != sizeof(uint64_t)))
  ------------------
  |  |   79|  7.44k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 6, False: 7.44k]
  |  |  ------------------
  ------------------
  540|      6|                {
  541|      6|                    ec = bson_errc::unexpected_eof;
  542|      6|                    more_ = false;
  543|      6|                    return;
  544|      6|                }
  545|  7.44k|                auto val = binary::little_to_native<uint64_t>(buf, sizeof(buf));
  546|  7.44k|                visitor.uint64_value(val, semantic_tag::none, *this, ec);
  547|  7.44k|                more_ = !cursor_mode_;
  548|  7.44k|                break;
  549|  7.44k|            }
  550|       |
  551|  9.14k|            case jsoncons::bson::bson_type::int64_type: 
  ------------------
  |  Branch (551:13): [True: 9.14k, False: 20.8M]
  ------------------
  552|  9.14k|            {
  553|  9.14k|                uint8_t buf[sizeof(int64_t)]; 
  554|  9.14k|                std::size_t n = source_.read(buf, sizeof(int64_t));
  555|  9.14k|                state_stack_.back().pos += n;
  556|  9.14k|                if (JSONCONS_UNLIKELY(n != sizeof(int64_t)))
  ------------------
  |  |   79|  9.14k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 6, False: 9.14k]
  |  |  ------------------
  ------------------
  557|      6|                {
  558|      6|                    ec = bson_errc::unexpected_eof;
  559|      6|                    more_ = false;
  560|      6|                    return;
  561|      6|                }
  562|  9.14k|                auto val = binary::little_to_native<int64_t>(buf, sizeof(buf));
  563|  9.14k|                visitor.int64_value(val, semantic_tag::none, *this, ec);
  564|  9.14k|                more_ = !cursor_mode_;
  565|  9.14k|                break;
  566|  9.14k|            }
  567|       |
  568|  5.79k|            case jsoncons::bson::bson_type::datetime_type: 
  ------------------
  |  Branch (568:13): [True: 5.79k, False: 20.8M]
  ------------------
  569|  5.79k|            {
  570|  5.79k|                uint8_t buf[sizeof(int64_t)]; 
  571|  5.79k|                std::size_t n = source_.read(buf, sizeof(int64_t));
  572|  5.79k|                state_stack_.back().pos += n;
  573|  5.79k|                if (JSONCONS_UNLIKELY(n != sizeof(int64_t)))
  ------------------
  |  |   79|  5.79k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 10, False: 5.78k]
  |  |  ------------------
  ------------------
  574|     10|                {
  575|     10|                    ec = bson_errc::unexpected_eof;
  576|     10|                    more_ = false;
  577|     10|                    return;
  578|     10|                }
  579|  5.78k|                auto val = binary::little_to_native<int64_t>(buf, sizeof(buf));
  580|  5.78k|                visitor.int64_value(val, semantic_tag::epoch_milli, *this, ec);
  581|  5.78k|                more_ = !cursor_mode_;
  582|  5.78k|                break;
  583|  5.79k|            }
  584|  64.0k|            case jsoncons::bson::bson_type::binary_type: 
  ------------------
  |  Branch (584:13): [True: 64.0k, False: 20.7M]
  ------------------
  585|  64.0k|            {
  586|  64.0k|                uint8_t buf[sizeof(int32_t)]; 
  587|  64.0k|                std::size_t n = source_.read(buf, sizeof(int32_t));
  588|  64.0k|                state_stack_.back().pos += n;
  589|  64.0k|                if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   79|  64.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 6, False: 64.0k]
  |  |  ------------------
  ------------------
  590|      6|                {
  591|      6|                    ec = bson_errc::unexpected_eof;
  592|      6|                    more_ = false;
  593|      6|                    return;
  594|      6|                }
  595|  64.0k|                const auto len = binary::little_to_native<int32_t>(buf, sizeof(buf));
  596|  64.0k|                if (JSONCONS_UNLIKELY(len < 0))
  ------------------
  |  |   79|  64.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 35, False: 64.0k]
  |  |  ------------------
  ------------------
  597|     35|                {
  598|     35|                    ec = bson_errc::length_is_negative;
  599|     35|                    more_ = false;
  600|     35|                    return;
  601|     35|                }
  602|  64.0k|                uint8_t subtype;
  603|  64.0k|                n = source_.read(&subtype, 1);
  604|  64.0k|                state_stack_.back().pos += n;
  605|  64.0k|                if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   79|  64.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 8, False: 64.0k]
  |  |  ------------------
  ------------------
  606|      8|                {
  607|      8|                    ec = bson_errc::unexpected_eof;
  608|      8|                    more_ = false;
  609|      8|                    return;
  610|      8|                }
  611|       |
  612|  64.0k|                auto data = source_.read_span(len, bytes_buffer_);
  613|  64.0k|                if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   79|  64.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 322, False: 63.6k]
  |  |  ------------------
  ------------------
  614|    322|                {
  615|    322|                    ec = bson_errc::unexpected_eof;
  616|    322|                    more_ = false;
  617|    322|                    return;
  618|    322|                }
  619|  63.6k|                state_stack_.back().pos += data.size();
  620|       |
  621|  63.6k|                visitor.byte_string_value(byte_string_view(data.data(), data.size()), subtype, *this, ec);
  622|  63.6k|                more_ = !cursor_mode_;
  623|  63.6k|                break;
  624|  64.0k|            }
  625|  6.82k|            case jsoncons::bson::bson_type::decimal128_type: 
  ------------------
  |  Branch (625:13): [True: 6.82k, False: 20.8M]
  ------------------
  626|  6.82k|            {
  627|  6.82k|                uint8_t buf[sizeof(uint64_t)*2]; 
  628|  6.82k|                std::size_t n = source_.read(buf, sizeof(buf));
  629|  6.82k|                state_stack_.back().pos += n;
  630|  6.82k|                if (JSONCONS_UNLIKELY(n != sizeof(buf)))
  ------------------
  |  |   79|  6.82k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 16, False: 6.80k]
  |  |  ------------------
  ------------------
  631|     16|                {
  632|     16|                    ec = bson_errc::unexpected_eof;
  633|     16|                    more_ = false;
  634|     16|                    return;
  635|     16|                }
  636|       |
  637|  6.80k|                decimal128_t dec;
  638|  6.80k|                dec.low = binary::little_to_native<uint64_t>(buf, sizeof(uint64_t));
  639|  6.80k|                dec.high = binary::little_to_native<uint64_t>(buf+sizeof(uint64_t), sizeof(uint64_t));
  640|       |
  641|  6.80k|                text_buffer_.clear();
  642|  6.80k|                text_buffer_.resize(bson::decimal128_limits::buf_size);
  643|  6.80k|                auto r = bson::decimal128_to_chars(&text_buffer_[0], &text_buffer_[0]+text_buffer_.size(), dec);
  644|  6.80k|                visitor.string_value(string_view(text_buffer_.data(),static_cast<std::size_t>(r.ptr-text_buffer_.data())), semantic_tag::float128, *this, ec);
  645|  6.80k|                more_ = !cursor_mode_;
  646|  6.80k|                break;
  647|  6.82k|            }
  648|  4.93k|            case jsoncons::bson::bson_type::object_id_type: 
  ------------------
  |  Branch (648:13): [True: 4.93k, False: 20.8M]
  ------------------
  649|  4.93k|            {
  650|  4.93k|                uint8_t buf[12]; 
  651|  4.93k|                std::size_t n = source_.read(buf, sizeof(buf));
  652|  4.93k|                state_stack_.back().pos += n;
  653|  4.93k|                if (JSONCONS_UNLIKELY(n != sizeof(buf)))
  ------------------
  |  |   79|  4.93k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 11, False: 4.91k]
  |  |  ------------------
  ------------------
  654|     11|                {
  655|     11|                    ec = bson_errc::unexpected_eof;
  656|     11|                    more_ = false;
  657|     11|                    return;
  658|     11|                }
  659|       |
  660|  4.91k|                oid_t oid(buf);
  661|  4.91k|                to_string(oid, text_buffer_);
  662|       |
  663|  4.91k|                visitor.string_value(text_buffer_, semantic_tag::id, *this, ec);
  664|  4.91k|                more_ = !cursor_mode_;
  665|  4.91k|                break;
  666|  4.93k|            }
  667|     86|            default:
  ------------------
  |  Branch (667:13): [True: 86, False: 20.8M]
  ------------------
  668|     86|            {
  669|     86|                ec = bson_errc::unknown_type;
  670|     86|                more_ = false;
  671|     86|                return;
  672|  4.93k|            }
  673|  20.8M|        }
  674|  20.8M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11read_stringERNS3_10error_codeE:
  698|  62.5k|    {
  699|  62.5k|        std::size_t offset = 0;
  700|       |
  701|  62.5k|        uint8_t buf[sizeof(int32_t)]; 
  702|  62.5k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  703|  62.5k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   79|  62.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 42, False: 62.4k]
  |  |  ------------------
  ------------------
  704|     42|        {
  705|     42|            ec = bson_errc::unexpected_eof;
  706|     42|            more_ = false;
  707|     42|            return string_view{};
  708|     42|        }
  709|  62.4k|        offset += n;
  710|       |
  711|  62.4k|        auto len = binary::little_to_native<int32_t>(buf, sizeof(buf));
  712|  62.4k|        if (JSONCONS_UNLIKELY(len < 1))
  ------------------
  |  |   79|  62.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 35, False: 62.4k]
  |  |  ------------------
  ------------------
  713|     35|        {
  714|     35|            ec = bson_errc::string_length_is_non_positive;
  715|     35|            more_ = false;
  716|     35|            return string_view{};
  717|     35|        }
  718|       |
  719|  62.4k|        std::size_t size = static_cast<std::size_t>(len) - static_cast<std::size_t>(1);
  720|  62.4k|        auto data = source_.read_span(size, text_buffer_);
  721|  62.4k|        if (JSONCONS_UNLIKELY(data.size() != size))
  ------------------
  |  |   79|  62.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 248, False: 62.2k]
  |  |  ------------------
  ------------------
  722|    248|        {
  723|    248|            ec = bson_errc::unexpected_eof;
  724|    248|            more_ = false;
  725|    248|            return string_view{};
  726|    248|        }
  727|  62.2k|        offset += data.size();
  728|       |
  729|  62.2k|        uint8_t c;
  730|  62.2k|        if (JSONCONS_UNLIKELY(source_.read(&c, 1) != 1))
  ------------------
  |  |   79|  62.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 19, False: 62.1k]
  |  |  ------------------
  ------------------
  731|     19|        {
  732|     19|            ec = bson_errc::unexpected_eof;
  733|     19|            more_ = false;
  734|     19|            return string_view{};
  735|     19|        }
  736|  62.1k|        ++offset;
  737|       |
  738|  62.1k|        state_stack_.back().pos += offset;
  739|  62.1k|        return string_view{reinterpret_cast<const char*>(data.data()), data.size()};
  740|  62.2k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  326|  36.7k|    {
  327|  36.7k|        if (JSONCONS_UNLIKELY(static_cast<int>(state_stack_.size()) > max_nesting_depth_))
  ------------------
  |  |   79|  36.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1, False: 36.7k]
  |  |  ------------------
  ------------------
  328|      1|        {
  329|      1|            ec = bson_errc::max_nesting_depth_exceeded;
  330|      1|            more_ = false;
  331|      1|            return;
  332|      1|        } 
  333|  36.7k|        uint8_t buf[sizeof(int32_t)]; 
  334|  36.7k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  335|  36.7k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   79|  36.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 17, False: 36.7k]
  |  |  ------------------
  ------------------
  336|     17|        {
  337|     17|            ec = bson_errc::unexpected_eof;
  338|     17|            more_ = false;
  339|     17|            return;
  340|     17|        }
  341|  36.7k|        auto length = binary::little_to_native<int32_t>(buf, sizeof(buf));
  342|       |
  343|  36.7k|        visitor.begin_array(semantic_tag::none, *this, ec);
  344|  36.7k|        more_ = !cursor_mode_;
  345|  36.7k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  36.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 36.7k]
  |  |  ------------------
  ------------------
  346|      0|        {
  347|      0|            return;
  348|      0|        }
  349|  36.7k|        state_stack_.emplace_back(parse_mode::array, length, n);
  350|  36.7k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_18basic_json_visitorIcEERNS3_10error_codeE:
  353|  18.3k|    {
  354|  18.3k|        JSONCONS_ASSERT(state_stack_.size() >= 2);
  ------------------
  |  |   67|  18.3k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 18.3k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  355|       |
  356|  18.3k|        visitor.end_array(*this, ec);
  357|  18.3k|        more_ = !cursor_mode_;
  358|  18.3k|        if (level() == mark_level_)
  ------------------
  |  Branch (358:13): [True: 0, False: 18.3k]
  ------------------
  359|      0|        {
  360|      0|            more_ = false;
  361|      0|        }
  362|  18.3k|        if (JSONCONS_UNLIKELY(state_stack_.back().pos != state_stack_.back().length))
  ------------------
  |  |   79|  18.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 388, False: 17.9k]
  |  |  ------------------
  ------------------
  363|    388|        {
  364|    388|            ec = bson_errc::size_mismatch;
  365|    388|            more_ = false;
  366|    388|            return;
  367|    388|        }
  368|  17.9k|        std::size_t pos = state_stack_.back().pos;
  369|  17.9k|        state_stack_.pop_back();
  370|  17.9k|        state_stack_.back().pos += pos;
  371|  17.9k|    }

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

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

