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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2769|   105M|        {
 2770|   105M|             destroy();
 2771|   105M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  893|   105M|        {
  894|   105M|            switch (storage_kind())
  895|   105M|            {
  896|  15.2k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (896:17): [True: 15.2k, False: 105M]
  ------------------
  897|  15.2k|                {
  898|  15.2k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (898:25): [True: 15.2k, False: 0]
  ------------------
  899|  15.2k|                    {
  900|  15.2k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  901|  15.2k|                    }
  902|  15.2k|                    break;
  903|      0|                }
  904|   274k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (904:17): [True: 274k, False: 105M]
  ------------------
  905|   274k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (905:25): [True: 274k, False: 0]
  ------------------
  906|   274k|                    {
  907|   274k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  908|   274k|                    }
  909|   274k|                    break;
  910|  3.63M|                case json_storage_kind::array:
  ------------------
  |  Branch (910:17): [True: 3.63M, False: 101M]
  ------------------
  911|  3.63M|                {
  912|  3.63M|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (912:25): [True: 3.63M, False: 0]
  ------------------
  913|  3.63M|                    {
  914|  3.63M|                        auto& stor = cast<array_storage>();
  915|  3.63M|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  916|  3.63M|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  917|  3.63M|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  918|  3.63M|                    }
  919|  3.63M|                    break;
  920|      0|                }
  921|  2.40M|                case json_storage_kind::object:
  ------------------
  |  Branch (921:17): [True: 2.40M, False: 102M]
  ------------------
  922|  2.40M|                {
  923|  2.40M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (923:25): [True: 2.40M, False: 0]
  ------------------
  924|  2.40M|                    {
  925|  2.40M|                        auto& stor = cast<object_storage>();
  926|  2.40M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  927|  2.40M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  928|  2.40M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  929|  2.40M|                    }
  930|  2.40M|                    break;
  931|      0|                }
  932|  98.9M|                default:
  ------------------
  |  Branch (932:17): [True: 98.9M, False: 6.33M]
  ------------------
  933|  98.9M|                    break;
  934|   105M|            }
  935|   105M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1457|   255M|        {
 1458|       |            // It is legal to access 'common_.storage_kind_' even though 
 1459|       |            // common_ is not the active member of the union because 'storage_kind_' 
 1460|       |            // is a part of the common initial sequence of all union members
 1461|       |            // as defined in 11.4-25 of the Standard.
 1462|   255M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1463|   255M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
  999|   157k|        {
 1000|   157k|            return cast(identity<T>());
 1001|   157k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1090|   157k|        {
 1091|   157k|            return long_str_;
 1092|   157k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
  999|  2.22M|        {
 1000|  2.22M|            return cast(identity<T>());
 1001|  2.22M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1100|  2.22M|        {
 1101|  2.22M|            return byte_str_;
 1102|  2.22M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
  999|  35.3M|        {
 1000|  35.3M|            return cast(identity<T>());
 1001|  35.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1120|  35.3M|        {
 1121|  35.3M|            return array_;
 1122|  35.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2302|  69.8M|        {
 2303|  69.8M|            uninitialized_move(std::move(other));
 2304|  69.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1297|  69.8M|        {
 1298|  69.8M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1298:17): [True: 56.6M, False: 13.1M]
  ------------------
 1299|  56.6M|            {
 1300|  56.6M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1301|  56.6M|            }
 1302|  13.1M|            else
 1303|  13.1M|            {
 1304|  13.1M|                switch (other.storage_kind())
 1305|  13.1M|                {
 1306|  38.0k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1306:21): [True: 38.0k, False: 13.1M]
  ------------------
 1307|  38.0k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1308|  38.0k|                        other.construct<null_storage>();
 1309|  38.0k|                        break;
 1310|   634k|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1310:21): [True: 634k, False: 12.5M]
  ------------------
 1311|   634k|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1312|   634k|                        other.construct<null_storage>();
 1313|   634k|                        break;
 1314|  8.25M|                    case json_storage_kind::array:
  ------------------
  |  Branch (1314:21): [True: 8.25M, False: 4.92M]
  ------------------
 1315|  8.25M|                        construct<array_storage>(other.cast<array_storage>());
 1316|  8.25M|                        other.construct<null_storage>();
 1317|  8.25M|                        break;
 1318|  4.24M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1318:21): [True: 4.24M, False: 8.92M]
  ------------------
 1319|  4.24M|                        construct<object_storage>(other.cast<object_storage>());
 1320|  4.24M|                        other.construct<null_storage>();
 1321|  4.24M|                        break;
 1322|      0|                    default:
  ------------------
  |  Branch (1322:21): [True: 0, False: 13.1M]
  ------------------
 1323|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1324|      0|                        break;
 1325|  13.1M|                }
 1326|  13.1M|            }
 1327|  69.8M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  990|  55.9k|        {
  991|  55.9k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  55.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  621|  73.9k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  622|  73.9k|            {
  623|  73.9k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  990|  13.1M|        {
  991|  13.1M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  13.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
  999|  20.5M|        {
 1000|  20.5M|            return cast(identity<T>());
 1001|  20.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1010|  20.5M|        {
 1011|  20.5M|            return null_;
 1012|  20.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  445|  15.1M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  446|  15.1M|            {
  447|  15.1M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  990|   700k|        {
  991|   700k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|   700k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  670|   767k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  671|   767k|            {
  672|   767k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  990|  10.2M|        {
  991|  10.2M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  10.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  722|  12.2M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  723|  12.2M|            {
  724|  12.2M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  990|  5.38M|        {
  991|  5.38M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  5.38M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  772|  6.52M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  773|  6.52M|            {
  774|  6.52M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4754|   383k|        {
 4755|   383k|            switch (storage_kind())
 4756|   383k|            {
 4757|   383k|                case json_storage_kind::array:
  ------------------
  |  Branch (4757:17): [True: 383k, False: 0]
  ------------------
 4758|   383k|                    return array_range_type(cast<array_storage>().value().begin(),
 4759|   383k|                        cast<array_storage>().value().end());
 4760|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4760:17): [True: 0, False: 383k]
  ------------------
 4761|      0|                    return cast<json_ref_storage>().value().array_range();
 4762|      0|                default:
  ------------------
  |  Branch (4762:17): [True: 0, False: 383k]
  ------------------
 4763|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4764|   383k|            }
 4765|   383k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  745|  3.87M|            {
  746|  3.87M|                return *ptr_;
  747|  3.87M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  343|   383k|            : first_(first), last_(last)
  344|   383k|        {
  345|   383k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  348|   383k|        {
  349|   383k|            return first_;
  350|   383k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  352|   383k|        {
  353|   383k|            return last_;
  354|   383k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3420|   103k|        {
 3421|   103k|            switch (storage_kind())
 3422|   103k|            {
 3423|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3423:17): [True: 0, False: 103k]
  ------------------
 3424|      0|                    return cast<byte_string_storage>().length() == 0;
 3425|      0|                    break;
 3426|      0|                case json_storage_kind::short_str:
  ------------------
  |  Branch (3426:17): [True: 0, False: 103k]
  ------------------
 3427|      0|                    return cast<short_string_storage>().length() == 0;
 3428|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 103k]
  ------------------
 3429|      0|                    return cast<long_string_storage>().length() == 0;
 3430|  54.7k|                case json_storage_kind::array:
  ------------------
  |  Branch (3430:17): [True: 54.7k, False: 48.6k]
  ------------------
 3431|  54.7k|                    return cast<array_storage>().value().empty();
 3432|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3432:17): [True: 0, False: 103k]
  ------------------
 3433|      0|                    return true;
 3434|  48.6k|                case json_storage_kind::object:
  ------------------
  |  Branch (3434:17): [True: 48.6k, False: 54.7k]
  ------------------
 3435|  48.6k|                    return cast<object_storage>().value().empty();
 3436|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3436:17): [True: 0, False: 103k]
  ------------------
 3437|      0|                    return cast<const_json_ref_storage>().value().empty();
 3438|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3438:17): [True: 0, False: 103k]
  ------------------
 3439|      0|                    return cast<json_ref_storage>().value().empty();
 3440|      0|                default:
  ------------------
  |  Branch (3440:17): [True: 0, False: 103k]
  ------------------
 3441|      0|                    return false;
 3442|   103k|            }
 3443|   103k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1005|  54.7k|        {
 1006|  54.7k|            return cast(identity<T>());
 1007|  54.7k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1125|  54.7k|        {
 1126|  54.7k|            return array_;
 1127|  54.7k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  750|  54.7k|            {
  751|  54.7k|                return *ptr_;
  752|  54.7k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1005|  48.6k|        {
 1006|  48.6k|            return cast(identity<T>());
 1007|  48.6k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1115|  48.6k|        {
 1116|  48.6k|            return object_;
 1117|  48.6k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  796|  48.6k|            {
  797|  48.6k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|  48.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 48.6k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  798|  48.6k|                return *ptr_;
  799|  48.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4151|   448k|        {
 4152|   448k|            switch (storage_kind())
 4153|   448k|            {
 4154|   383k|                case json_storage_kind::array:
  ------------------
  |  Branch (4154:17): [True: 383k, False: 64.6k]
  ------------------
 4155|   383k|                    cast<array_storage>().value().clear();
 4156|   383k|                    break;
 4157|  64.6k|                case json_storage_kind::object:
  ------------------
  |  Branch (4157:17): [True: 64.6k, False: 383k]
  ------------------
 4158|  64.6k|                    cast<object_storage>().value().clear();
 4159|  64.6k|                    break;
 4160|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4160:17): [True: 0, False: 448k]
  ------------------
 4161|      0|                    cast<json_ref_storage>().value().clear();
 4162|      0|                    break;
 4163|      0|                default:
  ------------------
  |  Branch (4163:17): [True: 0, False: 448k]
  ------------------
 4164|      0|                    break;
 4165|   448k|            }
 4166|   448k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  790|   257k|            {
  791|   257k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   49|   257k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 257k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  792|   257k|                return *ptr_;
  793|   257k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4720|  64.6k|        {
 4721|  64.6k|            switch (storage_kind())
 4722|  64.6k|            {
 4723|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4723:17): [True: 0, False: 64.6k]
  ------------------
 4724|      0|                    return object_range_type(object_iterator(), object_iterator());
 4725|  64.6k|                case json_storage_kind::object:
  ------------------
  |  Branch (4725:17): [True: 64.6k, False: 0]
  ------------------
 4726|  64.6k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4727|  64.6k|                                                  object_iterator(cast<object_storage>().value().end()));
 4728|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4728:17): [True: 0, False: 64.6k]
  ------------------
 4729|      0|                    return cast<json_ref_storage>().value().object_range();
 4730|      0|                default:
  ------------------
  |  Branch (4730:17): [True: 0, False: 64.6k]
  ------------------
 4731|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4732|  64.6k|            }
 4733|  64.6k|        }
_ZN8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEEC2ERKSI_SP_:
  343|  64.6k|            : first_(first), last_(last)
  344|  64.6k|        {
  345|  64.6k|        }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEC2ESG_:
  118|   129k|            explicit json_object_iterator_adaptor(Iterator ptr) : current_(ptr), has_value_(true)  
  119|   129k|            {
  120|   129k|            }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE5beginEv:
  348|  64.6k|        {
  349|  64.6k|            return first_;
  350|  64.6k|        }
_ZNK8jsoncons5rangeINS_6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEEENS2_INS4_IPKSF_EEEEE3endEv:
  352|  64.6k|        {
  353|  64.6k|            return last_;
  354|  64.6k|        }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEneERKSH_:
  218|   181k|            {
  219|   181k|                return !(*this == rhs);
  220|   181k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEeqERKSH_:
  209|   181k|            {
  210|   181k|                if (JSONCONS_LIKELY(has_value_ && rhs.has_value_))
  ------------------
  |  |   77|   363k|#define JSONCONS_LIKELY(x) __builtin_expect(!!(x), 1)
  |  |  ------------------
  |  |  |  Branch (77:28): [True: 181k, False: 0]
  |  |  |  Branch (77:48): [True: 181k, False: 0]
  |  |  |  Branch (77:48): [True: 181k, False: 0]
  |  |  ------------------
  ------------------
  211|   181k|                {
  212|   181k|                    return current_ == rhs.current_;
  213|   181k|                }
  214|      0|                return !has_value_ && !rhs.has_value_;
  ------------------
  |  Branch (214:24): [True: 0, False: 0]
  |  Branch (214:39): [True: 0, False: 0]
  ------------------
  215|   181k|            }
_ZNK8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEdeEv:
  140|   116k|            {
  141|   116k|                return *current_;
  142|   116k|            }
_ZN8jsoncons6detail28json_object_iterator_adaptorINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEEppEv:
  150|   116k|            {
  151|   116k|                ++current_;
  152|   116k|                return *this;
  153|   116k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
  999|  18.2M|        {
 1000|  18.2M|            return cast(identity<T>());
 1001|  18.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1110|  18.2M|        {
 1111|  18.2M|            return object_;
 1112|  18.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2270|  7.06k|        {
 2271|  7.06k|            construct<empty_object_storage>(semantic_tag::none);
 2272|  7.06k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  990|  7.06k|        {
  991|  7.06k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  7.06k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
  999|  11.7k|        {
 1000|  11.7k|            return cast(identity<T>());
 1001|  11.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1020|  11.7k|        {
 1021|  11.7k|            return empty_object_;
 1022|  11.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  457|  7.06k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  458|  7.06k|            {
  459|  7.06k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3479|  41.8k|        {
 3480|  41.8k|            if (n > 0)
  ------------------
  |  Branch (3480:17): [True: 41.8k, False: 0]
  ------------------
 3481|  41.8k|            {
 3482|  41.8k|                switch (storage_kind())
 3483|  41.8k|                {
 3484|  41.8k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3484:21): [True: 41.8k, False: 0]
  ------------------
 3485|  41.8k|                        cast<array_storage>().value().reserve(n);
 3486|  41.8k|                        break;
 3487|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3487:21): [True: 0, False: 41.8k]
  ------------------
 3488|      0|                        create_object_implicitly();
 3489|      0|                        cast<object_storage>().value().reserve(n);
 3490|      0|                        break;
 3491|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3491:21): [True: 0, False: 41.8k]
  ------------------
 3492|      0|                        cast<object_storage>().value().reserve(n);
 3493|      0|                        break;
 3494|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3494:21): [True: 0, False: 41.8k]
  ------------------
 3495|      0|                        cast<json_ref_storage>().value().reserve(n);
 3496|      0|                        break;
 3497|      0|                    default:
  ------------------
  |  Branch (3497:21): [True: 0, False: 41.8k]
  ------------------
 3498|      0|                        break;
 3499|  41.8k|                }
 3500|  41.8k|            }
 3501|  41.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2315|  2.40M|        {
 2316|  2.40M|            auto ptr = create_object(alloc);
 2317|  2.40M|            construct<object_storage>(ptr, tag);
 2318|  2.40M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  971|  2.40M|        {
  972|  2.40M|            using stor_allocator_type = typename object_storage::allocator_type;
  973|  2.40M|            stor_allocator_type stor_alloc(alloc);
  974|  2.40M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  975|  2.40M|            JSONCONS_TRY
  ------------------
  |  |   37|  2.40M|    #define JSONCONS_TRY try
  ------------------
  976|  2.40M|            {
  977|  2.40M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  978|  2.40M|                    std::forward<Args>(args)...);
  979|  2.40M|            }
  980|  2.40M|            JSONCONS_CATCH(...)
  981|  2.40M|            {
  982|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  983|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  984|      0|            }
  985|  2.40M|            return ptr;
  986|  2.40M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  990|  2.40M|        {
  991|  2.40M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  2.40M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  767|  2.40M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  768|  2.40M|            {
  769|  2.40M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4696|  2.68M|        {
 4697|  2.68M|            switch (storage_kind())
 4698|  2.68M|            {
 4699|  2.68M|                case json_storage_kind::array:
  ------------------
  |  Branch (4699:17): [True: 2.68M, False: 0]
  ------------------
 4700|  2.68M|                    cast<array_storage>().value().push_back(std::move(val));
 4701|  2.68M|                    break;
 4702|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4702:17): [True: 0, False: 2.68M]
  ------------------
 4703|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4704|      0|                    break;
 4705|      0|                default:
  ------------------
  |  Branch (4705:17): [True: 0, False: 2.68M]
  ------------------
 4706|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Attempting to insert into a value that is not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4707|  2.68M|            }
 4708|  2.68M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1448|  23.1M|        {
 1449|  23.1M|            if (this != &other)
  ------------------
  |  Branch (1449:17): [True: 23.1M, False: 0]
  ------------------
 1450|  23.1M|            {
 1451|  23.1M|                move_assignment(std::move(other));
 1452|  23.1M|            }
 1453|  23.1M|            return *this;
 1454|  23.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1410|  23.1M|        {
 1411|  23.1M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1411:17): [True: 23.1M, False: 0]
  |  Branch (1411:55): [True: 19.9M, False: 3.24M]
  ------------------
 1412|  19.9M|            {
 1413|  19.9M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1414|  19.9M|            }
 1415|  3.24M|            else
 1416|  3.24M|            {
 1417|  3.24M|                swap(other);
 1418|  3.24M|            }
 1419|  23.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1929|  3.24M|        {
 1930|  3.24M|            if (this == &other)
  ------------------
  |  Branch (1930:17): [True: 0, False: 3.24M]
  ------------------
 1931|      0|            {
 1932|      0|                return;
 1933|      0|            }
 1934|  3.24M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1934:17): [True: 3.24M, False: 0]
  |  Branch (1934:55): [True: 0, False: 3.24M]
  ------------------
 1935|      0|            {
 1936|      0|                basic_json temp;               
 1937|      0|                std::memcpy(static_cast<void*>(&temp), static_cast<void*>(&other), sizeof(basic_json));
 1938|      0|                std::memcpy(static_cast<void*>(&other), static_cast<void*>(this), sizeof(basic_json));
 1939|      0|                std::memcpy(static_cast<void*>(this), static_cast<void*>(&temp), sizeof(basic_json));
 1940|      0|            }
 1941|  3.24M|            else
 1942|  3.24M|            {
 1943|  3.24M|                switch (storage_kind())
 1944|  3.24M|                {
 1945|  2.73M|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1945:21): [True: 2.73M, False: 517k]
  ------------------
 1946|  2.32k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1946:21): [True: 2.32k, False: 3.24M]
  ------------------
 1947|  53.7k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1947:21): [True: 53.7k, False: 3.19M]
  ------------------
 1948|  48.0k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1948:21): [True: 48.0k, False: 3.20M]
  ------------------
 1949|   405k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1949:21): [True: 405k, False: 2.84M]
  ------------------
 1950|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1950:21): [True: 0, False: 3.24M]
  ------------------
 1951|  1.76k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1951:21): [True: 1.76k, False: 3.24M]
  ------------------
 1952|  6.45k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1952:21): [True: 6.45k, False: 3.24M]
  ------------------
 1953|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1953:21): [True: 0, False: 3.24M]
  ------------------
 1954|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1954:21): [True: 0, False: 3.24M]
  ------------------
 1955|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 0, False: 3.24M]
  ------------------
 1956|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 0, False: 3.24M]
  ------------------
 1957|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 0, False: 3.24M]
  ------------------
 1958|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 0, False: 3.24M]
  ------------------
 1959|      0|                    default:
  ------------------
  |  Branch (1959:21): [True: 0, False: 3.24M]
  ------------------
 1960|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1961|      0|                        break;
 1962|  3.24M|                }
 1963|  3.24M|            }
 1964|  3.24M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1165|  2.73M|        {
 1166|  2.73M|            switch (other.storage_kind())
 1167|  2.73M|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 2.73M]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 2.73M]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 2.73M]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 2.73M]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 2.73M]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.73M]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.73M]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.73M]
  ------------------
 1176|  5.52k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 5.52k, False: 2.72M]
  ------------------
 1177|  38.2k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 38.2k, False: 2.69M]
  ------------------
 1178|  1.68M|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 1.68M, False: 1.04M]
  ------------------
 1179|   999k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 999k, False: 1.73M]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.73M]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.73M]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.73M]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  2.73M|            }
 1186|  2.73M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  990|  2.73M|        {
  991|  2.73M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  2.73M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  990|  2.32k|        {
  991|  2.32k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  2.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
  999|  5.60M|        {
 1000|  5.60M|            return cast(identity<T>());
 1001|  5.60M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1030|  5.60M|        {
 1031|  5.60M|            return boolean_;
 1032|  5.60M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  990|  53.7k|        {
  991|  53.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  53.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
  999|  4.30M|        {
 1000|  4.30M|            return cast(identity<T>());
 1001|  4.30M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1040|  4.30M|        {
 1041|  4.30M|            return int64_;
 1042|  4.30M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  990|  48.0k|        {
  991|  48.0k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  48.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
  999|  16.3M|        {
 1000|  16.3M|            return cast(identity<T>());
 1001|  16.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1050|  16.3M|        {
 1051|  16.3M|            return uint64_;
 1052|  16.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  990|   405k|        {
  991|   405k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|   405k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
  999|  33.4k|        {
 1000|  33.4k|            return cast(identity<T>());
 1001|  33.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1070|  33.4k|        {
 1071|  33.4k|            return float64_;
 1072|  33.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  990|  1.76k|        {
  991|  1.76k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  1.76k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
  999|  1.91M|        {
 1000|  1.91M|            return cast(identity<T>());
 1001|  1.91M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1080|  1.91M|        {
 1081|  1.91M|            return short_str_;
 1082|  1.91M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  580|  6.45k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  581|  6.45k|            {
  582|  6.45k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  583|  6.45k|                data_[short_str_length_] = 0;
  584|  6.45k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  990|  6.45k|        {
  991|  6.45k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  6.45k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1151|  5.52k|        {
 1152|  5.52k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  5.52k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  5.52k|        {
 1158|  5.52k|            TypeR temp{other.cast<TypeR>()};
 1159|  5.52k|            other.construct<TypeL>(cast<TypeL>());
 1160|  5.52k|            construct<TypeR>(temp);
 1161|  5.52k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1151|  38.2k|        {
 1152|  38.2k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  38.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  38.2k|        {
 1158|  38.2k|            TypeR temp{other.cast<TypeR>()};
 1159|  38.2k|            other.construct<TypeL>(cast<TypeL>());
 1160|  38.2k|            construct<TypeR>(temp);
 1161|  38.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1151|  1.68M|        {
 1152|  1.68M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  1.68M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  1.68M|        {
 1158|  1.68M|            TypeR temp{other.cast<TypeR>()};
 1159|  1.68M|            other.construct<TypeL>(cast<TypeL>());
 1160|  1.68M|            construct<TypeR>(temp);
 1161|  1.68M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1151|   999k|        {
 1152|   999k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|   999k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|   999k|        {
 1158|   999k|            TypeR temp{other.cast<TypeR>()};
 1159|   999k|            other.construct<TypeL>(cast<TypeL>());
 1160|   999k|            construct<TypeR>(temp);
 1161|   999k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1165|  2.32k|        {
 1166|  2.32k|            switch (other.storage_kind())
 1167|  2.32k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 2.32k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 2.32k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 2.32k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 2.32k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 2.32k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.32k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 2.32k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 2.32k]
  ------------------
 1176|    754|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 754, False: 1.57k]
  ------------------
 1177|     40|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 40, False: 2.28k]
  ------------------
 1178|    239|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 239, False: 2.08k]
  ------------------
 1179|  1.29k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 1.29k, False: 1.03k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.32k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.32k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.32k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  2.32k|            }
 1186|  2.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1151|    754|        {
 1152|    754|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    754|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    754|        {
 1158|    754|            TypeR temp{other.cast<TypeR>()};
 1159|    754|            other.construct<TypeL>(cast<TypeL>());
 1160|    754|            construct<TypeR>(temp);
 1161|    754|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvRS5_:
 1151|     40|        {
 1152|     40|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|     40|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|     40|        {
 1158|     40|            TypeR temp{other.cast<TypeR>()};
 1159|     40|            other.construct<TypeL>(cast<TypeL>());
 1160|     40|            construct<TypeR>(temp);
 1161|     40|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1151|    239|        {
 1152|    239|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    239|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    239|        {
 1158|    239|            TypeR temp{other.cast<TypeR>()};
 1159|    239|            other.construct<TypeL>(cast<TypeL>());
 1160|    239|            construct<TypeR>(temp);
 1161|    239|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1151|  1.29k|        {
 1152|  1.29k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  1.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  1.29k|        {
 1158|  1.29k|            TypeR temp{other.cast<TypeR>()};
 1159|  1.29k|            other.construct<TypeL>(cast<TypeL>());
 1160|  1.29k|            construct<TypeR>(temp);
 1161|  1.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1165|  53.7k|        {
 1166|  53.7k|            switch (other.storage_kind())
 1167|  53.7k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 53.7k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 53.7k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 53.7k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 53.7k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 53.7k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 53.7k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 53.7k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 53.7k]
  ------------------
 1176|    438|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 438, False: 53.3k]
  ------------------
 1177|    785|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 785, False: 52.9k]
  ------------------
 1178|  38.3k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 38.3k, False: 15.4k]
  ------------------
 1179|  14.1k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 14.1k, False: 39.5k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 53.7k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 53.7k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 53.7k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  53.7k|            }
 1186|  53.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1151|    438|        {
 1152|    438|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    438|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    438|        {
 1158|    438|            TypeR temp{other.cast<TypeR>()};
 1159|    438|            other.construct<TypeL>(cast<TypeL>());
 1160|    438|            construct<TypeR>(temp);
 1161|    438|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1151|    785|        {
 1152|    785|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    785|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    785|        {
 1158|    785|            TypeR temp{other.cast<TypeR>()};
 1159|    785|            other.construct<TypeL>(cast<TypeL>());
 1160|    785|            construct<TypeR>(temp);
 1161|    785|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1151|  38.3k|        {
 1152|  38.3k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  38.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  38.3k|        {
 1158|  38.3k|            TypeR temp{other.cast<TypeR>()};
 1159|  38.3k|            other.construct<TypeL>(cast<TypeL>());
 1160|  38.3k|            construct<TypeR>(temp);
 1161|  38.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1151|  14.1k|        {
 1152|  14.1k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  14.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  14.1k|        {
 1158|  14.1k|            TypeR temp{other.cast<TypeR>()};
 1159|  14.1k|            other.construct<TypeL>(cast<TypeL>());
 1160|  14.1k|            construct<TypeR>(temp);
 1161|  14.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1165|  48.0k|        {
 1166|  48.0k|            switch (other.storage_kind())
 1167|  48.0k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 48.0k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 48.0k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 48.0k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 48.0k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 48.0k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 48.0k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 48.0k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 48.0k]
  ------------------
 1176|  2.27k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 2.27k, False: 45.7k]
  ------------------
 1177|  3.11k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 3.11k, False: 44.9k]
  ------------------
 1178|  24.9k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 24.9k, False: 23.1k]
  ------------------
 1179|  17.7k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 17.7k, False: 30.3k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 48.0k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 48.0k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 48.0k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  48.0k|            }
 1186|  48.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1151|  2.27k|        {
 1152|  2.27k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  2.27k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  2.27k|        {
 1158|  2.27k|            TypeR temp{other.cast<TypeR>()};
 1159|  2.27k|            other.construct<TypeL>(cast<TypeL>());
 1160|  2.27k|            construct<TypeR>(temp);
 1161|  2.27k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1151|  3.11k|        {
 1152|  3.11k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  3.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  3.11k|        {
 1158|  3.11k|            TypeR temp{other.cast<TypeR>()};
 1159|  3.11k|            other.construct<TypeL>(cast<TypeL>());
 1160|  3.11k|            construct<TypeR>(temp);
 1161|  3.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1151|  24.9k|        {
 1152|  24.9k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  24.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  24.9k|        {
 1158|  24.9k|            TypeR temp{other.cast<TypeR>()};
 1159|  24.9k|            other.construct<TypeL>(cast<TypeL>());
 1160|  24.9k|            construct<TypeR>(temp);
 1161|  24.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1151|  17.7k|        {
 1152|  17.7k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  17.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  17.7k|        {
 1158|  17.7k|            TypeR temp{other.cast<TypeR>()};
 1159|  17.7k|            other.construct<TypeL>(cast<TypeL>());
 1160|  17.7k|            construct<TypeR>(temp);
 1161|  17.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1165|   405k|        {
 1166|   405k|            switch (other.storage_kind())
 1167|   405k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 405k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 405k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 405k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 405k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 405k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 405k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 405k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 405k]
  ------------------
 1176|  8.05k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 8.05k, False: 397k]
  ------------------
 1177|  23.6k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 23.6k, False: 381k]
  ------------------
 1178|   269k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 269k, False: 136k]
  ------------------
 1179|   104k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 104k, False: 301k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 405k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 405k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 405k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|   405k|            }
 1186|   405k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1151|  8.05k|        {
 1152|  8.05k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  8.05k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  8.05k|        {
 1158|  8.05k|            TypeR temp{other.cast<TypeR>()};
 1159|  8.05k|            other.construct<TypeL>(cast<TypeL>());
 1160|  8.05k|            construct<TypeR>(temp);
 1161|  8.05k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1151|  23.6k|        {
 1152|  23.6k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  23.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  23.6k|        {
 1158|  23.6k|            TypeR temp{other.cast<TypeR>()};
 1159|  23.6k|            other.construct<TypeL>(cast<TypeL>());
 1160|  23.6k|            construct<TypeR>(temp);
 1161|  23.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1151|   269k|        {
 1152|   269k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|   269k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|   269k|        {
 1158|   269k|            TypeR temp{other.cast<TypeR>()};
 1159|   269k|            other.construct<TypeL>(cast<TypeL>());
 1160|   269k|            construct<TypeR>(temp);
 1161|   269k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1151|   104k|        {
 1152|   104k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|   104k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|   104k|        {
 1158|   104k|            TypeR temp{other.cast<TypeR>()};
 1159|   104k|            other.construct<TypeL>(cast<TypeL>());
 1160|   104k|            construct<TypeR>(temp);
 1161|   104k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1165|  1.76k|        {
 1166|  1.76k|            switch (other.storage_kind())
 1167|  1.76k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 1.76k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 1.76k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 1.76k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 1.76k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 1.76k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.76k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 1.76k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 1.76k]
  ------------------
 1176|    480|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 480, False: 1.28k]
  ------------------
 1177|    335|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 335, False: 1.42k]
  ------------------
 1178|    505|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 505, False: 1.25k]
  ------------------
 1179|    443|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 443, False: 1.32k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.76k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 1.76k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 1.76k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  1.76k|            }
 1186|  1.76k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1151|    480|        {
 1152|    480|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    480|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    480|        {
 1158|    480|            TypeR temp{other.cast<TypeR>()};
 1159|    480|            other.construct<TypeL>(cast<TypeL>());
 1160|    480|            construct<TypeR>(temp);
 1161|    480|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1151|    335|        {
 1152|    335|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    335|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    335|        {
 1158|    335|            TypeR temp{other.cast<TypeR>()};
 1159|    335|            other.construct<TypeL>(cast<TypeL>());
 1160|    335|            construct<TypeR>(temp);
 1161|    335|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1151|    505|        {
 1152|    505|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    505|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    505|        {
 1158|    505|            TypeR temp{other.cast<TypeR>()};
 1159|    505|            other.construct<TypeL>(cast<TypeL>());
 1160|    505|            construct<TypeR>(temp);
 1161|    505|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1151|    443|        {
 1152|    443|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    443|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    443|        {
 1158|    443|            TypeR temp{other.cast<TypeR>()};
 1159|    443|            other.construct<TypeL>(cast<TypeL>());
 1160|    443|            construct<TypeR>(temp);
 1161|    443|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1165|  6.45k|        {
 1166|  6.45k|            switch (other.storage_kind())
 1167|  6.45k|            {
 1168|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 0, False: 6.45k]
  ------------------
 1169|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 0, False: 6.45k]
  ------------------
 1170|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 0, False: 6.45k]
  ------------------
 1171|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 6.45k]
  ------------------
 1172|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 6.45k]
  ------------------
 1173|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1173:17): [True: 0, False: 6.45k]
  ------------------
 1174|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1174:17): [True: 0, False: 6.45k]
  ------------------
 1175|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1175:17): [True: 0, False: 6.45k]
  ------------------
 1176|    434|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1176:17): [True: 434, False: 6.01k]
  ------------------
 1177|    571|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1177:17): [True: 571, False: 5.88k]
  ------------------
 1178|  2.69k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 2.69k, False: 3.75k]
  ------------------
 1179|  2.74k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 2.74k, False: 3.70k]
  ------------------
 1180|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 6.45k]
  ------------------
 1181|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 6.45k]
  ------------------
 1182|      0|                default:
  ------------------
  |  Branch (1182:17): [True: 0, False: 6.45k]
  ------------------
 1183|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1184|      0|                    break;
 1185|  6.45k|            }
 1186|  6.45k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1151|    434|        {
 1152|    434|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    434|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    434|        {
 1158|    434|            TypeR temp{other.cast<TypeR>()};
 1159|    434|            other.construct<TypeL>(cast<TypeL>());
 1160|    434|            construct<TypeR>(temp);
 1161|    434|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1151|    571|        {
 1152|    571|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|    571|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|    571|        {
 1158|    571|            TypeR temp{other.cast<TypeR>()};
 1159|    571|            other.construct<TypeL>(cast<TypeL>());
 1160|    571|            construct<TypeR>(temp);
 1161|    571|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1151|  2.69k|        {
 1152|  2.69k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  2.69k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  2.69k|        {
 1158|  2.69k|            TypeR temp{other.cast<TypeR>()};
 1159|  2.69k|            other.construct<TypeL>(cast<TypeL>());
 1160|  2.69k|            construct<TypeR>(temp);
 1161|  2.69k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1151|  2.74k|        {
 1152|  2.74k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1153|  2.74k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1157|  2.74k|        {
 1158|  2.74k|            TypeR temp{other.cast<TypeR>()};
 1159|  2.74k|            other.construct<TypeL>(cast<TypeL>());
 1160|  2.74k|            construct<TypeR>(temp);
 1161|  2.74k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2609|  15.5M|        {
 2610|  15.5M|            construct<uint64_storage>(val, tag);
 2611|  15.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  990|  15.5M|        {
  991|  15.5M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  15.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  511|  15.5M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  512|  15.5M|                  val_(val)
  513|  15.5M|            {
  514|  15.5M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2640|  4.20M|        {
 2641|  4.20M|            construct<int64_storage>(val, tag);
 2642|  4.20M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  990|  4.20M|        {
  991|  4.20M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  4.20M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  491|  4.20M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  492|  4.20M|                  val_(val)
  493|  4.20M|            {
  494|  4.20M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2597|  29.9k|        {
 2598|  29.9k|            construct<double_storage>(val, tag);
 2599|  29.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  990|  29.9k|        {
  991|  29.9k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  29.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  550|  29.9k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  551|  29.9k|                  val_(val)
  552|  29.9k|            {
  553|  29.9k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2396|  3.63M|        {
 2397|  3.63M|            auto ptr = create_array(Allocator());
 2398|  3.63M|            construct<array_storage>(ptr, tag);
 2399|  3.63M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  952|  3.63M|        {
  953|  3.63M|            using stor_allocator_type = typename array_storage::allocator_type;
  954|  3.63M|            stor_allocator_type stor_alloc(alloc);
  955|  3.63M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  956|  3.63M|            JSONCONS_TRY
  ------------------
  |  |   37|  3.63M|    #define JSONCONS_TRY try
  ------------------
  957|  3.63M|            {
  958|  3.63M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  959|  3.63M|                    std::forward<Args>(args)...);
  960|  3.63M|            }
  961|  3.63M|            JSONCONS_CATCH(...)
  962|  3.63M|            {
  963|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  964|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  965|      0|            }
  966|  3.63M|            return ptr;
  967|  3.63M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  990|  3.63M|        {
  991|  3.63M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  3.63M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  717|  3.63M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  718|  3.63M|            {
  719|  3.63M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2686|  1.95M|        {
 2687|  1.95M|            construct<null_storage>(tag);
 2688|  1.95M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  990|  1.95M|        {
  991|  1.95M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  1.95M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2696|  5.50M|        {
 2697|  5.50M|            construct<bool_storage>(val,tag);
 2698|  5.50M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  990|  5.50M|        {
  991|  5.50M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  5.50M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  470|  5.50M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  471|  5.50M|                  val_(val)
  472|  5.50M|            {
  473|  5.50M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2544|  1.91M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2545|  1.91M|        {
 2546|  1.91M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2574|  1.91M|        {
 2575|  1.91M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2575:17): [True: 1.90M, False: 15.2k]
  ------------------
 2576|  1.90M|            {
 2577|  1.90M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2578|  1.90M|            }
 2579|  15.2k|            else
 2580|  15.2k|            {
 2581|  15.2k|                auto ptr = create_long_string(alloc, s, length);
 2582|  15.2k|                construct<long_string_storage>(ptr, tag);
 2583|  15.2k|            }
 2584|  1.91M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  990|  1.90M|        {
  991|  1.90M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  1.90M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  572|  1.90M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  573|  1.90M|            {
  574|  1.90M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   49|  1.90M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 1.90M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  575|  1.90M|                std::memcpy(data_,p,length*sizeof(char_type));
  576|  1.90M|                data_[length] = 0;
  577|  1.90M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  938|  15.2k|        {
  939|  15.2k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  940|  15.2k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  941|  15.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  990|  15.2k|        {
  991|  15.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  15.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  616|  15.2k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  617|  15.2k|            {
  618|  15.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2706|    831|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2707|    831|        {
 2708|    831|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2714|   185k|        {
 2715|   185k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2716|       |            
 2717|   185k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2718|   185k|            construct<byte_string_storage>(ptr, tag);
 2719|   185k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  945|   274k|        {
  946|   274k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  947|   274k|            return heap_string_factory_type::create(data, length, raw_tag, alloc); 
  948|   274k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
  990|   185k|        {
  991|   185k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|   185k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  665|   274k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  666|   274k|            {
  667|   274k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2726|     33|        {
 2727|     33|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2728|       |
 2729|     33|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0);
 2730|     33|            construct<byte_string_storage>(ptr, tag);
 2731|     33|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2737|  88.8k|        {
 2738|  88.8k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2739|       |
 2740|  88.8k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), raw_tag);
 2741|  88.8k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2742|  88.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  990|  88.8k|        {
  991|  88.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  992|  88.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mRKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2749|      7|        {
 2750|      7|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2751|       |
 2752|      7|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), raw_tag);
 2753|      7|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2754|      7|        }

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

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

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

_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|   420k|            : data_(data), size_(size)
   62|   420k|        {
   63|   420k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|  6.08M|        {
  112|  6.08M|            return data_;
  113|  6.08M|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|  9.16M|        {
  117|  9.16M|            return size_;
  118|  9.16M|        }
_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2Ev:
   58|  2.93M|        {
   59|  2.93M|        }

_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  855|  7.06k|            : destination_(std::addressof(visitor)), 
  856|  7.06k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  857|  7.06k|        {
  858|  7.06k|            level_stack_.emplace_back(json_target_kind::destination,json_structure_kind::root); // root
  859|  7.06k|        }
_ZN8jsoncons21basic_generic_visitorIcEC2Ev:
   52|  7.06k|    basic_generic_visitor() = default;
_ZN8jsoncons21basic_generic_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  294|  5.60M|    {
  295|  5.60M|        visit_begin_array(length, tag, context, ec);
  296|  5.60M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.60M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  297|  5.60M|    }
_ZN8jsoncons21basic_generic_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  363|  32.7M|    {
  364|  32.7M|        visit_uint64(value, tag, context, ec);
  365|  32.7M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  32.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  32.7M|    }
_ZN8jsoncons21basic_generic_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  300|  5.57M|    {
  301|  5.57M|        visit_end_array(context, ec);
  302|  5.57M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.57M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  5.57M|    }
_ZN8jsoncons21basic_generic_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  372|  7.44M|    {
  373|  7.44M|        visit_int64(value, tag, context, ec);
  374|  7.44M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  7.44M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  375|  7.44M|    }
_ZN8jsoncons21basic_generic_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  390|   106k|    {
  391|   106k|        visit_double(value, tag, context, ec);
  392|   106k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   106k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  393|   106k|    }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structureC2ENS4_16json_target_kindENS4_19json_structure_kindE:
  798|  8.66M|                : target_kind_(state), structure_kind_(type), even_odd_(type == json_structure_kind::object ? 0 : 1)
  ------------------
  |  Branch (798:73): [True: 3.05M, False: 5.60M]
  ------------------
  799|  8.66M|            {
  800|  8.66M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1008|  5.60M|        {
 1009|  5.60M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1009:17): [True: 919k, False: 4.68M]
  ------------------
 1010|   919k|            {
 1011|   919k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1011:21): [True: 505k, False: 413k]
  |  Branch (1011:86): [True: 502k, False: 2.62k]
  ------------------
 1012|   502k|                {
 1013|   502k|                    key_buffer_.push_back(',');
 1014|   502k|                }
 1015|   919k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1016|   919k|                key_buffer_.push_back('[');
 1017|   919k|            }
 1018|  4.68M|            else
 1019|  4.68M|            {
 1020|  4.68M|                switch (level_stack_.back().target_kind())
 1021|  4.68M|                {
 1022|  1.04M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1022:21): [True: 1.04M, False: 3.63M]
  ------------------
 1023|  1.04M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1023:29): [True: 532k, False: 510k]
  |  Branch (1023:65): [True: 508k, False: 23.9k]
  ------------------
 1024|   508k|                        {
 1025|   508k|                            key_buffer_.push_back(',');
 1026|   508k|                        }
 1027|  1.04M|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::array);
 1028|  1.04M|                        key_buffer_.push_back('[');
 1029|  1.04M|                        break;
 1030|  3.63M|                    default:
  ------------------
  |  Branch (1030:21): [True: 3.63M, False: 1.04M]
  ------------------
 1031|  3.63M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::array);
 1032|  3.63M|                        destination_->begin_array(length, tag, context, ec);
 1033|  3.63M|                        break;
 1034|  4.68M|                }
 1035|  4.68M|            }
 1036|  5.60M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.60M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1037|  5.60M|        }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure6is_keyEv:
  815|   232M|            {
  816|   232M|                return even_odd_ == 0;
  817|   232M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure11target_kindEv:
  825|   150M|            {
  826|   150M|                return target_kind_;
  827|   150M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure5countEv:
  830|  33.5M|            {
  831|  33.5M|                return count_;
  832|  33.5M|            }
_ZNK8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure9is_objectEv:
  820|   114M|            {
  821|   114M|                return structure_kind_ == json_structure_kind::object;
  822|   114M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1040|  5.57M|        {
 1041|  5.57M|            switch (level_stack_.back().target_kind())
 1042|  5.57M|            {
 1043|  1.95M|                case json_target_kind::buffer:
  ------------------
  |  Branch (1043:17): [True: 1.95M, False: 3.61M]
  ------------------
 1044|  1.95M|                    key_buffer_.push_back(']');
 1045|  1.95M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  1.95M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 1.95M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1046|  1.95M|                    level_stack_.pop_back();
 1047|  1.95M|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (1047:25): [True: 413k, False: 1.54M]
  ------------------
 1048|   413k|                    {
 1049|   413k|                        destination_->key(key_buffer_, context, ec);
 1050|   413k|                        key_buffer_.clear();
 1051|   413k|                    }
 1052|  1.54M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1052:30): [True: 504k, False: 1.03M]
  ------------------
 1053|   504k|                    {
 1054|   504k|                        key_buffer_.push_back(':');
 1055|   504k|                    }
 1056|  1.95M|                    level_stack_.back().advance();
 1057|  1.95M|                    break;
 1058|  3.61M|                default:
  ------------------
  |  Branch (1058:17): [True: 3.61M, False: 1.95M]
  ------------------
 1059|  3.61M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  3.61M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.61M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1060|  3.61M|                    level_stack_.pop_back();
 1061|  3.61M|                    level_stack_.back().advance();
 1062|  3.61M|                    destination_->end_array(context, ec);
 1063|  3.61M|                    break;
 1064|  5.57M|            }
 1065|  5.57M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.57M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1066|  5.57M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE14json_structure7advanceEv:
  803|  80.5M|            {
  804|  80.5M|                if (!is_key())
  ------------------
  |  Branch (804:21): [True: 69.0M, False: 11.5M]
  ------------------
  805|  69.0M|                {
  806|  69.0M|                    ++count_;
  807|  69.0M|                }
  808|  80.5M|                if (is_object())
  ------------------
  |  Branch (808:21): [True: 23.0M, False: 57.5M]
  ------------------
  809|  23.0M|                {
  810|  23.0M|                    even_odd_ = !even_odd_;
  811|  23.0M|                }
  812|  80.5M|            }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1233|  32.7M|        {
 1234|  32.7M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1234:17): [True: 8.16M, False: 24.5M]
  |  Branch (1234:49): [True: 9.00M, False: 15.5M]
  ------------------
 1235|  17.1M|            {
 1236|  17.1M|                key_.clear();
 1237|  17.1M|                jsoncons::from_integer(value,key_);
 1238|  17.1M|            }
 1239|       |
 1240|  32.7M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1240:17): [True: 8.16M, False: 24.5M]
  ------------------
 1241|  8.16M|            {
 1242|  8.16M|                switch (level_stack_.back().target_kind())
 1243|  8.16M|                {
 1244|  5.08M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1244:21): [True: 5.08M, False: 3.08M]
  ------------------
 1245|  5.08M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1245:29): [True: 5.06M, False: 19.1k]
  ------------------
 1246|  5.06M|                        {
 1247|  5.06M|                            key_buffer_.push_back(',');
 1248|  5.06M|                        }
 1249|  5.08M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1250|  5.08M|                        key_buffer_.push_back(':');
 1251|  5.08M|                        break;
 1252|  3.08M|                    default:
  ------------------
  |  Branch (1252:21): [True: 3.08M, False: 5.08M]
  ------------------
 1253|  3.08M|                        destination_->key(key_, context, ec);
 1254|  3.08M|                        break;
 1255|  8.16M|                }
 1256|  8.16M|            }
 1257|  24.5M|            else
 1258|  24.5M|            {
 1259|  24.5M|                switch (level_stack_.back().target_kind())
 1260|  24.5M|                {
 1261|  9.00M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1261:21): [True: 9.00M, False: 15.5M]
  ------------------
 1262|  9.00M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1262:29): [True: 3.93M, False: 5.07M]
  |  Branch (1262:65): [True: 3.92M, False: 15.0k]
  ------------------
 1263|  3.92M|                        {
 1264|  3.92M|                            key_buffer_.push_back(',');
 1265|  3.92M|                        }
 1266|  9.00M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1267|  9.00M|                        break;
 1268|  15.5M|                    default:
  ------------------
  |  Branch (1268:21): [True: 15.5M, False: 9.00M]
  ------------------
 1269|  15.5M|                        destination_->uint64_value(value, tag, context, ec);
 1270|  15.5M|                        break;
 1271|  24.5M|                }
 1272|  24.5M|            }
 1273|       |
 1274|  32.7M|            level_stack_.back().advance();
 1275|  32.7M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  32.7M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1276|  32.7M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1279|  7.44M|        {
 1280|  7.44M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1280:17): [True: 520k, False: 6.91M]
  |  Branch (1280:49): [True: 2.71M, False: 4.20M]
  ------------------
 1281|  3.23M|            {
 1282|  3.23M|                key_.clear();
 1283|  3.23M|                jsoncons::from_integer(value,key_);
 1284|  3.23M|            }
 1285|       |
 1286|  7.44M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1286:17): [True: 520k, False: 6.91M]
  ------------------
 1287|   520k|            {
 1288|   520k|                switch (level_stack_.back().target_kind())
 1289|   520k|                {
 1290|   312k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1290:21): [True: 312k, False: 208k]
  ------------------
 1291|   312k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1291:29): [True: 303k, False: 9.62k]
  ------------------
 1292|   303k|                        {
 1293|   303k|                            key_buffer_.push_back(',');
 1294|   303k|                        }
 1295|   312k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1296|   312k|                        key_buffer_.push_back(':');
 1297|   312k|                        break;
 1298|   208k|                    default:
  ------------------
  |  Branch (1298:21): [True: 208k, False: 312k]
  ------------------
 1299|   208k|                        destination_->key(key_, context, ec);
 1300|   208k|                        break;
 1301|   520k|                }
 1302|   520k|            }
 1303|  6.91M|            else
 1304|  6.91M|            {
 1305|  6.91M|                switch (level_stack_.back().target_kind())
 1306|  6.91M|                {
 1307|  2.71M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1307:21): [True: 2.71M, False: 4.20M]
  ------------------
 1308|  2.71M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1308:29): [True: 2.40M, False: 310k]
  |  Branch (1308:65): [True: 2.39M, False: 1.61k]
  ------------------
 1309|  2.39M|                        {
 1310|  2.39M|                            key_buffer_.push_back(',');
 1311|  2.39M|                        }
 1312|  2.71M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1313|  2.71M|                        break;
 1314|  4.20M|                    default:
  ------------------
  |  Branch (1314:21): [True: 4.20M, False: 2.71M]
  ------------------
 1315|  4.20M|                        destination_->int64_value(value, tag, context, ec);
 1316|  4.20M|                        break;
 1317|  6.91M|                }
 1318|  6.91M|            }
 1319|       |
 1320|  7.44M|            level_stack_.back().advance();
 1321|  7.44M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  7.44M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1322|  7.44M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1374|   106k|        {
 1375|   106k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1375:17): [True: 33.4k, False: 72.8k]
  |  Branch (1375:49): [True: 42.9k, False: 29.9k]
  ------------------
 1376|  76.3k|            {
 1377|  76.3k|                key_.clear();
 1378|  76.3k|                string_sink<string_type> sink(key_);
 1379|  76.3k|                jsoncons::write_double f{float_chars_format::general,0};
 1380|  76.3k|                f(value, sink);
 1381|  76.3k|            }
 1382|       |
 1383|   106k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1383:17): [True: 33.4k, False: 72.8k]
  ------------------
 1384|  33.4k|            {
 1385|  33.4k|                switch (level_stack_.back().target_kind())
 1386|  33.4k|                {
 1387|  24.5k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1387:21): [True: 24.5k, False: 8.89k]
  ------------------
 1388|  24.5k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1388:29): [True: 19.1k, False: 5.37k]
  ------------------
 1389|  19.1k|                        {
 1390|  19.1k|                            key_buffer_.push_back(',');
 1391|  19.1k|                        }
 1392|  24.5k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1393|  24.5k|                        key_buffer_.push_back(':');
 1394|  24.5k|                        break;
 1395|  8.89k|                    default:
  ------------------
  |  Branch (1395:21): [True: 8.89k, False: 24.5k]
  ------------------
 1396|  8.89k|                        destination_->key(key_, context, ec);
 1397|  8.89k|                        break;
 1398|  33.4k|                }
 1399|  33.4k|            }
 1400|  72.8k|            else
 1401|  72.8k|            {
 1402|  72.8k|                switch (level_stack_.back().target_kind())
 1403|  72.8k|                {
 1404|  42.9k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1404:21): [True: 42.9k, False: 29.9k]
  ------------------
 1405|  42.9k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1405:29): [True: 24.3k, False: 18.6k]
  |  Branch (1405:65): [True: 22.6k, False: 1.69k]
  ------------------
 1406|  22.6k|                        {
 1407|  22.6k|                            key_buffer_.push_back(',');
 1408|  22.6k|                        }
 1409|  42.9k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1410|  42.9k|                        break;
 1411|  29.9k|                    default:
  ------------------
  |  Branch (1411:21): [True: 29.9k, False: 42.9k]
  ------------------
 1412|  29.9k|                        destination_->double_value(value, tag, context, ec);
 1413|  29.9k|                        break;
 1414|  72.8k|                }
 1415|  72.8k|            }
 1416|       |
 1417|   106k|            level_stack_.back().advance();
 1418|   106k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   106k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1419|   106k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  881|  2.42k|        {
  882|  2.42k|            destination_->flush();
  883|  2.42k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  914|  3.05M|        {
  915|  3.05M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (915:17): [True: 314k, False: 2.74M]
  ------------------
  916|   314k|            {
  917|   314k|                if (level_stack_.back().target_kind() == json_target_kind::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (917:21): [True: 31.4k, False: 282k]
  |  Branch (917:86): [True: 21.6k, False: 9.78k]
  ------------------
  918|  21.6k|                {
  919|  21.6k|                    key_buffer_.push_back(',');
  920|  21.6k|                }
  921|   314k|                level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  922|   314k|                key_buffer_.push_back('{');
  923|   314k|            }
  924|  2.74M|            else
  925|  2.74M|            {
  926|  2.74M|                switch (level_stack_.back().target_kind())
  927|  2.74M|                {
  928|   338k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (928:21): [True: 338k, False: 2.40M]
  ------------------
  929|   338k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (929:29): [True: 294k, False: 43.5k]
  |  Branch (929:65): [True: 292k, False: 2.76k]
  ------------------
  930|   292k|                        {
  931|   292k|                            key_buffer_.push_back(',');
  932|   292k|                        }
  933|   338k|                        level_stack_.emplace_back(json_target_kind::buffer, json_structure_kind::object);
  934|   338k|                        key_buffer_.push_back('{');
  935|   338k|                        break;
  936|  2.40M|                    default:
  ------------------
  |  Branch (936:21): [True: 2.40M, False: 338k]
  ------------------
  937|  2.40M|                        level_stack_.emplace_back(json_target_kind::destination, json_structure_kind::object);
  938|  2.40M|                        destination_->begin_object(length, tag, context, ec);
  939|  2.40M|                        break;
  940|  2.74M|                }
  941|  2.74M|            }
  942|  3.05M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.05M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  943|  3.05M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  946|  3.04M|        {
  947|  3.04M|            switch (level_stack_.back().target_kind())
  948|  3.04M|            {
  949|   641k|                case json_target_kind::buffer:
  ------------------
  |  Branch (949:17): [True: 641k, False: 2.40M]
  ------------------
  950|   641k|                    key_buffer_.push_back('}');
  951|   641k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|   641k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 641k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  952|   641k|                    level_stack_.pop_back();
  953|       |                    
  954|   641k|                    if (level_stack_.back().target_kind() == json_target_kind::destination)
  ------------------
  |  Branch (954:25): [True: 281k, False: 359k]
  ------------------
  955|   281k|                    {
  956|   281k|                        destination_->key(key_buffer_,context, ec);
  957|   281k|                        key_buffer_.clear();
  958|   281k|                    }
  959|   359k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (959:30): [True: 26.9k, False: 333k]
  ------------------
  960|  26.9k|                    {
  961|  26.9k|                        key_buffer_.push_back(':');
  962|  26.9k|                    }
  963|   641k|                    level_stack_.back().advance();
  964|   641k|                    break;
  965|  2.40M|                default:
  ------------------
  |  Branch (965:17): [True: 2.40M, False: 641k]
  ------------------
  966|  2.40M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   49|  2.40M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.40M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  967|  2.40M|                    level_stack_.pop_back();
  968|  2.40M|                    level_stack_.back().advance();
  969|  2.40M|                    destination_->end_object(context, ec);
  970|  2.40M|                    break;
  971|  3.04M|            }
  972|  3.04M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.04M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  973|  3.04M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1475|  2.71M|        {
 1476|  2.71M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1476:17): [True: 312k, False: 2.40M]
  |  Branch (1476:49): [True: 454k, False: 1.95M]
  ------------------
 1477|   767k|            {
 1478|   767k|                key_.clear(); 
 1479|   767k|                key_.insert(key_.begin(), json_literals<char_type>::null_literal.begin(), json_literals<char_type>::null_literal.end());
 1480|   767k|            }
 1481|       |
 1482|  2.71M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1482:17): [True: 312k, False: 2.40M]
  ------------------
 1483|   312k|            {
 1484|   312k|                switch (level_stack_.back().target_kind())
 1485|   312k|                {
 1486|   169k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1486:21): [True: 169k, False: 142k]
  ------------------
 1487|   169k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1487:29): [True: 168k, False: 959]
  ------------------
 1488|   168k|                        {
 1489|   168k|                            key_buffer_.push_back(',');
 1490|   168k|                        }
 1491|   169k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1492|   169k|                        key_buffer_.push_back(':');
 1493|   169k|                        break;
 1494|   142k|                    default:
  ------------------
  |  Branch (1494:21): [True: 142k, False: 169k]
  ------------------
 1495|   142k|                        destination_->key(key_, context, ec);
 1496|   142k|                        break;
 1497|   312k|                }
 1498|   312k|            }
 1499|  2.40M|            else
 1500|  2.40M|            {
 1501|  2.40M|                switch (level_stack_.back().target_kind())
 1502|  2.40M|                {
 1503|   454k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1503:21): [True: 454k, False: 1.95M]
  ------------------
 1504|   454k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1504:29): [True: 284k, False: 169k]
  |  Branch (1504:65): [True: 284k, False: 794]
  ------------------
 1505|   284k|                        {
 1506|   284k|                            key_buffer_.push_back(',');
 1507|   284k|                        }
 1508|   454k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1509|   454k|                        break;
 1510|  1.95M|                    default:
  ------------------
  |  Branch (1510:21): [True: 1.95M, False: 454k]
  ------------------
 1511|  1.95M|                        destination_->null_value(tag, context, ec);
 1512|  1.95M|                        break;
 1513|  2.40M|                }
 1514|  2.40M|            }
 1515|       |
 1516|  2.71M|            level_stack_.back().advance();
 1517|  2.71M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.71M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1518|  2.71M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1422|  25.8M|        {
 1423|  25.8M|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1423:17): [True: 978k, False: 24.8M]
  |  Branch (1423:49): [True: 19.3M, False: 5.50M]
  ------------------
 1424|  20.3M|            {
 1425|  20.3M|                key_.clear(); 
 1426|  20.3M|                if (value)
  ------------------
  |  Branch (1426:21): [True: 65.5k, False: 20.2M]
  ------------------
 1427|  65.5k|                {
 1428|  65.5k|                    key_.insert(key_.begin(), json_literals<char_type>::true_literal.begin(), json_literals<char_type>::true_literal.end());
 1429|  65.5k|                }
 1430|  20.2M|                else
 1431|  20.2M|                {
 1432|  20.2M|                    key_.insert(key_.begin(), json_literals<char_type>::false_literal.begin(), json_literals<char_type>::false_literal.end());
 1433|  20.2M|                }
 1434|  20.3M|            }
 1435|       |
 1436|  25.8M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1436:17): [True: 978k, False: 24.8M]
  ------------------
 1437|   978k|            {
 1438|   978k|                switch (level_stack_.back().target_kind())
 1439|   978k|                {
 1440|   627k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1440:21): [True: 627k, False: 350k]
  ------------------
 1441|   627k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1441:29): [True: 620k, False: 6.90k]
  ------------------
 1442|   620k|                        {
 1443|   620k|                            key_buffer_.push_back(',');
 1444|   620k|                        }
 1445|   627k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1446|   627k|                        key_buffer_.push_back(':');
 1447|   627k|                        break;
 1448|   350k|                    default:
  ------------------
  |  Branch (1448:21): [True: 350k, False: 627k]
  ------------------
 1449|   350k|                        destination_->key(key_, context, ec);
 1450|   350k|                        break;
 1451|   978k|                }
 1452|   978k|            }
 1453|  24.8M|            else
 1454|  24.8M|            {
 1455|  24.8M|                switch (level_stack_.back().target_kind())
 1456|  24.8M|                {
 1457|  19.3M|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1457:21): [True: 19.3M, False: 5.50M]
  ------------------
 1458|  19.3M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1458:29): [True: 18.7M, False: 630k]
  |  Branch (1458:65): [True: 18.7M, False: 2.87k]
  ------------------
 1459|  18.7M|                        {
 1460|  18.7M|                            key_buffer_.push_back(',');
 1461|  18.7M|                        }
 1462|  19.3M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1463|  19.3M|                        break;
 1464|  5.50M|                    default:
  ------------------
  |  Branch (1464:21): [True: 5.50M, False: 19.3M]
  ------------------
 1465|  5.50M|                        destination_->bool_value(value, tag, context, ec);
 1466|  5.50M|                        break;
 1467|  24.8M|                }
 1468|  24.8M|            }
 1469|       |
 1470|  25.8M|            level_stack_.back().advance();
 1471|  25.8M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  25.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1472|  25.8M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1072|  2.75M|        {
 1073|  2.75M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1073:17): [True: 238k, False: 2.51M]
  ------------------
 1074|   238k|            {
 1075|   238k|                switch (level_stack_.back().target_kind())
 1076|   238k|                {
 1077|   108k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1077:21): [True: 108k, False: 129k]
  ------------------
 1078|   108k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1078:29): [True: 106k, False: 1.98k]
  ------------------
 1079|   106k|                        {
 1080|   106k|                            key_buffer_.push_back(',');
 1081|   106k|                        }
 1082|   108k|                        key_buffer_.push_back('\"');
 1083|   108k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1084|   108k|                        key_buffer_.push_back('\"');
 1085|   108k|                        key_buffer_.push_back(':');
 1086|   108k|                        break;
 1087|   129k|                    default:
  ------------------
  |  Branch (1087:21): [True: 129k, False: 108k]
  ------------------
 1088|   129k|                        destination_->key(value, context, ec);
 1089|   129k|                        break;
 1090|   238k|                }
 1091|   238k|            }
 1092|  2.51M|            else
 1093|  2.51M|            {
 1094|  2.51M|                switch (level_stack_.back().target_kind())
 1095|  2.51M|                {
 1096|   596k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1096:21): [True: 596k, False: 1.91M]
  ------------------
 1097|   596k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1097:29): [True: 493k, False: 103k]
  |  Branch (1097:65): [True: 492k, False: 956]
  ------------------
 1098|   492k|                        {
 1099|   492k|                            key_buffer_.push_back(',');
 1100|   492k|                        }
 1101|   596k|                        key_buffer_.push_back('\"');
 1102|   596k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1103|   596k|                        key_buffer_.push_back('\"');
 1104|   596k|                        break;
 1105|  1.91M|                    default:
  ------------------
  |  Branch (1105:21): [True: 1.91M, False: 596k]
  ------------------
 1106|  1.91M|                        destination_->string_value(value, tag, context, ec);
 1107|  1.91M|                        break;
 1108|  2.51M|                }
 1109|  2.51M|            }
 1110|       |
 1111|  2.75M|            level_stack_.back().advance();
 1112|  2.75M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.75M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1113|  2.75M|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1119|   215k|        {
 1120|   215k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1120:17): [True: 15.9k, False: 199k]
  |  Branch (1120:49): [True: 14.0k, False: 185k]
  ------------------
 1121|  29.9k|            {
 1122|  29.9k|                key_.clear();
 1123|  29.9k|                switch (tag)
 1124|  29.9k|                {
 1125|      0|                    case semantic_tag::base64:
  ------------------
  |  Branch (1125:21): [True: 0, False: 29.9k]
  ------------------
 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: 29.9k]
  ------------------
 1129|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1130|      0|                        break;
 1131|  29.9k|                    default:
  ------------------
  |  Branch (1131:21): [True: 29.9k, False: 0]
  ------------------
 1132|  29.9k|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1133|  29.9k|                        break;
 1134|  29.9k|                }
 1135|  29.9k|            }
 1136|       |
 1137|   215k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1137:17): [True: 15.9k, False: 199k]
  ------------------
 1138|  15.9k|            {
 1139|  15.9k|                switch (level_stack_.back().target_kind())
 1140|  15.9k|                {
 1141|  5.37k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1141:21): [True: 5.37k, False: 10.5k]
  ------------------
 1142|  5.37k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1142:29): [True: 4.48k, False: 885]
  ------------------
 1143|  4.48k|                        {
 1144|  4.48k|                            key_buffer_.push_back(',');
 1145|  4.48k|                        }
 1146|  5.37k|                        key_buffer_.push_back('\"');
 1147|  5.37k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1148|  5.37k|                        key_buffer_.push_back('\"');
 1149|  5.37k|                        key_buffer_.push_back(':');
 1150|  5.37k|                        break;
 1151|  10.5k|                    default:
  ------------------
  |  Branch (1151:21): [True: 10.5k, False: 5.37k]
  ------------------
 1152|  10.5k|                        destination_->key(key_, context, ec);
 1153|  10.5k|                        break;
 1154|  15.9k|                }
 1155|  15.9k|            }
 1156|   199k|            else
 1157|   199k|            {
 1158|   199k|                switch (level_stack_.back().target_kind())
 1159|   199k|                {
 1160|  14.0k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1160:21): [True: 14.0k, False: 185k]
  ------------------
 1161|  14.0k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1161:29): [True: 8.60k, False: 5.41k]
  |  Branch (1161:65): [True: 8.17k, False: 435]
  ------------------
 1162|  8.17k|                        {
 1163|  8.17k|                            key_buffer_.push_back(',');
 1164|  8.17k|                        }
 1165|  14.0k|                        key_buffer_.push_back('\"');
 1166|  14.0k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1167|  14.0k|                        key_buffer_.push_back('\"');
 1168|  14.0k|                        break;
 1169|   185k|                    default:
  ------------------
  |  Branch (1169:21): [True: 185k, False: 14.0k]
  ------------------
 1170|   185k|                        destination_->byte_string_value(value, tag, context, ec);
 1171|   185k|                        break;
 1172|   199k|                }
 1173|   199k|            }
 1174|       |
 1175|   215k|            level_stack_.back().advance();
 1176|   215k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   215k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1177|   215k|        }
_ZN8jsoncons29basic_generic_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1183|   140k|        {
 1184|   140k|            if (level_stack_.back().is_key() || level_stack_.back().target_kind() == json_target_kind::buffer)
  ------------------
  |  Branch (1184:17): [True: 22.9k, False: 117k]
  |  Branch (1184:49): [True: 28.5k, False: 88.8k]
  ------------------
 1185|  51.5k|            {
 1186|  51.5k|                key_.clear();
 1187|  51.5k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1188|  51.5k|            }
 1189|       |
 1190|   140k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1190:17): [True: 22.9k, False: 117k]
  ------------------
 1191|  22.9k|            {
 1192|  22.9k|                switch (level_stack_.back().target_kind())
 1193|  22.9k|                {
 1194|  8.81k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1194:21): [True: 8.81k, False: 14.1k]
  ------------------
 1195|  8.81k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1195:29): [True: 7.23k, False: 1.57k]
  ------------------
 1196|  7.23k|                        {
 1197|  7.23k|                            key_buffer_.push_back(',');
 1198|  7.23k|                        }
 1199|  8.81k|                        key_buffer_.push_back('\"');
 1200|  8.81k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1201|  8.81k|                        key_buffer_.push_back('\"');
 1202|  8.81k|                        key_buffer_.push_back(':');
 1203|  8.81k|                        break;
 1204|  14.1k|                    default:
  ------------------
  |  Branch (1204:21): [True: 14.1k, False: 8.81k]
  ------------------
 1205|  14.1k|                        destination_->key(key_, context, ec);
 1206|  14.1k|                        break;
 1207|  22.9k|                }
 1208|  22.9k|            }
 1209|   117k|            else
 1210|   117k|            {
 1211|   117k|                switch (level_stack_.back().target_kind())
 1212|   117k|                {
 1213|  28.5k|                    case json_target_kind::buffer:
  ------------------
  |  Branch (1213:21): [True: 28.5k, False: 88.8k]
  ------------------
 1214|  28.5k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1214:29): [True: 20.2k, False: 8.29k]
  |  Branch (1214:65): [True: 19.5k, False: 779]
  ------------------
 1215|  19.5k|                        {
 1216|  19.5k|                            key_buffer_.push_back(',');
 1217|  19.5k|                        }
 1218|  28.5k|                        key_buffer_.push_back('\"');
 1219|  28.5k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1220|  28.5k|                        key_buffer_.push_back('\"');
 1221|  28.5k|                        break;
 1222|  88.8k|                    default:
  ------------------
  |  Branch (1222:21): [True: 88.8k, False: 28.5k]
  ------------------
 1223|  88.8k|                        destination_->byte_string_value(value, raw_tag, context, ec);
 1224|  88.8k|                        break;
 1225|   117k|                }
 1226|   117k|            }
 1227|       |
 1228|   140k|            level_stack_.back().advance();
 1229|   140k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   140k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1230|   140k|        }
_ZN8jsoncons21basic_generic_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  276|  3.05M|    {
  277|  3.05M|        visit_begin_object(length, tag, context, ec);
  278|  3.05M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.05M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  279|  3.05M|    }
_ZN8jsoncons21basic_generic_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  332|  2.75M|    {
  333|  2.75M|        visit_string(value, tag, context, ec);
  334|  2.75M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.75M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  335|  2.75M|    }
_ZN8jsoncons21basic_generic_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  314|  2.71M|    {
  315|  2.71M|        visit_null(tag, context, ec);
  316|  2.71M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.71M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  317|  2.71M|    }
_ZN8jsoncons21basic_generic_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  323|  25.8M|    {
  324|  25.8M|        visit_bool(value, tag, context, ec);
  325|  25.8M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  25.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  25.8M|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  343|   215k|    {
  344|   215k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  345|   215k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   215k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  346|   215k|    }
_ZN8jsoncons21basic_generic_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  354|   140k|    {
  355|   140k|        visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  356|   140k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   140k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  357|   140k|    }
_ZN8jsoncons21basic_generic_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  282|  3.04M|    {
  283|  3.04M|        visit_end_object(context, ec);
  284|  3.04M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.04M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  285|  3.04M|    }
_ZN8jsoncons21basic_generic_visitorIcE5flushEv:
   57|  2.42k|    {
   58|  2.42k|        visit_flush();
   59|  2.42k|    }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  105|  3.65M|        {
  106|  3.65M|            flatten_and_destroy();
  107|  3.65M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  248|  3.65M|        {
  249|  5.16M|            while (!data_.empty())
  ------------------
  |  Branch (249:20): [True: 1.50M, False: 3.65M]
  ------------------
  250|  1.50M|            {
  251|  1.50M|                value_type current = std::move(data_.back());
  252|  1.50M|                data_.pop_back();
  253|  1.50M|                switch (current.storage_kind())
  254|  1.50M|                {
  255|   383k|                    case json_storage_kind::array:
  ------------------
  |  Branch (255:21): [True: 383k, False: 1.12M]
  ------------------
  256|   383k|                    {
  257|   383k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (257:42): [True: 1.25M, False: 383k]
  ------------------
  258|  1.25M|                        {
  259|  1.25M|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (259:34): [True: 38.5k, False: 1.21M]
  |  Branch (259:85): [True: 8.94k, False: 1.20M]
  ------------------
  260|  47.4k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (260:36): [True: 30.5k, False: 16.8k]
  ------------------
  261|  30.5k|                            {
  262|  30.5k|                                data_.push_back(std::move(item));
  263|  30.5k|                            }
  264|  1.25M|                        }
  265|   383k|                        current.clear();                           
  266|   383k|                        break;
  267|      0|                    }
  268|  64.6k|                    case json_storage_kind::object:
  ------------------
  |  Branch (268:21): [True: 64.6k, False: 1.44M]
  ------------------
  269|  64.6k|                    {
  270|  64.6k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (270:40): [True: 116k, False: 64.6k]
  ------------------
  271|   116k|                        {
  272|   116k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (272:34): [True: 8.01k, False: 108k]
  |  Branch (272:91): [True: 29.8k, False: 79.1k]
  ------------------
  273|  37.8k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (273:36): [True: 33.4k, False: 4.36k]
  ------------------
  274|  33.4k|                            {
  275|  33.4k|                                data_.push_back(std::move(kv.value()));
  276|  33.4k|                            }
  277|   116k|                        }
  278|  64.6k|                        current.clear();                           
  279|  64.6k|                        break;
  280|      0|                    }
  281|  1.05M|                    default:
  ------------------
  |  Branch (281:21): [True: 1.05M, False: 448k]
  ------------------
  282|  1.05M|                        break;
  283|  1.50M|                }
  284|  1.50M|            }
  285|  3.65M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  222|   383k|        iterator begin() {return data_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  224|   383k|        iterator end() {return data_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  125|  54.7k|        {
  126|  54.7k|            return data_.empty();
  127|  54.7k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  142|   383k|        void clear() {data_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   49|  20.6k|            : allocator_holder<allocator_type>(alloc), 
   50|  20.6k|              data_(value_allocator_type(alloc))
   51|  20.6k|        {
   52|  20.6k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  217|  9.78k|        {
  218|  9.78k|            data_.emplace_back(std::forward<Args>(args)...);
  219|  9.78k|            return data_.back();
  220|  9.78k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  153|  41.8k|        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.68M|        {
  179|  2.68M|            data_.emplace_back(std::forward<T>(value));
  180|  2.68M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   46|  3.63M|        json_array() = default;

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  7.06k|        : alloc_(alloc),
   75|  7.06k|          result_(),
   76|  7.06k|          name_(alloc),
   77|  7.06k|          item_stack_(alloc),
   78|  7.06k|          structure_stack_(temp_alloc)
   79|  7.06k|    {
   80|       |        //item_stack_.reserve(1000);
   81|       |        //structure_stack_.reserve(100);
   82|  7.06k|        structure_stack_.emplace_back(json_structure_kind::root_kind, 0);
   83|  7.06k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14json_structureC2ENS7_19json_structure_kindEm:
   51|  6.05M|            : structure_kind(type), structure_index(offset)
   52|  6.05M|        {
   53|  6.05M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  186|  3.61M|    {
  187|  3.61M|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   49|  3.61M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.61M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  188|  3.61M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::array_kind);
  ------------------
  |  |   49|  3.61M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.61M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  189|  3.61M|        const size_t structure_index = structure_stack_.back().structure_index;
  190|  3.61M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   49|  3.61M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.61M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  191|       |
  192|  3.61M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  193|  3.61M|        auto& arr = item_stack_[structure_index].value;
  194|  3.61M|        const size_t size = item_stack_.size() - (structure_index + 1);
  195|       |
  196|  3.61M|        if (size > 0)
  ------------------
  |  Branch (196:13): [True: 41.8k, False: 3.57M]
  ------------------
  197|  41.8k|        {
  198|  41.8k|            arr.reserve(size);
  199|  41.8k|            auto first = item_stack_.begin() + (structure_index+1);
  200|  41.8k|            auto last = first + size;
  201|  2.72M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (201:35): [True: 2.68M, False: 41.8k]
  ------------------
  202|  2.68M|            {
  203|  2.68M|                arr.push_back(std::move((*it).value));
  204|  2.68M|            }
  205|  41.8k|            item_stack_.erase(first, item_stack_.end());
  206|  41.8k|        }
  207|       |
  208|  3.61M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (208:13): [True: 239, False: 3.61M]
  ------------------
  209|    239|        {
  210|    239|            result_ = std::move(item_stack_.front().value);
  211|    239|            item_stack_.pop_back();
  212|    239|            is_valid_ = true;
  213|    239|        }
  214|       |
  215|  3.61M|        structure_stack_.pop_back();
  216|  3.61M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.61M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  3.61M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  311|  15.5M|    {
  312|  15.5M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (312:17): [True: 15.5M, False: 0]
  ------------------
  313|  15.5M|        {
  314|  3.05M|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (314:13): [True: 3.05M, False: 12.4M]
  ------------------
  315|  3.05M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  316|  3.05M|                break;
  317|  12.4M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (317:13): [True: 12.4M, False: 3.05M]
  ------------------
  318|  12.4M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  319|  12.4M|                break;
  320|     11|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (320:13): [True: 11, False: 15.5M]
  ------------------
  321|     11|                result_ = Json(value,tag);
  322|     11|                is_valid_ = true;
  323|     11|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|     11|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  324|  15.5M|        }
  325|  15.5M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  15.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  326|  15.5M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  290|  4.20M|    {
  291|  4.20M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (291:17): [True: 4.20M, False: 0]
  ------------------
  292|  4.20M|        {
  293|   178k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (293:13): [True: 178k, False: 4.02M]
  ------------------
  294|   178k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  295|   178k|                break;
  296|  4.02M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (296:13): [True: 4.02M, False: 178k]
  ------------------
  297|  4.02M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  298|  4.02M|                break;
  299|      6|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (299:13): [True: 6, False: 4.20M]
  ------------------
  300|      6|                result_ = Json(value,tag);
  301|      6|                is_valid_ = true;
  302|      6|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      6|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  303|  4.20M|        }
  304|  4.20M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.20M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  305|  4.20M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  353|  29.9k|    {
  354|  29.9k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (354:17): [True: 29.9k, False: 0]
  ------------------
  355|  29.9k|        {
  356|  4.46k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (356:13): [True: 4.46k, False: 25.4k]
  ------------------
  357|  4.46k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  358|  4.46k|                break;
  359|  25.4k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (359:13): [True: 25.4k, False: 4.46k]
  ------------------
  360|  25.4k|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  361|  25.4k|                break;
  362|      2|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (362:13): [True: 2, False: 29.9k]
  ------------------
  363|      2|                result_ = Json(value, tag);
  364|      2|                is_valid_ = true;
  365|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  366|  29.9k|        }
  367|  29.9k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  29.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  29.9k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|  2.42k|    {
  123|  2.42k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  2.40M|    {
  127|  2.40M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (127:13): [True: 323k, False: 2.08M]
  ------------------
  128|   323k|        {
  129|   323k|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  130|   323k|            item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  131|   323k|        }
  132|  2.08M|        else
  133|  2.08M|        {
  134|  2.08M|            structure_stack_.emplace_back(json_structure_kind::object_kind, item_stack_.size());
  135|  2.08M|            item_stack_.emplace_back(key_type(alloc_), 0, json_object_arg, tag);
  136|  2.08M|        }
  137|  2.40M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  138|  2.40M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  141|  2.40M|    {
  142|  2.40M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   49|  2.40M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.40M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  143|  2.40M|        JSONCONS_ASSERT(structure_stack_.back().structure_kind == json_structure_kind::object_kind);
  ------------------
  |  |   49|  2.40M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.40M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  144|  2.40M|        const size_t structure_index = structure_stack_.back().structure_index;
  145|  2.40M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   49|  2.40M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.40M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  146|       |
  147|  2.40M|        const size_t size = item_stack_.size() - (structure_index + 1);
  148|  2.40M|        auto first = item_stack_.begin() + (structure_index+1);
  149|  2.40M|        auto& structure = structure_stack_[structure_stack_.size()-2];
  150|  2.40M|        auto& obj = item_stack_[structure_index].value;
  151|       |
  152|  2.40M|        if (size > 0)
  ------------------
  |  Branch (152:13): [True: 63.5k, False: 2.33M]
  ------------------
  153|  63.5k|        {
  154|  63.5k|            obj.template cast<typename Json::object_storage>().value().uninitialized_init(
  155|  63.5k|                &item_stack_[structure_index+1], size);
  156|  63.5k|            item_stack_.erase(first, item_stack_.end());
  157|  63.5k|        }
  158|       |
  159|  2.40M|        if (structure.structure_kind == json_structure_kind::root_kind)
  ------------------
  |  Branch (159:13): [True: 1.29k, False: 2.39M]
  ------------------
  160|  1.29k|        {
  161|  1.29k|            result_ = std::move(item_stack_.front().value);
  162|  1.29k|            item_stack_.pop_back();
  163|  1.29k|            is_valid_ = true;
  164|  1.29k|        }
  165|       |
  166|  2.40M|        structure_stack_.pop_back();
  167|  2.40M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  168|  2.40M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  171|  3.63M|    {
  172|  3.63M|        if (structure_stack_.back().structure_kind == json_structure_kind::object_kind)
  ------------------
  |  Branch (172:13): [True: 418k, False: 3.22M]
  ------------------
  173|   418k|        {
  174|   418k|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  175|   418k|            item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  176|   418k|        }
  177|  3.22M|        else
  178|  3.22M|        {
  179|  3.22M|            structure_stack_.emplace_back(json_structure_kind::array_kind, item_stack_.size());
  180|  3.22M|            item_stack_.emplace_back(key_type(alloc_), 0, json_array_arg, tag);
  181|  3.22M|        }
  182|  3.63M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.63M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  183|  3.63M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  220|  4.64M|    {
  221|  4.64M|        name_ = key_type(name.data(),name.length(),alloc_);
  222|  4.64M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.64M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  223|  4.64M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  389|  1.95M|    {
  390|  1.95M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (390:17): [True: 1.95M, False: 0]
  ------------------
  391|  1.95M|        {
  392|   143k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (392:13): [True: 143k, False: 1.80M]
  ------------------
  393|   143k|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  394|   143k|                break;
  395|  1.80M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (395:13): [True: 1.80M, False: 143k]
  ------------------
  396|  1.80M|                item_stack_.emplace_back(key_type(alloc_), 0, null_type(), tag);
  397|  1.80M|                break;
  398|      1|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (398:13): [True: 1, False: 1.95M]
  ------------------
  399|      1|                result_ = Json(null_type(), tag);
  400|      1|                is_valid_ = true;
  401|      1|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      1|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  402|  1.95M|        }
  403|  1.95M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.95M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  404|  1.95M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  371|  5.50M|    {
  372|  5.50M|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (372:17): [True: 5.50M, False: 0]
  ------------------
  373|  5.50M|        {
  374|   353k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (374:13): [True: 353k, False: 5.14M]
  ------------------
  375|   353k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  376|   353k|                break;
  377|  5.14M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (377:13): [True: 5.14M, False: 353k]
  ------------------
  378|  5.14M|                item_stack_.emplace_back(key_type(alloc_), 0, value, tag);
  379|  5.14M|                break;
  380|      2|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (380:13): [True: 2, False: 5.50M]
  ------------------
  381|      2|                result_ = Json(value, tag);
  382|      2|                is_valid_ = true;
  383|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  384|  5.50M|        }
  385|  5.50M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.50M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  5.50M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  226|  1.91M|    {
  227|  1.91M|        auto& structure = structure_stack_.back();
  228|  1.91M|        switch (structure.structure_kind)
  ------------------
  |  Branch (228:17): [True: 1.91M, False: 0]
  ------------------
  229|  1.91M|        {
  230|   125k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (230:13): [True: 125k, False: 1.79M]
  ------------------
  231|   125k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  232|   125k|                break;
  233|  1.79M|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (233:13): [True: 1.79M, False: 126k]
  ------------------
  234|  1.79M|                item_stack_.emplace_back(key_type(alloc_), 0, sv, tag);
  235|  1.79M|                break;
  236|    831|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (236:13): [True: 831, False: 1.91M]
  ------------------
  237|    831|                result_ = Json(sv, tag, alloc_);
  238|    831|                is_valid_ = true;
  239|    831|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|    831|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  240|  1.91M|        }
  241|  1.91M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.91M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  242|  1.91M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  248|   185k|    {
  249|   185k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (249:17): [True: 185k, False: 0]
  ------------------
  250|   185k|        {
  251|  30.9k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (251:13): [True: 30.9k, False: 154k]
  ------------------
  252|  30.9k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, tag);
  253|  30.9k|                break;
  254|   154k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (254:13): [True: 154k, False: 30.9k]
  ------------------
  255|   154k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, tag);
  256|   154k|                break;
  257|     33|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (257:13): [True: 33, False: 185k]
  ------------------
  258|     33|                result_ = Json(byte_string_arg, b, tag, alloc_);
  259|     33|                is_valid_ = true;
  260|     33|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|     33|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  261|   185k|        }
  262|   185k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   185k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  263|   185k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  269|  88.8k|    {
  270|  88.8k|        switch (structure_stack_.back().structure_kind)
  ------------------
  |  Branch (270:17): [True: 88.8k, False: 0]
  ------------------
  271|  88.8k|        {
  272|  12.6k|            case json_structure_kind::object_kind:
  ------------------
  |  Branch (272:13): [True: 12.6k, False: 76.2k]
  ------------------
  273|  12.6k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, raw_tag);
  274|  12.6k|                break;
  275|  76.2k|            case json_structure_kind::array_kind:
  ------------------
  |  Branch (275:13): [True: 76.2k, False: 12.6k]
  ------------------
  276|  76.2k|                item_stack_.emplace_back(key_type(alloc_), 0, byte_string_arg, b, raw_tag);
  277|  76.2k|                break;
  278|      7|            case json_structure_kind::root_kind:
  ------------------
  |  Branch (278:13): [True: 7, False: 88.8k]
  ------------------
  279|      7|                result_ = Json(byte_string_arg, b, raw_tag, alloc_);
  280|      7|                is_valid_ = true;
  281|      7|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|      7|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  282|  88.8k|        }
  283|  88.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  88.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|  88.8k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|  2.42k|    {
  109|  2.42k|        return is_valid_;
  110|  2.42k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|  2.42k|    {
  114|  2.42k|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   49|  2.42k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.42k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  115|  2.42k|        is_valid_ = false;
  116|  2.42k|        return std::move(result_);
  117|  2.42k|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  7.06k|{
 1065|  7.06k|    return json_visitor_adaptor<From, To>(to);
 1066|  7.06k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  7.06k|        : supertype(visitor)
  984|  7.06k|    {
  985|  7.06k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  7.06k|        : destination1_(std::addressof(visitor))
  722|  7.06k|    {
  723|  7.06k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  777|  3.63M|    {
  778|  3.63M|        destination1_->begin_array(length, tag, context, ec);
  779|  3.63M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.63M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|  3.63M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  3.61M|    {
  784|  3.61M|        destination1_->end_array(context, ec);
  785|  3.61M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.61M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  3.61M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  15.5M|    {
  826|  15.5M|        destination1_->uint64_value(value, tag, context, ec);
  827|  15.5M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  15.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  15.5M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  4.20M|    {
  820|  4.20M|        destination1_->int64_value(value, tag, context, ec);
  821|  4.20M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.20M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  4.20M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  29.9k|    {
  814|  29.9k|        destination1_->double_value(value, tag, context, ec);
  815|  29.9k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  29.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  29.9k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|  2.42k|    {
  739|  2.42k|        destination1_->flush();
  740|  2.42k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|  2.40M|    {
  755|  2.40M|        destination1_->begin_object(length, tag, context, ec);
  756|  2.40M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  2.40M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  2.40M|    {
  761|  2.40M|        destination1_->end_object(context, ec);
  762|  2.40M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  2.40M|    }
_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|  4.64M|    {
  996|  4.64M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  4.64M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  6.56M|    {
  733|  6.56M|        return *destination1_;
  734|  6.56M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  1.95M|    {
  838|  1.95M|        destination1_->null_value(tag, context, ec);
  839|  1.95M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  1.95M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  1.95M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  5.50M|    {
  832|  5.50M|        destination1_->bool_value(value, tag, context, ec);
  833|  5.50M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  5.50M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  5.50M|    }
_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.91M|    {
 1004|  1.91M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  1.91M|    }
_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|   185k|    {
  793|   185k|        destination1_->byte_string_value(b, tag, context, ec);
  794|   185k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   185k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  795|   185k|    }
_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|  88.8k|    {
  802|  88.8k|        destination1_->byte_string_value(b, raw_tag, context, ec);
  803|  88.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  88.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|  88.8k|    }

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  21.1k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  28.2k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|  3.63M|        {
  561|  3.63M|            visit_begin_array(tag, context, ec);
  562|  3.63M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.63M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  3.63M|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  2.40M|        {
  545|  2.40M|            visit_begin_object(tag, context, ec);
  546|  2.40M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  2.40M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  2.40M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  7.27M|        {
  346|  7.27M|            visit_begin_array(length, tag, context, ec);
  347|  7.27M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  7.27M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  7.27M|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  31.0M|        {
  415|  31.0M|            visit_uint64(value, tag, context, ec);
  416|  31.0M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  31.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  31.0M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  7.22M|        {
  352|  7.22M|            visit_end_array(context, ec);
  353|  7.22M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  7.22M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  7.22M|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  8.41M|        {
  424|  8.41M|            visit_int64(value, tag, context, ec);
  425|  8.41M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  8.41M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  8.41M|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|  59.8k|        {
  442|  59.8k|            visit_double(value, tag, context, ec);
  443|  59.8k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  59.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|  59.8k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|  4.85k|        {
  109|  4.85k|            visit_flush();
  110|  4.85k|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  4.81M|        {
  328|  4.81M|            visit_begin_object(length, tag, context, ec);
  329|  4.81M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.81M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  4.81M|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  4.80M|        {
  334|  4.80M|            visit_end_object(context, ec);
  335|  4.80M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  4.80M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  4.80M|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  9.28M|        {
  358|  9.28M|            visit_key(name, context, ec);
  359|  9.28M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  9.28M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  9.28M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  3.90M|        {
  366|  3.90M|            visit_null(tag, context, ec);
  367|  3.90M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.90M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  3.90M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  11.0M|        {
  375|  11.0M|            visit_bool(value, tag, context, ec);
  376|  11.0M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  11.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  11.0M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  3.83M|        {
  384|  3.83M|            visit_string(value, tag, context, ec);
  385|  3.83M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|  3.83M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  3.83M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  394|   371k|        {
  395|   371k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  396|   371k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   371k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  397|   371k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|   177k|        {
  406|   177k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), raw_tag, context, ec);
  407|   177k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  276|   177k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|   177k|        }
_ZN8jsoncons26basic_default_json_visitorIcEC2Ev:
  811|  7.06k|        basic_default_json_visitor() = default;

_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|   437k|    {
  121|   437k|        return value_;
  122|   437k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  23.1M|    index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  15.5M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  15.5M|    {
   45|  15.5M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  64.7M|    index_key_value(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.20M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.20M|    {
   45|  4.20M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  29.9k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  29.9k|    {
   45|  29.9k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.40M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.40M|    {
   45|  2.40M|    }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|   229k|        : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|   229k|    {
   88|   229k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  3.63M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.63M|    {
   45|  3.63M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.95M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.95M|    {
   45|  1.95M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  5.50M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  5.50M|    {
   45|  5.50M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  1.91M|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.91M|    {
   45|  1.91M|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   185k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   185k|    {
   45|   185k|    }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  88.8k|        : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  88.8k|    {
   45|  88.8k|    }

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

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

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  158|  48.6k|        {
  159|  48.6k|            return data_.empty();
  160|  48.6k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  195|  64.6k|        void clear() {data_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  168|  64.6k|        {
  169|  64.6k|            return data_.begin();
  170|  64.6k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  173|  64.6k|        {
  174|  64.6k|            return data_.end();
  175|  64.6k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  153|  2.40M|        {
  154|  2.40M|            flatten_and_destroy();
  155|  2.40M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  724|  2.40M|        {
  725|  2.40M|            if (!data_.empty())
  ------------------
  |  Branch (725:17): [True: 20.6k, False: 2.38M]
  ------------------
  726|  20.6k|            {
  727|  20.6k|                json_array<Json> temp(get_allocator());
  728|       |
  729|  20.6k|                for (auto& kv : data_)
  ------------------
  |  Branch (729:31): [True: 112k, False: 20.6k]
  ------------------
  730|   112k|                {
  731|   112k|                    switch (kv.value().storage_kind())
  732|   112k|                    {
  733|  8.26k|                        case json_storage_kind::array:
  ------------------
  |  Branch (733:25): [True: 8.26k, False: 104k]
  ------------------
  734|  18.1k|                        case json_storage_kind::object:
  ------------------
  |  Branch (734:25): [True: 9.86k, False: 102k]
  ------------------
  735|  18.1k|                            if (!kv.value().empty())
  ------------------
  |  Branch (735:33): [True: 9.78k, False: 8.34k]
  ------------------
  736|  9.78k|                            {
  737|  9.78k|                                temp.emplace_back(std::move(kv.value()));
  738|  9.78k|                            }
  739|  18.1k|                            break;
  740|  94.4k|                        default:
  ------------------
  |  Branch (740:25): [True: 94.4k, False: 18.1k]
  ------------------
  741|  94.4k|                            break;
  742|   112k|                    }
  743|   112k|                }
  744|  20.6k|            }
  745|  2.40M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
   61|  2.40M|        sorted_json_object() = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  277|  63.5k|        {
  278|  63.5k|            if (count > 0)
  ------------------
  |  Branch (278:17): [True: 63.5k, False: 0]
  ------------------
  279|  63.5k|            {
  280|  63.5k|                data_.reserve(count);
  281|       |
  282|  63.5k|                std::sort(items, items+count, compare);
  283|  63.5k|                data_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  284|       |                
  285|  4.00M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (285:41): [True: 3.94M, False: 63.5k]
  ------------------
  286|  3.94M|                {
  287|  3.94M|                    auto& item = items[i];
  288|  3.94M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (288:25): [True: 166k, False: 3.77M]
  ------------------
  289|   166k|                    {
  290|   166k|                        data_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  291|   166k|                    }
  292|  3.94M|                }
  293|  63.5k|            }
  294|  63.5k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  268|  82.8M|        {
  269|  82.8M|            int comp = item1.name.compare(item2.name); 
  270|  82.8M|            if (comp < 0) return true;
  ------------------
  |  Branch (270:17): [True: 1.98M, False: 80.8M]
  ------------------
  271|  80.8M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (271:17): [True: 79.1M, False: 1.70M]
  ------------------
  272|       |
  273|  1.70M|            return false;
  274|  80.8M|        }

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

_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ImEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|  84.5k|        : storage_(n, alloc)
  694|  84.5k|    {
  695|  84.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ImEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|  84.5k|        : word_allocator_type(alloc)
  361|  84.5k|    {
  362|  84.5k|        ::new (&inlined_) inlined_storage(n);
  363|  84.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ImEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  138|  84.5k|            : is_allocated_(false),
  139|  84.5k|            is_negative_(false),
  140|  84.5k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 30.8k, False: 53.6k]
  ------------------
  141|  84.5k|        {
  142|  84.5k|            values_[0] = n;
  143|  84.5k|            values_[1] = 0;
  144|  84.5k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLImEENS1_9enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueERS4_E4typeES7_:
  998|  28.7k|    {
  999|  28.7k|        auto this_view = get_storage_view();
 1000|  28.7k|        size_type len0 = this_view.size();
 1001|  28.7k|        word_type dig = this_view[0];
 1002|  28.7k|        word_type carry = 0;
 1003|       |
 1004|  28.7k|        resize(this_view.size() + 1);
 1005|  28.7k|        this_view = get_storage_view();
 1006|       |
 1007|  28.7k|        size_type i = 0;
 1008|  56.2k|        for (; i < len0; i++ )
  ------------------
  |  Branch (1008:16): [True: 27.5k, False: 28.7k]
  ------------------
 1009|  27.5k|        {
 1010|  27.5k|            word_type hi;
 1011|  27.5k|            word_type lo;
 1012|  27.5k|            DDproduct( dig, y, hi, lo );
 1013|  27.5k|            this_view[i] = lo + carry;
 1014|  27.5k|            dig = this_view[i+1];
 1015|  27.5k|            carry = hi + (this_view[i] < lo);
 1016|  27.5k|        }
 1017|  28.7k|        this_view[i] = carry;
 1018|  28.7k|        reduce();
 1019|  28.7k|        return *this;
 1020|  28.7k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  718|   470k|    {
  719|   470k|        return storage_.get_storage_view();
  720|   470k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  520|   677k|    {
  521|   677k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (521:16): [True: 195k, False: 482k]
  ------------------
  522|   195k|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  523|   677k|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  524|   677k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   64|   677k|            : data_(data), size_(size)
   65|   677k|        {
   66|   677k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   84|  1.09M|        {
   85|  1.09M|            return size_;
   86|  1.09M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   69|   447k|        {
   70|   447k|            return data_[i];
   71|   447k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  818|  73.0k|    {
  819|  73.0k|        storage_.resize(new_length);
  820|  73.0k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  534|   160k|    {
  535|   160k|        size_type old_length = common_.size_;
  536|   160k|        reserve(new_length);
  537|   160k|        common_.size_ = new_length;
  538|       |
  539|   160k|        if (old_length < new_length)
  ------------------
  |  Branch (539:13): [True: 91.8k, False: 68.9k]
  ------------------
  540|  91.8k|        {
  541|  91.8k|            if (is_allocated())
  ------------------
  |  Branch (541:17): [True: 15.0k, False: 76.7k]
  ------------------
  542|  15.0k|            {
  543|  15.0k|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  544|  15.0k|            }
  545|  76.7k|            else
  546|  76.7k|            {
  547|  76.7k|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   49|  76.7k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 76.7k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  548|   190k|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (548:48): [True: 113k, False: 76.7k]
  ------------------
  549|   113k|                {
  550|   113k|                    inlined_.values_[i] = 0;
  551|   113k|                }
  552|  76.7k|            }
  553|  91.8k|        }
  554|   160k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  452|   160k|    {
  453|   160k|       if (capacity() < n)
  ------------------
  |  Branch (453:12): [True: 15.0k, False: 145k]
  ------------------
  454|  15.0k|       {
  455|  15.0k|           if (!is_allocated())
  ------------------
  |  Branch (455:16): [True: 15.0k, False: 0]
  ------------------
  456|  15.0k|           {
  457|  15.0k|               size_type size = inlined_.size_;
  458|  15.0k|               size_type is_neg = inlined_.is_negative_;
  459|  15.0k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  460|       |
  461|  15.0k|               ::new (&allocated_) allocated_storage();
  462|  15.0k|               allocated_.reserve(n, get_allocator());
  463|  15.0k|               allocated_.size_ = size;
  464|  15.0k|               allocated_.is_negative_ = is_neg;
  465|  15.0k|               if (n >= 1)
  ------------------
  |  Branch (465:20): [True: 15.0k, False: 0]
  ------------------
  466|  15.0k|               {
  467|  15.0k|                   allocated_.data_[0] = values[0];
  468|  15.0k|               }
  469|  15.0k|               if (n >= 2)
  ------------------
  |  Branch (469:20): [True: 15.0k, False: 0]
  ------------------
  470|  15.0k|               {
  471|  15.0k|                   allocated_.data_[1] = values[1];
  472|  15.0k|               }
  473|  15.0k|           }
  474|      0|           else
  475|      0|           {
  476|      0|               allocated_.reserve(n, get_allocator());
  477|      0|           }
  478|  15.0k|       }
  479|   160k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  505|   160k|    {
  506|   160k|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (506:16): [True: 30.0k, False: 130k]
  ------------------
  507|   160k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  203|  15.0k|            : is_allocated_(true),
  204|  15.0k|            is_negative_(false)
  205|  15.0k|        {
  206|  15.0k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  255|  15.0k|        {
  256|  15.0k|            JSONCONS_ASSERT(n < max_size);
  ------------------
  |  |   49|  15.0k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 15.0k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  257|  15.0k|            size_type capacity_new = round_up(n);
  258|       |
  259|  15.0k|            real_allocator_type alloc(a);
  260|  15.0k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  261|  15.0k|            if (size_ > 0)
  ------------------
  |  Branch (261:17): [True: 0, False: 15.0k]
  ------------------
  262|      0|            {
  263|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  264|      0|            }
  265|  15.0k|            if (data_ != nullptr)
  ------------------
  |  Branch (265:17): [True: 0, False: 15.0k]
  ------------------
  266|      0|            {
  267|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  268|      0|            }
  269|  15.0k|            capacity_ = capacity_new;
  270|  15.0k|            data_ = data_new;
  271|  15.0k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  275|  15.0k|        {
  276|  15.0k|            size_type remainder = i % mem_unit;
  277|  15.0k|            size_type off = mem_unit - remainder;
  278|  15.0k|            bool testoff = i < max_size - off;
  279|  15.0k|            JSONCONS_ASSERT(testoff);
  ------------------
  |  |   49|  15.0k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 15.0k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  280|       |
  281|  15.0k|            return i + off;
  282|  15.0k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  482|   328k|    {
  483|   328k|        return static_cast<const word_allocator_type&>(*this);
  484|   328k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  500|   751k|    {
  501|   751k|        return common_.is_allocated_;
  502|   751k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1781|  43.0k|    {
 1782|  43.0k|        word_type hiA = A >> word_type_half_bits, loA = A & r_mask,
 1783|  43.0k|                   hiB = B >> word_type_half_bits, loB = B & r_mask;
 1784|       |
 1785|  43.0k|        lo = loA * loB;
 1786|  43.0k|        hi = hiA * hiB;
 1787|  43.0k|        word_type mid1 = loA * hiB;
 1788|  43.0k|        word_type mid2 = hiA * loB;
 1789|  43.0k|        word_type old = lo;
 1790|  43.0k|        lo += mid1 << word_type_half_bits;
 1791|  43.0k|            hi += (lo < old) + (mid1 >> word_type_half_bits);
 1792|  43.0k|        old = lo;
 1793|  43.0k|        lo += mid2 << word_type_half_bits;
 1794|  43.0k|            hi += (lo < old) + (mid2 >> word_type_half_bits);
 1795|  43.0k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 1917|   119k|    {
 1918|   119k|        storage_.reduce();
 1919|   119k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  429|   119k|    {
  430|   119k|        if (common_.size_ > 0)
  ------------------
  |  Branch (430:13): [True: 119k, False: 0]
  ------------------
  431|   119k|        {
  432|   119k|            auto this_view = get_storage_view();
  433|   119k|            word_type* p = this_view.end() - 1;
  434|   119k|            word_type* first = this_view.begin();
  435|   183k|            while ( p >= first )
  ------------------
  |  Branch (435:21): [True: 174k, False: 8.27k]
  ------------------
  436|   174k|            {
  437|   174k|                if ( *p )
  ------------------
  |  Branch (437:22): [True: 111k, False: 63.3k]
  ------------------
  438|   111k|                {
  439|   111k|                    break;
  440|   111k|                }
  441|  63.3k|                --common_.size_;
  442|  63.3k|                --p;
  443|  63.3k|            }
  444|   119k|        }
  445|   119k|        if (common_.size_ == 0)
  ------------------
  |  Branch (445:13): [True: 8.27k, False: 111k]
  ------------------
  446|  8.27k|        {
  447|  8.27k|            common_.is_negative_ = false;
  448|  8.27k|        }
  449|   119k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
   93|   119k|        {
   94|   119k|            return data_ + size_;
   95|   119k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
   88|   119k|        {
   89|   119k|            return data_;
   90|   119k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLImEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  889|  12.3k|    {
  890|  12.3k|        if ( is_negative())
  ------------------
  |  Branch (890:14): [True: 0, False: 12.3k]
  ------------------
  891|      0|            return *this -= -basic_bigint<Allocator>(y);
  892|       |
  893|  12.3k|        word_type d;
  894|  12.3k|        word_type carry = 0;
  895|       |
  896|  12.3k|        auto this_view = get_storage_view();
  897|  12.3k|        resize(this_view.size() + 1);
  898|       |
  899|  12.3k|        this_view = get_storage_view();
  900|  12.3k|        const size_type this_size = this_view.size();
  901|  12.3k|        size_type y_size = 1;
  902|       |
  903|  12.3k|        d = this_view[0] + carry;
  904|  12.3k|        carry = d < carry;
  905|  12.3k|        this_view[0] = d + y;
  906|  12.3k|        if (this_view[0] < d)
  ------------------
  |  Branch (906:13): [True: 0, False: 12.3k]
  ------------------
  907|      0|            carry = 1;
  908|       |
  909|  12.3k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (909:36): [True: 11.5k, False: 833]
  |  Branch (909:53): [True: 0, False: 11.5k]
  ------------------
  910|      0|        {
  911|      0|            d = this_view[i] + carry;
  912|      0|            carry = d < carry;
  913|      0|            this_view[i] = d;
  914|      0|        }
  915|  12.3k|        reduce();
  916|  12.3k|        return *this;
  917|  12.3k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  728|   434k|    {
  729|   434k|        return storage_.is_negative();
  730|   434k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  510|   434k|    {
  511|   434k|        return common_.is_negative_;
  512|   434k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  835|  4.06k|    {
  836|  4.06k|        basic_bigint<Allocator> v(*this);
  837|  4.06k|        v.set_negative(!v.is_negative());
  838|  4.06k|        return v;
  839|  4.06k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  671|  32.8k|        : storage_(other.storage_)
  672|  32.8k|    {
  673|  32.8k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  299|  32.8k|        : word_allocator_type(other.get_allocator())
  300|  32.8k|    {
  301|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  302|       |# pragma GCC diagnostic push
  303|       |# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
  304|       |#endif
  305|  32.8k|        if (!other.is_allocated())
  ------------------
  |  Branch (305:13): [True: 17.7k, False: 15.0k]
  ------------------
  306|  17.7k|        {
  307|  17.7k|            ::new (&inlined_) inlined_storage(other.inlined_);
  308|  17.7k|        }
  309|  15.0k|        else
  310|  15.0k|        {
  311|  15.0k|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  312|  15.0k|        }
  313|       |#if defined(__GNUC__) && JSONCONS_GCC_AVAILABLE(12,0,0)
  314|       |# pragma GCC diagnostic pop
  315|       |#endif
  316|  32.8k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  178|   107k|            : is_allocated_(false),
  179|   107k|            is_negative_(stor.is_negative_),
  180|   107k|            size_(stor.size_)
  181|   107k|        {
  182|   107k|            values_[0] = stor.values_[0];
  183|   107k|            values_[1] = stor.values_[1];
  184|   107k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  209|  60.1k|            : is_allocated_(true),
  210|  60.1k|              is_negative_(stor.is_negative_),
  211|  60.1k|              size_(stor.size_),
  212|  60.1k|              capacity_(stor.capacity_)
  213|  60.1k|        {
  214|  60.1k|            real_allocator_type alloc(a);
  215|       |
  216|  60.1k|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  217|  60.1k|            JSONCONS_TRY
  ------------------
  |  |   37|  60.1k|    #define JSONCONS_TRY try
  ------------------
  218|  60.1k|            {
  219|  60.1k|                std::allocator_traits<real_allocator_type>::construct(alloc, ext_traits::to_plain_pointer(data_));
  220|  60.1k|            }
  221|  60.1k|            JSONCONS_CATCH(...)
  222|  60.1k|            {
  223|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  224|      0|                data_ = nullptr;
  225|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  226|      0|            }
  227|  60.1k|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   49|  60.1k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 60.1k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  228|  60.1k|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  229|  60.1k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  733|   210k|    {
  734|   210k|        storage_.set_negative(value);
  735|   210k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  515|   210k|    {
  516|   210k|        common_.is_negative_ = value;
  517|   210k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE12write_stringIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1359|  28.7k|    {
 1360|  28.7k|        basic_bigint<Allocator> v(*this);
 1361|  28.7k|        auto v_view = v.get_storage_view();
 1362|       |
 1363|  28.7k|        size_type len = (v_view.size() * word_type_bits / 3) + 2;
 1364|  28.7k|        data.reserve(len);
 1365|       |
 1366|  28.7k|        if ( v_view.size() == 0 )
  ------------------
  |  Branch (1366:14): [True: 746, False: 28.0k]
  ------------------
 1367|    746|        {
 1368|    746|            data.push_back('0');
 1369|    746|        }
 1370|  28.0k|        else
 1371|  28.0k|        {
 1372|  28.0k|            word_type r;
 1373|  28.0k|            basic_bigint<Allocator> R(get_allocator());
 1374|  28.0k|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1375|       |
 1376|  28.0k|            do
 1377|  51.6k|            {
 1378|  51.6k|                v.divide( LP10, v, R, true );
 1379|  51.6k|                v_view = v.get_storage_view();
 1380|       |
 1381|  51.6k|                auto R_view = R.get_storage_view();
 1382|  51.6k|                r = (R_view.size() ? R_view[0] : 0);
  ------------------
  |  Branch (1382:22): [True: 43.3k, False: 8.27k]
  ------------------
 1383|   651k|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1383:38): [True: 627k, False: 23.6k]
  ------------------
 1384|   627k|                {
 1385|   627k|                    data.push_back(char(r % 10u + '0'));
 1386|   627k|                    r /= 10u;
 1387|   627k|                    if ( r + v_view.size() == 0 )
  ------------------
  |  Branch (1387:26): [True: 28.0k, False: 599k]
  ------------------
 1388|  28.0k|                        break;
 1389|   627k|                }
 1390|  51.6k|            } 
 1391|  51.6k|            while ( v_view.size() > 0);
  ------------------
  |  Branch (1391:21): [True: 23.6k, False: 28.0k]
  ------------------
 1392|       |
 1393|  28.0k|            if (is_negative())
  ------------------
  |  Branch (1393:17): [True: 4.06k, False: 23.9k]
  ------------------
 1394|  4.06k|            {
 1395|  4.06k|                data.push_back('-');
 1396|  4.06k|            }
 1397|  28.0k|            std::reverse(data.begin(),data.end());
 1398|  28.0k|        }
 1399|  28.7k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  713|   190k|    {
  714|   190k|        return storage_.get_allocator();
  715|   190k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  644|  28.0k|        : storage_(alloc)
  645|  28.0k|    {
  646|  28.0k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  293|  28.0k|        : word_allocator_type(alloc)
  294|  28.0k|    {
  295|  28.0k|        ::new (&inlined_) inlined_storage();
  296|  28.0k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  113|  28.0k|            : is_allocated_(false),
  114|  28.0k|            is_negative_(false),
  115|  28.0k|            size_(0),
  116|  28.0k|            values_{0, 0}
  117|  28.0k|        {
  118|  28.0k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1675|  51.6k|    {
 1676|  51.6k|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1677|  51.6k|        auto denom_view = denom.get_storage_view();
 1678|       |
 1679|  51.6k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1679:13): [True: 0, False: 51.6k]
  ------------------
 1680|      0|        {
 1681|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1682|      0|        }
 1683|  51.6k|        bool quot_neg = is_negative() ^ denom.is_negative();
 1684|  51.6k|        bool rem_neg = is_negative();
 1685|  51.6k|        basic_bigint<Allocator> num(*this, get_allocator());
 1686|  51.6k|        num.set_negative(false);
 1687|  51.6k|        denom.set_negative(false);
 1688|  51.6k|        if ( num < denom )
  ------------------
  |  Branch (1688:14): [True: 28.0k, False: 23.6k]
  ------------------
 1689|  28.0k|        {
 1690|  28.0k|            quot = word_type(0);
 1691|  28.0k|            quot.set_negative(quot_neg);
 1692|  28.0k|            rem = num;
 1693|  28.0k|            rem.set_negative(rem_neg);
 1694|  28.0k|            return;
 1695|  28.0k|        }
 1696|       |
 1697|  23.6k|        auto num_view = num.get_storage_view();
 1698|  23.6k|        auto quot_view = quot.get_storage_view();
 1699|  23.6k|        auto this_view = get_storage_view();
 1700|       |
 1701|  23.6k|        if ( denom_view.size() == 1 && num_view.size() == 1 )
  ------------------
  |  Branch (1701:14): [True: 23.6k, False: 0]
  |  Branch (1701:40): [True: 8.06k, False: 15.5k]
  ------------------
 1702|  8.06k|        {
 1703|  8.06k|            quot = word_type( num_view[0]/denom_view[0] );
 1704|  8.06k|            rem = word_type( num_view[0]%denom_view[0] );
 1705|  8.06k|            quot.set_negative(quot_neg);
 1706|  8.06k|            rem.set_negative(rem_neg);
 1707|  8.06k|            return;
 1708|  8.06k|        }
 1709|  15.5k|        if (denom_view.size() == 1 && (denom_view[0] & l_mask) == 0 )
  ------------------
  |  Branch (1709:13): [True: 15.5k, False: 0]
  |  Branch (1709:39): [True: 0, False: 15.5k]
  ------------------
 1710|      0|        {
 1711|       |            // Denominator fits into a half word
 1712|      0|            word_type divisor = denom_view[0], dHi = 0, q1, r, q2, dividend;
 1713|      0|            quot.resize(this_view.size());
 1714|      0|            quot_view = quot.get_storage_view();
 1715|      0|            for (size_type i=this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1715:48): [True: 0, False: 0]
  ------------------
 1716|      0|            {
 1717|      0|                dividend = (dHi << word_type_half_bits) | (this_view[i] >> word_type_half_bits);
 1718|      0|                q1 = dividend/divisor;
 1719|      0|                r = dividend % divisor;
 1720|      0|                dividend = (r << word_type_half_bits) | (this_view[i] & r_mask);
 1721|      0|                q2 = dividend/divisor;
 1722|      0|                dHi = dividend % divisor;
 1723|      0|                quot_view[i] = (q1 << word_type_half_bits) | q2;
 1724|      0|            }
 1725|      0|            quot.reduce();
 1726|      0|            rem = dHi;
 1727|      0|            quot.set_negative(quot_neg);
 1728|      0|            rem.set_negative(rem_neg);
 1729|      0|            return;
 1730|      0|        }
 1731|  15.5k|        basic_bigint<Allocator> num0(num, get_allocator());
 1732|  15.5k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1733|  15.5k|        int x = 0;
 1734|  15.5k|        bool second_done = normalize(denom, num, x);
 1735|  15.5k|        denom_view = denom.get_storage_view();
 1736|  15.5k|        num_view = num.get_storage_view();
 1737|       |
 1738|  15.5k|        size_type l = denom_view.size() - 1;
 1739|  15.5k|        size_type n = num_view.size() - 1;
 1740|  15.5k|        quot.resize(n - l);
 1741|  15.5k|        quot_view = quot.get_storage_view();
 1742|  31.1k|        for (size_type i = quot_view.size(); i-- > 0; )
  ------------------
  |  Branch (1742:46): [True: 15.5k, False: 15.5k]
  ------------------
 1743|  15.5k|        {
 1744|  15.5k|            quot_view[i] = 0;
 1745|  15.5k|        }
 1746|  15.5k|        rem = num;
 1747|  15.5k|        auto rem_view = rem.get_storage_view();
 1748|  15.5k|        if ( rem_view[n] >= denom_view[l] )
  ------------------
  |  Branch (1748:14): [True: 0, False: 15.5k]
  ------------------
 1749|      0|        {
 1750|      0|            rem.resize(rem_view.size() + 1);
 1751|      0|            rem_view = rem.get_storage_view();
 1752|      0|            n++;
 1753|      0|            quot.resize(quot_view.size() + 1);
 1754|      0|            quot_view = quot.get_storage_view();
 1755|      0|        }
 1756|  15.5k|        word_type d = denom_view[l];
 1757|       |
 1758|  31.1k|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1758:32): [True: 15.5k, False: 15.5k]
  ------------------
 1759|  15.5k|        {
 1760|  15.5k|            word_type q = DDquotient(rem_view[k], rem_view[k-1], d);
 1761|  15.5k|            subtractmul( rem_view.data() + (k - l - 1), denom_view.data(), l + 1, q );
 1762|  15.5k|            quot_view[k - l - 1] = q;
 1763|  15.5k|        }
 1764|  15.5k|        quot.reduce();
 1765|  15.5k|        quot.set_negative(quot_neg);
 1766|  15.5k|        if (remDesired)
  ------------------
  |  Branch (1766:13): [True: 15.5k, False: 0]
  ------------------
 1767|  15.5k|        {
 1768|  15.5k|            unnormalize(rem, x, second_done);
 1769|  15.5k|            rem.set_negative(rem_neg);
 1770|  15.5k|        }
 1771|  15.5k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  676|   134k|        : storage_(other.storage_, alloc)
  677|   134k|    {
  678|   134k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  319|   134k|        : word_allocator_type(alloc)
  320|   134k|    {
  321|   134k|        if (!other.is_allocated())
  ------------------
  |  Branch (321:13): [True: 89.2k, False: 45.1k]
  ------------------
  322|  89.2k|        {
  323|  89.2k|            ::new (&inlined_) inlined_storage(other.inlined_);
  324|  89.2k|        }
  325|  45.1k|        else
  326|  45.1k|        {
  327|  45.1k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  328|  45.1k|        }
  329|   134k|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1476|  51.6k|    {
 1477|  51.6k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1477:15): [True: 28.0k, False: 23.6k]
  ------------------
 1478|  51.6k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1641|  68.0k|    {
 1642|  68.0k|        auto this_view = get_storage_view();
 1643|  68.0k|        auto y_view = y.get_storage_view();
 1644|       |
 1645|  68.0k|        const size_type y_size = y_view.size();
 1646|  68.0k|        if ( this_view.size() == 0 && y_size == 0 )
  ------------------
  |  Branch (1646:14): [True: 420, False: 67.6k]
  |  Branch (1646:39): [True: 420, False: 0]
  ------------------
 1647|    420|            return 0;
 1648|  67.6k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1648:14): [True: 4.06k, False: 63.5k]
  ------------------
 1649|  4.06k|            return y.is_negative() - is_negative();
 1650|  63.5k|        int code = 0;
 1651|  63.5k|        if ( this_view.size() < y_size)
  ------------------
  |  Branch (1651:14): [True: 0, False: 63.5k]
  ------------------
 1652|      0|            code = -1;
 1653|  63.5k|        else if ( this_view.size() > y_size)
  ------------------
  |  Branch (1653:19): [True: 27.5k, False: 36.0k]
  ------------------
 1654|  27.5k|            code = +1;
 1655|  36.0k|        else
 1656|  36.0k|        {
 1657|  38.0k|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1657:50): [True: 36.0k, False: 1.99k]
  ------------------
 1658|  36.0k|            {
 1659|  36.0k|                if (this_view[i] > y_view[i])
  ------------------
  |  Branch (1659:21): [True: 6.06k, False: 30.0k]
  ------------------
 1660|  6.06k|                {
 1661|  6.06k|                    code = 1;
 1662|  6.06k|                    break;
 1663|  6.06k|                }
 1664|  30.0k|                else if (this_view[i] < y_view[i])
  ------------------
  |  Branch (1664:26): [True: 28.0k, False: 1.99k]
  ------------------
 1665|  28.0k|                {
 1666|  28.0k|                    code = -1;
 1667|  28.0k|                    break;
 1668|  28.0k|                }
 1669|  36.0k|            }
 1670|  36.0k|        }
 1671|  63.5k|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1671:16): [True: 0, False: 63.5k]
  ------------------
 1672|  67.6k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  842|  87.7k|    {
  843|  87.7k|        storage_ = y.storage_;
  844|  87.7k|        return *this;
  845|  87.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  366|  87.7k|    {
  367|  87.7k|        if (this != &other)
  ------------------
  |  Branch (367:13): [True: 87.7k, False: 0]
  ------------------
  368|  87.7k|        {
  369|  87.7k|            auto other_view = other.get_storage_view();
  370|  87.7k|            resize(other_view.size());
  371|  87.7k|            auto this_view = get_storage_view();
  372|  87.7k|            if (other_view.size() > 0)
  ------------------
  |  Branch (372:17): [True: 57.7k, False: 30.0k]
  ------------------
  373|  57.7k|            {
  374|  57.7k|                common_.is_negative_ = other.common_.is_negative_;
  375|  57.7k|                std::memcpy(this_view.data(), other_view.data(), size_type(other_view.size()*sizeof(word_type)));
  376|  57.7k|            }
  377|  87.7k|        }
  378|  87.7k|        return *this;
  379|  87.7k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  527|   255k|    {
  528|   255k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (528:16): [True: 75.2k, False: 180k]
  ------------------
  529|  75.2k|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  530|   255k|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  531|   255k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   64|   255k|            : data_(data), size_(size)
   65|   255k|        {
   66|   255k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   79|  57.7k|        {
   80|  57.7k|            return data_;
   81|  57.7k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  723|   167k|    {
  724|   167k|        return storage_.get_storage_view();
  725|   167k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   84|   540k|        {
   85|   540k|            return size_;
   86|   540k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   69|   135k|        {
   70|   135k|            return data_[i];
   71|   135k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 1872|  15.5k|    {
 1873|  15.5k|        auto denom_view = denom.get_storage_view();
 1874|  15.5k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1874:13): [True: 0, False: 15.5k]
  ------------------
 1875|      0|        {
 1876|      0|            return false;
 1877|      0|        }
 1878|  15.5k|        size_type r = denom_view.size() - 1;
 1879|  15.5k|        word_type y = denom_view[r];
 1880|       |
 1881|  15.5k|        x = 0;
 1882|  15.5k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (1882:17): [True: 0, False: 15.5k]
  ------------------
 1883|      0|        {
 1884|      0|            y <<= 1;
 1885|      0|            x++;
 1886|      0|        }
 1887|  15.5k|        denom <<= x;
 1888|  15.5k|        num <<= x;
 1889|       |
 1890|  15.5k|        denom_view = denom.get_storage_view();
 1891|  15.5k|        if ( r > 0 && denom_view[r] < denom_view[r-1] )
  ------------------
  |  Branch (1891:14): [True: 0, False: 15.5k]
  |  Branch (1891:23): [True: 0, False: 0]
  ------------------
 1892|      0|        {
 1893|      0|            denom *= max_word;
 1894|      0|            num *= max_word;
 1895|      0|            return true;
 1896|      0|        }
 1897|  15.5k|        return false;
 1898|  15.5k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1117|  31.1k|    {
 1118|  31.1k|        auto this_view = get_storage_view();
 1119|  31.1k|        size_type q = k / word_type_bits;
 1120|  31.1k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1120:14): [True: 0, False: 31.1k]
  ------------------
 1121|      0|        {
 1122|      0|            resize(this_view.size() + q);
 1123|      0|            this_view = get_storage_view();
 1124|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1124:50): [True: 0, False: 0]
  ------------------
 1125|      0|                this_view[i] = ( i < q ? 0 : this_view[i - q]);
  ------------------
  |  Branch (1125:34): [True: 0, False: 0]
  ------------------
 1126|      0|            k %= word_type_bits;
 1127|      0|        }
 1128|  31.1k|        if ( k )  // 0 < k < word_type_bits:
  ------------------
  |  Branch (1128:14): [True: 0, False: 31.1k]
  ------------------
 1129|      0|        {
 1130|      0|            size_type k1 = word_type_bits - k;
 1131|      0|            word_type mask = (word_type(1) << k) - word_type(1);
 1132|      0|            resize( this_view.size() + 1 );
 1133|      0|            this_view = get_storage_view();
 1134|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1134:50): [True: 0, False: 0]
  ------------------
 1135|      0|            {
 1136|      0|                this_view[i] <<= k;
 1137|      0|                if ( i > 0 )
  ------------------
  |  Branch (1137:22): [True: 0, False: 0]
  ------------------
 1138|      0|                    this_view[i] |= (this_view[i-1] >> k1) & mask;
 1139|      0|            }
 1140|      0|        }
 1141|  31.1k|        reduce();
 1142|  31.1k|        return *this;
 1143|  31.1k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1799|  15.5k|    {
 1800|  15.5k|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1801|  15.5k|                   dHi = d >> word_type_half_bits, dLo = d & r_mask;
 1802|  15.5k|        qHi = A/(dHi + 1);
 1803|       |        // This initial guess of qHi may be too small.
 1804|  15.5k|        middle = qHi * dLo;
 1805|  15.5k|        left = qHi * dHi;
 1806|  15.5k|        x = B - (middle << word_type_half_bits);
 1807|  15.5k|        A -= (middle >> word_type_half_bits) + left + (x > B);
 1808|  15.5k|        B = x;
 1809|  15.5k|        dLo1 = dLo << word_type_half_bits;
 1810|       |        // Increase qHi if necessary:
 1811|  15.5k|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1811:17): [True: 0, False: 15.5k]
  |  Branch (1811:29): [True: 0, False: 15.5k]
  |  Branch (1811:41): [True: 0, False: 0]
  ------------------
 1812|      0|        {
 1813|      0|            x = B - dLo1;
 1814|      0|            A -= dHi + (x > B);
 1815|      0|            B = x;
 1816|      0|            qHi++;
 1817|      0|        }
 1818|  15.5k|        qLo = ((A << word_type_half_bits) | (B >> word_type_half_bits))/(dHi + 1);
 1819|       |        // This initial guess of qLo may be too small.
 1820|  15.5k|        right = qLo * dLo;
 1821|  15.5k|        middle = qLo * dHi;
 1822|  15.5k|        x = B - right;
 1823|  15.5k|        A -= (x > B);
 1824|  15.5k|        B = x;
 1825|  15.5k|        x = B - (middle << word_type_half_bits);
 1826|  15.5k|            A -= (middle >> word_type_half_bits) + (x > B);
 1827|  15.5k|        B = x;
 1828|       |        // Increase qLo if necessary:
 1829|  23.4k|        while ( A || B >= d )
  ------------------
  |  Branch (1829:17): [True: 0, False: 23.4k]
  |  Branch (1829:22): [True: 7.92k, False: 15.5k]
  ------------------
 1830|  7.92k|        {
 1831|  7.92k|            x = B - d;
 1832|  7.92k|            A -= (x > B);
 1833|  7.92k|            B = x;
 1834|  7.92k|            qLo++;
 1835|  7.92k|        }
 1836|  15.5k|        return (qHi << word_type_half_bits) + qLo;
 1837|  15.5k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1841|  15.5k|    {
 1842|  15.5k|        word_type hi, lo, d, carry = 0;
 1843|  15.5k|        size_type i;
 1844|  31.1k|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1844:22): [True: 15.5k, False: 15.5k]
  ------------------
 1845|  15.5k|        {
 1846|  15.5k|            DDproduct( b[i], q, hi, lo );
 1847|  15.5k|            d = a[i];
 1848|  15.5k|            a[i] -= lo;
 1849|  15.5k|            if ( a[i] > d )
  ------------------
  |  Branch (1849:18): [True: 4.21k, False: 11.3k]
  ------------------
 1850|  4.21k|                carry++;
 1851|  15.5k|            d = a[i + 1];
 1852|  15.5k|            a[i + 1] -= hi + carry;
 1853|  15.5k|            carry = a[i + 1] > d;
 1854|  15.5k|        }
 1855|  15.5k|        if ( carry ) // q was too large
  ------------------
  |  Branch (1855:14): [True: 0, False: 15.5k]
  ------------------
 1856|      0|        {
 1857|      0|            q--;
 1858|      0|            carry = 0;
 1859|      0|            for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1859:26): [True: 0, False: 0]
  ------------------
 1860|      0|            {
 1861|      0|                d = a[i] + carry;
 1862|      0|                carry = d < carry;
 1863|      0|                a[i] = d + b[i];
 1864|      0|                if ( a[i] < d )
  ------------------
  |  Branch (1864:22): [True: 0, False: 0]
  ------------------
 1865|      0|                    carry = 1;
 1866|      0|            }
 1867|      0|            a[n] = 0;
 1868|      0|        }
 1869|  15.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   79|  88.8k|        {
   80|  88.8k|            return data_;
   81|  88.8k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 1901|  15.5k|    {
 1902|  15.5k|        if (secondDone)
  ------------------
  |  Branch (1902:13): [True: 0, False: 15.5k]
  ------------------
 1903|      0|        {
 1904|      0|            rem /= max_word;
 1905|      0|        }
 1906|  15.5k|        if ( x > 0 )
  ------------------
  |  Branch (1906:14): [True: 0, False: 15.5k]
  ------------------
 1907|      0|        {
 1908|      0|            rem >>= x;
 1909|      0|        }
 1910|  15.5k|        else
 1911|  15.5k|        {
 1912|  15.5k|            rem.reduce();
 1913|  15.5k|        }
 1914|  15.5k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  708|   316k|    {
  709|   316k|        storage_.destroy();
  710|   316k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  487|   316k|    {
  488|   316k|        if (is_allocated())
  ------------------
  |  Branch (488:13): [True: 75.2k, False: 241k]
  ------------------
  489|  75.2k|        {
  490|  75.2k|            allocated_.destroy(get_allocator());
  491|  75.2k|            allocated_.~allocated_storage();
  492|  75.2k|        }
  493|   241k|        else
  494|   241k|        {
  495|   241k|            inlined_.~inlined_storage();
  496|   241k|        }
  497|   316k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  246|  75.2k|        {
  247|  75.2k|            if (data_ != nullptr)
  ------------------
  |  Branch (247:17): [True: 75.2k, False: 0]
  ------------------
  248|  75.2k|            {
  249|  75.2k|                real_allocator_type alloc(a);
  250|  75.2k|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  251|  75.2k|            }
  252|  75.2k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IlEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|  32.8k|        : storage_(n, alloc)
  694|  32.8k|    {
  695|  32.8k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IlEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|  32.8k|        : word_allocator_type(alloc)
  361|  32.8k|    {
  362|  32.8k|        ::new (&inlined_) inlined_storage(n);
  363|  32.8k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IlEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  125|  32.8k|            : is_allocated_(false),
  126|  32.8k|            is_negative_(n < 0),
  127|  32.8k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (127:19): [True: 16.8k, False: 16.0k]
  ------------------
  128|  32.8k|        {
  129|  32.8k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (129:26): [True: 4.06k, False: 28.7k]
  ------------------
  130|  32.8k|            values_[1] = 0;
  131|  32.8k|        }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEEl:
 1481|  16.4k|    {
 1482|  16.4k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1482:15): [True: 4.06k, False: 12.3k]
  ------------------
 1483|  16.4k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IjEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  693|  4.06k|        : storage_(n, alloc)
  694|  4.06k|    {
  695|  4.06k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IjEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  360|  4.06k|        : word_allocator_type(alloc)
  361|  4.06k|    {
  362|  4.06k|        ::new (&inlined_) inlined_storage(n);
  363|  4.06k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IjEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  138|  4.06k|            : is_allocated_(false),
  139|  4.06k|            is_negative_(false),
  140|  4.06k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 437, False: 3.62k]
  ------------------
  141|  4.06k|        {
  142|  4.06k|            values_[0] = n;
  143|  4.06k|            values_[1] = 0;
  144|  4.06k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  954|  4.06k|    {
  955|  4.06k|        auto y_view = y.get_storage_view();
  956|       |
  957|  4.06k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (957:14): [True: 4.06k, False: 0]
  ------------------
  958|  4.06k|            return *this += -y;
  959|      0|        if ( (!is_negative() && y > *this) || (is_negative() && y < *this) )
  ------------------
  |  Branch (959:15): [True: 0, False: 0]
  |  Branch (959:33): [True: 0, False: 0]
  |  Branch (959:48): [True: 0, False: 0]
  |  Branch (959:65): [True: 0, False: 0]
  ------------------
  960|      0|            return *this = -(y - *this);
  961|      0|        word_type borrow = 0;
  962|      0|        word_type d;
  963|      0|        auto this_view = get_storage_view();
  964|      0|        const size_type this_size = this_view.size();
  965|      0|        const size_type y_size = y_view.size();
  966|       |
  967|      0|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (967:31): [True: 0, False: 0]
  ------------------
  968|      0|        {
  969|      0|            d = this_view[i] - borrow;
  970|      0|            borrow = d > this_view[i];
  971|      0|            this_view[i] = d - y_view[i];
  972|      0|            if ( this_view[i] > d )
  ------------------
  |  Branch (972:18): [True: 0, False: 0]
  ------------------
  973|      0|                borrow = 1;
  974|      0|        }
  975|      0|        for (size_type i = y_size; i < this_size && borrow != 0; i++ )
  ------------------
  |  Branch (975:36): [True: 0, False: 0]
  |  Branch (975:53): [True: 0, False: 0]
  ------------------
  976|      0|        {
  977|      0|            d = this_view[i] - borrow;
  978|      0|            borrow = d > this_view[i];
  979|      0|            this_view[i] = d;
  980|      0|        }
  981|      0|        reduce();
  982|      0|        return *this;
  983|      0|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLERKS4_:
  920|  4.06k|    {
  921|  4.06k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (921:14): [True: 0, False: 4.06k]
  ------------------
  922|      0|            return *this -= -y;
  923|       |
  924|  4.06k|        auto y_view = y.get_storage_view();
  925|       |        
  926|  4.06k|        word_type d;
  927|  4.06k|        word_type carry = 0;
  928|       |
  929|  4.06k|        auto this_view = get_storage_view();
  930|  4.06k|        resize( (std::max)(y_view.size(), this_view.size()) + 1 );
  931|  4.06k|        this_view = get_storage_view();
  932|       |
  933|  4.06k|        const size_t this_size = this_view.size();
  934|  4.06k|        const size_t y_size = y_view.size();
  935|  7.68k|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (935:31): [True: 3.62k, False: 4.06k]
  ------------------
  936|  3.62k|        {
  937|  3.62k|            d = this_view[i] + carry;
  938|  3.62k|            carry = d < carry;
  939|  3.62k|            this_view[i] = d + y_view[i];
  940|  3.62k|            if (this_view[i] < d)
  ------------------
  |  Branch (940:17): [True: 548, False: 3.07k]
  ------------------
  941|    548|                carry = 1;
  942|  3.62k|        }
  943|  4.60k|        for (size_type i = y_size; i < this_size && carry != 0; i++ )
  ------------------
  |  Branch (943:36): [True: 4.11k, False: 490]
  |  Branch (943:53): [True: 548, False: 3.57k]
  ------------------
  944|    548|        {
  945|    548|            d = this_view[i] + carry;
  946|    548|            carry = d < carry;
  947|    548|            this_view[i] = d;
  948|    548|        }
  949|  4.06k|        reduce();
  950|  4.06k|        return *this;
  951|  4.06k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLIjEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  889|  12.3k|    {
  890|  12.3k|        if ( is_negative())
  ------------------
  |  Branch (890:14): [True: 0, False: 12.3k]
  ------------------
  891|      0|            return *this -= -basic_bigint<Allocator>(y);
  892|       |
  893|  12.3k|        word_type d;
  894|  12.3k|        word_type carry = 0;
  895|       |
  896|  12.3k|        auto this_view = get_storage_view();
  897|  12.3k|        resize(this_view.size() + 1);
  898|       |
  899|  12.3k|        this_view = get_storage_view();
  900|  12.3k|        const size_type this_size = this_view.size();
  901|  12.3k|        size_type y_size = 1;
  902|       |
  903|  12.3k|        d = this_view[0] + carry;
  904|  12.3k|        carry = d < carry;
  905|  12.3k|        this_view[0] = d + y;
  906|  12.3k|        if (this_view[0] < d)
  ------------------
  |  Branch (906:13): [True: 2.87k, False: 9.48k]
  ------------------
  907|  2.87k|            carry = 1;
  908|       |
  909|  15.2k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (909:36): [True: 14.8k, False: 443]
  |  Branch (909:53): [True: 2.87k, False: 11.9k]
  ------------------
  910|  2.87k|        {
  911|  2.87k|            d = this_view[i] + carry;
  912|  2.87k|            carry = d < carry;
  913|  2.87k|            this_view[i] = d;
  914|  2.87k|        }
  915|  12.3k|        reduce();
  916|  12.3k|        return *this;
  917|  12.3k|    }

_ZN8jsoncons6binary13big_to_nativeIfNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   100k|    {
  183|   100k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 100k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   100k|        T val;
  188|   100k|        std::memcpy(&val,first,sizeof(T));
  189|   100k|        return byte_swap(val);
  190|   100k|    }
_ZN8jsoncons6binary9byte_swapIfEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   64|   100k|    {
   65|   100k|        uint32_t x;
   66|   100k|        std::memcpy(&x,&val,sizeof(uint32_t));
   67|   100k|        uint32_t y = byte_swap(x);
   68|   100k|        T val2;
   69|   100k|        std::memcpy(&val2,&y,sizeof(uint32_t));
   70|   100k|        return val2;
   71|   100k|    }
_ZN8jsoncons6binary9byte_swapIjEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|   127k|    {
   40|   127k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|   127k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|   127k|#  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|   127k|    }
_ZN8jsoncons6binary13big_to_nativeIdNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  5.74k|    {
  183|  5.74k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 5.74k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  5.74k|        T val;
  188|  5.74k|        std::memcpy(&val,first,sizeof(T));
  189|  5.74k|        return byte_swap(val);
  190|  5.74k|    }
_ZN8jsoncons6binary9byte_swapIdEENSt3__19enable_ifIXaasr3std17is_floating_pointIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   76|  5.74k|    {
   77|  5.74k|        uint64_t x;
   78|  5.74k|        std::memcpy(&x,&val,sizeof(uint64_t));
   79|  5.74k|        uint64_t y = byte_swap(x);
   80|  5.74k|        T val2;
   81|  5.74k|        std::memcpy(&val2,&y,sizeof(uint64_t));
   82|  5.74k|        return val2;
   83|  5.74k|    }
_ZN8jsoncons6binary9byte_swapImEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  18.9k|    {
   52|  18.9k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  18.9k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  18.9k|#  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|  18.9k|    }
_ZN8jsoncons6binary13big_to_nativeItNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  23.2k|    {
  183|  23.2k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 23.2k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  23.2k|        T val;
  188|  23.2k|        std::memcpy(&val,first,sizeof(T));
  189|  23.2k|        return byte_swap(val);
  190|  23.2k|    }
_ZN8jsoncons6binary9byte_swapItEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|  23.2k|    {
   29|  23.2k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|  23.2k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|  23.2k|#      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.2k|    }
_ZN8jsoncons6binary13big_to_nativeIjNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  26.8k|    {
  183|  26.8k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 26.8k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  26.8k|        T val;
  188|  26.8k|        std::memcpy(&val,first,sizeof(T));
  189|  26.8k|        return byte_swap(val);
  190|  26.8k|    }
_ZN8jsoncons6binary13big_to_nativeImNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  13.2k|    {
  183|  13.2k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 13.2k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  13.2k|        T val;
  188|  13.2k|        std::memcpy(&val,first,sizeof(T));
  189|  13.2k|        return byte_swap(val);
  190|  13.2k|    }
_ZN8jsoncons6binary13big_to_nativeIaNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   170k|    {
  183|   170k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 170k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   170k|        T val;
  188|   170k|        std::memcpy(&val,first,sizeof(T));
  189|   170k|        return byte_swap(val);
  190|   170k|    }
_ZN8jsoncons6binary9byte_swapIaEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|   170k|    {
   22|   170k|        return val;
   23|   170k|    }
_ZN8jsoncons6binary13big_to_nativeIsNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   174k|    {
  183|   174k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 174k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   174k|        T val;
  188|   174k|        std::memcpy(&val,first,sizeof(T));
  189|   174k|        return byte_swap(val);
  190|   174k|    }
_ZN8jsoncons6binary9byte_swapIsEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm2EES4_E4typeES4_:
   28|   174k|    {
   29|   174k|    #if defined(JSONCONS_BYTE_SWAP_16)
   30|   174k|        return JSONCONS_BYTE_SWAP_16(val);
  ------------------
  |  |  466|   174k|#      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|   174k|    }
_ZN8jsoncons6binary13big_to_nativeIiNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  4.30k|    {
  183|  4.30k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 4.30k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  4.30k|        T val;
  188|  4.30k|        std::memcpy(&val,first,sizeof(T));
  189|  4.30k|        return byte_swap(val);
  190|  4.30k|    }
_ZN8jsoncons6binary9byte_swapIiEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm4EES4_E4typeES4_:
   39|  4.30k|    {
   40|  4.30k|    #if defined(JSONCONS_BYTE_SWAP_32)
   41|  4.30k|        return JSONCONS_BYTE_SWAP_32(val);
  ------------------
  |  |  462|  4.30k|#  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|  4.30k|    }
_ZN8jsoncons6binary13big_to_nativeIlNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|  17.2k|    {
  183|  17.2k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 17.2k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|  17.2k|        T val;
  188|  17.2k|        std::memcpy(&val,first,sizeof(T));
  189|  17.2k|        return byte_swap(val);
  190|  17.2k|    }
_ZN8jsoncons6binary9byte_swapIlEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm8EES4_E4typeES4_:
   51|  17.2k|    {
   52|  17.2k|    #if defined(JSONCONS_BYTE_SWAP_64)
   53|  17.2k|        return JSONCONS_BYTE_SWAP_64(val);
  ------------------
  |  |  461|  17.2k|#  define JSONCONS_BYTE_SWAP_64 __builtin_bswap64
  ------------------
   54|       |    #else
   55|       |        uint64_t tmp = ((static_cast<uint64_t>(val) & 0x00000000ffffffffull) << 32) | ((static_cast<uint64_t>(val) & 0xffffffff00000000ull) >> 32);
   56|       |        tmp = ((tmp & 0x0000ffff0000ffffull) << 16) | ((tmp & 0xffff0000ffff0000ull) >> 16);
   57|       |        return ((tmp & 0x00ff00ff00ff00ffull) << 8)  | ((tmp & 0xff00ff00ff00ff00ull) >> 8);
   58|       |    #endif
   59|  17.2k|    }
_ZN8jsoncons6binary13big_to_nativeIhNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  182|   240k|    {
  183|   240k|        if (sizeof(T) > count)
  ------------------
  |  Branch (183:13): [True: 0, False: 240k]
  ------------------
  184|      0|        {
  185|      0|            return T{};
  186|      0|        }
  187|   240k|        T val;
  188|   240k|        std::memcpy(&val,first,sizeof(T));
  189|   240k|        return byte_swap(val);
  190|   240k|    }
_ZN8jsoncons6binary9byte_swapIhEENSt3__19enable_ifIXaasr3std11is_integralIT_EE5valueeqstS4_Lm1EES4_E4typeES4_:
   21|   240k|    {
   22|   240k|        return val;
   23|   240k|    }

_ZNK8jsoncons16byte_string_view4dataEv:
  399|  1.18M|        {
  400|  1.18M|            return data_;
  401|  1.18M|        }
_ZNK8jsoncons16byte_string_view4sizeEv:
  403|  1.18M|        {
  404|  1.18M|            return size_;
  405|  1.18M|        }
_ZN8jsoncons16byte_string_viewC2EPKhm:
  362|  1.26M|            : data_(data), size_(length)
  363|  1.26M|        {
  364|  1.26M|        }
_ZN8jsoncons6detail23bytes_to_base64_genericIPKhNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEENS4_9enable_ifIXsr3std7is_sameINS4_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESD_SD_PKcRT0_:
   44|  81.4k|    {
   45|  81.4k|        std::size_t count = 0;
   46|  81.4k|        unsigned char a3[3];
   47|  81.4k|        unsigned char a4[4];
   48|  81.4k|        unsigned char fill = alphabet[64];
   49|  81.4k|        int i = 0;
   50|  81.4k|        int j = 0;
   51|       |
   52|  3.70M|        while (first != last)
  ------------------
  |  Branch (52:16): [True: 3.62M, False: 81.4k]
  ------------------
   53|  3.62M|        {
   54|  3.62M|            a3[i++] = *first++;
   55|  3.62M|            if (i == 3)
  ------------------
  |  Branch (55:17): [True: 1.18M, False: 2.44M]
  ------------------
   56|  1.18M|            {
   57|  1.18M|                a4[0] = (a3[0] & 0xfc) >> 2;
   58|  1.18M|                a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   59|  1.18M|                a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   60|  1.18M|                a4[3] = a3[2] & 0x3f;
   61|       |
   62|  5.91M|                for (i = 0; i < 4; i++) 
  ------------------
  |  Branch (62:29): [True: 4.73M, False: 1.18M]
  ------------------
   63|  4.73M|                {
   64|  4.73M|                    result.push_back(alphabet[a4[i]]);
   65|  4.73M|                    ++count;
   66|  4.73M|                }
   67|  1.18M|                i = 0;
   68|  1.18M|            }
   69|  3.62M|        }
   70|       |
   71|  81.4k|        if (i > 0)
  ------------------
  |  Branch (71:13): [True: 50.8k, False: 30.6k]
  ------------------
   72|  50.8k|        {
   73|   130k|            for (j = i; j < 3; ++j) 
  ------------------
  |  Branch (73:25): [True: 79.1k, False: 50.8k]
  ------------------
   74|  79.1k|            {
   75|  79.1k|                a3[j] = 0;
   76|  79.1k|            }
   77|       |
   78|  50.8k|            a4[0] = (a3[0] & 0xfc) >> 2;
   79|  50.8k|            a4[1] = ((a3[0] & 0x03) << 4) + ((a3[1] & 0xf0) >> 4);
   80|  50.8k|            a4[2] = ((a3[1] & 0x0f) << 2) + ((a3[2] & 0xc0) >> 6);
   81|       |
   82|   175k|            for (j = 0; j < i + 1; ++j) 
  ------------------
  |  Branch (82:25): [True: 124k, False: 50.8k]
  ------------------
   83|   124k|            {
   84|   124k|                result.push_back(alphabet[a4[j]]);
   85|   124k|                ++count;
   86|   124k|            }
   87|       |
   88|  50.8k|            if (fill != 0)
  ------------------
  |  Branch (88:17): [True: 0, False: 50.8k]
  ------------------
   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|  50.8k|        }
   97|       |
   98|  81.4k|        return count;
   99|  81.4k|    }
_ZNK8jsoncons16byte_string_view5beginEv:
  409|  81.4k|        {
  410|  81.4k|            return data_;
  411|  81.4k|        }
_ZNK8jsoncons16byte_string_view3endEv:
  413|  81.4k|        {
  414|  81.4k|            return data_ + size_;
  415|  81.4k|        }
_ZN8jsoncons18bytes_to_base64urlIPKhNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEENS3_9enable_ifIXsr3std7is_sameINS3_15iterator_traitsIT_E10value_typeEhEE5valueEmE4typeESC_SC_RT0_:
  177|  81.4k|    {
  178|  81.4k|        static constexpr char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  179|  81.4k|                                                      "abcdefghijklmnopqrstuvwxyz"
  180|  81.4k|                                                      "0123456789-_"
  181|  81.4k|                                                      "\0";
  182|  81.4k|        return detail::bytes_to_base64_generic(first, last, alphabet, result);
  183|  81.4k|    }

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  15.2k|    {       
  242|  15.2k|        return (ptr);
  243|  15.2k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|   274k|    {       
  242|   274k|        return (ptr);
  243|   274k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  7.27M|    {       
  242|  7.27M|        return (ptr);
  243|  7.27M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  4.81M|    {       
  242|  4.81M|        return (ptr);
  243|  4.81M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|   289k|    {       
  242|   289k|        return (ptr);
  243|   289k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerImEEPT_S3_:
  241|  60.1k|    {       
  242|  60.1k|        return (ptr);
  243|  60.1k|    }  

_ZN8jsoncons16decstr_to_doubleEPKcmRd:
  866|  8.84k|{
  867|  8.84k|    const char* cur = s+length;
  868|  8.84k|    char *end = nullptr;
  869|  8.84k|    val = strtod(s, &end);
  870|  8.84k|    const char* str_end = end;
  871|  8.84k|    if (JSONCONS_UNLIKELY(end < cur))
  ------------------
  |  |   78|  8.84k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 8.84k]
  |  |  ------------------
  ------------------
  872|      0|    {
  873|      0|        if (*end == '.')
  ------------------
  |  Branch (873:13): [True: 0, False: 0]
  ------------------
  874|      0|        {
  875|      0|            std::string buf{s, length};
  876|      0|            char* dot_ptr = &buf[0] + (cur - end - 1);
  877|      0|            *dot_ptr = ',';
  878|      0|            end = nullptr;
  879|      0|            val = strtod(buf.c_str(), &end);
  880|      0|            str_end = s + (end - &buf[0]);
  881|      0|        }
  882|      0|        if (JSONCONS_UNLIKELY(str_end != cur))
  ------------------
  |  |   78|      0|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  883|      0|        {
  884|      0|            return to_number_result<char>{str_end,std::errc::invalid_argument};
  885|      0|        }
  886|      0|    }
  887|  8.84k|    if (JSONCONS_UNLIKELY(val <= -HUGE_VAL || val >= HUGE_VAL))
  ------------------
  |  |   78|  17.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 8.84k]
  |  |  |  Branch (78:50): [True: 0, False: 8.84k]
  |  |  |  Branch (78:50): [True: 0, False: 8.84k]
  |  |  ------------------
  ------------------
  888|      0|    {
  889|      0|        return to_number_result<char>{str_end, std::errc::result_out_of_range};
  890|      0|    }
  891|  8.84k|    return to_number_result<char>{str_end};
  892|  8.84k|}
_ZN8jsoncons16to_number_resultIcEC2EPKc:
  137|  8.84k|        : ptr(ptr_), ec(std::errc{})
  138|  8.84k|    {
  139|  8.84k|    }

_ZN8jsoncons14unicode_traits8validateIhEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14unicode_resultIS4_EEE4typeEPKS4_m:
 1147|  2.72M|    {
 1148|  2.72M|        const uint8_t* it = reinterpret_cast<const uint8_t*>(data);
 1149|  2.72M|        const uint8_t* end = it + length;
 1150|       |
 1151|  2.72M|        unicode_errc  result{};
 1152|  2.99M|        while (it != end) 
  ------------------
  |  Branch (1152:16): [True: 266k, False: 2.72M]
  ------------------
 1153|   266k|        {
 1154|   266k|            if ((end - it) >= 8)
  ------------------
  |  Branch (1154:17): [True: 250k, False: 15.6k]
  ------------------
 1155|   250k|            {
 1156|  1.73M|                JSONCONS_REPEAT8({if (JSONCONS_LIKELY((*it & 0x80) == 0)) ++it; else goto non_ascii;})
  ------------------
  |  |  281|   500k|#define JSONCONS_REPEAT8(x)  { x x x x x x x x }
  |  |  ------------------
  |  |  |  Branch (281:32): [True: 249k, False: 1.41k]
  |  |  |  Branch (281:34): [True: 248k, False: 375]
  |  |  |  Branch (281:36): [True: 248k, False: 431]
  |  |  |  Branch (281:38): [True: 247k, False: 1.02k]
  |  |  |  Branch (281:40): [True: 246k, False: 482]
  |  |  |  Branch (281:42): [True: 246k, False: 261]
  |  |  |  Branch (281:44): [True: 246k, False: 235]
  |  |  |  Branch (281:46): [True: 246k, False: 222]
  |  |  ------------------
  ------------------
 1157|   246k|                continue;
 1158|  1.73M|            }
 1159|  20.1k|    non_ascii:
 1160|  20.1k|            const std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[*it]) + 1;
 1161|  20.1k|            if (len > (std::size_t)(end - it))
  ------------------
  |  Branch (1161:17): [True: 25, False: 20.1k]
  ------------------
 1162|     25|            {
 1163|     25|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it), unicode_errc::source_exhausted};
 1164|     25|            }
 1165|  20.1k|            if ((result=is_legal_utf8(it, len)) != unicode_errc())
  ------------------
  |  Branch (1165:17): [True: 231, False: 19.8k]
  ------------------
 1166|    231|            {
 1167|    231|                return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1168|    231|            }
 1169|  19.8k|            it += len;
 1170|  19.8k|        }
 1171|  2.72M|        return unicode_result<CharT>{reinterpret_cast<const CharT*>(it),result} ;
 1172|  2.72M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8EPKhm:
  305|  20.1k|    {
  306|  20.1k|        const uint8_t* it = reinterpret_cast<const uint8_t*>(bytes);
  307|  20.1k|        const uint8_t* end = it+length;
  308|       |
  309|  20.1k|        uint8_t byte;
  310|  20.1k|        switch (length) {
  311|     33|        default:
  ------------------
  |  Branch (311:9): [True: 33, False: 20.0k]
  ------------------
  312|     33|            return unicode_errc::over_long_utf8_sequence;
  313|    667|        case 4:
  ------------------
  |  Branch (313:9): [True: 667, False: 19.4k]
  ------------------
  314|    667|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 13, False: 654]
  ------------------
  315|     13|                return unicode_errc::bad_continuation_byte;
  316|    654|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|    654|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  1.71k|        case 3:
  ------------------
  |  Branch (317:9): [True: 1.06k, False: 19.0k]
  ------------------
  318|  1.71k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 19, False: 1.69k]
  ------------------
  319|     19|                return unicode_errc::bad_continuation_byte;
  320|  1.69k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.69k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  321|  4.96k|        case 2:
  ------------------
  |  Branch (321:9): [True: 3.27k, False: 16.8k]
  ------------------
  322|  4.96k|            if (((byte = (*--end))& 0xC0) != 0x80)
  ------------------
  |  Branch (322:17): [True: 49, False: 4.91k]
  ------------------
  323|     49|                return unicode_errc::bad_continuation_byte;
  324|       |
  325|  4.91k|            switch (*it) 
  326|  4.91k|            {
  327|       |                // no fall-through in this inner switch
  328|    606|                case 0xE0: if (byte < 0xA0) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 606, False: 4.31k]
  |  Branch (328:32): [True: 7, False: 599]
  ------------------
  329|    599|                case 0xED: if (byte > 0x9F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 272, False: 4.64k]
  |  Branch (329:32): [True: 3, False: 269]
  ------------------
  330|    287|                case 0xF0: if (byte < 0x90) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (330:17): [True: 287, False: 4.63k]
  |  Branch (330:32): [True: 6, False: 281]
  ------------------
  331|    281|                case 0xF4: if (byte > 0x8F) return unicode_errc::source_illegal; break;
  ------------------
  |  Branch (331:17): [True: 207, False: 4.71k]
  |  Branch (331:32): [True: 5, False: 202]
  ------------------
  332|  3.54k|                default:   if (byte < 0x80) return unicode_errc::source_illegal;
  ------------------
  |  Branch (332:17): [True: 3.54k, False: 1.37k]
  |  Branch (332:32): [True: 0, False: 3.54k]
  ------------------
  333|  4.91k|            }
  334|       |
  335|  4.89k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  4.89k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  336|  19.9k|        case 1:
  ------------------
  |  Branch (336:9): [True: 15.0k, False: 5.03k]
  ------------------
  337|  19.9k|            if (*it >= 0x80 && *it < 0xC2)
  ------------------
  |  Branch (337:17): [True: 4.99k, False: 14.9k]
  |  Branch (337:32): [True: 95, False: 4.89k]
  ------------------
  338|     95|                return unicode_errc::source_illegal;
  339|  19.8k|            break;
  340|  20.1k|        }
  341|  19.8k|        if (*it > 0xF4) 
  ------------------
  |  Branch (341:13): [True: 1, False: 19.8k]
  ------------------
  342|      1|            return unicode_errc::source_illegal;
  343|       |
  344|  19.8k|        return unicode_errc();
  345|  19.8k|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  17.1M|{
   43|  17.1M|    using char_type = typename Result::value_type;
   44|       |
   45|  17.1M|    char_type buf[255];
   46|  17.1M|    char_type *p = buf;
   47|  17.1M|    const char_type* last = buf+255;
   48|       |
   49|  17.1M|    bool is_negative = value < 0;
   50|       |
   51|  17.1M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 17.1M]
  ------------------
   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|  17.1M|    else
   60|  17.1M|    {
   61|       |
   62|  17.1M|        do
   63|  21.5M|        {
   64|  21.5M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  21.5M|        }
   66|  21.5M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 4.38M, False: 17.1M]
  |  Branch (66:33): [True: 4.38M, False: 0]
  ------------------
   67|  17.1M|    }
   68|  17.1M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  17.1M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 17.1M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  17.1M|    std::size_t count = (p - buf);
   71|  17.1M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 17.1M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  38.7M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 21.5M, False: 17.1M]
  ------------------
   77|  21.5M|    {
   78|  21.5M|        result.push_back(*p);
   79|  21.5M|    }
   80|       |
   81|  17.1M|    return count;
   82|  17.1M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  3.23M|{
   43|  3.23M|    using char_type = typename Result::value_type;
   44|       |
   45|  3.23M|    char_type buf[255];
   46|  3.23M|    char_type *p = buf;
   47|  3.23M|    const char_type* last = buf+255;
   48|       |
   49|  3.23M|    bool is_negative = value < 0;
   50|       |
   51|  3.23M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 3.23M, False: 581]
  ------------------
   52|  3.23M|    {
   53|  3.23M|        do
   54|  6.64M|        {
   55|  6.64M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  6.64M|        }
   57|  6.64M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 3.41M, False: 3.23M]
  |  Branch (57:33): [True: 3.41M, False: 0]
  ------------------
   58|  3.23M|    }
   59|    581|    else
   60|    581|    {
   61|       |
   62|    581|        do
   63|  3.53k|        {
   64|  3.53k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  3.53k|        }
   66|  3.53k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 2.95k, False: 581]
  |  Branch (66:33): [True: 2.95k, False: 0]
  ------------------
   67|    581|    }
   68|  3.23M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   49|  3.23M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 3.23M]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  3.23M|    std::size_t count = (p - buf);
   71|  3.23M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 3.23M, False: 581]
  ------------------
   72|  3.23M|    {
   73|  3.23M|        result.push_back('-');
   74|  3.23M|        ++count;
   75|  3.23M|    }
   76|  9.88M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 6.64M, False: 3.23M]
  ------------------
   77|  6.64M|    {
   78|  6.64M|        result.push_back(*p);
   79|  6.64M|    }
   80|       |
   81|  3.23M|    return count;
   82|  3.23M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|  76.3k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|  76.3k|    {
  489|  76.3k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|  76.3k|        struct lconv *lc = localeconv();
  491|  76.3k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 76.3k, False: 0]
  |  Branch (491:30): [True: 76.3k, False: 0]
  ------------------
  492|  76.3k|        {
  493|  76.3k|            decimal_point_ = lc->decimal_point[0];
  494|  76.3k|        }
  495|  76.3k|#endif
  496|  76.3k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|  76.3k|    {
  504|  76.3k|        std::size_t count = 0;
  505|       |
  506|  76.3k|        char number_buffer[200];
  507|  76.3k|        int length = 0;
  508|       |
  509|  76.3k|        switch (float_format_)
  510|  76.3k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 76.3k]
  ------------------
  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: 76.3k]
  ------------------
  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|  76.3k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 76.3k, False: 0]
  ------------------
  552|  76.3k|            {
  553|  76.3k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 76.3k]
  ------------------
  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|  76.3k|                else
  563|  76.3k|                {
  564|  76.3k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 76.3k]
  ------------------
  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|  76.3k|                }             
  569|  76.3k|                break;
  570|  76.3k|            }
  571|  76.3k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 76.3k]
  ------------------
  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|  76.3k|        }
  575|  76.3k|        return count;
  576|  76.3k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  8.84k|{
  244|  8.84k|    const char *sbeg = buffer;
  245|  8.84k|    const char *send = sbeg + length;
  246|       |
  247|  8.84k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 8.84k, False: 0]
  ------------------
  248|  8.84k|    {
  249|  8.84k|        bool needs_dot = true;
  250|   183k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 174k, False: 8.84k]
  ------------------
  251|   174k|        {
  252|   174k|            switch (*q)
  253|   174k|            {
  254|  11.3k|            case '-':
  ------------------
  |  Branch (254:13): [True: 11.3k, False: 163k]
  ------------------
  255|  23.2k|            case '0':
  ------------------
  |  Branch (255:13): [True: 11.9k, False: 163k]
  ------------------
  256|  35.6k|            case '1':
  ------------------
  |  Branch (256:13): [True: 12.3k, False: 162k]
  ------------------
  257|  63.0k|            case '2':
  ------------------
  |  Branch (257:13): [True: 27.4k, False: 147k]
  ------------------
  258|  80.3k|            case '3':
  ------------------
  |  Branch (258:13): [True: 17.2k, False: 157k]
  ------------------
  259|  86.4k|            case '4':
  ------------------
  |  Branch (259:13): [True: 6.10k, False: 168k]
  ------------------
  260|   101k|            case '5':
  ------------------
  |  Branch (260:13): [True: 14.9k, False: 160k]
  ------------------
  261|   110k|            case '6':
  ------------------
  |  Branch (261:13): [True: 9.16k, False: 165k]
  ------------------
  262|   121k|            case '7':
  ------------------
  |  Branch (262:13): [True: 11.2k, False: 163k]
  ------------------
  263|   140k|            case '8':
  ------------------
  |  Branch (263:13): [True: 18.4k, False: 156k]
  ------------------
  264|   153k|            case '9':
  ------------------
  |  Branch (264:13): [True: 13.4k, False: 161k]
  ------------------
  265|   156k|            case '+':
  ------------------
  |  Branch (265:13): [True: 2.65k, False: 172k]
  ------------------
  266|   156k|                result.push_back(*q);
  267|   156k|                break;
  268|  7.46k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 7.46k, False: 167k]
  ------------------
  269|  7.46k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 174k]
  ------------------
  270|  7.46k|                result.push_back('e');
  271|  7.46k|                needs_dot = false;
  272|  7.46k|                break;
  273|  11.1k|            default:
  ------------------
  |  Branch (273:13): [True: 11.1k, False: 163k]
  ------------------
  274|  11.1k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 7.63k, False: 3.54k]
  ------------------
  275|  7.63k|                {
  276|  7.63k|                    needs_dot = false;
  277|  7.63k|                    result.push_back('.');
  278|  7.63k|                }
  279|  11.1k|                break;
  280|   174k|            }
  281|   174k|        }
  282|  8.84k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 1.21k, False: 7.63k]
  ------------------
  283|  1.21k|        {
  284|  1.21k|            result.push_back('.');
  285|  1.21k|            result.push_back('0');
  286|  1.21k|        }
  287|  8.84k|    }
  288|  8.84k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmiiiRT_:
  171|  65.7k|{
  172|  65.7k|    int nb_digits = (int)length;
  173|  65.7k|    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|  65.7k|    int kk = nb_digits + k;
  179|       |
  180|  65.7k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 48.2k, False: 17.5k]
  |  Branch (180:28): [True: 38.4k, False: 9.75k]
  ------------------
  181|  38.4k|    {
  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|   311k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 273k, False: 38.4k]
  ------------------
  186|   273k|        {
  187|   273k|            result.push_back(buffer[i]);
  188|   273k|        }
  189|  40.4k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 1.93k, False: 38.4k]
  ------------------
  190|  1.93k|        {
  191|  1.93k|            result.push_back('0');
  192|  1.93k|        }
  193|  38.4k|        result.push_back('.');
  194|  38.4k|        result.push_back('0');
  195|  38.4k|    } 
  196|  27.2k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 14.9k, False: 12.3k]
  |  Branch (196:24): [True: 5.15k, False: 9.75k]
  ------------------
  197|  5.15k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  20.8k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 15.6k, False: 5.15k]
  ------------------
  200|  15.6k|        {
  201|  15.6k|            result.push_back(buffer[i]);
  202|  15.6k|        }
  203|  5.15k|        result.push_back('.');
  204|  64.2k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 59.0k, False: 5.15k]
  ------------------
  205|  59.0k|        {
  206|  59.0k|            result.push_back(buffer[i]);
  207|  59.0k|        }
  208|  5.15k|    } 
  209|  22.1k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 10.9k, False: 11.2k]
  |  Branch (209:30): [True: 1.17k, False: 9.75k]
  ------------------
  210|  1.17k|    {
  211|  1.17k|        offset = 2 - kk;
  212|       |
  213|  1.17k|        result.push_back('0');
  214|  1.17k|        result.push_back('.');
  215|  2.97k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 1.79k, False: 1.17k]
  ------------------
  216|  1.79k|            result.push_back('0');
  217|  14.6k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 13.4k, False: 1.17k]
  ------------------
  218|  13.4k|        {
  219|  13.4k|            result.push_back(buffer[i]);
  220|  13.4k|        }
  221|  1.17k|    } 
  222|  20.9k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 973, False: 19.9k]
  ------------------
  223|    973|    {
  224|    973|        result.push_back(buffer[0]);
  225|    973|        result.push_back('e');
  226|    973|        fill_exponent(kk - 1, result);
  227|    973|    } 
  228|  19.9k|    else
  229|  19.9k|    {
  230|  19.9k|        result.push_back(buffer[0]);
  231|  19.9k|        result.push_back('.');
  232|   321k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 301k, False: 19.9k]
  ------------------
  233|   301k|        {
  234|   301k|            result.push_back(buffer[i]);
  235|   301k|        }
  236|  19.9k|        result.push_back('e');
  237|  19.9k|        fill_exponent(kk - 1, result);
  238|  19.9k|    }
  239|  65.7k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  20.9k|{
  137|  20.9k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 11.2k, False: 9.75k]
  ------------------
  138|  11.2k|    {
  139|  11.2k|        result.push_back('-');
  140|  11.2k|        K = -K;
  141|  11.2k|    }
  142|  9.75k|    else
  143|  9.75k|    {
  144|  9.75k|        result.push_back('+'); // compatibility with sprintf
  145|  9.75k|    }
  146|       |
  147|  20.9k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 2.36k, False: 18.6k]
  ------------------
  148|  2.36k|    {
  149|  2.36k|        result.push_back('0'); // compatibility with sprintf
  150|  2.36k|        result.push_back((char)('0' + K));
  151|  2.36k|    }
  152|  18.6k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 10.8k, False: 7.78k]
  ------------------
  153|  10.8k|    {
  154|  10.8k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  10.8k|        result.push_back((char)('0' + K));
  156|  10.8k|    }
  157|  7.78k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 7.78k, False: 0]
  ------------------
  158|  7.78k|    {
  159|  7.78k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  7.78k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  7.78k|        result.push_back((char)('0' + K));
  162|  7.78k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  20.9k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|  76.3k|{
  476|  76.3k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|  76.3k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|  76.3k|{
  367|  76.3k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 1.74k, False: 74.6k]
  ------------------
  368|  1.74k|    {
  369|  1.74k|        result.push_back('0');
  370|  1.74k|        result.push_back('.');
  371|  1.74k|        result.push_back('0');
  372|  1.74k|        return true;
  373|  1.74k|    }
  374|       |
  375|  74.6k|    int length = 0;
  376|  74.6k|    int k;
  377|       |
  378|  74.6k|    char buffer[100];
  379|       |
  380|  74.6k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 64.0k, False: 10.5k]
  ------------------
  381|  74.6k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 65.7k, False: 8.84k]
  ------------------
  382|  65.7k|    {
  383|  65.7k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 57.6k, False: 8.16k]
  ------------------
  384|  57.6k|        {
  385|  57.6k|            result.push_back('-');
  386|  57.6k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|  65.7k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|  65.7k|        return true;
  391|  65.7k|    }
  392|  8.84k|    else
  393|  8.84k|    {
  394|  8.84k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  8.84k|    }
  396|  74.6k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  8.84k|{
  330|  8.84k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 8.84k]
  ------------------
  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|  8.84k|    char buffer[100];
  339|  8.84k|    int precision = std::numeric_limits<double>::digits10;
  340|  8.84k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  8.84k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 8.84k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  8.84k|    double x{0};
  346|  8.84k|    auto res = decstr_to_double(buffer, length, x);
  347|  8.84k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 8.84k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  8.84k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 7.62k, False: 1.21k]
  ------------------
  352|  7.62k|    {
  353|  7.62k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  7.62k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  7.62k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 7.62k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  7.62k|    }
  360|  8.84k|    dump_buffer(buffer, length, decimal_point, result);
  361|  8.84k|    return true;
  362|  8.84k|}

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

_ZN8jsoncons7msgpack15make_error_codeENS0_12msgpack_errcE:
   82|  4.63k|{
   83|  4.63k|    return std::error_code(static_cast<int>(e),msgpack_error_category());
   84|  4.63k|}
_ZN8jsoncons7msgpack22msgpack_error_categoryEv:
   75|  4.63k|{
   76|  4.63k|  static msgpack_error_category_impl instance;
   77|  4.63k|  return instance;
   78|  4.63k|}
_ZNK8jsoncons7msgpack27msgpack_error_category_impl7messageEi:
   42|  4.63k|    {
   43|  4.63k|        switch (static_cast<msgpack_errc>(ev))
   44|  4.63k|        {
   45|  4.34k|            case msgpack_errc::unexpected_eof:
  ------------------
  |  Branch (45:13): [True: 4.34k, False: 288]
  ------------------
   46|  4.34k|                return "Unexpected end of file";
   47|      0|            case msgpack_errc::source_error:
  ------------------
  |  Branch (47:13): [True: 0, False: 4.63k]
  ------------------
   48|      0|                return "Source error";
   49|    256|            case msgpack_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (49:13): [True: 256, False: 4.38k]
  ------------------
   50|    256|                return "Illegal UTF-8 encoding in text string";
   51|      0|            case msgpack_errc::array_length_required:
  ------------------
  |  Branch (51:13): [True: 0, False: 4.63k]
  ------------------
   52|      0|                return "MessagePack encoder requires array length";
   53|      0|            case msgpack_errc::object_length_required:
  ------------------
  |  Branch (53:13): [True: 0, False: 4.63k]
  ------------------
   54|      0|                return "MessagePack encoder requires object length";
   55|      0|            case msgpack_errc::too_many_items:
  ------------------
  |  Branch (55:13): [True: 0, False: 4.63k]
  ------------------
   56|      0|                return "Too many items were added to a MessagePack object or array";
   57|      0|            case msgpack_errc::too_few_items:
  ------------------
  |  Branch (57:13): [True: 0, False: 4.63k]
  ------------------
   58|      0|                return "Too few items were added to a MessagePack object or array";
   59|      5|            case msgpack_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (59:13): [True: 5, False: 4.63k]
  ------------------
   60|      5|                return "Data item nesting exceeds limit in options";
   61|      0|            case msgpack_errc::length_is_negative:
  ------------------
  |  Branch (61:13): [True: 0, False: 4.63k]
  ------------------
   62|      0|                return "Request for the length of an array, map or string returned a negative result";
   63|      0|            case msgpack_errc::invalid_timestamp:
  ------------------
  |  Branch (63:13): [True: 0, False: 4.63k]
  ------------------
   64|      0|                return "Invalid timestamp";
   65|     27|            case msgpack_errc::unknown_type:
  ------------------
  |  Branch (65:13): [True: 27, False: 4.60k]
  ------------------
   66|     27|                return "Unknown type in input";
   67|      0|            default:
  ------------------
  |  Branch (67:13): [True: 0, False: 4.63k]
  ------------------
   68|      0|                return "Unknown MessagePack parser error";
   69|  4.63k|        }
   70|  4.63k|    }

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

_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_22msgpack_decode_optionsERKS7_:
   86|  7.06k|       : source_(std::forward<Sourceable>(source)),
   87|  7.06k|         max_nesting_depth_(options.max_nesting_depth()),
   88|  7.06k|         text_buffer_(alloc),
   89|  7.06k|         bytes_buffer_(alloc),
   90|  7.06k|         state_stack_(alloc)
   91|  7.06k|    {
   92|  7.06k|        state_stack_.emplace_back(parse_mode::root,0);
   93|  7.06k|    }
_ZN8jsoncons7msgpack11parse_stateC2ENS0_10parse_modeEm:
   46|  8.67M|        : mode(mode), length(length)
   47|  8.67M|    {
   48|  8.67M|    }
_ZNK8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  149|  4.63k|    {
  150|  4.63k|        return 0;
  151|  4.63k|    }
_ZNK8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  154|  4.63k|    {
  155|  4.63k|        return source_.position();
  156|  4.63k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
  101|  7.06k|    {
  102|  7.06k|        more_ = true;
  103|  7.06k|        done_ = false;
  104|  7.06k|        text_buffer_.clear();
  105|  7.06k|        bytes_buffer_.clear();
  106|  7.06k|        state_stack_.clear();
  107|  7.06k|        state_stack_.emplace_back(parse_mode::root,0);
  108|  7.06k|        nesting_depth_ = 0;
  109|  7.06k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  159|  7.06k|    {
  160|  89.1M|        while (!done_ && more_)
  ------------------
  |  Branch (160:16): [True: 89.1M, False: 2.42k]
  |  Branch (160:26): [True: 89.1M, False: 0]
  ------------------
  161|  89.1M|        {
  162|  89.1M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (162:21): [True: 89.1M, False: 0]
  ------------------
  163|  89.1M|            {
  164|  63.1M|                case parse_mode::array:
  ------------------
  |  Branch (164:17): [True: 63.1M, False: 26.0M]
  ------------------
  165|  63.1M|                {
  166|  63.1M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (166:25): [True: 57.5M, False: 5.57M]
  ------------------
  167|  57.5M|                    {
  168|  57.5M|                        ++state_stack_.back().index;
  169|  57.5M|                        read_item(visitor, ec);
  170|  57.5M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  57.5M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.40k, False: 57.5M]
  |  |  ------------------
  ------------------
  171|  1.40k|                        {
  172|  1.40k|                            return;
  173|  1.40k|                        }
  174|  57.5M|                    }
  175|  5.57M|                    else
  176|  5.57M|                    {
  177|  5.57M|                        end_array(visitor, ec);
  178|  5.57M|                    }
  179|  63.0M|                    break;
  180|  63.1M|                }
  181|  63.0M|                case parse_mode::map_key:
  ------------------
  |  Branch (181:17): [True: 14.5M, False: 74.6M]
  ------------------
  182|  14.5M|                {
  183|  14.5M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (183:25): [True: 11.5M, False: 3.04M]
  ------------------
  184|  11.5M|                    {
  185|  11.5M|                        ++state_stack_.back().index;
  186|  11.5M|                        state_stack_.back().mode = parse_mode::map_value;
  187|  11.5M|                        read_item(visitor, ec);
  188|  11.5M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  11.5M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 949, False: 11.5M]
  |  |  ------------------
  ------------------
  189|    949|                        {
  190|    949|                            return;
  191|    949|                        }
  192|  11.5M|                    }
  193|  3.04M|                    else
  194|  3.04M|                    {
  195|  3.04M|                        end_object(visitor, ec);
  196|  3.04M|                    }
  197|  14.5M|                    break;
  198|  14.5M|                }
  199|  14.5M|                case parse_mode::map_value:
  ------------------
  |  Branch (199:17): [True: 11.5M, False: 77.6M]
  ------------------
  200|  11.5M|                {
  201|  11.5M|                    state_stack_.back().mode = parse_mode::map_key;
  202|  11.5M|                    read_item(visitor, ec);
  203|  11.5M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  11.5M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.91k, False: 11.5M]
  |  |  ------------------
  ------------------
  204|  1.91k|                    {
  205|  1.91k|                        return;
  206|  1.91k|                    }
  207|  11.5M|                    break;
  208|  11.5M|                }
  209|  11.5M|                case parse_mode::root:
  ------------------
  |  Branch (209:17): [True: 7.06k, False: 89.1M]
  ------------------
  210|  7.06k|                {
  211|  7.06k|                    state_stack_.back().mode = parse_mode::accept;
  212|  7.06k|                    read_item(visitor, ec);
  213|  7.06k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  7.06k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 370, False: 6.69k]
  |  |  ------------------
  ------------------
  214|    370|                    {
  215|    370|                        return;
  216|    370|                    }
  217|  6.69k|                    break;
  218|  7.06k|                }
  219|  6.69k|                case parse_mode::accept:
  ------------------
  |  Branch (219:17): [True: 2.42k, False: 89.1M]
  ------------------
  220|  2.42k|                {
  221|  2.42k|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   49|  2.42k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (49:32): [True: 0, False: 2.42k]
  |  |  ------------------
  |  |   50|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   51|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  222|  2.42k|                    state_stack_.clear();
  223|  2.42k|                    more_ = false;
  224|  2.42k|                    done_ = true;
  225|  2.42k|                    visitor.flush();
  226|  2.42k|                    break;
  227|  2.42k|                }
  228|  89.1M|            }
  229|  89.1M|        }
  230|  7.06k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_itemERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  234|  80.5M|    {
  235|  80.5M|        if (source_.is_error())
  ------------------
  |  Branch (235:13): [True: 0, False: 80.5M]
  ------------------
  236|      0|        {
  237|      0|            ec = msgpack_errc::source_error;
  238|      0|            more_ = false;
  239|      0|            return;
  240|      0|        }   
  241|       |
  242|  80.5M|        uint8_t type;
  243|  80.5M|        if (source_.read(&type, 1) == 0)
  ------------------
  |  Branch (243:13): [True: 3.79k, False: 80.5M]
  ------------------
  244|  3.79k|        {
  245|  3.79k|            ec = msgpack_errc::unexpected_eof;
  246|  3.79k|            more_ = false;
  247|  3.79k|            return;
  248|  3.79k|        }
  249|       |
  250|  80.5M|        if (type <= 0xbf)
  ------------------
  |  Branch (250:13): [True: 44.0M, False: 36.5M]
  ------------------
  251|  44.0M|        {
  252|  44.0M|            if (type <= 0x7f) 
  ------------------
  |  Branch (252:17): [True: 32.6M, False: 11.3M]
  ------------------
  253|  32.6M|            {
  254|       |                // positive fixint
  255|  32.6M|                visitor.uint64_value(type, semantic_tag::none, *this, ec);
  256|  32.6M|                more_ = !cursor_mode_;
  257|  32.6M|            }
  258|  11.3M|            else if (type <= 0x8f) 
  ------------------
  |  Branch (258:22): [True: 3.04M, False: 8.31M]
  ------------------
  259|  3.04M|            {
  260|  3.04M|                begin_object(visitor,type,ec); // fixmap
  261|  3.04M|            }
  262|  8.31M|            else if (type <= 0x9f) 
  ------------------
  |  Branch (262:22): [True: 5.59M, False: 2.72M]
  ------------------
  263|  5.59M|            {
  264|  5.59M|                begin_array(visitor,type,ec); // fixarray
  265|  5.59M|            }
  266|  2.72M|            else 
  267|  2.72M|            {
  268|       |                // fixstr
  269|  2.72M|                const size_t len = type & 0x1f;
  270|       |
  271|  2.72M|                auto data = source_.read_span(len, bytes_buffer_);
  272|  2.72M|                if (data.size() != static_cast<std::size_t>(len))
  ------------------
  |  Branch (272:21): [True: 11, False: 2.72M]
  ------------------
  273|     11|                {
  274|     11|                    ec = msgpack_errc::unexpected_eof;
  275|     11|                    more_ = false;
  276|     11|                    return;
  277|     11|                }
  278|       |
  279|  2.72M|                auto result = unicode_traits::validate(data.data(), data.size());
  280|  2.72M|                if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (280:21): [True: 207, False: 2.72M]
  ------------------
  281|    207|                {
  282|    207|                    ec = msgpack_errc::invalid_utf8_text_string;
  283|    207|                    more_ = false;
  284|    207|                    return;
  285|    207|                }
  286|  2.72M|                visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  287|  2.72M|                    semantic_tag::none, *this, ec);
  288|  2.72M|                more_ = !cursor_mode_;
  289|  2.72M|            }
  290|  44.0M|        }
  291|  36.5M|        else if (type >= 0xe0) 
  ------------------
  |  Branch (291:18): [True: 7.25M, False: 29.2M]
  ------------------
  292|  7.25M|        {
  293|       |            // negative fixint
  294|  7.25M|            visitor.int64_value(static_cast<int8_t>(type), semantic_tag::none, *this, ec);
  295|  7.25M|            more_ = !cursor_mode_;
  296|  7.25M|        }
  297|  29.2M|        else
  298|  29.2M|        {
  299|  29.2M|            switch (type)
  300|  29.2M|            {
  301|  2.71M|                case jsoncons::msgpack::msgpack_type::nil_type: 
  ------------------
  |  Branch (301:17): [True: 2.71M, False: 26.5M]
  ------------------
  302|  2.71M|                {
  303|  2.71M|                    visitor.null_value(semantic_tag::none, *this, ec);
  304|  2.71M|                    more_ = !cursor_mode_;
  305|  2.71M|                    break;
  306|      0|                }
  307|   682k|                case jsoncons::msgpack::msgpack_type::true_type:
  ------------------
  |  Branch (307:17): [True: 682k, False: 28.5M]
  ------------------
  308|   682k|                {
  309|   682k|                    visitor.bool_value(true, semantic_tag::none, *this, ec);
  310|   682k|                    more_ = !cursor_mode_;
  311|   682k|                    break;
  312|      0|                }
  313|  25.1M|                case jsoncons::msgpack::msgpack_type::false_type:
  ------------------
  |  Branch (313:17): [True: 25.1M, False: 4.11M]
  ------------------
  314|  25.1M|                {
  315|  25.1M|                    visitor.bool_value(false, semantic_tag::none, *this, ec);
  316|  25.1M|                    more_ = !cursor_mode_;
  317|  25.1M|                    break;
  318|      0|                }
  319|   100k|                case jsoncons::msgpack::msgpack_type::float32_type: 
  ------------------
  |  Branch (319:17): [True: 100k, False: 29.1M]
  ------------------
  320|   100k|                {
  321|   100k|                    uint8_t buf[sizeof(float)];
  322|   100k|                    if (source_.read(buf, sizeof(float)) != sizeof(float))
  ------------------
  |  Branch (322:25): [True: 29, False: 100k]
  ------------------
  323|     29|                    {
  324|     29|                        ec = msgpack_errc::unexpected_eof;
  325|     29|                        more_ = false;
  326|     29|                        return;
  327|     29|                    }
  328|   100k|                    float val = binary::big_to_native<float>(buf, sizeof(buf));
  329|   100k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  330|   100k|                    more_ = !cursor_mode_;
  331|   100k|                    break;
  332|   100k|                }
  333|       |
  334|  5.75k|                case jsoncons::msgpack::msgpack_type::float64_type: 
  ------------------
  |  Branch (334:17): [True: 5.75k, False: 29.2M]
  ------------------
  335|  5.75k|                {
  336|  5.75k|                    uint8_t buf[sizeof(double)];
  337|  5.75k|                    if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (337:25): [True: 12, False: 5.74k]
  ------------------
  338|     12|                    {
  339|     12|                        ec = msgpack_errc::unexpected_eof;
  340|     12|                        more_ = false;
  341|     12|                        return;
  342|     12|                    }
  343|  5.74k|                    double val = binary::big_to_native<double>(buf, sizeof(buf));
  344|  5.74k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  345|  5.74k|                    more_ = !cursor_mode_;
  346|  5.74k|                    break;
  347|  5.75k|                }
  348|       |
  349|  11.3k|                case jsoncons::msgpack::msgpack_type::uint8_type: 
  ------------------
  |  Branch (349:17): [True: 11.3k, False: 29.2M]
  ------------------
  350|  11.3k|                {
  351|  11.3k|                    uint8_t b;
  352|  11.3k|                    if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (352:25): [True: 2, False: 11.3k]
  ------------------
  353|      2|                    {
  354|      2|                        ec = msgpack_errc::unexpected_eof;
  355|      2|                        more_ = false;
  356|      2|                        return;
  357|      2|                    }
  358|  11.3k|                    visitor.uint64_value(b, semantic_tag::none, *this, ec);
  359|  11.3k|                    more_ = !cursor_mode_;
  360|  11.3k|                    break;
  361|  11.3k|                }
  362|       |
  363|  2.08k|                case jsoncons::msgpack::msgpack_type::uint16_type: 
  ------------------
  |  Branch (363:17): [True: 2.08k, False: 29.2M]
  ------------------
  364|  2.08k|                {
  365|  2.08k|                    uint8_t buf[sizeof(uint16_t)];
  366|  2.08k|                    if (source_.read(buf, sizeof(uint16_t)) !=sizeof(uint16_t)) 
  ------------------
  |  Branch (366:25): [True: 3, False: 2.08k]
  ------------------
  367|      3|                    {
  368|      3|                        ec = msgpack_errc::unexpected_eof;
  369|      3|                        more_ = false;
  370|      3|                        return;
  371|      3|                    }
  372|  2.08k|                    uint16_t val = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  373|  2.08k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  374|  2.08k|                    more_ = !cursor_mode_;
  375|  2.08k|                    break;
  376|  2.08k|                }
  377|       |
  378|  7.02k|                case jsoncons::msgpack::msgpack_type::uint32_type: 
  ------------------
  |  Branch (378:17): [True: 7.02k, False: 29.2M]
  ------------------
  379|  7.02k|                {
  380|  7.02k|                    uint8_t buf[sizeof(uint32_t)];
  381|  7.02k|                    if (source_.read(buf, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (381:25): [True: 3, False: 7.02k]
  ------------------
  382|      3|                    {
  383|      3|                        ec = msgpack_errc::unexpected_eof;
  384|      3|                        more_ = false;
  385|      3|                        return;
  386|      3|                    }
  387|  7.02k|                    uint32_t val = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  388|  7.02k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  389|  7.02k|                    more_ = !cursor_mode_;
  390|  7.02k|                    break;
  391|  7.02k|                }
  392|       |
  393|    919|                case jsoncons::msgpack::msgpack_type::uint64_type: 
  ------------------
  |  Branch (393:17): [True: 919, False: 29.2M]
  ------------------
  394|    919|                {
  395|    919|                    uint8_t buf[sizeof(uint64_t)];
  396|    919|                    if (source_.read(buf, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (396:25): [True: 7, False: 912]
  ------------------
  397|      7|                    {
  398|      7|                        ec = msgpack_errc::unexpected_eof;
  399|      7|                        more_ = false;
  400|      7|                        return;
  401|      7|                    }
  402|    912|                    uint64_t val = binary::big_to_native<uint64_t>(buf, sizeof(buf));
  403|    912|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  404|    912|                    more_ = !cursor_mode_;
  405|    912|                    break;
  406|    919|                }
  407|       |
  408|  1.23k|                case jsoncons::msgpack::msgpack_type::int8_type: 
  ------------------
  |  Branch (408:17): [True: 1.23k, False: 29.2M]
  ------------------
  409|  1.23k|                {
  410|  1.23k|                    uint8_t buf[sizeof(int8_t)];
  411|  1.23k|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (411:25): [True: 1, False: 1.23k]
  ------------------
  412|      1|                    {
  413|      1|                        ec = msgpack_errc::unexpected_eof;
  414|      1|                        more_ = false;
  415|      1|                        return;
  416|      1|                    }
  417|  1.23k|                    int8_t val = binary::big_to_native<int8_t>(buf, sizeof(buf));
  418|  1.23k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  419|  1.23k|                    more_ = !cursor_mode_;
  420|  1.23k|                    break;
  421|  1.23k|                }
  422|       |
  423|   174k|                case jsoncons::msgpack::msgpack_type::int16_type: 
  ------------------
  |  Branch (423:17): [True: 174k, False: 29.0M]
  ------------------
  424|   174k|                {
  425|   174k|                    uint8_t buf[sizeof(int16_t)];
  426|   174k|                    if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (426:25): [True: 2, False: 174k]
  ------------------
  427|      2|                    {
  428|      2|                        ec = msgpack_errc::unexpected_eof;
  429|      2|                        more_ = false;
  430|      2|                        return;
  431|      2|                    }
  432|   174k|                    int16_t val = binary::big_to_native<int16_t>(buf, sizeof(buf));
  433|   174k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  434|   174k|                    more_ = !cursor_mode_;
  435|   174k|                    break;
  436|   174k|                }
  437|       |
  438|  4.30k|                case jsoncons::msgpack::msgpack_type::int32_type: 
  ------------------
  |  Branch (438:17): [True: 4.30k, False: 29.2M]
  ------------------
  439|  4.30k|                {
  440|  4.30k|                    uint8_t buf[sizeof(int32_t)];
  441|  4.30k|                    if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (441:25): [True: 4, False: 4.30k]
  ------------------
  442|      4|                    {
  443|      4|                        ec = msgpack_errc::unexpected_eof;
  444|      4|                        more_ = false;
  445|      4|                        return;
  446|      4|                    }
  447|  4.30k|                    int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  448|  4.30k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  449|  4.30k|                    more_ = !cursor_mode_;
  450|  4.30k|                    break;
  451|  4.30k|                }
  452|       |
  453|    872|                case jsoncons::msgpack::msgpack_type::int64_type: 
  ------------------
  |  Branch (453:17): [True: 872, False: 29.2M]
  ------------------
  454|    872|                {
  455|    872|                    uint8_t buf[sizeof(int64_t)];
  456|    872|                    if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (456:25): [True: 4, False: 868]
  ------------------
  457|      4|                    {
  458|      4|                        ec = msgpack_errc::unexpected_eof;
  459|      4|                        more_ = false;
  460|      4|                        return;
  461|      4|                    }
  462|    868|                    int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  463|    868|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  464|    868|                    more_ = !cursor_mode_;
  465|    868|                    break;
  466|    872|                }
  467|       |
  468|    612|                case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (468:17): [True: 612, False: 29.2M]
  ------------------
  469|  2.41k|                case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (469:17): [True: 1.79k, False: 29.2M]
  ------------------
  470|  2.72k|                case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (470:17): [True: 314, False: 29.2M]
  ------------------
  471|  2.72k|                {
  472|  2.72k|                    std::size_t len = get_size(type, ec);
  473|  2.72k|                    if (!more_)
  ------------------
  |  Branch (473:25): [True: 23, False: 2.70k]
  ------------------
  474|     23|                    {
  475|     23|                        return;
  476|     23|                    }
  477|       |
  478|  2.70k|                    auto data = source_.read_span(len, bytes_buffer_);
  479|  2.70k|                    if (data.size() != static_cast<std::size_t>(len))
  ------------------
  |  Branch (479:25): [True: 85, False: 2.61k]
  ------------------
  480|     85|                    {
  481|     85|                        ec = msgpack_errc::unexpected_eof;
  482|     85|                        more_ = false;
  483|     85|                        return;
  484|     85|                    }
  485|       |
  486|  2.61k|                    auto result = unicode_traits::validate(data.data(), data.size());
  487|  2.61k|                    if (result.ec != unicode_traits::unicode_errc())
  ------------------
  |  Branch (487:25): [True: 49, False: 2.56k]
  ------------------
  488|     49|                    {
  489|     49|                        ec = msgpack_errc::invalid_utf8_text_string;
  490|     49|                        more_ = false;
  491|     49|                        return;
  492|     49|                    }
  493|  2.56k|                    visitor.string_value(jsoncons::string_view(reinterpret_cast<const char*>(data.data()),data.size()), 
  494|  2.56k|                        semantic_tag::none, *this, ec);
  495|  2.56k|                    more_ = !cursor_mode_;
  496|  2.56k|                    break;
  497|  2.61k|                }
  498|       |
  499|   214k|                case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (499:17): [True: 214k, False: 29.0M]
  ------------------
  500|   215k|                case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (500:17): [True: 604, False: 29.2M]
  ------------------
  501|   215k|                case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (501:17): [True: 274, False: 29.2M]
  ------------------
  502|   215k|                {
  503|   215k|                    std::size_t len = get_size(type,ec);
  504|   215k|                    if (!more_)
  ------------------
  |  Branch (504:25): [True: 30, False: 215k]
  ------------------
  505|     30|                    {
  506|     30|                        return;
  507|     30|                    }
  508|   215k|                    auto data = source_.read_span(len, bytes_buffer_);
  509|   215k|                    if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   78|   215k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 89, False: 215k]
  |  |  ------------------
  ------------------
  510|     89|                    {
  511|     89|                        ec = msgpack_errc::unexpected_eof;
  512|     89|                        more_ = false;
  513|     89|                        return;
  514|     89|                    }
  515|       |
  516|   215k|                    visitor.byte_string_value(byte_string_view(data.data(),data.size()), 
  517|   215k|                        semantic_tag::none, 
  518|   215k|                        *this,
  519|   215k|                        ec);
  520|   215k|                    more_ = !cursor_mode_;
  521|   215k|                    break;
  522|   215k|                }
  523|  98.6k|                case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (523:17): [True: 98.6k, False: 29.1M]
  ------------------
  524|   123k|                case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (524:17): [True: 25.0k, False: 29.2M]
  ------------------
  525|   125k|                case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (525:17): [True: 1.44k, False: 29.2M]
  ------------------
  526|   139k|                case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (526:17): [True: 14.3k, False: 29.2M]
  ------------------
  527|   142k|                case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (527:17): [True: 3.09k, False: 29.2M]
  ------------------
  528|   167k|                case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (528:17): [True: 24.6k, False: 29.2M]
  ------------------
  529|   169k|                case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (529:17): [True: 2.23k, False: 29.2M]
  ------------------
  530|   169k|                case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (530:17): [True: 260, False: 29.2M]
  ------------------
  531|   169k|                {
  532|   169k|                    std::size_t len = get_size(type,ec);
  533|   169k|                    if (!more_)
  ------------------
  |  Branch (533:25): [True: 27, False: 169k]
  ------------------
  534|     27|                    {
  535|     27|                        return;
  536|     27|                    }
  537|       |
  538|       |                    // type
  539|   169k|                    uint8_t buf[sizeof(int8_t)];
  540|   169k|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (540:25): [True: 50, False: 169k]
  ------------------
  541|     50|                    {
  542|     50|                        ec = msgpack_errc::unexpected_eof;
  543|     50|                        more_ = false;
  544|     50|                        return;
  545|     50|                    }
  546|       |
  547|   169k|                    int8_t ext_type = binary::big_to_native<int8_t>(buf, sizeof(buf));
  548|       |
  549|   169k|                    bool is_timestamp = false; 
  550|   169k|                    if (ext_type == -1)
  ------------------
  |  Branch (550:25): [True: 30.2k, False: 139k]
  ------------------
  551|  30.2k|                    {
  552|  30.2k|                        is_timestamp = true;;
  553|  30.2k|                    }
  554|       |
  555|       |                    // payload
  556|   169k|                    if (is_timestamp && len == 4)
  ------------------
  |  Branch (556:25): [True: 30.2k, False: 139k]
  |  Branch (556:41): [True: 301, False: 29.9k]
  ------------------
  557|    301|                    {
  558|    301|                        uint8_t buf32[sizeof(uint32_t)];
  559|    301|                        if (source_.read(buf32, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (559:29): [True: 3, False: 298]
  ------------------
  560|      3|                        {
  561|      3|                            ec = msgpack_errc::unexpected_eof;
  562|      3|                            more_ = false;
  563|      3|                            return;
  564|      3|                        }
  565|    298|                        uint32_t val = binary::big_to_native<uint32_t>(buf32, sizeof(buf32));
  566|    298|                        visitor.uint64_value(val, semantic_tag::epoch_second, *this, ec);
  567|    298|                        more_ = !cursor_mode_;
  568|    298|                    }
  569|   169k|                    else if (is_timestamp && len == 8)
  ------------------
  |  Branch (569:30): [True: 29.9k, False: 139k]
  |  Branch (569:46): [True: 12.3k, False: 17.6k]
  ------------------
  570|  12.3k|                    {
  571|  12.3k|                        uint8_t buf64[sizeof(uint64_t)];
  572|  12.3k|                        if (source_.read(buf64, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (572:29): [True: 9, False: 12.3k]
  ------------------
  573|      9|                        {
  574|      9|                            ec = msgpack_errc::unexpected_eof;
  575|      9|                            more_ = false;
  576|      9|                            return;
  577|      9|                        }
  578|  12.3k|                        uint64_t data64 = binary::big_to_native<uint64_t>(buf64, sizeof(buf64));
  579|  12.3k|                        uint64_t sec = data64 & 0x00000003ffffffffL;
  580|  12.3k|                        uint64_t nsec = data64 >> 34;
  581|       |
  582|  12.3k|                        bigint nano(sec);
  583|  12.3k|                        nano *= uint64_t(nanos_in_second);
  584|  12.3k|                        nano += nsec;
  585|  12.3k|                        text_buffer_.clear();
  586|  12.3k|                        nano.write_string(text_buffer_);
  587|  12.3k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  588|  12.3k|                        more_ = !cursor_mode_;
  589|  12.3k|                        if (!more_) return;
  ------------------
  |  Branch (589:29): [True: 0, False: 12.3k]
  ------------------
  590|  12.3k|                    }
  591|   156k|                    else if (is_timestamp && len == 12)
  ------------------
  |  Branch (591:30): [True: 17.6k, False: 139k]
  |  Branch (591:46): [True: 16.4k, False: 1.17k]
  ------------------
  592|  16.4k|                    {
  593|  16.4k|                        uint8_t buf1[sizeof(uint32_t)];
  594|  16.4k|                        if (source_.read(buf1, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (594:29): [True: 4, False: 16.4k]
  ------------------
  595|      4|                        {
  596|      4|                            ec = msgpack_errc::unexpected_eof;
  597|      4|                            more_ = false;
  598|      4|                            return;
  599|      4|                        }
  600|  16.4k|                        uint32_t nsec = binary::big_to_native<uint32_t>(buf1, sizeof(buf1));
  601|       |
  602|  16.4k|                        uint8_t buf2[sizeof(int64_t)];
  603|  16.4k|                        if (source_.read(buf2, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (603:29): [True: 9, False: 16.4k]
  ------------------
  604|      9|                        {
  605|      9|                            ec = msgpack_errc::unexpected_eof;
  606|      9|                            more_ = false;
  607|      9|                            return;
  608|      9|                        }
  609|  16.4k|                        int64_t sec = binary::big_to_native<int64_t>(buf2, sizeof(buf2));
  610|       |
  611|  16.4k|                        bigint nano(sec);
  612|       |
  613|  16.4k|                        nano *= uint64_t(nanos_in_second);
  614|       |
  615|  16.4k|                        if (nano < 0)
  ------------------
  |  Branch (615:29): [True: 4.06k, False: 12.3k]
  ------------------
  616|  4.06k|                        {
  617|  4.06k|                            nano -= nsec;
  618|  4.06k|                        }
  619|  12.3k|                        else
  620|  12.3k|                        {
  621|  12.3k|                            nano += nsec;
  622|  12.3k|                        }
  623|       |
  624|  16.4k|                        text_buffer_.clear();
  625|  16.4k|                        nano.write_string(text_buffer_);
  626|  16.4k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  627|  16.4k|                        more_ = !cursor_mode_;
  628|  16.4k|                        if (!more_) return;
  ------------------
  |  Branch (628:29): [True: 0, False: 16.4k]
  ------------------
  629|  16.4k|                    }
  630|   140k|                    else
  631|   140k|                    {
  632|   140k|                        auto data = source_.read_span(len, bytes_buffer_);
  633|   140k|                        if (JSONCONS_UNLIKELY(data.size() != static_cast<std::size_t>(len)))
  ------------------
  |  |   78|   140k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 109, False: 140k]
  |  |  ------------------
  ------------------
  634|    109|                        {
  635|    109|                            ec = msgpack_errc::unexpected_eof;
  636|    109|                            more_ = false;
  637|    109|                            return;
  638|    109|                        }
  639|       |
  640|   140k|                        visitor.byte_string_value(byte_string_view(data.data(),data.size()), 
  641|   140k|                                                          static_cast<uint8_t>(ext_type), 
  642|   140k|                                                          *this,
  643|   140k|                                                          ec);
  644|   140k|                        more_ = !cursor_mode_;
  645|   140k|                    }
  646|   169k|                    break;
  647|   169k|                }
  648|       |
  649|   169k|                case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (649:17): [True: 5.03k, False: 29.2M]
  ------------------
  650|  6.46k|                case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (650:17): [True: 1.43k, False: 29.2M]
  ------------------
  651|  6.46k|                {
  652|  6.46k|                    begin_array(visitor,type,ec);
  653|  6.46k|                    break;
  654|  5.03k|                }
  655|       |
  656|  11.5k|                case jsoncons::msgpack::msgpack_type::map16_type : 
  ------------------
  |  Branch (656:17): [True: 11.5k, False: 29.2M]
  ------------------
  657|  12.3k|                case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (657:17): [True: 839, False: 29.2M]
  ------------------
  658|  12.3k|                {
  659|  12.3k|                    begin_object(visitor, type, ec);
  660|  12.3k|                    break;
  661|  11.5k|                }
  662|       |
  663|     27|                default:
  ------------------
  |  Branch (663:17): [True: 27, False: 29.2M]
  ------------------
  664|     27|                {
  665|     27|                    ec = msgpack_errc::unknown_type;
  666|     27|                    more_ = false;
  667|     27|                    return;
  668|  11.5k|                }
  669|  29.2M|            }
  670|  29.2M|        }
  671|  80.5M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12begin_objectERNS_21basic_generic_visitorIcEEhRNS3_10error_codeE:
  701|  3.05M|    {
  702|  3.05M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|  3.05M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 3.05M]
  |  |  ------------------
  ------------------
  703|      2|        {
  704|      2|            ec = msgpack_errc::max_nesting_depth_exceeded;
  705|      2|            more_ = false;
  706|      2|            return;
  707|      2|        } 
  708|  3.05M|        std::size_t length = get_size(type, ec);
  709|  3.05M|        if (!more_)
  ------------------
  |  Branch (709:13): [True: 21, False: 3.05M]
  ------------------
  710|     21|        {
  711|     21|            return;
  712|     21|        }
  713|  3.05M|        state_stack_.emplace_back(parse_mode::map_key,length);
  714|  3.05M|        visitor.begin_object(length, semantic_tag::none, *this, ec);
  715|  3.05M|        more_ = !cursor_mode_;
  716|  3.05M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_21basic_generic_visitorIcEEhRNS3_10error_codeE:
  674|  5.60M|    {
  675|  5.60M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|  5.60M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 3, False: 5.60M]
  |  |  ------------------
  ------------------
  676|      3|        {
  677|      3|            ec = msgpack_errc::max_nesting_depth_exceeded;
  678|      3|            more_ = false;
  679|      3|            return;
  680|      3|        } 
  681|  5.60M|        std::size_t length = get_size(type, ec);
  682|  5.60M|        if (!more_)
  ------------------
  |  Branch (682:13): [True: 17, False: 5.60M]
  ------------------
  683|     17|        {
  684|     17|            return;
  685|     17|        }
  686|  5.60M|        state_stack_.emplace_back(parse_mode::array,length);
  687|  5.60M|        visitor.begin_array(length, semantic_tag::none, *this, ec);
  688|  5.60M|        more_ = !cursor_mode_;
  689|  5.60M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE8get_sizeEhRNS3_10error_codeE:
  727|  9.04M|    {
  728|  9.04M|        switch (type)
  729|  9.04M|        {
  730|    612|            case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (730:13): [True: 612, False: 9.04M]
  ------------------
  731|   215k|            case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (731:13): [True: 214k, False: 8.83M]
  ------------------
  732|   240k|            case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (732:13): [True: 24.6k, False: 9.02M]
  ------------------
  733|   240k|            {
  734|   240k|                uint8_t buf[sizeof(int8_t)];
  735|   240k|                if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (735:21): [True: 29, False: 240k]
  ------------------
  736|     29|                {
  737|     29|                    ec = msgpack_errc::unexpected_eof;
  738|     29|                    more_ = false;
  739|     29|                    return 0;
  740|     29|                }
  741|   240k|                uint8_t len = binary::big_to_native<uint8_t>(buf, sizeof(buf));
  742|   240k|                return static_cast<std::size_t>(len);
  743|   240k|            }
  744|       |
  745|  1.79k|            case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (745:13): [True: 1.79k, False: 9.04M]
  ------------------
  746|  2.40k|            case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (746:13): [True: 604, False: 9.04M]
  ------------------
  747|  4.63k|            case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (747:13): [True: 2.23k, False: 9.04M]
  ------------------
  748|  9.66k|            case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (748:13): [True: 5.03k, False: 9.04M]
  ------------------
  749|  21.1k|            case jsoncons::msgpack::msgpack_type::map16_type:
  ------------------
  |  Branch (749:13): [True: 11.5k, False: 9.03M]
  ------------------
  750|  21.1k|            {
  751|  21.1k|                uint8_t buf[sizeof(int16_t)];
  752|  21.1k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (752:21): [True: 43, False: 21.1k]
  ------------------
  753|     43|                {
  754|     43|                    ec = msgpack_errc::unexpected_eof;
  755|     43|                    more_ = false;
  756|     43|                    return 0;
  757|     43|                }
  758|  21.1k|                uint16_t len = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  759|  21.1k|                return static_cast<std::size_t>(len);
  760|  21.1k|            }
  761|       |
  762|    314|            case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (762:13): [True: 314, False: 9.04M]
  ------------------
  763|    588|            case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (763:13): [True: 274, False: 9.04M]
  ------------------
  764|    848|            case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (764:13): [True: 260, False: 9.04M]
  ------------------
  765|  2.28k|            case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (765:13): [True: 1.43k, False: 9.04M]
  ------------------
  766|  3.12k|            case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (766:13): [True: 839, False: 9.04M]
  ------------------
  767|  3.12k|            {
  768|  3.12k|                uint8_t buf[sizeof(int32_t)];
  769|  3.12k|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (769:21): [True: 46, False: 3.07k]
  ------------------
  770|     46|                {
  771|     46|                    ec = msgpack_errc::unexpected_eof;
  772|     46|                    more_ = false;
  773|     46|                    return 0;
  774|     46|                }
  775|  3.07k|                uint32_t len = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  776|  3.07k|                return static_cast<std::size_t>(len);
  777|  3.12k|            }
  778|  98.6k|            case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (778:13): [True: 98.6k, False: 8.94M]
  ------------------
  779|  98.6k|                return 1;
  780|  25.0k|            case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (780:13): [True: 25.0k, False: 9.02M]
  ------------------
  781|  25.0k|                return 2;
  782|  1.44k|            case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (782:13): [True: 1.44k, False: 9.04M]
  ------------------
  783|  1.44k|                return 4;
  784|  14.3k|            case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (784:13): [True: 14.3k, False: 9.03M]
  ------------------
  785|  14.3k|                return 8;
  786|  3.09k|            case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (786:13): [True: 3.09k, False: 9.04M]
  ------------------
  787|  3.09k|                return 16;
  788|  8.64M|            default:
  ------------------
  |  Branch (788:13): [True: 8.64M, False: 407k]
  ------------------
  789|  8.64M|                if ((type > 0x8f && type <= 0x9f) // fixarray
  ------------------
  |  Branch (789:22): [True: 5.59M, False: 3.04M]
  |  Branch (789:37): [True: 5.59M, False: 0]
  ------------------
  790|  3.04M|                    || (type > 0x7f && type <= 0x8f) // fixmap
  ------------------
  |  Branch (790:25): [True: 3.04M, False: 0]
  |  Branch (790:40): [True: 3.04M, False: 0]
  ------------------
  791|  8.64M|        )
  792|  8.64M|                {
  793|  8.64M|                    return type & 0x0f;
  794|  8.64M|                }
  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|  9.04M|        }
  803|  9.04M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  692|  5.57M|    {
  693|  5.57M|        --nesting_depth_;
  694|       |
  695|  5.57M|        visitor.end_array(*this, ec);
  696|  5.57M|        more_ = !cursor_mode_;
  697|  5.57M|        state_stack_.pop_back();
  698|  5.57M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10end_objectERNS_21basic_generic_visitorIcEERNS3_10error_codeE:
  719|  3.04M|    {
  720|  3.04M|        --nesting_depth_;
  721|  3.04M|        visitor.end_object(*this, ec);
  722|  3.04M|        more_ = !cursor_mode_;
  723|  3.04M|        state_stack_.pop_back();
  724|  3.04M|    }

_ZN8jsoncons7msgpack20basic_msgpack_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RNS_18basic_json_visitorIcEERKNS0_22msgpack_decode_optionsERKS7_:
   51|  7.06k|       : parser_(std::forward<Sourceable>(source), options, alloc),
   52|  7.06k|         adaptor_(visitor, alloc), visitor_(adaptor_)
   53|  7.06k|    {
   54|  7.06k|    }
_ZN8jsoncons7msgpack20basic_msgpack_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4readERNS3_10error_codeE:
   87|  7.06k|    {
   88|  7.06k|        parser_.reset();
   89|  7.06k|        parser_.parse(visitor_, ec);
   90|  7.06k|        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  7.06k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 4.63k, False: 2.42k]
  |  |  ------------------
  ------------------
   91|  4.63k|        {
   92|  4.63k|            return;
   93|  4.63k|        }
   94|  7.06k|    }
_ZNK8jsoncons7msgpack20basic_msgpack_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
   97|  4.63k|    {
   98|  4.63k|        return parser_.line();
   99|  4.63k|    }
_ZNK8jsoncons7msgpack20basic_msgpack_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  102|  4.63k|    {
  103|  4.63k|        return parser_.column();
  104|  4.63k|    }

