LLVMFuzzerTestOneInput:
   13|  7.04k|{
   14|  7.04k|    try {
   15|  7.04k|        std::vector<uint8_t> bytes(data, data + size);
   16|  7.04k|        json j = msgpack::decode_msgpack<json>(bytes.begin(), bytes.end());
   17|  7.04k|    }
   18|  7.04k|    catch(const jsoncons::ser_error&) {}
   19|       |
   20|  7.04k|    return 0;
   21|  7.04k|}

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2777|  81.6M|        {
 2778|  81.6M|             destroy();
 2779|  81.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  901|  81.6M|        {
  902|  81.6M|            switch (storage_kind())
  903|  81.6M|            {
  904|  10.5k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (904:17): [True: 10.5k, False: 81.6M]
  ------------------
  905|  10.5k|                {
  906|  10.5k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (906:25): [True: 10.5k, False: 0]
  ------------------
  907|  10.5k|                    {
  908|  10.5k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  909|  10.5k|                    }
  910|  10.5k|                    break;
  911|      0|                }
  912|   100k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (912:17): [True: 100k, False: 81.5M]
  ------------------
  913|   100k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (913:25): [True: 100k, False: 0]
  ------------------
  914|   100k|                    {
  915|   100k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  916|   100k|                    }
  917|   100k|                    break;
  918|   350k|                case json_storage_kind::array:
  ------------------
  |  Branch (918:17): [True: 350k, False: 81.2M]
  ------------------
  919|   350k|                {
  920|   350k|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (920:25): [True: 350k, False: 0]
  ------------------
  921|   350k|                    {
  922|   350k|                        auto& stor = cast<array_storage>();
  923|   350k|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  924|   350k|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  925|   350k|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  926|   350k|                    }
  927|   350k|                    break;
  928|      0|                }
  929|  1.52M|                case json_storage_kind::object:
  ------------------
  |  Branch (929:17): [True: 1.52M, False: 80.0M]
  ------------------
  930|  1.52M|                {
  931|  1.52M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (931:25): [True: 1.52M, False: 0]
  ------------------
  932|  1.52M|                    {
  933|  1.52M|                        auto& stor = cast<object_storage>();
  934|  1.52M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  935|  1.52M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  936|  1.52M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  937|  1.52M|                    }
  938|  1.52M|                    break;
  939|      0|                }
  940|  79.6M|                default:
  ------------------
  |  Branch (940:17): [True: 79.6M, False: 1.99M]
  ------------------
  941|  79.6M|                    break;
  942|  81.6M|            }
  943|  81.6M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1465|   178M|        {
 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|   178M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1471|   178M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1007|   119k|        {
 1008|   119k|            return cast(identity<T>());
 1009|   119k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1098|   119k|        {
 1099|   119k|            return long_str_;
 1100|   119k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1007|   848k|        {
 1008|   848k|            return cast(identity<T>());
 1009|   848k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1108|   848k|        {
 1109|   848k|            return byte_str_;
 1110|   848k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1007|  5.88M|        {
 1008|  5.88M|            return cast(identity<T>());
 1009|  5.88M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1128|  5.88M|        {
 1129|  5.88M|            return array_;
 1130|  5.88M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2310|  55.8M|        {
 2311|  55.8M|            uninitialized_move(std::move(other));
 2312|  55.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1305|  55.8M|        {
 1306|  55.8M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1306:17): [True: 51.5M, False: 4.25M]
  ------------------
 1307|  51.5M|            {
 1308|  51.5M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1309|  51.5M|            }
 1310|  4.25M|            else
 1311|  4.25M|            {
 1312|  4.25M|                switch (other.storage_kind())
 1313|  4.25M|                {
 1314|  23.5k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1314:21): [True: 23.5k, False: 4.23M]
  ------------------
 1315|  23.5k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1316|  23.5k|                        other.construct<null_storage>();
 1317|  23.5k|                        break;
 1318|   232k|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1318:21): [True: 232k, False: 4.02M]
  ------------------
 1319|   232k|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1320|   232k|                        other.construct<null_storage>();
 1321|   232k|                        break;
 1322|   761k|                    case json_storage_kind::array:
  ------------------
  |  Branch (1322:21): [True: 761k, False: 3.49M]
  ------------------
 1323|   761k|                        construct<array_storage>(other.cast<array_storage>());
 1324|   761k|                        other.construct<null_storage>();
 1325|   761k|                        break;
 1326|  3.24M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1326:21): [True: 3.24M, False: 1.01M]
  ------------------
 1327|  3.24M|                        construct<object_storage>(other.cast<object_storage>());
 1328|  3.24M|                        other.construct<null_storage>();
 1329|  3.24M|                        break;
 1330|      0|                    default:
  ------------------
  |  Branch (1330:21): [True: 0, False: 4.25M]
  ------------------
 1331|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1332|      0|                        break;
 1333|  4.25M|                }
 1334|  4.25M|            }
 1335|  55.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  998|  43.8k|        {
  999|  43.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  43.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  629|  64.1k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  630|  64.1k|            {
  631|  64.1k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  998|  4.25M|        {
  999|  4.25M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  4.25M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1007|  7.70M|        {
 1008|  7.70M|            return cast(identity<T>());
 1009|  7.70M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1018|  7.70M|        {
 1019|  7.70M|            return null_;
 1020|  7.70M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  450|  6.50M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  451|  6.50M|            {
  452|  6.50M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  998|   273k|        {
  999|   273k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   273k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  678|   314k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  679|   314k|            {
  680|   314k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  998|  1.03M|        {
  999|  1.03M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  1.03M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  730|  1.30M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  731|  1.30M|            {
  732|  1.30M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  998|  3.82M|        {
  999|  3.82M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  3.82M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  780|  4.40M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  781|  4.40M|            {
  782|  4.40M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4762|  35.9k|        {
 4763|  35.9k|            switch (storage_kind())
 4764|  35.9k|            {
 4765|  35.9k|                case json_storage_kind::array:
  ------------------
  |  Branch (4765:17): [True: 35.9k, False: 0]
  ------------------
 4766|  35.9k|                    return array_range_type(cast<array_storage>().value().begin(),
 4767|  35.9k|                        cast<array_storage>().value().end());
 4768|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4768:17): [True: 0, False: 35.9k]
  ------------------
 4769|      0|                    return cast<json_ref_storage>().value().array_range();
 4770|      0|                default:
  ------------------
  |  Branch (4770:17): [True: 0, False: 35.9k]
  ------------------
 4771|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4772|  35.9k|            }
 4773|  35.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  753|  2.75M|            {
  754|  2.75M|                return *ptr_;
  755|  2.75M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  348|  35.9k|            : first_(first), last_(last)
  349|  35.9k|        {
  350|  35.9k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  353|  35.9k|        {
  354|  35.9k|            return first_;
  355|  35.9k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  357|  35.9k|        {
  358|  35.9k|            return last_;
  359|  35.9k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3428|  68.6k|        {
 3429|  68.6k|            switch (storage_kind())
 3430|  68.6k|            {
 3431|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3431:17): [True: 0, False: 68.6k]
  ------------------
 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: 68.6k]
  ------------------
 3435|      0|                    return cast<short_string_storage>().length() == 0;
 3436|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3436:17): [True: 0, False: 68.6k]
  ------------------
 3437|      0|                    return cast<long_string_storage>().length() == 0;
 3438|  33.4k|                case json_storage_kind::array:
  ------------------
  |  Branch (3438:17): [True: 33.4k, False: 35.2k]
  ------------------
 3439|  33.4k|                    return cast<array_storage>().value().empty();
 3440|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3440:17): [True: 0, False: 68.6k]
  ------------------
 3441|      0|                    return true;
 3442|  35.2k|                case json_storage_kind::object:
  ------------------
  |  Branch (3442:17): [True: 35.2k, False: 33.4k]
  ------------------
 3443|  35.2k|                    return cast<object_storage>().value().empty();
 3444|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3444:17): [True: 0, False: 68.6k]
  ------------------
 3445|      0|                    return cast<const_json_ref_storage>().value().empty();
 3446|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3446:17): [True: 0, False: 68.6k]
  ------------------
 3447|      0|                    return cast<json_ref_storage>().value().empty();
 3448|      0|                default:
  ------------------
  |  Branch (3448:17): [True: 0, False: 68.6k]
  ------------------
 3449|      0|                    return false;
 3450|  68.6k|            }
 3451|  68.6k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1013|  33.4k|        {
 1014|  33.4k|            return cast(identity<T>());
 1015|  33.4k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1133|  33.4k|        {
 1134|  33.4k|            return array_;
 1135|  33.4k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  758|  33.4k|            {
  759|  33.4k|                return *ptr_;
  760|  33.4k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1013|  35.2k|        {
 1014|  35.2k|            return cast(identity<T>());
 1015|  35.2k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1123|  35.2k|        {
 1124|  35.2k|            return object_;
 1125|  35.2k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  804|  35.2k|            {
  805|  35.2k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   67|  35.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 35.2k]
  |  |  ------------------
  |  |   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|  35.2k|                return *ptr_;
  807|  35.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4159|  93.9k|        {
 4160|  93.9k|            switch (storage_kind())
 4161|  93.9k|            {
 4162|  35.9k|                case json_storage_kind::array:
  ------------------
  |  Branch (4162:17): [True: 35.9k, False: 58.0k]
  ------------------
 4163|  35.9k|                    cast<array_storage>().value().clear();
 4164|  35.9k|                    break;
 4165|  58.0k|                case json_storage_kind::object:
  ------------------
  |  Branch (4165:17): [True: 58.0k, False: 35.9k]
  ------------------
 4166|  58.0k|                    cast<object_storage>().value().clear();
 4167|  58.0k|                    break;
 4168|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4168:17): [True: 0, False: 93.9k]
  ------------------
 4169|      0|                    cast<json_ref_storage>().value().clear();
 4170|      0|                    break;
 4171|      0|                default:
  ------------------
  |  Branch (4171:17): [True: 0, False: 93.9k]
  ------------------
 4172|      0|                    break;
 4173|  93.9k|            }
 4174|  93.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  798|   235k|            {
  799|   235k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   67|   235k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 235k]
  |  |  ------------------
  |  |   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|   235k|                return *ptr_;
  801|   235k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4728|  58.0k|        {
 4729|  58.0k|            switch (storage_kind())
 4730|  58.0k|            {
 4731|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4731:17): [True: 0, False: 58.0k]
  ------------------
 4732|      0|                    return object_range_type(object_iterator(), object_iterator());
 4733|  58.0k|                case json_storage_kind::object:
  ------------------
  |  Branch (4733:17): [True: 58.0k, False: 0]
  ------------------
 4734|  58.0k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4735|  58.0k|                                                  object_iterator(cast<object_storage>().value().end()));
 4736|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4736:17): [True: 0, False: 58.0k]
  ------------------
 4737|      0|                    return cast<json_ref_storage>().value().object_range();
 4738|      0|                default:
  ------------------
  |  Branch (4738:17): [True: 0, False: 58.0k]
  ------------------
 4739|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4740|  58.0k|            }
 4741|  58.0k|        }
_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|  58.0k|            : first_(first), last_(last)
  349|  58.0k|        {
  350|  58.0k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|   116k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|   116k|            {
  120|   116k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  353|  58.0k|        {
  354|  58.0k|            return first_;
  355|  58.0k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  357|  58.0k|        {
  358|  58.0k|            return last_;
  359|  58.0k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|   160k|            {
  219|   160k|                return !(*this == rhs);
  220|   160k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|   160k|            {
  210|   160k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   78|   321k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (78:28): [True: 160k, False: 0]
  |  |  |  Branch (78:48): [True: 160k, False: 0]
  |  |  |  Branch (78:48): [True: 160k, False: 0]
  |  |  ------------------
  ------------------
  211|   160k|                {
  212|   160k|                    return current_ == rhs.current_;
  213|   160k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|   160k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|   102k|            {
  141|   102k|                return *current_;
  142|   102k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|   102k|            {
  151|   102k|                ++current_;
  152|   102k|                return *this;
  153|   102k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1007|  12.4M|        {
 1008|  12.4M|            return cast(identity<T>());
 1009|  12.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1118|  12.4M|        {
 1119|  12.4M|            return object_;
 1120|  12.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2278|  7.04k|        {
 2279|  7.04k|            construct<empty_object_storage>(semantic_tag::none);
 2280|  7.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  998|  7.04k|        {
  999|  7.04k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  7.04k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1007|  11.5k|        {
 1008|  11.5k|            return cast(identity<T>());
 1009|  11.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1028|  11.5k|        {
 1029|  11.5k|            return empty_object_;
 1030|  11.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  462|  7.04k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  463|  7.04k|            {
  464|  7.04k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3487|  52.5k|        {
 3488|  52.5k|            if (n > 0)
  ------------------
  |  Branch (3488:17): [True: 52.5k, False: 0]
  ------------------
 3489|  52.5k|            {
 3490|  52.5k|                switch (storage_kind())
 3491|  52.5k|                {
 3492|  52.5k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3492:21): [True: 52.5k, False: 0]
  ------------------
 3493|  52.5k|                        cast<array_storage>().value().reserve(n);
 3494|  52.5k|                        break;
 3495|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3495:21): [True: 0, False: 52.5k]
  ------------------
 3496|      0|                        create_object_implicitly();
 3497|      0|                        cast<object_storage>().value().reserve(n);
 3498|      0|                        break;
 3499|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3499:21): [True: 0, False: 52.5k]
  ------------------
 3500|      0|                        cast<object_storage>().value().reserve(n);
 3501|      0|                        break;
 3502|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3502:21): [True: 0, False: 52.5k]
  ------------------
 3503|      0|                        cast<json_ref_storage>().value().reserve(n);
 3504|      0|                        break;
 3505|      0|                    default:
  ------------------
  |  Branch (3505:21): [True: 0, False: 52.5k]
  ------------------
 3506|      0|                        break;
 3507|  52.5k|                }
 3508|  52.5k|            }
 3509|  52.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2323|  1.52M|        {
 2324|  1.52M|            auto ptr = create_object(alloc);
 2325|  1.52M|            construct<object_storage>(ptr, tag);
 2326|  1.52M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  979|  1.52M|        {
  980|  1.52M|            using stor_allocator_type = typename object_storage::allocator_type;
  981|  1.52M|            stor_allocator_type stor_alloc(alloc);
  982|  1.52M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  983|  1.52M|            JSONCONS_TRY
  ------------------
  |  |   37|  1.52M|    #define JSONCONS_TRY try
  ------------------
  984|  1.52M|            {
  985|  1.52M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  986|  1.52M|                    std::forward<Args>(args)...);
  987|  1.52M|            }
  988|  1.52M|            JSONCONS_CATCH(...)
  989|  1.52M|            {
  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|  1.52M|            return ptr;
  994|  1.52M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  998|  1.52M|        {
  999|  1.52M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  1.52M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  775|  1.52M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  776|  1.52M|            {
  777|  1.52M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4704|  2.59M|        {
 4705|  2.59M|            switch (storage_kind())
 4706|  2.59M|            {
 4707|  2.59M|                case json_storage_kind::array:
  ------------------
  |  Branch (4707:17): [True: 2.59M, False: 0]
  ------------------
 4708|  2.59M|                    cast<array_storage>().value().push_back(std::move(val));
 4709|  2.59M|                    break;
 4710|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4710:17): [True: 0, False: 2.59M]
  ------------------
 4711|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4712|      0|                    break;
 4713|      0|                default:
  ------------------
  |  Branch (4713:17): [True: 0, False: 2.59M]
  ------------------
 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|  2.59M|            }
 4716|  2.59M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1456|  13.6M|        {
 1457|  13.6M|            if (this != &other)
  ------------------
  |  Branch (1457:17): [True: 13.6M, False: 0]
  ------------------
 1458|  13.6M|            {
 1459|  13.6M|                move_assignment(std::move(other));
 1460|  13.6M|            }
 1461|  13.6M|            return *this;
 1462|  13.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1418|  13.6M|        {
 1419|  13.6M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1419:17): [True: 13.6M, False: 0]
  |  Branch (1419:55): [True: 12.7M, False: 918k]
  ------------------
 1420|  12.7M|            {
 1421|  12.7M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1422|  12.7M|            }
 1423|   918k|            else
 1424|   918k|            {
 1425|   918k|                swap(other);
 1426|   918k|            }
 1427|  13.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1937|   918k|        {
 1938|   918k|            if (this == &other)
  ------------------
  |  Branch (1938:17): [True: 0, False: 918k]
  ------------------
 1939|      0|            {
 1940|      0|                return;
 1941|      0|            }
 1942|   918k|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1942:17): [True: 918k, False: 0]
  |  Branch (1942:55): [True: 0, False: 918k]
  ------------------
 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|   918k|            else
 1950|   918k|            {
 1951|   918k|                switch (storage_kind())
 1952|   918k|                {
 1953|   597k|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 597k, False: 320k]
  ------------------
 1954|  2.27k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 2.27k, False: 915k]
  ------------------
 1955|  6.46k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 6.46k, False: 911k]
  ------------------
 1956|  37.8k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 37.8k, False: 880k]
  ------------------
 1957|   249k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 249k, False: 668k]
  ------------------
 1958|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 918k]
  ------------------
 1959|  5.11k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 5.11k, False: 913k]
  ------------------
 1960|  18.7k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 18.7k, False: 899k]
  ------------------
 1961|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 0, False: 918k]
  ------------------
 1962|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 0, False: 918k]
  ------------------
 1963|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 918k]
  ------------------
 1964|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1964:21): [True: 0, False: 918k]
  ------------------
 1965|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1965:21): [True: 0, False: 918k]
  ------------------
 1966|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1966:21): [True: 0, False: 918k]
  ------------------
 1967|      0|                    default:
  ------------------
  |  Branch (1967:21): [True: 0, False: 918k]
  ------------------
 1968|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1969|      0|                        break;
 1970|   918k|                }
 1971|   918k|            }
 1972|   918k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1173|   597k|        {
 1174|   597k|            switch (other.storage_kind())
 1175|   597k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 597k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 597k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 597k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 597k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 597k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 597k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 597k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 597k]
  ------------------
 1184|  9.24k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 9.24k, False: 588k]
  ------------------
 1185|  20.2k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 20.2k, False: 577k]
  ------------------
 1186|   137k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 137k, False: 460k]
  ------------------
 1187|   431k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 431k, False: 166k]
  ------------------
 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: 597k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 597k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 597k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|   597k|            }
 1194|   597k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  998|   597k|        {
  999|   597k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   597k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  998|  2.27k|        {
  999|  2.27k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  2.27k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1007|   437k|        {
 1008|   437k|            return cast(identity<T>());
 1009|   437k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1038|   437k|        {
 1039|   437k|            return boolean_;
 1040|   437k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  998|  6.46k|        {
  999|  6.46k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  6.46k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1007|  9.10M|        {
 1008|  9.10M|            return cast(identity<T>());
 1009|  9.10M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1048|  9.10M|        {
 1049|  9.10M|            return int64_;
 1050|  9.10M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  998|  37.8k|        {
  999|  37.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  37.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1007|  11.4M|        {
 1008|  11.4M|            return cast(identity<T>());
 1009|  11.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1058|  11.4M|        {
 1059|  11.4M|            return uint64_;
 1060|  11.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  998|   249k|        {
  999|   249k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   249k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1007|  27.1k|        {
 1008|  27.1k|            return cast(identity<T>());
 1009|  27.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1078|  27.1k|        {
 1079|  27.1k|            return float64_;
 1080|  27.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  998|  5.11k|        {
  999|  5.11k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  5.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1007|  1.20M|        {
 1008|  1.20M|            return cast(identity<T>());
 1009|  1.20M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1088|  1.20M|        {
 1089|  1.20M|            return short_str_;
 1090|  1.20M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  588|  18.7k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  589|  18.7k|            {
  590|  18.7k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  591|  18.7k|                data_[short_str_length_] = 0;
  592|  18.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  998|  18.7k|        {
  999|  18.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  18.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1159|  9.24k|        {
 1160|  9.24k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  9.24k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  9.24k|        {
 1166|  9.24k|            TypeR temp{other.cast<TypeR>()};
 1167|  9.24k|            other.construct<TypeL>(cast<TypeL>());
 1168|  9.24k|            construct<TypeR>(temp);
 1169|  9.24k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1159|  20.2k|        {
 1160|  20.2k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  20.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  20.2k|        {
 1166|  20.2k|            TypeR temp{other.cast<TypeR>()};
 1167|  20.2k|            other.construct<TypeL>(cast<TypeL>());
 1168|  20.2k|            construct<TypeR>(temp);
 1169|  20.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1159|   137k|        {
 1160|   137k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|   137k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|   137k|        {
 1166|   137k|            TypeR temp{other.cast<TypeR>()};
 1167|   137k|            other.construct<TypeL>(cast<TypeL>());
 1168|   137k|            construct<TypeR>(temp);
 1169|   137k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1159|   431k|        {
 1160|   431k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|   431k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|   431k|        {
 1166|   431k|            TypeR temp{other.cast<TypeR>()};
 1167|   431k|            other.construct<TypeL>(cast<TypeL>());
 1168|   431k|            construct<TypeR>(temp);
 1169|   431k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1173|  2.27k|        {
 1174|  2.27k|            switch (other.storage_kind())
 1175|  2.27k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 2.27k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 2.27k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.27k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.27k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.27k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.27k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.27k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 2.27k]
  ------------------
 1184|    696|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 696, False: 1.57k]
  ------------------
 1185|      5|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 5, False: 2.26k]
  ------------------
 1186|    254|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 254, False: 2.01k]
  ------------------
 1187|  1.31k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 1.31k, False: 955]
  ------------------
 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.27k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 2.27k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 2.27k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  2.27k|            }
 1194|  2.27k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1159|    696|        {
 1160|    696|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    696|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    696|        {
 1166|    696|            TypeR temp{other.cast<TypeR>()};
 1167|    696|            other.construct<TypeL>(cast<TypeL>());
 1168|    696|            construct<TypeR>(temp);
 1169|    696|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvRS5_:
 1159|      5|        {
 1160|      5|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|      5|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|      5|        {
 1166|      5|            TypeR temp{other.cast<TypeR>()};
 1167|      5|            other.construct<TypeL>(cast<TypeL>());
 1168|      5|            construct<TypeR>(temp);
 1169|      5|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1159|    254|        {
 1160|    254|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    254|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    254|        {
 1166|    254|            TypeR temp{other.cast<TypeR>()};
 1167|    254|            other.construct<TypeL>(cast<TypeL>());
 1168|    254|            construct<TypeR>(temp);
 1169|    254|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1159|  1.31k|        {
 1160|  1.31k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  1.31k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  1.31k|        {
 1166|  1.31k|            TypeR temp{other.cast<TypeR>()};
 1167|  1.31k|            other.construct<TypeL>(cast<TypeL>());
 1168|  1.31k|            construct<TypeR>(temp);
 1169|  1.31k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1173|  6.46k|        {
 1174|  6.46k|            switch (other.storage_kind())
 1175|  6.46k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 6.46k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 6.46k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 6.46k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 6.46k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 6.46k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 6.46k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 6.46k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 6.46k]
  ------------------
 1184|    505|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 505, False: 5.95k]
  ------------------
 1185|    284|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 284, False: 6.17k]
  ------------------
 1186|  1.96k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 1.96k, False: 4.49k]
  ------------------
 1187|  3.70k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 3.70k, False: 2.75k]
  ------------------
 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.46k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 6.46k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 6.46k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  6.46k|            }
 1194|  6.46k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1159|    505|        {
 1160|    505|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    505|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    505|        {
 1166|    505|            TypeR temp{other.cast<TypeR>()};
 1167|    505|            other.construct<TypeL>(cast<TypeL>());
 1168|    505|            construct<TypeR>(temp);
 1169|    505|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1159|    284|        {
 1160|    284|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    284|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    284|        {
 1166|    284|            TypeR temp{other.cast<TypeR>()};
 1167|    284|            other.construct<TypeL>(cast<TypeL>());
 1168|    284|            construct<TypeR>(temp);
 1169|    284|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1159|  1.96k|        {
 1160|  1.96k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  1.96k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  1.96k|        {
 1166|  1.96k|            TypeR temp{other.cast<TypeR>()};
 1167|  1.96k|            other.construct<TypeL>(cast<TypeL>());
 1168|  1.96k|            construct<TypeR>(temp);
 1169|  1.96k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1159|  3.70k|        {
 1160|  3.70k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  3.70k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  3.70k|        {
 1166|  3.70k|            TypeR temp{other.cast<TypeR>()};
 1167|  3.70k|            other.construct<TypeL>(cast<TypeL>());
 1168|  3.70k|            construct<TypeR>(temp);
 1169|  3.70k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1173|  37.8k|        {
 1174|  37.8k|            switch (other.storage_kind())
 1175|  37.8k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 37.8k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 37.8k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 37.8k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 37.8k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 37.8k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 37.8k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 37.8k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 37.8k]
  ------------------
 1184|  1.59k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 1.59k, False: 36.2k]
  ------------------
 1185|  6.09k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 6.09k, False: 31.7k]
  ------------------
 1186|  15.6k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 15.6k, False: 22.1k]
  ------------------
 1187|  14.4k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 14.4k, False: 23.3k]
  ------------------
 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: 37.8k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 37.8k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 37.8k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  37.8k|            }
 1194|  37.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1159|  1.59k|        {
 1160|  1.59k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  1.59k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  1.59k|        {
 1166|  1.59k|            TypeR temp{other.cast<TypeR>()};
 1167|  1.59k|            other.construct<TypeL>(cast<TypeL>());
 1168|  1.59k|            construct<TypeR>(temp);
 1169|  1.59k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1159|  6.09k|        {
 1160|  6.09k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  6.09k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  6.09k|        {
 1166|  6.09k|            TypeR temp{other.cast<TypeR>()};
 1167|  6.09k|            other.construct<TypeL>(cast<TypeL>());
 1168|  6.09k|            construct<TypeR>(temp);
 1169|  6.09k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1159|  15.6k|        {
 1160|  15.6k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  15.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  15.6k|        {
 1166|  15.6k|            TypeR temp{other.cast<TypeR>()};
 1167|  15.6k|            other.construct<TypeL>(cast<TypeL>());
 1168|  15.6k|            construct<TypeR>(temp);
 1169|  15.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1159|  14.4k|        {
 1160|  14.4k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  14.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  14.4k|        {
 1166|  14.4k|            TypeR temp{other.cast<TypeR>()};
 1167|  14.4k|            other.construct<TypeL>(cast<TypeL>());
 1168|  14.4k|            construct<TypeR>(temp);
 1169|  14.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1173|   249k|        {
 1174|   249k|            switch (other.storage_kind())
 1175|   249k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 249k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 249k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 249k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 249k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 249k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 249k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 249k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 249k]
  ------------------
 1184|  7.03k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 7.03k, False: 242k]
  ------------------
 1185|  13.7k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 13.7k, False: 236k]
  ------------------
 1186|   106k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 106k, False: 142k]
  ------------------
 1187|   122k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 122k, False: 127k]
  ------------------
 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: 249k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 249k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 249k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|   249k|            }
 1194|   249k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1159|  7.03k|        {
 1160|  7.03k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  7.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  7.03k|        {
 1166|  7.03k|            TypeR temp{other.cast<TypeR>()};
 1167|  7.03k|            other.construct<TypeL>(cast<TypeL>());
 1168|  7.03k|            construct<TypeR>(temp);
 1169|  7.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1159|  13.7k|        {
 1160|  13.7k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  13.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  13.7k|        {
 1166|  13.7k|            TypeR temp{other.cast<TypeR>()};
 1167|  13.7k|            other.construct<TypeL>(cast<TypeL>());
 1168|  13.7k|            construct<TypeR>(temp);
 1169|  13.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1159|   106k|        {
 1160|   106k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|   106k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|   106k|        {
 1166|   106k|            TypeR temp{other.cast<TypeR>()};
 1167|   106k|            other.construct<TypeL>(cast<TypeL>());
 1168|   106k|            construct<TypeR>(temp);
 1169|   106k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1159|   122k|        {
 1160|   122k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|   122k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|   122k|        {
 1166|   122k|            TypeR temp{other.cast<TypeR>()};
 1167|   122k|            other.construct<TypeL>(cast<TypeL>());
 1168|   122k|            construct<TypeR>(temp);
 1169|   122k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1173|  5.11k|        {
 1174|  5.11k|            switch (other.storage_kind())
 1175|  5.11k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 5.11k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 5.11k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 5.11k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 5.11k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 5.11k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 5.11k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 5.11k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 5.11k]
  ------------------
 1184|    216|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 216, False: 4.89k]
  ------------------
 1185|    230|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 230, False: 4.88k]
  ------------------
 1186|  3.71k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 3.71k, False: 1.40k]
  ------------------
 1187|    955|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 955, False: 4.16k]
  ------------------
 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: 5.11k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 5.11k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 5.11k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  5.11k|            }
 1194|  5.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_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_14double_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_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1159|    230|        {
 1160|    230|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    230|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    230|        {
 1166|    230|            TypeR temp{other.cast<TypeR>()};
 1167|    230|            other.construct<TypeL>(cast<TypeL>());
 1168|    230|            construct<TypeR>(temp);
 1169|    230|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1159|  3.71k|        {
 1160|  3.71k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  3.71k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  3.71k|        {
 1166|  3.71k|            TypeR temp{other.cast<TypeR>()};
 1167|  3.71k|            other.construct<TypeL>(cast<TypeL>());
 1168|  3.71k|            construct<TypeR>(temp);
 1169|  3.71k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1159|    955|        {
 1160|    955|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    955|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    955|        {
 1166|    955|            TypeR temp{other.cast<TypeR>()};
 1167|    955|            other.construct<TypeL>(cast<TypeL>());
 1168|    955|            construct<TypeR>(temp);
 1169|    955|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1173|  18.7k|        {
 1174|  18.7k|            switch (other.storage_kind())
 1175|  18.7k|            {
 1176|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 0, False: 18.7k]
  ------------------
 1177|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 0, False: 18.7k]
  ------------------
 1178|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 18.7k]
  ------------------
 1179|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 18.7k]
  ------------------
 1180|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 18.7k]
  ------------------
 1181|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 18.7k]
  ------------------
 1182|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 18.7k]
  ------------------
 1183|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 18.7k]
  ------------------
 1184|  1.00k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 1.00k, False: 17.7k]
  ------------------
 1185|    429|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 429, False: 18.3k]
  ------------------
 1186|  7.47k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 7.47k, False: 11.2k]
  ------------------
 1187|  9.83k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 9.83k, False: 8.90k]
  ------------------
 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: 18.7k]
  ------------------
 1189|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 0, False: 18.7k]
  ------------------
 1190|      0|                default:
  ------------------
  |  Branch (1190:17): [True: 0, False: 18.7k]
  ------------------
 1191|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   80|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1192|      0|                    break;
 1193|  18.7k|            }
 1194|  18.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1159|  1.00k|        {
 1160|  1.00k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  1.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  1.00k|        {
 1166|  1.00k|            TypeR temp{other.cast<TypeR>()};
 1167|  1.00k|            other.construct<TypeL>(cast<TypeL>());
 1168|  1.00k|            construct<TypeR>(temp);
 1169|  1.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1159|    429|        {
 1160|    429|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|    429|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|    429|        {
 1166|    429|            TypeR temp{other.cast<TypeR>()};
 1167|    429|            other.construct<TypeL>(cast<TypeL>());
 1168|    429|            construct<TypeR>(temp);
 1169|    429|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1159|  7.47k|        {
 1160|  7.47k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  7.47k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  7.47k|        {
 1166|  7.47k|            TypeR temp{other.cast<TypeR>()};
 1167|  7.47k|            other.construct<TypeL>(cast<TypeL>());
 1168|  7.47k|            construct<TypeR>(temp);
 1169|  7.47k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1159|  9.83k|        {
 1160|  9.83k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1161|  9.83k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1165|  9.83k|        {
 1166|  9.83k|            TypeR temp{other.cast<TypeR>()};
 1167|  9.83k|            other.construct<TypeL>(cast<TypeL>());
 1168|  9.83k|            construct<TypeR>(temp);
 1169|  9.83k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2617|  10.9M|        {
 2618|  10.9M|            construct<uint64_storage>(val, tag);
 2619|  10.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  998|  10.9M|        {
  999|  10.9M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  10.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  516|  10.9M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  517|  10.9M|                  val_(val)
  518|  10.9M|            {
  519|  10.9M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2648|  9.02M|        {
 2649|  9.02M|            construct<int64_storage>(val, tag);
 2650|  9.02M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  998|  9.02M|        {
  999|  9.02M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  9.02M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  496|  9.02M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  497|  9.02M|                  val_(val)
  498|  9.02M|            {
  499|  9.02M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2605|  16.9k|        {
 2606|  16.9k|            construct<double_storage>(val, tag);
 2607|  16.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  998|  16.9k|        {
  999|  16.9k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  16.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  555|  16.9k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  556|  16.9k|                  val_(val)
  557|  16.9k|            {
  558|  16.9k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2404|   350k|        {
 2405|   350k|            auto ptr = create_array(Allocator());
 2406|   350k|            construct<array_storage>(ptr, tag);
 2407|   350k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  960|   350k|        {
  961|   350k|            using stor_allocator_type = typename array_storage::allocator_type;
  962|   350k|            stor_allocator_type stor_alloc(alloc);
  963|   350k|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  964|   350k|            JSONCONS_TRY
  ------------------
  |  |   37|   350k|    #define JSONCONS_TRY try
  ------------------
  965|   350k|            {
  966|   350k|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  967|   350k|                    std::forward<Args>(args)...);
  968|   350k|            }
  969|   350k|            JSONCONS_CATCH(...)
  970|   350k|            {
  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|   350k|            return ptr;
  975|   350k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  998|   350k|        {
  999|   350k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   350k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  725|   350k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  726|   350k|            {
  727|   350k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2694|  2.24M|        {
 2695|  2.24M|            construct<null_storage>(tag);
 2696|  2.24M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  998|  2.24M|        {
  999|  2.24M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  2.24M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2704|   424k|        {
 2705|   424k|            construct<bool_storage>(val,tag);
 2706|   424k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  998|   424k|        {
  999|   424k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|   424k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  475|   424k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  476|   424k|                  val_(val)
  477|   424k|            {
  478|   424k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2552|  1.17M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2553|  1.17M|        {
 2554|  1.17M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2582|  1.17M|        {
 2583|  1.17M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2583:17): [True: 1.16M, False: 10.5k]
  ------------------
 2584|  1.16M|            {
 2585|  1.16M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2586|  1.16M|            }
 2587|  10.5k|            else
 2588|  10.5k|            {
 2589|  10.5k|                auto ptr = create_long_string(alloc, s, length);
 2590|  10.5k|                construct<long_string_storage>(ptr, tag);
 2591|  10.5k|            }
 2592|  1.17M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  998|  1.16M|        {
  999|  1.16M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  1.16M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  577|  1.16M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  578|  1.16M|            {
  579|  1.16M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   67|  1.16M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 1.16M]
  |  |  ------------------
  |  |   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|  1.16M|                if (length > 0)
  ------------------
  |  Branch (580:21): [True: 1.93k, False: 1.16M]
  ------------------
  581|  1.93k|                {
  582|  1.93k|                    std::memcpy(data_,p,length*sizeof(char_type));
  583|  1.93k|                }
  584|  1.16M|                data_[length] = 0;
  585|  1.16M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  946|  10.5k|        {
  947|  10.5k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  948|  10.5k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  949|  10.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  998|  10.5k|        {
  999|  10.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  10.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  624|  10.5k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  625|  10.5k|            {
  626|  10.5k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2714|    774|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2715|    774|        {
 2716|    774|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2722|  21.7k|        {
 2723|  21.7k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2724|       |            
 2725|  21.7k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2726|  21.7k|            construct<byte_string_storage>(ptr, tag);
 2727|  21.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  953|   100k|        {
  954|   100k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  955|   100k|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  956|   100k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
  998|  21.7k|        {
  999|  21.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  21.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  673|   100k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  674|   100k|            {
  675|   100k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2734|      2|        {
 2735|      2|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2736|       |
 2737|      2|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0);
 2738|      2|            construct<byte_string_storage>(ptr, tag);
 2739|      2|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2745|  79.0k|        {
 2746|  79.0k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2747|       |
 2748|  79.0k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2749|  79.0k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2750|  79.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  998|  79.0k|        {
  999|  79.0k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1000|  79.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mRKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2757|      3|        {
 2758|      3|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2759|       |
 2760|      3|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), raw_tag);
 2761|      3|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2762|      3|        }

_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEET_PT0_:
  264|  10.5k|    {
  265|  10.5k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  266|  10.5k|        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|  10.5k|    }
_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEET_PT0_:
  264|   100k|    {
  265|   100k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  266|   100k|        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|   100k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  264|  10.5k|    {
  265|  10.5k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  266|  10.5k|        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|  10.5k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  264|   100k|    {
  265|   100k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  266|   100k|        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|   100k|    }

_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  855|  7.04k|            : destination_(std::addressof(visitor)), 
  856|  7.04k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  857|  7.04k|        {
  858|  7.04k|            level_stack_.emplace_back(json_target_kind::destination,json_structure_kind::root); // root
  859|  7.04k|        }
_ZN8jsoncons21basic_generic_visitorIcEC2Ev:
   52|  7.04k|    basic_generic_visitor() = default;
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  294|  1.39M|    {
  295|  1.39M|        visit_begin_array(length, tag, context, ec);
  296|  1.39M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.39M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  297|  1.39M|    }
_ZN8jsoncons21basic_generic_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  363|  25.7M|    {
  364|  25.7M|        visit_uint64(value, tag, context, ec);
  365|  25.7M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  25.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  25.7M|    }
_ZN8jsoncons21basic_generic_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  300|  1.37M|    {
  301|  1.37M|        visit_end_array(context, ec);
  302|  1.37M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.37M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  1.37M|    }
_ZN8jsoncons21basic_generic_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  372|  19.7M|    {
  373|  19.7M|        visit_int64(value, tag, context, ec);
  374|  19.7M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  19.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  375|  19.7M|    }
_ZN8jsoncons21basic_generic_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  390|   125k|    {
  391|   125k|        visit_double(value, tag, context, ec);
  392|   125k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   125k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  393|   125k|    }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structureC2ENS4_16json_target_kindENS4_19json_structure_kindE:
  798|  4.18M|                : target_kind_(state), structure_kind_(type), even_odd_(type == json_structure_kind::object ? 0 : 1)
  ------------------
  |  Branch (798:73): [True: 2.77M, False: 1.40M]
  ------------------
  799|  4.18M|            {
  800|  4.18M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1008|  1.39M|        {
 1009|  1.39M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1009:17): [True: 238k, False: 1.16M]
  ------------------
 1010|   238k|            {
 1011|   238k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1011:21): [True: 140k, False: 97.7k]
  |  Branch (1011:86): [True: 134k, False: 5.99k]
  ------------------
 1012|   134k|                {
 1013|   134k|                    key_buffer_.push_back(',');
 1014|   134k|                }
 1015|   238k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1016|   238k|                key_buffer_.push_back('[');
 1017|   238k|            }
 1018|  1.16M|            else
 1019|  1.16M|            {
 1020|  1.16M|                switch (level_stack_.back().target_kind())
 1021|  1.16M|                {
 1022|   810k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1022:21): [True: 810k, False: 350k]
  ------------------
 1023|   810k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1023:29): [True: 653k, False: 156k]
  |  Branch (1023:65): [True: 620k, False: 32.7k]
  ------------------
 1024|   620k|                        {
 1025|   620k|                            key_buffer_.push_back(',');
 1026|   620k|                        }
 1027|   810k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1028|   810k|                        key_buffer_.push_back('[');
 1029|   810k|                        break;
 1030|   350k|                    default:
  ------------------
  |  Branch (1030:21): [True: 350k, False: 810k]
  ------------------
 1031|   350k|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1032|   350k|                        destination_->begin_array(length, tag, context, ec);
 1033|   350k|                        break;
 1034|  1.16M|                }
 1035|  1.16M|            }
 1036|  1.39M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.39M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1037|  1.39M|        }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure6is_keyEv:
  815|   184M|            {
  816|   184M|                return even_odd_ == 0;
  817|   184M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure11target_kindEv:
  825|   114M|            {
  826|   114M|                return target_kind_;
  827|   114M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure5countEv:
  830|  25.0M|            {
  831|  25.0M|                return count_;
  832|  25.0M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure9is_objectEv:
  820|  88.7M|            {
  821|  88.7M|                return structure_kind_ == json_structure_kind::object;
  822|  88.7M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1040|  1.37M|        {
 1041|  1.37M|            switch (level_stack_.back().target_kind())
 1042|  1.37M|            {
 1043|  1.04M|                case json_target_kind::buffer:
  ------------------
  |  Branch (1043:17): [True: 1.04M, False: 334k]
  ------------------
 1044|  1.04M|                    key_buffer_.push_back(']');
 1045|  1.04M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   67|  1.04M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 1.04M]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1046|  1.04M|                    level_stack_.pop_back();
 1047|  1.04M|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (1047:25): [True: 97.2k, False: 945k]
  ------------------
 1048|  97.2k|                    {
 1049|  97.2k|                        destination_->key(key_buffer_, context, ec);
 1050|  97.2k|                        key_buffer_.clear();
 1051|  97.2k|                    }
 1052|   945k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1052:30): [True: 139k, False: 805k]
  ------------------
 1053|   139k|                    {
 1054|   139k|                        key_buffer_.push_back(':');
 1055|   139k|                    }
 1056|  1.04M|                    level_stack_.back().advance();
 1057|  1.04M|                    break;
 1058|   334k|                default:
  ------------------
  |  Branch (1058:17): [True: 334k, False: 1.04M]
  ------------------
 1059|   334k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   67|   334k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 334k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1060|   334k|                    level_stack_.pop_back();
 1061|   334k|                    level_stack_.back().advance();
 1062|   334k|                    destination_->end_array(context, ec);
 1063|   334k|                    break;
 1064|  1.37M|            }
 1065|  1.37M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.37M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1066|  1.37M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure7advanceEv:
  803|  63.6M|            {
  804|  63.6M|                if (!is_key())
  ------------------
  |  Branch (804:21): [True: 50.8M, False: 12.8M]
  ------------------
  805|  50.8M|                {
  806|  50.8M|                    ++count_;
  807|  50.8M|                }
  808|  63.6M|                if (is_object())
  ------------------
  |  Branch (808:21): [True: 25.6M, False: 38.0M]
  ------------------
  809|  25.6M|                {
  810|  25.6M|                    even_odd_ = !even_odd_;
  811|  25.6M|                }
  812|  63.6M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1233|  25.7M|        {
 1234|  25.7M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1234:17): [True: 5.43M, False: 20.2M]
  |  Branch (1234:49): [True: 9.37M, False: 10.9M]
  ------------------
 1235|  14.8M|            {
 1236|  14.8M|                key_.clear();
 1237|  14.8M|                jsoncons::append_to_string(value,key_);
 1238|  14.8M|            }
 1239|       |
 1240|  25.7M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1240:17): [True: 5.43M, False: 20.2M]
  ------------------
 1241|  5.43M|            {
 1242|  5.43M|                switch (level_stack_.back().target_kind())
 1243|  5.43M|                {
 1244|  3.51M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1244:21): [True: 3.51M, False: 1.91M]
  ------------------
 1245|  3.51M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1245:29): [True: 3.44M, False: 69.6k]
  ------------------
 1246|  3.44M|                        {
 1247|  3.44M|                            key_buffer_.push_back(',');
 1248|  3.44M|                        }
 1249|  3.51M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1250|  3.51M|                        key_buffer_.push_back(':');
 1251|  3.51M|                        break;
 1252|  1.91M|                    default:
  ------------------
  |  Branch (1252:21): [True: 1.91M, False: 3.51M]
  ------------------
 1253|  1.91M|                        destination_->key(key_, context, ec);
 1254|  1.91M|                        break;
 1255|  5.43M|                }
 1256|  5.43M|            }
 1257|  20.2M|            else
 1258|  20.2M|            {
 1259|  20.2M|                switch (level_stack_.back().target_kind())
 1260|  20.2M|                {
 1261|  9.37M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1261:21): [True: 9.37M, False: 10.9M]
  ------------------
 1262|  9.37M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1262:29): [True: 5.91M, False: 3.45M]
  |  Branch (1262:65): [True: 5.75M, False: 163k]
  ------------------
 1263|  5.75M|                        {
 1264|  5.75M|                            key_buffer_.push_back(',');
 1265|  5.75M|                        }
 1266|  9.37M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1267|  9.37M|                        break;
 1268|  10.9M|                    default:
  ------------------
  |  Branch (1268:21): [True: 10.9M, False: 9.37M]
  ------------------
 1269|  10.9M|                        destination_->uint64_value(value, tag, context, ec);
 1270|  10.9M|                        break;
 1271|  20.2M|                }
 1272|  20.2M|            }
 1273|       |
 1274|  25.7M|            level_stack_.back().advance();
 1275|  25.7M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  25.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1276|  25.7M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1279|  19.7M|        {
 1280|  19.7M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1280:17): [True: 3.26M, False: 16.5M]
  |  Branch (1280:49): [True: 7.49M, False: 9.02M]
  ------------------
 1281|  10.7M|            {
 1282|  10.7M|                key_.clear();
 1283|  10.7M|                jsoncons::append_to_string(value,key_);
 1284|  10.7M|            }
 1285|       |
 1286|  19.7M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1286:17): [True: 3.26M, False: 16.5M]
  ------------------
 1287|  3.26M|            {
 1288|  3.26M|                switch (level_stack_.back().target_kind())
 1289|  3.26M|                {
 1290|  2.82M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1290:21): [True: 2.82M, False: 440k]
  ------------------
 1291|  2.82M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1291:29): [True: 2.81M, False: 11.5k]
  ------------------
 1292|  2.81M|                        {
 1293|  2.81M|                            key_buffer_.push_back(',');
 1294|  2.81M|                        }
 1295|  2.82M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1296|  2.82M|                        key_buffer_.push_back(':');
 1297|  2.82M|                        break;
 1298|   440k|                    default:
  ------------------
  |  Branch (1298:21): [True: 440k, False: 2.82M]
  ------------------
 1299|   440k|                        destination_->key(key_, context, ec);
 1300|   440k|                        break;
 1301|  3.26M|                }
 1302|  3.26M|            }
 1303|  16.5M|            else
 1304|  16.5M|            {
 1305|  16.5M|                switch (level_stack_.back().target_kind())
 1306|  16.5M|                {
 1307|  7.49M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1307:21): [True: 7.49M, False: 9.02M]
  ------------------
 1308|  7.49M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1308:29): [True: 4.65M, False: 2.83M]
  |  Branch (1308:65): [True: 4.64M, False: 15.3k]
  ------------------
 1309|  4.64M|                        {
 1310|  4.64M|                            key_buffer_.push_back(',');
 1311|  4.64M|                        }
 1312|  7.49M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1313|  7.49M|                        break;
 1314|  9.02M|                    default:
  ------------------
  |  Branch (1314:21): [True: 9.02M, False: 7.49M]
  ------------------
 1315|  9.02M|                        destination_->int64_value(value, tag, context, ec);
 1316|  9.02M|                        break;
 1317|  16.5M|                }
 1318|  16.5M|            }
 1319|       |
 1320|  19.7M|            level_stack_.back().advance();
 1321|  19.7M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  19.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1322|  19.7M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1374|   125k|        {
 1375|   125k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1375:17): [True: 39.5k, False: 86.2k]
  |  Branch (1375:49): [True: 69.3k, False: 16.9k]
  ------------------
 1376|   108k|            {
 1377|   108k|                key_.clear();
 1378|   108k|                string_sink<string_type> sink(key_);
 1379|   108k|                jsoncons::write_double f{float_chars_format::general,0};
 1380|   108k|                f(value, sink);
 1381|   108k|            }
 1382|       |
 1383|   125k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1383:17): [True: 39.5k, False: 86.2k]
  ------------------
 1384|  39.5k|            {
 1385|  39.5k|                switch (level_stack_.back().target_kind())
 1386|  39.5k|                {
 1387|  31.8k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1387:21): [True: 31.8k, False: 7.73k]
  ------------------
 1388|  31.8k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1388:29): [True: 25.5k, False: 6.25k]
  ------------------
 1389|  25.5k|                        {
 1390|  25.5k|                            key_buffer_.push_back(',');
 1391|  25.5k|                        }
 1392|  31.8k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1393|  31.8k|                        key_buffer_.push_back(':');
 1394|  31.8k|                        break;
 1395|  7.73k|                    default:
  ------------------
  |  Branch (1395:21): [True: 7.73k, False: 31.8k]
  ------------------
 1396|  7.73k|                        destination_->key(key_, context, ec);
 1397|  7.73k|                        break;
 1398|  39.5k|                }
 1399|  39.5k|            }
 1400|  86.2k|            else
 1401|  86.2k|            {
 1402|  86.2k|                switch (level_stack_.back().target_kind())
 1403|  86.2k|                {
 1404|  69.3k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1404:21): [True: 69.3k, False: 16.9k]
  ------------------
 1405|  69.3k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1405:29): [True: 44.9k, False: 24.4k]
  |  Branch (1405:65): [True: 16.4k, False: 28.5k]
  ------------------
 1406|  16.4k|                        {
 1407|  16.4k|                            key_buffer_.push_back(',');
 1408|  16.4k|                        }
 1409|  69.3k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1410|  69.3k|                        break;
 1411|  16.9k|                    default:
  ------------------
  |  Branch (1411:21): [True: 16.9k, False: 69.3k]
  ------------------
 1412|  16.9k|                        destination_->double_value(value, tag, context, ec);
 1413|  16.9k|                        break;
 1414|  86.2k|                }
 1415|  86.2k|            }
 1416|       |
 1417|   125k|            level_stack_.back().advance();
 1418|   125k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   125k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1419|   125k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  881|  2.37k|        {
  882|  2.37k|            destination_->flush();
  883|  2.37k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  914|  2.77M|        {
  915|  2.77M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (915:17): [True: 490k, False: 2.28M]
  ------------------
  916|   490k|            {
  917|   490k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (917:21): [True: 330k, False: 160k]
  |  Branch (917:86): [True: 158k, False: 172k]
  ------------------
  918|   158k|                {
  919|   158k|                    key_buffer_.push_back(',');
  920|   158k|                }
  921|   490k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  922|   490k|                key_buffer_.push_back('{');
  923|   490k|            }
  924|  2.28M|            else
  925|  2.28M|            {
  926|  2.28M|                switch (level_stack_.back().target_kind())
  927|  2.28M|                {
  928|   759k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (928:21): [True: 759k, False: 1.52M]
  ------------------
  929|   759k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (929:29): [True: 456k, False: 303k]
  |  Branch (929:65): [True: 434k, False: 22.0k]
  ------------------
  930|   434k|                        {
  931|   434k|                            key_buffer_.push_back(',');
  932|   434k|                        }
  933|   759k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  934|   759k|                        key_buffer_.push_back('{');
  935|   759k|                        break;
  936|  1.52M|                    default:
  ------------------
  |  Branch (936:21): [True: 1.52M, False: 759k]
  ------------------
  937|  1.52M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  938|  1.52M|                        destination_->begin_object(length, tag, context, ec);
  939|  1.52M|                        break;
  940|  2.28M|                }
  941|  2.28M|            }
  942|  2.77M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  2.77M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  943|  2.77M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  946|  2.76M|        {
  947|  2.76M|            switch (level_stack_.back().target_kind())
  948|  2.76M|            {
  949|  1.24M|                case json_target_kind::buffer:
  ------------------
  |  Branch (949:17): [True: 1.24M, False: 1.52M]
  ------------------
  950|  1.24M|                    key_buffer_.push_back('}');
  951|  1.24M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   67|  1.24M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 1.24M]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  952|  1.24M|                    level_stack_.pop_back();
  953|       |                    
  954|  1.24M|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (954:25): [True: 159k, False: 1.08M]
  ------------------
  955|   159k|                    {
  956|   159k|                        destination_->key(key_buffer_,context, ec);
  957|   159k|                        key_buffer_.clear();
  958|   159k|                    }
  959|  1.08M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (959:30): [True: 326k, False: 754k]
  ------------------
  960|   326k|                    {
  961|   326k|                        key_buffer_.push_back(':');
  962|   326k|                    }
  963|  1.24M|                    level_stack_.back().advance();
  964|  1.24M|                    break;
  965|  1.52M|                default:
  ------------------
  |  Branch (965:17): [True: 1.52M, False: 1.24M]
  ------------------
  966|  1.52M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   67|  1.52M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 1.52M]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  967|  1.52M|                    level_stack_.pop_back();
  968|  1.52M|                    level_stack_.back().advance();
  969|  1.52M|                    destination_->end_object(context, ec);
  970|  1.52M|                    break;
  971|  2.76M|            }
  972|  2.76M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  2.76M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  973|  2.76M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1475|  4.64M|        {
 1476|  4.64M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1476:17): [True: 630k, False: 4.01M]
  |  Branch (1476:49): [True: 1.76M, False: 2.24M]
  ------------------
 1477|  2.40M|            {
 1478|  2.40M|                key_.clear(); 
 1479|  2.40M|                key_.insert(key_.begin(), json_literals<char_type>::null_literal.begin(), json_literals<char_type>::null_literal.end());
 1480|  2.40M|            }
 1481|       |
 1482|  4.64M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1482:17): [True: 630k, False: 4.01M]
  ------------------
 1483|   630k|            {
 1484|   630k|                switch (level_stack_.back().target_kind())
 1485|   630k|                {
 1486|   563k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1486:21): [True: 563k, False: 67.2k]
  ------------------
 1487|   563k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1487:29): [True: 453k, False: 109k]
  ------------------
 1488|   453k|                        {
 1489|   453k|                            key_buffer_.push_back(',');
 1490|   453k|                        }
 1491|   563k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1492|   563k|                        key_buffer_.push_back(':');
 1493|   563k|                        break;
 1494|  67.2k|                    default:
  ------------------
  |  Branch (1494:21): [True: 67.2k, False: 563k]
  ------------------
 1495|  67.2k|                        destination_->key(key_, context, ec);
 1496|  67.2k|                        break;
 1497|   630k|                }
 1498|   630k|            }
 1499|  4.01M|            else
 1500|  4.01M|            {
 1501|  4.01M|                switch (level_stack_.back().target_kind())
 1502|  4.01M|                {
 1503|  1.76M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1503:21): [True: 1.76M, False: 2.24M]
  ------------------
 1504|  1.76M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1504:29): [True: 1.20M, False: 566k]
  |  Branch (1504:65): [True: 1.20M, False: 518]
  ------------------
 1505|  1.20M|                        {
 1506|  1.20M|                            key_buffer_.push_back(',');
 1507|  1.20M|                        }
 1508|  1.76M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1509|  1.76M|                        break;
 1510|  2.24M|                    default:
  ------------------
  |  Branch (1510:21): [True: 2.24M, False: 1.76M]
  ------------------
 1511|  2.24M|                        destination_->null_value(tag, context, ec);
 1512|  2.24M|                        break;
 1513|  4.01M|                }
 1514|  4.01M|            }
 1515|       |
 1516|  4.64M|            level_stack_.back().advance();
 1517|  4.64M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.64M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1518|  4.64M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1422|  4.45M|        {
 1423|  4.45M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1423:17): [True: 1.01M, False: 3.43M]
  |  Branch (1423:49): [True: 3.00M, False: 424k]
  ------------------
 1424|  4.02M|            {
 1425|  4.02M|                key_.clear(); 
 1426|  4.02M|                if (value)
  ------------------
  |  Branch (1426:21): [True: 2.87M, False: 1.15M]
  ------------------
 1427|  2.87M|                {
 1428|  2.87M|                    key_.insert(key_.begin(), json_literals<char_type>::true_literal.begin(), json_literals<char_type>::true_literal.end());
 1429|  2.87M|                }
 1430|  1.15M|                else
 1431|  1.15M|                {
 1432|  1.15M|                    key_.insert(key_.begin(), json_literals<char_type>::false_literal.begin(), json_literals<char_type>::false_literal.end());
 1433|  1.15M|                }
 1434|  4.02M|            }
 1435|       |
 1436|  4.45M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1436:17): [True: 1.01M, False: 3.43M]
  ------------------
 1437|  1.01M|            {
 1438|  1.01M|                switch (level_stack_.back().target_kind())
 1439|  1.01M|                {
 1440|   947k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1440:21): [True: 947k, False: 72.0k]
  ------------------
 1441|   947k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1441:29): [True: 923k, False: 24.3k]
  ------------------
 1442|   923k|                        {
 1443|   923k|                            key_buffer_.push_back(',');
 1444|   923k|                        }
 1445|   947k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1446|   947k|                        key_buffer_.push_back(':');
 1447|   947k|                        break;
 1448|  72.0k|                    default:
  ------------------
  |  Branch (1448:21): [True: 72.0k, False: 947k]
  ------------------
 1449|  72.0k|                        destination_->key(key_, context, ec);
 1450|  72.0k|                        break;
 1451|  1.01M|                }
 1452|  1.01M|            }
 1453|  3.43M|            else
 1454|  3.43M|            {
 1455|  3.43M|                switch (level_stack_.back().target_kind())
 1456|  3.43M|                {
 1457|  3.00M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1457:21): [True: 3.00M, False: 424k]
  ------------------
 1458|  3.00M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1458:29): [True: 2.04M, False: 960k]
  |  Branch (1458:65): [True: 2.04M, False: 1.56k]
  ------------------
 1459|  2.04M|                        {
 1460|  2.04M|                            key_buffer_.push_back(',');
 1461|  2.04M|                        }
 1462|  3.00M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1463|  3.00M|                        break;
 1464|   424k|                    default:
  ------------------
  |  Branch (1464:21): [True: 424k, False: 3.00M]
  ------------------
 1465|   424k|                        destination_->bool_value(value, tag, context, ec);
 1466|   424k|                        break;
 1467|  3.43M|                }
 1468|  3.43M|            }
 1469|       |
 1470|  4.45M|            level_stack_.back().advance();
 1471|  4.45M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.45M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1472|  4.45M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1072|  4.49M|        {
 1073|  4.49M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1073:17): [True: 1.63M, False: 2.85M]
  ------------------
 1074|  1.63M|            {
 1075|  1.63M|                switch (level_stack_.back().target_kind())
 1076|  1.63M|                {
 1077|  1.50M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1077:21): [True: 1.50M, False: 130k]
  ------------------
 1078|  1.50M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1078:29): [True: 1.46M, False: 42.5k]
  ------------------
 1079|  1.46M|                        {
 1080|  1.46M|                            key_buffer_.push_back(',');
 1081|  1.46M|                        }
 1082|  1.50M|                        key_buffer_.push_back('\"');
 1083|  1.50M|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1084|  1.50M|                        key_buffer_.push_back('\"');
 1085|  1.50M|                        key_buffer_.push_back(':');
 1086|  1.50M|                        break;
 1087|   130k|                    default:
  ------------------
  |  Branch (1087:21): [True: 130k, False: 1.50M]
  ------------------
 1088|   130k|                        destination_->key(value, context, ec);
 1089|   130k|                        break;
 1090|  1.63M|                }
 1091|  1.63M|            }
 1092|  2.85M|            else
 1093|  2.85M|            {
 1094|  2.85M|                switch (level_stack_.back().target_kind())
 1095|  2.85M|                {
 1096|  1.68M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1096:21): [True: 1.68M, False: 1.17M]
  ------------------
 1097|  1.68M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1097:29): [True: 151k, False: 1.52M]
  |  Branch (1097:65): [True: 131k, False: 20.3k]
  ------------------
 1098|   131k|                        {
 1099|   131k|                            key_buffer_.push_back(',');
 1100|   131k|                        }
 1101|  1.68M|                        key_buffer_.push_back('\"');
 1102|  1.68M|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1103|  1.68M|                        key_buffer_.push_back('\"');
 1104|  1.68M|                        break;
 1105|  1.17M|                    default:
  ------------------
  |  Branch (1105:21): [True: 1.17M, False: 1.68M]
  ------------------
 1106|  1.17M|                        destination_->string_value(value, tag, context, ec);
 1107|  1.17M|                        break;
 1108|  2.85M|                }
 1109|  2.85M|            }
 1110|       |
 1111|  4.49M|            level_stack_.back().advance();
 1112|  4.49M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.49M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1113|  4.49M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1119|  81.4k|        {
 1120|  81.4k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1120:17): [True: 10.0k, False: 71.4k]
  |  Branch (1120:49): [True: 49.6k, False: 21.7k]
  ------------------
 1121|  59.6k|            {
 1122|  59.6k|                key_.clear();
 1123|  59.6k|                switch (tag)
 1124|  59.6k|                {
 1125|      0|                    case semantic_tag::base64:
  ------------------
  |  Branch (1125:21): [True: 0, False: 59.6k]
  ------------------
 1126|      0|                        bytes_to_base64(value.begin(), value.end(), key_);
 1127|      0|                        break;
 1128|      0|                    case semantic_tag::base16:
  ------------------
  |  Branch (1128:21): [True: 0, False: 59.6k]
  ------------------
 1129|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1130|      0|                        break;
 1131|  59.6k|                    default:
  ------------------
  |  Branch (1131:21): [True: 59.6k, False: 0]
  ------------------
 1132|  59.6k|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1133|  59.6k|                        break;
 1134|  59.6k|                }
 1135|  59.6k|            }
 1136|       |
 1137|  81.4k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1137:17): [True: 10.0k, False: 71.4k]
  ------------------
 1138|  10.0k|            {
 1139|  10.0k|                switch (level_stack_.back().target_kind())
 1140|  10.0k|                {
 1141|  6.51k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1141:21): [True: 6.51k, False: 3.48k]
  ------------------
 1142|  6.51k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1142:29): [True: 4.96k, False: 1.55k]
  ------------------
 1143|  4.96k|                        {
 1144|  4.96k|                            key_buffer_.push_back(',');
 1145|  4.96k|                        }
 1146|  6.51k|                        key_buffer_.push_back('\"');
 1147|  6.51k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1148|  6.51k|                        key_buffer_.push_back('\"');
 1149|  6.51k|                        key_buffer_.push_back(':');
 1150|  6.51k|                        break;
 1151|  3.48k|                    default:
  ------------------
  |  Branch (1151:21): [True: 3.48k, False: 6.51k]
  ------------------
 1152|  3.48k|                        destination_->key(key_, context, ec);
 1153|  3.48k|                        break;
 1154|  10.0k|                }
 1155|  10.0k|            }
 1156|  71.4k|            else
 1157|  71.4k|            {
 1158|  71.4k|                switch (level_stack_.back().target_kind())
 1159|  71.4k|                {
 1160|  49.6k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1160:21): [True: 49.6k, False: 21.7k]
  ------------------
 1161|  49.6k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1161:29): [True: 22.9k, False: 26.7k]
  |  Branch (1161:65): [True: 22.1k, False: 800]
  ------------------
 1162|  22.1k|                        {
 1163|  22.1k|                            key_buffer_.push_back(',');
 1164|  22.1k|                        }
 1165|  49.6k|                        key_buffer_.push_back('\"');
 1166|  49.6k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1167|  49.6k|                        key_buffer_.push_back('\"');
 1168|  49.6k|                        break;
 1169|  21.7k|                    default:
  ------------------
  |  Branch (1169:21): [True: 21.7k, False: 49.6k]
  ------------------
 1170|  21.7k|                        destination_->byte_string_value(value, tag, context, ec);
 1171|  21.7k|                        break;
 1172|  71.4k|                }
 1173|  71.4k|            }
 1174|       |
 1175|  81.4k|            level_stack_.back().advance();
 1176|  81.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  81.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1177|  81.4k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1183|   201k|        {
 1184|   201k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1184:17): [True: 65.5k, False: 135k]
  |  Branch (1184:49): [True: 56.6k, False: 79.0k]
  ------------------
 1185|   122k|            {
 1186|   122k|                key_.clear();
 1187|   122k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1188|   122k|            }
 1189|       |
 1190|   201k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1190:17): [True: 65.5k, False: 135k]
  ------------------
 1191|  65.5k|            {
 1192|  65.5k|                switch (level_stack_.back().target_kind())
 1193|  65.5k|                {
 1194|  38.1k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1194:21): [True: 38.1k, False: 27.4k]
  ------------------
 1195|  38.1k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1195:29): [True: 27.5k, False: 10.6k]
  ------------------
 1196|  27.5k|                        {
 1197|  27.5k|                            key_buffer_.push_back(',');
 1198|  27.5k|                        }
 1199|  38.1k|                        key_buffer_.push_back('\"');
 1200|  38.1k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1201|  38.1k|                        key_buffer_.push_back('\"');
 1202|  38.1k|                        key_buffer_.push_back(':');
 1203|  38.1k|                        break;
 1204|  27.4k|                    default:
  ------------------
  |  Branch (1204:21): [True: 27.4k, False: 38.1k]
  ------------------
 1205|  27.4k|                        destination_->key(key_, context, ec);
 1206|  27.4k|                        break;
 1207|  65.5k|                }
 1208|  65.5k|            }
 1209|   135k|            else
 1210|   135k|            {
 1211|   135k|                switch (level_stack_.back().target_kind())
 1212|   135k|                {
 1213|  56.6k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1213:21): [True: 56.6k, False: 79.0k]
  ------------------
 1214|  56.6k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1214:29): [True: 23.1k, False: 33.4k]
  |  Branch (1214:65): [True: 22.0k, False: 1.15k]
  ------------------
 1215|  22.0k|                        {
 1216|  22.0k|                            key_buffer_.push_back(',');
 1217|  22.0k|                        }
 1218|  56.6k|                        key_buffer_.push_back('\"');
 1219|  56.6k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1220|  56.6k|                        key_buffer_.push_back('\"');
 1221|  56.6k|                        break;
 1222|  79.0k|                    default:
  ------------------
  |  Branch (1222:21): [True: 79.0k, False: 56.6k]
  ------------------
 1223|  79.0k|                        destination_->byte_string_value(value, raw_tag, context, ec);
 1224|  79.0k|                        break;
 1225|   135k|                }
 1226|   135k|            }
 1227|       |
 1228|   201k|            level_stack_.back().advance();
 1229|   201k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   201k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1230|   201k|        }
_ZN8jsoncons21basic_generic_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  276|  2.77M|    {
  277|  2.77M|        visit_begin_object(length, tag, context, ec);
  278|  2.77M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  2.77M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  279|  2.77M|    }
_ZN8jsoncons21basic_generic_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  332|  4.49M|    {
  333|  4.49M|        visit_string(value, tag, context, ec);
  334|  4.49M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.49M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  335|  4.49M|    }
_ZN8jsoncons21basic_generic_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  314|  4.64M|    {
  315|  4.64M|        visit_null(tag, context, ec);
  316|  4.64M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.64M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  317|  4.64M|    }
_ZN8jsoncons21basic_generic_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  323|  4.45M|    {
  324|  4.45M|        visit_bool(value, tag, context, ec);
  325|  4.45M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.45M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  4.45M|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  343|  81.4k|    {
  344|  81.4k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  345|  81.4k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  81.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  346|  81.4k|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  354|   201k|    {
  355|   201k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  356|   201k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   201k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  357|   201k|    }
_ZN8jsoncons21basic_generic_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  282|  2.76M|    {
  283|  2.76M|        visit_end_object(context, ec);
  284|  2.76M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  2.76M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  285|  2.76M|    }
_ZN8jsoncons21basic_generic_visitorIcE5flushEv:
   57|  2.37k|    {
   58|  2.37k|        visit_flush();
   59|  2.37k|    }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|   377k|        {
  106|   377k|            flatten_and_destroy();
  107|   377k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|   377k|        {
  249|  2.87M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 2.49M, False: 377k]
  ------------------
  250|  2.49M|            {
  251|  2.49M|                value_type current = std::move(data_.back());
  252|  2.49M|                data_.pop_back();
  253|  2.49M|                switch (current.storage_kind())
  254|  2.49M|                {
  255|  35.9k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 35.9k, False: 2.46M]
  ------------------
  256|  35.9k|                    {
  257|  35.9k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 155k, False: 35.9k]
  ------------------
  258|   155k|                        {
  259|   155k|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 14.8k, False: 140k]
  |  Branch (259:85): [True: 12.2k, False: 128k]
  ------------------
  260|  27.1k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 22.1k, False: 4.95k]
  ------------------
  261|  22.1k|                            {
  262|  22.1k|                                data_.push_back(std::move(item));
  263|  22.1k|                            }
  264|   155k|                        }
  265|  35.9k|                        current.clear();                           
  266|  35.9k|                        break;
  267|      0|                    }
  268|  58.0k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 58.0k, False: 2.43M]
  ------------------
  269|  58.0k|                    {
  270|  58.0k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 102k, False: 58.0k]
  ------------------
  271|   102k|                        {
  272|   102k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 12.1k, False: 90.6k]
  |  Branch (272:91): [True: 14.0k, False: 76.6k]
  ------------------
  273|  26.2k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 23.0k, False: 3.10k]
  ------------------
  274|  23.0k|                            {
  275|  23.0k|                                data_.push_back(std::move(kv.value()));
  276|  23.0k|                            }
  277|   102k|                        }
  278|  58.0k|                        current.clear();                           
  279|  58.0k|                        break;
  280|      0|                    }
  281|  2.40M|                    default:
  ------------------
  |  Branch (281:21): [True: 2.40M, False: 93.9k]
  ------------------
  282|  2.40M|                        break;
  283|  2.49M|                }
  284|  2.49M|            }
  285|   377k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|  35.9k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|  35.9k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  33.4k|        {
  126|  33.4k|            return data_.empty();
  127|  33.4k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|  35.9k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  27.1k|            : allocator_holder<allocator_type>(alloc), 
   50|  27.1k|              data_(value_allocator_type(alloc))
   51|  27.1k|        {
   52|  27.1k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  8.30k|        {
  218|  8.30k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  8.30k|            return data_.back();
  220|  8.30k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  52.5k|        void reserve(std::size_t n) {data_.reserve(n);}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE9push_backIS6_S5_EENS3_9enable_ifIXsr3std16allocator_traitsIT0_E15is_always_equalE5valueEvE4typeEOT_:
  178|  2.59M|        {
  179|  2.59M|            data_.emplace_back(std::forward<T>(value));
  180|  2.59M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|   350k|        json_array() = default;

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  7.04k|        : alloc_(alloc),
   75|  7.04k|          result_(),
   76|  7.04k|          name_(alloc),
   77|  7.04k|          item_stack_(alloc),
   78|  7.04k|          structure_stack_(temp_alloc)
   79|  7.04k|    {
   80|       |        //item_stack_.reserve(1000);
   81|       |        //structure_stack_.reserve(100);
   82|  7.04k|        structure_stack_.emplace_back(json_structure_kind::root_kind, 0);
   83|  7.04k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14json_structureC2ENS7_19json_structure_kindEm:
   51|  1.88M|            : structure_kind(type), structure_index(offset)
   52|  1.88M|        {
   53|  1.88M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  186|   334k|    {
  187|   334k|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   67|   334k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 334k]
  |  |  ------------------
  |  |   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|   334k|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::array_kind);
  ------------------
  |  |   67|   334k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 334k]
  |  |  ------------------
  |  |   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|   334k|        const size_t structure_index = structure_stack_.back().structure_index;
  190|   334k|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   67|   334k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 334k]
  |  |  ------------------
  |  |   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|   334k|        auto& structure = structure_stack_[structure_stack_.size()-2];
  193|   334k|        auto& arr = item_stack_[structure_index].value;
  194|   334k|        const size_t size = item_stack_.size() - (structure_index + 1);
  195|       |
  196|   334k|        if (size > 0)
  ------------------
  |  Branch (196:13): [True: 52.5k, False: 281k]
  ------------------
  197|  52.5k|        {
  198|  52.5k|            arr.reserve(size);
  199|  52.5k|            auto first = item_stack_.begin() + (structure_index+1);
  200|  52.5k|            auto last = first + size;
  201|  2.65M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (201:35): [True: 2.59M, False: 52.5k]
  ------------------
  202|  2.59M|            {
  203|  2.59M|                arr.push_back(std::move((*it).value));
  204|  2.59M|            }
  205|  52.5k|            item_stack_.erase(first, item_stack_.end());
  206|  52.5k|        }
  207|       |
  208|   334k|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (208:13): [True: 254, False: 334k]
  ------------------
  209|    254|        {
  210|    254|            result_ = std::move(item_stack_.front().value);
  211|    254|            item_stack_.pop_back();
  212|    254|            is_valid_ = true;
  213|    254|        }
  214|       |
  215|   334k|        structure_stack_.pop_back();
  216|   334k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   334k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|   334k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  311|  10.9M|    {
  312|  10.9M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (312:17): [True: 10.9M, False: 0]
  ------------------
  313|  10.9M|        {
  314|  1.90M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (314:13): [True: 1.90M, False: 9.01M]
  ------------------
  315|  1.90M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  316|  1.90M|                break;
  317|  9.01M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (317:13): [True: 9.01M, False: 1.90M]
  ------------------
  318|  9.01M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  319|  9.01M|                break;
  320|     10|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (320:13): [True: 10, False: 10.9M]
  ------------------
  321|     10|                result_ = Json(value,tag);
  322|     10|                is_valid_ = true;
  323|     10|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|     10|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  324|  10.9M|        }
  325|  10.9M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  10.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  10.9M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  290|  9.02M|    {
  291|  9.02M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (291:17): [True: 9.02M, False: 0]
  ------------------
  292|  9.02M|        {
  293|   439k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (293:13): [True: 439k, False: 8.58M]
  ------------------
  294|   439k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  295|   439k|                break;
  296|  8.58M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (296:13): [True: 8.58M, False: 439k]
  ------------------
  297|  8.58M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  298|  8.58M|                break;
  299|      7|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (299:13): [True: 7, False: 9.02M]
  ------------------
  300|      7|                result_ = Json(value,tag);
  301|      7|                is_valid_ = true;
  302|      7|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      7|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  9.02M|        }
  304|  9.02M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  9.02M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  305|  9.02M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  353|  16.9k|    {
  354|  16.9k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (354:17): [True: 16.9k, False: 0]
  ------------------
  355|  16.9k|        {
  356|  4.22k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (356:13): [True: 4.22k, False: 12.6k]
  ------------------
  357|  4.22k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  358|  4.22k|                break;
  359|  12.6k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (359:13): [True: 12.6k, False: 4.22k]
  ------------------
  360|  12.6k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  361|  12.6k|                break;
  362|      2|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (362:13): [True: 2, False: 16.9k]
  ------------------
  363|      2|                result_ = Json(value, tag);
  364|      2|                is_valid_ = true;
  365|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  16.9k|        }
  367|  16.9k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  16.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  16.9k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|  2.37k|    {
  123|  2.37k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  1.52M|    {
  127|  1.52M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (127:13): [True: 160k, False: 1.36M]
  ------------------
  128|   160k|        {
  129|   160k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  130|   160k|            item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  131|   160k|        }
  132|  1.36M|        else
  133|  1.36M|        {
  134|  1.36M|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  135|  1.36M|            item_stack_.emplace_back(key_type(alloc_), 0, json_object_arg, tag);
  136|  1.36M|        }
  137|  1.52M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.52M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  138|  1.52M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  141|  1.52M|    {
  142|  1.52M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   67|  1.52M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 1.52M]
  |  |  ------------------
  |  |   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|  1.52M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::object_kind);
  ------------------
  |  |   67|  1.52M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 1.52M]
  |  |  ------------------
  |  |   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|  1.52M|        const size_t structure_index = structure_stack_.back().structure_index;
  145|  1.52M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   67|  1.52M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 1.52M]
  |  |  ------------------
  |  |   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|  1.52M|        const size_t size = item_stack_.size() - (structure_index + 1);
  148|  1.52M|        auto first = item_stack_.begin() + (structure_index+1);
  149|  1.52M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  150|  1.52M|        auto& obj = item_stack_[structure_index].value;
  151|       |
  152|  1.52M|        if (size > 0)
  ------------------
  |  Branch (152:13): [True: 61.5k, False: 1.46M]
  ------------------
  153|  61.5k|        {
  154|  61.5k|            obj.template cast<typename Json::object_storage>().value().uninitialized_init(
  155|  61.5k|                &item_stack_[structure_index+1], size);
  156|  61.5k|            item_stack_.erase(first, item_stack_.end());
  157|  61.5k|        }
  158|       |
  159|  1.52M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (159:13): [True: 1.31k, False: 1.52M]
  ------------------
  160|  1.31k|        {
  161|  1.31k|            result_ = std::move(item_stack_.front().value);
  162|  1.31k|            item_stack_.pop_back();
  163|  1.31k|            is_valid_ = true;
  164|  1.31k|        }
  165|       |
  166|  1.52M|        structure_stack_.pop_back();
  167|  1.52M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.52M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  168|  1.52M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  171|   350k|    {
  172|   350k|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (172:13): [True: 104k, False: 245k]
  ------------------
  173|   104k|        {
  174|   104k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  175|   104k|            item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  176|   104k|        }
  177|   245k|        else
  178|   245k|        {
  179|   245k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  180|   245k|            item_stack_.emplace_back(key_type(alloc_), 0, json_array_arg, tag);
  181|   245k|        }
  182|   350k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   350k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  183|   350k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  220|  2.92M|    {
  221|  2.92M|        name_ = key_type(name.data(),name.length(),alloc_);
  222|  2.92M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  2.92M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  223|  2.92M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  389|  2.24M|    {
  390|  2.24M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (390:17): [True: 2.24M, False: 0]
  ------------------
  391|  2.24M|        {
  392|  67.7k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (392:13): [True: 67.7k, False: 2.17M]
  ------------------
  393|  67.7k|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  394|  67.7k|                break;
  395|  2.17M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (395:13): [True: 2.17M, False: 67.7k]
  ------------------
  396|  2.17M|                item_stack_.emplace_back(key_type(alloc_), 0, null_type(), tag);
  397|  2.17M|                break;
  398|      1|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (398:13): [True: 1, False: 2.24M]
  ------------------
  399|      1|                result_ = Json(null_type(), tag);
  400|      1|                is_valid_ = true;
  401|      1|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      1|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  402|  2.24M|        }
  403|  2.24M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  2.24M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  404|  2.24M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  371|   424k|    {
  372|   424k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (372:17): [True: 424k, False: 0]
  ------------------
  373|   424k|        {
  374|  68.7k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (374:13): [True: 68.7k, False: 356k]
  ------------------
  375|  68.7k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  376|  68.7k|                break;
  377|   356k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (377:13): [True: 356k, False: 68.7k]
  ------------------
  378|   356k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  379|   356k|                break;
  380|      2|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (380:13): [True: 2, False: 424k]
  ------------------
  381|      2|                result_ = Json(value, tag);
  382|      2|                is_valid_ = true;
  383|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  384|   424k|        }
  385|   424k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   424k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|   424k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  226|  1.17M|    {
  227|  1.17M|        auto& structure = structure_stack_.back();
  228|  1.17M|        switch (structure.structure_kind)
  ------------------
  |  Branch (228:17): [True: 1.17M, False: 0]
  ------------------
  229|  1.17M|        {
  230|   141k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (230:13): [True: 141k, False: 1.03M]
  ------------------
  231|   141k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  232|   141k|                break;
  233|  1.03M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (233:13): [True: 1.03M, False: 142k]
  ------------------
  234|  1.03M|                item_stack_.emplace_back(key_type(alloc_), 0, sv, tag);
  235|  1.03M|                break;
  236|    774|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (236:13): [True: 774, False: 1.17M]
  ------------------
  237|    774|                result_ = Json(sv, tag, alloc_);
  238|    774|                is_valid_ = true;
  239|    774|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|    774|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  240|  1.17M|        }
  241|  1.17M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.17M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  242|  1.17M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  248|  21.7k|    {
  249|  21.7k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (249:17): [True: 21.7k, False: 0]
  ------------------
  250|  21.7k|        {
  251|  3.94k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (251:13): [True: 3.94k, False: 17.7k]
  ------------------
  252|  3.94k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, tag);
  253|  3.94k|                break;
  254|  17.7k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (254:13): [True: 17.7k, False: 3.94k]
  ------------------
  255|  17.7k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, tag);
  256|  17.7k|                break;
  257|      2|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (257:13): [True: 2, False: 21.7k]
  ------------------
  258|      2|                result_ = Json(byte_string_arg, b, tag, alloc_);
  259|      2|                is_valid_ = true;
  260|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  261|  21.7k|        }
  262|  21.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  21.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  263|  21.7k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  269|  79.0k|    {
  270|  79.0k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (270:17): [True: 79.0k, False: 0]
  ------------------
  271|  79.0k|        {
  272|  27.4k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (272:13): [True: 27.4k, False: 51.5k]
  ------------------
  273|  27.4k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, raw_tag);
  274|  27.4k|                break;
  275|  51.5k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (275:13): [True: 51.5k, False: 27.4k]
  ------------------
  276|  51.5k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, raw_tag);
  277|  51.5k|                break;
  278|      3|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (278:13): [True: 3, False: 79.0k]
  ------------------
  279|      3|                result_ = Json(byte_string_arg, b, raw_tag, alloc_);
  280|      3|                is_valid_ = true;
  281|      3|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|      3|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  282|  79.0k|        }
  283|  79.0k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  79.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|  79.0k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|  2.37k|    {
  109|  2.37k|        return is_valid_;
  110|  2.37k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|  2.37k|    {
  114|  2.37k|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   67|  2.37k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 2.37k]
  |  |  ------------------
  |  |   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|  2.37k|        is_valid_ = false;
  116|  2.37k|        return std::move(result_);
  117|  2.37k|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  7.04k|{
 1065|  7.04k|    return json_visitor_adaptor<From, To>(to);
 1066|  7.04k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  7.04k|        : supertype(visitor)
  984|  7.04k|    {
  985|  7.04k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  7.04k|        : destination1_(std::addressof(visitor))
  722|  7.04k|    {
  723|  7.04k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  777|   350k|    {
  778|   350k|        destination1_->begin_array(length, tag, context, ec);
  779|   350k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   350k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|   350k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|   334k|    {
  784|   334k|        destination1_->end_array(context, ec);
  785|   334k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   334k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|   334k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  10.9M|    {
  826|  10.9M|        destination1_->uint64_value(value, tag, context, ec);
  827|  10.9M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  10.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  10.9M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  9.02M|    {
  820|  9.02M|        destination1_->int64_value(value, tag, context, ec);
  821|  9.02M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  9.02M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  9.02M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  16.9k|    {
  814|  16.9k|        destination1_->double_value(value, tag, context, ec);
  815|  16.9k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  16.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  16.9k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|  2.37k|    {
  739|  2.37k|        destination1_->flush();
  740|  2.37k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|  1.52M|    {
  755|  1.52M|        destination1_->begin_object(length, tag, context, ec);
  756|  1.52M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.52M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  1.52M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  1.52M|    {
  761|  1.52M|        destination1_->end_object(context, ec);
  762|  1.52M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.52M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  1.52M|    }
_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|  2.92M|    {
  996|  2.92M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  2.92M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  4.09M|    {
  733|  4.09M|        return *destination1_;
  734|  4.09M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  2.24M|    {
  838|  2.24M|        destination1_->null_value(tag, context, ec);
  839|  2.24M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  2.24M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  2.24M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|   424k|    {
  832|   424k|        destination1_->bool_value(value, tag, context, ec);
  833|   424k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   424k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|   424k|    }
_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|  1.17M|    {
 1004|  1.17M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  1.17M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  792|  21.7k|    {
  793|  21.7k|        destination1_->byte_string_value(b, tag, context, ec);
  794|  21.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  21.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  795|  21.7k|    }
_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|  79.0k|    {
  802|  79.0k|        destination1_->byte_string_value(b, raw_tag, context, ec);
  803|  79.0k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  79.0k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|  79.0k|    }

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  21.1k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  28.1k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|   350k|        {
  561|   350k|            visit_begin_array(tag, context, ec);
  562|   350k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   350k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|   350k|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  1.52M|        {
  545|  1.52M|            visit_begin_object(tag, context, ec);
  546|  1.52M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  1.52M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  1.52M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|   701k|        {
  346|   701k|            visit_begin_array(length, tag, context, ec);
  347|   701k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   701k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|   701k|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  21.8M|        {
  415|  21.8M|            visit_uint64(value, tag, context, ec);
  416|  21.8M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  21.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  21.8M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|   668k|        {
  352|   668k|            visit_end_array(context, ec);
  353|   668k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   668k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|   668k|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  18.0M|        {
  424|  18.0M|            visit_int64(value, tag, context, ec);
  425|  18.0M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  18.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  18.0M|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  33.8k|        {
  442|  33.8k|            visit_double(value, tag, context, ec);
  443|  33.8k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  33.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  33.8k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|  4.74k|        {
  109|  4.74k|            visit_flush();
  110|  4.74k|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  3.05M|        {
  328|  3.05M|            visit_begin_object(length, tag, context, ec);
  329|  3.05M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  3.05M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  3.05M|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  3.04M|        {
  334|  3.04M|            visit_end_object(context, ec);
  335|  3.04M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  3.04M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  3.04M|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  5.84M|        {
  358|  5.84M|            visit_key(name, context, ec);
  359|  5.84M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  5.84M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  5.84M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  4.49M|        {
  366|  4.49M|            visit_null(tag, context, ec);
  367|  4.49M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  4.49M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  4.49M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|   849k|        {
  375|   849k|            visit_bool(value, tag, context, ec);
  376|   849k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   849k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|   849k|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  2.35M|        {
  384|  2.35M|            visit_string(value, tag, context, ec);
  385|  2.35M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  2.35M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  2.35M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  394|  43.4k|        {
  395|  43.4k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  396|  43.4k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|  43.4k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  397|  43.4k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|   158k|        {
  406|   158k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|   158k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  337|   158k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|   158k|        }
_ZN8jsoncons26basic_default_json_visitorIcEC2Ev:
  811|  7.04k|        basic_default_json_visitor() = default;

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|   344k|    {
  121|   344k|        return value_;
  122|   344k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  13.6M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  10.9M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  10.9M|    {
   45|  10.9M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  49.6M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  9.02M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  9.02M|    {
   45|  9.02M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  16.9k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  16.9k|    {
   45|  16.9k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.52M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.52M|    {
   45|  1.52M|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|   181k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|   181k|    {
   88|   181k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   350k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   350k|    {
   45|   350k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.24M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.24M|    {
   45|  2.24M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   424k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   424k|    {
   45|   424k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  1.17M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.17M|    {
   45|  1.17M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  21.7k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  21.7k|    {
   45|  21.7k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  79.0k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  79.0k|    {
   45|  79.0k|    }

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

_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2EPS2_m:
  102|   308k|        : data_(data), size_(size)
  103|   308k|    {
  104|   308k|    }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4dataEv:
  154|  9.24M|    {
  155|  9.24M|        return data_;
  156|  9.24M|    }
_ZNK8jsoncons6nonstd4spanIKhLm18446744073709551615EE4sizeEv:
  159|  13.9M|    {
  160|  13.9M|        return size_;
  161|  13.9M|    }
_ZN8jsoncons6nonstd4spanIKhLm18446744073709551615EEC2Ev:
   99|  4.50M|    {
  100|  4.50M|    }

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

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  35.2k|        {
  159|  35.2k|            return data_.empty();
  160|  35.2k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  58.0k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  58.0k|        {
  169|  58.0k|            return data_.begin();
  170|  58.0k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  58.0k|        {
  174|  58.0k|            return data_.end();
  175|  58.0k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  1.52M|        {
  154|  1.52M|            flatten_and_destroy();
  155|  1.52M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  732|  1.52M|        {
  733|  1.52M|            if (!data_.empty())
  ------------------
  |  Branch (733:17): [True: 27.1k, False: 1.50M]
  ------------------
  734|  27.1k|            {
  735|  27.1k|                json_array<Json> temp(get_allocator());
  736|       |
  737|  27.1k|                for (auto& kv : data_)
  ------------------
  |  Branch (737:31): [True: 78.2k, False: 27.1k]
  ------------------
  738|  78.2k|                {
  739|  78.2k|                    switch (kv.value().storage_kind())
  740|  78.2k|                    {
  741|  6.38k|                        case json_storage_kind::array:
  ------------------
  |  Branch (741:25): [True: 6.38k, False: 71.8k]
  ------------------
  742|  15.3k|                        case json_storage_kind::object:
  ------------------
  |  Branch (742:25): [True: 8.97k, False: 69.2k]
  ------------------
  743|  15.3k|                            if (!kv.value().empty())
  ------------------
  |  Branch (743:33): [True: 8.30k, False: 7.06k]
  ------------------
  744|  8.30k|                            {
  745|  8.30k|                                temp.emplace_back(std::move(kv.value()));
  746|  8.30k|                            }
  747|  15.3k|                            break;
  748|  62.8k|                        default:
  ------------------
  |  Branch (748:25): [True: 62.8k, False: 15.3k]
  ------------------
  749|  62.8k|                            break;
  750|  78.2k|                    }
  751|  78.2k|                }
  752|  27.1k|            }
  753|  1.52M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  1.52M|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  61.5k|        {
  278|  61.5k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 61.5k, False: 0]
  ------------------
  279|  61.5k|            {
  280|  61.5k|                data_.reserve(count);
  281|       |
  282|  61.5k|                std::sort(items, items+count, compare);
  283|  61.5k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  2.41M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 2.35M, False: 61.5k]
  ------------------
  286|  2.35M|                {
  287|  2.35M|                    auto& item = items[i];
  288|  2.35M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 119k, False: 2.23M]
  ------------------
  289|   119k|                    {
  290|   119k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|   119k|                    }
  292|  2.35M|                }
  293|  61.5k|            }
  294|  61.5k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|  42.5M|        {
  269|  42.5M|            int comp = item1.name.compare(item2.name); 
  270|  42.5M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 1.49M, False: 41.0M]
  ------------------
  271|  41.0M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 39.9M, False: 1.15M]
  ------------------
  272|       |
  273|  1.15M|            return false;
  274|  41.0M|        }

_ZN8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEEC2ERKS4_S7_m:
  633|  7.04k|        : current_(first), end_(last), chunk_(chunk_size)
  634|  7.04k|    {
  635|  7.04k|    }
_ZN8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEEC2EOS5_:
  630|  7.04k|    iterator_source(iterator_source&& other) = default;
_ZNK8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE8positionEv:
  653|  4.67k|    {
  654|  4.67k|        return position_;
  655|  4.67k|    }
_ZN8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEED2Ev:
  637|  14.0k|    ~iterator_source() = default;
_ZNK8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE8is_errorEv:
  648|  63.6M|    {
  649|  63.6M|        return false;  
  650|  63.6M|    }
_ZN8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE4readES3_m:
  730|  64.3M|    {
  731|  64.3M|        std::size_t len = fill_buffer(data, length);
  732|       |
  733|  64.3M|        position_ += len;
  734|       |
  735|  64.3M|        return len;
  736|  64.3M|    }
_ZN8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE11fill_bufferES3_m:
  690|  64.5M|    {
  691|  64.5M|        value_type* p = chunk;
  692|  64.5M|        value_type* pend = chunk + chunk_size;
  693|       |
  694|   151M|        while (p < pend && current_ != end_)
  ------------------
  |  Branch (694:16): [True: 86.7M, False: 64.5M]
  |  Branch (694:28): [True: 86.6M, False: 4.30k]
  ------------------
  695|  86.6M|        {
  696|  86.6M|            *p = static_cast<value_type>(*current_);
  697|  86.6M|            ++p;
  698|  86.6M|            ++current_;
  699|  86.6M|        }
  700|       |
  701|  64.5M|        return p - chunk;
  702|  64.5M|    }
_ZN8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE9read_spanIRNS1_6vectorIhNS1_9allocatorIhEEEEEENS_6nonstd4spanIKhLm18446744073709551615EEEmOT_:
  711|  4.71M|    {
  712|  4.71M|        if (JSONCONS_UNLIKELY(length == 0))
  ------------------
  |  |   79|  4.71M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4.50M, False: 207k]
  |  |  ------------------
  ------------------
  713|  4.50M|        {
  714|  4.50M|            return span<const value_type>{};
  715|  4.50M|        }
  716|       |
  717|   207k|        if (length <= chunk_.size())
  ------------------
  |  Branch (717:13): [True: 207k, False: 586]
  ------------------
  718|   207k|        {
  719|   207k|            auto len = fill_buffer(chunk_.data(), length);
  720|   207k|            position_ += len;
  721|   207k|            return span<const value_type>(chunk_.data(), len);
  722|   207k|        }
  723|       |
  724|    586|        buffer.clear();
  725|    586|        source_reader<iterator_source<IteratorT>>::read(*this, buffer, length);
  726|    586|        return span<const value_type>(reinterpret_cast<const value_type*>(buffer.data()), buffer.size());
  727|   207k|    }
_ZN8jsoncons13source_readerINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEEE4readINS2_6vectorIhNS2_9allocatorIhEEEEEENS2_9enable_ifIXaaL_ZNS2_17integral_constantIbLb1EE5valueEEsr10ext_traits7is_byteINT_10value_typeEEE5valueEmE4typeERS6_RSG_m:
  749|    586|    {
  750|    586|        std::size_t unread = length;
  751|       |
  752|  2.24k|        while (unread > 0 && !source.eof())
  ------------------
  |  Branch (752:16): [True: 1.94k, False: 295]
  |  Branch (752:30): [True: 1.65k, False: 291]
  ------------------
  753|  1.65k|        {
  754|  1.65k|            if (source.remaining() == 0 && unread >= source.chunk_size())
  ------------------
  |  Branch (754:17): [True: 1.65k, False: 0]
  |  Branch (754:44): [True: 1.31k, False: 341]
  ------------------
  755|  1.31k|            {
  756|  1.31k|                std::size_t n = source.chunk_size();
  757|  1.31k|                std::size_t offset = buffer.size();
  758|  1.31k|                buffer.resize(offset+n);
  759|  1.31k|                std::size_t actual = source.read_buffer(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  760|  1.31k|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|  1.31k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 131, False: 1.18k]
  |  |  ------------------
  ------------------
  761|    131|                {
  762|    131|                    buffer.resize(offset+actual);
  763|    131|                }
  764|  1.31k|                unread -= actual;
  765|  1.31k|            }
  766|    341|            else
  767|    341|            {
  768|    341|                std::size_t n = (std::min)(source.chunk_size(), unread);
  769|    341|                std::size_t offset = buffer.size();
  770|    341|                buffer.resize(offset+n);
  771|    341|                std::size_t actual = source.read(reinterpret_cast<value_type*>(&buffer[0]) + offset, n);
  772|    341|                if (JSONCONS_UNLIKELY(actual != n))
  ------------------
  |  |   79|    341|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 56, False: 285]
  |  |  ------------------
  ------------------
  773|     56|                {
  774|     56|                    buffer.resize(offset + actual);
  775|     56|                }
  776|    341|                unread -= actual;
  777|    341|            }
  778|  1.65k|        }
  779|    586|        return length - unread;
  780|    586|    }
_ZNK8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE3eofEv:
  643|  1.94k|    {
  644|  1.94k|        return !(current_ != end_);  
  645|  1.94k|    }
_ZNK8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE9remainingEv:
  705|  1.65k|    {
  706|  1.65k|        return 0;
  707|  1.65k|    }
_ZNK8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE10chunk_sizeEv:
  672|  3.31k|    {
  673|  3.31k|        return chunk_.size();
  674|  3.31k|    }
_ZN8jsoncons15iterator_sourceINSt3__111__wrap_iterIPhEEE11read_bufferES3_m:
  683|  1.31k|    {
  684|  1.31k|        auto len = fill_buffer(chunk, chunk_size);
  685|  1.31k|        position_ += len;
  686|  1.31k|        return len;
  687|  1.31k|    }

_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ImEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  688|   177k|        : storage_(n, alloc)
  689|   177k|    {
  690|   177k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ImEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  373|   177k|        : word_allocator_type(alloc)
  374|   177k|    {
  375|   177k|        ::new (&inlined_) inlined_storage(n);
  376|   177k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ImEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  151|   177k|            : is_allocated_(false),
  152|   177k|            is_negative_(false),
  153|   177k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (153:19): [True: 60.2k, False: 117k]
  ------------------
  154|   177k|        {
  155|   177k|            values_[0] = n;
  156|   177k|            values_[1] = 0;
  157|   177k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLImEENS1_9enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueERS4_E4typeES7_:
 1043|  59.5k|    {
 1044|  59.5k|        auto words = get_words();
 1045|  59.5k|        size_type len = words.size();
 1046|  59.5k|        if (len == 0 || m == 0)
  ------------------
  |  Branch (1046:13): [True: 1.64k, False: 57.8k]
  |  Branch (1046:25): [True: 0, False: 57.8k]
  ------------------
 1047|  1.64k|        {
 1048|  1.64k|            resize(0);
 1049|  1.64k|            return *this;
 1050|  1.64k|        }
 1051|       |
 1052|  57.8k|        dword_type carry = 0;
 1053|  57.8k|        size_t i = 0;
 1054|   115k|        for (; i < len; ++i) {
  ------------------
  |  Branch (1054:16): [True: 57.8k, False: 57.8k]
  ------------------
 1055|  57.8k|            dword_type x = dword_type(words[i]) * m + carry;
 1056|  57.8k|            words[i] = static_cast<word_type>(x);
 1057|  57.8k|            carry = x >> 64;
 1058|  57.8k|        }
 1059|       |
 1060|  57.8k|        if (carry)
  ------------------
  |  Branch (1060:13): [True: 16.6k, False: 41.2k]
  ------------------
 1061|  16.6k|        {
 1062|  16.6k|            resize(len+1);
 1063|  16.6k|            words = get_words();
 1064|  16.6k|            words[i] = static_cast<word_type>(carry);
 1065|  16.6k|        }
 1066|       |
 1067|       |        /*
 1068|       |        word_type dig = words[0];
 1069|       |        word_type carry = 0;
 1070|       |
 1071|       |        resize(words.size() + 1);
 1072|       |        words = get_words();
 1073|       |
 1074|       |        size_type i = 0;
 1075|       |        for (; i < len; i++ )
 1076|       |        {
 1077|       |            word_type hi;
 1078|       |            word_type lo;
 1079|       |            DDproduct( dig, y, hi, lo );
 1080|       |            words[i] = lo + carry;
 1081|       |            dig = words[i+1];
 1082|       |            carry = hi + (words[i] < lo);
 1083|       |        }
 1084|       |        words[i] = carry;
 1085|       |        reduce(); 
 1086|       |        */ 
 1087|  57.8k|        return *this;
 1088|  59.5k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE9get_wordsEv:
  713|   701k|    {
  714|   701k|        return storage_.get_words();
  715|   701k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE9get_wordsEv:
  533|   984k|    {
  534|   984k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (534:16): [True: 216k, False: 767k]
  ------------------
  535|   216k|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  536|   984k|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  537|   984k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   67|   984k|            : data_(data), size_(size)
   68|   984k|        {
   69|   984k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   97|  1.83M|        {
   98|  1.83M|            return size_;
   99|  1.83M|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  863|  94.8k|    {
  864|  94.8k|        storage_.resize(new_length);
  865|  94.8k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  547|   249k|    {
  548|   249k|        size_type old_length = common_.size_;
  549|   249k|        reserve(new_length);
  550|   249k|        common_.size_ = new_length;
  551|       |
  552|   249k|        if (old_length < new_length)
  ------------------
  |  Branch (552:13): [True: 135k, False: 114k]
  ------------------
  553|   135k|        {
  554|   135k|            if (is_allocated())
  ------------------
  |  Branch (554:17): [True: 16.6k, False: 118k]
  ------------------
  555|  16.6k|            {
  556|  16.6k|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  557|  16.6k|            }
  558|   118k|            else
  559|   118k|            {
  560|   118k|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   67|   118k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 118k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  561|   297k|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (561:48): [True: 179k, False: 118k]
  ------------------
  562|   179k|                {
  563|   179k|                    inlined_.values_[i] = 0;
  564|   179k|                }
  565|   118k|            }
  566|   135k|        }
  567|   249k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  465|   249k|    {
  466|   249k|       if (capacity() < n)
  ------------------
  |  Branch (466:12): [True: 16.6k, False: 232k]
  ------------------
  467|  16.6k|       {
  468|  16.6k|           if (!is_allocated())
  ------------------
  |  Branch (468:16): [True: 16.6k, False: 0]
  ------------------
  469|  16.6k|           {
  470|  16.6k|               size_type size = inlined_.size_;
  471|  16.6k|               size_type is_neg = inlined_.is_negative_;
  472|  16.6k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  473|       |
  474|  16.6k|               ::new (&allocated_) allocated_storage();
  475|  16.6k|               allocated_.reserve(n, get_allocator());
  476|  16.6k|               allocated_.size_ = size;
  477|  16.6k|               allocated_.is_negative_ = is_neg;
  478|  16.6k|               if (n >= 1)
  ------------------
  |  Branch (478:20): [True: 16.6k, False: 0]
  ------------------
  479|  16.6k|               {
  480|  16.6k|                   allocated_.data_[0] = values[0];
  481|  16.6k|               }
  482|  16.6k|               if (n >= 2)
  ------------------
  |  Branch (482:20): [True: 16.6k, False: 0]
  ------------------
  483|  16.6k|               {
  484|  16.6k|                   allocated_.data_[1] = values[1];
  485|  16.6k|               }
  486|  16.6k|           }
  487|      0|           else
  488|      0|           {
  489|      0|               allocated_.reserve(n, get_allocator());
  490|      0|           }
  491|  16.6k|       }
  492|   249k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  518|   249k|    {
  519|   249k|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (519:16): [True: 33.2k, False: 216k]
  ------------------
  520|   249k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  216|  16.6k|            : is_allocated_(true),
  217|  16.6k|            is_negative_(false)
  218|  16.6k|        {
  219|  16.6k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  268|  16.6k|        {
  269|  16.6k|            JSONCONS_ASSERT(n < max_size);
  ------------------
  |  |   67|  16.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 16.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 ))); }
  ------------------
  270|  16.6k|            size_type capacity_new = round_up(n);
  271|       |
  272|  16.6k|            real_allocator_type alloc(a);
  273|  16.6k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  274|  16.6k|            if (size_ > 0)
  ------------------
  |  Branch (274:17): [True: 0, False: 16.6k]
  ------------------
  275|      0|            {
  276|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  277|      0|            }
  278|  16.6k|            if (data_ != nullptr)
  ------------------
  |  Branch (278:17): [True: 0, False: 16.6k]
  ------------------
  279|      0|            {
  280|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  281|      0|            }
  282|  16.6k|            capacity_ = capacity_new;
  283|  16.6k|            data_ = data_new;
  284|  16.6k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  288|  16.6k|        {
  289|  16.6k|            size_type remainder = i % mem_unit;
  290|  16.6k|            size_type off = mem_unit - remainder;
  291|  16.6k|            bool testoff = i < max_size - off;
  292|  16.6k|            JSONCONS_ASSERT(testoff);
  ------------------
  |  |   67|  16.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 16.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 ))); }
  ------------------
  293|       |
  294|  16.6k|            return i + off;
  295|  16.6k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  495|   508k|    {
  496|   508k|        return static_cast<const word_allocator_type&>(*this);
  497|   508k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  513|  1.23M|    {
  514|  1.23M|        return common_.is_allocated_;
  515|  1.23M|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   72|   590k|        {
   73|   590k|            return data_[i];
   74|   590k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLImEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  934|  39.5k|    {
  935|  39.5k|        if ( is_negative())
  ------------------
  |  Branch (935:14): [True: 0, False: 39.5k]
  ------------------
  936|      0|            return *this -= -basic_bigint<Allocator>(y);
  937|       |
  938|  39.5k|        word_type d;
  939|  39.5k|        word_type carry = 0;
  940|       |
  941|  39.5k|        auto words = get_words();
  942|  39.5k|        resize(words.size() + 1);
  943|       |
  944|  39.5k|        words = get_words();
  945|  39.5k|        const size_type this_size = words.size();
  946|  39.5k|        size_type y_size = 1;
  947|       |
  948|  39.5k|        d = words[0] + carry;
  949|  39.5k|        carry = d < carry;
  950|  39.5k|        words[0] = d + y;
  951|  39.5k|        if (words[0] < d)
  ------------------
  |  Branch (951:13): [True: 0, False: 39.5k]
  ------------------
  952|      0|            carry = 1;
  953|       |
  954|  39.5k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (954:36): [True: 38.4k, False: 1.06k]
  |  Branch (954:53): [True: 0, False: 38.4k]
  ------------------
  955|      0|        {
  956|      0|            d = words[i] + carry;
  957|      0|            carry = d < carry;
  958|      0|            words[i] = d;
  959|      0|        }
  960|  39.5k|        reduce();
  961|  39.5k|        return *this;
  962|  39.5k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  723|   742k|    {
  724|   742k|        return storage_.is_negative();
  725|   742k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  523|   742k|    {
  524|   742k|        return common_.is_negative_;
  525|   742k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  880|  10.1k|    {
  881|  10.1k|        basic_bigint<Allocator> v(*this);
  882|  10.1k|        v.set_negative(!v.is_negative());
  883|  10.1k|        return v;
  884|  10.1k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  666|  68.7k|        : storage_(other.storage_)
  667|  68.7k|    {
  668|  68.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  312|  68.7k|        : word_allocator_type(other.get_allocator())
  313|  68.7k|    {
  314|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  315|       |# pragma GCC diagnostic push
  316|       |# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
  317|       |#endif
  318|  68.7k|        if (!other.is_allocated())
  ------------------
  |  Branch (318:13): [True: 52.0k, False: 16.6k]
  ------------------
  319|  52.0k|        {
  320|  52.0k|            ::new (&inlined_) inlined_storage(other.inlined_);
  321|  52.0k|        }
  322|  16.6k|        else
  323|  16.6k|        {
  324|  16.6k|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  325|  16.6k|        }
  326|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  327|       |# pragma GCC diagnostic pop
  328|       |#endif
  329|  68.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  191|   207k|            : is_allocated_(false),
  192|   207k|            is_negative_(stor.is_negative_),
  193|   207k|            size_(stor.size_)
  194|   207k|        {
  195|   207k|            values_[0] = stor.values_[0];
  196|   207k|            values_[1] = stor.values_[1];
  197|   207k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  222|  66.5k|            : is_allocated_(true),
  223|  66.5k|              is_negative_(stor.is_negative_),
  224|  66.5k|              size_(stor.size_),
  225|  66.5k|              capacity_(stor.capacity_)
  226|  66.5k|        {
  227|  66.5k|            real_allocator_type alloc(a);
  228|       |
  229|  66.5k|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  230|  66.5k|            JSONCONS_TRY
  ------------------
  |  |   37|  66.5k|    #define JSONCONS_TRY try
  ------------------
  231|  66.5k|            {
  232|  66.5k|                std::allocator_traits<real_allocator_type>::construct(alloc, ext_traits::to_plain_pointer(data_));
  233|  66.5k|            }
  234|  66.5k|            JSONCONS_CATCH(...)
  235|  66.5k|            {
  236|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  237|      0|                data_ = nullptr;
  238|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  239|      0|            }
  240|  66.5k|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   67|  66.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 66.5k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  241|  66.5k|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  242|  66.5k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  744|   353k|    {
  745|   353k|        storage_.set_negative(value);
  746|   353k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  528|   353k|    {
  529|   353k|        common_.is_negative_ = value;
  530|   353k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 2071|   127k|    {
 2072|   127k|        storage_.reduce();
 2073|   127k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  442|   127k|    {
  443|   127k|        if (common_.size_ > 0)
  ------------------
  |  Branch (443:13): [True: 127k, False: 0]
  ------------------
  444|   127k|        {
  445|   127k|            auto words = get_words();
  446|   127k|            word_type* p = words.end() - 1;
  447|   127k|            word_type* first = words.begin();
  448|   203k|            while ( p >= first )
  ------------------
  |  Branch (448:21): [True: 202k, False: 1.27k]
  ------------------
  449|   202k|            {
  450|   202k|                if ( *p )
  ------------------
  |  Branch (450:22): [True: 126k, False: 75.8k]
  ------------------
  451|   126k|                {
  452|   126k|                    break;
  453|   126k|                }
  454|  75.8k|                --common_.size_;
  455|  75.8k|                --p;
  456|  75.8k|            }
  457|   127k|        }
  458|   127k|        if (common_.size_ == 0)
  ------------------
  |  Branch (458:13): [True: 1.27k, False: 126k]
  ------------------
  459|  1.27k|        {
  460|  1.27k|            common_.is_negative_ = false;
  461|  1.27k|        }
  462|   127k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
  106|   127k|        {
  107|   127k|            return data_ + size_;
  108|   127k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
  101|   127k|        {
  102|   127k|            return data_;
  103|   127k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16append_to_stringIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1427|  59.5k|    {
 1428|  59.5k|        if (is_zero())
  ------------------
  |  Branch (1428:13): [True: 936, False: 58.6k]
  ------------------
 1429|    936|        {
 1430|    936|            buf.push_back('0');
 1431|    936|            return;
 1432|    936|        }
 1433|  58.6k|        if (is_negative())
  ------------------
  |  Branch (1433:13): [True: 10.1k, False: 48.4k]
  ------------------
 1434|  10.1k|        {
 1435|  10.1k|            buf.push_back('-');
 1436|  10.1k|        }
 1437|  58.6k|        std::size_t pos = buf.size();
 1438|  58.6k|        basic_bigint<Allocator> v(*this);
 1439|  58.6k|        auto v_words = v.get_words();
 1440|       |
 1441|  58.6k|        size_type len = (v_words.size() * word_bits / 3) + 2;
 1442|  58.6k|        buf.reserve(len);
 1443|       |
 1444|  58.6k|        if ( v_words.size() == 0 )
  ------------------
  |  Branch (1444:14): [True: 0, False: 58.6k]
  ------------------
 1445|      0|        {
 1446|      0|            buf.push_back('0');
 1447|      0|        }
 1448|  58.6k|        else
 1449|  58.6k|        {
 1450|  58.6k|            word_type r;
 1451|  58.6k|            basic_bigint<Allocator> R(get_allocator());
 1452|  58.6k|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1453|       |
 1454|  58.6k|            do
 1455|  85.8k|            {
 1456|  85.8k|                v.divide( LP10, v, R, true );
 1457|  85.8k|                v_words = v.get_words();
 1458|       |
 1459|  85.8k|                auto R_words = R.get_words();
 1460|  85.8k|                r = (R_words.size() ? R_words[0] : 0);
  ------------------
  |  Branch (1460:22): [True: 85.0k, False: 870]
  ------------------
 1461|  1.14M|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1461:38): [True: 1.12M, False: 27.2k]
  ------------------
 1462|  1.12M|                {
 1463|  1.12M|                    buf.push_back(char(r % 10u + '0'));
 1464|  1.12M|                    r /= 10u;
 1465|  1.12M|                    if ( r + v_words.size() == 0 )
  ------------------
  |  Branch (1465:26): [True: 58.6k, False: 1.06M]
  ------------------
 1466|  58.6k|                        break;
 1467|  1.12M|                }
 1468|  85.8k|            } 
 1469|  85.8k|            while ( v_words.size() > 0);
  ------------------
  |  Branch (1469:21): [True: 27.2k, False: 58.6k]
  ------------------
 1470|       |
 1471|  58.6k|            std::reverse(buf.begin()+pos,buf.end());
 1472|  58.6k|        }
 1473|  58.6k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7is_zeroEv:
 2192|  59.5k|    bool is_zero() const {
 2193|  59.5k|        return get_words().size() == 0;
 2194|  59.5k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9get_wordsEv:
  718|   318k|    {
  719|   318k|        return storage_.get_words();
  720|   318k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE9get_wordsEv:
  540|   473k|    {
  541|   473k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (541:16): [True: 99.8k, False: 373k]
  ------------------
  542|  99.8k|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  543|   473k|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  544|   473k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   67|   473k|            : data_(data), size_(size)
   68|   473k|        {
   69|   473k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   97|   955k|        {
   98|   955k|            return size_;
   99|   955k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  708|   322k|    {
  709|   322k|        return storage_.get_allocator();
  710|   322k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  633|  58.6k|        : storage_(alloc)
  634|  58.6k|    {
  635|  58.6k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  306|  58.6k|        : word_allocator_type(alloc)
  307|  58.6k|    {
  308|  58.6k|        ::new (&inlined_) inlined_storage();
  309|  58.6k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  126|  58.6k|            : is_allocated_(false),
  127|  58.6k|            is_negative_(false),
  128|  58.6k|            size_(0),
  129|  58.6k|            values_{0, 0}
  130|  58.6k|        {
  131|  58.6k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1828|  85.8k|    {
 1829|  85.8k|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1830|  85.8k|        auto denom_words = denom.get_words();
 1831|       |
 1832|  85.8k|        if (denom_words.size() == 0)
  ------------------
  |  Branch (1832:13): [True: 0, False: 85.8k]
  ------------------
 1833|      0|        {
 1834|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1835|      0|        }
 1836|  85.8k|        bool quot_neg = is_negative() ^ denom.is_negative();
 1837|  85.8k|        bool rem_neg = is_negative();
 1838|  85.8k|        basic_bigint<Allocator> num(*this, get_allocator());
 1839|  85.8k|        num.set_negative(false);
 1840|  85.8k|        denom.set_negative(false);
 1841|  85.8k|        if ( num < denom )
  ------------------
  |  Branch (1841:14): [True: 58.6k, False: 27.2k]
  ------------------
 1842|  58.6k|        {
 1843|  58.6k|            quot = word_type(0);
 1844|  58.6k|            quot.set_negative(quot_neg);
 1845|  58.6k|            rem = num;
 1846|  58.6k|            rem.set_negative(rem_neg);
 1847|  58.6k|            return;
 1848|  58.6k|        }
 1849|       |
 1850|  27.2k|        auto num_words = num.get_words();
 1851|  27.2k|        auto quot_words = quot.get_words();
 1852|  27.2k|        auto words = get_words();
 1853|       |
 1854|  27.2k|        if ( denom_words.size() == 1 && num_words.size() == 1 )
  ------------------
  |  Branch (1854:14): [True: 27.2k, False: 0]
  |  Branch (1854:41): [True: 10.2k, False: 16.9k]
  ------------------
 1855|  10.2k|        {
 1856|  10.2k|            quot = word_type( num_words[0]/denom_words[0] );
 1857|  10.2k|            rem = word_type( num_words[0]%denom_words[0] );
 1858|  10.2k|            quot.set_negative(quot_neg);
 1859|  10.2k|            rem.set_negative(rem_neg);
 1860|  10.2k|            return;
 1861|  10.2k|        }
 1862|  16.9k|        if (denom_words.size() == 1 && (denom_words[0] & l_mask) == 0 )
  ------------------
  |  Branch (1862:13): [True: 16.9k, False: 0]
  |  Branch (1862:40): [True: 0, False: 16.9k]
  ------------------
 1863|      0|        {
 1864|       |            // Denominator fits into a half word
 1865|      0|            word_type divisor = denom_words[0], dHi = 0, q1, r, q2, dividend;
 1866|      0|            quot.resize(words.size());
 1867|      0|            quot_words = quot.get_words();
 1868|      0|            for (size_type i=words.size(); i-- > 0; )
  ------------------
  |  Branch (1868:44): [True: 0, False: 0]
  ------------------
 1869|      0|            {
 1870|      0|                dividend = (dHi << word_half_bits) | (words[i] >> word_half_bits);
 1871|      0|                q1 = dividend/divisor;
 1872|      0|                r = dividend % divisor;
 1873|      0|                dividend = (r << word_half_bits) | (words[i] & r_mask);
 1874|      0|                q2 = dividend/divisor;
 1875|      0|                dHi = dividend % divisor;
 1876|      0|                quot_words[i] = (q1 << word_half_bits) | q2;
 1877|      0|            }
 1878|      0|            quot.reduce();
 1879|      0|            rem = dHi;
 1880|      0|            quot.set_negative(quot_neg);
 1881|      0|            rem.set_negative(rem_neg);
 1882|      0|            return;
 1883|      0|        }
 1884|  16.9k|        basic_bigint<Allocator> num0(num, get_allocator());
 1885|  16.9k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1886|  16.9k|        int x = 0;
 1887|  16.9k|        bool second_done = normalize(denom, num, x);
 1888|  16.9k|        denom_words = denom.get_words();
 1889|  16.9k|        num_words = num.get_words();
 1890|       |
 1891|  16.9k|        size_type l = denom_words.size() - 1;
 1892|  16.9k|        size_type n = num_words.size() - 1;
 1893|  16.9k|        quot.resize(n - l);
 1894|  16.9k|        quot_words = quot.get_words();
 1895|  33.9k|        for (size_type i = quot_words.size(); i-- > 0; )
  ------------------
  |  Branch (1895:47): [True: 16.9k, False: 16.9k]
  ------------------
 1896|  16.9k|        {
 1897|  16.9k|            quot_words[i] = 0;
 1898|  16.9k|        }
 1899|  16.9k|        rem = num;
 1900|  16.9k|        auto rem_words = rem.get_words();
 1901|  16.9k|        if ( rem_words[n] >= denom_words[l] )
  ------------------
  |  Branch (1901:14): [True: 0, False: 16.9k]
  ------------------
 1902|      0|        {
 1903|      0|            rem.resize(rem_words.size() + 1);
 1904|      0|            rem_words = rem.get_words();
 1905|      0|            n++;
 1906|      0|            quot.resize(quot_words.size() + 1);
 1907|      0|            quot_words = quot.get_words();
 1908|      0|        }
 1909|  16.9k|        word_type d = denom_words[l];
 1910|       |
 1911|  33.9k|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1911:32): [True: 16.9k, False: 16.9k]
  ------------------
 1912|  16.9k|        {
 1913|  16.9k|            word_type q = DDquotient(rem_words[k], rem_words[k-1], d);
 1914|  16.9k|            subtractmul( rem_words.data() + (k - l - 1), denom_words.data(), l + 1, q );
 1915|  16.9k|            quot_words[k - l - 1] = q;
 1916|  16.9k|        }
 1917|  16.9k|        quot.reduce();
 1918|  16.9k|        quot.set_negative(quot_neg);
 1919|  16.9k|        if (remDesired)
  ------------------
  |  Branch (1919:13): [True: 16.9k, False: 0]
  ------------------
 1920|  16.9k|        {
 1921|  16.9k|            unnormalize(rem, x, second_done);
 1922|  16.9k|            rem.set_negative(rem_neg);
 1923|  16.9k|        }
 1924|  16.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  671|   205k|        : storage_(other.storage_, alloc)
  672|   205k|    {
  673|   205k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  332|   205k|        : word_allocator_type(alloc)
  333|   205k|    {
  334|   205k|        if (!other.is_allocated())
  ------------------
  |  Branch (334:13): [True: 155k, False: 49.9k]
  ------------------
  335|   155k|        {
  336|   155k|            ::new (&inlined_) inlined_storage(other.inlined_);
  337|   155k|        }
  338|  49.9k|        else
  339|  49.9k|        {
  340|  49.9k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  341|  49.9k|        }
  342|   205k|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1550|  85.8k|    {
 1551|  85.8k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1551:15): [True: 58.6k, False: 27.2k]
  ------------------
 1552|  85.8k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1715|   105k|    {
 1716|   105k|        auto words = get_words();
 1717|   105k|        auto y_words = y.get_words();
 1718|       |
 1719|   105k|        const size_type y_size = y_words.size();
 1720|   105k|        if ( words.size() == 0 && y_size == 0 )
  ------------------
  |  Branch (1720:14): [True: 584, False: 105k]
  |  Branch (1720:35): [True: 584, False: 0]
  ------------------
 1721|    584|            return 0;
 1722|   105k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1722:14): [True: 10.1k, False: 95.1k]
  ------------------
 1723|  10.1k|            return y.is_negative() - is_negative();
 1724|  95.1k|        int code = 0;
 1725|  95.1k|        if ( words.size() < y_size)
  ------------------
  |  Branch (1725:14): [True: 0, False: 95.1k]
  ------------------
 1726|      0|            code = -1;
 1727|  95.1k|        else if ( words.size() > y_size)
  ------------------
  |  Branch (1727:19): [True: 26.2k, False: 68.8k]
  ------------------
 1728|  26.2k|            code = +1;
 1729|  68.8k|        else
 1730|  68.8k|        {
 1731|  69.4k|            for (size_type i = words.size(); i-- > 0; )
  ------------------
  |  Branch (1731:46): [True: 68.8k, False: 532]
  ------------------
 1732|  68.8k|            {
 1733|  68.8k|                if (words[i] > y_words[i])
  ------------------
  |  Branch (1733:21): [True: 9.75k, False: 59.1k]
  ------------------
 1734|  9.75k|                {
 1735|  9.75k|                    code = 1;
 1736|  9.75k|                    break;
 1737|  9.75k|                }
 1738|  59.1k|                else if (words[i] < y_words[i])
  ------------------
  |  Branch (1738:26): [True: 58.6k, False: 532]
  ------------------
 1739|  58.6k|                {
 1740|  58.6k|                    code = -1;
 1741|  58.6k|                    break;
 1742|  58.6k|                }
 1743|  68.8k|            }
 1744|  68.8k|        }
 1745|  95.1k|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1745:16): [True: 0, False: 95.1k]
  ------------------
 1746|   105k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  887|   154k|    {
  888|   154k|        storage_ = y.storage_;
  889|   154k|        return *this;
  890|   154k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  379|   154k|    {
  380|   154k|        if (this != &other)
  ------------------
  |  Branch (380:13): [True: 154k, False: 0]
  ------------------
  381|   154k|        {
  382|   154k|            auto other_words = other.get_words();
  383|   154k|            resize(other_words.size());
  384|   154k|            auto words = get_words();
  385|   154k|            if (other_words.size() > 0)
  ------------------
  |  Branch (385:17): [True: 95.6k, False: 59.1k]
  ------------------
  386|  95.6k|            {
  387|  95.6k|                common_.is_negative_ = other.common_.is_negative_;
  388|  95.6k|                std::memcpy(words.data(), other_words.data(), size_type(other_words.size()*sizeof(word_type)));
  389|  95.6k|            }
  390|   154k|        }
  391|   154k|        return *this;
  392|   154k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   92|  95.6k|        {
   93|  95.6k|            return data_;
   94|  95.6k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   72|   265k|        {
   73|   265k|            return data_[i];
   74|   265k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 2026|  16.9k|    {
 2027|  16.9k|        auto denom_words = denom.get_words();
 2028|  16.9k|        if (denom_words.size() == 0)
  ------------------
  |  Branch (2028:13): [True: 0, False: 16.9k]
  ------------------
 2029|      0|        {
 2030|      0|            return false;
 2031|      0|        }
 2032|  16.9k|        size_type r = denom_words.size() - 1;
 2033|  16.9k|        word_type y = denom_words[r];
 2034|       |
 2035|  16.9k|        x = 0;
 2036|  16.9k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (2036:17): [True: 0, False: 16.9k]
  ------------------
 2037|      0|        {
 2038|      0|            y <<= 1;
 2039|      0|            x++;
 2040|      0|        }
 2041|  16.9k|        denom <<= x;
 2042|  16.9k|        num <<= x;
 2043|       |
 2044|  16.9k|        denom_words = denom.get_words();
 2045|  16.9k|        if ( r > 0 && denom_words[r] < denom_words[r-1] )
  ------------------
  |  Branch (2045:14): [True: 0, False: 16.9k]
  |  Branch (2045:23): [True: 0, False: 0]
  ------------------
 2046|      0|        {
 2047|      0|            denom *= max_word;
 2048|      0|            num *= max_word;
 2049|      0|            return true;
 2050|      0|        }
 2051|  16.9k|        return false;
 2052|  16.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1185|  33.9k|    {
 1186|  33.9k|        auto words = get_words();
 1187|  33.9k|        size_type q = k / word_bits;
 1188|  33.9k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1188:14): [True: 0, False: 33.9k]
  ------------------
 1189|      0|        {
 1190|      0|            resize(words.size() + q);
 1191|      0|            words = get_words();
 1192|      0|            for (size_type i = words.size(); i-- > 0; )
  ------------------
  |  Branch (1192:46): [True: 0, False: 0]
  ------------------
 1193|      0|                words[i] = ( i < q ? 0 : words[i - q]);
  ------------------
  |  Branch (1193:30): [True: 0, False: 0]
  ------------------
 1194|      0|            k %= word_bits;
 1195|      0|        }
 1196|  33.9k|        if ( k )  // 0 < k < word_bits:
  ------------------
  |  Branch (1196:14): [True: 0, False: 33.9k]
  ------------------
 1197|      0|        {
 1198|      0|            size_type k1 = word_bits - k;
 1199|      0|            word_type mask = (word_type(1) << k) - word_type(1);
 1200|      0|            resize( words.size() + 1 );
 1201|      0|            words = get_words();
 1202|      0|            for (size_type i = words.size(); i-- > 0; )
  ------------------
  |  Branch (1202:46): [True: 0, False: 0]
  ------------------
 1203|      0|            {
 1204|      0|                words[i] <<= k;
 1205|      0|                if ( i > 0 )
  ------------------
  |  Branch (1205:22): [True: 0, False: 0]
  ------------------
 1206|      0|                    words[i] |= (words[i-1] >> k1) & mask;
 1207|      0|            }
 1208|      0|        }
 1209|  33.9k|        reduce();
 1210|  33.9k|        return *this;
 1211|  33.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1953|  16.9k|    {
 1954|  16.9k|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1955|  16.9k|                   dHi = d >> word_half_bits, dLo = d & r_mask;
 1956|  16.9k|        qHi = A/(dHi + 1);
 1957|       |        // This initial guess of qHi may be too small.
 1958|  16.9k|        middle = qHi * dLo;
 1959|  16.9k|        left = qHi * dHi;
 1960|  16.9k|        x = B - (middle << word_half_bits);
 1961|  16.9k|        A -= (middle >> word_half_bits) + left + (x > B);
 1962|  16.9k|        B = x;
 1963|  16.9k|        dLo1 = dLo << word_half_bits;
 1964|       |        // Increase qHi if necessary:
 1965|  16.9k|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1965:17): [True: 0, False: 16.9k]
  |  Branch (1965:29): [True: 0, False: 16.9k]
  |  Branch (1965:41): [True: 0, False: 0]
  ------------------
 1966|      0|        {
 1967|      0|            x = B - dLo1;
 1968|      0|            A -= dHi + (x > B);
 1969|      0|            B = x;
 1970|      0|            qHi++;
 1971|      0|        }
 1972|  16.9k|        qLo = ((A << word_half_bits) | (B >> word_half_bits))/(dHi + 1);
 1973|       |        // This initial guess of qLo may be too small.
 1974|  16.9k|        right = qLo * dLo;
 1975|  16.9k|        middle = qLo * dHi;
 1976|  16.9k|        x = B - right;
 1977|  16.9k|        A -= (x > B);
 1978|  16.9k|        B = x;
 1979|  16.9k|        x = B - (middle << word_half_bits);
 1980|  16.9k|            A -= (middle >> word_half_bits) + (x > B);
 1981|  16.9k|        B = x;
 1982|       |        // Increase qLo if necessary:
 1983|  17.7k|        while ( A || B >= d )
  ------------------
  |  Branch (1983:17): [True: 0, False: 17.7k]
  |  Branch (1983:22): [True: 770, False: 16.9k]
  ------------------
 1984|    770|        {
 1985|    770|            x = B - d;
 1986|    770|            A -= (x > B);
 1987|    770|            B = x;
 1988|    770|            qLo++;
 1989|    770|        }
 1990|  16.9k|        return (qHi << word_half_bits) + qLo;
 1991|  16.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1995|  16.9k|    {
 1996|  16.9k|        word_type hi, lo, d, carry = 0;
 1997|  16.9k|        size_type i;
 1998|  33.9k|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1998:22): [True: 16.9k, False: 16.9k]
  ------------------
 1999|  16.9k|        {
 2000|  16.9k|            DDproduct( b[i], q, hi, lo );
 2001|  16.9k|            d = a[i];
 2002|  16.9k|            a[i] -= lo;
 2003|  16.9k|            if ( a[i] > d )
  ------------------
  |  Branch (2003:18): [True: 9.16k, False: 7.82k]
  ------------------
 2004|  9.16k|                carry++;
 2005|  16.9k|            d = a[i + 1];
 2006|  16.9k|            a[i + 1] -= hi + carry;
 2007|  16.9k|            carry = a[i + 1] > d;
 2008|  16.9k|        }
 2009|  16.9k|        if ( carry ) // q was too large
  ------------------
  |  Branch (2009:14): [True: 0, False: 16.9k]
  ------------------
 2010|      0|        {
 2011|      0|            q--;
 2012|      0|            carry = 0;
 2013|      0|            for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (2013:26): [True: 0, False: 0]
  ------------------
 2014|      0|            {
 2015|      0|                d = a[i] + carry;
 2016|      0|                carry = d < carry;
 2017|      0|                a[i] = d + b[i];
 2018|      0|                if ( a[i] < d )
  ------------------
  |  Branch (2018:22): [True: 0, False: 0]
  ------------------
 2019|      0|                    carry = 1;
 2020|      0|            }
 2021|      0|            a[n] = 0;
 2022|      0|        }
 2023|  16.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1935|  16.9k|    {
 1936|  16.9k|        word_type hiA = A >> word_half_bits, loA = A & r_mask,
 1937|  16.9k|                   hiB = B >> word_half_bits, loB = B & r_mask;
 1938|       |
 1939|  16.9k|        lo = loA * loB;
 1940|  16.9k|        hi = hiA * hiB;
 1941|  16.9k|        word_type mid1 = loA * hiB;
 1942|  16.9k|        word_type mid2 = hiA * loB;
 1943|  16.9k|        word_type old = lo;
 1944|  16.9k|        lo += mid1 << word_half_bits;
 1945|  16.9k|            hi += (lo < old) + (mid1 >> word_half_bits);
 1946|  16.9k|        old = lo;
 1947|  16.9k|        lo += mid2 << word_half_bits;
 1948|  16.9k|            hi += (lo < old) + (mid2 >> word_half_bits);
 1949|  16.9k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   92|   129k|        {
   93|   129k|            return data_;
   94|   129k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 2055|  16.9k|    {
 2056|  16.9k|        if (secondDone)
  ------------------
  |  Branch (2056:13): [True: 0, False: 16.9k]
  ------------------
 2057|      0|        {
 2058|      0|            rem /= max_word;
 2059|      0|        }
 2060|  16.9k|        if ( x > 0 )
  ------------------
  |  Branch (2060:14): [True: 0, False: 16.9k]
  ------------------
 2061|      0|        {
 2062|      0|            rem >>= x;
 2063|      0|        }
 2064|  16.9k|        else
 2065|  16.9k|        {
 2066|  16.9k|            rem.reduce();
 2067|  16.9k|        }
 2068|  16.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  703|   560k|    {
  704|   560k|        storage_.destroy();
  705|   560k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  500|   560k|    {
  501|   560k|        if (is_allocated())
  ------------------
  |  Branch (501:13): [True: 83.1k, False: 477k]
  ------------------
  502|  83.1k|        {
  503|  83.1k|            allocated_.destroy(get_allocator());
  504|  83.1k|            allocated_.~allocated_storage();
  505|  83.1k|        }
  506|   477k|        else
  507|   477k|        {
  508|   477k|            inlined_.~inlined_storage();
  509|   477k|        }
  510|   560k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  259|  83.1k|        {
  260|  83.1k|            if (data_ != nullptr)
  ------------------
  |  Branch (260:17): [True: 83.1k, False: 0]
  ------------------
  261|  83.1k|            {
  262|  83.1k|                real_allocator_type alloc(a);
  263|  83.1k|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  264|  83.1k|            }
  265|  83.1k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IlEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  688|  39.9k|        : storage_(n, alloc)
  689|  39.9k|    {
  690|  39.9k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IlEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  373|  39.9k|        : word_allocator_type(alloc)
  374|  39.9k|    {
  375|  39.9k|        ::new (&inlined_) inlined_storage(n);
  376|  39.9k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IlEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  138|  39.9k|            : is_allocated_(false),
  139|  39.9k|            is_negative_(n < 0),
  140|  39.9k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 20.5k, False: 19.4k]
  ------------------
  141|  39.9k|        {
  142|  39.9k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (142:26): [True: 10.1k, False: 29.8k]
  ------------------
  143|  39.9k|            values_[1] = 0;
  144|  39.9k|        }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEEl:
 1555|  19.9k|    {
 1556|  19.9k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1556:15): [True: 10.1k, False: 9.86k]
  ------------------
 1557|  19.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IjEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  688|  10.1k|        : storage_(n, alloc)
  689|  10.1k|    {
  690|  10.1k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IjEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  373|  10.1k|        : word_allocator_type(alloc)
  374|  10.1k|    {
  375|  10.1k|        ::new (&inlined_) inlined_storage(n);
  376|  10.1k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IjEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  151|  10.1k|            : is_allocated_(false),
  152|  10.1k|            is_negative_(false),
  153|  10.1k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (153:19): [True: 247, False: 9.87k]
  ------------------
  154|  10.1k|        {
  155|  10.1k|            values_[0] = n;
  156|  10.1k|            values_[1] = 0;
  157|  10.1k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  999|  10.1k|    {
 1000|  10.1k|        auto y_words = y.get_words();
 1001|       |
 1002|  10.1k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1002:14): [True: 10.1k, False: 0]
  ------------------
 1003|  10.1k|            return *this += -y;
 1004|      0|        if ( (!is_negative() && y > *this) || (is_negative() && y < *this) )
  ------------------
  |  Branch (1004:15): [True: 0, False: 0]
  |  Branch (1004:33): [True: 0, False: 0]
  |  Branch (1004:48): [True: 0, False: 0]
  |  Branch (1004:65): [True: 0, False: 0]
  ------------------
 1005|      0|            return *this = -(y - *this);
 1006|      0|        word_type borrow = 0;
 1007|      0|        word_type d;
 1008|      0|        auto words = get_words();
 1009|      0|        const size_type this_size = words.size();
 1010|      0|        const size_type y_size = y_words.size();
 1011|       |
 1012|      0|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (1012:31): [True: 0, False: 0]
  ------------------
 1013|      0|        {
 1014|      0|            d = words[i] - borrow;
 1015|      0|            borrow = d > words[i];
 1016|      0|            words[i] = d - y_words[i];
 1017|      0|            if ( words[i] > d )
  ------------------
  |  Branch (1017:18): [True: 0, False: 0]
  ------------------
 1018|      0|                borrow = 1;
 1019|      0|        }
 1020|      0|        for (size_type i = y_size; i < this_size && borrow != 0; i++ )
  ------------------
  |  Branch (1020:36): [True: 0, False: 0]
  |  Branch (1020:53): [True: 0, False: 0]
  ------------------
 1021|      0|        {
 1022|      0|            d = words[i] - borrow;
 1023|      0|            borrow = d > words[i];
 1024|      0|            words[i] = d;
 1025|      0|        }
 1026|      0|        reduce();
 1027|      0|        return *this;
 1028|      0|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLERKS4_:
  965|  10.1k|    {
  966|  10.1k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (966:14): [True: 0, False: 10.1k]
  ------------------
  967|      0|            return *this -= -y;
  968|       |
  969|  10.1k|        auto y_words = y.get_words();
  970|       |        
  971|  10.1k|        word_type d;
  972|  10.1k|        word_type carry = 0;
  973|       |
  974|  10.1k|        auto words = get_words();
  975|  10.1k|        resize( (std::max)(y_words.size(), words.size()) + 1 );
  976|  10.1k|        words = get_words();
  977|       |
  978|  10.1k|        const size_t this_size = words.size();
  979|  10.1k|        const size_t y_size = y_words.size();
  980|  20.0k|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (980:31): [True: 9.87k, False: 10.1k]
  ------------------
  981|  9.87k|        {
  982|  9.87k|            d = words[i] + carry;
  983|  9.87k|            carry = d < carry;
  984|  9.87k|            words[i] = d + y_words[i];
  985|  9.87k|            if (words[i] < d)
  ------------------
  |  Branch (985:17): [True: 420, False: 9.45k]
  ------------------
  986|    420|                carry = 1;
  987|  9.87k|        }
  988|  10.5k|        for (size_type i = y_size; i < this_size && carry != 0; i++ )
  ------------------
  |  Branch (988:36): [True: 10.2k, False: 279]
  |  Branch (988:53): [True: 420, False: 9.84k]
  ------------------
  989|    420|        {
  990|    420|            d = words[i] + carry;
  991|    420|            carry = d < carry;
  992|    420|            words[i] = d;
  993|    420|        }
  994|  10.1k|        reduce();
  995|  10.1k|        return *this;
  996|  10.1k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLIjEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  934|  9.86k|    {
  935|  9.86k|        if ( is_negative())
  ------------------
  |  Branch (935:14): [True: 0, False: 9.86k]
  ------------------
  936|      0|            return *this -= -basic_bigint<Allocator>(y);
  937|       |
  938|  9.86k|        word_type d;
  939|  9.86k|        word_type carry = 0;
  940|       |
  941|  9.86k|        auto words = get_words();
  942|  9.86k|        resize(words.size() + 1);
  943|       |
  944|  9.86k|        words = get_words();
  945|  9.86k|        const size_type this_size = words.size();
  946|  9.86k|        size_type y_size = 1;
  947|       |
  948|  9.86k|        d = words[0] + carry;
  949|  9.86k|        carry = d < carry;
  950|  9.86k|        words[0] = d + y;
  951|  9.86k|        if (words[0] < d)
  ------------------
  |  Branch (951:13): [True: 358, False: 9.51k]
  ------------------
  952|    358|            carry = 1;
  953|       |
  954|  10.2k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (954:36): [True: 9.57k, False: 655]
  |  Branch (954:53): [True: 358, False: 9.21k]
  ------------------
  955|    358|        {
  956|    358|            d = words[i] + carry;
  957|    358|            carry = d < carry;
  958|    358|            words[i] = d;
  959|    358|        }
  960|  9.86k|        reduce();
  961|  9.86k|        return *this;
  962|  9.86k|    }

_ZN8jsoncons6binary13big_to_nativeIfNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   102k|    {
  183|   102k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 102k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   102k|        T val;
  188|   102k|        std::memcpy(&val,first,sizeof(T));
  189|   102k|        return byte_swap(val);
  190|   102k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|   102k|    {
   65|   102k|        uint32_t x;
   66|   102k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|   102k|        uint32_t y = byte_swap(x);
   68|   102k|        T val2;
   69|   102k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|   102k|        return val2;
   71|   102k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|   135k|    {
   40|   135k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|   135k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  474|   135k|#  define JSONCONS_BYTE_SWAP_32 __builtin_bswap32
  ------------------
   42|       |    #else
   43|       |        uint32_t tmp = ((static_cast<uint32_t>(val) << 8) & 0xff00ff00) | ((static_cast<uint32_t>(val) >> 8) & 0xff00ff);
   44|       |        return (tmp << 16) | (tmp >> 16);
   45|       |    #endif
   46|   135k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  23.7k|    {
  183|  23.7k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 23.7k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  23.7k|        T val;
  188|  23.7k|        std::memcpy(&val,first,sizeof(T));
  189|  23.7k|        return byte_swap(val);
  190|  23.7k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  23.7k|    {
   77|  23.7k|        uint64_t x;
   78|  23.7k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  23.7k|        uint64_t y = byte_swap(x);
   80|  23.7k|        T val2;
   81|  23.7k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  23.7k|        return val2;
   83|  23.7k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  70.1k|    {
   52|  70.1k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  70.1k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  473|  70.1k|#  define JSONCONS_BYTE_SWAP_64 __builtin_bswap64
  ------------------
   54|       |    #else
   55|       |        uint64_t tmp = ((static_cast<uint64_t>(val) & 0x00000000ffffffffull) << 32) | ((static_cast<uint64_t>(val) & 0xffffffff00000000ull) >> 32);
   56|       |        tmp = ((tmp & 0x0000ffff0000ffffull) << 16) | ((tmp & 0xffff0000ffff0000ull) >> 16);
   57|       |        return ((tmp & 0x00ff00ff00ff00ffull) << 8)  | ((tmp & 0xff00ff00ff00ff00ull) >> 8);
   58|       |    #endif
   59|  70.1k|    }
_ZN8jsoncons6binary13big_to_nativeItNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  23.1k|    {
  183|  23.1k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 23.1k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  23.1k|        T val;
  188|  23.1k|        std::memcpy(&val,first,sizeof(T));
  189|  23.1k|        return byte_swap(val);
  190|  23.1k|    }
_ZN8jsoncons6binary9byte_swapItEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  23.1k|    {
   29|  23.1k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  23.1k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  478|  23.1k|#      define JSONCONS_BYTE_SWAP_16    __builtin_bswap16
  ------------------
   31|       |    #else
   32|       |        return (static_cast<uint16_t>(val) >> 8) | (static_cast<uint16_t>(val) << 8);
   33|       |    #endif
   34|  23.1k|    }
_ZN8jsoncons6binary13big_to_nativeIjNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  33.2k|    {
  183|  33.2k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 33.2k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  33.2k|        T val;
  188|  33.2k|        std::memcpy(&val,first,sizeof(T));
  189|  33.2k|        return byte_swap(val);
  190|  33.2k|    }
_ZN8jsoncons6binary13big_to_nativeImNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  46.3k|    {
  183|  46.3k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 46.3k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  46.3k|        T val;
  188|  46.3k|        std::memcpy(&val,first,sizeof(T));
  189|  46.3k|        return byte_swap(val);
  190|  46.3k|    }
_ZN8jsoncons6binary13big_to_nativeIaNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   290k|    {
  183|   290k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 290k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   290k|        T val;
  188|   290k|        std::memcpy(&val,first,sizeof(T));
  189|   290k|        return byte_swap(val);
  190|   290k|    }
_ZN8jsoncons6binary9byte_swapIaEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|   290k|    {
   22|   290k|        return val;
   23|   290k|    }
_ZN8jsoncons6binary13big_to_nativeIsNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  1.66k|    {
  183|  1.66k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 1.66k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  1.66k|        T val;
  188|  1.66k|        std::memcpy(&val,first,sizeof(T));
  189|  1.66k|        return byte_swap(val);
  190|  1.66k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  1.66k|    {
   29|  1.66k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  1.66k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  478|  1.66k|#      define JSONCONS_BYTE_SWAP_16    __builtin_bswap16
  ------------------
   31|       |    #else
   32|       |        return (static_cast<uint16_t>(val) >> 8) | (static_cast<uint16_t>(val) << 8);
   33|       |    #endif
   34|  1.66k|    }
_ZN8jsoncons6binary13big_to_nativeIiNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  15.2k|    {
  183|  15.2k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 15.2k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  15.2k|        T val;
  188|  15.2k|        std::memcpy(&val,first,sizeof(T));
  189|  15.2k|        return byte_swap(val);
  190|  15.2k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  15.2k|    {
   40|  15.2k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  15.2k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  474|  15.2k|#  define JSONCONS_BYTE_SWAP_32 __builtin_bswap32
  ------------------
   42|       |    #else
   43|       |        uint32_t tmp = ((static_cast<uint32_t>(val) << 8) & 0xff00ff00) | ((static_cast<uint32_t>(val) >> 8) & 0xff00ff);
   44|       |        return (tmp << 16) | (tmp >> 16);
   45|       |    #endif
   46|  15.2k|    }
_ZN8jsoncons6binary13big_to_nativeIlNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  20.7k|    {
  183|  20.7k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 20.7k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  20.7k|        T val;
  188|  20.7k|        std::memcpy(&val,first,sizeof(T));
  189|  20.7k|        return byte_swap(val);
  190|  20.7k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  20.7k|    {
   52|  20.7k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  20.7k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  473|  20.7k|#  define JSONCONS_BYTE_SWAP_64 __builtin_bswap64
  ------------------
   54|       |    #else
   55|       |        uint64_t tmp = ((static_cast<uint64_t>(val) & 0x00000000ffffffffull) << 32) | ((static_cast<uint64_t>(val) & 0xffffffff00000000ull) >> 32);
   56|       |        tmp = ((tmp & 0x0000ffff0000ffffull) << 16) | ((tmp & 0xffff0000ffff0000ull) >> 16);
   57|       |        return ((tmp & 0x00ff00ff00ff00ffull) << 8)  | ((tmp & 0xff00ff00ff00ff00ull) >> 8);
   58|       |    #endif
   59|  20.7k|    }
_ZN8jsoncons6binary13big_to_nativeIhNS_6nonstd6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  87.5k|    {
  183|  87.5k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 87.5k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  87.5k|        T val;
  188|  87.5k|        std::memcpy(&val,first,sizeof(T));
  189|  87.5k|        return byte_swap(val);
  190|  87.5k|    }
_ZN8jsoncons6binary9byte_swapIhEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|  87.5k|    {
   22|  87.5k|        return val;
   23|  87.5k|    }

_ZNK8jsoncons16byte_string_view4dataEv:
  399|   585k|        {
  400|   585k|            return data_;
  401|   585k|        }
_ZNK8jsoncons16byte_string_view4sizeEv:
  403|   585k|        {
  404|   585k|            return size_;
  405|   585k|        }
_ZN8jsoncons16byte_string_viewC2EPKhm:
  362|   766k|            : data_(data), size_(length)
  363|   766k|        {
  364|   766k|        }
_ZN8jsoncons6detail23bytes_to_base64_genericIPKhNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEENS4_9enable_ifIXsr3std7is_sameINS4_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESD_SD_PKcRT0_:
   44|   181k|    {
   45|   181k|        std::size_t count = 0;
   46|   181k|        unsigned char a3[3];
   47|   181k|        unsigned char a4[4];
   48|   181k|        unsigned char fill = alphabet[64];
   49|   181k|        int i = 0;
   50|   181k|        int j = 0;
   51|       |
   52|  7.84M|        while (first != last)
  ------------------
  |  Branch (52:16): [True: 7.66M, False: 181k]
  ------------------
   53|  7.66M|        {
   54|  7.66M|            a3[i++] = *first++;
   55|  7.66M|            if (i == 3)
  ------------------
  |  Branch (55:17): [True: 2.51M, False: 5.14M]
  ------------------
   56|  2.51M|            {
   57|  2.51M|                a4[0] = (a3[0] & 0xfc) >> 2;
   58|  2.51M|                a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   59|  2.51M|                a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   60|  2.51M|                a4[3] = a3[2] & 0x3f;
   61|       |
   62|  12.5M|                for (i = 0; i < 4; i++) 
  ------------------
  |  Branch (62:29): [True: 10.0M, False: 2.51M]
  ------------------
   63|  10.0M|                {
   64|  10.0M|                    result.push_back(alphabet[a4[i]]);
   65|  10.0M|                    ++count;
   66|  10.0M|                }
   67|  2.51M|                i = 0;
   68|  2.51M|            }
   69|  7.66M|        }
   70|       |
   71|   181k|        if (i > 0)
  ------------------
  |  Branch (71:13): [True: 122k, False: 59.6k]
  ------------------
   72|   122k|        {
   73|   362k|            for (j = i; j < 3; ++j) 
  ------------------
  |  Branch (73:25): [True: 240k, False: 122k]
  ------------------
   74|   240k|            {
   75|   240k|                a3[j] = 0;
   76|   240k|            }
   77|       |
   78|   122k|            a4[0] = (a3[0] & 0xfc) >> 2;
   79|   122k|            a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   80|   122k|            a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   81|       |
   82|   371k|            for (j = 0; j < i + 1; ++j) 
  ------------------
  |  Branch (82:25): [True: 249k, False: 122k]
  ------------------
   83|   249k|            {
   84|   249k|                result.push_back(alphabet[a4[j]]);
   85|   249k|                ++count;
   86|   249k|            }
   87|       |
   88|   122k|            if (fill != 0)
  ------------------
  |  Branch (88:17): [True: 0, False: 122k]
  ------------------
   89|      0|            {
   90|      0|                while (i++ < 3) 
  ------------------
  |  Branch (90:24): [True: 0, False: 0]
  ------------------
   91|      0|                {
   92|      0|                    result.push_back(fill);
   93|      0|                    ++count;
   94|      0|                }
   95|      0|            }
   96|   122k|        }
   97|       |
   98|   181k|        return count;
   99|   181k|    }
_ZNK8jsoncons16byte_string_view5beginEv:
  409|   181k|        {
  410|   181k|            return data_;
  411|   181k|        }
_ZNK8jsoncons16byte_string_view3endEv:
  413|   181k|        {
  414|   181k|            return data_ + size_;
  415|   181k|        }
_ZN8jsoncons18bytes_to_base64urlIPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  177|   181k|    {
  178|   181k|        static constexpr char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  179|   181k|                                                      "abcdefghijklmnopqrstuvwxyz"
  180|   181k|                                                      "0123456789-_"
  181|   181k|                                                      "\0";
  182|   181k|        return detail::bytes_to_base64_generic(first, last, alphabet, result);
  183|   181k|    }

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

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  237|  10.5k|    {       
  238|  10.5k|        return (ptr);
  239|  10.5k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  237|   100k|    {       
  238|   100k|        return (ptr);
  239|   100k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  237|   701k|    {       
  238|   701k|        return (ptr);
  239|   701k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  237|  3.05M|    {       
  238|  3.05M|        return (ptr);
  239|  3.05M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  237|   111k|    {       
  238|   111k|        return (ptr);
  239|   111k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerImEEPT_S3_:
  237|  66.5k|    {       
  238|  66.5k|        return (ptr);
  239|  66.5k|    }  

_ZN8jsoncons16decstr_to_doubleEPKcmRd:
  889|  3.80k|{
  890|  3.80k|    const char* cur = s+length;
  891|  3.80k|    char *end = nullptr;
  892|  3.80k|    val = strtod(s, &end);
  893|  3.80k|    const char* str_end = end;
  894|  3.80k|    if (JSONCONS_UNLIKELY(end < cur))
  ------------------
  |  |   79|  3.80k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 3.80k]
  |  |  ------------------
  ------------------
  895|      0|    {
  896|      0|        if (*end == '.')
  ------------------
  |  Branch (896:13): [True: 0, False: 0]
  ------------------
  897|      0|        {
  898|      0|            std::string buf{s, length};
  899|      0|            char* dot_ptr = &buf[0] + (cur - end - 1);
  900|      0|            *dot_ptr = ',';
  901|      0|            end = nullptr;
  902|      0|            val = strtod(buf.c_str(), &end);
  903|      0|            str_end = s + (end - &buf[0]);
  904|      0|        }
  905|      0|        if (JSONCONS_UNLIKELY(str_end != cur))
  ------------------
  |  |   79|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  906|      0|        {
  907|      0|            return to_number_result<char>{str_end,std::errc::invalid_argument};
  908|      0|        }
  909|      0|    }
  910|  3.80k|    if (JSONCONS_UNLIKELY(val <= -HUGE_VAL || val >= HUGE_VAL))
  ------------------
  |  |   79|  7.61k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 3.80k]
  |  |  |  Branch (79:50): [True: 0, False: 3.80k]
  |  |  |  Branch (79:50): [True: 0, False: 3.80k]
  |  |  ------------------
  ------------------
  911|      0|    {
  912|      0|        return to_number_result<char>{str_end, std::errc::result_out_of_range};
  913|      0|    }
  914|  3.80k|    return to_number_result<char>{str_end};
  915|  3.80k|}
_ZN8jsoncons16to_number_resultIcEC2EPKc:
  160|  3.80k|        : ptr(ptr_), ec(std::errc{})
  161|  3.80k|    {
  162|  3.80k|    }

_ZN8jsoncons16append_to_stringImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  14.8M|{
   43|  14.8M|    using char_type = typename Result::value_type;
   44|       |
   45|  14.8M|    char_type buf[255];
   46|  14.8M|    char_type *p = buf;
   47|  14.8M|    const char_type* last = buf+255;
   48|       |
   49|  14.8M|    bool is_negative = value < 0;
   50|       |
   51|  14.8M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 14.8M]
  ------------------
   52|      0|    {
   53|      0|        do
   54|      0|        {
   55|      0|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|      0|        }
   57|      0|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 0, False: 0]
  |  Branch (57:33): [True: 0, False: 0]
  ------------------
   58|      0|    }
   59|  14.8M|    else
   60|  14.8M|    {
   61|       |
   62|  14.8M|        do
   63|  19.7M|        {
   64|  19.7M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  19.7M|        }
   66|  19.7M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 4.94M, False: 14.8M]
  |  Branch (66:33): [True: 4.94M, False: 0]
  ------------------
   67|  14.8M|    }
   68|  14.8M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   67|  14.8M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 14.8M]
  |  |  ------------------
  |  |   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|  14.8M|    std::size_t count = (p - buf);
   71|  14.8M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 14.8M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  34.5M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 19.7M, False: 14.8M]
  ------------------
   77|  19.7M|    {
   78|  19.7M|        result.push_back(*p);
   79|  19.7M|    }
   80|       |
   81|  14.8M|    return count;
   82|  14.8M|}
_ZN8jsoncons16append_to_stringIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  10.7M|{
   43|  10.7M|    using char_type = typename Result::value_type;
   44|       |
   45|  10.7M|    char_type buf[255];
   46|  10.7M|    char_type *p = buf;
   47|  10.7M|    const char_type* last = buf+255;
   48|       |
   49|  10.7M|    bool is_negative = value < 0;
   50|       |
   51|  10.7M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 10.7M, False: 6.91k]
  ------------------
   52|  10.7M|    {
   53|  10.7M|        do
   54|  12.5M|        {
   55|  12.5M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  12.5M|        }
   57|  12.5M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 1.78M, False: 10.7M]
  |  Branch (57:33): [True: 1.78M, False: 0]
  ------------------
   58|  10.7M|    }
   59|  6.91k|    else
   60|  6.91k|    {
   61|       |
   62|  6.91k|        do
   63|  27.1k|        {
   64|  27.1k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  27.1k|        }
   66|  27.1k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 20.2k, False: 6.91k]
  |  Branch (66:33): [True: 20.2k, False: 0]
  ------------------
   67|  6.91k|    }
   68|  10.7M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   67|  10.7M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 10.7M]
  |  |  ------------------
  |  |   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|  10.7M|    std::size_t count = (p - buf);
   71|  10.7M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 10.7M, False: 6.91k]
  ------------------
   72|  10.7M|    {
   73|  10.7M|        result.push_back('-');
   74|  10.7M|        ++count;
   75|  10.7M|    }
   76|  23.3M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 12.5M, False: 10.7M]
  ------------------
   77|  12.5M|    {
   78|  12.5M|        result.push_back(*p);
   79|  12.5M|    }
   80|       |
   81|  10.7M|    return count;
   82|  10.7M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|   108k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|   108k|    {
  489|   108k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|   108k|        struct lconv *lc = localeconv();
  491|   108k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 108k, False: 0]
  |  Branch (491:30): [True: 108k, False: 0]
  ------------------
  492|   108k|        {
  493|   108k|            decimal_point_ = lc->decimal_point[0];
  494|   108k|        }
  495|   108k|#endif
  496|   108k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|   108k|    {
  504|   108k|        std::size_t count = 0;
  505|       |
  506|   108k|        char number_buffer[200];
  507|   108k|        int length = 0;
  508|       |
  509|   108k|        switch (float_format_)
  510|   108k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 108k]
  ------------------
  512|      0|            {
  513|      0|                if (precision_ > 0)
  ------------------
  |  Branch (513:21): [True: 0, False: 0]
  ------------------
  514|      0|                {
  515|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*f", precision_, val);
  516|      0|                    if (length < 0)
  ------------------
  |  Branch (516:25): [True: 0, False: 0]
  ------------------
  517|      0|                    {
  518|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  519|      0|                    }
  520|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  521|      0|                }
  522|      0|                else
  523|      0|                {
  524|      0|                    if (!dtoa_fixed(val, decimal_point_, result))
  ------------------
  |  Branch (524:25): [True: 0, False: 0]
  ------------------
  525|      0|                    {
  526|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  527|      0|                    }
  528|      0|                }
  529|      0|            }
  530|      0|            break;
  531|      0|        case float_chars_format::scientific:
  ------------------
  |  Branch (531:9): [True: 0, False: 108k]
  ------------------
  532|      0|            {
  533|      0|                if (precision_ > 0)
  ------------------
  |  Branch (533:21): [True: 0, False: 0]
  ------------------
  534|      0|                {
  535|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*e", precision_, val);
  536|      0|                    if (length < 0)
  ------------------
  |  Branch (536:25): [True: 0, False: 0]
  ------------------
  537|      0|                    {
  538|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  539|      0|                    }
  540|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  541|      0|                }
  542|      0|                else
  543|      0|                {
  544|      0|                    if (!dtoa_scientific(val, decimal_point_, result))
  ------------------
  |  Branch (544:25): [True: 0, False: 0]
  ------------------
  545|      0|                    {
  546|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  547|      0|                    }
  548|      0|                }
  549|      0|            }
  550|      0|            break;
  551|   108k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 108k, False: 0]
  ------------------
  552|   108k|            {
  553|   108k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 108k]
  ------------------
  554|      0|                {
  555|      0|                    length = snprintf(number_buffer, sizeof(number_buffer), "%1.*g", precision_, val);
  556|      0|                    if (length < 0)
  ------------------
  |  Branch (556:25): [True: 0, False: 0]
  ------------------
  557|      0|                    {
  558|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  559|      0|                    }
  560|      0|                    dump_buffer(number_buffer, length, decimal_point_, result);
  561|      0|                }
  562|   108k|                else
  563|   108k|                {
  564|   108k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 108k]
  ------------------
  565|      0|                    {
  566|      0|                        JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  567|      0|                    }
  568|   108k|                }             
  569|   108k|                break;
  570|   108k|            }
  571|   108k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 108k]
  ------------------
  572|      0|                JSONCONS_THROW(json_runtime_error<std::invalid_argument>("write_double failed."));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  573|      0|                break;
  574|   108k|        }
  575|   108k|        return count;
  576|   108k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  3.80k|{
  244|  3.80k|    const char *sbeg = buffer;
  245|  3.80k|    const char *send = sbeg + length;
  246|       |
  247|  3.80k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 3.80k, False: 0]
  ------------------
  248|  3.80k|    {
  249|  3.80k|        bool needs_dot = true;
  250|  61.0k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 57.2k, False: 3.80k]
  ------------------
  251|  57.2k|        {
  252|  57.2k|            switch (*q)
  253|  57.2k|            {
  254|  3.31k|            case '-':
  ------------------
  |  Branch (254:13): [True: 3.31k, False: 53.9k]
  ------------------
  255|  6.74k|            case '0':
  ------------------
  |  Branch (255:13): [True: 3.42k, False: 53.8k]
  ------------------
  256|  12.4k|            case '1':
  ------------------
  |  Branch (256:13): [True: 5.70k, False: 51.5k]
  ------------------
  257|  18.8k|            case '2':
  ------------------
  |  Branch (257:13): [True: 6.38k, False: 50.8k]
  ------------------
  258|  23.9k|            case '3':
  ------------------
  |  Branch (258:13): [True: 5.08k, False: 52.1k]
  ------------------
  259|  27.9k|            case '4':
  ------------------
  |  Branch (259:13): [True: 4.07k, False: 53.1k]
  ------------------
  260|  32.2k|            case '5':
  ------------------
  |  Branch (260:13): [True: 4.25k, False: 52.9k]
  ------------------
  261|  36.2k|            case '6':
  ------------------
  |  Branch (261:13): [True: 3.98k, False: 53.2k]
  ------------------
  262|  40.3k|            case '7':
  ------------------
  |  Branch (262:13): [True: 4.15k, False: 53.0k]
  ------------------
  263|  44.7k|            case '8':
  ------------------
  |  Branch (263:13): [True: 4.42k, False: 52.8k]
  ------------------
  264|  49.0k|            case '9':
  ------------------
  |  Branch (264:13): [True: 4.29k, False: 52.9k]
  ------------------
  265|  49.7k|            case '+':
  ------------------
  |  Branch (265:13): [True: 658, False: 56.5k]
  ------------------
  266|  49.7k|                result.push_back(*q);
  267|  49.7k|                break;
  268|  1.44k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 1.44k, False: 55.7k]
  ------------------
  269|  1.44k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 57.2k]
  ------------------
  270|  1.44k|                result.push_back('e');
  271|  1.44k|                needs_dot = false;
  272|  1.44k|                break;
  273|  6.04k|            default:
  ------------------
  |  Branch (273:13): [True: 6.04k, False: 51.1k]
  ------------------
  274|  6.04k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 2.39k, False: 3.65k]
  ------------------
  275|  2.39k|                {
  276|  2.39k|                    needs_dot = false;
  277|  2.39k|                    result.push_back('.');
  278|  2.39k|                }
  279|  6.04k|                break;
  280|  57.2k|            }
  281|  57.2k|        }
  282|  3.80k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 1.41k, False: 2.39k]
  ------------------
  283|  1.41k|        {
  284|  1.41k|            result.push_back('.');
  285|  1.41k|            result.push_back('0');
  286|  1.41k|        }
  287|  3.80k|    }
  288|  3.80k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKciiiiRT_:
  171|   104k|{
  172|   104k|    int nb_digits = length;
  173|   104k|    int offset;
  174|       |    /* v = buffer * 10^k
  175|       |       kk is such that 10^(kk-1) <= v < 10^kk
  176|       |       this way kk gives the position of the decimal point.
  177|       |    */
  178|   104k|    int kk = nb_digits + k;
  179|       |
  180|   104k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 30.6k, False: 74.2k]
  |  Branch (180:28): [True: 7.30k, False: 23.2k]
  ------------------
  181|  7.30k|    {
  182|       |        /* the first digits are already in. Add some 0s and call it a day. */
  183|       |        /* the max_exp is a personal choice. Only 16 digits could possibly be relevant.
  184|       |         * Basically we want to print 12340000000 rather than 1234.0e7 or 1.234e10 */
  185|  71.5k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 64.2k, False: 7.30k]
  ------------------
  186|  64.2k|        {
  187|  64.2k|            result.push_back(buffer[i]);
  188|  64.2k|        }
  189|  8.98k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 1.67k, False: 7.30k]
  ------------------
  190|  1.67k|        {
  191|  1.67k|            result.push_back('0');
  192|  1.67k|        }
  193|  7.30k|        result.push_back('.');
  194|  7.30k|        result.push_back('0');
  195|  7.30k|    } 
  196|  97.5k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 57.0k, False: 40.4k]
  |  Branch (196:24): [True: 33.7k, False: 23.2k]
  ------------------
  197|  33.7k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|   176k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 143k, False: 33.7k]
  ------------------
  200|   143k|        {
  201|   143k|            result.push_back(buffer[i]);
  202|   143k|        }
  203|  33.7k|        result.push_back('.');
  204|   401k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 367k, False: 33.7k]
  ------------------
  205|   367k|        {
  206|   367k|            result.push_back(buffer[i]);
  207|   367k|        }
  208|  33.7k|    } 
  209|  63.7k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 27.0k, False: 36.6k]
  |  Branch (209:30): [True: 3.79k, False: 23.2k]
  ------------------
  210|  3.79k|    {
  211|  3.79k|        offset = 2 - kk;
  212|       |
  213|  3.79k|        result.push_back('0');
  214|  3.79k|        result.push_back('.');
  215|  14.3k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 10.5k, False: 3.79k]
  ------------------
  216|  10.5k|            result.push_back('0');
  217|  63.8k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 60.0k, False: 3.79k]
  ------------------
  218|  60.0k|        {
  219|  60.0k|            result.push_back(buffer[i]);
  220|  60.0k|        }
  221|  3.79k|    } 
  222|  59.9k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 1.05k, False: 58.9k]
  ------------------
  223|  1.05k|    {
  224|  1.05k|        result.push_back(buffer[0]);
  225|  1.05k|        result.push_back('e');
  226|  1.05k|        fill_exponent(kk - 1, result);
  227|  1.05k|    } 
  228|  58.9k|    else
  229|  58.9k|    {
  230|  58.9k|        result.push_back(buffer[0]);
  231|  58.9k|        result.push_back('.');
  232|   929k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 870k, False: 58.9k]
  ------------------
  233|   870k|        {
  234|   870k|            result.push_back(buffer[i]);
  235|   870k|        }
  236|  58.9k|        result.push_back('e');
  237|  58.9k|        fill_exponent(kk - 1, result);
  238|  58.9k|    }
  239|   104k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  59.9k|{
  137|  59.9k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 36.6k, False: 23.2k]
  ------------------
  138|  36.6k|    {
  139|  36.6k|        result.push_back('-');
  140|  36.6k|        K = -K;
  141|  36.6k|    }
  142|  23.2k|    else
  143|  23.2k|    {
  144|  23.2k|        result.push_back('+'); // compatibility with sprintf
  145|  23.2k|    }
  146|       |
  147|  59.9k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 19.1k, False: 40.7k]
  ------------------
  148|  19.1k|    {
  149|  19.1k|        result.push_back('0'); // compatibility with sprintf
  150|  19.1k|        result.push_back((char)('0' + K));
  151|  19.1k|    }
  152|  40.7k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 24.8k, False: 15.9k]
  ------------------
  153|  24.8k|    {
  154|  24.8k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  24.8k|        result.push_back((char)('0' + K));
  156|  24.8k|    }
  157|  15.9k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 15.9k, False: 0]
  ------------------
  158|  15.9k|    {
  159|  15.9k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  15.9k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  15.9k|        result.push_back((char)('0' + K));
  162|  15.9k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::append_to_string(K, result);
  166|      0|    }
  167|  59.9k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|   108k|{
  476|   108k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|   108k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|   108k|{
  367|   108k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 325, False: 108k]
  ------------------
  368|    325|    {
  369|    325|        result.push_back('0');
  370|    325|        result.push_back('.');
  371|    325|        result.push_back('0');
  372|    325|        return true;
  373|    325|    }
  374|       |
  375|   108k|    int length = 0;
  376|   108k|    int k;
  377|       |
  378|   108k|    char buffer[100];
  379|       |
  380|   108k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 83.4k, False: 25.1k]
  ------------------
  381|   108k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 104k, False: 3.80k]
  ------------------
  382|   104k|    {
  383|   104k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 80.9k, False: 23.9k]
  ------------------
  384|  80.9k|        {
  385|  80.9k|            result.push_back('-');
  386|  80.9k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|   104k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|   104k|        return true;
  391|   104k|    }
  392|  3.80k|    else
  393|  3.80k|    {
  394|  3.80k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  3.80k|    }
  396|   108k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  3.80k|{
  330|  3.80k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 3.80k]
  ------------------
  331|      0|    {
  332|      0|        result.push_back('0');
  333|      0|        result.push_back('.');
  334|      0|        result.push_back('0');
  335|      0|        return true;
  336|      0|    }
  337|       |
  338|  3.80k|    char buffer[100];
  339|  3.80k|    int precision = std::numeric_limits<double>::digits10;
  340|  3.80k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  3.80k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 3.80k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  3.80k|    double x{0};
  346|  3.80k|    auto res = decstr_to_double(buffer, length, x);
  347|  3.80k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 3.80k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  3.80k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 3.26k, False: 546]
  ------------------
  352|  3.26k|    {
  353|  3.26k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  3.26k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  3.26k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 3.26k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  3.26k|    }
  360|  3.80k|    dump_buffer(buffer, length, decimal_point, result);
  361|  3.80k|    return true;
  362|  3.80k|}

_ZN8jsoncons14unicode_traits8validateIhEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  4.43M|    {
 1148|  4.43M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  4.43M|        const uint8_t* end = it + length;
 1150|       |
 1151|  4.43M|        unicode_errc  result{};
 1152|  4.53M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 97.5k, False: 4.43M]
  ------------------
 1153|  97.5k|        {
 1154|  97.5k|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 90.0k, False: 7.55k]
  ------------------
 1155|  90.0k|            {
 1156|   615k|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  342|   180k|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (342:32): [True: 88.8k, False: 1.18k]
  |  |  |  Branch (342:34): [True: 88.4k, False: 373]
  |  |  |  Branch (342:36): [True: 88.2k, False: 226]
  |  |  |  Branch (342:38): [True: 88.0k, False: 204]
  |  |  |  Branch (342:40): [True: 87.6k, False: 359]
  |  |  |  Branch (342:42): [True: 87.3k, False: 360]
  |  |  |  Branch (342:44): [True: 87.0k, False: 237]
  |  |  |  Branch (342:46): [True: 86.8k, False: 215]
  |  |  ------------------
  ------------------
 1157|  86.8k|                continue;
 1158|   615k|            }
 1159|  10.7k|    non_ascii:
 1160|  10.7k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  10.7k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 46, False: 10.6k]
  ------------------
 1162|     46|            {
 1163|     46|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     46|            }
 1165|  10.6k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 209, False: 10.4k]
  ------------------
 1166|    209|            {
 1167|    209|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    209|            }
 1169|  10.4k|            it += len;
 1170|  10.4k|        }
 1171|  4.43M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  4.43M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  10.6k|    {
  306|  10.6k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  10.6k|        const uint8_t* end = it+length;
  308|       |
  309|  10.6k|        uint8_t byte;
  310|  10.6k|        switch (length) {
  311|     26|        default:
  ------------------
  |  Branch (311:9): [True: 26, False: 10.6k]
  ------------------
  312|     26|            return unicode_errc::over_long_utf8_sequence;
  313|    569|        case 4:
  ------------------
  |  Branch (313:9): [True: 569, False: 10.0k]
  ------------------
  314|    569|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 6, False: 563]
  ------------------
  315|      6|                return unicode_errc::bad_continuation_byte;
  316|    563|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  576|    563|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  1.57k|        case 3:
  ------------------
  |  Branch (317:9): [True: 1.01k, False: 9.64k]
  ------------------
  318|  1.57k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 11, False: 1.56k]
  ------------------
  319|     11|                return unicode_errc::bad_continuation_byte;
  320|  1.56k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  576|  1.56k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  4.05k|        case 2:
  ------------------
  |  Branch (321:9): [True: 2.49k, False: 8.16k]
  ------------------
  322|  4.05k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 60, False: 3.99k]
  ------------------
  323|     60|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  3.99k|            switch (*it) 
  326|  3.99k|            {
  327|       |                // no fall-through in this inner switch
  328|    438|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 438, False: 3.56k]
  |  Branch (328:32): [True: 6, False: 432]
  ------------------
  329|    432|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 262, False: 3.73k]
  |  Branch (329:32): [True: 4, False: 258]
  ------------------
  330|    258|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 204, False: 3.79k]
  |  Branch (330:32): [True: 5, False: 199]
  ------------------
  331|    345|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 345, False: 3.65k]
  |  Branch (331:32): [True: 3, False: 342]
  ------------------
  332|  2.74k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 2.74k, False: 1.24k]
  |  Branch (332:32): [True: 0, False: 2.74k]
  ------------------
  333|  3.99k|            }
  334|       |
  335|  3.98k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  576|  3.98k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  10.5k|        case 1:
  ------------------
  |  Branch (336:9): [True: 6.55k, False: 4.10k]
  ------------------
  337|  10.5k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 4.06k, False: 6.47k]
  |  Branch (337:32): [True: 86, False: 3.97k]
  ------------------
  338|     86|                return unicode_errc::source_illegal;
  339|  10.4k|            break;
  340|  10.6k|        }
  341|  10.4k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 2, False: 10.4k]
  ------------------
  342|      2|            return unicode_errc::source_illegal;
  343|       |
  344|  10.4k|        return unicode_errc();
  345|  10.4k|    }

_ZN8jsoncons7msgpack14decode_msgpackINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEJNS4_11__wrap_iterIPhEESA_EEET_DpOT0_:
  255|  7.04k|{
  256|  7.04k|    auto result = try_decode_msgpack<T>(std::forward<Args>(args)...); 
  257|  7.04k|    if (!result)
  ------------------
  |  Branch (257:9): [True: 4.67k, False: 2.37k]
  ------------------
  258|  4.67k|    {
  259|  4.67k|        JSONCONS_THROW(ser_error(result.error().code(), result.error().line(), result.error().column()));
  ------------------
  |  |   35|  4.67k|    #define JSONCONS_THROW(exception) throw exception
  ------------------
  260|  4.67k|    }
  261|  2.37k|    return std::move(*result);
  262|  7.04k|}
_ZN8jsoncons7msgpack18try_decode_msgpackINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS4_11__wrap_iterIPhEEEENS4_9enable_ifIXsr10ext_traits13is_basic_jsonIT_EE5valueENS_6nonstd8expectedISC_NS_10read_errorEEEE4typeET0_SJ_RKNS0_22msgpack_decode_optionsE:
  119|  7.04k|{
  120|  7.04k|    using value_type = T;
  121|  7.04k|    using result_type = read_result<value_type>;
  122|       |
  123|  7.04k|    std::error_code ec;   
  124|  7.04k|    jsoncons::json_decoder<T> decoder;
  125|  7.04k|    auto adaptor = make_json_visitor_adaptor<json_visitor>(decoder);
  126|  7.04k|    basic_msgpack_reader<iterator_source<InputIt>> reader(iterator_source<InputIt>(first, last), adaptor, options);
  127|  7.04k|    reader.read(ec);
  128|  7.04k|    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  7.04k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4.67k, False: 2.37k]
  |  |  ------------------
  ------------------
  129|  4.67k|    {
  130|  4.67k|        return result_type{jsoncons::unexpect, ec, reader.line(), reader.column()};
  131|  4.67k|    }
  132|  2.37k|    if (JSONCONS_UNLIKELY(!decoder.is_valid()))
  ------------------
  |  |   79|  2.37k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 0, False: 2.37k]
  |  |  ------------------
  ------------------
  133|      0|    {
  134|      0|        return result_type{jsoncons::unexpect, conv_errc::conversion_failed, reader.line(), reader.column()};
  135|      0|    }
  136|  2.37k|    return result_type{decoder.get_result()};
  137|  2.37k|}

_ZN8jsoncons7msgpack15make_error_codeENS0_12msgpack_errcE:
   88|  4.67k|{
   89|  4.67k|    return std::error_code(static_cast<int>(e),msgpack_error_category());
   90|  4.67k|}
_ZN8jsoncons7msgpack22msgpack_error_categoryEv:
   81|  4.67k|{
   82|  4.67k|  static msgpack_error_category_impl instance;
   83|  4.67k|  return instance;
   84|  4.67k|}
_ZNK8jsoncons7msgpack27msgpack_error_category_impl7messageEi:
   44|  4.67k|    {
   45|  4.67k|        switch (static_cast<msgpack_errc>(ev))
   46|  4.67k|        {
   47|  4.40k|            case msgpack_errc::unexpected_eof:
  ------------------
  |  Branch (47:13): [True: 4.40k, False: 264]
  ------------------
   48|  4.40k|                return "Unexpected end of file";
   49|      0|            case msgpack_errc::source_error:
  ------------------
  |  Branch (49:13): [True: 0, False: 4.67k]
  ------------------
   50|      0|                return "Source error";
   51|    255|            case msgpack_errc::invalid_utf8:
  ------------------
  |  Branch (51:13): [True: 255, False: 4.41k]
  ------------------
   52|    255|                return "Illegal UTF-8 encoding in text string";
   53|      0|            case msgpack_errc::array_length_required:
  ------------------
  |  Branch (53:13): [True: 0, False: 4.67k]
  ------------------
   54|      0|                return "MessagePack encoder requires array length";
   55|      0|            case msgpack_errc::object_length_required:
  ------------------
  |  Branch (55:13): [True: 0, False: 4.67k]
  ------------------
   56|      0|                return "MessagePack encoder requires object length";
   57|      0|            case msgpack_errc::too_many_items:
  ------------------
  |  Branch (57:13): [True: 0, False: 4.67k]
  ------------------
   58|      0|                return "Too many items were added to a MessagePack object or array";
   59|      0|            case msgpack_errc::too_few_items:
  ------------------
  |  Branch (59:13): [True: 0, False: 4.67k]
  ------------------
   60|      0|                return "Too few items were added to a MessagePack object or array";
   61|      3|            case msgpack_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (61:13): [True: 3, False: 4.66k]
  ------------------
   62|      3|                return "Data item nesting exceeds limit in options";
   63|      0|            case msgpack_errc::unmatched_end_object:
  ------------------
  |  Branch (63:13): [True: 0, False: 4.67k]
  ------------------
   64|      0|                return "Unmatched end object";
   65|      0|            case msgpack_errc::unmatched_end_array:
  ------------------
  |  Branch (65:13): [True: 0, False: 4.67k]
  ------------------
   66|      0|                return "Unmatched end array";
   67|      0|            case msgpack_errc::length_is_negative:
  ------------------
  |  Branch (67:13): [True: 0, False: 4.67k]
  ------------------
   68|      0|                return "Request for the length of an array, map or string returned a negative result";
   69|      0|            case msgpack_errc::invalid_timestamp:
  ------------------
  |  Branch (69:13): [True: 0, False: 4.67k]
  ------------------
   70|      0|                return "Invalid timestamp";
   71|      6|            case msgpack_errc::unknown_type:
  ------------------
  |  Branch (71:13): [True: 6, False: 4.66k]
  ------------------
   72|      6|                return "Unknown type in input";
   73|      0|            default:
  ------------------
  |  Branch (73:13): [True: 0, False: 4.67k]
  ------------------
   74|      0|                return "Unknown MessagePack parser error";
   75|  4.67k|        }
   76|  4.67k|    }

_ZNK8jsoncons7msgpack22msgpack_options_common17max_nesting_depthEv:
   31|  7.04k|    {
   32|  7.04k|        return max_nesting_depth_;
   33|  7.04k|    }
_ZN8jsoncons7msgpack22msgpack_decode_optionsC1Ev:
   40|  7.04k|    msgpack_decode_options() = default;
_ZN8jsoncons7msgpack22msgpack_options_commonC2Ev:
   23|  7.04k|    msgpack_options_common() = default;
_ZN8jsoncons7msgpack22msgpack_options_commonD2Ev:
   26|  7.04k|    virtual ~msgpack_options_common() = default;

_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEEC2IS7_EEOT_RKNS0_22msgpack_decode_optionsERKS9_:
   86|  7.04k|       : source_(std::forward<Sourceable>(source)),
   87|  7.04k|         max_nesting_depth_(options.max_nesting_depth()),
   88|  7.04k|         text_buffer_(alloc),
   89|  7.04k|         bytes_buffer_(alloc),
   90|  7.04k|         state_stack_(alloc)
   91|  7.04k|    {
   92|  7.04k|        state_stack_.emplace_back(parse_mode::root,0);
   93|  7.04k|    }
_ZN8jsoncons7msgpack11parse_stateC2ENS0_10parse_modeEm:
   46|  4.19M|        : mode(mode), length(length)
   47|  4.19M|    {
   48|  4.19M|    }
_ZNK8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE4lineEv:
  149|  4.67k|    {
  150|  4.67k|        return 0;
  151|  4.67k|    }
_ZNK8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE6columnEv:
  154|  4.67k|    {
  155|  4.67k|        return source_.position();
  156|  4.67k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE5resetEv:
  101|  7.04k|    {
  102|  7.04k|        more_ = true;
  103|  7.04k|        done_ = false;
  104|  7.04k|        text_buffer_.clear();
  105|  7.04k|        bytes_buffer_.clear();
  106|  7.04k|        state_stack_.clear();
  107|  7.04k|        state_stack_.emplace_back(parse_mode::root,0);
  108|  7.04k|        nesting_depth_ = 0;
  109|  7.04k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE5parseERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  159|  7.04k|    {
  160|  67.8M|        while (!done_ && more_)
  ------------------
  |  Branch (160:16): [True: 67.8M, False: 2.37k]
  |  Branch (160:26): [True: 67.8M, False: 0]
  ------------------
  161|  67.8M|        {
  162|  67.8M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (162:21): [True: 67.8M, False: 0]
  ------------------
  163|  67.8M|            {
  164|  39.4M|                case parse_mode::array:
  ------------------
  |  Branch (164:17): [True: 39.4M, False: 28.4M]
  ------------------
  165|  39.4M|                {
  166|  39.4M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (166:25): [True: 38.0M, False: 1.37M]
  ------------------
  167|  38.0M|                    {
  168|  38.0M|                        ++state_stack_.back().index;
  169|  38.0M|                        read_item(visitor, ec);
  170|  38.0M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  38.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1.32k, False: 38.0M]
  |  |  ------------------
  ------------------
  171|  1.32k|                        {
  172|  1.32k|                            return;
  173|  1.32k|                        }
  174|  38.0M|                    }
  175|  1.37M|                    else
  176|  1.37M|                    {
  177|  1.37M|                        end_array(visitor, ec);
  178|  1.37M|                    }
  179|  39.4M|                    break;
  180|  39.4M|                }
  181|  39.4M|                case parse_mode::map_key:
  ------------------
  |  Branch (181:17): [True: 15.5M, False: 52.2M]
  ------------------
  182|  15.5M|                {
  183|  15.5M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (183:25): [True: 12.8M, False: 2.76M]
  ------------------
  184|  12.8M|                    {
  185|  12.8M|                        ++state_stack_.back().index;
  186|  12.8M|                        state_stack_.back().mode = parse_mode::map_value;
  187|  12.8M|                        read_item(visitor, ec);
  188|  12.8M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  12.8M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 971, False: 12.8M]
  |  |  ------------------
  ------------------
  189|    971|                        {
  190|    971|                            return;
  191|    971|                        }
  192|  12.8M|                    }
  193|  2.76M|                    else
  194|  2.76M|                    {
  195|  2.76M|                        end_object(visitor, ec);
  196|  2.76M|                    }
  197|  15.5M|                    break;
  198|  15.5M|                }
  199|  15.5M|                case parse_mode::map_value:
  ------------------
  |  Branch (199:17): [True: 12.8M, False: 55.0M]
  ------------------
  200|  12.8M|                {
  201|  12.8M|                    state_stack_.back().mode = parse_mode::map_key;
  202|  12.8M|                    read_item(visitor, ec);
  203|  12.8M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  12.8M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1.89k, False: 12.8M]
  |  |  ------------------
  ------------------
  204|  1.89k|                    {
  205|  1.89k|                        return;
  206|  1.89k|                    }
  207|  12.8M|                    break;
  208|  12.8M|                }
  209|  12.8M|                case parse_mode::root:
  ------------------
  |  Branch (209:17): [True: 7.04k, False: 67.8M]
  ------------------
  210|  7.04k|                {
  211|  7.04k|                    state_stack_.back().mode = parse_mode::accept;
  212|  7.04k|                    read_item(visitor, ec);
  213|  7.04k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  7.04k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 486, False: 6.55k]
  |  |  ------------------
  ------------------
  214|    486|                    {
  215|    486|                        return;
  216|    486|                    }
  217|  6.55k|                    break;
  218|  7.04k|                }
  219|  6.55k|                case parse_mode::accept:
  ------------------
  |  Branch (219:17): [True: 2.37k, False: 67.8M]
  ------------------
  220|  2.37k|                {
  221|  2.37k|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   67|  2.37k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (67:32): [True: 0, False: 2.37k]
  |  |  ------------------
  |  |   68|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   69|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  222|  2.37k|                    state_stack_.clear();
  223|  2.37k|                    more_ = false;
  224|  2.37k|                    done_ = true;
  225|  2.37k|                    visitor.flush();
  226|  2.37k|                    break;
  227|  2.37k|                }
  228|  67.8M|            }
  229|  67.8M|        }
  230|  7.04k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE9read_itemERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  234|  63.6M|    {
  235|  63.6M|        if (source_.is_error())
  ------------------
  |  Branch (235:13): [True: 0, False: 63.6M]
  ------------------
  236|      0|        {
  237|      0|            ec = msgpack_errc::source_error;
  238|      0|            more_ = false;
  239|      0|            return;
  240|      0|        }   
  241|       |
  242|  63.6M|        uint8_t type;
  243|  63.6M|        if (source_.read(&type, 1) == 0)
  ------------------
  |  Branch (243:13): [True: 3.63k, False: 63.6M]
  ------------------
  244|  3.63k|        {
  245|  3.63k|            ec = msgpack_errc::unexpected_eof;
  246|  3.63k|            more_ = false;
  247|  3.63k|            return;
  248|  3.63k|        }
  249|       |
  250|  63.6M|        if (type <= 0xbf)
  ------------------
  |  Branch (250:13): [True: 34.2M, False: 29.3M]
  ------------------
  251|  34.2M|        {
  252|  34.2M|            if (type <= 0x7f) 
  ------------------
  |  Branch (252:17): [True: 25.7M, False: 8.59M]
  ------------------
  253|  25.7M|            {
  254|       |                // positive fixint
  255|  25.7M|                visitor.uint64_value(type, semantic_tag::none, *this, ec);
  256|  25.7M|                more_ = !cursor_mode_;
  257|  25.7M|            }
  258|  8.59M|            else if (type <= 0x8f) 
  ------------------
  |  Branch (258:22): [True: 2.76M, False: 5.82M]
  ------------------
  259|  2.76M|            {
  260|  2.76M|                begin_object(visitor,type,ec); // fixmap
  261|  2.76M|            }
  262|  5.82M|            else if (type <= 0x9f) 
  ------------------
  |  Branch (262:22): [True: 1.39M, False: 4.43M]
  ------------------
  263|  1.39M|            {
  264|  1.39M|                begin_array(visitor,type,ec); // fixarray
  265|  1.39M|            }
  266|  4.43M|            else 
  267|  4.43M|            {
  268|       |                // fixstr
  269|  4.43M|                const size_t len = type & 0x1f;
  270|       |
  271|  4.43M|                auto data = source_.read_span(len, bytes_buffer_);
  272|  4.43M|                if (data.size() != static_cast<std::size_t>(len))
  ------------------
  |  Branch (272:21): [True: 39, False: 4.43M]
  ------------------
  273|     39|                {
  274|     39|                    ec = msgpack_errc::unexpected_eof;
  275|     39|                    more_ = false;
  276|     39|                    return;
  277|     39|                }
  278|       |
  279|  4.43M|                auto result = unicode_traits::validate(data.data(), data.size());
  280|  4.43M|                if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (280:21): [True: 211, False: 4.43M]
  ------------------
  281|    211|                {
  282|    211|                    ec = msgpack_errc::invalid_utf8;
  283|    211|                    more_ = false;
  284|    211|                    return;
  285|    211|                }
  286|  4.43M|                visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  287|  4.43M|                    semantic_tag::none, *this, ec);
  288|  4.43M|                more_ = !cursor_mode_;
  289|  4.43M|            }
  290|  34.2M|        }
  291|  29.3M|        else if (type >= 0xe0) 
  ------------------
  |  Branch (291:18): [True: 19.7M, False: 9.64M]
  ------------------
  292|  19.7M|        {
  293|       |            // negative fixint
  294|  19.7M|            visitor.int64_value(static_cast<int8_t>(type), semantic_tag::none, *this, ec);
  295|  19.7M|            more_ = !cursor_mode_;
  296|  19.7M|        }
  297|  9.64M|        else
  298|  9.64M|        {
  299|  9.64M|            switch (type)
  300|  9.64M|            {
  301|  4.64M|                case jsoncons::msgpack::msgpack_type::nil_type: 
  ------------------
  |  Branch (301:17): [True: 4.64M, False: 4.99M]
  ------------------
  302|  4.64M|                {
  303|  4.64M|                    visitor.null_value(semantic_tag::none, *this, ec);
  304|  4.64M|                    more_ = !cursor_mode_;
  305|  4.64M|                    break;
  306|      0|                }
  307|  3.05M|                case jsoncons::msgpack::msgpack_type::true_type:
  ------------------
  |  Branch (307:17): [True: 3.05M, False: 6.59M]
  ------------------
  308|  3.05M|                {
  309|  3.05M|                    visitor.bool_value(true, semantic_tag::none, *this, ec);
  310|  3.05M|                    more_ = !cursor_mode_;
  311|  3.05M|                    break;
  312|      0|                }
  313|  1.39M|                case jsoncons::msgpack::msgpack_type::false_type:
  ------------------
  |  Branch (313:17): [True: 1.39M, False: 8.24M]
  ------------------
  314|  1.39M|                {
  315|  1.39M|                    visitor.bool_value(false, semantic_tag::none, *this, ec);
  316|  1.39M|                    more_ = !cursor_mode_;
  317|  1.39M|                    break;
  318|      0|                }
  319|   102k|                case jsoncons::msgpack::msgpack_type::float32_type: 
  ------------------
  |  Branch (319:17): [True: 102k, False: 9.54M]
  ------------------
  320|   102k|                {
  321|   102k|                    uint8_t buf[sizeof(float)];
  322|   102k|                    if (source_.read(buf, sizeof(float)) != sizeof(float))
  ------------------
  |  Branch (322:25): [True: 27, False: 102k]
  ------------------
  323|     27|                    {
  324|     27|                        ec = msgpack_errc::unexpected_eof;
  325|     27|                        more_ = false;
  326|     27|                        return;
  327|     27|                    }
  328|   102k|                    float val = binary::big_to_native<float>(buf, sizeof(buf));
  329|   102k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  330|   102k|                    more_ = !cursor_mode_;
  331|   102k|                    break;
  332|   102k|                }
  333|       |
  334|  23.7k|                case jsoncons::msgpack::msgpack_type::float64_type: 
  ------------------
  |  Branch (334:17): [True: 23.7k, False: 9.62M]
  ------------------
  335|  23.7k|                {
  336|  23.7k|                    uint8_t buf[sizeof(double)];
  337|  23.7k|                    if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (337:25): [True: 24, False: 23.7k]
  ------------------
  338|     24|                    {
  339|     24|                        ec = msgpack_errc::unexpected_eof;
  340|     24|                        more_ = false;
  341|     24|                        return;
  342|     24|                    }
  343|  23.7k|                    double val = binary::big_to_native<double>(buf, sizeof(buf));
  344|  23.7k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  345|  23.7k|                    more_ = !cursor_mode_;
  346|  23.7k|                    break;
  347|  23.7k|                }
  348|       |
  349|  3.71k|                case jsoncons::msgpack::msgpack_type::uint8_type: 
  ------------------
  |  Branch (349:17): [True: 3.71k, False: 9.64M]
  ------------------
  350|  3.71k|                {
  351|  3.71k|                    uint8_t b;
  352|  3.71k|                    if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (352:25): [True: 7, False: 3.70k]
  ------------------
  353|      7|                    {
  354|      7|                        ec = msgpack_errc::unexpected_eof;
  355|      7|                        more_ = false;
  356|      7|                        return;
  357|      7|                    }
  358|  3.70k|                    visitor.uint64_value(b, semantic_tag::none, *this, ec);
  359|  3.70k|                    more_ = !cursor_mode_;
  360|  3.70k|                    break;
  361|  3.71k|                }
  362|       |
  363|    569|                case jsoncons::msgpack::msgpack_type::uint16_type: 
  ------------------
  |  Branch (363:17): [True: 569, False: 9.64M]
  ------------------
  364|    569|                {
  365|    569|                    uint8_t buf[sizeof(uint16_t)];
  366|    569|                    if (source_.read(buf, sizeof(uint16_t)) !=sizeof(uint16_t)) 
  ------------------
  |  Branch (366:25): [True: 8, False: 561]
  ------------------
  367|      8|                    {
  368|      8|                        ec = msgpack_errc::unexpected_eof;
  369|      8|                        more_ = false;
  370|      8|                        return;
  371|      8|                    }
  372|    561|                    uint16_t val = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  373|    561|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  374|    561|                    more_ = !cursor_mode_;
  375|    561|                    break;
  376|    569|                }
  377|       |
  378|    744|                case jsoncons::msgpack::msgpack_type::uint32_type: 
  ------------------
  |  Branch (378:17): [True: 744, False: 9.64M]
  ------------------
  379|    744|                {
  380|    744|                    uint8_t buf[sizeof(uint32_t)];
  381|    744|                    if (source_.read(buf, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (381:25): [True: 8, False: 736]
  ------------------
  382|      8|                    {
  383|      8|                        ec = msgpack_errc::unexpected_eof;
  384|      8|                        more_ = false;
  385|      8|                        return;
  386|      8|                    }
  387|    736|                    uint32_t val = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  388|    736|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  389|    736|                    more_ = !cursor_mode_;
  390|    736|                    break;
  391|    744|                }
  392|       |
  393|  6.81k|                case jsoncons::msgpack::msgpack_type::uint64_type: 
  ------------------
  |  Branch (393:17): [True: 6.81k, False: 9.63M]
  ------------------
  394|  6.81k|                {
  395|  6.81k|                    uint8_t buf[sizeof(uint64_t)];
  396|  6.81k|                    if (source_.read(buf, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (396:25): [True: 13, False: 6.80k]
  ------------------
  397|     13|                    {
  398|     13|                        ec = msgpack_errc::unexpected_eof;
  399|     13|                        more_ = false;
  400|     13|                        return;
  401|     13|                    }
  402|  6.80k|                    uint64_t val = binary::big_to_native<uint64_t>(buf, sizeof(buf));
  403|  6.80k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  404|  6.80k|                    more_ = !cursor_mode_;
  405|  6.80k|                    break;
  406|  6.81k|                }
  407|       |
  408|  28.7k|                case jsoncons::msgpack::msgpack_type::int8_type: 
  ------------------
  |  Branch (408:17): [True: 28.7k, False: 9.61M]
  ------------------
  409|  28.7k|                {
  410|  28.7k|                    uint8_t buf[sizeof(int8_t)];
  411|  28.7k|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (411:25): [True: 6, False: 28.7k]
  ------------------
  412|      6|                    {
  413|      6|                        ec = msgpack_errc::unexpected_eof;
  414|      6|                        more_ = false;
  415|      6|                        return;
  416|      6|                    }
  417|  28.7k|                    int8_t val = binary::big_to_native<int8_t>(buf, sizeof(buf));
  418|  28.7k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  419|  28.7k|                    more_ = !cursor_mode_;
  420|  28.7k|                    break;
  421|  28.7k|                }
  422|       |
  423|  1.67k|                case jsoncons::msgpack::msgpack_type::int16_type: 
  ------------------
  |  Branch (423:17): [True: 1.67k, False: 9.64M]
  ------------------
  424|  1.67k|                {
  425|  1.67k|                    uint8_t buf[sizeof(int16_t)];
  426|  1.67k|                    if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (426:25): [True: 8, False: 1.66k]
  ------------------
  427|      8|                    {
  428|      8|                        ec = msgpack_errc::unexpected_eof;
  429|      8|                        more_ = false;
  430|      8|                        return;
  431|      8|                    }
  432|  1.66k|                    int16_t val = binary::big_to_native<int16_t>(buf, sizeof(buf));
  433|  1.66k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  434|  1.66k|                    more_ = !cursor_mode_;
  435|  1.66k|                    break;
  436|  1.67k|                }
  437|       |
  438|  15.2k|                case jsoncons::msgpack::msgpack_type::int32_type: 
  ------------------
  |  Branch (438:17): [True: 15.2k, False: 9.63M]
  ------------------
  439|  15.2k|                {
  440|  15.2k|                    uint8_t buf[sizeof(int32_t)];
  441|  15.2k|                    if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (441:25): [True: 6, False: 15.2k]
  ------------------
  442|      6|                    {
  443|      6|                        ec = msgpack_errc::unexpected_eof;
  444|      6|                        more_ = false;
  445|      6|                        return;
  446|      6|                    }
  447|  15.2k|                    int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  448|  15.2k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  449|  15.2k|                    more_ = !cursor_mode_;
  450|  15.2k|                    break;
  451|  15.2k|                }
  452|       |
  453|    800|                case jsoncons::msgpack::msgpack_type::int64_type: 
  ------------------
  |  Branch (453:17): [True: 800, False: 9.64M]
  ------------------
  454|    800|                {
  455|    800|                    uint8_t buf[sizeof(int64_t)];
  456|    800|                    if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (456:25): [True: 11, False: 789]
  ------------------
  457|     11|                    {
  458|     11|                        ec = msgpack_errc::unexpected_eof;
  459|     11|                        more_ = false;
  460|     11|                        return;
  461|     11|                    }
  462|    789|                    int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  463|    789|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  464|    789|                    more_ = !cursor_mode_;
  465|    789|                    break;
  466|    800|                }
  467|       |
  468|    377|                case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (468:17): [True: 377, False: 9.64M]
  ------------------
  469|    720|                case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (469:17): [True: 343, False: 9.64M]
  ------------------
  470|  2.49k|                case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (470:17): [True: 1.77k, False: 9.64M]
  ------------------
  471|  2.49k|                {
  472|  2.49k|                    std::size_t len = get_size(type, ec);
  473|  2.49k|                    if (!more_)
  ------------------
  |  Branch (473:25): [True: 22, False: 2.47k]
  ------------------
  474|     22|                    {
  475|     22|                        return;
  476|     22|                    }
  477|       |
  478|  2.47k|                    auto data = source_.read_span(len, bytes_buffer_);
  479|  2.47k|                    if (data.size() != static_cast<std::size_t>(len))
  ------------------
  |  Branch (479:25): [True: 103, False: 2.37k]
  ------------------
  480|    103|                    {
  481|    103|                        ec = msgpack_errc::unexpected_eof;
  482|    103|                        more_ = false;
  483|    103|                        return;
  484|    103|                    }
  485|       |
  486|  2.37k|                    auto result = unicode_traits::validate(data.data(), data.size());
  487|  2.37k|                    if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (487:25): [True: 44, False: 2.32k]
  ------------------
  488|     44|                    {
  489|     44|                        ec = msgpack_errc::invalid_utf8;
  490|     44|                        more_ = false;
  491|     44|                        return;
  492|     44|                    }
  493|  2.32k|                    visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  494|  2.32k|                        semantic_tag::none, *this, ec);
  495|  2.32k|                    more_ = !cursor_mode_;
  496|  2.32k|                    break;
  497|  2.37k|                }
  498|       |
  499|  76.2k|                case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (499:17): [True: 76.2k, False: 9.56M]
  ------------------
  500|  81.3k|                case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (500:17): [True: 5.04k, False: 9.64M]
  ------------------
  501|  81.5k|                case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (501:17): [True: 266, False: 9.64M]
  ------------------
  502|  81.5k|                {
  503|  81.5k|                    std::size_t len = get_size(type,ec);
  504|  81.5k|                    if (!more_)
  ------------------
  |  Branch (504:25): [True: 36, False: 81.5k]
  ------------------
  505|     36|                    {
  506|     36|                        return;
  507|     36|                    }
  508|  81.5k|                    auto data = source_.read_span(len, bytes_buffer_);
  509|  81.5k|                    if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   79|  81.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 137, False: 81.4k]
  |  |  ------------------
  ------------------
  510|    137|                    {
  511|    137|                        ec = msgpack_errc::unexpected_eof;
  512|    137|                        more_ = false;
  513|    137|                        return;
  514|    137|                    }
  515|       |
  516|  81.4k|                    visitor.byte_string_value(byte_string_view(data.data(),data.size()), 
  517|  81.4k|                        semantic_tag::none, 
  518|  81.4k|                        *this,
  519|  81.4k|                        ec);
  520|  81.4k|                    more_ = !cursor_mode_;
  521|  81.4k|                    break;
  522|  81.5k|                }
  523|   181k|                case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (523:17): [True: 181k, False: 9.46M]
  ------------------
  524|   185k|                case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (524:17): [True: 3.23k, False: 9.64M]
  ------------------
  525|   186k|                case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (525:17): [True: 1.25k, False: 9.64M]
  ------------------
  526|   227k|                case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (526:17): [True: 41.4k, False: 9.60M]
  ------------------
  527|   239k|                case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (527:17): [True: 12.1k, False: 9.63M]
  ------------------
  528|   250k|                case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (528:17): [True: 10.9k, False: 9.63M]
  ------------------
  529|   253k|                case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (529:17): [True: 2.49k, False: 9.64M]
  ------------------
  530|   261k|                case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (530:17): [True: 7.99k, False: 9.63M]
  ------------------
  531|   261k|                {
  532|   261k|                    std::size_t len = get_size(type,ec);
  533|   261k|                    if (!more_)
  ------------------
  |  Branch (533:25): [True: 25, False: 261k]
  ------------------
  534|     25|                    {
  535|     25|                        return;
  536|     25|                    }
  537|       |
  538|       |                    // type
  539|   261k|                    uint8_t buf[sizeof(int8_t)];
  540|   261k|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (540:25): [True: 51, False: 261k]
  ------------------
  541|     51|                    {
  542|     51|                        ec = msgpack_errc::unexpected_eof;
  543|     51|                        more_ = false;
  544|     51|                        return;
  545|     51|                    }
  546|       |
  547|   261k|                    int8_t ext_type = binary::big_to_native<int8_t>(buf, sizeof(buf));
  548|       |
  549|   261k|                    bool is_timestamp = false; 
  550|   261k|                    if (ext_type == -1)
  ------------------
  |  Branch (550:25): [True: 61.2k, False: 200k]
  ------------------
  551|  61.2k|                    {
  552|  61.2k|                        is_timestamp = true;;
  553|  61.2k|                    }
  554|       |
  555|       |                    // payload
  556|   261k|                    if (is_timestamp && len == 4)
  ------------------
  |  Branch (556:25): [True: 61.2k, False: 200k]
  |  Branch (556:41): [True: 312, False: 60.9k]
  ------------------
  557|    312|                    {
  558|    312|                        uint8_t buf32[sizeof(uint32_t)];
  559|    312|                        if (source_.read(buf32, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (559:29): [True: 7, False: 305]
  ------------------
  560|      7|                        {
  561|      7|                            ec = msgpack_errc::unexpected_eof;
  562|      7|                            more_ = false;
  563|      7|                            return;
  564|      7|                        }
  565|    305|                        uint32_t val = binary::big_to_native<uint32_t>(buf32, sizeof(buf32));
  566|    305|                        visitor.uint64_value(val, semantic_tag::epoch_second, *this, ec);
  567|    305|                        more_ = !cursor_mode_;
  568|    305|                    }
  569|   261k|                    else if (is_timestamp && len == 8)
  ------------------
  |  Branch (569:30): [True: 60.9k, False: 200k]
  |  Branch (569:46): [True: 39.5k, False: 21.3k]
  ------------------
  570|  39.5k|                    {
  571|  39.5k|                        uint8_t buf64[sizeof(uint64_t)];
  572|  39.5k|                        if (source_.read(buf64, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (572:29): [True: 11, False: 39.5k]
  ------------------
  573|     11|                        {
  574|     11|                            ec = msgpack_errc::unexpected_eof;
  575|     11|                            more_ = false;
  576|     11|                            return;
  577|     11|                        }
  578|  39.5k|                        uint64_t data64 = binary::big_to_native<uint64_t>(buf64, sizeof(buf64));
  579|  39.5k|                        uint64_t sec = data64 & 0x00000003ffffffffL;
  580|  39.5k|                        uint64_t nsec = data64 >> 34;
  581|       |
  582|  39.5k|                        bigint nano(sec);
  583|  39.5k|                        nano *= uint64_t(nanos_in_second);
  584|  39.5k|                        nano += nsec;
  585|  39.5k|                        text_buffer_.clear();
  586|  39.5k|                        nano.append_to_string(text_buffer_);
  587|  39.5k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  588|  39.5k|                        more_ = !cursor_mode_;
  589|  39.5k|                        if (!more_) return;
  ------------------
  |  Branch (589:29): [True: 0, False: 39.5k]
  ------------------
  590|  39.5k|                    }
  591|   221k|                    else if (is_timestamp && len == 12)
  ------------------
  |  Branch (591:30): [True: 21.3k, False: 200k]
  |  Branch (591:46): [True: 20.0k, False: 1.32k]
  ------------------
  592|  20.0k|                    {
  593|  20.0k|                        uint8_t buf1[sizeof(uint32_t)];
  594|  20.0k|                        if (source_.read(buf1, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (594:29): [True: 13, False: 20.0k]
  ------------------
  595|     13|                        {
  596|     13|                            ec = msgpack_errc::unexpected_eof;
  597|     13|                            more_ = false;
  598|     13|                            return;
  599|     13|                        }
  600|  20.0k|                        uint32_t nsec = binary::big_to_native<uint32_t>(buf1, sizeof(buf1));
  601|       |
  602|  20.0k|                        uint8_t buf2[sizeof(int64_t)];
  603|  20.0k|                        if (source_.read(buf2, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (603:29): [True: 18, False: 19.9k]
  ------------------
  604|     18|                        {
  605|     18|                            ec = msgpack_errc::unexpected_eof;
  606|     18|                            more_ = false;
  607|     18|                            return;
  608|     18|                        }
  609|  19.9k|                        int64_t sec = binary::big_to_native<int64_t>(buf2, sizeof(buf2));
  610|       |
  611|  19.9k|                        bigint nano(sec);
  612|       |
  613|  19.9k|                        nano *= uint64_t(nanos_in_second);
  614|       |
  615|  19.9k|                        if (nano < 0)
  ------------------
  |  Branch (615:29): [True: 10.1k, False: 9.86k]
  ------------------
  616|  10.1k|                        {
  617|  10.1k|                            nano -= nsec;
  618|  10.1k|                        }
  619|  9.86k|                        else
  620|  9.86k|                        {
  621|  9.86k|                            nano += nsec;
  622|  9.86k|                        }
  623|       |
  624|  19.9k|                        text_buffer_.clear();
  625|  19.9k|                        nano.append_to_string(text_buffer_);
  626|  19.9k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  627|  19.9k|                        more_ = !cursor_mode_;
  628|  19.9k|                        if (!more_) return;
  ------------------
  |  Branch (628:29): [True: 0, False: 19.9k]
  ------------------
  629|  19.9k|                    }
  630|   201k|                    else
  631|   201k|                    {
  632|   201k|                        auto data = source_.read_span(len, bytes_buffer_);
  633|   201k|                        if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   79|   201k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 144, False: 201k]
  |  |  ------------------
  ------------------
  634|    144|                        {
  635|    144|                            ec = msgpack_errc::unexpected_eof;
  636|    144|                            more_ = false;
  637|    144|                            return;
  638|    144|                        }
  639|       |
  640|   201k|                        visitor.byte_string_value(byte_string_view(data.data(),data.size()), 
  641|   201k|                                                          static_cast<uint8_t>(ext_type), 
  642|   201k|                                                          *this,
  643|   201k|                                                          ec);
  644|   201k|                        more_ = !cursor_mode_;
  645|   201k|                    }
  646|   261k|                    break;
  647|   261k|                }
  648|       |
  649|   261k|                case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (649:17): [True: 1.67k, False: 9.64M]
  ------------------
  650|  2.81k|                case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (650:17): [True: 1.14k, False: 9.64M]
  ------------------
  651|  2.81k|                {
  652|  2.81k|                    begin_array(visitor,type,ec);
  653|  2.81k|                    break;
  654|  1.67k|                }
  655|       |
  656|  13.0k|                case jsoncons::msgpack::msgpack_type::map16_type : 
  ------------------
  |  Branch (656:17): [True: 13.0k, False: 9.63M]
  ------------------
  657|  14.0k|                case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (657:17): [True: 1.04k, False: 9.64M]
  ------------------
  658|  14.0k|                {
  659|  14.0k|                    begin_object(visitor, type, ec);
  660|  14.0k|                    break;
  661|  13.0k|                }
  662|       |
  663|      6|                default:
  ------------------
  |  Branch (663:17): [True: 6, False: 9.64M]
  ------------------
  664|      6|                {
  665|      6|                    ec = msgpack_errc::unknown_type;
  666|      6|                    more_ = false;
  667|      6|                    return;
  668|  13.0k|                }
  669|  9.64M|            }
  670|  9.64M|        }
  671|  63.6M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE12begin_objectERNS_21basic_generic_visitorIcEEhRNS3_10error_codeE:
  701|  2.77M|    {
  702|  2.77M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   79|  2.77M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 1, False: 2.77M]
  |  |  ------------------
  ------------------
  703|      1|        {
  704|      1|            ec = msgpack_errc::max_nesting_depth_exceeded;
  705|      1|            more_ = false;
  706|      1|            return;
  707|      1|        } 
  708|  2.77M|        std::size_t length = get_size(type, ec);
  709|  2.77M|        if (!more_)
  ------------------
  |  Branch (709:13): [True: 20, False: 2.77M]
  ------------------
  710|     20|        {
  711|     20|            return;
  712|     20|        }
  713|  2.77M|        state_stack_.emplace_back(parse_mode::map_key,length);
  714|  2.77M|        visitor.begin_object(length, semantic_tag::none, *this, ec);
  715|  2.77M|        more_ = !cursor_mode_;
  716|  2.77M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE11begin_arrayERNS_21basic_generic_visitorIcEEhRNS3_10error_codeE:
  674|  1.39M|    {
  675|  1.39M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   79|  1.39M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 2, False: 1.39M]
  |  |  ------------------
  ------------------
  676|      2|        {
  677|      2|            ec = msgpack_errc::max_nesting_depth_exceeded;
  678|      2|            more_ = false;
  679|      2|            return;
  680|      2|        } 
  681|  1.39M|        std::size_t length = get_size(type, ec);
  682|  1.39M|        if (!more_)
  ------------------
  |  Branch (682:13): [True: 31, False: 1.39M]
  ------------------
  683|     31|        {
  684|     31|            return;
  685|     31|        }
  686|  1.39M|        state_stack_.emplace_back(parse_mode::array,length);
  687|  1.39M|        visitor.begin_array(length, semantic_tag::none, *this, ec);
  688|  1.39M|        more_ = !cursor_mode_;
  689|  1.39M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE8get_sizeEhRNS3_10error_codeE:
  727|  4.52M|    {
  728|  4.52M|        switch (type)
  729|  4.52M|        {
  730|    377|            case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (730:13): [True: 377, False: 4.52M]
  ------------------
  731|  76.6k|            case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (731:13): [True: 76.2k, False: 4.44M]
  ------------------
  732|  87.6k|            case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (732:13): [True: 10.9k, False: 4.51M]
  ------------------
  733|  87.6k|            {
  734|  87.6k|                uint8_t buf[sizeof(int8_t)];
  735|  87.6k|                if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (735:21): [True: 33, False: 87.5k]
  ------------------
  736|     33|                {
  737|     33|                    ec = msgpack_errc::unexpected_eof;
  738|     33|                    more_ = false;
  739|     33|                    return 0;
  740|     33|                }
  741|  87.5k|                uint8_t len = binary::big_to_native<uint8_t>(buf, sizeof(buf));
  742|  87.5k|                return static_cast<std::size_t>(len);
  743|  87.6k|            }
  744|       |
  745|    343|            case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (745:13): [True: 343, False: 4.52M]
  ------------------
  746|  5.38k|            case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (746:13): [True: 5.04k, False: 4.51M]
  ------------------
  747|  7.87k|            case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (747:13): [True: 2.49k, False: 4.52M]
  ------------------
  748|  9.54k|            case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (748:13): [True: 1.67k, False: 4.52M]
  ------------------
  749|  22.5k|            case jsoncons::msgpack::msgpack_type::map16_type:
  ------------------
  |  Branch (749:13): [True: 13.0k, False: 4.51M]
  ------------------
  750|  22.5k|            {
  751|  22.5k|                uint8_t buf[sizeof(int16_t)];
  752|  22.5k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (752:21): [True: 53, False: 22.5k]
  ------------------
  753|     53|                {
  754|     53|                    ec = msgpack_errc::unexpected_eof;
  755|     53|                    more_ = false;
  756|     53|                    return 0;
  757|     53|                }
  758|  22.5k|                uint16_t len = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  759|  22.5k|                return static_cast<std::size_t>(len);
  760|  22.5k|            }
  761|       |
  762|  1.77k|            case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (762:13): [True: 1.77k, False: 4.52M]
  ------------------
  763|  2.04k|            case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (763:13): [True: 266, False: 4.52M]
  ------------------
  764|  10.0k|            case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (764:13): [True: 7.99k, False: 4.51M]
  ------------------
  765|  11.1k|            case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (765:13): [True: 1.14k, False: 4.52M]
  ------------------
  766|  12.2k|            case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (766:13): [True: 1.04k, False: 4.52M]
  ------------------
  767|  12.2k|            {
  768|  12.2k|                uint8_t buf[sizeof(int32_t)];
  769|  12.2k|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (769:21): [True: 48, False: 12.1k]
  ------------------
  770|     48|                {
  771|     48|                    ec = msgpack_errc::unexpected_eof;
  772|     48|                    more_ = false;
  773|     48|                    return 0;
  774|     48|                }
  775|  12.1k|                uint32_t len = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  776|  12.1k|                return static_cast<std::size_t>(len);
  777|  12.2k|            }
  778|   181k|            case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (778:13): [True: 181k, False: 4.34M]
  ------------------
  779|   181k|                return 1;
  780|  3.23k|            case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (780:13): [True: 3.23k, False: 4.52M]
  ------------------
  781|  3.23k|                return 2;
  782|  1.25k|            case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (782:13): [True: 1.25k, False: 4.52M]
  ------------------
  783|  1.25k|                return 4;
  784|  41.4k|            case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (784:13): [True: 41.4k, False: 4.48M]
  ------------------
  785|  41.4k|                return 8;
  786|  12.1k|            case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (786:13): [True: 12.1k, False: 4.51M]
  ------------------
  787|  12.1k|                return 16;
  788|  4.16M|            default:
  ------------------
  |  Branch (788:13): [True: 4.16M, False: 362k]
  ------------------
  789|  4.16M|                if ((type > 0x8f && type <= 0x9f) // fixarray
  ------------------
  |  Branch (789:22): [True: 1.39M, False: 2.76M]
  |  Branch (789:37): [True: 1.39M, False: 0]
  ------------------
  790|  2.76M|                    || (type > 0x7f && type <= 0x8f) // fixmap
  ------------------
  |  Branch (790:25): [True: 2.76M, False: 0]
  |  Branch (790:40): [True: 2.76M, False: 0]
  ------------------
  791|  4.16M|        )
  792|  4.16M|                {
  793|  4.16M|                    return type & 0x0f;
  794|  4.16M|                }
  795|      0|                else
  796|      0|                {
  797|      0|                    ec = msgpack_errc::unknown_type;
  798|      0|                    more_ = false;
  799|      0|                    return 0;
  800|      0|                }
  801|      0|                break;
  802|  4.52M|        }
  803|  4.52M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE9end_arrayERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  692|  1.37M|    {
  693|  1.37M|        --nesting_depth_;
  694|       |
  695|  1.37M|        visitor.end_array(*this, ec);
  696|  1.37M|        more_ = !cursor_mode_;
  697|  1.37M|        state_stack_.pop_back();
  698|  1.37M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE10end_objectERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  719|  2.76M|    {
  720|  2.76M|        --nesting_depth_;
  721|  2.76M|        visitor.end_object(*this, ec);
  722|  2.76M|        more_ = !cursor_mode_;
  723|  2.76M|        state_stack_.pop_back();
  724|  2.76M|    }

_ZN8jsoncons7msgpack20basic_msgpack_readerINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEEC2IS7_EEOT_RNS_18basic_json_visitorIcEERKNS0_22msgpack_decode_optionsERKS9_:
   51|  7.04k|       : parser_(std::forward<Sourceable>(source), options, alloc),
   52|  7.04k|         adaptor_(visitor, alloc), visitor_(adaptor_)
   53|  7.04k|    {
   54|  7.04k|    }
_ZN8jsoncons7msgpack20basic_msgpack_readerINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE4readERNS3_10error_codeE:
   87|  7.04k|    {
   88|  7.04k|        parser_.reset();
   89|  7.04k|        parser_.parse(visitor_, ec);
   90|  7.04k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   79|  7.04k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (79:30): [True: 4.67k, False: 2.37k]
  |  |  ------------------
  ------------------
   91|  4.67k|        {
   92|  4.67k|            return;
   93|  4.67k|        }
   94|  7.04k|    }
_ZNK8jsoncons7msgpack20basic_msgpack_readerINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE4lineEv:
   97|  4.67k|    {
   98|  4.67k|        return parser_.line();
   99|  4.67k|    }
_ZNK8jsoncons7msgpack20basic_msgpack_readerINS_15iterator_sourceINSt3__111__wrap_iterIPhEEEENS3_9allocatorIcEEE6columnEv:
  102|  4.67k|    {
  103|  4.67k|        return parser_.column();
  104|  4.67k|    }

